/* =============================================
   Куш Казино — Main Stylesheet
   ============================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary:      #09091a;
  --bg-secondary:    #111128;
  --bg-card:         #181838;
  --bg-card-hover:   #1e1e48;
  --bg-header:       rgba(9, 9, 26, 0.96);
  --accent-gold:     #ffc843;
  --accent-gold-h:   #ffda7a;
  --accent-purple:   #7b2fff;
  --accent-purple-h: #9650ff;
  --accent-red:      #ff3b5c;
  --accent-green:    #00c97d;
  --text-primary:    #ffffff;
  --text-secondary:  #b0b0ce;
  --text-muted:      #60608a;
  --border:          rgba(255, 255, 255, 0.07);
  --border-gold:     rgba(255, 200, 67, 0.35);
  --shadow-card:     0 4px 24px rgba(0, 0, 0, 0.45);
  --glow-purple:     0 0 24px rgba(123, 47, 255, 0.28);
  --radius-sm:       6px;
  --radius-md:       10px;
  --radius-lg:       16px;
  --radius-xl:       24px;
  --header-h:        68px;
  --container-w:     1280px;
  --tr:              0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.2rem, 3vw, 1.75rem); }
h3 { font-size: clamp(1rem, 2.5vw, 1.25rem); }

a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── Container ─────────────────────────────── */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 16px;
}

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--tr);
  white-space: nowrap;
  line-height: 1;
}

.btn-gold {
  background: linear-gradient(135deg, #ffc843 0%, #ff9f00 100%);
  color: #000;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #ffda7a 0%, #ffb830 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 200, 67, 0.45);
}

.btn-purple {
  background: linear-gradient(135deg, var(--accent-purple) 0%, #5b0fff 100%);
  color: #fff;
}
.btn-purple:hover {
  background: linear-gradient(135deg, var(--accent-purple-h) 0%, var(--accent-purple) 100%);
  transform: translateY(-1px);
  box-shadow: var(--glow-purple);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-lg { padding: 14px 32px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 7px 16px; font-size: 0.82rem; }

/* ── Badges ─────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-hot  { background: var(--accent-red);    color: #fff; }
.badge-new  { background: var(--accent-purple);  color: #fff; }
.badge-top  { background: var(--accent-gold);    color: #000; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.header-logo { flex-shrink: 0; }
.header-logo img { height: 44px; width: auto; }

.header-nav { display: flex; align-items: center; gap: 2px; }

.nav-link {
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--tr);
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.07);
}

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: var(--bg-secondary);
  z-index: 999;
  padding: 20px 16px;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { font-size: 1.05rem; padding: 12px 16px; }
.mobile-nav .btn { margin-top: 12px; text-align: center; justify-content: center; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0c0a22;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../guest_banner.webp') center / cover no-repeat;
  opacity: .3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(9,9,26,.95) 0%,
    rgba(9,9,26,.65) 55%,
    rgba(9,9,26,.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  padding: 48px 0;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,200,67,.13);
  border: 1px solid rgba(255,200,67,.28);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: .82rem;
  color: var(--accent-gold);
  margin-bottom: 18px;
}
.hero-label::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  animation: pulse 1.6s infinite;
}

.hero h1 { color: #fff; margin-bottom: 14px; }
.hero h1 em { color: var(--accent-gold); font-style: normal; }

.hero-desc {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.hero-bonus-box {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,200,67,.22);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-bottom: 28px;
  display: inline-block;
}
.hero-bonus-amount {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}
.hero-bonus-sub { color: var(--text-secondary); font-size: .88rem; margin-top: 4px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* =============================================
   BONUS BAR
   ============================================= */
.bonus-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.bonus-bar-inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 4px;
  padding: 10px 16px;
}
.bonus-bar-inner::-webkit-scrollbar { display: none; }

.bonus-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 9px 16px;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--tr);
  flex-shrink: 0;
}
.bonus-item:hover {
  background: rgba(255,200,67,.1);
  border-color: var(--border-gold);
}
.bonus-item-icon { font-size: 1.35rem; }
.bonus-item-label { font-size: .8rem; font-weight: 700; color: var(--text-primary); }
.bonus-item-sub   { font-size: .72rem; color: var(--text-secondary); }

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title h2 { font-size: 1.25rem; }
.section-icon { font-size: 1.35rem; }

.view-all { font-size: .82rem; color: var(--text-secondary); transition: color var(--tr); }
.view-all:hover { color: var(--accent-gold); }

/* =============================================
   GAMES SECTION
   ============================================= */
.games-section { padding: 36px 0; }

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
}

.game-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  aspect-ratio: 4 / 3;
  transition: transform var(--tr), box-shadow var(--tr);
}
.game-card:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 8px 28px rgba(0,0,0,.55), 0 0 0 2px var(--accent-purple);
}
.game-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.game-card:hover img { transform: scale(1.06); }

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 9px;
  opacity: 0;
  transition: opacity var(--tr);
}
.game-card:hover .game-card-overlay { opacity: 1; }

.game-card-name {
  font-size: .78rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-card-play {
  margin-top: 5px;
  background: var(--accent-gold);
  color: #000;
  border: none;
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  font-size: .74rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background var(--tr);
}
.game-card-play:hover { background: var(--accent-gold-h); }

.game-card-badge {
  position: absolute;
  top: 7px;
  left: 7px;
}

/* =============================================
   LIVE WINS
   ============================================= */
.live-wins {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.live-wins-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
}
.live-dot {
  width: 9px; height: 9px;
  background: var(--accent-red);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
.live-wins-head span {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.wins-feed {
  display: flex;
  flex-direction: column;
  max-height: 270px;
  overflow: hidden;
}

.win-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--border);
  animation: slideDown .4s ease;
  transition: background var(--tr);
}
.win-item:hover { background: rgba(255,255,255,.025); }

.win-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), #3b00cc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  flex-shrink: 0;
}
.win-info { flex: 1; min-width: 0; }
.win-player { font-size: .84rem; font-weight: 600; }
.win-game   { font-size: .73rem; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-amount { font-size: .88rem; font-weight: 700; color: var(--accent-gold); flex-shrink: 0; }

/* Win toasts */
.win-popup {
  position: fixed;
  bottom: 22px;
  left: 14px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 7px;
  pointer-events: none;
}
.win-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(22,22,50,.97), rgba(14,14,34,.97));
  border: 1px solid rgba(255,200,67,.3);
  border-radius: var(--radius-md);
  padding: 9px 13px;
  min-width: 240px;
  max-width: 300px;
  box-shadow: 0 4px 20px rgba(0,0,0,.55);
  animation: toastIn .38s ease, toastOut .38s ease 4.7s forwards;
  pointer-events: auto;
}
.win-toast-ico  { font-size: 1.3rem; flex-shrink: 0; }
.win-toast-body { flex: 1; }
.win-toast-who  { font-size: .76rem; color: var(--text-secondary); }
.win-toast-sum  { font-size: .92rem; font-weight: 700; color: var(--accent-gold); }
.win-toast-gm   { font-size: .72rem; color: var(--text-muted); }

/* =============================================
   CASINO INFO (SEO TEXT)
   ============================================= */
.casino-info { padding: 56px 0; }

.casino-info-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.info-article {}
.info-article h2 {
  margin-top: 34px;
  margin-bottom: 11px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.info-article h2:first-child { margin-top: 0; }
.info-article p {
  color: var(--text-secondary);
  margin-bottom: 11px;
  font-size: .94rem;
}
.info-article ul {
  color: var(--text-secondary);
  font-size: .94rem;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.info-article ul li {
  padding-left: 18px;
  position: relative;
}
.info-article ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: 700;
}

.info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.sidebar-widget h3 {
  font-size: .88rem;
  margin-bottom: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.widget-list { display: flex; flex-direction: column; gap: 0; }
.widget-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .84rem;
  color: var(--text-secondary);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.widget-list li:last-child { border-bottom: none; }
.widget-list li strong { color: var(--accent-gold); font-weight: 600; }

/* =============================================
   FAQ
   ============================================= */
.faq-section {
  padding: 40px 0;
  background: var(--bg-secondary);
}

.faq-list { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: .92rem;
  color: var(--text-primary);
  transition: background var(--tr);
  gap: 12px;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.faq-question:hover { background: rgba(255,255,255,.04); }

.faq-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  flex-shrink: 0;
  transition: transform var(--tr), background var(--tr);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-purple);
}
.faq-answer {
  display: none;
  padding: 0 18px 15px;
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* =============================================
   INTERNAL LINKS
   ============================================= */
.internal-links {
  padding: 30px 0;
  border-top: 1px solid var(--border);
}
.internal-links h2 {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 500;
}
.links-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .82rem;
  color: var(--text-secondary);
  transition: all var(--tr);
}
.link-pill:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(255,200,67,.07);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.footer-brand img { height: 38px; width: auto; margin-bottom: 11px; }
.footer-brand p { font-size: .82rem; color: var(--text-muted); line-height: 1.6; max-width: 270px; }

.footer-col h4 {
  font-size: .82rem;
  color: var(--text-secondary);
  margin-bottom: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 6px; }
.footer-col ul li a {
  font-size: .82rem;
  color: var(--text-muted);
  transition: color var(--tr);
}
.footer-col ul li a:hover { color: var(--text-secondary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-disclaimer { font-size: .73rem; color: var(--text-muted); max-width: 620px; line-height: 1.5; }
.age-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  color: var(--text-muted);
  font-size: .72rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* =============================================
   SUBPAGE HERO
   ============================================= */
.page-hero {
  padding: 36px 0;
  background: linear-gradient(135deg, #0b0a24 0%, #16103c 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 7px; }
.page-hero p { color: var(--text-secondary); font-size: .96rem; }

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .76rem;
  color: var(--text-muted);
  margin-bottom: 11px;
}
.breadcrumbs a { color: var(--text-muted); transition: color var(--tr); }
.breadcrumbs a:hover { color: var(--accent-gold); }
.breadcrumbs span { color: var(--text-secondary); }
.breadcrumbs .sep { opacity: .5; }

/* =============================================
   CONTENT (Subpages)
   ============================================= */
.content-section { padding: 48px 0; }
.content-section h2 {
  margin-top: 30px;
  margin-bottom: 11px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.content-section h2:first-child { margin-top: 0; }
.content-section p { color: var(--text-secondary); margin-bottom: 11px; font-size: .94rem; }

/* Bonus Cards */
.bonus-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
  margin: 22px 0;
}
.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: center;
  transition: all var(--tr);
}
.bonus-card:hover { border-color: var(--border-gold); box-shadow: 0 4px 18px rgba(255,200,67,.1); }
.bonus-card-icon  { font-size: 2.4rem; margin-bottom: 11px; }
.bonus-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 7px; }
.bonus-card-amount{ font-size: 1.55rem; font-weight: 800; color: var(--accent-gold); margin-bottom: 7px; }
.bonus-card-desc  { font-size: .82rem; color: var(--text-secondary); margin-bottom: 14px; line-height: 1.5; }

/* Live Game Cards */
.live-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.live-game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--tr);
}
.live-game-card:hover {
  border-color: var(--accent-red);
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(255,59,92,.2);
}
.live-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a0a30, #0a1535);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  position: relative;
}
.live-badge-abs {
  position: absolute;
  top: 7px;
  left: 7px;
  background: var(--accent-red);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
}
.live-game-info { padding: 10px 12px; }
.live-game-name  { font-size: .86rem; font-weight: 600; margin-bottom: 3px; }
.live-game-sub   { font-size: .73rem; color: var(--text-secondary); }

/* =============================================
   FAQ PAGE — extended grid
   ============================================= */
.faq-page { padding: 48px 0; }
.faq-intro { color: var(--text-secondary); margin-bottom: 28px; max-width: 700px; }
.faq-page .faq-list { gap: 7px; }

/* CTA Block */
.cta-block {
  background: linear-gradient(135deg, #12103a, #1a0a38);
  border: 1px solid rgba(123,47,255,.25);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  margin: 40px 0;
}
.cta-block h2 { margin-bottom: 10px; }
.cta-block p { color: var(--text-secondary); margin-bottom: 22px; font-size: .96rem; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .55; transform: scale(.8); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-110%); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-110%); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .header-nav { display: none; }
  .burger-btn { display: flex; }
  .casino-info-grid { grid-template-columns: 1fr; }
  .info-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 60px; }
  .hero { min-height: 380px; }
  .hero-actions { flex-direction: column; }
  .games-grid { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .footer-grid { grid-template-columns: 1fr; }
  .bonus-cards { grid-template-columns: 1fr; }
  .cta-block { padding: 26px 18px; }
}

@media (max-width: 380px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   AGE GATE
   ============================================= */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 18, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 16px;
  animation: ageFadeIn .25s ease;
}

.age-gate.hidden {
  animation: ageFadeOut .3s ease forwards;
  pointer-events: none;
}

.age-gate-card {
  background: linear-gradient(160deg, #181838 0%, #0f0f2a 100%);
  border: 1px solid rgba(255, 200, 67, 0.25);
  border-radius: var(--radius-xl);
  padding: 40px 32px 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04);
}

.age-gate-logo {
  height: 48px;
  width: auto;
  margin: 0 auto 24px;
}

.age-gate-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
  display: block;
}

.age-gate-title {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.age-gate-sub {
  font-size: .9rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.55;
}

.age-gate-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.age-gate-actions .btn {
  flex: 1;
  max-width: 160px;
}

.age-gate-disclaimer {
  margin-top: 18px;
  font-size: .72rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@keyframes ageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes ageFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
