:root {
  /* Base Layers */
  --bg-primary: #1a120b;
  --bg-secondary: #2c1b12;
  --bg-elevated: rgba(255, 244, 220, 0.05);
  --bg-glass: rgba(44, 27, 18, 0.7);
  --bg-glass-dark: rgba(26, 18, 11, 0.85);

  /* Accents */
  --accent-primary: #c2410c;
  --accent-secondary: #f97316;
  --accent-highlight: #facc15;
  --accent-gold-glow: rgba(250, 204, 21, 0.15);
  --accent-rust-glow: rgba(194, 65, 12, 0.2);

  /* Typography */
  --text-primary: #fff7ed;
  --text-secondary: #fed7aa;
  --text-muted: #fdba74;
  --text-dim: rgba(253, 186, 116, 0.5);

  /* Gradients */
  --gradient-rust: linear-gradient(135deg, #c2410c, #f97316);
  --gradient-gold: linear-gradient(135deg, #f97316, #facc15);
  --gradient-sunset: linear-gradient(180deg, #2c1b12 0%, #1a120b 100%);
  --gradient-hero: linear-gradient(135deg, rgba(194, 65, 12, 0.15) 0%, rgba(26, 18, 11, 0.95) 60%);
  --gradient-card: linear-gradient(145deg, rgba(255, 244, 220, 0.06), rgba(255, 244, 220, 0.02));

  /* Borders */
  --border-subtle: rgba(253, 186, 116, 0.1);
  --border-gold: rgba(250, 204, 21, 0.25);
  --border-warm: rgba(249, 115, 22, 0.2);

  /* Shadows */
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-warm: 0 8px 32px rgba(194, 65, 12, 0.15);
  --shadow-gold: 0 0 40px rgba(250, 204, 21, 0.08);
  --shadow-deep: 0 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.25);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 50px;

  /* Spacing */
  --container-max: 1320px;
  --section-gap: 110px;
  --container-pad: 32px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Font */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Poppins', 'Inter', sans-serif;
}

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

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

button {
  cursor: pointer;
}

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

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

.section {
  padding: var(--section-gap) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 16px;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-secondary);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gradient-rust);
  border-radius: 2px;
}

/* ========== HEADER / NAV ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 18, 11, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  z-index: -1;
}

.site-header.scrolled::before {
  opacity: 1;
}

.site-header.scrolled {
  padding: 10px 0;
  border-bottom-color: var(--border-gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-primary);
  flex-shrink: 0;
  z-index: 1001;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-rust);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-warm);
}

.logo-text span {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  position: relative;
  transition: all var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
  transition: transform var(--transition-fast);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-rust);
  color: var(--text-primary);
  box-shadow: var(--shadow-warm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(194, 65, 12, 0.3);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--bg-primary);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(250, 204, 21, 0.2);
  filter: brightness(1.1);
}

.btn-outline {
  border: 1.5px solid var(--border-warm);
  color: var(--text-secondary);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
  background: rgba(249, 115, 22, 0.05);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--text-secondary);
  padding: 8px 16px;
}

.btn-ghost:hover {
  color: var(--accent-highlight);
  background: var(--bg-elevated);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: 18px;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-md);
}

/* ========== MOBILE NAV ========== */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
  transform-origin: center;
}

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

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

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

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-glass-dark);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 80px 32px;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-overlay .nav-link {
  font-size: 1.5rem;
  font-weight: 600;
  padding: 12px 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-smooth);
}

.mobile-nav-overlay.active .nav-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-overlay.active .nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.active .nav-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-overlay.active .nav-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-overlay.active .nav-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav-overlay.active .nav-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav-overlay.active .nav-link:nth-child(6) { transition-delay: 0.35s; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(194, 65, 12, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(250, 204, 21, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.hero-dust {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.dust-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(250, 204, 21, 0.15);
  border-radius: 50%;
  animation: floatDust 12s infinite linear;
}

.dust-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 14s; }
.dust-particle:nth-child(2) { left: 30%; top: 60%; animation-delay: 2s; animation-duration: 11s; }
.dust-particle:nth-child(3) { left: 50%; top: 30%; animation-delay: 4s; animation-duration: 16s; }
.dust-particle:nth-child(4) { left: 70%; top: 70%; animation-delay: 1s; animation-duration: 13s; }
.dust-particle:nth-child(5) { left: 85%; top: 40%; animation-delay: 3s; animation-duration: 15s; }
.dust-particle:nth-child(6) { left: 20%; top: 80%; animation-delay: 5s; animation-duration: 12s; }
.dust-particle:nth-child(7) { left: 60%; top: 15%; animation-delay: 7s; animation-duration: 18s; }
.dust-particle:nth-child(8) { left: 90%; top: 55%; animation-delay: 6s; animation-duration: 10s; }
.dust-particle:nth-child(9) { left: 45%; top: 90%; animation-delay: 8s; animation-duration: 17s; }
.dust-particle:nth-child(10) { left: 5%; top: 45%; animation-delay: 9s; animation-duration: 19s; }
.dust-particle:nth-child(11) { left: 75%; top: 25%; animation-delay: 3.5s; animation-duration: 14.5s; }
.dust-particle:nth-child(12) { left: 40%; top: 50%; animation-delay: 6.5s; animation-duration: 16.5s; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--accent-secondary);
  margin-bottom: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-secondary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 400px;
}

.hero-disclaimer a {
  color: var(--text-muted);
  text-decoration: underline;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-game-preview {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gradient-card);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-deep), 0 0 80px rgba(250, 204, 21, 0.06);
}

.hero-game-preview .game-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3d2010 0%, #1a120b 100%);
  position: relative;
}

.game-preview-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.1), rgba(250, 204, 21, 0.05));
}

.game-preview-placeholder .slot-icon {
  font-size: 4rem;
  animation: slowBounce 3s ease-in-out infinite;
}

.game-preview-placeholder span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-game-preview .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 18, 11, 0.4);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  cursor: pointer;
}

.hero-game-preview:hover .play-overlay {
  opacity: 1;
}

.play-btn-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gradient-rust);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 32px rgba(194, 65, 12, 0.4);
  transition: transform var(--transition-fast);
}

.hero-game-preview:hover .play-btn-circle {
  transform: scale(1.1);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  justify-content: center;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-highlight);
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== GAME SECTION ========== */
.game-section {
  position: relative;
}

.game-container {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gradient-card);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-deep), var(--shadow-gold);
  position: relative;
}

.game-container::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.3), transparent, rgba(194, 65, 12, 0.3));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
  z-index: 1;
}

.game-frame-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  background: var(--bg-primary);
}

.game-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.game-loading-skeleton {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg-secondary);
  z-index: 2;
  transition: opacity var(--transition-slow);
}

.game-loading-skeleton.loaded {
  opacity: 0;
  pointer-events: none;
}

.skeleton-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border-subtle);
  border-top-color: var(--accent-secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.game-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

.game-info-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.game-title-bar {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.game-tag {
  padding: 4px 12px;
  background: var(--accent-rust-glow);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--accent-secondary);
  font-weight: 600;
}

.game-info-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.game-info-right .btn-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  font-size: 1.1rem;
}

.game-info-right .btn-icon:hover {
  border-color: var(--accent-secondary);
  background: var(--accent-rust-glow);
}

/* ========== CARDS ========== */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.card:hover {
  border-color: var(--border-warm);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--accent-rust-glow);
  border: 1px solid var(--border-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ========== HIGHLIGHTS (Game Features) ========== */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.highlight-card {
  text-align: center;
  padding: 28px 20px;
}

.highlight-card .card-icon {
  margin: 0 auto 16px;
}

/* ========== REWARDS ========== */
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}

.reward-main {
  grid-row: span 2;
  padding: 40px;
  background: linear-gradient(145deg, rgba(194, 65, 12, 0.08), rgba(250, 204, 21, 0.04));
  border-color: var(--border-gold);
}

.reward-main .reward-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.reward-main h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.reward-main p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.reward-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
}

.reward-item .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.reward-item-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.reward-item-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========== LEADERBOARD ========== */
.leaderboard-section {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(250, 204, 21, 0.04) 0%, transparent 60%);
}

.leaderboard-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.leaderboard-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  justify-content: center;
}

.leaderboard-tab {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
  background: transparent;
}

.leaderboard-tab.active,
.leaderboard-tab:hover {
  color: var(--accent-highlight);
  border-color: var(--border-gold);
  background: var(--accent-gold-glow);
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.leaderboard-entry {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 24px;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.leaderboard-entry:hover {
  border-color: var(--border-warm);
  background: rgba(255, 244, 220, 0.04);
}

.leaderboard-entry.top-1 {
  border-color: var(--border-gold);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.08), transparent);
}

.leaderboard-entry.top-2 {
  border-color: rgba(192, 192, 192, 0.2);
}

.leaderboard-entry.top-3 {
  border-color: rgba(205, 127, 50, 0.2);
}

.lb-rank {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}

.top-1 .lb-rank {
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: var(--bg-primary);
  border: none;
  box-shadow: 0 4px 16px rgba(250, 204, 21, 0.3);
}

.top-2 .lb-rank {
  background: linear-gradient(135deg, #c0c0c0, #9ca3af);
  color: var(--bg-primary);
  border: none;
}

.top-3 .lb-rank {
  background: linear-gradient(135deg, #cd7f32, #b45309);
  color: var(--bg-primary);
  border: none;
}

.lb-player {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lb-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-rust);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.lb-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.lb-level {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.lb-score {
  text-align: right;
}

.lb-score-value {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-highlight);
  font-size: 1rem;
}

.lb-score-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== HOW IT WORKS ========== */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.how-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-gold), var(--border-gold), transparent);
  z-index: 0;
}

.how-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.how-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-rust);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-warm);
}

.how-step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.how-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========== PROMOTIONS ========== */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.promo-card {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.promo-card-bg {
  padding: 32px;
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.08), rgba(250, 204, 21, 0.04));
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.promo-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.promo-badge.live {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.promo-badge.upcoming {
  background: rgba(250, 204, 21, 0.15);
  color: var(--accent-highlight);
  border: 1px solid rgba(250, 204, 21, 0.3);
}

.promo-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.promo-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.promo-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ========== PROFILE / DASHBOARD ========== */
.profile-header {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  margin-bottom: 40px;
}

.profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--gradient-rust);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: var(--shadow-warm);
  flex-shrink: 0;
  border: 3px solid var(--border-gold);
}

.profile-info h2 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.profile-info .profile-level {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: var(--accent-gold-glow);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--accent-highlight);
  font-weight: 600;
}

.profile-stats {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.profile-stat {
  text-align: center;
}

.profile-stat-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-highlight);
}

.profile-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.xp-bar-container {
  margin-top: 12px;
}

.xp-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.xp-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 244, 220, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.xp-bar-fill {
  height: 100%;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
  transition: width 1s ease;
  width: 65%;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.achievement {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-fast);
}

.achievement.unlocked {
  border-color: var(--border-gold);
  background: linear-gradient(145deg, rgba(250, 204, 21, 0.06), transparent);
}

.achievement.locked {
  opacity: 0.4;
  filter: grayscale(0.5);
}

.achievement-icon {
  font-size: 1.8rem;
}

.achievement-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input,
.form-textarea,
.form-select {
  padding: 14px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent-secondary);
  box-shadow: 0 0 0 3px var(--accent-rust-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23fdba74' viewBox='0 0 16 16'%3E%3Cpath d='M8 10.5l-5-5h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
}

.contact-info-card .card-icon {
  margin-bottom: 0;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========== LEGAL PAGES ========== */
.legal-page {
  padding-top: 120px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 12px;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-primary);
  background: none;
  -webkit-text-fill-color: var(--text-primary);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content ul li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.7;
  position: relative;
  list-style: none;
  padding-left: 16px;
}

.legal-content ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-secondary);
}

.legal-content a {
  color: var(--accent-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--accent-highlight);
}

/* ========== GAMES PAGE ========== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.game-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-warm);
  box-shadow: var(--shadow-card);
}

.game-card.featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.game-card-visual {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.1), rgba(250, 204, 21, 0.05));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.game-card.featured .game-card-visual {
  aspect-ratio: auto;
  min-height: 300px;
}

.game-card-visual .game-emoji {
  font-size: 3rem;
}

.game-card.featured .game-card-visual .game-emoji {
  font-size: 5rem;
}

.game-card-content {
  padding: 24px;
}

.game-card.featured .game-card-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.game-card-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.game-card.featured .game-card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.game-card-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.game-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.game-card-tags span {
  padding: 3px 10px;
  font-size: 0.7rem;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-weight: 500;
}

/* ========== ABOUT PAGE ========== */
.about-hero {
  text-align: center;
  padding-top: 140px;
  padding-bottom: 80px;
}

.about-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
}

.about-hero p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-story-content h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-story-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-story-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.1), rgba(250, 204, 21, 0.05));
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.team-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.team-stat-card {
  padding: 32px 16px;
}

.team-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-highlight);
  margin-bottom: 8px;
}

.team-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========== FOOTER ========== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 32px;
  background: linear-gradient(180deg, var(--bg-primary), rgba(26, 18, 11, 1));
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  font-size: 1.1rem;
}

.footer-social a:hover {
  border-color: var(--accent-secondary);
  background: var(--accent-rust-glow);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--accent-secondary);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-bottom-links a:hover {
  color: var(--accent-secondary);
}

.footer-disclaimer {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.footer-disclaimer p {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-trust-badges {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ========== EMPTY & ERROR STATES ========== */
.empty-state {
  text-align: center;
  padding: 60px 32px;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.empty-state p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.error-banner {
  padding: 16px 24px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.error-banner-icon {
  font-size: 1.2rem;
}

.error-banner p {
  font-size: 0.9rem;
  color: #fca5a5;
}

/* ========== SKELETON LOADING ========== */
.skeleton {
  background: linear-gradient(90deg, var(--bg-elevated) 25%, rgba(255, 244, 220, 0.08) 50%, var(--bg-elevated) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

.skeleton-text {
  height: 14px;
  margin-bottom: 8px;
}

.skeleton-text-lg {
  height: 20px;
  width: 60%;
  margin-bottom: 12px;
}

.skeleton-block {
  height: 200px;
}

/* ========== PAGE TRANSITION ========== */
.page-content {
  animation: pageIn 0.5s ease forwards;
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-rust);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-warm);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(194, 65, 12, 0.4);
}

/* ========== MISC UTILITIES ========== */
.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}