/* Global theme */
:root {
  --bg: #0a0b0f;
  --bg-soft: #0f1118;
  --text: #e8ecf1;
  --muted: #aab3c0;
  --brand: #00ffd1; /* neon mint */
  --brand-2: #8a2be2; /* neon violet */
  --accent: #15aaff;
  --success: #12d67b;
  --radius: 14px;
  --shadow-neon: 0 0 0.5px rgba(0, 255, 209, 0.35),
    0 0 8px rgba(0, 255, 209, 0.35), 0 0 18px rgba(0, 255, 209, 0.25),
    inset 0 0 24px rgba(0, 255, 209, 0.08);
  --shadow-neon-2: 0 0 0.5px rgba(138, 43, 226, 0.35),
    0 0 8px rgba(138, 43, 226, 0.35), 0 0 18px rgba(138, 43, 226, 0.25),
    inset 0 0 24px rgba(138, 43, 226, 0.08);
}
html,
body {
  height: 100%;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  /* Layered background: dark overlay -> decorative gradients -> themed image -> base color */
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.78)),
    radial-gradient(
      1200px 600px at 90% -10%,
      rgba(21, 170, 255, 0.06),
      transparent 60%
    ),
    radial-gradient(
      800px 420px at 5% 0%,
      rgba(0, 255, 209, 0.07),
      transparent 60%
    ),
    url("../img/bg-main.webp"), var(--bg);
  background-size: cover, auto, auto, cover, auto;
  background-position: center, 90% -10%, 5% 0%, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat;
  background-attachment: fixed, scroll, scroll, fixed, scroll;
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell,
    Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 16px 72px;
}

/* Typography */
h1 {
  font-size: clamp(26px, 4.6vw, 42px);
  line-height: 1.15;
  margin: 0 0 10px;
  text-align: center;
}
h2 {
  font-size: clamp(20px, 4.2vw, 28px);
  margin: 0 0 8px;
}
h3 {
  font-size: clamp(16px, 3.8vw, 20px);
  margin: 14px 0 6px;
}
p.lead {
  color: var(--muted);
  margin: 0 0 5px;
  font-size: clamp(14px, 3.8vw, 18px);
  text-align: center;
}
.lead.lead-last {
  margin: 0 0 20px;
}
/* Utility & nav */
.offer-label {
  position: absolute;
  top: -15px;
  left: 0;
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(21, 170, 255, 0.1);
  color: #cfeaff;
  border: 1px solid rgba(21, 170, 255, 0.25);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2px;
  backdrop-filter: blur(6px);
}

/* Global link style */
a {
  color: #cfeaff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  text-decoration-color: rgba(207, 234, 255, 0.6);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
a:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}
a:focus-visible {
  outline: 2px solid rgba(21, 170, 255, 0.6);
  outline-offset: 2px;
  border-radius: 4px;
}
nav a {
  margin-right: 12px;
}
nav a:hover {
}

/* Content cards */
.card-why {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 14px;
}
.box {
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 14px;
  margin: 10px 0;
}
.grid-why {
  display: grid;
  gap: 12px;
}
@media (min-width: 860px) {
  .grid-why {
    grid-template-columns: 1fr 1fr;
  }
}

/* Offers (index) */
#ofertas {
  scroll-margin-top: 12px;
}
.offers-intro {
  margin: 14px 0 10px;
}
.offers {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.offer-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 14px 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.offer-card[data-variant="mint"] {
  box-shadow: var(--shadow-neon);
}
.offer-card[data-variant="violet"] {
  box-shadow: var(--shadow-neon-2);
}
.offer-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}
.offer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 10px;
  border: 1px solid var(--brand);
  border-radius: 12px;
}
.brand img {
  width: 100%;
  height: 70px;
  object-fit: contain;
}
.bonus {
  margin: 10px 0 0;
  font-weight: 700;
  font-size: clamp(16px, 4.5vw, 22px);
  text-align: center;
}
.bonus strong {
  font-size: 1.4rem;
  display: block;
}
.pay-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.pay-logos img {
  height: 18px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.12));
}
.rating {
  color: #ffe27a;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 5px;
}
.rating small {
  color: var(--muted);
  font-weight: 400;
}
.cta {
  box-sizing: border-box;
  display: inline-block;
  text-decoration: none;
  width: 100%;
  text-align: center;
  padding: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: 12px;
  color: #061217;
  background: linear-gradient(180deg, #22ffd8, #09cca8);
  box-shadow: 0 6px 22px rgba(0, 255, 209, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.cta:hover {
  filter: brightness(1.05);
}
.offer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
/* Offers responsive */
@media (min-width: 860px) {
  .offers {
    grid-template-columns: 1fr;
  }
  .offer-card {
    padding: 18px;
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    grid-auto-rows: min-content;
    align-items: center;
    column-gap: 18px;
    row-gap: 6px;
  }
  .offer-top {
    justify-content: flex-start;
  }
  .bonus {
    margin: 0;
    text-align: center;
  }
  .pay-logos {
    justify-content: center;
  }
  .rating {
    text-align: center;
    margin-bottom: 0;
  }
  .cta {
    font-size: 18px;
    width: 100%;
    text-align: center;
  }

  .pay-logos img {
    height: 20px;
  }
}
@media (max-width: 859.98px) {
  .fold-hint {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(
      90deg,
      rgba(0, 255, 209, 0.45),
      rgba(138, 43, 226, 0.45)
    );
    opacity: 0.9;
    filter: blur(0.3px);
    margin: 8px auto 0;
    width: 62%;
  }

  .offers:after {
    content: "";
    display: block;
    height: 8px;
    margin-top: -8px;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 -2px 10px rgba(255, 255, 255, 0.04),
      0 0 16px rgba(0, 0, 0, 0.3);
  }
}

/* Sections & layout */
section {
  margin: 28px 0 0;
}

/* Footer */
footer {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 10px 0 16px;
}
.logos img {
  height: 22px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 8px 0 16px;
}

.copy {
  color: var(--muted);
  font-size: 14px;
}
