/* Base reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
@media (max-width: 767.98px) {
  html {
    font-size: 15px;
  }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  html {
    font-size: 15px;
  }
}

:root {
  --c-bg: #040507;
  --c-surface: #0a0d11;
  --c-surface-2: #090c10;
  --c-panel: #0c1016;
  --c-border: #1a2431;
  --c-text: #f2f6fb;
  --c-text-muted: #b7c3d1;
  --c-accent: #00d5a0; /* toned mint */
  --c-accent-2: #ff69c4; /* toned pink */
  --c-gold: #ffd166; /* prime card highlight */
  --c-amber: #ffae42; /* prime gradient end */
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.4);
  --shadow-strong: 0 22px 60px rgba(0, 0, 0, 0.6);
}

body {
  margin: 0;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}

/* Accessibility */
.col-skiplink {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.col-skiplink:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 0.75rem;
  background: var(--c-panel);
  color: var(--c-text);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-soft);
}

.col-wrap {
  max-width: 76rem;
  width: 100%;
  padding: 0 1rem;
  margin: 0 auto;
}

/* Button */
.col-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  color: #091116;
  background: linear-gradient(
    135deg,
    rgba(0, 213, 160, 0.82) 0%,
    rgba(255, 105, 196, 0.82) 100%
  );
  box-shadow: 0 6px 22px rgba(0, 213, 160, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
@media (hover: hover) {
  .col-btn:hover {
    transform: translateY(-1px);
    filter: saturate(1.02);
    box-shadow: 0 10px 28px rgba(255, 105, 196, 0.2);
  }
}
.col-btn:active {
  transform: translateY(0);
}
.col-btn:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

/* Hero */
.col-hero {
  padding: 3rem 0;
  background: linear-gradient(
      180deg,
      rgba(10, 13, 17, 0.88) 0%,
      rgba(14, 18, 24, 0.88) 100%
    ),
    url("../img/bg-new.jpg") bottom/cover no-repeat;
}
@media (max-width: 767.98px) {
  .col-hero {
    padding: 1rem 0;
    background-attachment: scroll;
  }
}
.col-hero__title {
  text-align: center;
  margin: 0 0 1.1rem;
  font-size: clamp(1.9rem, 3.2vw + 1rem, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--c-text);
  text-shadow: 0 0 12px rgba(0, 213, 160, 0.2);
}
.col-hero__lead {
  text-align: center;
  font-size: clamp(1rem, 1vw + 0.8rem, 1.35rem);
  font-weight: 400;
  color: var(--c-text-muted);
  max-width: 62ch;
  margin: 0 auto;
}

/* Offers */
.col-offers {
  padding: 2rem 0;
}
.col-offers__grid {
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
@media (max-width: 767.98px) {
  .col-offers__grid {
    gap: 0.75rem;
  }
}

/* Card */
.col-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  padding: 1.1rem 1.1rem 1.1rem 46px;
  border-radius: 18px;
  background: var(--c-surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.col-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(0, 213, 160, 0.45),
    rgba(255, 105, 196, 0.45)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  box-shadow: 0 0 18px rgba(0, 213, 160, 0.12),
    0 0 28px rgba(255, 105, 196, 0.1);
}
.col-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    45deg,
    #fff 0 2px,
    transparent 2px 10px
  );
}
@media (hover: hover) {
  .col-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
  }
}

/* First place variant */
.col-card--prime::before {
  background: linear-gradient(135deg, var(--c-gold), var(--c-amber));
  box-shadow: 0 0 0 2px rgba(255, 209, 102, 0.32),
    0 0 24px rgba(255, 174, 66, 0.28), 0 0 46px rgba(255, 174, 66, 0.16);
}

/* Brand (left) */
.col-card__brand {
  width: 100%;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.4rem 1rem;
  align-items: center;
  padding: 0 0 0.75rem;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 0.75rem;
  background: transparent;
  border: 0;
}
.col-brandmark {
  width: 140px;
  height: 60px;
  color: var(--c-text);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}
.col-brandmark__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Center */
.col-card__center {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* Offer unit */
.col-card__offer {
  align-self: center;
  width: 160px;
  height: 160px;
  border-radius: 18px;
  background: radial-gradient(
    100% 100% at 50% 0%,
    rgba(0, 213, 160, 0.16) 0%,
    rgba(17, 24, 35, 0.35) 60%,
    rgba(17, 24, 35, 0.9) 100%
  );
  border: 1px solid var(--c-border);
  box-shadow: 0 0 0 2px rgba(0, 213, 160, 0.22),
    0 0 22px rgba(255, 105, 196, 0.22), 0 16px 38px rgba(0, 0, 0, 0.45),
    inset 0 10px 28px rgba(0, 213, 160, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
}
.col-card__offer span:nth-child(1) {
  font-size: 0.9rem;
  color: var(--c-text-muted);
}
.col-card__offer span:nth-child(2) {
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-accent);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 213, 160, 0.22);
}

/* Payments */
.col-paygrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.35rem;
}
.col-paychip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.85rem;
  background: rgba(0, 213, 160, 0.12);
  color: var(--c-accent);
  border: 1px solid rgba(0, 213, 160, 0.45);
  box-shadow: 0 0 0 2px rgba(0, 213, 160, 0.15);
}
.col-paygrid img {
  width: 100%;
  height: 2.5rem;
  object-fit: contain;
  background: rgba(0, 213, 160, 0.12);
  border: 1px solid rgba(0, 213, 160, 0.45);
  border-radius: 10px;
  padding: 0.25rem;
  box-shadow: 0 0 0 2px rgba(0, 213, 160, 0.15);
  filter: grayscale(0) brightness(1.05) saturate(1.05);
}

/* Score */
.col-score {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.col-score__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.col-score__value {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--c-accent);
}
.col-score__stars {
  width: 70px;
  height: 12px;
  object-fit: contain;
  filter: brightness(1.08);
}
.col-score__reviews {
  font-weight: 600;
  color: var(--c-text-muted);
  font-size: 0.82rem;
}

/* CTA panel */
.col-card__cta {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  justify-content: center;
  padding: 1rem;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(35, 48, 67, 0.28),
    rgba(35, 48, 67, 0.05)
  );
  border: 1px solid var(--c-border);
}

/* Info */
.col-info {
  padding: 2rem 0;
}
.col-info__title {
  font-size: clamp(1.25rem, 1.2vw + 1rem, 2rem);
  font-weight: 800;
  margin: 1.25rem 0 0.75rem;
  color: var(--c-text);
}
.col-info__subtitle {
  font-size: clamp(1.05rem, 1vw + 0.5rem, 1.5rem);
  font-weight: 700;
  margin: 1rem 0 0.5rem;
  color: var(--c-text);
}
.col-info__text {
  color: var(--c-text-muted);
  margin-bottom: 1rem;
}
.col-info__list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}
.col-info__list li {
  margin-bottom: 0.5rem;
}
.col-info__link {
  color: var(--c-accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (hover: hover) {
  .col-info__link:hover {
    color: var(--c-accent-2);
  }
}

/* Footer */
.col-foot {
  padding: 2rem 0;
  border-top: 1px solid var(--c-border);
  background: linear-gradient(
    180deg,
    rgba(17, 24, 35, 0.26) 0%,
    rgba(10, 13, 17, 1) 100%
  );
}
.col-foot__grid {
  display: grid;
  gap: 2rem;
}
.col-notice__title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.col-notice__text {
  color: var(--c-text-muted);
}
.col-notice__text + .col-notice__text {
  margin-top: 0.5rem;
}

.col-foot__trust {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.col-foot__trust-link {
  display: inline-flex;
  padding: 0.5rem;
  border-radius: 10px;
  border: 1px solid var(--c-border);
  background: var(--c-panel);
  color: var(--c-text);
}
.col-foot__trust-link img {
  width: 140px;
  height: 46px;
  object-fit: contain;
}
.col-foot__trust-link:first-child img {
  width: 46px;
  height: 46px;
}

/* Footer links as chips */
.col-foot__links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.col-foot__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 0.75rem;
  border-radius: 10px;
  background: rgba(0, 213, 160, 0.12);
  color: var(--c-accent);
  border: 1px solid rgba(0, 213, 160, 0.45);
  box-shadow: 0 0 0 2px rgba(0, 213, 160, 0.15);
  font-weight: 800;
  letter-spacing: 0.01em;
}
@media (hover: hover) {
  .col-foot__link:hover {
    color: var(--c-accent-2);
    border-color: rgba(255, 105, 196, 0.5);
    box-shadow: 0 0 0 2px rgba(255, 105, 196, 0.2);
  }
}

/* Mobile tweaks */
@media (max-width: 767.98px) {
  .col-card {
    padding: 1.5rem 0.65rem 0.65rem 0.65rem;
  }
  .col-card__brand,
  .col-card__center,
  .col-card__cta {
    width: 100%;
  }
  .col-score {
    align-items: center;
  }
  .col-card__offer {
    width: 140px;
    height: 140px;
  }
  .col-card__offer span:nth-child(2) {
    font-size: 1.35rem;
  }
}

/* Desktop layout */
@media (min-width: 1024px) {
  .col-offers__grid {
    gap: 1rem;
  }
  .col-card {
    display: grid;
    grid-template-columns: 200px 1fr 260px;
    grid-auto-rows: 1fr;
    align-items: center;
    padding: 1rem 1rem 1rem 46px;
    gap: 1rem;
  }
  .col-card__brand {
    grid-column: 1;
    border: 0;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 160px 1fr;
    align-items: center;
    gap: 0.75rem;
  }
  .col-card__center {
    grid-column: 2;
    align-items: center;
    text-align: center;
  }
  .col-brandmark {
    width: 160px;
    height: 56px;
  }
  .col-score__row {
    gap: 0.35rem;
    width: 100%;
  }
  .col-score__value {
    font-size: 0.92rem;
  }
  .col-score__reviews {
    width: 100%;
    text-align: center;
    font-size: 0.78rem;
  }
  .col-score__stars {
    width: 64px;
    height: 12px;
  }

  /* Offer pill style on desktop */
  .col-card__offer {
    grid-column: 2;
    width: 100%;
    height: auto;
    border-radius: 10px;
    padding: 0.6rem 0.9rem;
    background: linear-gradient(
      180deg,
      rgba(35, 48, 67, 0.28),
      rgba(35, 48, 67, 0.05)
    );
    border: 1px solid var(--c-border);
    box-shadow: 0 0 0 1px rgba(0, 213, 160, 0.12);
    margin: 0;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  .col-card__offer span:nth-child(1) {
    font-size: 0.9rem;
    color: var(--c-text-muted);
  }
  .col-card__offer span:nth-child(2) {
    font-size: 1.3rem;
    font-weight: 900;
    text-shadow: none;
  }

  .col-card__cta {
    grid-column: 3;
    padding: 0.6rem;
    gap: 0.6rem;
    align-self: center;
  }
  .col-paygrid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1fr;
    gap: 0.4rem;
  }

  /* Remove extra margins */
  .col-card .col-brandmark,
  .col-card .col-score,
  .col-card .col-card__offer,
  .col-card .col-card__cta {
    margin-bottom: 0;
  }
}

/* Focus */
a:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 1023px) {
  .col-card__offer {
    width: 100%;
    height: auto;
    padding: 0.5rem;
  }
  .col-card__brand {
    padding: 0;
    margin-bottom: 0.5rem;
  }
}
@media (max-width: 767px) {
  .col-hero__title {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
  }
  .col-hero__lead {
    font-size: 0.85rem;
  }
  .col-offers {
    padding: 1rem 0;
  }
  .col-score__reviews {
    margin: 0;
  }
  .col-card__cta {
    margin-top: 0.75rem;
    padding: 0.25rem;
  }
}

.col-card--top {
  position: absolute;
  top: -1rem;
  z-index: 1;
  left: 0.5rem;
  object-fit: contain;
  background: radial-gradient(
    100% 100% at 50% 0%,
    rgba(0, 213, 160, 0.16) 0%,
    rgba(17, 24, 35) 60%,
    rgba(17, 24, 35) 100%
  );
  border: 1px solid var(--c-border);
  box-shadow: 0 0 0 2px rgba(0, 213, 160, 0.22),
    0 0 22px rgba(255, 105, 196, 0.22), 0 16px 38px rgba(0, 0, 0, 0.45),
    inset 0 10px 28px rgba(0, 213, 160, 0.08);
  border-radius: 10px;
  margin: 0;
  font-size: 1rem;
  padding: 0.25rem;
}

.grid--3,
.grid--2 {
  display: grid;
}
.grid--3 {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}
.grid--2 {
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 767px) {
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }
}
