:root {
  --primary-gold: #ffd700;
  --gold-glow: rgba(255, 215, 0, 0.45);
  --gold-light: #fff3a8;
  --gold-dark: #b8860b;
  --cyan-neon: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.45);
  --red-dragon: #ff2a5f;
  --red-glow: rgba(255, 42, 95, 0.5);
  --purple-scatter: #a855f7;
  --purple-glow: rgba(168, 85, 247, 0.5);

  --bg-deep: #05070e;
  --bg-surface: #0a0e1c;
  --bg-card: rgba(14, 20, 38, 0.82);
  --bg-card-hover: rgba(22, 30, 56, 0.94);
  --border-glass: rgba(255, 215, 0, 0.22);
  --border-cyan: rgba(0, 240, 255, 0.3);

  --text-white: #ffffff;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;

  --font-main: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Syne', sans-serif;
  --width-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(255, 215, 0, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(0, 240, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 60%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(10, 14, 28, 0.95) 0%, transparent 60%);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--border-glass);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-gold);
}

.shell {
  max-width: var(--width-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 3.5vw, 40px);
}

/* TOPBAR */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 14, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.3s ease;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  transition: color 0.2s ease;
  position: relative;
}

.nav a:hover {
  color: var(--primary-gold);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.3);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--cyan-neon);
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  white-space: nowrap;
}


/* Topbar Button Text Responsive */
.btn-text-short {
  display: none;
}
.btn-text-full {
  display: inline;
}

.btn-small {
  padding: 9px 18px;
  font-size: 12px;
  border-radius: 8px;
}

.btn-gold {
  background: linear-gradient(135deg, #ffd700 0%, #ff9500 100%);
  color: #060810;
  box-shadow: 0 4px 18px var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255, 215, 0, 0.65);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 215, 0, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 215, 0, 0.12);
  border-color: var(--primary-gold);
  color: var(--primary-gold);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--primary-gold);
  font-size: 20px;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* HERO SECTION */
.hero {
  padding: clamp(40px, 6vw, 80px) 0 40px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(30px, 5vw, 60px);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.3);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--primary-gold);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text-white);
  margin-bottom: 20px;
}

.hero-title span {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 24px rgba(255, 215, 0, 0.35);
}

.hero-desc {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero-desc strong {
  color: #fff;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 38px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 900;
  color: var(--primary-gold);
}

.hero-stat small {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Poster */
.hero-poster-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(255, 215, 0, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 215, 0, 0.15);
  background: var(--bg-surface);
}

.hero-poster-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-poster-wrap:hover img {
  transform: scale(1.03);
}

.poster-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(0deg, rgba(5, 7, 14, 0.95) 0%, rgba(5, 7, 14, 0) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--primary-gold);
}

/* RUNNING TICKER */
.ticker {
  background: linear-gradient(90deg, #120e03, #2a1f05, #120e03);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-block;
  animation: ticker-slide 32s linear infinite;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary-gold);
}

.ticker-track b {
  color: var(--cyan-neon);
  margin: 0 16px;
}

@keyframes ticker-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* GAME CONSOLE SECTION */
.game-section {
  padding: clamp(50px, 7vw, 90px) 0;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--cyan-neon);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 14px;
}

.section-title .highlight {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-sub {
  font-size: 15px;
  color: var(--text-muted);
}

/* CONSOLE FRAME */
.game-console {
  background: rgba(10, 14, 26, 0.95);
  border: 2px solid var(--border-glass);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(255, 215, 0, 0.1);
  overflow: hidden;
}

.console-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  background: rgba(5, 7, 14, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.console-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-gold);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.12);
  color: var(--cyan-neon);
  font-size: 10px;
}

.sound-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.sound-btn:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: var(--primary-gold);
}

.sound-btn.muted {
  color: #64748b;
}

/* History Bar */
.history-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow-x: auto;
  scrollbar-width: none;
}
.history-bar::-webkit-scrollbar { display: none; }

.hist-pill {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  animation: fadeIn 0.3s ease;
}

.hist-normal { background: rgba(255, 255, 255, 0.08); color: #cbd5e1; }
.hist-mid { background: rgba(0, 240, 255, 0.15); color: #00f0ff; border: 1px solid rgba(0, 240, 255, 0.3); }
.hist-high { background: rgba(255, 215, 0, 0.2); color: #ffd700; border: 1px solid rgba(255, 215, 0, 0.4); }
.hist-maxwin { background: linear-gradient(135deg, #ff2a5f, #ff9500); color: #fff; box-shadow: 0 0 10px rgba(255, 42, 95, 0.5); }
.hist-scatter { background: #180d28; color: #a855f7; border: 1px solid #a855f7; box-shadow: 0 0 10px rgba(168, 85, 247, 0.4); }

/* Stage Canvas */
.stage-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020306;
}

#gameCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* WIN OVERLAY MODAL */
.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 14, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.96);
  z-index: 20;
}

.game-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.modal-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.modal-badge.win { background: rgba(0, 240, 255, 0.2); color: #00f0ff; border: 1px solid #00f0ff; }
.modal-badge.high { background: rgba(255, 215, 0, 0.25); color: #ffd700; border: 1px solid #ffd700; }
.modal-badge.maxwin { background: linear-gradient(135deg, #ff2a5f, #ff9500); color: #fff; box-shadow: 0 0 20px rgba(255, 42, 95, 0.7); }

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.modal-multiplier {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.modal-profit {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.modal-profit strong {
  color: #00f0ff;
  font-size: 20px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* CONTROLS PANEL */
.controls-panel {
  padding: 22px;
  background: rgba(8, 11, 22, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.controls-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.4fr;
  gap: 20px;
  align-items: center;
}

.control-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 12px 14px;
}

.control-card-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.bet-presets, .mode-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mode-presets {
  grid-template-columns: repeat(3, 1fr);
}

.bet-btn, .mode-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 8px 6px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.bet-btn:hover, .mode-btn:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.4);
  color: var(--primary-gold);
}

.bet-btn.active, .mode-btn.active {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 140, 0, 0.25));
  border-color: var(--primary-gold);
  color: var(--primary-gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Big Spin Button */
.action-btn-wrap {
  display: flex;
  height: 100%;
}

.btn-spin {
  width: 100%;
  height: 100%;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
  border: none;
  border-radius: 14px;
  color: #060810;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 10px 16px;
}

.btn-spin:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 215, 0, 0.65);
}

.btn-spin:active:not(:disabled) {
  transform: translateY(1px);
}

.btn-spin span {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.btn-spin small {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.85;
}

.btn-spin.spinning {
  background: linear-gradient(135deg, #00f0ff, #0088ff);
  color: #020617;
  cursor: not-allowed;
  box-shadow: 0 4px 18px rgba(0, 240, 255, 0.45);
}

/* FEATURES SECTION */
.features-section {
  padding: 40px 0 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 28px 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feat-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--primary-gold);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.15);
}

.feat-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.feat-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.feat-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* POLA & JAM HOKI TABLE */
.pola-section {
  padding: 40px 0 80px;
}

.pola-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  overflow-x: auto;
}

.pola-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pola-table th {
  padding: 16px 20px;
  background: rgba(255, 215, 0, 0.1);
  color: var(--primary-gold);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 1px solid var(--border-glass);
}

.pola-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
  color: var(--text-main);
}

.pola-table tr:hover td {
  background: rgba(255, 215, 0, 0.03);
}

.pola-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
}
.pola-badge.hot { background: rgba(255, 42, 95, 0.2); color: #ff2a5f; border: 1px solid #ff2a5f; }
.pola-badge.vip { background: rgba(255, 215, 0, 0.2); color: #ffd700; border: 1px solid #ffd700; }

/* SEO ARTICLE CONTENT SECTION */
.content-section {
  padding: 40px 0 80px;
}

.content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 54px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6);
}

.content-box h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 900;
  color: #fff;
  margin: 32px 0 16px;
  border-left: 4px solid var(--primary-gold);
  padding-left: 14px;
}

.content-box h2:first-child {
  margin-top: 0;
}

.content-box h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  color: var(--primary-gold);
  margin: 24px 0 12px;
}

.content-box p {
  font-size: 15px;
  line-height: 1.85;
  color: #cbd5e1;
  margin-bottom: 18px;
  text-align: justify;
}

.content-box a {
  color: var(--primary-gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-box a:hover {
  color: var(--cyan-neon);
}

.callout-box {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(0, 240, 255, 0.05));
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 16px;
  padding: 22px;
  margin: 28px 0;
}

.callout-box h4 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--primary-gold);
  margin-bottom: 8px;
}

/* FAQ SECTION */
.faq-section {
  padding: 40px 0 80px;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s;
}

.faq-item:hover {
  border-color: var(--primary-gold);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-icon {
  font-size: 20px;
  color: var(--primary-gold);
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.8;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* FOOTER */
.footer {
  background: #030408;
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 30px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 14px;
  line-height: 1.7;
}

.footer-links h4 {
  font-family: var(--font-display);
  font-size: 14px;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.8px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 12px;
}

/* RESPONSIVE MEDIA QUERIES & MOBILE NAVIGATION */
@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats {
    max-width: 500px;
    margin: 0 auto;
  }
  .hero-poster-wrap {
    max-width: 480px;
    margin: 0 auto;
  }
  .controls-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .status-pill {
    display: none !important;
  }
  .topbar {
    position: sticky;
    top: 0;
  }
  .topbar-inner {
    height: 58px;
    gap: 10px;
    padding: 0 12px;
  }
  .brand-logo img {
    height: 32px;
    max-width: 140px;
  }
  .top-actions {
    gap: 8px;
    flex-shrink: 0;
  }
  .btn-small {
    padding: 8px 14px;
    font-size: 11.5px;
    letter-spacing: 0.4px;
  }
  .btn-text-full {
    display: none;
  }
  .btn-text-short {
    display: inline;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 18px;
    flex-shrink: 0;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--primary-gold);
  }
  .nav {
    display: none;
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    background: rgba(5, 7, 14, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--border-glass);
    flex-direction: column;
    padding: 18px 20px;
    gap: 14px;
    z-index: 99;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.8);
  }
  .nav.mobile-open {
    display: flex;
    animation: fadeInDown 0.25s ease;
  }
  .nav a {
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
  }
  .stage-container {
    aspect-ratio: 16 / 10;
  }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 24px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
  }
  .hero-stat strong {
    font-size: 20px;
  }
  .hero-stat small {
    font-size: 10.5px;
  }
  .console-topbar {
    padding: 10px 14px;
    font-size: 11px;
  }
  .controls-panel {
    padding: 14px;
  }
  .btn-spin {
    min-height: 56px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .modal-actions {
    flex-direction: column;
    width: 100%;
  }
  .modal-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .shell {
    padding: 0 14px;
  }
  .hero-title {
    font-size: 27px;
  }
  .hero-desc {
    font-size: 14px;
  }
  .status-pill {
    display: none;
  }
  .stage-container {
    aspect-ratio: 4 / 3;
  }
  .bet-presets, .mode-presets {
    gap: 6px;
  }
  .bet-btn, .mode-btn {
    padding: 8px 4px;
    font-size: 11px;
  }
  .pola-table th, .pola-table td {
    padding: 12px 10px;
    font-size: 12.5px;
  }
  .faq-question {
    padding: 16px 14px;
    font-size: 14.5px;
  }
  .faq-answer {
    padding: 0 14px;
    font-size: 13.5px;
  }
  .faq-item.active .faq-answer {
    padding: 0 14px 16px;
  }
  .content-box {
    padding: 20px 14px;
  }
  .content-box h2 {
    font-size: 22px;
  }
  .content-box h3 {
    font-size: 18px;
  }
}