/* ============================================================
   EVA CASINO — Global Stylesheet
   ============================================================ */

:root {
  --bg-primary:   #0b0a1e;
  --bg-secondary: #13112b;
  --bg-card:      #1c1a38;
  --bg-card-h:    #242148;
  --gold:         #ffd679;
  --gold-dark:    #c9972e;
  --gold-glow:    rgba(255,214,121,.25);
  --red:          #ff4d6d;
  --text:         #ffffff;
  --text-muted:   #9891be;
  --border:       rgba(255,255,255,.07);
  --radius:       12px;
  --shadow:       0 8px 32px rgba(0,0,0,.5);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ── Utility ────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11,10,30,.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-logo img { height: 36px; }
.header-logo span {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .5px;
  background: linear-gradient(135deg, #fff 30%, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Main nav */
.main-nav { display: flex; gap: 4px; }
.main-nav a {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s, background .2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  background: rgba(255,255,255,.07);
}

/* Header actions */
.header-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.btn-outline {
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.25);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-gold {
  padding: 8px 22px;
  border-radius: 8px;
  border: none;
  font-size: .875rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold) 0%, #e5a020 100%);
  color: #0b0a1e;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  letter-spacing: .3px;
}
.btn-gold:hover { opacity: .9; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .95rem;
  color: var(--text-muted);
  transition: background .2s, color .2s;
}
.mobile-nav a:hover { background: var(--bg-card); color: var(--text); }
.mobile-nav .btn-gold,
.mobile-nav .btn-outline { width: 100%; text-align: center; margin-top: 8px; display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../header-bg.webp') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(11,10,30,.85) 0%,
    rgba(11,10,30,.55) 60%,
    rgba(11,10,30,.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255,214,121,.12);
  border: 1px solid rgba(255,214,121,.3);
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .5px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 28px;
  max-width: 460px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-lg { padding: 13px 30px; font-size: 1rem; border-radius: 10px; }

/* ============================================================
   FEATURES STRIP
   ============================================================ */
.features {
  background: var(--bg-secondary);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.features-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.features-list::-webkit-scrollbar { display: none; }
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 18px;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: .875rem;
  font-weight: 500;
  transition: border-color .2s;
}
.feature-item:hover { border-color: var(--gold); }
.feature-item .icon { font-size: 1.3rem; }

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section { padding: 50px 0; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}
.section-link {
  font-size: .85rem;
  color: var(--gold);
  font-weight: 600;
  opacity: .85;
  transition: opacity .2s;
}
.section-link:hover { opacity: 1; }

/* ============================================================
   CATEGORY TABS
   ============================================================ */
.cat-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  margin-bottom: 28px;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s, border-color .2s, color .2s;
}
.cat-tab .tab-icon { font-size: 1.4rem; }
.cat-tab:hover { background: var(--bg-card-h); color: var(--text); }
.cat-tab.active {
  background: var(--bg-card-h);
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================================
   GAMES GRID
   ============================================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.game-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .22s, box-shadow .22s, border-color .22s;
  cursor: pointer;
  position: relative;
  group: true;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.6);
  border-color: rgba(255,214,121,.3);
}
.game-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.game-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.game-card:hover .game-card-img img { transform: scale(1.06); }
.game-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,10,30,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .22s;
}
.game-card:hover .game-card-overlay { opacity: 1; }
.btn-play {
  padding: 9px 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, #e5a020 100%);
  color: #0b0a1e;
  font-weight: 700;
  font-size: .85rem;
  border: none;
  cursor: pointer;
  transition: transform .15s;
}
.btn-play:hover { transform: scale(1.05); }
.game-card-info {
  padding: 10px 12px;
}
.game-card-name {
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-card-provider {
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.game-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.badge-new { background: #2dd97a; color: #0b0a1e; }
.badge-hot { background: #ff4d6d; color: #fff; }
.badge-top { background: var(--gold); color: #0b0a1e; }

/* ============================================================
   LIVE WINS SECTION
   ============================================================ */
.wins-section {
  padding: 40px 0;
  background: var(--bg-secondary);
}
.wins-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.wins-pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,77,109,.5); }
  50% { box-shadow: 0 0 0 8px rgba(255,77,109,0); }
}
.wins-title { font-size: 1.25rem; font-weight: 700; }
.wins-feed {
  display: grid;
  gap: 10px;
}
.win-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  animation: slideInWin .4s ease-out;
}
@keyframes slideInWin {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}
.win-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5b3fa6 0%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  flex-shrink: 0;
}
.win-info { flex: 1; min-width: 0; }
.win-player { font-size: .88rem; font-weight: 600; }
.win-game { font-size: .78rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-amount {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}
.win-time { font-size: .72rem; color: var(--text-muted); flex-shrink: 0; }

/* ============================================================
   BONUSES PAGE
   ============================================================ */
.bonuses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .22s, border-color .22s;
}
.bonus-card:hover { transform: translateY(-4px); border-color: rgba(255,214,121,.35); }
.bonus-card-top {
  padding: 28px 24px 20px;
  background: linear-gradient(135deg, #1c1a38 0%, #2a1d50 100%);
  border-bottom: 1px solid var(--border);
}
.bonus-icon { font-size: 2.4rem; margin-bottom: 12px; }
.bonus-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.bonus-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
}
.bonus-sub { font-size: .8rem; color: var(--text-muted); }
.bonus-card-body { padding: 20px 24px; }
.bonus-card-body ul { list-style: none; }
.bonus-card-body li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-muted);
  padding: 5px 0;
}
.bonus-card-body li::before { content: '✓'; color: var(--gold); font-weight: 700; }
.bonus-card-body .btn-gold { width: 100%; text-align: center; display: block; margin-top: 16px; padding: 11px; border-radius: 9px; font-size: .9rem; }

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: background .2s;
}
.faq-question:hover { background: rgba(255,255,255,.03); }
.faq-chevron {
  font-size: 1rem;
  color: var(--gold);
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 22px 20px;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 60px 0 40px;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.page-hero h1 span { color: var(--gold); }
.page-hero p { color: var(--text-muted); max-width: 560px; }

/* ============================================================
   LIVE PAGE
   ============================================================ */
.live-providers {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.provider-badge {
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color .2s, color .2s;
}
.provider-badge:hover { border-color: var(--gold); color: var(--gold); }
.live-info-block {
  background: linear-gradient(135deg, #1c1a38 0%, #1f1b40 100%);
  border: 1px solid rgba(255,214,121,.15);
  border-radius: 14px;
  padding: 32px;
  margin-bottom: 40px;
}
.live-info-block h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.live-info-block p { color: var(--text-muted); line-height: 1.75; }
.live-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.live-stat {
  background: var(--bg-primary);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}
.live-stat-val { font-size: 1.5rem; font-weight: 800; color: var(--gold); }
.live-stat-label { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }

/* ============================================================
   PROMO / APP BANNER
   ============================================================ */
.app-banner {
  background: linear-gradient(135deg, #1a1635 0%, #2a1d50 100%);
  border: 1px solid rgba(255,214,121,.15);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.app-banner-text h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 8px; }
.app-banner-text p { color: var(--text-muted); font-size: .9rem; }
.app-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ============================================================
   SEO TEXT BLOCK
   ============================================================ */
.seo-block {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 50px 0;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.8;
}
.seo-block h2 { font-size: 1.4rem; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.seo-block h3 { font-size: 1.05rem; font-weight: 600; color: var(--text); margin: 24px 0 10px; }
.seo-block p { margin-bottom: 14px; }
.seo-block ol { padding-left: 20px; }
.seo-block li { margin-bottom: 6px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #080716;
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: start;
}
.footer-brand .header-logo { margin-bottom: 12px; }
.footer-brand p { font-size: .83rem; color: var(--text-muted); max-width: 280px; line-height: 1.7; }
.footer-col h4 { font-size: .85rem; font-weight: 700; margin-bottom: 14px; color: var(--text); text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: .83rem; color: var(--text-muted); transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: var(--text-muted);
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  font-weight: 800;
  font-size: .82rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .header-actions .btn-outline { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: 360px; }
  .footer-inner { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .app-banner { flex-direction: column; }
}
@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 1.6rem; }
}
