/* ==========================================
   KUSH CASINO — GLOBAL STYLES
   ========================================== */
:root {
  --bg-dark: #0d0d1a;
  --bg-card: #161628;
  --bg-card2: #1e1e35;
  --accent: #f0b429;
  --accent2: #ff5c00;
  --purple: #7c3aed;
  --purple-light: #a855f7;
  --text: #e8e8f0;
  --text-muted: #8888aa;
  --green: #22c55e;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, 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%; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ==========================================
   HEADER
   ========================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,26,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124,58,237,.25);
  padding: 0 20px;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all .2s;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  background: rgba(124,58,237,.2);
  color: var(--text);
}

.nav a.active { color: var(--accent); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--accent2), #ff8c00);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 0 18px rgba(255,92,0,.4);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(255,92,0,.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.4);
  color: var(--text);
  font-weight: 600;
  font-size: .9rem;
  padding: 9px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(124,58,237,.3);
  border-color: var(--purple-light);
}

/* ── BURGER ── */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* ==========================================
   MARQUEE STRIP
   ========================================== */
.marquee-strip {
  background: linear-gradient(90deg, var(--purple) 0%, #4f1fbf 100%);
  overflow: hidden;
  padding: 10px 0;
}

.marquee-track {
  display: flex;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  color: #fff;
}

.marquee-item .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================
   HERO BANNER
   ========================================== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a0533 0%, #0d0d1a 60%);
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .35;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,13,26,.9) 40%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240,180,41,.15);
  border: 1px solid rgba(240,180,41,.4);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  width: max-content;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  max-width: 560px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
  font-size: .82rem;
  padding: 5px 12px;
  border-radius: 20px;
}

.chip .icon { font-size: 1rem; }

/* ==========================================
   SECTION
   ========================================== */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 20px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
  flex-wrap: wrap;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 1.4rem;
  background: var(--accent);
  border-radius: 2px;
}

.see-all {
  font-size: .85rem;
  color: var(--purple-light);
  font-weight: 600;
  border: 1px solid rgba(168,85,247,.3);
  padding: 6px 14px;
  border-radius: 20px;
  transition: all .2s;
}

.see-all:hover {
  background: rgba(168,85,247,.1);
  border-color: var(--purple-light);
}

/* ==========================================
   GAMES 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;
  background: var(--bg-card);
  transition: transform .2s, box-shadow .2s;
  border: 1px solid rgba(255,255,255,.06);
}

.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(124,58,237,.4);
  border-color: rgba(124,58,237,.4);
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity .2s;
}

.game-card:hover .game-card-overlay { opacity: 1; }

.game-play-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent2), #ff8c00);
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  text-align: center;
  padding: 8px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.game-card-label {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent);
  color: #000;
  font-size: .65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ==========================================
   LIVE WINS TICKER
   ========================================== */
.wins-section {
  background: var(--bg-card);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
}

.wins-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.wins-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.wins-title {
  font-size: 1rem;
  font-weight: 700;
}

.live-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.wins-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.win-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card2);
  border-radius: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.05);
  animation: slideIn .4s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

.win-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  flex-shrink: 0;
  color: #fff;
}

.win-info { flex: 1; min-width: 0; }

.win-name {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.win-game {
  font-size: .75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.win-amount {
  font-size: 1rem;
  font-weight: 800;
  color: var(--green);
  flex-shrink: 0;
}

.win-time {
  font-size: .72rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ==========================================
   FEATURES CARDS
   ========================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .2s, box-shadow .2s;
}

.feature-card:hover {
  border-color: rgba(124,58,237,.4);
  box-shadow: 0 0 20px rgba(124,58,237,.15);
}

.feature-icon {
  font-size: 2rem;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
}

.feature-text {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================
   BONUS CARDS
   ========================================== */
.bonus-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.bonus-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.bonus-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}

.bonus-card-head {
  background: linear-gradient(135deg, #2d1b69 0%, #1a0533 100%);
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bonus-card-head::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at 50% 0%, rgba(240,180,41,.2) 0%, transparent 70%);
}

.bonus-amount {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.bonus-label {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  position: relative;
}

.bonus-card-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bonus-name {
  font-size: 1.05rem;
  font-weight: 700;
}

.bonus-desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.bonus-terms {
  font-size: .75rem;
  color: var(--text-muted);
  opacity: .7;
}

/* ==========================================
   FAQ
   ========================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text);
  font-size: .95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background .2s;
}

.faq-q:hover { background: rgba(255,255,255,.04); }

.faq-arrow {
  font-size: .75rem;
  transition: transform .25s;
  flex-shrink: 0;
  color: var(--purple-light);
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s;
  padding: 0 22px;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
}

.faq-item.open .faq-a {
  max-height: 600px;
  padding: 0 22px 18px;
}

/* ==========================================
   LIVE SECTION
   ========================================== */
.live-table {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
}

.live-table-head {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(124,58,237,.15);
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.live-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,.05);
  align-items: center;
  font-size: .88rem;
  transition: background .15s;
  animation: slideIn .3s ease;
}

.live-row:hover { background: rgba(255,255,255,.03); }

.live-row .player {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-row .avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.win-positive { color: var(--green); font-weight: 700; }
.win-negative { color: #f87171; }

/* ==========================================
   APP BANNER
   ========================================== */
.app-banner {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.app-banner::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(124,58,237,.2) 0%, transparent 70%);
}

.app-banner-text { flex: 1; }

.app-banner-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.app-banner-sub {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.app-banner-icon {
  font-size: 5rem;
  flex-shrink: 0;
}

/* ==========================================
   SEO TEXT
   ========================================== */
.seo-section {
  background: var(--bg-card);
  border-top: 1px solid rgba(255,255,255,.06);
}

.seo-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 20px;
}

.seo-inner h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.seo-inner h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--accent);
}

.seo-inner p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.seo-inner ol, .seo-inner ul {
  padding-left: 1.4em;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================
   SEO TEXT BLOCKS
   ========================================== */
.seo-subsection { margin-top: 32px; }

.seo-link {
  color: var(--purple-light);
  text-decoration: underline;
  text-decoration-color: rgba(168,85,247,.4);
  transition: color .2s;
}

.seo-link:hover { color: var(--accent); }

.seo-faq { margin-top: 40px; }

.seo-faq h2,
.seo-nav h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.seo-nav { margin-top: 40px; }

.seo-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.seo-nav-list a {
  font-size: .9rem;
  color: var(--purple-light);
  text-decoration: underline;
  text-decoration-color: rgba(168,85,247,.3);
  transition: color .2s;
}

.seo-nav-list a:hover { color: var(--accent); }

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: #080812;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 40px 20px 24px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-brand p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 12px;
}

.footer-logo img { height: 38px; }

.footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: .88rem;
  color: var(--text-muted);
  transition: color .2s;
}

.footer-col ul a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: .8rem;
  color: var(--text-muted);
}

.footer-18 {
  background: rgba(255,255,255,.1);
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}

.footer-badges {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ==========================================
   PAGE HERO (inner pages)
   ========================================== */
.page-hero {
  background: linear-gradient(135deg, #1a0533 0%, #0d0d1a 100%);
  padding: 48px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.page-hero-inner {
  max-width: 680px;
  margin: 0 auto;
}

.page-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.page-hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================
   TABS
   ========================================== */
.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tab {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
}

.tab.active, .tab:hover {
  background: rgba(124,58,237,.2);
  border-color: var(--purple);
  color: var(--text);
}

.tab.active { color: var(--accent); border-color: var(--accent); background: rgba(240,180,41,.1); }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: fixed; inset: 64px 0 0 0; background: var(--bg-dark); z-index: 99; padding: 20px; gap: 4px; }
  .nav.open a { padding: 14px 16px; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.06); }
  .burger { display: flex; }
  .header-cta .btn-secondary { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .live-table-head, .live-row { grid-template-columns: 2fr 1.5fr 1fr; }
  .live-table-head > *:last-child, .live-row > *:last-child { display: none; }
  .app-banner { flex-direction: column; text-align: center; }
  .app-banner-icon { display: none; }
  .hero-actions { gap: 8px; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}
