@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Unbounded:wght@700;900&display=swap");

/* ── Tokens ───────────────────────────────────────────── */
:root {
  color-scheme: dark;
  --bg:           #080610;
  --surface:      #0f0d1f;
  --card:         rgba(18, 15, 38, 0.88);
  --card-hover:   rgba(28, 24, 56, 0.95);
  --accent:       #e85d04;
  --accent-glow:  rgba(232, 93, 4, 0.32);
  --accent-2:     #ffd60a;
  --accent-2-dim: rgba(255, 214, 10, 0.15);
  --purple:       #7b5ea7;
  --purple-glow:  rgba(123, 94, 167, 0.25);
  --text:         #f0eeff;
  --muted:        rgba(240, 238, 255, 0.55);
  --border:       rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 255, 255, 0.18);
  --radius-sm:    12px;
  --radius-md:    20px;
  --radius-lg:    28px;
  --radius-xl:    40px;
  --transition:   0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", "Arial", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* ── Background ───────────────────────────────────────── */
.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(123, 94, 167, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(232, 93, 4, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, rgba(8, 6, 16, 0.97) 0%, rgba(8, 6, 16, 0.85) 100%),
    url("background.webp") center / cover no-repeat;
  z-index: -1;
}

/* ── Layout ───────────────────────────────────────────── */
.container {
  width: min(1220px, 92%);
  margin: 0 auto;
}

/* ── HEADER ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(8, 6, 16, 0.72);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
}

.logo { flex-shrink: 0; }
.logo img { height: 44px; transition: opacity var(--transition); }
.logo img:hover { opacity: 0.85; }

.main-nav {
  display: flex;
  gap: 4px;
  font-weight: 600;
  font-size: 0.92rem;
  margin-right: auto;
}

.main-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-xl);
  color: var(--muted);
  transition: color var(--transition), background var(--transition);
}

.main-nav a:hover { color: var(--text); background: rgba(255,255,255,0.06); }

.main-nav a.active {
  color: var(--accent-2);
  background: rgba(255, 214, 10, 0.1);
}

.header-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-xl);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.btn.primary {
  background: linear-gradient(120deg, #e85d04, #ff9a3c);
  color: #1a0700;
  box-shadow: 0 0 0 0 var(--accent-glow);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow), 0 0 0 0 transparent;
}

.btn.primary:active { transform: translateY(0); }

.btn.ghost {
  border-color: var(--border-bright);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

.btn.ghost:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.3);
}

/* ── HERO ─────────────────────────────────────────────── */
.hero { padding: 88px 0 68px; }
.hero.compact { padding: 52px 0 48px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent-2);
  background: var(--accent-2-dim);
  padding: 5px 12px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,214,10,0.22);
  margin-bottom: 20px;
}

.hero-copy h1 {
  font-family: "Unbounded", "Inter", sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(130deg, #ffffff 20%, #d4c8ff 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.hero-stats > div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats span { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.hero-stats small { font-size: 0.78rem; color: var(--muted); }

/* ── WINS CARD ────────────────────────────────────────── */
.hero-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}

.hero-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-card h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.live-wins { display: grid; gap: 10px; margin-bottom: 18px; }

.win-item {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 3px;
  animation: win-in 0.4s ease;
}

@keyframes win-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.win-item .win-name { font-weight: 600; font-size: 0.9rem; }
.win-item .win-name strong { color: var(--accent-2); }
.win-item .win-meta { font-size: 0.78rem; color: var(--muted); }
.win-item .win-amount { font-weight: 700; color: #4ade80; font-size: 0.9rem; }

/* ── SECTIONS ─────────────────────────────────────────── */
.section { padding: 72px 0; }
.section.accent { background: rgba(123, 94, 167, 0.06); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.section-head h2,
.section-title h2 {
  font-family: "Unbounded", "Inter", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
  position: relative;
  padding-bottom: 14px;
}

.section-head h2::after,
.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.section-title { margin-bottom: 40px; }
.section-title p { color: var(--muted); margin-top: 10px; }
.section-actions { margin-top: 36px; text-align: center; }

/* ── GAME GRID ────────────────────────────────────────── */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}

.game-grid.large {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.game-card {
  background: var(--card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  border-color: rgba(232, 93, 4, 0.4);
}

.game-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.game-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.game-card:hover .game-card-img img { transform: scale(1.07); }

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,6,16,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
  opacity: 0;
  transition: opacity var(--transition);
}

.game-card:hover .game-card-overlay { opacity: 1; }

.game-card-overlay .play-btn {
  background: linear-gradient(120deg, #e85d04, #ff9a3c);
  color: #1a0700;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  cursor: pointer;
}

.game-card-body { padding: 14px 16px 16px; }
.game-card-body h4 { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.game-card-body p { color: var(--muted); font-size: 0.82rem; }

/* ── PERKS GRID ───────────────────────────────────────── */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.perk-card {
  background: var(--card);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: border-color var(--transition), transform var(--transition);
}

.perk-card:hover { border-color: var(--border-bright); transform: translateY(-2px); }

.perk-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-2-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.perk-card h3 { font-weight: 700; margin-bottom: 8px; font-size: 1rem; }
.perk-card p  { color: var(--muted); font-size: 0.9rem; }

/* ── INFO CARDS ───────────────────────────────────────── */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

.info-card {
  background: var(--card);
  padding: 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  display: block;
}

a.info-card:hover {
  border-color: rgba(232, 93, 4, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  color: var(--accent-2);
}

.info-card h2 {
  font-family: "Unbounded", "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
}

.info-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* ── BONUS CARDS ──────────────────────────────────────── */
.bonus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

.bonus-card {
  background: var(--card);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.bonus-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.bonus-card:hover { border-color: rgba(232, 93, 4, 0.4); transform: translateY(-3px); }

.bonus-card > span {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  background: rgba(232, 93, 4, 0.15);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  border: 1px solid rgba(232,93,4,0.2);
}

.bonus-card h3 { font-weight: 800; font-size: 1.3rem; margin-bottom: 10px; }
.bonus-card p  { color: var(--muted); font-size: 0.88rem; }

/* ── FAQ ITEMS ────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }

.faq-item {
  background: var(--card);
  padding: 22px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}

.faq-item:hover { border-color: var(--border-bright); }

.faq-item h3 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--text);
}

.faq-item p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; }

/* ── LIVE SECTION ─────────────────────────────────────── */
.live-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

.live-card {
  background: linear-gradient(135deg, rgba(18,15,38,0.9), rgba(30,20,60,0.9));
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.live-card::after {
  content: "LIVE";
  position: absolute;
  top: 16px; right: 16px;
  background: #e53e3e;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 6px;
}

.live-card:hover { border-color: rgba(123, 94, 167, 0.5); transform: translateY(-3px); }
.live-card h3 { font-weight: 700; margin-bottom: 10px; }
.live-card p  { color: var(--muted); font-size: 0.88rem; }

/* ── FOOTER ───────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 36px;
  background: var(--surface);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.footer-brand img { height: 38px; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; max-width: 320px; line-height: 1.7; }

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  padding: 5px 0;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--accent-2); }
.footer-col p { color: var(--muted); font-size: 0.9rem; margin: 5px 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p { color: var(--muted); font-size: 0.82rem; }

/* ── SECTION TITLE CENTERED ──────────────────────────── */
.section-title-center {
  text-align: center;
  margin-bottom: 48px;
}

.section-title-center h2 {
  font-family: "Unbounded", "Inter", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 900;
  margin-bottom: 10px;
}

.section-title-center p { color: var(--muted); }

/* ── NAV LINK-GRID ────────────────────────────────────── */
nav.section .info-grid { margin-top: 0; }
nav.section { padding: 40px 0; }

/* ── MISC UTILITY ─────────────────────────────────────── */
.text-muted { color: var(--muted); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }

/* ── SCROLLBAR ────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; gap: 16px; }
  .main-nav { order: 3; width: 100%; gap: 4px; flex-wrap: wrap; }
  .header-actions { margin-left: auto; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 52px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .header-actions { width: 100%; flex-direction: row; }
  .header-actions .btn { flex: 1; justify-content: center; }
  .game-grid { grid-template-columns: 1fr 1fr; }
  .game-grid.large { grid-template-columns: 1fr 1fr; }
}
