/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #080c18;
  --bg2:       #0f1425;
  --bg3:       #161d33;
  --card:      #1a2140;
  --gold:      #f5c518;
  --gold2:     #e8a800;
  --orange:    #ff6b1a;
  --accent:    #7c4dff;
  --green:     #00e676;
  --text:      #e8eaf0;
  --muted:     #7a839c;
  --border:    rgba(255,255,255,0.07);
  --radius:    12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  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; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,12,24,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}

.logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav a:hover, .nav a.active {
  color: var(--gold);
  background: rgba(245,197,24,0.08);
}

.btn-play {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #000 !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-size: 14px !important;
  transition: opacity .2s, transform .15s !important;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(245,197,24,.3);
}
.btn-play:hover { opacity: .9; transform: translateY(-1px); background: rgba(0,0,0,0) !important; background: linear-gradient(135deg,var(--gold),var(--orange)) !important; }

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('guest_banner.webp') center/cover no-repeat;
  filter: brightness(.55);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,12,24,.85) 30%, transparent 80%);
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 10px;
  text-shadow: 0 2px 16px rgba(0,0,0,.6);
}

.hero h1 span {
  background: linear-gradient(90deg, var(--gold), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1rem;
  color: #b0bace;
  margin-bottom: 28px;
  max-width: 420px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 34px;
  border-radius: 50px;
  box-shadow: 0 6px 28px rgba(245,197,24,.35);
  transition: transform .15s, box-shadow .15s;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(245,197,24,.45); }
.btn-cta svg { width: 18px; height: 18px; }

/* ===== FEATURES STRIP ===== */
.features-strip {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.features-track {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.features-track:hover { animation-play-state: paused; }

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  white-space: nowrap;
  border-right: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: color .2s;
  text-decoration: none;
}
.feature-item:hover { color: var(--gold); }

.feature-item .fi { font-size: 20px; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SECTION ===== */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 22px;
  background: linear-gradient(var(--gold), var(--orange));
  border-radius: 2px;
}

.see-all {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid rgba(245,197,24,.3);
  border-radius: 20px;
  transition: background .2s;
}
.see-all:hover { background: rgba(245,197,24,.1); }

/* ===== GAMES GRID ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}

.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  display: block;
}
.game-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 12px 40px rgba(0,0,0,.5); }

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter .2s;
}
.game-card:hover img { filter: brightness(.6); }

.game-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}
.game-card:hover .game-card-overlay { opacity: 1; }

.game-play-btn {
  background: var(--gold);
  color: #000;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 6px;
}

.game-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  padding: 20px 10px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

/* ===== WINS FEED ===== */
.wins-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.wins-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
}

.wins-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.wins-live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

.wins-live-dot {
  width: 9px; height: 9px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,230,118,.4); }
  50%       { opacity: .7; box-shadow: 0 0 0 6px rgba(0,230,118,0); }
}

.wins-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.win-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px 16px;
  animation: slideIn .4s ease;
  border: 1px solid var(--border);
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.win-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}

.win-info { flex: 1; min-width: 0; }
.win-user { font-size: 13px; font-weight: 700; }
.win-game { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.win-amount {
  font-size: 15px;
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
}

.win-mult {
  font-size: 11px;
  color: var(--green);
  font-weight: 700;
}

/* ===== BONUSES CARDS ===== */
.bonuses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.bonus-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .2s, transform .2s;
}
.bonus-card:hover { border-color: rgba(245,197,24,.3); transform: translateY(-3px); }

.bonus-icon { font-size: 2.4rem; }

.bonus-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(245,197,24,.15);
  color: var(--gold);
  width: fit-content;
}

.bonus-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
}

.bonus-value {
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bonus-desc { font-size: 13px; color: var(--muted); }

.btn-bonus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #000;
  font-weight: 800;
  font-size: 13px;
  padding: 11px 22px;
  border-radius: 50px;
  transition: opacity .2s, transform .15s;
}
.btn-bonus:hover { opacity: .88; transform: translateY(-1px); }

/* ===== SEO SECTION ===== */
.seo-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.seo-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px;
}

/* Main heading */
.seo-main-heading {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text);
}

/* Content blocks */
.seo-block {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.seo-block h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gold);
}

.seo-inner p,
.seo-block p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
  max-width: 860px;
  line-height: 1.75;
}

.seo-inner p a,
.seo-block p a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(245,197,24,.35);
  text-underline-offset: 3px;
  transition: color .15s;
}
.seo-inner p a:hover,
.seo-block p a:hover { color: var(--text); }

/* Steps list */
.seo-steps {
  padding-left: 20px;
  font-size: 14px;
  color: var(--muted);
  max-width: 860px;
  margin-top: 10px;
}
.seo-steps li {
  list-style: decimal;
  margin-bottom: 6px;
  line-height: 1.65;
}

/* ===== FAQ ===== */
.seo-faq {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.seo-faq h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 860px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 10px;
  background: var(--card);
  transition: border-color .2s;
}
.faq-item:hover { border-color: rgba(245,197,24,.25); }

.faq-question {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  padding: 16px 18px;
  cursor: default;
  position: relative;
}

.faq-question::before {
  content: 'Q';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(245,197,24,.15);
  color: var(--gold);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  margin-right: 10px;
  flex-shrink: 0;
  vertical-align: middle;
}

.faq-answer {
  font-size: 13px;
  color: var(--muted);
  padding: 0 18px 16px 52px;
  line-height: 1.7;
}

/* ===== INTERNAL LINKS BLOCK ===== */
.seo-links {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.seo-links-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: 14px;
}

.seo-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-links-list li a {
  display: inline-block;
  padding: 7px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  color: var(--muted);
  transition: color .2s, border-color .2s, background .2s;
}
.seo-links-list li a:hover {
  color: var(--gold);
  border-color: rgba(245,197,24,.35);
  background: rgba(245,197,24,.06);
}

/* ===== FOOTER ===== */
.footer {
  background: #040710;
  border-top: 1px solid var(--border);
  padding: 40px 20px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-logo img { height: 38px; margin-bottom: 12px; }
.footer-desc { font-size: 13px; color: var(--muted); max-width: 300px; }

.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--gold); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col a { display: block; font-size: 13px; color: var(--muted); padding: 4px 0; transition: color .2s; }
.footer-col 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;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy { font-size: 12px; color: var(--muted); }
.footer-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
  border-bottom: 1px solid var(--border);
  padding: 48px 20px;
  text-align: center;
}

.page-hero-inner { max-width: 700px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 10px; }
.page-hero h1 span { background: linear-gradient(90deg,var(--gold),var(--orange)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero p { font-size: 15px; color: var(--muted); }

/* ===== TABS ===== */
.tabs {
  display: flex;
  gap: 8px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 24px auto 0;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
}
.tab-btn.active, .tab-btn:hover {
  background: rgba(245,197,24,.12);
  border-color: rgba(245,197,24,.4);
  color: var(--gold);
}

/* ===== LIVE TABLE ===== */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.live-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, border-color .2s;
  display: block;
}
.live-card:hover { transform: translateY(-3px); border-color: rgba(245,197,24,.3); }

.live-card-img {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg3);
  overflow: hidden;
}
.live-card-img img { width: 100%; height: 100%; object-fit: cover; }

.live-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.live-card-info { padding: 12px 14px; }
.live-card-name { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.live-card-limits { font-size: 12px; color: var(--muted); }

/* ===== HAMBURGER ===== */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .burger { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(8,12,24,.98);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 16px; font-size: 15px; }

  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .bonuses-grid { grid-template-columns: 1fr; }
  .live-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}
