*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream: #faf6ef;
  --cream-mid: #f0e9dc;
  --cream-dark: #e4dac8;
  --ink: #1c1033;
  --ink-mid: #3d2f55;
  --ink-soft: #6b6280;
  --violet: #7c5cff;
  --violet-dark: #5a3fd4;
  --violet-soft: rgba(124, 92, 255, 0.12);
  --gold: #e8a838;
  --gold-light: #f5c96a;
  --rose: #e8637c;
  --rose-dark: #c9445e;
  --white: #ffffff;
  --shadow: 0 8px 32px rgba(28, 16, 51, 0.08);
  --shadow-lg: 0 20px 60px rgba(28, 16, 51, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
  --font: 'Manrope', system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 15px;
  overflow-x: hidden;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 22px;
}

a { color: var(--violet-dark); text-decoration: none; }
a:hover { color: var(--rose); }

/* ===== PROMINENT FREE WARNING ===== */
.free-banner {
  position: sticky;
  top: 0;
  z-index: 600;
  background: linear-gradient(90deg, #7c5cff 0%, #e8637c 50%, #7c5cff 100%);
  background-size: 200% 100%;
  animation: bannerShift 4s ease infinite;
  border-bottom: 4px solid var(--ink);
  box-shadow: 0 4px 24px rgba(124, 92, 255, 0.4);
}
@keyframes bannerShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.free-banner-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}
.free-banner .free-banner-tag {
  background: var(--white);
  color: var(--rose-dark);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 1.8px;
  padding: 5px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  flex-shrink: 0;
  animation: tagPulse 1.5s ease-in-out infinite;
}
@keyframes tagPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.free-banner strong {
  color: var(--white);
  font-size: clamp(13px, 2.8vw, 17px);
  font-weight: 900;
  letter-spacing: 0.4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.free-banner span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 600;
}

/* ===== HEADER ===== */
.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  position: sticky;
  top: 56px;
  z-index: 500;
  box-shadow: var(--shadow);
}
.topbar-row { position: relative; }
.topbar-row {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 22px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-link img { width: 44px; height: 44px; }

.nav-toggle {
  display: none;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 10px;
  padding: 8px;
  color: var(--ink);
  cursor: pointer;
}

.main-nav {
  display: flex;
  gap: 4px;
}
.main-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 10px;
  transition: 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--violet-dark);
  background: var(--violet-soft);
}

.topbar-actions {
  display: flex;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: 0.22s;
  border: none;
  letter-spacing: 0.2px;
}
.btn-line {
  background: transparent;
  color: var(--violet-dark);
  border: 2px solid var(--violet);
}
.btn-line:hover {
  background: var(--violet-soft);
}
.btn-main {
  background: linear-gradient(135deg, var(--violet), var(--rose));
  color: var(--white);
  box-shadow: 0 6px 24px rgba(124, 92, 255, 0.35);
}
.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(124, 92, 255, 0.45);
}
.btn-lg { padding: 15px 36px; font-size: 14px; }

/* ===== HERO ===== */
.hero {
  padding: 64px 0 48px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 92, 255, 0.14) 0%, transparent 70%),
    radial-gradient(circle at 90% 80%, rgba(232, 168, 56, 0.12) 0%, transparent 40%),
    var(--cream);
  text-align: center;
}
.hero-chip {
  display: inline-block;
  background: var(--white);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
  border: 2px solid var(--gold-light);
  box-shadow: var(--shadow);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 18px;
  color: var(--ink);
}
.hero h1 mark {
  background: none;
  color: var(--violet);
  font-style: italic;
}
.hero-text {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 540px;
  margin: 0 auto 32px;
}
.hero-stage {
  max-width: 300px;
  margin: 40px auto 0;
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
}
.hero-screen {
  background: linear-gradient(160deg, var(--ink) 0%, #2d1f4a 100%);
  border-radius: 12px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}
.hero-gem {
  width: 48px;
  height: 56px;
  background: linear-gradient(180deg, var(--violet), var(--rose));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.hero-stage-btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.5px;
  cursor: default;
}

.hero-strip {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px dashed var(--cream-dark);
}

/* ===== FREE NOTICE ===== */
.disclaimer-box {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--white);
  border: 4px solid var(--rose);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin: 48px auto 0;
  max-width: 820px;
  text-align: left;
  box-shadow: 0 0 0 6px rgba(232, 99, 124, 0.15), var(--shadow-lg);
  animation: disclaimerPulse 3s ease-in-out infinite;
}
@keyframes disclaimerPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(232, 99, 124, 0.15), var(--shadow-lg); }
  50% { box-shadow: 0 0 0 10px rgba(232, 99, 124, 0.25), 0 24px 64px rgba(232, 99, 124, 0.18); }
}
.disclaimer-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  color: var(--white);
  font-weight: 900;
}
.disclaimer-box h3 {
  font-family: var(--font-display);
  color: var(--rose-dark);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.disclaimer-box p {
  color: var(--ink-mid);
  font-size: 14px;
  line-height: 1.75;
}

/* ===== SECTIONS ===== */
.section {
  padding: 72px 0;
}
.section-tint {
  background: var(--cream-mid);
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
}
.section-label {
  color: var(--violet);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  color: var(--ink);
}
.section-desc {
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 32px;
}

.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.split-art {
  aspect-ratio: 1;
  max-width: 360px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, var(--violet-soft) 0%, transparent 60%),
    linear-gradient(225deg, rgba(232, 168, 56, 0.2) 0%, transparent 50%),
    var(--white);
  border: 2px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 88px;
  box-shadow: var(--shadow);
}

/* ===== FEATURES ===== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature {
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 32px 22px;
  text-align: center;
  transition: 0.25s;
  box-shadow: var(--shadow);
}
.feature:hover {
  border-color: var(--violet);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  background: var(--violet-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.feature h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink);
}
.feature p {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ===== GAME CARDS ===== */
.game-rows { margin-top: 12px; }
.game-row { margin-bottom: 40px; }
.game-row-head {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.game-row-head h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--violet-dark);
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.game-row-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.game-card {
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.25s;
  cursor: default;
  box-shadow: var(--shadow);
}
.game-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.game-card.is-soon { opacity: 0.92; }
.game-thumb {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  position: relative;
}
.game-thumb .soon-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--ink);
  color: var(--white);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}
.game-meta {
  padding: 14px 16px 18px;
}
.game-title {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--ink);
}
.game-tag {
  font-size: 10px;
  font-weight: 800;
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.gt-1 { background: linear-gradient(145deg, #dce8ff, #b8c9f0); }
.gt-2 { background: linear-gradient(145deg, #ffe8d4, #f0c8a0); }
.gt-3 { background: linear-gradient(145deg, #d4f0e8, #a0d8c8); }
.gt-4 { background: linear-gradient(145deg, #f0d4e8, #d8a0c0); }
.gt-5 { background: linear-gradient(145deg, #e8e0f0, #c0b0d8); }
.gt-6 { background: linear-gradient(145deg, #fff0d4, #e8c890); }
.gt-7 { background: linear-gradient(145deg, #d4e8f0, #90c0d8); }
.gt-8 { background: linear-gradient(145deg, #f0dcd4, #d8a890); }
.gt-9 { background: linear-gradient(145deg, #e0f0d4, #b0d890); }
.gt-10 { background: linear-gradient(145deg, #f0d4f0, #d890d8); }

/* ===== CTA ===== */
.cta-band {
  padding: 72px 0;
  background:
    linear-gradient(135deg, var(--ink) 0%, #2d1f4a 100%);
  color: var(--white);
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.25;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: 1rem;
}
.cta-emojis {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 48px;
  margin-bottom: 32px;
}

/* ===== PAGE CONTENT ===== */
.page-hero {
  padding: 52px 0 32px;
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--violet-dark);
  letter-spacing: -0.5px;
}
.page-hero p {
  color: var(--ink-soft);
  margin-top: 12px;
  max-width: 580px;
}
.content-area {
  padding: 56px 0 72px;
}
.content-area h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--violet-dark);
  margin: 32px 0 10px;
  font-weight: 700;
}
.content-area h2:first-child { margin-top: 0; }
.content-area p, .content-area li {
  color: var(--ink-soft);
  margin-bottom: 12px;
  line-height: 1.8;
}
.content-area ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-bottom: 36px;
}
.footer-logo img { width: 56px; height: 56px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}
.footer-nav a:hover { color: var(--gold-light); }

.help-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}
.help-row p {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.help-row a {
  opacity: 0.85;
  transition: 0.2s;
}
.help-row a:hover { opacity: 1; }
.help-row img {
  height: 36px;
  width: auto;
  max-width: 130px;
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom p { margin-bottom: 6px; }

/* ===== COOKIE BANNER ===== */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 3px solid var(--violet);
  padding: 18px 22px;
  z-index: 700;
  display: none;
  box-shadow: 0 -8px 40px rgba(28, 16, 51, 0.15);
}
#cookieBanner.show { display: block; }
.cookie-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-inner p {
  color: var(--ink-soft);
  font-size: 13px;
  flex: 1;
  min-width: 220px;
}
.cookie-btns {
  display: flex;
  gap: 10px;
}
.cookie-ok {
  background: var(--violet);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}
.cookie-link {
  color: var(--ink-soft);
  font-size: 13px;
  padding: 10px 14px;
  text-decoration: none;
}
.cookie-link:hover { color: var(--violet); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .games-grid,
  .game-row-track { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 14px 22px 22px;
    border-bottom: 1px solid var(--cream-dark);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; }
  .topbar-actions .btn-line { display: none; }
  .topbar { position: relative; top: 0; }
  .free-banner { position: relative; }
  .split-block { grid-template-columns: 1fr; }
  .disclaimer-box { flex-direction: column; padding: 24px; }
  .games-grid,
  .game-row-track { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .games-grid,
  .game-row-track { grid-template-columns: 1fr 1fr; gap: 10px; }
}
