/* === CSS RESET & BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* === TYPOGRAPHY === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
/* Using Inter as fallback, but targeting Cabinet Grotesk and General Sans style via variable-like hierarchy */

:root {
  --bg: #050505;
  --surface: #0d0d0d;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #fbbf24; /* Casino Gold */
  --accent-glow: rgba(251, 191, 36, 0.5);
  --secondary: #e11d48; /* Casino Red */

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-glass: 0 8px 32px 0 rgba(0,0,0,0.4);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);

  --container-max: 1240px;
  --section-pad: 60px;
  --font-heading: 'Inter', sans-serif; /* Assigned Cabinet Grotesk */
  --font-body: 'Inter', sans-serif;    /* Assigned General Sans */
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 18px; /* Editorial low density */
  overflow-x: clip;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul { list-style: none; }

/* === STRUCTURAL BASELINES === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 5%;
  width: 100%;
}

section {
  padding: var(--section-pad) 0;
  position: relative;
  z-index: 1;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-glass);
}

/* === NAVIGATION (HIDDEN UNTIL SCROLL) === */
.casino-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.casino-nav.is-visible {
  transform: translateY(0);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
}

.nav-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
  color: var(--text);
}

/* === BUTTONS & INTERACTION === */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  position: relative;
  padding-bottom: 4px;
}

.cta-link i {
  transition: transform 0.3s ease;
}

.cta-link:hover i {
  transform: translateX(5px);
}

.cta-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.cta-link:hover::after {
  width: 100%;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  border: 1px solid #333;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.store-btn:hover {
  background: #111;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.store-btn i {
  font-size: 1.5rem;
}

.btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.btn-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.btn-brand {
  font-weight: 600;
  font-size: 1rem;
}

/* === HERO SECTION === */
.hero-arena {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
  background: radial-gradient(circle at center, #1e1b4b 0%, #0c0a09 50%, #050505 100%);
}

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

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 3rem;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-val {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
}

.hero-stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* === GALLERY MASONRY === */
.party-mosaic {
  columns: 3 300px;
  column-gap: 20px;
}

.mosaic-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mosaic-item:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px var(--accent-glow);
}

.mosaic-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* === HOW IT WORKS === */
.spin-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  flex: 1;
  text-align: center;
  position: relative;
}

.step-badge {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 1.5rem;
}

.step-icon {
  font-size: 3rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.step-card h3 {
  margin-bottom: 1rem;
}

.step-arrow {
  position: absolute;
  top: 40px;
  right: -1rem;
  font-size: 1.5rem;
  color: var(--glass-border);
}

/* === FEATURE TIMELINE === */
.feature-timeline {
  position: relative;
  max-width: 1000px;
  margin: 4rem auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--glass-border);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  position: relative;
  margin-bottom: 4rem;
  width: 100%;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 50px;
  height: 50px;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
}

.timeline-content {
  width: 90%;
  padding: 0 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
  text-align: left;
}

.timeline-item:nth-child(odd) .timeline-content {
  text-align: right;
}

/* === STATS COUNTER === */
.stats-counter-bar {
  background: var(--surface);
  padding: 4rem 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.counter-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.counter-label {
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

/* === REVIEWS === */
.voices-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  position: relative;
}

.review-featured {
  grid-row: span 2;
}

.quote-icon {
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.1;
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.stars {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* === DOWNLOAD CTA === */
.final-call {
  text-align: center;
  padding: 100px 0;
}

.call-icon {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  margin: 0 auto 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.call-tagline {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

/* === FOOTER === */
.minimal-footer {
  text-align: center;
  padding: 60px 0;
  border-top: 1px solid var(--glass-border);
}

.footer-icon {
  width: 24px;
  height: 24px;
  margin: 0 auto 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-link:hover {
  color: var(--accent);
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* === ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* === BACKGROUND BLOBS === */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(100px);
  opacity: 0.3;
  animation: float 20s infinite alternate;
}

.blob-1 { top: -10%; left: -10%; background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%); }
.blob-2 { bottom: -10%; right: -10%; background: radial-gradient(circle, rgba(225, 29, 72, 0.1) 0%, transparent 70%); }

@keyframes float {
  from { transform: translate(0, 0); }
  to { transform: translate(50px, 50px); }
}

/* === MOBILE ADAPTIVITY === */
@media (max-width: 768px) {
  section { padding: 4rem 0; }

  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-stat-val { font-size: 1.75rem; }

  .party-mosaic { columns: 1; }

  .spin-steps { flex-direction: column; align-items: center; }
  .step-arrow { display: none; }

  .timeline-line { left: 20px; }
  .timeline-item { padding: 0 0 0 60px; justify-content: flex-start; }
  .timeline-item:nth-child(even) { padding-left: 60px; }
  .timeline-dot { left: 20px; }
  .timeline-content { text-align: left !important; padding: 0; width: 100%; }

  .voices-grid { grid-template-columns: 1fr; }

  .nav-links { display: none; } /* Simplified for single-page hamburger would go here */

  .glass-panel { padding: 1.5rem; }

  .footer-links { flex-direction: column; gap: 1rem; }
}

@media (min-width: 1024px) {
  .timeline-content { width: 450px; }
}
