@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

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

:root {
  --bg-deep: #0a0604;
  --bg-surface: #14100a;
  --bg-card: #1e160c;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --amber-dark: #b45309;
  --emerald: #10b981;
  --cyan: #22d3ee;
  --crystal-dim: rgba(34, 211, 238, 0.12);
  --text: #f5efe6;
  --text-muted: #9a8b78;
  --border: rgba(245, 158, 11, 0.18);
  --warning-bg: #3d1a00;
  --warning-border: #f97316;
  --warning-text: #ffedd5;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 70% 45% at 15% 10%, rgba(16, 185, 129, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at 85% 75%, rgba(245, 158, 11, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(34, 211, 238, 0.04) 0%, transparent 60%);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  color: var(--amber-light);
}

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

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

/* ── Free Games Warning Banner ── */
.free-notice-bar {
  background: linear-gradient(90deg, #7c2d12, #ea580c, #dc2626, #ea580c, #7c2d12);
  background-size: 300% 100%;
  animation: noticeShimmer 3s 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;
}

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

/* ── Header ── */
.site-header {
  background: rgba(10, 6, 4, 0.94);
  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.85rem 0;
  gap: 1rem;
}

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

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

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

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--amber-light);
  text-transform: uppercase;
}

.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(--amber-light);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--amber-light), var(--amber));
  color: var(--bg-deep);
  box-shadow: 0 4px 24px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.55);
  color: var(--bg-deep);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(34, 211, 238, 0.35);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  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: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

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

.hero-visual {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.75rem;
  position: relative;
}

.hero-visual svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 24px rgba(245, 158, 11, 0.35));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--crystal-dim);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 50px;
  padding: 0.4rem 1.1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--amber-light), var(--emerald), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.hero-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(234, 88, 12, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: var(--radius);
  padding: 0.6rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fed7aa;
  margin-bottom: 2rem;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.trust-item svg {
  color: var(--emerald);
  flex-shrink: 0;
}

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

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

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--amber-light);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

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

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

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

/* ── Feature Cards (3-col) ── */
.features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.feature-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.feature-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--cyan), var(--amber));
  opacity: 0;
  transition: opacity 0.25s;
}

.feature-tile:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature-tile:hover::before {
  opacity: 1;
}

.feature-tile-icon {
  font-size: 2rem;
  margin-bottom: 0.85rem;
}

.feature-tile h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--amber-light);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.feature-tile p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

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

.about-text a {
  font-weight: 600;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: border-color 0.2s;
}

.stat-box:hover {
  border-color: var(--emerald);
}

.stat-box .stat-value {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 0.25rem;
}

.stat-box .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Game Showcase ── */
.featured-game {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.game-showcase {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.game-frame {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.game-showcase h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--amber-light);
  margin-bottom: 0.5rem;
}

.game-showcase p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

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

.faq-item {
  background: var(--bg-card);
  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.93rem;
  font-weight: 500;
  text-align: left;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq-icon {
  font-size: 1.25rem;
  color: var(--amber);
  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.25rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
}

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

.game-card {
  background: var(--bg-card);
  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(-6px);
  border-color: var(--amber);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45);
}

.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.05);
}

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

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

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

.game-tag {
  display: inline-block;
  background: var(--crystal-dim);
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

/* ── Legal Pages ── */
.page-hero {
  padding: 3rem 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(--amber-light);
  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-content ul li {
  margin-bottom: 0.4rem;
}

.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: 1px solid var(--border);
  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.75rem);
  color: var(--amber-light);
  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(--emerald);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--amber);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.feature-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.25rem;
}

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

/* ── Warning Box ── */
.warning-box {
  background: linear-gradient(135deg, #451a03, #7c2d12, #451a03);
  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(249, 115, 22, 0.3), inset 0 0 80px rgba(249, 115, 22, 0.06);
  animation: warningPulse 2.5s ease-in-out infinite;
}

@keyframes warningPulse {
  0%, 100% { box-shadow: 0 0 50px rgba(249, 115, 22, 0.3), inset 0 0 80px rgba(249, 115, 22, 0.06); border-color: #f97316; }
  50% { box-shadow: 0 0 80px rgba(249, 115, 22, 0.5), inset 0 0 100px rgba(249, 115, 22, 0.1); border-color: #fde047; }
}

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

.warning-box-header svg {
  width: 32px;
  height: 32px;
  color: #fbbf24;
  flex-shrink: 0;
  animation: warningIcon 1.5s ease-in-out infinite;
}

@keyframes warningIcon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.warning-box-header h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #fef08a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

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

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

/* ── 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.72rem;
  font-weight: 700;
  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: 2rem;
}

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

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

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

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

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

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

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

.footer-logo span {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--amber-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--amber-light);
}

.footer-copy {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.6;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

/* ── 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: 2rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow);
}

.popup-box h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--amber-light);
  margin-bottom: 0.25rem;
}

.popup-box h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald);
  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-bar p a {
  color: var(--cyan);
}

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

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

/* ── Mobile nav overlay ── */
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;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .features-row {
    grid-template-columns: 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;
  }

  .about-grid,
  .about-game-hero {
    grid-template-columns: 1fr;
  }

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

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@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;
  }

  .warning-box {
    padding: 1.5rem;
  }
}
