/* ============================================
   CASHINO 3.0 — Ultra-Premium Casino System
   Deep Blacks · Vegas Gold · Bespoke Experience
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --void: #050507;
  --abyss: #0a0a0e;
  --surface: #111116;
  --surface-2: #18181f;
  --glass: rgba(14, 14, 20, 0.55);
  --glass-heavy: rgba(10, 10, 14, 0.85);

  --gold: #c9a84c;
  --gold-light: #dfc06e;
  --gold-bright: #f0d88e;
  --gold-glow: rgba(201, 168, 76, 0.25);
  --gold-dim: rgba(201, 168, 76, 0.08);
  --crimson: #a3223a;
  --crimson-glow: rgba(163, 34, 58, 0.2);
  --felt: #1a6b4a;
  --felt-glow: rgba(26, 107, 74, 0.2);

  --text-hero: #f8f0e0;
  --text-primary: #d8d0c4;
  --text-secondary: #8a8478;
  --text-muted: #555048;

  --border-gold: rgba(201, 168, 76, 0.12);
  --border-faint: rgba(255, 255, 255, 0.04);

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--abyss);
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--void);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: default;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--abyss);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 2px;
}

::selection {
  background: rgba(201, 168, 76, 0.3);
  color: var(--text-hero);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.1;
}

/* ---------- Canvas ---------- */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(5, 5, 7, 0.4);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid var(--border-gold);
  transition: all 0.5s var(--ease);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(5, 5, 7, 0.9);
}

.nav-inner {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-brand img {
  height: 34px;
  border-radius: 6px;
  opacity: 0.9;
}

.nav-brand span {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Register CTA */
.nav-cta {
  padding: 10px 28px;
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--void);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  box-shadow: 0 0 25px rgba(201, 168, 76, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(201, 168, 76, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  transition: all 0.3s var(--ease);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ==========================================
   INDEX PAGE — BESPOKE LAYOUT
   ========================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
}

.hero-content {
  max-width: 900px;
  position: relative;
}

.hero-logo {
  width: min(70%, 360px);
  margin: 0 auto 40px;
  border-radius: 16px;
  animation: heroFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 0 60px rgba(201, 168, 76, 0.12));
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

.hero-tagline {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 400;
}

.hero-title {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 28px;
  line-height: 0.95;
  position: relative;
}

.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(50px) scale(0.85);
  animation: charIn 0.7s var(--ease-spring) forwards;
}

@keyframes charIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-title .space {
  width: 0.25em;
}

.hero-sub {
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.8;
  font-weight: 300;
}

.hero-suits {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: rgba(201, 168, 76, 0.15);
}

.hero-suits span {
  animation: suitBreathe 4s ease-in-out infinite;
}

.hero-suits span:nth-child(2) {
  animation-delay: 0.5s;
}

.hero-suits span:nth-child(3) {
  animation-delay: 1s;
}

.hero-suits span:nth-child(4) {
  animation-delay: 1.5s;
}

@keyframes suitBreathe {

  0%,
  100% {
    opacity: 0.15;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.1);
  }
}

/* ---------- Gold Line Divider ---------- */
.gold-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 100px auto;
  opacity: 0.3;
  position: relative;
  z-index: 1;
}

/* ---------- Slot Machine Section ---------- */
.slot-section {
  position: relative;
  z-index: 1;
  padding: 60px 20px 100px;
  text-align: center;
}

.slot-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.slot-machine {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.slot-window {
  position: relative;
  height: 120px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  background: var(--abyss);
  margin-bottom: 36px;
}

.slot-window::before,
.slot-window::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 40px;
  z-index: 2;
  pointer-events: none;
}

.slot-window::before {
  top: 0;
  background: linear-gradient(to bottom, var(--abyss), transparent);
}

.slot-window::after {
  bottom: 0;
  background: linear-gradient(to top, var(--abyss), transparent);
}

.slot-indicator {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  height: 50px;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  background: rgba(201, 168, 76, 0.03);
  z-index: 1;
  pointer-events: none;
}

.slot-reel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transition: none;
  will-change: transform;
}

.slot-item {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 1px;
  white-space: nowrap;
}

.slot-item.active {
  color: var(--gold-light);
}

.spin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 52px;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--void);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.2);
  position: relative;
  overflow: hidden;
}

.spin-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 50px rgba(201, 168, 76, 0.35);
}

.spin-btn:active {
  transform: translateY(0) scale(0.98);
}

.spin-btn.spinning {
  pointer-events: none;
  opacity: 0.7;
}

.slot-result {
  margin-top: 28px;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.5s var(--ease);
}

.slot-result.show {
  opacity: 1;
  transform: translateY(0);
}

.slot-result a {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  padding-bottom: 2px;
  transition: all 0.3s var(--ease);
  letter-spacing: 1px;
}

.slot-result a:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
}

/* ---------- Games List — Typography as Art ---------- */
.games-list-section {
  position: relative;
  z-index: 1;
  padding: 40px 0 100px;
}

.games-list {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.game-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-faint);
  cursor: pointer;
  transition: all 0.4s var(--ease);
  position: relative;
  text-decoration: none;
}

.game-row:first-child {
  border-top: 1px solid var(--border-faint);
}

.game-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.03), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.game-row:hover::before {
  opacity: 1;
}

.game-row:hover {
  padding-left: 20px;
  border-color: var(--border-gold);
}

.game-row-left {
  display: flex;
  align-items: baseline;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.game-num {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  min-width: 28px;
}

.game-name {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-secondary);
  transition: color 0.4s var(--ease);
  letter-spacing: 0.5px;
}

.game-row:hover .game-name {
  color: var(--gold-light);
}

.game-price {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  white-space: nowrap;
  transition: color 0.4s var(--ease);
}

.game-row:hover .game-price {
  color: var(--gold);
}

/* ---------- Info Strip ---------- */
.info-strip {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.info-item {
  text-align: center;
}

.info-value {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.info-label {
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Rules (Minimal Accordion) ---------- */
.rules-section {
  position: relative;
  z-index: 1;
  padding: 40px 20px 100px;
  max-width: 700px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid var(--border-faint);
  overflow: hidden;
}

.accordion-item:first-child {
  border-top: 1px solid var(--border-faint);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease);
}

.accordion-header:hover {
  color: var(--gold-light);
}

.accordion-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.accordion-header .suit {
  color: var(--gold);
  font-size: 0.9rem;
}

.accordion-icon {
  width: 16px;
  height: 16px;
  position: relative;
  transition: transform 0.4s var(--ease);
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--gold);
}

.accordion-icon::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
}

.accordion-icon::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  transition: transform 0.4s var(--ease);
}

.accordion-item.active .accordion-icon::after {
  transform: translateX(-50%) scaleY(0);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.accordion-item.active .accordion-body {
  max-height: 400px;
}

.accordion-body-inner {
  padding: 0 0 20px 32px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.9;
}

.accordion-body-inner li {
  padding: 3px 0 3px 16px;
  position: relative;
}

.accordion-body-inner li::before {
  content: '\2013';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
}

.accordion-body-inner strong {
  color: var(--gold-light);
}

/* Suit symbol classes */
.suit {
  display: inline-block;
  font-style: normal;
}

.suit-spade::before {
  content: '\2660';
}

.suit-heart::before {
  content: '\2665';
}

.suit-diamond::before {
  content: '\2666';
}

.suit-club::before {
  content: '\2663';
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  padding: 50px 20px 40px;
  text-align: center;
  border-top: 1px solid var(--border-faint);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  height: 28px;
  border-radius: 5px;
  opacity: 0.6;
}

.footer-brand span {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.footer-suits {
  color: rgba(201, 168, 76, 0.12);
  font-size: 0.7rem;
  letter-spacing: 10px;
  margin-bottom: 12px;
  font-family: var(--font-serif);
}

.footer-text {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ---------- Fade-in Utility ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   GAME PAGE STYLES (Preserved)
   ========================================== */

.game-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding-top: 90px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.back-nav {
  padding: 24px 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
}

.back-link:hover {
  color: var(--gold-light);
  transform: translateX(-4px);
}

.game-header {
  text-align: center;
  padding: 30px 0 24px;
}

.game-header-icon {
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 1.4rem;
  font-family: var(--font-serif);
  animation: heroFloat 4s ease-in-out infinite;
}

.game-header h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--gold-light);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.game-header-line {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, var(--crimson), var(--gold), var(--crimson));
  margin: 0 auto;
  opacity: 0.6;
}

.quick-stats {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 24px 0;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.9rem;
}

.stat-badge .stat-icon {
  display: inline-flex;
  color: var(--gold);
}

.stat-badge.price {
  color: var(--gold-light);
}

.stat-badge.manager {
  color: var(--text-primary);
}

.game-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0 60px;
}

.game-section {
  margin-bottom: 44px;
}

.game-section-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.5px;
}

.game-section-title .section-icon {
  display: inline-flex;
  color: var(--crimson);
  font-size: 0.85rem;
}

.rules-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  border-bottom: 1px solid var(--border-faint);
}

.rules-list li:last-child {
  border-bottom: none;
}

.rules-list li::before {
  content: '\2013';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--gold);
  font-size: 0.65rem;
}

.rules-list li strong {
  color: var(--gold-light);
}

.outcomes-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  overflow: hidden;
}

.outcomes-card::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--crimson), var(--gold), var(--felt));
}

.outcomes-table {
  width: 100%;
  border-collapse: collapse;
}

.outcomes-table th {
  padding: 14px 20px;
  text-align: left;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(26, 107, 74, 0.08);
  border-bottom: 1px solid var(--border-gold);
}

.outcomes-table td {
  padding: 11px 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-faint);
}

.outcomes-table tr:last-child td {
  border-bottom: none;
}

.multiplier {
  font-family: var(--font-serif);
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 0.85rem;
  display: inline-block;
}

.multiplier.win {
  color: #3daa6d;
  background: var(--felt-glow);
  border: 1px solid rgba(26, 107, 74, 0.25);
}

.multiplier.lose {
  color: #c45;
  background: var(--crimson-glow);
  border: 1px solid rgba(163, 34, 58, 0.25);
}

.multiplier.neutral {
  color: var(--gold-light);
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
}

.note-box {
  background: var(--gold-dim);
  border-left: 2px solid var(--gold);
  border-radius: 0 4px 4px 0;
  padding: 14px 18px;
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.note-box strong {
  color: var(--gold-light);
}

.back-cta {
  text-align: center;
  padding: 20px 0 60px;
}

.back-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 32px;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.back-cta-btn:hover {
  background: var(--gold-dim);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.12);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  text-align: center;
  margin-bottom: 12px;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 50px;
  font-style: italic;
}

/* ---------- Hover Guard (Desktop Only) ---------- */
@media (hover: hover) and (pointer: fine) {
  .game-row:hover::before {
    opacity: 1;
  }

  .game-row:hover {
    padding-left: 20px;
    border-color: var(--border-gold);
  }

  .game-row:hover .game-name {
    color: var(--gold-light);
  }

  .game-row:hover .game-price {
    color: var(--gold);
  }

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

  .nav-links a:hover::after {
    width: 100%;
  }

  .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(201, 168, 76, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }

  .spin-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 50px rgba(201, 168, 76, 0.35);
  }

  .accordion-header:hover {
    color: var(--gold-light);
  }

  .back-link:hover {
    color: var(--gold-light);
    transform: translateX(-4px);
  }

  .back-cta-btn:hover {
    background: var(--gold-dim);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.12);
  }

  .slot-result a:hover {
    color: var(--gold-bright);
    border-color: var(--gold);
  }
}

/* Remove desktop-only hover rules from base (touch devices see gold on scroll-reveal instead) */
@media (hover: none) {
  .game-row::before {
    display: none;
  }

  .nav-links a::after {
    display: none;
  }

  .game-row.visible .game-name {
    color: var(--gold-light);
  }
}

/* ---------- Responsive: Tablet (768px) ---------- */
@media (max-width: 768px) {
  html {
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    height: 100dvh;
    background: rgba(5, 5, 7, 0.98);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    transition: right 0.5s var(--ease);
    border-left: 1px solid var(--border-gold);
    padding: 80px 20px 40px;
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
    letter-spacing: 3px;
    padding: 14px 24px;
    min-height: 48px;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
  }

  .nav-cta {
    padding: 16px 36px;
    font-size: 0.85rem;
    min-height: 52px;
    width: 80%;
    text-align: center;
    justify-content: center;
  }

  .hamburger {
    display: flex;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
  }

  .hero {
    min-height: 85vh;
    padding: 100px 20px 60px;
  }

  .hero-logo {
    width: min(60%, 280px);
    margin-bottom: 28px;
  }

  .hero-title {
    letter-spacing: 2px;
    margin-bottom: 20px;
  }

  .hero-tagline {
    letter-spacing: 5px;
    font-size: 0.6rem;
    margin-bottom: 14px;
  }

  .hero-sub {
    font-size: 0.85rem;
    margin-bottom: 32px;
  }

  .hero-suits {
    gap: 20px;
    font-size: 1.1rem;
  }

  .gold-line {
    margin: 60px auto;
  }

  .info-strip {
    gap: 30px;
    padding: 40px 20px;
  }

  .info-value {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  .info-label {
    font-size: 0.6rem;
    letter-spacing: 3px;
  }

  .slot-section {
    padding: 40px 16px 60px;
  }

  .slot-machine {
    padding: 0 8px;
  }

  .slot-window {
    height: 100px;
  }

  .slot-item {
    height: 100px;
    font-size: clamp(1.1rem, 4vw, 1.5rem);
  }

  .slot-indicator {
    height: 44px;
  }

  .spin-btn {
    padding: 16px 44px;
    font-size: 0.85rem;
    min-height: 52px;
    letter-spacing: 3px;
    -webkit-tap-highlight-color: transparent;
  }

  .slot-label {
    margin-bottom: 32px;
  }

  .slot-result a {
    font-size: 0.9rem;
    padding: 8px 4px;
  }

  .game-name {
    font-size: clamp(1.2rem, 4.5vw, 1.6rem);
  }

  .game-num {
    font-size: 0.65rem;
    min-width: 22px;
  }

  .game-row {
    padding: 18px 0;
  }

  .game-price {
    font-size: 0.65rem;
  }

  .games-list {
    padding: 0 16px;
  }

  .games-list-section {
    padding: 30px 0 60px;
  }

  .rules-section {
    padding: 30px 16px 60px;
  }

  .accordion-header {
    padding: 18px 0;
    min-height: 52px;
    -webkit-tap-highlight-color: transparent;
  }

  .accordion-body-inner {
    padding: 0 0 16px 20px;
    font-size: 0.82rem;
  }

  .quick-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat-badge {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .game-content {
    padding: 16px 0 40px;
  }

  .game-section {
    margin-bottom: 32px;
  }

  .game-section-title {
    font-size: 1.1rem;
  }

  .rules-list li {
    font-size: 0.88rem;
    padding: 8px 0 8px 20px;
  }

  .outcomes-table th {
    padding: 10px 12px;
    font-size: 0.68rem;
    letter-spacing: 1px;
  }

  .outcomes-table td {
    padding: 9px 12px;
    font-size: 0.82rem;
  }

  .multiplier {
    font-size: 0.78rem;
    padding: 2px 8px;
  }

  .note-box {
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  .back-link {
    min-height: 48px;
    padding: 10px 0;
    font-size: 0.78rem;
  }

  .back-cta-btn {
    padding: 14px 28px;
    min-height: 48px;
    font-size: 0.8rem;
  }

  .footer {
    padding: 36px 16px 28px;
  }

  .footer-brand span {
    font-size: 0.78rem;
  }

  .footer-text {
    font-size: 0.65rem;
  }
}

/* ---------- Responsive: Large Phone (600px) ---------- */
@media (max-width: 600px) {
  .hero {
    min-height: 80vh;
    padding: 90px 16px 50px;
  }

  .hero-logo {
    width: min(55%, 220px);
    margin-bottom: 20px;
  }

  .info-strip {
    gap: 20px;
  }

  .game-row-left {
    gap: 12px;
  }

  .game-name {
    font-size: clamp(1.1rem, 5vw, 1.4rem);
  }

  .outcomes-card {
    border-radius: 6px;
  }

  .outcomes-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .outcomes-table thead,
  .outcomes-table tbody,
  .outcomes-table tr {
    display: table;
    width: 100%;
    table-layout: fixed;
  }
}

/* ---------- Responsive: Small Phone (480px) ---------- */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2.4rem, 12vw, 3.2rem);
    letter-spacing: 1px;
  }

  .hero-tagline {
    letter-spacing: 3px;
    font-size: 0.55rem;
  }

  .hero-sub {
    font-size: 0.8rem;
    line-height: 1.6;
  }

  .nav-brand span {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }

  .nav-brand img {
    height: 28px;
  }

  .navbar {
    padding: 14px 0;
  }

  .navbar.scrolled {
    padding: 10px 0;
  }

  .game-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 0;
  }

  .game-price {
    padding-left: 34px;
  }

  .game-num {
    min-width: 20px;
  }

  .info-strip {
    flex-direction: row;
    gap: 16px;
    padding: 30px 12px;
  }

  .info-value {
    font-size: clamp(1.4rem, 8vw, 2rem);
  }

  .info-label {
    font-size: 0.55rem;
    letter-spacing: 2px;
  }

  .gold-line {
    margin: 40px auto;
    width: 40px;
  }

  .slot-window {
    height: 80px;
    margin-bottom: 24px;
  }

  .slot-item {
    height: 80px;
    font-size: clamp(0.95rem, 4.5vw, 1.2rem);
  }

  .slot-indicator {
    height: 36px;
  }

  .spin-btn {
    padding: 14px 36px;
    font-size: 0.8rem;
  }

  .slot-label {
    font-size: 0.6rem;
    letter-spacing: 4px;
    margin-bottom: 24px;
  }

  .accordion-header {
    font-size: 0.9rem;
  }

  .accordion-body-inner {
    font-size: 0.78rem;
    padding-left: 16px;
  }

  .game-header h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .game-header-icon {
    width: 54px;
    height: 54px;
    font-size: 1.1rem;
  }

  .outcomes-table th {
    padding: 8px 8px;
    font-size: 0.6rem;
  }

  .outcomes-table td {
    padding: 7px 8px;
    font-size: 0.75rem;
  }
}

/* ---------- Responsive: Tiny Phone (360px) ---------- */
@media (max-width: 360px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .nav-brand span {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }

  .nav-brand img {
    height: 24px;
  }

  .game-name {
    font-size: 1rem;
  }

  .game-price {
    font-size: 0.58rem;
  }

  .spin-btn {
    padding: 12px 28px;
    font-size: 0.75rem;
    letter-spacing: 2px;
  }

  .slot-item {
    font-size: 0.9rem;
  }

  .info-value {
    font-size: 1.3rem;
  }

  .info-label {
    font-size: 0.5rem;
  }

  .stat-badge {
    font-size: 0.78rem;
    padding: 8px 14px;
  }
}

/* ---------- Touch Optimizations ---------- */
@media (pointer: coarse) {

  .spin-btn,
  .nav-cta,
  .accordion-header,
  .back-link,
  .back-cta-btn,
  .game-row {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .spin-btn:active {
    transform: scale(0.96);
  }

  .game-row:active .game-name {
    color: var(--gold-light);
  }

  .accordion-header:active {
    color: var(--gold-light);
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-logo {
    animation: none;
  }

  .hero-suits span {
    animation: none;
  }

  .game-header-icon {
    animation: none;
  }
}