@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,700;1,9..144,500&family=Sora:wght@300;400;500;600;700&display=swap');

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

:root {
  --bg-deep: #0a0612;
  --bg-surface: #12081f;
  --bg-card: #1a0f2e;
  --bg-glass: rgba(26, 15, 46, 0.72);
  --violet: #e879f9;
  --violet-dim: rgba(232, 121, 249, 0.12);
  --coral: #fb923c;
  --coral-dim: rgba(251, 146, 60, 0.15);
  --mint: #34d399;
  --mint-dim: rgba(52, 211, 153, 0.12);
  --text: #f5f0ff;
  --text-muted: #a89bb8;
  --border: rgba(232, 121, 249, 0.18);
  --border-coral: rgba(251, 146, 60, 0.25);
  --warning-bg: #2d1508;
  --warning-border: #fb923c;
  --warning-text: #ffedd5;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Sora', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 70% 50% at 15% 10%, rgba(232, 121, 249, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 75%, rgba(251, 146, 60, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(52, 211, 153, 0.04) 0%, transparent 60%);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--mint);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--violet);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ── Free Games Warning Banner ── */
.free-notice-bar {
  background: linear-gradient(90deg, #7c2d12, #ea580c, #c026d3, #ea580c, #7c2d12);
  background-size: 300% 100%;
  animation: noticeShimmer 5s ease infinite;
  color: #fff;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-bottom: 3px solid #fde047;
  position: relative;
  z-index: 100;
  text-transform: uppercase;
}

.free-notice-bar strong {
  color: #fef08a;
  font-size: 0.95rem;
}

.free-notice-bar span {
  display: inline-block;
  margin: 0 0.35rem;
  opacity: 0.85;
}

@keyframes noticeShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── Header ── */
.site-header {
  background: rgba(10, 6, 18, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 90;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
}

.logo-link:hover {
  color: var(--violet);
}

.logo-link img {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--violet), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--violet);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.6rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral), #f472b6, var(--violet));
  color: #fff;
  box-shadow: 0 4px 24px rgba(232, 121, 249, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 121, 249, 0.5);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--violet);
  color: var(--violet);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ── Hero ── */
.hero {
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 121, 249, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.hero-hex {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid var(--border);
  opacity: 0.3;
  transform: rotate(30deg);
  border-radius: 20%;
  pointer-events: none;
}

.hero-hex:nth-child(1) { top: 10%; left: 8%; }
.hero-hex:nth-child(2) { bottom: 15%; right: 10%; width: 80px; height: 80px; }

.hero-content {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--violet-dim);
  border: 1px solid rgba(232, 121, 249, 0.35);
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fff 0%, var(--violet) 50%, var(--coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.75rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--coral);
  display: block;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Sections ── */
section {
  padding: 4.5rem 0;
}

.section-label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ── About Split ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.about-visual-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--violet-dim) 0%, transparent 70%);
  pointer-events: none;
}

.about-visual-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.about-visual-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--violet);
  margin-bottom: 0.5rem;
}

.about-visual-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.benefit-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  transition: border-color 0.2s, transform 0.2s;
}

.benefit-card:hover {
  border-color: var(--coral);
  transform: translateX(6px);
}

.benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--coral-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.benefit-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.benefit-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ── Game Spotlight ── */
.game-spotlight {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.game-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(251, 146, 60, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.game-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.game-frame {
  background: var(--bg-card);
  border: 2px solid var(--border-coral);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow), 0 0 60px rgba(251, 146, 60, 0.1);
  overflow: hidden;
  position: relative;
}

.game-frame::after {
  content: 'FREE';
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--coral), var(--violet));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}

.game-frame img {
  border-radius: calc(var(--radius-lg) - 4px);
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.game-info h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--coral);
  margin-bottom: 0.75rem;
}

.game-info p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.game-perks {
  list-style: none;
  margin-bottom: 1.75rem;
}

.game-perks li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.game-perks li::before {
  content: '◆';
  color: var(--mint);
  font-size: 0.6rem;
}

/* ── Features Grid ── */
.features-section {
  background: linear-gradient(180deg, transparent 0%, rgba(18, 8, 31, 0.6) 50%, transparent 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  border-color: var(--violet);
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(232, 121, 249, 0.15);
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--violet-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.feature-card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.features-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── FAQ ── */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 500;
  text-align: left;
  padding: 1.15rem 1.3rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--violet);
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--coral);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 320px;
}

.faq-answer-inner {
  padding: 0 1.3rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── Games Page ── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.game-card {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--coral);
  box-shadow: 0 16px 48px rgba(251, 146, 60, 0.15);
}

.game-card-image {
  position: relative;
  overflow: hidden;
}

.game-card-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.4s;
}

.game-card:hover .game-card-image img {
  transform: scale(1.06);
}

.game-card-body {
  padding: 1.35rem;
}

.game-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--coral);
  margin-bottom: 0.5rem;
}

.game-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.game-tag {
  display: inline-block;
  background: var(--mint-dim);
  color: var(--mint);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

/* ── Legal Pages ── */
.page-hero {
  padding: 3.5rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--violet);
  margin: 2rem 0 0.75rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-updated {
  font-size: 0.82rem;
  color: var(--text-muted);
  opacity: 0.7;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ── About Game Page ── */
.about-game-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
}

.about-game-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-coral);
  box-shadow: var(--shadow);
}

.about-game-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.about-game-info h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  background: linear-gradient(135deg, var(--coral), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.about-game-info p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.info-list {
  list-style: none;
  margin: 1.5rem 0;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.info-list li svg {
  color: var(--mint);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ── Warning Box ── */
.warning-box {
  background: linear-gradient(135deg, #431407, #7c2d12, #4a044e);
  border: 4px solid var(--warning-border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  margin: 2rem 0;
  position: relative;
  box-shadow: 0 0 50px rgba(251, 146, 60, 0.25), inset 0 0 80px rgba(251, 146, 60, 0.06);
  animation: warningPulse 3s ease-in-out infinite;
}

@keyframes warningPulse {
  0%, 100% { box-shadow: 0 0 50px rgba(251, 146, 60, 0.25), inset 0 0 80px rgba(251, 146, 60, 0.06); }
  50% { box-shadow: 0 0 70px rgba(251, 146, 60, 0.4), inset 0 0 100px rgba(251, 146, 60, 0.1); }
}

.warning-box-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.warning-box-header svg {
  width: 32px;
  height: 32px;
  color: #fde047;
  flex-shrink: 0;
}

.warning-box-header h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: #fef08a;
  font-weight: 700;
}

.warning-box p {
  color: var(--warning-text);
  font-size: 1rem;
  line-height: 1.75;
}

.warning-box strong {
  color: #fde047;
}

/* ── Mega Warning Strip ── */
.mega-warning {
  background: linear-gradient(90deg, #7f1d1d, #9a3412, #7f1d1d);
  border-top: 3px solid #fde047;
  border-bottom: 3px solid #fde047;
  padding: 1.5rem 0;
  text-align: center;
}

.mega-warning p {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}

.mega-warning strong {
  color: #fef08a;
  font-size: 1.15rem;
}

/* ── Partners ── */
.partners-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.partners-section h4 {
  text-align: center;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.partners-logos a {
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}

.partners-logos a:hover {
  opacity: 1;
  transform: scale(1.06);
}

.partners-logos img {
  height: 38px;
  width: auto;
  filter: grayscale(20%) brightness(1.1);
}

/* ── Footer ── */
.site-footer {
  background: #050308;
  border-top: 1px solid var(--border);
  padding: 2.75rem 0 1.5rem;
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
}

.footer-logo img {
  width: 34px;
  height: 34px;
}

.footer-logo span {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--violet), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: var(--violet);
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.65;
  line-height: 1.6;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.footer-copy {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.55;
}

/* ── Popups ── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow);
}

.popup-box h2 {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  background: linear-gradient(135deg, var(--coral), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.popup-box h3 {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 1rem;
}

.popup-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.popup-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem;
  z-index: 999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-bar.active {
  transform: translateY(0);
}

.cookie-bar p {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
  min-width: 200px;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
}

/* ── Mobile ── */
body.nav-open {
  overflow: hidden;
}

body.nav-open::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 190;
}

body.nav-open .site-header {
  z-index: 205;
}

body.nav-open .main-nav {
  z-index: 210;
}

@media (max-width: 900px) {
  .about-split,
  .game-showcase,
  .about-game-hero,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 220;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(280px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--bg-surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 4.5rem 1.5rem 2rem;
    gap: 1.25rem;
    border-left: 1px solid var(--border);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, visibility 0.3s;
    z-index: 200;
  }

  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 3.5rem 0 2.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .popup-buttons {
    flex-direction: column;
  }

  .hero-stats {
    gap: 1.25rem;
  }
}
