/* ============================================
   Browser Silla — Main Stylesheet
   Social Casino NZ | Entertainment Only
   ============================================ */

:root {
  --primary: #7c3aed;
  --primary-light: #a855f7;
  --primary-dark: #5b21b6;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --bg-dark: #0a0a0f;
  --bg-card: #13131e;
  --bg-card2: #1a1a2e;
  --text-light: #f1f0ff;
  --text-muted: #9ca3af;
  --border: rgba(124,58,237,0.25);
  --glow: rgba(124,58,237,0.4);
  --gold: #f59e0b;
  --green: #10b981;
  --red: #ef4444;
  --radius: 16px;
  --radius-sm: 8px;
  --font: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
p { line-height: 1.7; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }

/* ============ PARTICLES BG ============ */
.particles-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float-particle linear infinite;
}
@keyframes float-particle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.1; }
  100% { transform: translateY(-20px) scale(1.2); opacity: 0; }
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 72px;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.navbar.scrolled { background: rgba(10,10,15,0.98); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nav-logo .logo-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo .logo-text {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--text-light); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s !important;
  box-shadow: 0 0 20px var(--glow);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--glow) !important;
}
.nav-cta::after { display: none !important; }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 1.5rem;
}

/* ============ AGE GATE ============ */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5,5,10,0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}
.age-gate-box {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 80px rgba(124,58,237,0.3);
  animation: age-gate-in 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes age-gate-in {
  from { opacity: 0; transform: scale(0.8) translateY(40px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.age-gate-icon { font-size: 4rem; margin-bottom: 1rem; }
.age-gate-box h2 { margin-bottom: 0.5rem; }
.age-gate-box p { margin-bottom: 2rem; font-size: 0.95rem; }
.age-gate-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-age-yes {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 24px var(--glow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-age-yes:hover { transform: translateY(-2px); box-shadow: 0 0 36px var(--glow); }
.btn-age-no {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-age-no:hover { background: rgba(255,255,255,0.05); }
.age-gate-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.age-gate-badges img { height: 32px; filter: brightness(0.8); }

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { font-size: 0.9rem; color: var(--text-muted); flex: 1; min-width: 200px; }
.cookie-banner a { color: var(--primary-light); }
.cookie-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-cookie {
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s;
}
.btn-cookie:hover { transform: translateY(-1px); }
.btn-cookie-accept { background: var(--primary); color: #fff; }
.btn-cookie-decline { background: transparent; border: 1px solid var(--border) !important; color: var(--text-muted); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  box-shadow: 0 0 28px var(--glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 40px var(--glow); }
.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid var(--border) !important;
}
.btn-outline:hover { background: rgba(124,58,237,0.1); border-color: var(--primary-light) !important; }
.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #1a1000;
  box-shadow: 0 0 24px rgba(245,158,11,0.4);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 8px 36px rgba(245,158,11,0.5); }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,0.25) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 80% 60%, rgba(245,158,11,0.08) 0%, transparent 60%),
              var(--bg-dark);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.15);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
.hero-title { margin-bottom: 1.5rem; }
.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc { font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 480px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero-stat-item { text-align: center; }
.hero-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slot-preview {
  position: relative;
  width: 360px;
  height: 420px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(124,58,237,0.2), 0 0 120px rgba(124,58,237,0.05);
  animation: float-card 4s ease-in-out infinite;
}
@keyframes float-card {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}
.slot-preview-reel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 0.5rem;
  padding: 2rem;
}
.reel-row {
  display: flex;
  gap: 0.75rem;
}
.reel-symbol {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  animation: spin-symbol 0.3s ease-in-out;
}
.reel-symbol.winning {
  background: rgba(245,158,11,0.15);
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(245,158,11,0.4);
  animation: win-flash 0.6s ease-in-out infinite alternate;
}
@keyframes win-flash {
  from { box-shadow: 0 0 16px rgba(245,158,11,0.4); }
  to { box-shadow: 0 0 32px rgba(245,158,11,0.8), 0 0 60px rgba(245,158,11,0.3); }
}

/* ============ SECTIONS ============ */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-tag {
  display: inline-block;
  background: rgba(124,58,237,0.12);
  color: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.section-title { margin-bottom: 0.75rem; }
.section-title .highlight {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ============ CARDS ============ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(124,58,237,0.15);
}

/* ============ GAME CARDS ============ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.game-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  position: relative;
}
.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(124,58,237,0.2);
}
.game-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.game-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.game-card:hover .game-card-img img { transform: scale(1.08); }
.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.game-card:hover .game-card-overlay { opacity: 1; }
.game-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.badge {
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-hot { background: var(--red); color: #fff; }
.badge-new { background: var(--green); color: #fff; }
.badge-bonus { background: var(--gold); color: #1a1000; }
.badge-free { background: var(--primary); color: #fff; }

.game-card-body { padding: 1.25rem; }
.game-card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.game-card-meta { display: flex; gap: 1rem; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; }
.game-card-rtp {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16,185,129,0.1);
  color: var(--green);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ============ FEATURES ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(124,58,237,0.12);
  border-color: var(--primary);
}
.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(168,85,247,0.1));
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.25rem;
}
.feature-title { font-size: 1.1rem; margin-bottom: 0.5rem; }

/* ============ RESPONSIBLE GAMBLING SECTION ============ */
.rg-section {
  background: linear-gradient(135deg, rgba(124,58,237,0.06) 0%, rgba(10,10,15,0) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  margin: 0 auto;
  max-width: 1200px;
}
.rg-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.rg-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 20px;
  transition: background 0.2s;
  text-decoration: none;
}
.rg-logo-item:hover { background: rgba(255,255,255,0.08); }
.rg-logo-item img { height: 36px; filter: brightness(0.85) saturate(0.8); transition: filter 0.2s; }
.rg-logo-item:hover img { filter: brightness(1) saturate(1); }

/* ============ FOOTER ============ */
footer {
  background: #07070d;
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 0;
  position: relative;
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand { max-width: 300px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}
.footer-logo .logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-brand p { font-size: 0.9rem; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  text-decoration: none;
}
.social-link:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); }

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary-light); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.footer-rg-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-rg-logos img { height: 28px; filter: brightness(0.6) grayscale(0.3); transition: filter 0.2s; }
.footer-rg-logos img:hover { filter: brightness(0.9) grayscale(0); }
.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-copyright {
  font-size: 0.8rem;
  color: rgba(156,163,175,0.5);
}
.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-legal-links a { font-size: 0.82rem; color: var(--text-muted); transition: color 0.2s; }
.footer-legal-links a:hover { color: var(--primary-light); }
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-18 {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ef4444;
}

/* ============ INNER PAGE HERO ============ */
.page-hero {
  padding: 9rem 2rem 4rem;
  text-align: center;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(124,58,237,0.2) 0%, transparent 70%);
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { max-width: 600px; margin: 0 auto; }

/* ============ LEGAL PAGES ============ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}
.legal-content h2 { margin: 2.5rem 0 1rem; font-size: 1.3rem; color: var(--primary-light); }
.legal-content h3 { margin: 1.5rem 0 0.75rem; font-size: 1.1rem; }
.legal-content p { margin-bottom: 1rem; color: var(--text-muted); }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li { color: var(--text-muted); margin-bottom: 0.5rem; line-height: 1.6; }
.legal-content a { color: var(--primary-light); }
.legal-last-updated {
  display: inline-block;
  background: rgba(124,58,237,0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.83rem;
  color: var(--primary-light);
  margin-bottom: 2rem;
}

/* ============ CONTACTS ============ */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(168,85,247,0.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.contact-card h3 { margin-bottom: 0.5rem; }
.contact-card a { color: var(--primary-light); }

/* ============ SLOT GAME ENGINE ============ */
.game-engine {
  min-height: 100vh;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124,58,237,0.3) 0%, transparent 60%),
              var(--bg-dark);
  display: flex;
  flex-direction: column;
}
.game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(10,10,15,0.9);
  border-bottom: 1px solid var(--border);
}
.game-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.slot-machine {
  background: var(--bg-card2);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  max-width: 680px;
  width: 100%;
  box-shadow: 0 0 80px rgba(124,58,237,0.2), inset 0 0 80px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}
.slot-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(0,0,0,0.4);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
}
.hud-block { text-align: center; }
.hud-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.hud-value {
  font-size: 1.4rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.hud-value.credits { color: var(--accent); }
.hud-value.win { color: var(--green); }
.hud-value.bet { color: var(--primary-light); }

.reels-container {
  background: rgba(0,0,0,0.6);
  border: 2px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.reels-inner {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.reel {
  flex: 1;
  max-width: 110px;
  height: 280px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.reel-strip {
  display: flex;
  flex-direction: column;
  transition: transform 0.05s linear;
}
.reel-cell {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  flex-shrink: 0;
  position: relative;
}
.reel-highlight {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 90px;
  transform: translateY(-50%);
  border-top: 2px solid rgba(245,158,11,0.4);
  border-bottom: 2px solid rgba(245,158,11,0.4);
  pointer-events: none;
  z-index: 5;
}
.payline-flash {
  position: absolute;
  top: 50%;
  left: -100%;
  right: -100%;
  height: 90px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, rgba(245,158,11,0.15), transparent);
  animation: payline-sweep 1.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
  display: none;
}
.payline-flash.active { display: block; }
@keyframes payline-sweep {
  0% { transform: translateY(-50%) translateX(-50%); }
  100% { transform: translateY(-50%) translateX(150%); }
}

.slot-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.bet-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.bet-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(124,58,237,0.15);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.bet-btn:hover { background: var(--primary); }
.bet-display {
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 16px;
  font-weight: 700;
  color: var(--primary-light);
  min-width: 80px;
  text-align: center;
}
.spin-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 0 32px var(--glow), inset 0 2px 0 rgba(255,255,255,0.2);
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  overflow: hidden;
}
.spin-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}
.spin-btn:hover:not(:disabled) {
  transform: scale(1.08);
  box-shadow: 0 0 48px var(--glow);
}
.spin-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: scale(1);
}
.spin-btn.spinning { animation: spin-btn-anim 0.4s ease-in-out infinite; }
@keyframes spin-btn-anim {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.95); }
}

.win-announcement {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: linear-gradient(135deg, rgba(245,158,11,0.95), rgba(217,119,6,0.95));
  border-radius: 16px;
  padding: 1.5rem 2.5rem;
  text-align: center;
  z-index: 100;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
  box-shadow: 0 0 60px rgba(245,158,11,0.6);
}
.win-announcement.show { transform: translate(-50%, -50%) scale(1); }
.win-announcement .win-label { font-size: 0.8rem; font-weight: 700; color: rgba(0,0,0,0.7); text-transform: uppercase; letter-spacing: 0.15em; }
.win-announcement .win-amount { font-size: 3rem; font-weight: 900; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.win-announcement .win-type { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.85); }

.bonus-trigger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: linear-gradient(135deg, rgba(124,58,237,0.95), rgba(91,33,182,0.95));
  border-radius: 20px;
  padding: 2rem 3rem;
  text-align: center;
  z-index: 101;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
  box-shadow: 0 0 80px rgba(124,58,237,0.7);
}
.bonus-trigger.show { transform: translate(-50%, -50%) scale(1); }
.bonus-trigger h3 { color: var(--accent); font-size: 1.5rem; margin-bottom: 0.5rem; }
.bonus-trigger p { color: #fff; }

.paytable-section {
  background: rgba(0,0,0,0.3);
  border-radius: 14px;
  padding: 1.25rem;
  margin-top: 1.5rem;
}
.paytable-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 1rem; }
.paytable-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 0.75rem; }
.paytable-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 0.75rem 0.5rem;
  text-align: center;
}
.paytable-item .symbol { font-size: 1.8rem; }
.paytable-item .multiplier { font-size: 0.75rem; font-weight: 700; color: var(--accent); margin-top: 4px; }

.history-strip {
  display: flex;
  gap: 6px;
  margin-top: 1rem;
  overflow-x: auto;
  padding-bottom: 4px;
}
.history-item {
  flex-shrink: 0;
  width: 40px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}
.history-item.win-item { background: rgba(16,185,129,0.2); color: var(--green); border: 1px solid rgba(16,185,129,0.3); }
.history-item.lose-item { background: rgba(239,68,68,0.1); color: rgba(239,68,68,0.6); border: 1px solid rgba(239,68,68,0.15); }
.history-item.bonus-item { background: rgba(245,158,11,0.2); color: var(--accent); border: 1px solid rgba(245,158,11,0.3); }

/* ============ WIN PARTICLES ============ */
.confetti-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 50;
}
.confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  animation: confetti-fall 1.5s ease-in forwards;
}
@keyframes confetti-fall {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(300px) rotate(540deg); opacity: 0; }
}

/* ============ ANIMATED BG SHAPES ============ */
.bg-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.04;
  animation: shape-float ease-in-out infinite alternate;
}
@keyframes shape-float {
  from { transform: translate(0, 0); }
  to { transform: translate(30px, -30px); }
}

/* ============ SCROLL ANIMATIONS ============ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ============ RTP TICKER ============ */
.rtp-ticker {
  background: rgba(124,58,237,0.08);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.rtp-ticker-inner {
  display: inline-flex;
  gap: 3rem;
  animation: ticker-scroll 30s linear infinite;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-item { font-size: 0.82rem; color: var(--text-muted); }
.ticker-item .ticker-name { color: var(--text-light); font-weight: 600; }
.ticker-item .ticker-win { color: var(--green); font-weight: 700; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-desc { margin: 0 auto 2.5rem; }
  .contacts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--bg-dark); border-bottom: 1px solid var(--border); padding: 1.5rem 2rem; gap: 1.25rem; }
  .nav-links.open { display: flex; }
  .nav-mobile-toggle { display: block; }
  .footer-top { grid-template-columns: 1fr; }
  .slot-machine { padding: 1.25rem; }
  .reel { max-width: 80px; }
  .reel-cell { font-size: 2.2rem; height: 72px; }
  .reels-container { padding: 0.75rem; }
  .hero-slot-preview { width: 280px; height: 320px; }
  .rg-section { padding: 2rem 1.25rem; }
}
@media (max-width: 480px) {
  .section { padding: 3.5rem 1rem; }
  .hero-content { padding: 7rem 1rem 3rem; }
  .footer-bottom-row { flex-direction: column; align-items: flex-start; }
  .slot-controls { justify-content: center; }
}
