:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-alt: #1a1a1a;
  --text: #ffffff;
  --text-muted: #a0a0a0;
  --primary: #d4a844;
  --primary-hover: #c49838;
  --primary-text: #000000;
  --accent: #e74c3c;
  --border: rgba(255, 255, 255, 0.1);
  --radius: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font: 'Inter', system-ui, sans-serif;
  --font-heading: 'Poppins', system-ui, sans-serif;
  --max-width: 1200px;
  --nav-bg: linear-gradient(180deg, #d4a844 0%, #c49838 100%);
  --nav-text: #000000;
  --nav-active-bg: rgba(255, 255, 255, 0.4);
  --nav-active-text: #000000;
  --nav-hover-bg: rgba(255, 255, 255, 0.3);
  --nav-icon-color: #000000;
  --mobile-nav-icon-color: #ffffff;
  --chip-bg: #2a2a2a;
  --chip-text: #ffffff;
  --chip-active-bg: var(--primary);
  --chip-active-text: #000000;
  --games-bg: #0f0f0f;
  --games-surface: #1a1a1a;
  --games-text: #ffffff;
  --games-title: #ffffff;
  --games-muted: #888888;
  --games-border: rgba(255, 255, 255, 0.08);
  --games-chip-bg: var(--primary);
  --games-chip-text: #1a1a1a;
  --btn-text: #1a1a1a;
  --chip-tab-bg: #2a2a2a;
  --chip-tab-text: #ffffff;
  --chip-tab-active-bg: var(--primary);
  --chip-tab-active-text: #000000;
  --game-card-min-width: 180px;
  --game-card-gap: 16px;
  --game-card-aspect-ratio: 1;
  --game-card-object-fit: cover;
  --game-card-image-width: 100%;
  --game-card-image-height: auto;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

.game-iframe-container {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.game-iframe-container[hidden] { display: none; }

.game-iframe-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
  display: flex;
  align-items: center;
}

.game-back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface-alt);
  color: var(--text);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}

.game-back-btn:hover {
  background: var(--chip-bg);
}

.game-back-btn svg {
  width: 20px;
  height: 20px;
}

.game-iframe {
  flex: 1;
  width: 100%;
  border: none;
}

.game-iframe[hidden] { display: none; }

.game-card {
  cursor: pointer;
}

.age-bar {
  background: var(--accent);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 12px;
  position: relative;
}

.age-bar-left {
  position: absolute;
  left: 16px;
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.social-icon:hover { opacity: 1; }

.age-bar-center { text-align: center; }

.header {
  padding: 16px 20px;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; }

.logo-img {
  height: 48px;
  width: auto;
}

.header-actions {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}

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

.btn-outline:hover {
  background: rgba(212, 168, 68, 0.1);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-text);
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.nav {
  padding: 0 20px 20px;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--nav-bg);
  border-radius: var(--radius-full);
  padding: 8px;
  display: flex;
  overflow-x: auto;
  gap: 4px;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  font-size: 13px;
  font-weight: 500;
  color: var(--nav-text);
  white-space: nowrap;
  transition: background 0.2s;
}

.nav-item:hover {
  background: var(--nav-hover-bg);
}

.nav-icon {
  width: 24px;
  height: 24px;
}

.nav-icon img {
  width: 100%;
  height: 100%;
  filter: var(--nav-icon-filter, brightness(0));
}

.hero-section {
  padding: 0 20px 24px;
}

.hero-slider {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.hero-slides {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-slide {
  display: none;
  position: relative;
  min-height: 300px;
  padding: 40px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
}

.hero-slide.active { display: flex; }

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 400px;
}

.hero-eyebrow {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-subtitle {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 14px;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 16px;
}

.hero-dot {
  width: 32px;
  height: 4px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.hero-dot.active {
  background: var(--accent);
}

.games-section {
  background: var(--games-bg);
  padding: 24px 20px 40px;
}

.chips-row {
  max-width: var(--max-width);
  margin: 0 auto 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--chip-bg, var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--chip-text, var(--text));
  cursor: pointer;
  transition: all 0.2s;
}

.chip:hover {
  border-color: var(--primary);
}

.chip.active {
  background: var(--chip-active-bg);
  border-color: var(--chip-active-bg);
  color: var(--chip-active-text);
}

.chip-icon {
  width: 20px;
  height: 20px;
}

.search-box {
  max-width: 400px;
  margin: 0 auto 24px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 48px 12px 16px;
  border: 1px solid var(--games-border);
  border-radius: var(--radius-full);
  font-size: 14px;
  background: var(--games-surface);
  color: var(--games-text);
}

.search-input::placeholder { color: var(--games-muted); }

.search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px;
  color: var(--games-muted);
}

.games-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--game-card-min-width), 1fr));
  gap: var(--game-card-gap);
}

.game-card {
  background: var(--games-surface);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: block;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.game-image-wrap {
  position: relative;
  width: var(--game-card-image-width);
  height: var(--game-card-image-height);
  aspect-ratio: var(--game-card-aspect-ratio);
  overflow: hidden;
}

.game-image {
  width: 100%;
  height: 100%;
  object-fit: var(--game-card-object-fit);
  transition: transform 0.3s;
}

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

.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.game-card:hover .game-overlay { opacity: 1; }

.game-demo-btn {
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.game-demo-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.game-play-btn {
  padding: 10px 24px;
  background: var(--primary);
  color: #1a1a1a;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.game-play-btn:hover {
  transform: scale(1.05);
}

.game-info {
  padding: 12px;
}

.game-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--games-title);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--games-muted);
}

.game-provider {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-players {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.game-players-icon {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.load-more-btn {
  display: block;
  margin: 32px auto 0;
  padding: 12px 32px;
  background: var(--primary);
  color: var(--btn-text);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}

.load-more-btn:hover {
  background: var(--primary-hover);
}

.load-more-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.footer {
  background: var(--surface);
  padding: 48px 20px 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  gap: 24px;
}

.footer-links, .footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-link {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-link:hover { color: var(--text); }

.footer-nav, .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-section-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-providers, .footer-payments {
  margin-bottom: 24px;
}

.footer-providers-grid, .footer-payments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.footer-provider-icon, .footer-payment-icon {
  height: 32px;
  width: auto;
  filter: grayscale(1) brightness(0.7);
  transition: filter 0.2s;
}

.footer-provider-icon:hover, .footer-payment-icon:hover {
  filter: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-muted);
}

.home-promotions, .home-tournaments, .home-faq {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 20px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  font-family: var(--font-heading);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--primary);
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 14px;
  color: var(--text-muted);
  transition: max-height 0.3s, padding 0.3s;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 20px 16px;
}

.modal-subtitle {
  font-size: 18px;
  color: var(--primary);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

.static-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 20px;
}

.static-content {
  color: var(--text);
  line-height: 1.8;
}

.static-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--primary);
}

.static-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 16px;
}

.static-content p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.static-content ul {
  list-style: none;
  padding: 0;
}

.static-content ul li {
  padding: 8px 0;
}

.static-content ul li a {
  color: var(--primary);
  transition: opacity 0.2s;
}

.static-content ul li a:hover {
  opacity: 0.8;
}

.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  z-index: 100;
}

.cookie-bar[hidden] { display: none; }

.cookie-close {
  color: var(--text);
  font-size: 20px;
  padding: 4px;
}

.chat-fab {
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 90;
  transition: transform 0.2s;
}

.chat-fab:hover { transform: scale(1.1); }

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}

.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.modal-content {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 400px;
  color: var(--text);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--text-muted);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover { background: var(--chip-bg); }

.modal-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-input {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  transition: border-color 0.2s;
  background: var(--surface-alt);
  color: var(--text);
}

.modal-input:focus {
  outline: none;
  border-color: var(--primary);
}

.modal-input::placeholder { color: var(--text-muted); }

.modal-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.modal-checkbox input {
  margin-top: 2px;
  accent-color: var(--accent);
}

.modal-checkbox a {
  color: var(--accent);
}

.modal-submit {
  margin-top: 8px;
  padding: 14px;
  background: var(--primary);
  color: var(--chip-text);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s;
}

.modal-submit:hover { background: var(--primary-hover); }

.modal-error {
  font-size: 13px;
  color: var(--accent);
  display: none;
}

.modal-error.visible { display: block; }

.modal-links {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
}

.modal-links a {
  color: var(--accent);
  font-weight: 500;
}

.modal-forgot {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--accent);
}

.modal-bonus {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.page-section[hidden] { display: none; }

.page-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 40px;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}

.nav-item.active {
  background: var(--nav-active-bg);
  color: var(--nav-active-text);
}

.offers-grid, .tournaments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.offer-card, .tournament-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s;
}

.offer-card:hover, .tournament-card:hover {
  transform: translateY(-4px);
}

.offer-image, .tournament-image,
.offer-card-image, .tournament-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.offer-content, .tournament-content,
.offer-card-content, .tournament-card-content {
  padding: 20px;
}

.offer-title, .tournament-title,
.offer-card-title, .tournament-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.offer-desc, .tournament-desc,
.offer-card-text, .tournament-card-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.offer-btn, .tournament-btn,
.offer-card-btn, .tournament-card-btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--primary);
  color: var(--btn-text);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.offer-btn:hover, .tournament-btn:hover {
  background: var(--primary-hover);
}

.loyalty-header {
  text-align: center;
  margin-bottom: 40px;
}

.loyalty-subtitle {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  margin: 16px 0 8px;
}

.loyalty-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.loyalty-cta {
  padding: 14px 32px;
  font-size: 16px;
}

.loyalty-section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text);
}

.loyalty-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.loyalty-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.loyalty-step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--primary);
  color: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.loyalty-step-content {
  flex: 1;
}

.loyalty-step-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.loyalty-step-desc {
  font-size: 14px;
  color: var(--text-muted);
}

.hall-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hall-tab {
  padding: 10px 20px;
  background: var(--chip-tab-bg);
  color: var(--chip-tab-text);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.hall-tab:hover {
  background: var(--surface-alt);
}

.hall-tab.active {
  background: var(--chip-tab-active-bg);
  border-color: var(--chip-tab-active-bg);
  color: var(--chip-tab-active-text);
}

.hall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.hall-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  transition: transform 0.2s;
}

.hall-card:hover {
  transform: translateY(-2px);
}

.hall-card-image {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
}

.hall-card-info {
  flex: 1;
  min-width: 0;
}

.hall-card-user {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hall-card-game {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hall-card-win {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 4px;
}

.hall-load-more {
  display: block;
  margin: 0 auto;
}

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}

.burger svg { width: 24px; height: 24px; }

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 9998;
}

.mobile-nav-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: #141414;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding-top: 60px;
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s;
  text-decoration: none;
}

.mobile-nav-item:hover { background: #1a1a1a; }

.mobile-nav-item.active { color: var(--primary); }

.mobile-nav-icon { width: 24px; height: 24px; }

.mobile-nav-icon img {
  width: 100%;
  height: 100%;
  filter: var(--mobile-nav-icon-filter, brightness(0) invert(1));
}

@media (max-width: 768px) {
  .age-bar-left { display: none; }
  
  .burger { display: flex; }
  
  .header-inner { gap: 8px; }
  
  .nav { display: none; }
  
  .hero-slide { min-height: 240px; padding: 24px; }
  .hero-title { font-size: 22px; }
  
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(min(var(--game-card-min-width), 140px), 1fr)); }
  
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}
