:root {
--game-primary: #e61e2a;
  --game-secondary: #ffffff;
  --game-bg: #0a0a0c;
  
  --game-hero-bg: linear-gradient(135deg, #1a0505 0%, #0a0a0c 60%);
  --game-accent-glow: rgba(230, 30, 42, 0.4);

  --surface-1: #141417;
  --surface-2: #1c1c21;
  --surface-glass: rgba(230, 30, 42, 0.05);
  --surface-glass-border: rgba(255, 255, 255, 0.1);

  --text-primary: #ffffff;
  --text-secondary: #b0b0b8;
  --text-muted: #66666e;

  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-md: 18px;
  --fs-lg: 24px;
  --fs-xl: 32px;
  --fs-2xl: 48px;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;

  --container: 1280px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --z-base: 0;
  --z-sticky: 10;
  --z-dropdown: 20;
  --z-modal: 40;
  --z-popup: 100;
  --z-toast: 1000;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: var(--fs-base); }
body {
  font-family: 'Inter', sans-serif;
  background: var(--game-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}
a { color: var(--game-primary); text-decoration: none; }
a:hover { color: var(--game-secondary); }
img { max-width: 100%; height: auto; display: block; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: var(--fs-md);
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: all 200ms ease-out;
  text-decoration: none;
}
.btn-primary {
  background: var(--game-primary);
  color: #0d0f14;
  box-shadow: 0 0 20px var(--game-accent-glow);
}
.btn-primary:hover {
  background: var(--game-secondary);
  color: #0d0f14;
  box-shadow: 0 0 30px rgba(240,192,64,0.5);
  transform: translateY(-1px);
}
.btn-primary.pulse { animation: pulse-gold 2.5s ease-in-out infinite; }
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 20px var(--game-accent-glow); }
  50% { box-shadow: 0 0 35px rgba(240,192,64,0.6), 0 0 60px rgba(240,192,64,0.2); }
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--game-primary);
  color: var(--game-primary);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--game-secondary);
  color: #0d0f14;
}
.btn-secondary:hover { background: #33ddff; transform: translateY(-1px); }
.btn-outline-primary {
  background: transparent;
  color: var(--game-primary);
  border: 1.5px solid var(--game-primary);
}
.btn-outline-primary:hover {
  background: rgba(240,192,64,0.1);
  box-shadow: 0 0 20px rgba(240,192,64,0.2);
  transform: translateY(-1px);
}

.glass-card {
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-md);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(13, 15, 20, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 200ms ease;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  height: 64px;
  justify-content: space-between;
}
.site-logo {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--game-primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.site-logo span { color: var(--text-primary); }
.header-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex: 1;
}
.header-nav a {
  padding: 6px var(--sp-3);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color 150ms, background 150ms;
}
.header-nav a:hover, .header-nav a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}
.lang-selector {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 6px 10px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: border-color 150ms;
}
.lang-selector:hover { border-color: var(--game-primary); color: var(--text-primary); }

.header-mobile-cta {
  display: none;
  padding: 8px 14px;
  font-size: 13px;
}

.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
}
.burger-btn span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 200ms;
}

.breadcrumbs {
  padding: var(--sp-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.breadcrumbs li { display: flex; align-items: center; gap: var(--sp-2); }
.breadcrumbs li + li::before { content: '/'; color: var(--text-muted); }
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs a:hover { color: var(--game-primary); }
.breadcrumbs .current { color: var(--game-primary); }

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--sp-16) 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--game-hero-bg);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 70% 50%, rgba(240,100,20,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(0,212,255,0.06) 0%, transparent 50%);
}
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--game-primary);
  opacity: 0;
  animation: float-up 3s ease-in-out infinite;
}
.particle:nth-child(1) { left: 15%; animation-delay: 0s; background: #ff6b35; }
.particle:nth-child(2) { left: 25%; animation-delay: 0.5s; width: 3px; height: 3px; }
.particle:nth-child(3) { left: 45%; animation-delay: 1s; background: #ff6b35; }
.particle:nth-child(4) { left: 65%; animation-delay: 0.3s; width: 6px; height: 6px; }
.particle:nth-child(5) { left: 80%; animation-delay: 1.5s; background: #ff6b35; }
.particle:nth-child(6) { left: 35%; animation-delay: 2s; width: 3px; height: 3px; }
.particle:nth-child(7) { left: 55%; animation-delay: 0.8s; }
.particle:nth-child(8) { left: 90%; animation-delay: 1.2s; background: #ff6b35; }
@keyframes float-up {
  0% { transform: translateY(100px); opacity: 0; }
  20% { opacity: 0.8; }
  80% { opacity: 0.3; }
  100% { transform: translateY(-120px); opacity: 0; }
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--sp-10);
  align-items: center;
}
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
}
.game-logo-wrap {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(240,192,64,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(240,192,64,0.1);
  overflow: hidden;
  background: var(--surface-2);
}
.game-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  width: 100%;
}
.hero-cta-group .btn { justify-content: center; width: 100%; }
.platform-icons {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
}
.platform-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--text-muted);
}
.platform-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--text-secondary);
}
.hero-right {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.hero-h1 {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--text-primary);
  line-height: 1.1;
}
.hero-h1 em { font-style: normal; color: var(--game-primary); }
.facts-table {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.fact-cell {
  background: var(--surface-1);
  padding: var(--sp-4) var(--sp-3);
  text-align: center;
}
.fact-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}
.fact-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--game-primary);
}
.hero-intro {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 680px;
}
.hero-star-rating {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.stars { color: var(--game-primary); font-size: 18px; letter-spacing: 2px; }
.rating-text { font-family: 'Rajdhani', sans-serif; font-size: var(--fs-lg); font-weight: 700; color: var(--game-primary); }
.rating-count { color: var(--text-muted); font-size: var(--fs-sm); }

.demo-section { padding: var(--sp-16) 0; }
.demo-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-1);
  border: 1px solid rgba(255,255,255,0.06);
  min-height: 500px;
  z-index: 0;
}
.demo-overlay {
  position: absolute;
  inset: 0;
  z-index: var(--z-dropdown);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,15,20,0.92);
  backdrop-filter: blur(8px);
}
.demo-overlay.hidden { display: none; }
.demo-popup {
  text-align: center;
  padding: var(--sp-10);
  max-width: 480px;
}
.demo-game-logo {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 0 auto var(--sp-5);
  border: 2px solid rgba(240,192,64,0.2);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.demo-game-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.demo-popup h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-3); }
.demo-popup p {
  color: var(--text-secondary);
  margin-bottom: var(--sp-8);
  font-size: var(--fs-sm);
}
.demo-cta-group {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
}
.demo-iframe-container {
  display: none;
  width: 100%;
  height: 560px;
  position: relative;
}
.demo-iframe-container.active { display: block; }
.demo-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.demo-skeleton {
  position: absolute;
  inset: 0;
  background: var(--surface-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  gap: var(--sp-3);
}
.demo-disclaimer {
  text-align: center;
  padding: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.04);
}
.demo-disclaimer a { color: var(--text-muted); text-decoration: underline; }

.screenshots-section { padding: var(--sp-16) 0; }
.section-header { margin-bottom: var(--sp-8); }
.section-title {
  font-size: var(--fs-xl);
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--game-primary);
  border-radius: 2px;
}
.swiper-screenshots { padding-bottom: var(--sp-10) !important; }
.screenshot-slide {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 16/9;
  background: var(--surface-2);
}
.screenshot-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}
.screenshot-slide:hover img { transform: scale(1.04); }
.screenshot-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 200ms;
}
.screenshot-slide:hover::after { background: rgba(240,192,64,0.08); }
.swiper-pagination-bullet { background: var(--text-muted) !important; }
.swiper-pagination-bullet-active { background: var(--game-primary) !important; }
.swiper-button-next, .swiper-button-prev { color: var(--game-primary) !important; }

.content-area { padding: var(--sp-12) 0 var(--sp-16); }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--sp-10);
  align-items: start;
}

.toc-sidebar { position: sticky; top: 80px; }
.toc-card { padding: var(--sp-6); }
.toc-title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
}
.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.toc-list a {
  display: block;
  padding: 6px var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: all 150ms;
}
.toc-list a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
  border-left-color: var(--game-secondary);
}
.toc-list a.active {
  color: var(--game-primary);
  background: rgba(240,192,64,0.06);
  border-left-color: var(--game-primary);
}

.article-content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
}
.content-section { scroll-margin-top: 80px; }
.content-section h2 {
  font-size: var(--fs-xl);
  color: var(--text-primary);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.content-section h3 {
  font-size: var(--fs-lg);
  color: var(--text-primary);
  margin: var(--sp-6) 0 var(--sp-3);
}
.content-section p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--sp-4);
  font-size: 15px;
}
.content-section ul, .content-section ol {
  color: var(--text-secondary);
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.content-section li { line-height: 1.6; font-size: 15px; }

.article-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: var(--sp-5) 0;
  border: 1px solid rgba(255,255,255,0.06);
}
.article-image img {
  width: 100%;
  height: auto;
  display: block;
}
.article-image figcaption {
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface-1);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.cta-block {
  margin: var(--sp-8) 0;
}

.cta-block-buttons {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
}
@media (max-width: 640px) {
  .cta-block-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-block-buttons .btn {
    justify-content: center;
    width: 100%;
  }
}

.cta-block-banner .cta-banner-card {
  background: var(--surface-1);
  border: 1px solid rgba(240,192,64,0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.cta-banner-img-link {
  display: block;
}
.cta-banner-img {
  display: block;
  width: 100%;
  height: auto;
}
.cta-banner-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding: var(--sp-5) var(--sp-6);
}
.cta-banner-text {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  margin: 0;
}
@media (max-width: 640px) {
  .cta-banner-footer {
    flex-direction: column;
    text-align: center;
  }
  .cta-banner-footer .btn {
    width: 100%;
    justify-content: center;
  }
}

.content-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-5) 0;
  font-size: var(--fs-sm);
}
.content-table th {
  background: var(--surface-2);
  color: var(--text-primary);
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  font-family: 'Rajdhani', sans-serif;
  font-size: var(--fs-base);
  border-bottom: 2px solid rgba(240,192,64,0.3);
}
.content-table td {
  padding: var(--sp-3) var(--sp-4);
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.content-table tr:hover td { background: rgba(255,255,255,0.02); }
.content-table td:first-child { color: var(--text-primary); font-weight: 500; }
.callout {
  padding: var(--sp-5) var(--sp-6);
  border-radius: var(--radius-md);
  border-left: 3px solid;
  margin: var(--sp-5) 0;
  font-size: 15px;
}
.callout-tip {
  background: rgba(0,212,255,0.06);
  border-color: var(--game-secondary);
  color: var(--text-secondary);
}
.callout-tip strong { color: var(--game-secondary); }
.callout-warning {
  background: rgba(240,192,64,0.06);
  border-color: var(--game-primary);
  color: var(--text-secondary);
}
.callout-warning strong { color: var(--game-primary); }

.faq-section { padding: var(--sp-16) 0; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}
.faq-item {
  border-radius: var(--radius-md);
  background: var(--surface-1);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: border-color 200ms, box-shadow 200ms;
}
.faq-item.open {
  border-color: rgba(240,192,64,0.35);
  box-shadow: 0 0 0 1px rgba(240,192,64,0.1);
}

.faq-heading {
  display: block;
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--sp-5) var(--sp-6);
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-primary);
  background: var(--surface-1);
  border: none;
  outline: none;
  gap: var(--sp-4);
  transition: color 150ms, background 150ms;
  text-align: left;
}
.faq-question:hover {
  color: var(--game-primary);
  background: rgba(240,192,64,0.04);
}
.faq-item.open .faq-question {
  color: var(--game-primary);
  background: rgba(240,192,64,0.06);
}
.faq-question:focus-visible {
  outline: 2px solid var(--game-primary);
  outline-offset: -2px;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 250ms ease, border-color 200ms;
  background: var(--surface-2);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--game-primary);
  background: rgba(240,192,64,0.1);
}
.faq-icon::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}
.faq-icon::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 12px;
  background: currentColor;
  border-radius: 1px;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms ease;
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner {
  padding: var(--sp-4) var(--sp-6) var(--sp-6);
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.author-section { padding: var(--sp-12) 0; }
.author-card {
  padding: var(--sp-8);
  display: flex;
  gap: var(--sp-6);
  align-items: flex-start;
}
.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid rgba(240,192,64,0.3);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.author-avatar svg { width: 46px; height: 46px; fill: var(--text-muted); }
.author-info { flex: 1; }
.author-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.author-role {
  font-size: var(--fs-sm);
  color: var(--game-primary);
  margin-bottom: var(--sp-3);
}
.author-dates {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}
.author-dates span { display: flex; align-items: center; gap: 4px; }
.author-bio {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--sp-4);
}
.author-socials { display: flex; gap: var(--sp-3); }
.social-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  transition: all 150ms;
}
.social-link:hover { border-color: var(--game-primary); color: var(--game-primary); }
.social-link svg { width: 14px; height: 14px; fill: currentColor; }

.site-footer {
  background: var(--surface-1);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--sp-10) 0 var(--sp-8);
  margin-top: var(--sp-16);
}
.footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--sp-8);
  align-items: center;
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: var(--sp-6);
}
.footer-logo img {
  height: 44px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  justify-content: center;
}
.footer-nav a {
  padding: 6px var(--sp-4);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color 150ms, background 150ms;
}
.footer-nav a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.footer-badges {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.footer-badges img {
  height: 46px;
  width: auto;
}
.footer-age {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-muted);
  font-family: 'Rajdhani', sans-serif;
  border: 2px solid var(--text-muted);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-disclaimer {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 800px;
}
.footer-disclaimer a { color: var(--text-muted); text-decoration: underline; }
.footer-disclaimer a:hover { color: var(--text-secondary); }

.mobile-popup {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-popup);
  background: var(--surface-2);
  border-top: 1px solid rgba(240,192,64,0.2);
  padding: var(--sp-4) var(--sp-5);
  padding-bottom: calc(var(--sp-4) + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 32px rgba(0,0,0,0.5);
  animation: slide-up 400ms ease-out both;
}
.mobile-popup.hidden { display: none !important; }
@keyframes slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.mobile-popup-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.popup-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
}
.popup-logo img { width: 100%; height: 100%; object-fit: cover; }
.popup-text { flex: 1; font-size: 13px; }
.popup-text strong { color: var(--text-primary); display: block; }
.popup-text span { color: var(--text-secondary); font-size: var(--fs-xs); }
.popup-cta { white-space: nowrap; padding: 10px 18px; font-size: 14px; }
.popup-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: var(--sp-2);
  font-size: 18px;
  line-height: 1;
  transition: color 150ms;
  flex-shrink: 0;
}
.popup-close:hover { color: var(--text-primary); }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
}
.lightbox-close {
  position: fixed;
  top: var(--sp-6);
  right: var(--sp-6);
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms;
}
.lightbox-close:hover { background: var(--surface-1); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 64px 0 0;
  z-index: var(--z-dropdown);
  background: rgba(13,15,20,0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  padding: var(--sp-6);
  gap: var(--sp-3);
  overflow-y: auto;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  padding: var(--sp-4) var(--sp-5);
  color: var(--text-primary);
  font-size: var(--fs-md);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  text-align: center;
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 180px 1fr; gap: var(--sp-6); }
  .content-grid { grid-template-columns: 1fr; }
  .toc-sidebar { position: static; }
  .toc-card { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-nav { grid-column: 1 / -1; order: 3; }
}

@media (max-width: 768px) {
  .header-nav, .lang-selector, .header-cta { display: none; }
  .header-mobile-cta { display: inline-flex; }
  .burger-btn { display: flex; }

  .hero { min-height: auto; padding: var(--sp-10) 0 var(--sp-12); }
  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-6); }
  .hero-left {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .game-logo-wrap { width: 100px; height: 100px; }
  .hero-cta-group { width: auto; flex: 1; min-width: 200px; }
  .hero-cta-group .btn { justify-content: center; }
  .platform-icons { width: 100%; }
  .hero-h1 { font-size: 28px; }
  .facts-table { grid-template-columns: repeat(3, 1fr); }

  .mobile-popup { display: block; }
  .demo-iframe-container { height: 420px; }
  .author-card { flex-direction: column; }

  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-logo { display: flex; justify-content: center; }
  .footer-nav { justify-content: center; }
  .footer-badges { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--sp-4); }
  .facts-table { grid-template-columns: repeat(2, 1fr); }
  .demo-cta-group { flex-direction: column; }
  .demo-cta-group .btn { width: 100%; justify-content: center; }
  .faq-question { font-size: var(--fs-base); padding: var(--sp-4) var(--sp-4); }
  .faq-answer-inner { padding: var(--sp-3) var(--sp-4) var(--sp-4); }
}