/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ---------- PALETTE – Deep Ocean & Aqua ---------- */
  --c-depth:     #06131b;          /* abyss background */
  --c-water:     #0a1f2b;          /* darker surface */
  --c-panel:     #102c3b;          /* card panel */
  --c-aqua:      #2dd4bf;          /* aqua accent – main */
  --c-aqua-deep: #0d9488;          /* deep teal for gradients */
  --c-coral:     #fb7185;          /* coral – secondary accent */
  --c-lime:      #a3e635;          /* lime for bonus text */
  --c-ink:       #cfe6ee;          /* body text */
  --c-ink-dim:   #7d9aaa;          /* muted text */
  --c-foam:      #f2fbff;          /* near-white */

  /* ---------- TYPOGRAPHY ---------- */
  --f-body:  'Manrope', 'Segoe UI', Arial, sans-serif;
  --f-head:  'Rubik', var(--f-body);

  /* ---------- LAYOUT ---------- */
  --edge:    18px;
  --page-w:  1140px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--c-depth);
  color: var(--c-ink);
  line-height: 1.65;
  min-height: 100vh;
}

a { color: var(--c-aqua); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--c-coral); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.wrap { width: 93%; max-width: var(--page-w); margin: 0 auto; }

/* ===== TOPBAR ===== */
.topbar {
  background: linear-gradient(180deg, rgba(3, 16, 23, 0.88) 0%, rgba(10, 31, 43, 0.78) 100%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--c-aqua);
  padding: 1rem 0;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 6px 28px rgba(45, 212, 191, 0.08);
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.site-brand {
  font-family: var(--f-head);
  font-size: 1.25rem; font-weight: 700;
  color: var(--c-foam);
  display: flex; align-items: center; gap: .55rem;
}
.site-brand:hover { text-decoration: none; color: var(--c-aqua); }
.site-brand .brand-mark {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(45, 212, 191, 0.4);
  object-fit: cover;
}

.menu { display: flex; gap: 2rem; }
.menu a {
  color: var(--c-ink); font-weight: 600; font-size: .88rem;
  transition: color .2s;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
}
.menu a:hover, .menu a.current {
  color: var(--c-aqua); text-decoration: none;
  border-bottom-color: var(--c-coral);
}

/* mobile menu toggle */
.menu-btn { display: none; background: none; border: none; color: var(--c-ink); font-size: 1.5rem; cursor: pointer; }

/* ===== CRUMBS ===== */
.crumbs {
  padding: .7rem 0; font-size: .8rem; color: var(--c-ink-dim);
  border-bottom: 1px solid rgba(45, 212, 191, 0.08);
}
.crumbs a { color: var(--c-ink-dim); }
.crumbs span { color: var(--c-aqua); }

/* ===== INTRO ===== */
.intro {
  padding: 3.75rem 0 2.75rem;
  text-align: center;
  background: linear-gradient(180deg, var(--c-water) 0%, var(--c-depth) 100%);
  border-bottom: 1px solid rgba(45, 212, 191, 0.12);
  position: relative;
  overflow: hidden;
}
/* aurora blobs */
.intro::before, .intro::after {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.intro::before {
  background: rgba(45, 212, 191, 0.16);
  top: -220px; left: 8%;
  animation: drift-a 16s ease-in-out infinite alternate;
}
.intro::after {
  background: rgba(251, 113, 133, 0.10);
  top: -160px; right: 4%;
  animation: drift-b 20s ease-in-out infinite alternate;
}
@keyframes drift-a {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(90px, 50px) scale(1.15); }
}
@keyframes drift-b {
  from { transform: translate(0, 0) scale(1.1); }
  to   { transform: translate(-110px, 40px) scale(0.95); }
}
.intro .wrap { position: relative; z-index: 1; }
.intro-kicker {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--c-aqua);
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: 30px;
  padding: .3rem 1rem;
  margin-bottom: 1.1rem;
}
.intro h1 {
  font-family: var(--f-head);
  font-size: clamp(1.7rem, 4vw, 2.65rem);
  color: var(--c-foam);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.intro h1 em { color: var(--c-aqua); font-style: normal; }
.intro-sub {
  max-width: 720px; margin: 0 auto;
  font-size: 1rem; color: var(--c-ink-dim);
}

/* ===== PERKS ===== */
.perks {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding: 1.4rem 0;
  margin: 1.4rem auto;
}
.perk {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  font-size: .86rem; font-weight: 600; color: var(--c-ink-dim);
  background: var(--c-panel); border-radius: var(--edge); padding: .85rem .5rem;
  border: 1px solid rgba(45, 212, 191, 0.12);
  transition: border-color .3s, color .3s;
}
.perk:hover { border-color: var(--c-aqua); color: var(--c-ink); }
.perk .pico { font-size: 1.25rem; }
.perk .pico.aqua { color: var(--c-aqua); }
.perk .pico.coral { color: var(--c-coral); }

/* ===== OFFER BOXES ===== */
.offers { display: flex; flex-direction: column; gap: 1.6rem; padding: 2.25rem 0; }

.offer-box {
  background: linear-gradient(160deg, var(--c-panel) 0%, #0c2431 100%);
  border-radius: var(--edge);
  padding: 1.6rem 1.9rem;
  display: grid;
  grid-template-columns: 150px 1fr 200px;
  gap: 2rem;
  align-items: center;
  border: 1px solid rgba(45, 212, 191, 0.10);
  border-left: 4px solid rgba(45, 212, 191, 0.35);
  transition: border-color .3s, transform .3s, box-shadow .3s;
  position: relative;
}
.offer-box:hover {
  border-color: var(--c-aqua);
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(45, 212, 191, 0.14);
}

.offer-box .ribbon {
  position: absolute; top: -13px; right: 1.4rem;
  background: linear-gradient(135deg, var(--c-coral) 0%, #e11d48 100%);
  color: #fff; font-size: .72rem; font-weight: 800;
  padding: 4px 14px; border-radius: 20px;
  letter-spacing: .4px;
  box-shadow: 0 4px 12px rgba(251, 113, 133, 0.3);
}

.offer-ident {
  display: flex; flex-direction: column; align-items: center; gap: .55rem; text-align: center;
}
.offer-ident .brand-pic {
  width: 104px; height: 104px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid rgba(45, 212, 191, 0.35);
  overflow: hidden;
  background: #08161e;
}
.offer-ident h3 { font-family: var(--f-head); font-size: 1.05rem; color: var(--c-foam); }
.offer-ident .score { color: var(--c-aqua); font-size: .88rem; display: flex; align-items: center; gap: .4rem; }
.offer-ident .score-num {
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: var(--c-foam);
  font-weight: 800; font-size: .78rem;
  padding: 1px 8px; border-radius: 6px;
}

.offer-info { display: flex; flex-direction: column; gap: .65rem; }
.offer-info .deal {
  font-size: 1.06rem; font-weight: 800; color: var(--c-lime);
  padding: .45rem .85rem; background: rgba(163, 230, 53, 0.07);
  border-radius: 9px;
  border-left: 3px solid var(--c-lime);
  display: inline-block;
}
.offer-info .facts { font-size: .82rem; color: var(--c-ink-dim); }
.offer-info .facts b { color: var(--c-ink); }
.offer-info .game-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.offer-info .gtag {
  background: rgba(45, 212, 191, 0.07); padding: 3px 11px; border-radius: 6px;
  font-size: .72rem; font-weight: 600; color: var(--c-aqua);
  border: 1px solid rgba(45, 212, 191, 0.16);
}
.offer-info .paylist { display: flex; flex-wrap: wrap; gap: .35rem; }
.offer-info .pay {
  background: var(--c-water); padding: 3px 9px; border-radius: 20px;
  font-size: .67rem; color: var(--c-ink);
  border: 1px solid rgba(125, 154, 170, 0.15);
}

.offer-action {
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
}
.act-btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 30px;
  font-weight: 800; font-size: .94rem; text-align: center; cursor: pointer;
  transition: filter .2s, transform .15s, box-shadow .2s; border: none; width: 100%;
}
.act-btn:hover { filter: brightness(1.12); transform: translateY(-2px); text-decoration: none; }
.act-btn--main {
  background: linear-gradient(135deg, var(--c-aqua) 0%, var(--c-aqua-deep) 100%);
  color: #04222b;
  box-shadow: 0 5px 20px rgba(45, 212, 191, 0.30);
  animation: cta-pulse 2.8s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 5px 20px rgba(45, 212, 191, 0.28); }
  50%      { box-shadow: 0 5px 30px rgba(45, 212, 191, 0.55); }
}
.act-btn--main:hover { color: #04222b; box-shadow: 0 8px 26px rgba(45, 212, 191, 0.42); }
.offer-action .note { font-size: .76rem; color: var(--c-ink-dim); }

/* ===== TEXT BLOCKS ===== */
.text-block { padding: 3rem 0; }
.text-block h2 {
  font-family: var(--f-head);
  font-size: 1.45rem; color: var(--c-foam);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid rgba(45, 212, 191, 0.25);
}
.text-block h2:not(:first-child) { margin-top: 2.25rem; }
.text-block p { margin-bottom: 1rem; color: var(--c-ink-dim); }
.text-block ul { margin-bottom: 1.5rem; }
.text-block ul li {
  padding: .35rem 0 .35rem 1.35rem; position: relative; color: var(--c-ink-dim);
}
.text-block ul li::before {
  content: '\25B8'; position: absolute; left: 0; top: .35rem;
  color: var(--c-aqua); font-size: .9rem;
}
.text-block ol { margin-bottom: 1.5rem; padding-left: 1.5rem; }
.text-block ol li { padding: .3rem 0; color: var(--c-ink-dim); list-style: decimal; }
.text-block blockquote {
  background: rgba(251, 113, 133, 0.06); border-left: 4px solid var(--c-coral);
  padding: 1rem 1.25rem; border-radius: 0 var(--edge) var(--edge) 0;
  margin: 1.25rem 0; font-size: .92rem;
}
.text-block h3 { color: var(--c-foam); font-size: 1.02rem; margin: 1rem 0 .4rem; }
.text-block hr { border: none; border-top: 1px solid rgba(45, 212, 191, 0.15); margin: 2rem 0 1rem; }

.tile-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; margin-top: 1.5rem;
}
.tile {
  background: var(--c-panel); border-radius: var(--edge); padding: 1.6rem;
  border: 1px solid rgba(45, 212, 191, 0.08);
  border-top: 3px solid rgba(45, 212, 191, 0.3);
  transition: border-color .3s, transform .3s;
}
.tile:hover { border-color: var(--c-aqua); transform: translateY(-3px); }
.tile h3 { color: var(--c-aqua); margin: 0 0 .5rem; font-size: 1rem; }
.tile p { font-size: .87rem; margin: 0; }

/* ===== BOTTOM / FOOTER ===== */
.bottom {
  background: linear-gradient(180deg, var(--c-water) 0%, #041018 100%);
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem; border-top: 2px solid var(--c-aqua);
}
.bottom-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem; margin-bottom: 2rem;
}
.bottom h4 { color: var(--c-aqua); margin-bottom: .8rem; font-family: var(--f-head); }
.bottom ul li { margin-bottom: .45rem; }
.bottom ul a { color: var(--c-ink-dim); font-size: .87rem; }
.bottom ul a:hover { color: var(--c-aqua); }
.bottom-line {
  text-align: center; padding-top: 1.5rem; border-top: 1px solid rgba(45, 212, 191, 0.12);
  font-size: .78rem; color: var(--c-ink-dim);
}
.bottom-line .fineprint {
  max-width: 820px; margin: 0 auto .75rem; font-size: .72rem;
}

/* ===== ERROR PAGE ===== */
.err-page {
  min-height: 60vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 4rem 1rem;
}
.err-page .err-code {
  font-family: var(--f-head);
  font-size: clamp(4.5rem, 14vw, 8rem); font-weight: 700;
  color: var(--c-aqua); line-height: 1;
  text-shadow: 0 0 40px rgba(45, 212, 191, 0.35);
}
.err-page h1 { font-family: var(--f-head); color: var(--c-foam); font-size: 1.6rem; margin: 1rem 0 .5rem; }
.err-page p { color: var(--c-ink-dim); max-width: 480px; margin-bottom: 1.75rem; }
.err-page .act-btn { width: auto; padding: .85rem 2.4rem; }

/* ===== MOTION & EFFECTS ===== */

/* animated gradient border on offer hover */
.offer-box::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, transparent 20%, rgba(45, 212, 191, 0.9) 50%, transparent 80%);
  background-size: 250% 250%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.offer-box:hover::after {
  opacity: 1;
  animation: border-run 2.4s linear infinite;
}
@keyframes border-run {
  from { background-position: 0% 50%; }
  to   { background-position: 250% 50%; }
}

/* ribbon glow pulse */
.ribbon { animation: ribbon-pulse 3s ease-in-out infinite; }
@keyframes ribbon-pulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(251, 113, 133, 0.30); }
  50%      { box-shadow: 0 4px 20px rgba(251, 113, 133, 0.55); }
}

/* scroll-reveal (elements get .rv from JS, .in when visible) */
.rv:not(.in) {
  opacity: 0;
  transform: translateY(26px);
}
.rv {
  transition: opacity .6s cubic-bezier(.22,.75,.35,1), transform .6s cubic-bezier(.22,.75,.35,1),
              border-color .3s, box-shadow .3s;
}

/* rating badge pop after reveal */
.offer-box.in .score-num {
  animation: score-pop .5s cubic-bezier(.3,1.6,.5,1) .35s backwards;
}
@keyframes score-pop {
  from { transform: scale(0.3); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* 404 floating code */
.err-page .err-code { animation: err-float 4s ease-in-out infinite; }
@keyframes err-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* respect user preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .rv:not(.in) { opacity: 1; transform: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .offer-box {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    text-align: center;
    border-left: 1px solid rgba(45, 212, 191, 0.10);
    border-top: 4px solid rgba(45, 212, 191, 0.35);
  }
  .offer-ident { flex-direction: row; justify-content: center; }
  .offer-info .game-tags, .offer-info .paylist { justify-content: center; }
  .offer-info .deal { display: block; }
  .offer-action { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .act-btn { width: auto; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .tile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .menu { display: none; }
  .menu.open { display: flex; flex-direction: column; width: 100%; }
  .menu-btn { display: block; }
  .intro h1 { font-size: 1.4rem; }
  .perks { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .offer-box { padding: 1.4rem 1.1rem; }
}
