/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #f5c518;
  --gold-light: #ffe566;
  --gold-dark: #c9960c;
  --accent: #ff6b35;
  --bg-dark: #070b14;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.09);
  --border: rgba(245,197,24,0.18);
  --text: #e8eaf0;
  --text-muted: #8b92a8;
  --green: #22c55e;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

/* ===== BACKGROUND ===== */
.site-bg {
  position: fixed;
  inset: 0;
  background-image: url('background.webp');
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.site-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,11,20,0.92) 0%, rgba(10,16,35,0.88) 100%);
}

/* ===== HEADER / NAV ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(7,11,20,0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 clamp(16px, 4vw, 48px);
  gap: 32px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-logo img { height: 44px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text-muted);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav a:hover, .nav a.active {
  color: var(--gold);
  background: rgba(245,197,24,0.09);
}

.nav-cta {
  margin-left: 12px;
  padding: 10px 22px !important;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
  color: #0a0e1a !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 20px rgba(245,197,24,0.35);
  transition: transform .15s, box-shadow .15s !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(245,197,24,0.5) !important;
  background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 6px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* ===== WINS TICKER ===== */
.wins-ticker {
  background: rgba(245,197,24,0.07);
  border-bottom: 1px solid rgba(245,197,24,0.12);
  padding: 6px 0;
  overflow: hidden;
  position: relative;
}
.wins-ticker::before, .wins-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}
.wins-ticker::before { left: 0; background: linear-gradient(to right, var(--bg-dark), transparent); }
.wins-ticker::after  { right: 0; background: linear-gradient(to left, var(--bg-dark), transparent); }

.wins-ticker-track {
  display: flex;
  gap: 40px;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.wins-ticker-track:hover { animation-play-state: paused; }

.wins-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
}
.wins-item .wi-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #000;
}
.wins-item .wi-name { color: var(--text-muted); }
.wins-item .wi-game { color: var(--text); font-weight: 600; }
.wins-item .wi-amount { color: var(--green); font-weight: 700; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== HERO ===== */
.hero {
  padding: clamp(60px, 10vw, 120px) clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - var(--nav-h) - 38px);
  position: relative;
}
.hero-content { flex: 1; max-width: 640px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,197,24,0.12);
  border: 1px solid rgba(245,197,24,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--gold), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #060a10;
  font-weight: 800;
  font-size: 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 30px rgba(245,197,24,0.4);
  transition: transform .15s, box-shadow .15s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(245,197,24,0.55);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(245,197,24,0.4);
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat { text-align: left; }
.hero-stat .num {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== SECTIONS ===== */
.section {
  padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px);
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-title {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
}
.section-title span {
  background: linear-gradient(135deg, var(--gold), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.see-all {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  border: 1px solid rgba(245,197,24,0.25);
  padding: 7px 16px;
  border-radius: 8px;
  transition: background .2s;
}
.see-all:hover { background: rgba(245,197,24,0.1); }

/* ===== GAMES GRID ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.game-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  aspect-ratio: 4/3;
}
.game-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 16px 40px rgba(245,197,24,0.2);
  border-color: rgba(245,197,24,0.5);
}
.game-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.game-card:hover img { transform: scale(1.08); }

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity .2s;
}
.game-card:hover .game-card-overlay { opacity: 1; }

.game-card-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.game-card-btn {
  display: inline-block;
  padding: 7px 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  font-size: 12px;
  font-weight: 800;
  border-radius: 7px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.game-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.game-badge.hot { background: #ef4444; }
.game-badge.new { background: var(--green); }

/* ===== PROMOS / BONUS CARDS ===== */
.promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.promo-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  opacity: 0.07;
}
.promo-card.gold::before   { background: var(--gold); }
.promo-card.purple::before { background: #a855f7; }
.promo-card.blue::before   { background: #3b82f6; }
.promo-card.green::before  { background: var(--green); }

.promo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,197,24,0.35);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}
.promo-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.promo-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.promo-amount {
  font-size: 32px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: -1px;
}
.promo-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.promo-card .btn-primary {
  padding: 12px 24px;
  font-size: 13px;
  width: 100%;
  justify-content: center;
}

/* ===== LIVE WINS SIDE FEED ===== */
.live-feed {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  max-height: 500px;
  overflow: hidden;
}
.live-feed-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.live-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 1.5s infinite;
}
.feed-list { display: flex; flex-direction: column; gap: 10px; }
.feed-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.025);
  transition: background .2s;
  animation: slideIn .4s ease;
}
.feed-item:hover { background: rgba(255,255,255,0.06); }
.feed-item .fi-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #000;
  flex-shrink: 0;
}
.feed-item .fi-info { flex: 1; min-width: 0; }
.feed-item .fi-name {
  font-size: 12px; color: var(--text-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.feed-item .fi-game {
  font-size: 13px; font-weight: 600; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.feed-item .fi-amount {
  font-size: 14px;
  font-weight: 800;
  color: var(--green);
  white-space: nowrap;
}

/* ===== FAQ ===== */
.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: 14px;
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background .2s;
  user-select: none;
  gap: 16px;
}
.faq-question:hover { background: rgba(255,255,255,0.04); }
.faq-question .fq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(245,197,24,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform .25s;
}
.faq-item.open .fq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 48px) clamp(32px, 5vw, 64px);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.page-hero p {
  font-size: clamp(14px, 2vw, 17px);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ===== LIVE CASINO ===== */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.live-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.live-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,197,24,0.4);
  box-shadow: 0 12px 36px rgba(245,197,24,0.15);
}
.live-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #111827;
  overflow: hidden;
}
.live-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.live-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 4px;
}
.live-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.2s infinite;
}
.live-players {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
}
.live-card-body { padding: 16px; }
.live-card-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.live-card-body p { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }
.live-card-body .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 10px;
  font-size: 13px;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  background: rgba(7,11,20,0.9);
  padding: clamp(32px, 5vw, 60px) clamp(16px, 4vw, 48px) 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  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-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .5s ease forwards; }

/* ===== DIVIDER ===== */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 0 clamp(16px, 4vw, 48px);
}

/* ===== SEO CONTENT ARTICLE ===== */
.seo-content {
  padding: clamp(40px, 5vw, 72px) clamp(16px, 4vw, 48px);
  max-width: 900px;
}
.seo-content h2 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800;
  margin: 40px 0 14px;
  letter-spacing: -0.3px;
}
.seo-content h2:first-of-type { margin-top: 0; }
.seo-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 8px;
}
.seo-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.seo-content a:hover { color: var(--gold-light); }

/* SEO FAQ block */
.seo-faq { margin-top: 48px; }
.seo-faq-title {
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 800;
  margin-bottom: 20px;
}

/* Internal links nav */
.internal-links {
  margin-top: 48px;
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.internal-links-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.internal-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.internal-links-list li a {
  display: inline-block;
  padding: 7px 16px;
  background: rgba(245,197,24,0.07);
  border: 1px solid rgba(245,197,24,0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: background .2s, border-color .2s, color .2s;
  text-decoration: none;
}
.internal-links-list li a:hover {
  background: rgba(245,197,24,0.15);
  border-color: rgba(245,197,24,0.45);
  color: var(--gold);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(7,11,20,0.97); border-bottom: 1px solid var(--border); padding: 16px;
    backdrop-filter: blur(18px); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 16px; font-size: 15px; }
  .nav-cta { margin-left: 0; }
  .burger { display: flex; }
  .hero { flex-direction: column; text-align: center; min-height: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .footer-top { grid-template-columns: 1fr; }
}
