/* ============================================
   REVÉRSÉ SOCIETY x MyLuckySol — Casino Collab
   ULTRA-PREMIUM dark chrome + gold aesthetic
   V2 — Maximum impact edition
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --black: #000000;
  --black-rich: #020202;
  --dark-panel: #050505;
  --dark-card: rgba(15, 15, 20, 0.6);
  --dark-border: rgba(255, 255, 255, 0.05);
  --dark-border-light: rgba(255, 255, 255, 0.1);
  --chrome-dark: #52525b;
  --chrome-mid: #a1a1aa;
  --chrome-light: #d4d4d8;
  --chrome-white: #ffffff;
  --casino-gold: #f59e0b;
  --casino-gold-light: #fbbf24;
  --casino-gold-dark: #d97706;
  --casino-green: #10b981;
  --casino-green-light: #34d399;
  --neon-purple: #7C3AED;
  --font-primary: 'Outfit', -apple-system, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background: var(--black);
  color: var(--chrome-light);
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.6;
  cursor: none;
}

/* ==========================================
   CUSTOM CURSOR
   ========================================== */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--casino-gold);
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.1s ease, background 0.2s;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

body:hover .cursor-dot,
body:hover .cursor-ring { opacity: 1; }

.cursor-hover .cursor-ring {
  width: 60px; height: 60px;
  border-color: var(--casino-gold);
  background: rgba(245, 158, 11, 0.05);
}
.cursor-hover .cursor-dot {
  transform: translate(-50%, -50%) scale(1.5);
  background: var(--casino-gold-light);
}

/* ==========================================
   SCROLL PROGRESS BAR
   ========================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--casino-gold-dark), var(--casino-gold), var(--casino-gold-light));
  z-index: 10000;
  width: 0%;
  transition: width 0.05s linear;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

/* --- Canvas Layers --- */
#bg-canvas,
#gold-particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
#gold-particles { z-index: 1; }

/* --- Ambient Glows --- */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  z-index: 0;
}
.ambient-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1), transparent 70%);
  top: -200px; right: -100px;
  animation: ambientDrift1 12s ease-in-out infinite alternate;
}
.ambient-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.07), transparent 70%);
  bottom: -150px; left: -100px;
  animation: ambientDrift2 15s ease-in-out infinite alternate;
}
.ambient-glow-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.05), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ambientDrift3 20s ease-in-out infinite alternate;
}
@keyframes ambientDrift1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, 60px) scale(1.2); }
}
@keyframes ambientDrift2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -40px) scale(1.15); }
}
@keyframes ambientDrift3 {
  0% { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-40%, -60%) scale(1.3); }
}

/* ==========================================
   CINEMATIC ENTRANCE
   ========================================== */
#cinematic-entrance {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 9999;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

/* ==========================================
   THE SOLANA VAULT DOORS (ULTRA DETAIL)
   ========================================== */
.vault-bg-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  background: #000;
}
.vault-door {
  position: absolute;
  top: 0; height: 100%; width: 50%;
  background-color: #0f0f0f;
  background-image: 
    linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.8) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.5) 0%, transparent 5%, transparent 95%, rgba(0,0,0,0.5) 100%),
    repeating-linear-gradient(45deg, transparent 0, transparent 150px, rgba(0,0,0,0.15) 150px, rgba(0,0,0,0.15) 155px);
  overflow: hidden;
  box-shadow: 
    inset 0 0 150px rgba(0,0,0,1),
    inset 4px 4px 10px rgba(255,255,255,0.02),
    inset -4px -4px 10px rgba(0,0,0,0.8);
  will-change: transform;
}
.vault-left { left: 0; border-right: 5px solid var(--casino-gold-dark); }
.vault-right { right: 0; border-left: 5px solid var(--casino-gold-dark); }

/* Brushed metal look */
.vault-metal-texture {
  position: absolute;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.01) 0px, rgba(255,255,255,0.01) 1px, transparent 1px, transparent 4px),
              repeating-linear-gradient(0deg, rgba(0,0,0,0.1) 0px, rgba(0,0,0,0.1) 2px, transparent 2px, transparent 5px);
  pointer-events: none;
}

/* Edge beams holding the doors */
.vault-beam-vertical {
  position: absolute;
  top: 0; height: 100%; width: 120px;
  background: linear-gradient(90deg, #181818, #2a2a2a, #181818);
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
}
.left-edge-beam { right: 0; border-left: 2px solid #000; }
.right-edge-beam { left: 0; border-right: 2px solid #000; }

/* Structural Rivets */
.vault-rivets {
  position: absolute;
  width: 100%; height: 40px;
  background-image: radial-gradient(circle, #333 30%, transparent 35%),
                    radial-gradient(circle, #000 30%, transparent 35%);
  background-size: 80px 80px;
  background-position: 0 0, 2px 2px;
}
.top-rivet { top: 15%; }
.bottom-rivet { bottom: 15%; }

/* Hazard Stripes (Industrial Feel) */
.vault-hazard-stripes {
  position: absolute;
  top: 0; width: 40px; height: 100%;
  background: repeating-linear-gradient(
    45deg,
    #000,
    #000 20px,
    var(--casino-gold-dark) 20px,
    var(--casino-gold-dark) 40px
  );
  opacity: 0.3;
  box-shadow: inset 0 0 20px rgba(0,0,0,1);
}
.left-stripes { right: 120px; }
.right-stripes { left: 120px; }

/* Status LED Panels */
.vault-led-panel {
  position: absolute;
  top: 25%; width: 140px; height: 60px;
  background: #050505;
  border: 4px solid #1a1a1a;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 2px;
  box-shadow: inset 0 0 20px rgba(0,0,0,1);
}
.led-left { right: 180px; }
.led-right { left: 180px; }
.led-label { font-size: 10px; color: #555; }
.led-status { font-size: 14px; font-weight: 800; }
.led-locked {
  color: #ef4444; 
  text-shadow: 0 0 10px #ef4444;
  animation: ledBlink 1.5s infinite;
}
.led-unlocked {
  color: var(--solana-green);
  text-shadow: 0 0 10px var(--solana-green);
}
@keyframes ledBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Hydraulic Ventilation Grates */
.vault-vent-grate {
  position: absolute;
  width: 200px; height: 80px;
  background: repeating-linear-gradient(
    90deg,
    #050505,
    #050505 5px,
    #1a1a1a 5px,
    #1a1a1a 15px
  );
  border: 5px solid #222;
  box-shadow: inset 0 0 30px rgba(0,0,0,1), 0 5px 10px rgba(0,0,0,0.5);
  left: 50%;
  transform: translateX(-50%);
}
.vent-top { top: 5%; }
.vent-bottom { bottom: 5%; }

/* Giant Horizontal Locking Deadbolts */
.vault-deadbolt {
  position: absolute;
  width: 100px; height: 40px;
  background: linear-gradient(0deg, #111, #333, #111);
  border: 2px solid #000;
  box-shadow: 0 10px 20px rgba(0,0,0,0.8), inset 0 0 10px rgba(255,255,255,0.05);
  z-index: 1;
}
/* The deadbolts sit slightly inside the door naturally, and will retract during the sequence */
#vault-left .vault-deadbolt { right: -30px; border-radius: 0 10px 10px 0; }
#vault-right .vault-deadbolt { left: -30px; border-radius: 10px 0 0 10px; }

.db-top { top: 40%; }
.db-mid { top: 50%; }
.db-bot { top: 60%; }

/* The Center Seam & Plasma Bleed */
.vault-seam {
  position: absolute;
  top: 0; left: 50%;
  width: 6px; height: 100%;
  background: #fff;
  transform: translateX(-50%) scaleY(0);
  box-shadow: 0 0 40px 15px rgba(52, 211, 153, 0.9), 0 0 80px 30px rgba(245, 158, 11, 0.7);
  z-index: 2;
  transform-origin: center;
}
.vault-plasma-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 2px; height: 100%;
  background: transparent;
  box-shadow: 0 0 120px 60px rgba(52, 211, 153, 0.0);
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* Retracting Heavy Pistons */
.vault-piston {
  position: absolute;
  left: 50%; width: 160px; height: 400px;
  z-index: 1;
  transform: translateX(-50%);
}
.piston-top { top: -400px; } /* will slide down to 0 */
.piston-bottom { bottom: -400px; transform: translateX(-50%) rotate(180deg); }

.piston-teeth {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 100%;
  background: repeating-linear-gradient(0deg, #111 0px, #111 20px, #2a2a2a 20px, #2a2a2a 40px);
  border: 2px solid #000;
}
.piston-head {
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 60px;
  background: linear-gradient(0deg, var(--casino-gold-dark), var(--casino-gold));
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.9);
}
.piston-head::before {
  content: ''; position: absolute;
  bottom: -15px; left: 20%; width: 60%; height: 30px;
  background: #111; border-radius: 5px;
}

/* Central Wheel System */
.vault-wheel-container {
  position: absolute;
  top: 50%; left: 50%;
  width: 400px; height: 400px;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.vault-wheel {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  transform: scale(0);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, #050505 50%, #1a1a1a 100%);
  box-shadow: 0 0 80px rgba(0,0,0,1), inset 0 0 30px rgba(0,0,0,1);
}

.vault-outer-ring {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 15px solid #222;
  box-shadow: 0 0 20px rgba(0,0,0,0.9);
}

.vault-inner-cog {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, #111 0deg 10deg, #2a2a2a 10deg 20deg);
  mask-image: radial-gradient(circle, transparent 40%, black 41%);
  -webkit-mask-image: radial-gradient(circle, transparent 40%, black 41%);
}

.vault-gear {
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 10px dashed var(--casino-gold);
  animation: cogSpin 10s linear infinite reverse;
}

.vault-core-logo {
  position: absolute;
  width: 140px; height: 140px;
  border-radius: 50%;
  border: 6px solid var(--solana-green);
  box-shadow: 0 0 30px var(--solana-green), inset 0 0 30px var(--solana-green);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sol-core-flare {
  position: absolute;
  width: 60px; height: 60px;
  background: var(--solana-green);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: pulseCore 1.5s infinite;
}

@keyframes pulseCore {
  0%, 100% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 20px var(--solana-green); }
  50% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 50px var(--solana-green); }
}
@keyframes cogSpin {
  100% { transform: rotate(360deg); }
}

#cin-particles {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Scanlines overlay */
.cin-scanlines {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 3;
  animation: scanlineFlicker 8s linear infinite;
}
@keyframes scanlineFlicker {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.6; }
}

/* Cinematic letterbox bars */
.cin-letterbox-top,
.cin-letterbox-bottom {
  position: absolute;
  left: 0; width: 100%;
  height: 12%;
  background: var(--black);
  z-index: 15;
  pointer-events: none;
}
.cin-letterbox-top { top: 0; }
.cin-letterbox-bottom { bottom: 0; }

.cin-vignette {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.9) 100%);
  animation: vignetteBreathe 6s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}
@keyframes vignetteBreathe {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.cin-flash {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: white;
  opacity: 0;
  z-index: 5;
  pointer-events: none;
}

/* Shockwave ring */
.cin-shockwave {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid var(--casino-gold);
  opacity: 0;
  z-index: 4;
  pointer-events: none;
}

/* God rays container */
.cin-godrays {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
  z-index: 3;
  pointer-events: none;
}
.cin-godray {
  position: absolute;
  top: 0; left: 0;
  width: 2px;
  height: 500px;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.3), transparent);
  transform-origin: top center;
  opacity: 0;
}

.cin-stage {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 1000px;
  padding: 20px;
}

.cin-partnership-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px; /* Force wide spacing between logos */
  width: 100%;
  position: relative;
  padding: 40px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.02) 0%, transparent 70%);
  border-radius: 200px;
}

/* Base framing logic for both logos to give them equal visual weight and padding */
.cin-logo-frame {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glow ring behind logos during convergence */
.cin-glow-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 400px; height: 100px; /* Stretch into an ellipse bridging the two */
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.1), transparent 70%);
  box-shadow: 0 0 100px rgba(245, 158, 11, 0.2);
}

.cin-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cin-re-wrap img {
  opacity: 0;
  will-change: transform, opacity, filter;
}

.cin-re-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  animation: sheenSweep 3s ease-in-out 2s infinite;
  pointer-events: none;
}

.cin-mls-wrap::after {
  content: '';
  position: absolute;
  top: -20%; left: -20%;
  width: 140%; height: 140%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent 60%);
  opacity: 0;
  animation: mlsGlow 3s ease-in-out 3s infinite;
  pointer-events: none;
}
@keyframes mlsGlow {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* The new 'X' mathematical connection node */
.cin-x-node {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}
.node-ring {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2), inset 0 0 15px rgba(245, 158, 11, 0.2);
  animation: nodePulse 2s ease-in-out infinite;
}
.node-line {
  position: absolute;
  width: 2px;
  height: 24px;
  background: var(--casino-gold);
  box-shadow: 0 0 10px var(--casino-gold);
}
.node-1 { transform: rotate(45deg); }
.node-2 { transform: rotate(-45deg); }

@keyframes nodePulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

.cin-text {
  text-align: center;
  margin-top: 40px;
}

.cin-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.8em;
  text-transform: uppercase;
  color: var(--casino-gold);
  opacity: 0;
  will-change: transform, opacity, letter-spacing;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.cin-title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.1;
  margin-top: 12px;
  background: linear-gradient(135deg, #fff 0%, var(--casino-gold-light) 30%, var(--casino-gold) 50%, #fff 70%, var(--casino-gold-light) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 4s ease-in-out infinite;
  opacity: 0;
  will-change: transform, opacity, filter;
  position: relative;
}

/* Glitch effect layers */
.cin-title::before,
.cin-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: inherit;
  background-size: inherit;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
}
.cin-title.glitch::before {
  animation: glitch1 0.3s ease both;
  color: var(--casino-gold);
}
.cin-title.glitch::after {
  animation: glitch2 0.3s ease 0.05s both;
  color: var(--casino-green);
}
@keyframes glitch1 {
  0% { clip-path: inset(40% 0 60% 0); transform: translate(-4px, 2px); opacity: 0.8; }
  20% { clip-path: inset(10% 0 80% 0); transform: translate(3px, -1px); }
  40% { clip-path: inset(60% 0 20% 0); transform: translate(-2px, 3px); }
  60% { clip-path: inset(30% 0 50% 0); transform: translate(4px, -2px); }
  80% { clip-path: inset(70% 0 10% 0); transform: translate(-1px, 1px); }
  100% { clip-path: inset(0 0 0 0); transform: translate(0); opacity: 0; }
}
@keyframes glitch2 {
  0% { clip-path: inset(60% 0 20% 0); transform: translate(4px, -2px); opacity: 0.6; }
  25% { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 1px); }
  50% { clip-path: inset(50% 0 30% 0); transform: translate(2px, -3px); }
  75% { clip-path: inset(10% 0 70% 0); transform: translate(-4px, 2px); }
  100% { clip-path: inset(0 0 0 0); transform: translate(0); opacity: 0; }
}

.cin-sub {
  font-size: clamp(15px, 2vw, 22px);
  font-weight: 300;
  color: var(--chrome-mid);
  margin-top: 12px;
  opacity: 0;
  will-change: transform, opacity;
}

.cin-enter-btn {
  margin-top: 48px;
  padding: 18px 64px;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--black);
  background: linear-gradient(135deg, var(--casino-gold), var(--casino-gold-light));
  border: 2px solid var(--casino-gold);
  border-radius: 60px;
  cursor: none;
  opacity: 0;
  will-change: transform, opacity;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  z-index: 20;
}
.cin-enter-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 50px rgba(245, 158, 11, 0.5), 0 0 100px rgba(245, 158, 11, 0.2), 0 0 150px rgba(245, 158, 11, 0.08);
  letter-spacing: 0.4em;
}
.cin-enter-btn::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: 60px;
  background: conic-gradient(from 0deg, var(--casino-gold), var(--casino-gold-light), #fff, var(--casino-gold-light), var(--casino-gold));
  z-index: -1;
  animation: borderSpin 3s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
}
.cin-enter-btn:hover::before { opacity: 1; }
@keyframes borderSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cin-skip-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 20;
  animation: fadeInUp 1s ease 3s both;
}

@keyframes sheenSweep {
  0% { left: -100%; }
  35%, 100% { left: 250%; }
}

@keyframes goldShimmer {
  0% { background-position: 300% 0; }
  100% { background-position: -300% 0; }
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.3), 0 0 40px rgba(245, 158, 11, 0.1); }
  50% { box-shadow: 0 0 50px rgba(245, 158, 11, 0.5), 0 0 80px rgba(245, 158, 11, 0.2), 0 0 120px rgba(245, 158, 11, 0.08); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Screen shake utility */
.screen-shake {
  animation: shake 0.4s ease-out;
}
@keyframes shake {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-8px, 4px); }
  20% { transform: translate(6px, -6px); }
  30% { transform: translate(-4px, 8px); }
  40% { transform: translate(8px, -4px); }
  50% { transform: translate(-6px, 2px); }
  60% { transform: translate(4px, -6px); }
  70% { transform: translate(-2px, 4px); }
  80% { transform: translate(6px, -2px); }
  90% { transform: translate(-4px, 6px); }
}

/* ==========================================
   CASINO NAVIGATION
   ========================================== */
.casino-nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(30px) saturate(1.5);
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
  border-bottom: 1px solid rgba(245, 158, 11, 0.1);
  z-index: 100;
}

.casino-nav-back {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 500;
  color: var(--chrome-mid);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: none;
}
.casino-nav-back::before {
  content: '\2190';
  font-size: 16px;
  transition: transform 0.3s;
}
.casino-nav-back:hover { color: var(--casino-gold); }
.casino-nav-back:hover::before { transform: translateX(-4px); }

.casino-nav-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.03);
  padding: 8px 24px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), inset 0 0 10px rgba(255,255,255,0.02);
}
.casino-nav-re { height: 32px; object-fit: contain; }
.casino-nav-x {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 300;
  color: var(--casino-gold);
  opacity: 0.4;
}
.casino-nav-mls { height: 32px; object-fit: contain; }

.casino-nav-hub {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 500;
  color: var(--casino-gold);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 30px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: none;
}
.casino-nav-hub:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--casino-gold);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
  transform: translateY(-1px);
}

/* ==========================================
   MAIN CONTENT
   ========================================== */
#casino-content {
  position: relative;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}
#casino-content.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================
   SCROLLING MARQUEE
   ========================================== */
.casino-marquee-wrap {
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid rgba(245, 158, 11, 0.08);
  border-bottom: 1px solid rgba(245, 158, 11, 0.08);
  background: rgba(245, 158, 11, 0.02);
  position: relative;
}
.casino-marquee {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
}
.casino-marquee span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245, 158, 11, 0.35);
  padding: 0 40px;
  flex-shrink: 0;
}
.casino-marquee span::after {
  content: '\2726';
  margin-left: 40px;
  color: rgba(245, 158, 11, 0.2);
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.casino-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

/* Hero floating coins canvas */
#hero-coins-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.casino-hero > * { position: relative; z-index: 1; }

.casino-hero-logos {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 40px;
}
.casino-hero-logos img {
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(245, 158, 11, 0.2));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.casino-hero-logos img:first-child {
  height: 150px;
}
.casino-hero-logos img:hover {
  transform: scale(1.08) rotate(-2deg);
}
.casino-hero-logos .hero-x {
  font-family: var(--font-primary);
  font-size: 40px;
  font-weight: 100;
  background: linear-gradient(135deg, var(--casino-gold), var(--casino-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: xPulse 3s ease-in-out infinite;
}
@keyframes xPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.casino-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--casino-gold);
  margin-bottom: 32px;
  animation: floatBadge 4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  background: transparent;
}
/* Animated rotating border for badge */
.casino-hero-badge::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: 30px;
  background: conic-gradient(from 0deg, var(--casino-gold), transparent, var(--casino-gold), transparent, var(--casino-gold));
  animation: borderSpin 4s linear infinite;
  z-index: -2;
}
.casino-hero-badge::after {
  content: '';
  position: absolute;
  top: 1px; left: 1px; right: 1px; bottom: 1px;
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.9);
  z-index: -1;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.casino-hero h1 {
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, var(--casino-gold-light) 30%, var(--casino-gold) 50%, #fff 70%, var(--casino-gold-light) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 5s ease-in-out infinite;
  text-shadow: none;
}

.casino-hero-subtitle {
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 300;
  color: var(--chrome-mid);
  max-width: 650px;
  margin-bottom: 44px;
  line-height: 1.7;
}

.casino-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* --- Buttons --- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 44px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  background: linear-gradient(135deg, var(--casino-gold), var(--casino-gold-light));
  border: none;
  border-radius: 60px;
  cursor: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.btn-gold::after {
  content: '';
  position: absolute;
  top: -50%; left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-gold:hover::after { left: 200%; }
.btn-gold:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 50px rgba(245, 158, 11, 0.4), 0 0 100px rgba(245, 158, 11, 0.12);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 44px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--chrome-light);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 60px;
  cursor: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-ghost:hover {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.04);
  color: var(--casino-gold-light);
  transform: translateY(-3px);
  box-shadow: 0 5px 30px rgba(245, 158, 11, 0.08);
}

/* Ripple effect on buttons */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: rippleOut 0.6s ease-out;
  pointer-events: none;
}
@keyframes rippleOut {
  to { transform: scale(4); opacity: 0; }
}

/* --- Section Base --- */
.casino-section {
  padding: 120px 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.casino-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--casino-gold);
  margin-bottom: 16px;
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.casino-section-title {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--chrome-white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.casino-section-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 300;
  color: var(--chrome-mid);
  max-width: 650px;
  line-height: 1.7;
}

/* --- SVG Line Divider --- */
.casino-divider-svg {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 20px;
  overflow: visible;
}
.casino-divider-line {
  stroke: var(--casino-gold);
  stroke-width: 1;
  opacity: 0.3;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 1.5s ease-out;
}
.casino-divider-svg.drawn .casino-divider-line {
  stroke-dashoffset: 0;
}
.casino-divider-dot {
  fill: var(--casino-gold);
  opacity: 0;
  transition: opacity 0.5s ease 1.5s;
}
.casino-divider-svg.drawn .casino-divider-dot {
  opacity: 0.6;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.casino-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.casino-about-text h3 {
  font-size: 30px;
  font-weight: 700;
  color: var(--chrome-white);
  margin-bottom: 24px;
  line-height: 1.3;
}
.casino-about-text h3 span {
  background: linear-gradient(135deg, var(--casino-gold), var(--casino-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.casino-about-text p {
  font-size: 16px;
  font-weight: 300;
  color: var(--chrome-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.casino-about-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.casino-about-logo-wrap {
  position: relative;
  padding: 40px;
}
.casino-about-logo-wrap img {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 0 40px rgba(245, 158, 11, 0.2));
  animation: logoFloat 6s ease-in-out infinite;
}
/* Orbiting ring around logo */
.casino-about-logo-wrap::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 350px; height: 350px;
  border-radius: 50%;
  border: 1px solid rgba(245, 158, 11, 0.1);
  animation: orbitRing 10s linear infinite;
}
.casino-about-logo-wrap::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08), transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes orbitRing {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
/* Orbiting dot */
.casino-orbit-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--casino-gold);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
  top: 50%; left: 50%;
  animation: orbitDot 8s linear infinite;
}
@keyframes orbitDot {
  from { transform: rotate(0deg) translateX(175px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(175px) rotate(-360deg); }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.casino-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--casino-gold);
  background: rgba(245, 158, 11, 0.06);
  margin-top: 24px;
}

/* ==========================================
   STATS SECTION
   ========================================== */
.casino-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 40px;
}

.casino-stat {
  text-align: center;
  padding: 32px 16px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  transition: all 0.4s ease;
}
.casino-stat:hover {
  border-color: rgba(245, 158, 11, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.casino-stat-num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--casino-gold), var(--casino-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.casino-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--chrome-mid);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ==========================================
   FEATURES GRID
   ========================================== */
.casino-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.casino-feature-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  padding: 40px 28px;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: none;
/* 3D tilt will be applied via JS */
  transform-style: preserve-3d;
  perspective: 1200px;
}
/* Revert translateZ applied incorrectly here, apply deeply instead */
.casino-feature-card:hover {
  border-color: transparent;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(245, 158, 11, 0.06);
}

/* Deeper 3D Elements Support */
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  z-index: 1;
}

.pop-out {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}
.casino-feature-card:hover .pop-out {
  transform: translateZ(40px);
}

/* Spotlight glow following mouse */
.card-spotlight {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08), transparent 60%);
  mix-blend-mode: overlay;
}
.casino-feature-card:hover .card-spotlight { opacity: 1; }
.casino-feature-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: 20px;
  background: radial-gradient(circle 250px at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--casino-gold) 0%, transparent 100%);
  z-index: -2;
  opacity: 0;
  transition: opacity 0.4s;
}
.casino-feature-card:hover::before { opacity: 1; }

.casino-feature-img {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.casino-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  filter: brightness(0.85) saturate(0.9);
}
.casino-feature-card:hover .casino-feature-img img {
  transform: scale(1.08);
  filter: brightness(1) saturate(1.1);
}

.casino-feature-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--chrome-white);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.casino-feature-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--chrome-mid);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ==========================================
   HOW IT WORKS
   ========================================== */
.casino-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 60px;
  position: relative;
}

.casino-step {
  flex: 1;
  max-width: 320px;
  text-align: center;
  padding: 0 30px;
  position: relative;
}

.casino-step-num {
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--black);
  background: linear-gradient(135deg, var(--casino-gold), var(--casino-gold-light));
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.2), 0 0 60px rgba(245, 158, 11, 0.08);
  transition: all 0.4s ease;
}
.casino-step:hover .casino-step-num {
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.4), 0 0 80px rgba(245, 158, 11, 0.15);
  transform: scale(1.1);
}

.casino-step-connector {
  position: absolute;
  top: 35px;
  left: calc(50% + 45px);
  width: calc(100% - 90px);
  height: 2px;
  background: linear-gradient(90deg, var(--casino-gold), rgba(245, 158, 11, 0.15));
  z-index: 1;
}
.casino-step:last-child .casino-step-connector { display: none; }

.casino-step h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--chrome-white);
  margin-bottom: 8px;
}

.casino-step p {
  font-size: 14px;
  font-weight: 300;
  color: var(--chrome-mid);
  line-height: 1.6;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.casino-cta-section {
  text-align: center;
  padding: 120px 40px;
  position: relative;
}

.casino-cta-card {
  background: var(--dark-card);
  border: 1px solid rgba(245, 158, 11, 0.12);
  border-radius: 24px;
  padding: 80px 60px;
  max-width: 800px;
  margin: 0 auto;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  position: relative;
  overflow: hidden;
}
.casino-cta-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.05), transparent 50%);
  pointer-events: none;
}
/* Animated border glow on CTA card */
.casino-cta-card::after {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: 24px;
  background: conic-gradient(from 0deg, transparent 70%, var(--casino-gold) 80%, transparent 90%);
  z-index: -1;
  animation: borderSpin 6s linear infinite;
  opacity: 0.3;
}

.casino-cta-card h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--casino-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  position: relative;
}

.casino-cta-card > p {
  font-size: 18px;
  font-weight: 300;
  color: var(--chrome-mid);
  margin-bottom: 40px;
  position: relative;
}

.casino-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ==========================================
   FOOTER
   ========================================== */
.casino-footer {
  padding: 60px 40px 40px;
  text-align: center;
  border-top: 1px solid var(--dark-border);
  position: relative;
  z-index: 2;
}

.casino-footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}
.casino-footer-logos img { height: 28px; opacity: 0.4; transition: opacity 0.3s; }
.casino-footer-logos img:hover { opacity: 0.8; }
.casino-footer-logos span {
  color: var(--casino-gold);
  opacity: 0.4;
  font-size: 14px;
  font-weight: 200;
}

.casino-footer p {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.2);
  line-height: 1.8;
}
.casino-footer a {
  color: var(--casino-gold);
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.casino-footer a:hover { opacity: 1; }

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.anim-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: none;
}
.anim-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Variant: slide from left */
.anim-reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: none;
}
.anim-reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}
/* Variant: slide from right */
.anim-reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: none;
}
.anim-reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}
/* Variant: scale */
.anim-reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: none;
}
.anim-reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================
   TEXT MASK REVEALS
   ========================================== */
.text-mask-reveal {
  opacity: 1 !important;
  transform: none !important;
  visibility: hidden;
}
.text-mask-reveal.revealed {
  visibility: visible;
}
.text-mask-reveal .word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.text-mask-reveal .word {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Magnetic Items */
[data-magnetic] {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* ==========================================
   FLOATING SOUND WIDGET
   ========================================== */
.sound-toggle {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(15, 15, 20, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--casino-gold);
  z-index: 999;
  cursor: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.sound-toggle:hover {
  transform: scale(1.1);
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--casino-gold);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}
.sound-toggle svg {
  width: 20px;
  height: 20px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none !important; }
  .casino-nav { padding: 0 20px; }
  .casino-nav-logos { display: none; }

  .casino-hero { padding: 100px 24px 60px; }
  .casino-hero-logos img { height: 80px; }
  .casino-hero-logos img:first-child { height: 100px; }
  .casino-hero-logos .hero-x { font-size: 24px; }

  .casino-section { padding: 80px 24px; }

  .casino-about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .casino-about-visual { order: -1; }

  .casino-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 60px 24px; }

  .casino-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .casino-steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .casino-step-connector { display: none !important; }

  .casino-cta-card { padding: 60px 30px; }

  .cin-logo { width: 120px; height: 120px; }
  .cin-logo[alt="REVÉRSÉ"] { width: 150px; height: 150px; }
  .cin-x { font-size: 32px; }
  .cin-enter-btn { padding: 14px 40px; cursor: auto; }
  .cin-letterbox-top, .cin-letterbox-bottom { height: 8%; }

  .btn-gold, .btn-ghost, .casino-nav-hub, .casino-nav-back { cursor: auto; }
  .casino-feature-card { cursor: auto; }
}

@media (max-width: 540px) {
  .casino-hero-logos { flex-direction: column; gap: 12px; }
  .casino-hero-logos img { height: 60px; }
  .casino-hero-logos img:first-child { height: 75px; }

  .casino-stats { grid-template-columns: 1fr 1fr; }

  .casino-features-grid { grid-template-columns: 1fr; }

  .casino-cta-card { padding: 48px 20px; }

  .cin-logos-row { flex-direction: column; gap: 10px; }
  .cin-logo { width: 100px; height: 100px; }
  .cin-logo[alt="REVÉRSÉ"] { width: 125px; height: 125px; }
  .cin-x { font-size: 28px; margin: 0; }
  .cin-enter-btn { padding: 12px 32px; font-size: 14px; }
}

/* Touch device: hide custom cursor */
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none !important; }
  body { cursor: auto; }
  .btn-gold, .btn-ghost, .casino-nav-hub, .casino-nav-back,
  .casino-feature-card, .cin-enter-btn { cursor: auto; }
}
