/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0d0d0f;
  --bg2:       #141418;
  --bg3:       #1a1a20;
  --gold:      #f0b429;
  --gold-dim:  #c8941a;
  --text:      #e8e8ec;
  --text-muted:#8b8b9a;
  --red:       #e03a3a;
  --green:     #2ecc71;
  --border:    rgba(240,180,41,.15);
  --radius:    10px;
  --font:      'Inter', 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* =====================
   TICKER
   ===================== */
.ticker-wrap {
  background: var(--gold);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  gap: 60px;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.ticker-track span {
  font-size: 13px;
  font-weight: 600;
  color: #000;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =====================
   HEADER
   ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,15,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo img { height: 44px; width: auto; }

.main-nav {
  display: flex;
  gap: 4px;
  flex: 1;
}

.main-nav a {
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s, background .2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  background: var(--bg3);
}

.main-nav a.active { color: var(--gold); }

.header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity .2s, transform .15s;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-gold  { background: var(--gold); color: #000; }
.btn-ghost { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
.btn-lg    { padding: 13px 32px; font-size: 16px; border-radius: 10px; }

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../guest_banner.webp');
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,13,15,.90) 35%, rgba(13,13,15,.45) 70%, rgba(13,13,15,.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
  max-width: 520px;
}

.hero-title span { color: var(--gold); }

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 400px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* =====================
   PROMO PILLS
   ===================== */
.promo-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.promo-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.promo-inner::-webkit-scrollbar { display: none; }

.promo-pill {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
  white-space: nowrap;
  transition: color .2s;
}
.promo-pill:hover { color: var(--gold); }
.promo-pill .icon { font-size: 18px; }

/* =====================
   SECTION LAYOUT
   ===================== */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
}

.section-title span { color: var(--gold); }

.see-all {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  transition: color .2s, border-color .2s;
}
.see-all:hover { color: var(--gold); border-color: var(--gold); }

/* =====================
   GAME GRID
   ===================== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: transform .2s;
}
.game-card:hover { transform: translateY(-4px); }

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity .2s;
}

.game-card:hover .game-card-overlay { opacity: 1; }

.game-card-overlay .btn { padding: 8px 20px; font-size: 13px; }

.game-name {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 8px 10px 10px;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 100%);
  font-size: 12px;
  font-weight: 600;
}

/* =====================
   WINS FEED
   ===================== */
.wins-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.wins-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px;
}

.wins-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wins-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}

.wins-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}

.win-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn .35s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.win-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  font-weight: 700;
  color: var(--gold);
}

.win-info { flex: 1; min-width: 0; }

.win-player {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.win-game {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.win-amount {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

/* =====================
   CONTENT / TEXT SECTIONS
   ===================== */
.content-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.content-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 24px;
}

.content-inner h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gold);
}

.content-inner h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 8px;
}

.content-inner p {
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.75;
}

.content-inner ol {
  padding-left: 20px;
  color: var(--text-muted);
  line-height: 2;
}

.content-inner ul.dotlist {
  padding-left: 20px;
  color: var(--text-muted);
  list-style: disc;
  line-height: 2;
}

/* =====================
   BONUS CARDS
   ===================== */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.bonus-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .2s;
}
.bonus-card:hover { border-color: var(--gold-dim); }

.bonus-icon { font-size: 36px; }

.bonus-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}

.bonus-title { font-size: 18px; font-weight: 700; }
.bonus-desc  { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

.bonus-tag {
  display: inline-block;
  background: rgba(240,180,41,.12);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  align-self: flex-start;
}

/* =====================
   FAQ
   ===================== */
.faq-list { display: flex; flex-direction: column; gap: 6px; }

.faq-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .25s;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
}

.faq-item.open .faq-answer { display: block; }

/* =====================
   FOOTER
   ===================== */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 48px 24px 24px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img { height: 38px; margin-bottom: 14px; }

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col ul li a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 12px;
  color: var(--text-muted);
}

.age-badge {
  background: var(--bg3);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

/* =====================
   PAGE HERO (inner pages)
   ===================== */
.page-hero {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px;
}

.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 8px;
}
.page-hero h1 span { color: var(--gold); }

.page-hero p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 520px;
}

/* =====================
   FILTER BAR (slots page)
   ===================== */
.filter-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 24px 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

/* =====================
   LIVE TABLE CARDS
   ===================== */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.live-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, border-color .2s;
}
.live-card:hover { transform: translateY(-3px); border-color: var(--gold-dim); }

.live-thumb {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--bg);
}
.live-thumb img { width: 100%; height: 100%; object-fit: cover; }

.live-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: .06em;
}

.live-players {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,.7);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.live-info { padding: 12px 14px; }
.live-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.live-provider { font-size: 12px; color: var(--text-muted); }

/* =====================
   CONTENT LINKS (internal nav)
   ===================== */
.content-links {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.content-links__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.content-links__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
  list-style: none;
}

.content-links__list li {
  font-size: 14px;
  color: var(--text-muted);
}

.content-links__list li a {
  color: var(--gold);
  font-weight: 600;
  transition: opacity .2s;
}
.content-links__list li a:hover { opacity: .75; }

/* =====================
   CONTENT DISCLAIMER
   ===================== */
.content-disclaimer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =====================
   FAQ in SEO section
   ===================== */
.faq-seo {
  margin-top: 32px;
}

.faq-seo > h2 {
  margin-bottom: 16px;
}

/* =====================
   SCREEN READER ONLY
   ===================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .main-nav { display: none; }
}

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero-title   { font-size: 28px; }
  .games-grid   { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .wins-list    { grid-template-columns: 1fr; }
}

/* =====================
   MOBILE NAV TOGGLE
   ===================== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px 20px;
    z-index: 99;
  }
}
