/* ===== KUSH CASINO – GLOBAL STYLES ===== */
:root {
  --bg:        #0d0d14;
  --bg2:       #13131f;
  --bg3:       #1a1a2a;
  --card:      #1e1e2e;
  --border:    #2c2c42;
  --gold:      #f5c87a;
  --gold2:     #ffd98e;
  --gold-dim:  #c49a4a;
  --red:       #e84040;
  --green:     #34d07a;
  --text:      #e8e8f0;
  --muted:     #7a7a9a;
  --radius:    12px;
  --radius-sm: 8px;
  --transition: .22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,20,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo img { height: 38px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.main-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  background: rgba(245,200,122,.08);
}

.header-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: filter var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn:hover  { filter: brightness(1.12); transform: translateY(-1px); }
.btn:active { transform: translateY(0); filter: brightness(.95); }

.btn-gold {
  background: linear-gradient(135deg, #f5c87a 0%, #e0a040 100%);
  color: #1a0f00;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}

.btn-lg { padding: 14px 36px; font-size: 16px; border-radius: var(--radius); }

/* ─── TICKER ─── */
.promo-ticker {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 42px;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  border-right: 1px solid var(--border);
}

.ticker-item .icon { font-size: 16px; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 20px 60px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245,200,122,.15) 0%, transparent 70%),
              var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../guest_banner.webp') center/cover no-repeat;
  opacity: .18;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(245,200,122,.12);
  border: 1px solid rgba(245,200,122,.3);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}

.hero h1 span {
  background: linear-gradient(90deg, #ffd98e, #f5c87a, #e0a040);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── SECTION WRAPPER ─── */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
  flex-wrap: wrap;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.section-title .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 8px;
  vertical-align: middle;
}

.view-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  opacity: .8;
  transition: opacity var(--transition);
}
.view-all:hover { opacity: 1; }

/* ─── GAMES GRID ─── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 14px;
}

.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  aspect-ratio: 4/3;
}

.game-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.game-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.5); }
.game-card:hover img { transform: scale(1.06); }

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,18,.9) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity var(--transition);
}

.game-card:hover .game-card-overlay { opacity: 1; }

.game-card-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.game-card-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 7px;
  background: linear-gradient(135deg, #f5c87a, #e0a040);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #1a0f00;
  gap: 5px;
}

/* ─── LIVE WINS ─── */
.live-wins-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.wins-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 420px;
  overflow: hidden;
  position: relative;
}

.wins-feed::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--bg2), transparent);
  pointer-events: none;
}

.win-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 13px;
  animation: win-slide-in .4s ease;
}

@keyframes win-slide-in {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.win-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold2), var(--gold-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: #1a0f00;
  flex-shrink: 0;
}

.win-user { font-weight: 700; flex: 1; }
.win-game { color: var(--muted); font-size: 12px; }

.win-amount {
  font-weight: 800;
  font-size: 15px;
  color: var(--green);
  white-space: nowrap;
}

.win-time { color: var(--muted); font-size: 11px; white-space: nowrap; }

/* ─── INFO CARDS ─── */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color var(--transition);
}

.info-card:hover { border-color: var(--gold-dim); }

.info-card-icon { font-size: 28px; }
.info-card-title { font-weight: 800; font-size: .95rem; }
.info-card-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ─── BONUS CARDS ─── */
.bonus-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.bonus-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition);
}

.bonus-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-3px);
}

.bonus-card-head {
  background: linear-gradient(135deg, rgba(245,200,122,.15), rgba(224,160,64,.08));
  padding: 28px 24px 20px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.bonus-amount {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(90deg, #ffd98e, #e0a040);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 6px;
}

.bonus-label { font-size: 14px; color: var(--muted); font-weight: 600; }

.bonus-card-body {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bonus-features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.bonus-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
}
.bonus-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
}

/* ─── SEO TEXT ─── */
.seo-text {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px 20px;
}

.seo-text .inner {
  max-width: 900px;
  margin: 0 auto;
}

.seo-text h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--gold);
}

.seo-text h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--text);
}

.seo-text p { color: var(--muted); margin-bottom: 12px; font-size: 14px; line-height: 1.7; }

.seo-text ol, .seo-text ul {
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px 20px 24px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo img { height: 36px; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.6; }

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col li a { font-size: 13px; color: var(--muted); transition: color var(--transition); }
.footer-col li a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1280px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 12px; color: var(--muted); }

.age-badge {
  background: rgba(245,200,122,.1);
  border: 1px solid rgba(245,200,122,.25);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(245,200,122,.12), transparent 70%),
              var(--bg);
  padding: 48px 20px 36px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; margin-bottom: 10px; }
.page-hero h1 span { color: var(--gold); }
.page-hero p { color: var(--muted); font-size: 15px; max-width: 540px; margin: 0 auto 24px; }

/* ─── FILTER TABS ─── */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-tab {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245,200,122,.08);
}

/* ─── LIVE TABLE CARDS ─── */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.live-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
}

.live-card:hover { transform: translateY(-4px); border-color: var(--gold-dim); }

.live-card-img {
  aspect-ratio: 16/9;
  background: var(--bg3);
  overflow: hidden;
  position: relative;
}

.live-card-img img { width: 100%; height: 100%; object-fit: cover; }

.live-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.live-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .2; }
}

.live-card-body { padding: 14px 16px; }
.live-card-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.live-card-meta { font-size: 12px; color: var(--muted); }
.live-card-limits { font-size: 12px; color: var(--gold); margin-top: 6px; font-weight: 600; }

/* ─── SEO CONTENT BLOCKS ─── */
.seo-text section,
.seo-text article { margin-bottom: 28px; }

.seo-steps {
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 12px 0 20px;
  counter-reset: seo-step;
  list-style: none;
}

.seo-steps li {
  counter-increment: seo-step;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.seo-steps li::before {
  content: counter(seo-step);
  min-width: 22px; height: 22px;
  background: linear-gradient(135deg, #f5c87a, #e0a040);
  color: #1a0f00;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.faq-block { margin-top: 36px; }
.faq-block > h2 { margin-bottom: 16px; }

.seo-nav { margin-top: 36px; }
.seo-nav > h2 { margin-bottom: 14px; }

.seo-nav__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}

.seo-nav__list li a {
  display: block;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color var(--transition), border-color var(--transition);
}

.seo-nav__list li a:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
}

.seo-disclaimer {
  margin-top: 24px;
  padding: 14px 18px;
  background: rgba(245,200,122,.06);
  border-left: 3px solid var(--gold-dim);
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  color: var(--muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .main-nav a { padding: 8px 10px; font-size: 13px; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
  .header-inner { gap: 12px; }
}

@media (max-width: 480px) {
  .header-cta .btn-outline { display: none; }
}
