:root {
  --gold: #ffd700;
  --gold-light: #ffe866;
  --gold-dark: #c9a900;
  --dark: #0d0820;
  --dark2: #120b2e;
  --dark3: #1a1040;
  --accent: #ff4500;
  --accent2: #ff8c00;
  --text: #e8e0f5;
  --text-muted: #9d93ba;
  --card-bg: rgba(255,255,255,0.04);
  --radius: 16px;
}

*, *::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(--dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* ─── BG ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(255,215,0,.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 90%, rgba(255,69,0,.06) 0%, transparent 60%),
    linear-gradient(160deg, #0d0820 0%, #120b2e 50%, #0d0820 100%);
  z-index: -1;
}

/* ─── HEADER ─── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,8,32,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,215,0,.15);
  padding: 0 5vw;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1280px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.logo-icon { width: 44px; height: 44px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text span:first-child {
  font-size: 1.2rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: .5px;
}
.logo-text span:last-child {
  font-size: .7rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}
nav { display: flex; align-items: center; gap: 28px; }
nav a { font-size: .9rem; color: var(--text-muted); transition: color .2s; font-weight: 500; }
nav a:hover { color: var(--gold); }
.btn-header {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0d0820 !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .5px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(255,215,0,.25);
}
.btn-header:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(255,215,0,.4); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/motorcasino.jpg') center/cover no-repeat;
  filter: brightness(.45) saturate(1.2);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,8,32,.9) 0%, rgba(13,8,32,.4) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 5vw;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,215,0,.12);
  border: 1px solid rgba(255,215,0,.3);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-badge::before { content: '🔥'; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  max-width: 620px;
  margin-bottom: 20px;
}
.hero h1 span {
  background: linear-gradient(90deg, var(--gold), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.65;
  margin-bottom: 36px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #0d0820;
  padding: 15px 34px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .5px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 30px rgba(255,140,0,.4);
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 40px rgba(255,140,0,.55); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gold);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid rgba(255,215,0,.5);
  transition: all .2s;
  cursor: pointer;
}
.btn-secondary:hover { background: rgba(255,215,0,.08); border-color: var(--gold); }

/* ─── STATS ─── */
.stats {
  background: rgba(255,215,0,.04);
  border-top: 1px solid rgba(255,215,0,.08);
  border-bottom: 1px solid rgba(255,215,0,.08);
}
.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 5vw;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item p { font-size: .85rem; color: var(--text-muted); margin-top: 4px; }

/* ─── SECTIONS ─── */
section { padding: 80px 5vw; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 12px; }
.section-header h2 span {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p { color: var(--text-muted); font-size: 1rem; max-width: 560px; margin: 0 auto; line-height: 1.6; }

/* ─── GAME CARDS ─── */
.games-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.game-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,215,0,.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  cursor: pointer;
}
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(255,215,0,.15);
  border-color: rgba(255,215,0,.35);
}
.game-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #1a1040, #2a1060);
}
.game-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, #1a1040, #2a1060);
}
.game-card-body { padding: 18px 20px 20px; }
.game-card-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255,215,0,.1);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 8px;
}
.game-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.game-card p { font-size: .83rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 16px; }
.btn-card {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0d0820;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .85rem;
  transition: opacity .2s, transform .2s;
}
.btn-card:hover { opacity: .9; transform: scale(1.02); }

/* ─── ABOUT ─── */
.about { background: rgba(255,255,255,.02); }
.about-inner { max-width: 860px; margin: 0 auto; }
.about-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-inner p { font-size: .98rem; line-height: 1.85; color: #c8bfe0; margin-bottom: 18px; }
.about-inner strong { color: var(--gold); font-weight: 700; }

/* ─── BONUSES ─── */
.bonuses-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.bonus-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,215,0,.1);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: transform .3s, border-color .3s;
}
.bonus-card:hover { transform: translateY(-5px); border-color: rgba(255,215,0,.3); }
.bonus-icon { font-size: 3rem; margin-bottom: 16px; }
.bonus-amount {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.bonus-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.bonus-card p { font-size: .83rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 22px; }

/* ─── FAQ ─── */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid rgba(255,215,0,.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item:hover { border-color: rgba(255,215,0,.25); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: .98rem;
  user-select: none;
  gap: 12px;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .25s;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s;
  padding: 0 24px;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }

/* ─── CTA ─── */
.cta-block {
  background: linear-gradient(135deg, #1a0a2e 0%, #2a0a1e 50%, #1a1040 100%);
  border-top: 1px solid rgba(255,215,0,.1);
  border-bottom: 1px solid rgba(255,215,0,.1);
  text-align: center;
  padding: 80px 5vw;
}
.cta-block h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 16px; }
.cta-block h2 span {
  background: linear-gradient(90deg, var(--gold), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-block p { color: var(--text-muted); font-size: 1rem; margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ─── PROVIDERS ─── */
.provider-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 14px 22px;
  transition: background .2s, border-color .2s, transform .2s;
}
.provider-logo:hover {
  background: rgba(255,215,0,.06);
  border-color: rgba(255,215,0,.25);
  transform: scale(1.05);
}
.provider-logo img {
  max-height: 44px;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .6;
  transition: opacity .2s, filter .2s;
}
.provider-logo:hover img { opacity: 1; filter: brightness(1) saturate(1.2); }

/* ─── FOOTER ─── */
footer {
  background: rgba(0,0,0,.4);
  border-top: 1px solid rgba(255,215,0,.08);
  padding: 48px 5vw 32px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p { font-size: .83rem; color: var(--text-muted); margin-top: 14px; line-height: 1.6; }
.footer-col h4 { font-size: .85rem; font-weight: 700; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .83rem; color: var(--text-muted); transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1280px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .78rem;
  color: var(--text-muted);
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  font-weight: 800;
  font-size: .75rem;
}

/* ─── REDIRECT BAR ─── */
#redirect-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(90deg, #1a0500, #3a1000, #1a0500);
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 11px 20px;
  font-size: .93rem;
  flex-wrap: wrap;
  text-align: center;
  box-shadow: 0 2px 24px rgba(255,140,0,.25);
}
#redirect-bar .rb-text { color: #e8e0f5; }
#redirect-bar .rb-text strong { color: var(--gold); }
#redirect-bar .rb-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: #0d0820;
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
  animation: pulse-count .9s ease-in-out infinite;
}
@keyframes pulse-count {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,215,0,.5); }
  50% { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(255,215,0,0); }
}
#redirect-bar .rb-btn {
  background: linear-gradient(135deg, var(--gold), var(--accent2));
  color: #0d0820;
  font-weight: 800;
  font-size: .85rem;
  padding: 8px 20px;
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 3px 12px rgba(255,140,0,.35);
  border: none;
}
#redirect-bar .rb-btn:hover { transform: scale(1.04); box-shadow: 0 5px 18px rgba(255,140,0,.5); }
#redirect-bar .rb-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent2));
  transition: width 1s linear;
}
/* push content below the bar */
body.has-redirect-bar header { top: 52px; }

/* ─── SCROLL ANIMATION ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { min-height: 480px; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; }
}
