/* =========================================
   EVA 8888 CASINO — Main Stylesheet
   Dark green-black palette | Gold CTAs | Glossy cards
   ========================================= */

:root {
  --bg-deep:      #060b06;
  --bg-dark:      #0a110a;
  --bg-card:      #0f1a0f;
  --bg-sidebar:   #0c140c;
  --green-mid:    #1a3a1a;
  --green-light:  #2a5a2a;
  --green-accent: #3a7a3a;
  --gold:         #c9a84c;
  --gold-light:   #ffd679;
  --gold-dark:    #a07830;
  --gold-glow:    rgba(201,168,76,0.35);
  --text-primary: #f0ede8;
  --text-muted:   #8a9a8a;
  --text-gold:    #e8c870;
  --border:       rgba(201,168,76,0.18);
  --border-strong:rgba(201,168,76,0.4);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --header-h:     70px;
  --ticker-h:     42px;
  --sidebar-w:    230px;
  --transition:   0.3s ease;
}

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

html { scroll-behavior: smooth; }

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

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--green-mid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* =========================================
   HEADER
   ========================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(6,11,6,0.98) 0%, rgba(6,11,6,0.92) 100%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 30px rgba(0,0,0,0.6);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

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

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}

.header-spacer { flex: 1; }

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

.header-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.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: 10px; }

/* Gold CTA Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, #e8b840 0%, #c9a84c 50%, #a07830 100%);
  color: #1a0f00;
  box-shadow: 0 4px 18px rgba(201,168,76,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
  text-shadow: 0 1px 0 rgba(255,255,255,0.2);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ffd679 0%, #e8b840 50%, #c9a84c 100%);
  box-shadow: 0 6px 28px rgba(201,168,76,0.6), inset 0 1px 0 rgba(255,255,255,0.4);
  transform: translateY(-1px);
}

.btn-gold:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 12px rgba(201,168,76,0.15);
}

.btn-outline:hover {
  background: rgba(201,168,76,0.1);
  box-shadow: 0 0 20px rgba(201,168,76,0.35);
  color: var(--gold-light);
}

.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-lg { padding: 14px 36px; font-size: 1.05rem; border-radius: var(--radius-md); }

/* =========================================
   WINS TICKER
   ========================================= */
.wins-ticker {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 900;
  height: var(--ticker-h);
  background: linear-gradient(90deg, #0a1a0a, #0d200d, #0a1a0a);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-label {
  flex-shrink: 0;
  padding: 0 16px 0 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-right: 1px solid var(--border);
  height: 100%;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #0c1a0c, #0f200f);
  white-space: nowrap;
}

.ticker-icon { margin-right: 6px; font-size: 0.9rem; }

.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  height: 100%;
  position: relative;
}

.ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
  animation: ticker-scroll 40s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

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

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 28px;
  font-size: 0.82rem;
  border-right: 1px solid rgba(201,168,76,0.12);
  height: 100%;
  color: var(--text-muted);
  flex-shrink: 0;
}

.ticker-item .t-player { color: var(--text-primary); font-weight: 600; }
.ticker-item .t-game   { color: var(--text-muted); font-style: italic; }
.ticker-item .t-amount {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.88rem;
}

/* =========================================
   PAGE LAYOUT
   ========================================= */
.page-body {
  margin-top: calc(var(--header-h) + var(--ticker-h));
  display: flex;
  min-height: calc(100vh - var(--header-h) - var(--ticker-h));
}

/* =========================================
   SIDEBAR
   ========================================= */
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--ticker-h));
  height: calc(100vh - var(--header-h) - var(--ticker-h));
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  padding: 16px 0;
}

.sidebar-title {
  padding: 12px 20px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.8;
}

.sidebar-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 8px; }

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
}

.sidebar-nav a .nav-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--text-primary);
  background: linear-gradient(90deg, rgba(201,168,76,0.12), rgba(201,168,76,0.03));
}

.sidebar-nav a.active {
  color: var(--gold-light);
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}

.sidebar-nav a.active .nav-icon,
.sidebar-nav a:hover .nav-icon { opacity: 1; }

.sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 14px;
}

.sidebar-cta {
  padding: 12px 16px;
  margin: 8px 8px 0;
}

.sidebar-cta .btn-primary {
  width: 100%;
  font-size: 0.85rem;
}

/* =========================================
   MAIN CONTENT
   ========================================= */
.content-area {
  flex: 1;
  overflow-x: hidden;
}

/* Section visibility */
.page-section { display: none; }
.page-section.active { display: block; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../header-bg.webp');
  background-size: cover;
  background-position: center top;
  filter: brightness(0.65) saturate(1.2);
  transform: scale(1.02);
  transition: transform 8s ease;
}

.hero:hover .hero-bg { transform: scale(1.0); }

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6,11,6,0.2) 0%,
    rgba(6,11,6,0.1) 40%,
    rgba(6,11,6,0.85) 80%,
    rgba(6,11,6,1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 48px 56px;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(201,168,76,0.15);
  border: 1px solid var(--border-strong);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #e0d8c8 60%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(240,237,232,0.78);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  position: relative;
  z-index: 2;
  padding: 0 48px 24px;
  display: flex;
  gap: 32px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* =========================================
   SECTION HEADINGS
   ========================================= */
.section-header {
  padding: 40px 48px 24px;
}

.section-header h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.section-header h2 span { color: var(--gold); }

.section-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 640px;
}

.section-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), transparent);
  margin: 0 48px 8px;
  opacity: 0.4;
}

/* =========================================
   GAMES GRID
   ========================================= */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 18px;
  padding: 0 48px 48px;
}

/* Glossy game card */
.game-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  aspect-ratio: 3/4;
}

.game-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0,0,0,0.7), 0 0 20px var(--gold-glow);
  border-color: var(--border-strong);
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter var(--transition);
}

.game-card:hover img { filter: brightness(0.75); }

/* Glossy overlay */
.game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.08) 0%,
    transparent 50%,
    rgba(0,0,0,0.2) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.game-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), transparent);
  z-index: 1;
  pointer-events: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.game-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 12px;
  background: linear-gradient(0deg, rgba(6,11,6,0.95) 0%, transparent 100%);
  z-index: 2;
  transform: translateY(4px);
  opacity: 0;
  transition: all var(--transition);
}

.game-card:hover .game-card-info {
  transform: translateY(0);
  opacity: 1;
}

.game-card-info .game-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card-info .btn-primary {
  width: 100%;
  padding: 6px 10px;
  font-size: 0.75rem;
}

.game-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-hot  { background: linear-gradient(135deg, #e84a3a, #c0302a); color: #fff; }
.badge-new  { background: linear-gradient(135deg, #3a8ae8, #2060c0); color: #fff; }
.badge-top  { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #1a0f00; }

/* =========================================
   INFO PAGES (generic content sections)
   ========================================= */
.content-page { padding: 0 48px 60px; }

.content-page h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 40px 0 14px;
}

.content-page h2 span { color: var(--gold); }

.content-page h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
  margin: 28px 0 10px;
}

.content-page p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 14px;
  max-width: 760px;
}

.content-page ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 760px;
}

.content-page ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.content-page ul li::before {
  content: '▸';
  color: var(--gold);
  font-size: 0.75rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Info Cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.info-card {
  background: linear-gradient(145deg, var(--bg-card), #0d160d);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.info-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 16px var(--gold-glow);
  transform: translateY(-3px);
}

/* Glossy shine on cards */
.info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

.info-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60%;
  height: 45%;
  background: radial-gradient(ellipse at top left, rgba(255,255,255,0.04), transparent);
  pointer-events: none;
}

.info-card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.info-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  max-width: 100%;
}

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

.bonus-card {
  background: linear-gradient(145deg, #0f1e0f, #0c160c);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.bonus-card:hover {
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 24px rgba(201,168,76,0.2);
  transform: translateY(-4px);
}

.bonus-card-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.2), transparent 70%);
  pointer-events: none;
}

.bonus-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.bonus-amount {
  font-size: 2.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.bonus-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.bonus-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

/* =========================================
   PROMO CODE
   ========================================= */
.promo-box {
  background: linear-gradient(135deg, #0f1e0f, #131f13);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 20px 0 32px;
  max-width: 540px;
  position: relative;
  overflow: hidden;
}

.promo-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.04), transparent 60%);
}

.promo-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.promo-code-display {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,0,0,0.4);
  border: 2px dashed rgba(201,168,76,0.35);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 16px;
  position: relative;
}

.promo-code-text {
  flex: 1;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 6px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Courier New', monospace;
}

.promo-copy-btn {
  padding: 8px 16px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.promo-copy-btn:hover { background: rgba(201,168,76,0.25); }
.promo-copy-btn.copied { color: #4caf76; border-color: #4caf76; background: rgba(76,175,118,0.1); }

/* =========================================
   MOBILE SECTION — App badges etc
   ========================================= */
.mobile-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
  max-width: 760px;
}

.mobile-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: border-color var(--transition);
}

.mobile-feature:hover { border-color: var(--border-strong); }

.mobile-feature-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.mobile-feature-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.mobile-feature-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* =========================================
   STEPS (For Beginners)
   ========================================= */
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
  max-width: 680px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #1a0f00;
  flex-shrink: 0;
  box-shadow: 0 4px 16px var(--gold-glow);
}

.step-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  padding-top: 10px;
}

.step-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* =========================================
   MODALS
   ========================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: linear-gradient(145deg, #0e1a0e, #111c11);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8), 0 0 40px rgba(201,168,76,0.12);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

/* Gloss on modal top */
.modal-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.5), transparent);
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.06);
  border: none;
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.modal-close:hover { background: rgba(255,255,255,0.12); color: var(--text-primary); }

.modal-logo {
  text-align: center;
  margin-bottom: 28px;
}

.modal-logo img { height: 44px; }

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.5;
}

.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 7px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(0,0,0,0.35);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus {
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-input::placeholder { color: rgba(138,154,138,0.5); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-submit { width: 100%; margin-top: 8px; }

.modal-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.modal-footer a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.modal-footer a:hover { color: var(--gold-light); }

.form-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.form-checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
  margin-top: 1px;
  flex-shrink: 0;
}

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

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: #060b06;
  border-top: 1px solid var(--border);
  padding: 40px 48px 30px;
}

.footer-top {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-brand { max-width: 260px; }
.footer-brand img { height: 34px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; }

.footer-links h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.footer-links ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-links ul li a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-badges { display: flex; gap: 10px; align-items: center; }

.footer-badge {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* =========================================
   TABLE (for mirror section)
   ========================================= */
.data-table {
  width: 100%;
  max-width: 700px;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.88rem;
}

.data-table th {
  text-align: left;
  padding: 12px 16px;
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.data-table td {
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  vertical-align: middle;
}

.data-table tr:hover td { background: rgba(255,255,255,0.02); }

.status-ok {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4caf76;
  font-weight: 600;
}

.status-ok::before { content: '●'; font-size: 0.6rem; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  :root { --sidebar-w: 60px; }

  .sidebar-nav a span:not(.nav-icon) { display: none; }
  .sidebar-nav a { justify-content: center; padding: 12px; }
  .sidebar-nav a.active { border-left: none; border-bottom: 2px solid var(--gold); padding: 12px; }
  .sidebar-title { display: none; }
  .sidebar-cta { display: none; }

  .hero-content { padding: 32px 24px 40px; }
  .section-header { padding: 30px 24px 18px; }
  .section-divider { margin: 0 24px 8px; }
  .games-grid { padding: 0 24px 40px; }
  .content-page { padding: 0 24px 48px; }
  .site-footer { padding: 32px 24px 24px; }
  .mobile-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .header-nav { display: none; }
  .logo-text { display: none; }
  :root { --sidebar-w: 54px; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .hero h1 { font-size: 1.7rem; }
  .bonus-cards { grid-template-columns: 1fr; }
}
