/* ========================================
   EVA CASINO - Main Stylesheet
   ======================================== */

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

:root {
  --bg-dark: #0b0c1a;
  --bg-card: #131428;
  --bg-nav: #0f1023;
  --accent-pink: #e8186d;
  --accent-pink-light: #ff3d8a;
  --accent-gold: #f5c842;
  --accent-purple: #6b3fa0;
  --accent-purple-light: #9b5de5;
  --text-primary: #ffffff;
  --text-secondary: #a0a5c0;
  --text-muted: #6b7099;
  --border: rgba(255,255,255,0.07);
  --radius: 12px;
  --radius-lg: 18px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

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

/* ========================================
   HEADER
   ======================================== */
.header {
  position: relative;
  background: transparent;
  min-height: 90px;
  z-index: 100;
}

.header::after {
  display: none;
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 90px;
  gap: 20px;
}

.header-logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(232,24,109,0.5));
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.07);
}

.header-nav a.active {
  color: var(--accent-pink-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff;
}
.btn-outline:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink-light);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-pink) 0%, #c0054d 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(232,24,109,0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-pink-light) 0%, var(--accent-pink) 100%);
  box-shadow: 0 6px 24px rgba(232,24,109,0.55);
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, #f5c842 0%, #d4860a 100%);
  color: #1a0e00;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(245,200,66,0.35);
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(245,200,66,0.55);
}

.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 10px; }

/* ========================================
   MOBILE NAV TOGGLE
   ======================================== */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

/* ========================================
   BOTTOM NAV (Mobile)
   ======================================== */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  z-index: 200;
  padding: 8px 0 env(safe-area-inset-bottom);
}
.bottom-nav-inner {
  display: flex;
  justify-content: space-around;
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 8px;
  transition: color var(--transition);
}
.bottom-nav a svg { width: 22px; height: 22px; }
.bottom-nav a.active,
.bottom-nav a:hover { color: var(--accent-pink); }

/* ========================================
   WINS TICKER
   ======================================== */
.wins-ticker {
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.wins-ticker-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.wins-ticker-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-gold);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wins-ticker-label::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.wins-ticker-scroll {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.wins-ticker-track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 35s linear infinite;
  will-change: transform;
}

.wins-ticker-track:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.win-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  white-space: nowrap;
  font-size: 13px;
  color: var(--text-secondary);
  border-right: 1px solid var(--border);
}

.win-item-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}

.win-item-amount {
  color: var(--accent-gold);
  font-weight: 700;
}

.win-item-game {
  color: var(--text-muted);
  font-size: 11px;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  padding: 60px 20px 80px;
  text-align: center;
  position: relative;
  background-image: url('header-bg.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,12,26,0.45) 0%, rgba(11,12,26,0.88) 100%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, var(--accent-gold) 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(14px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   FEATURES ROW
   ======================================== */
.features {
  display: flex;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto 60px;
  padding: 0 20px;
  flex-wrap: wrap;
}

.feature-card {
  flex: 1;
  min-width: 180px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232,24,109,0.4);
}

.feature-card-icon {
  width: 52px; height: 52px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, rgba(232,24,109,0.15), rgba(155,93,229,0.15));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}

.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========================================
   SECTION COMMON
   ======================================== */
.section {
  max-width: 1280px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 28px;
  background: linear-gradient(180deg, var(--accent-pink), var(--accent-purple));
  border-radius: 2px;
}

.section-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 7px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.tab-btn:hover,
.tab-btn.active {
  background: var(--accent-pink);
  border-color: var(--accent-pink);
  color: #fff;
}

/* ========================================
   GAMES GRID
   ======================================== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 14px;
}

.game-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  position: relative;
  group: true;
}

.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  border-color: rgba(232,24,109,0.4);
  z-index: 2;
}

.game-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.game-card-name {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.game-card-play {
  background: var(--accent-pink);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
  width: 100%;
  transition: background var(--transition);
}
.game-card-play:hover { background: var(--accent-pink-light); }

.game-card-info {
  padding: 10px 12px;
}

.game-card-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card-provider {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ========================================
   LIVE WINS BLOCK
   ======================================== */
.live-wins-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 60px;
}

.live-wins-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  overflow: hidden;
}

.live-win-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  border: 1px solid var(--border);
  animation: slideInRow 0.4s ease;
}

@keyframes slideInRow {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.lwr-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
}

.lwr-name { font-size: 14px; font-weight: 600; flex: 1; }

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

.lwr-amount {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent-gold);
  white-space: nowrap;
}

.lwr-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lwr-badge.big { background: rgba(245,200,66,0.15); color: var(--accent-gold); }
.lwr-badge.mega { background: rgba(232,24,109,0.15); color: var(--accent-pink-light); }

/* ========================================
   APK BANNER
   ======================================== */
.apk-banner {
  background: linear-gradient(135deg, #1a1040 0%, #2d0e52 50%, #1a0830 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(155,93,229,0.3);
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
  padding-left: 20px;
  padding-right: 20px;
}
.apk-banner { padding: 40px; }

.apk-text h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 8px;
}

.apk-text p {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 400px;
  line-height: 1.6;
}

.apk-badges {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.apk-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--text-secondary);
  display: flex; align-items: center; gap: 6px;
}

/* ========================================
   SEO TEXT
   ======================================== */
.seo-section {
  max-width: 1280px;
  margin: 0 auto 60px;
  padding: 0 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 40px;
}

.seo-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent-gold);
}

.seo-section h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 10px;
  color: #fff;
}

.seo-section p, .seo-section li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.seo-section ol, .seo-section ul {
  padding-left: 20px;
  margin-top: 8px;
}

.seo-section li { margin-bottom: 6px; }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  padding: 40px 20px 80px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 8px rgba(232,24,109,0.3));
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent-pink-light); }

.footer-bottom {
  max-width: 1280px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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

.footer-age {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--text-muted);
}

/* ========================================
   PAGE HERO (inner pages)
   ======================================== */
.page-hero {
  text-align: center;
  padding: 70px 20px 50px;
  max-width: 100%;
  margin: 0;
  position: relative;
  background-image: url('header-bg.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,12,26,0.45) 0%, rgba(11,12,26,0.88) 100%);
  pointer-events: none;
}

.page-hero > * {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero h1 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff, var(--accent-pink-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   BONUSES PAGE
   ======================================== */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.bonus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  border-color: rgba(232,24,109,0.35);
}

.bonus-card-header {
  padding: 28px 24px 20px;
  background: linear-gradient(135deg, rgba(232,24,109,0.15), rgba(107,63,160,0.15));
  text-align: center;
}

.bonus-card-icon { font-size: 48px; margin-bottom: 12px; }
.bonus-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-pink-light);
  background: rgba(232,24,109,0.12);
  border: 1px solid rgba(232,24,109,0.25);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.bonus-card-amount {
  font-size: 36px;
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 4px;
}
.bonus-card-title {
  font-size: 16px;
  font-weight: 600;
}

.bonus-card-body {
  padding: 20px 24px;
}

.bonus-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.bonus-terms {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.bonus-term {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.bonus-term-label { color: var(--text-muted); }
.bonus-term-value { font-weight: 600; color: var(--text-primary); }

/* ========================================
   FAQ PAGE
   ======================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  user-select: none;
  transition: color var(--transition);
  gap: 16px;
}

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

.faq-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  background: rgba(232,24,109,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--accent-pink);
  transition: transform var(--transition), background var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-pink);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

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

/* ========================================
   LIVE PAGE
   ======================================== */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.live-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition);
}

.live-card:hover { transform: translateY(-4px); border-color: rgba(232,24,109,0.4); }

.live-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: linear-gradient(135deg, #1a1040, #2d0e52);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  min-height: 140px;
}

.live-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex; align-items: center; gap: 4px;
}

.live-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1s infinite;
}

.live-card-info { padding: 14px 16px; }
.live-card-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.live-card-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.live-card-players {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-secondary);
  margin-bottom: 12px;
}

/* ========================================
   SLOTS PAGE
   ======================================== */
.slots-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  align-items: center;
}

.search-input {
  flex: 1;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus { border-color: var(--accent-pink); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .burger { display: flex; }
  .bottom-nav { display: block; }

  .footer-inner { grid-template-columns: 1fr; gap: 24px; }

  .games-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }

  .hero { padding: 40px 16px 60px; }

  .apk-banner { padding: 24px; }

  body { padding-bottom: 70px; }

  .features { gap: 8px; }
  .feature-card { min-width: 150px; }
}

@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .header-actions .btn-outline { display: none; }
  .seo-section { padding: 24px 16px; }
}

/* ========================================
   MOBILE NAV OVERLAY
   ======================================== */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 150;
}

.mobile-nav-panel {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 280px; height: 100%;
  background: var(--bg-nav);
  border-right: 1px solid var(--border);
  z-index: 160;
  padding: 20px;
  overflow-y: auto;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-panel.open {
  display: flex;
}
.mobile-nav-overlay.open {
  display: block;
}

.mobile-nav-panel .logo-wrap { margin-bottom: 24px; }
.mobile-nav-panel .logo-wrap img { height: 40px; }

.mobile-nav-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.mobile-nav-panel a:hover,
.mobile-nav-panel a.active {
  background: rgba(255,255,255,0.07);
  color: #fff;
}

.mobile-nav-panel a.active { color: var(--accent-pink-light); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(232,24,109,0.4); }
