

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

:root {
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --emerald-primary: #10b981;
  --emerald-bright: #34d399;
  --emerald-deep: #064e3b;
  --emerald-glow: rgba(16, 185, 129, 0.35);

  --gold-primary: #f59e0b;
  --gold-bright: #fbbf24;
  --gold-deep: #b45309;
  --gold-glow: rgba(245, 158, 11, 0.4);

  --accent-cyan: #06b6d4;
  --accent-red: #ef4444;

  --bg-main: #06110b;
  --bg-surface: #0a1f15;
  --bg-surface-2: #0f2c1e;
  --bg-card: rgba(15, 44, 30, 0.7);
  --bg-card-hover: rgba(20, 58, 40, 0.85);

  --ink-primary: #f0fdf4;
  --ink-secondary: #a7f3d0;
  --ink-muted: #6ee7b7;
  --ink-subtle: #4b7b64;

  --border-light: rgba(52, 211, 153, 0.18);
  --border-strong: rgba(52, 211, 153, 0.35);
  --border-gold: rgba(251, 191, 36, 0.3);

  --grad-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  --grad-emerald: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
  --grad-hero: linear-gradient(180deg, rgba(6, 17, 11, 0.4) 0%, rgba(6, 17, 11, 0.95) 100%);
  --grad-card: linear-gradient(180deg, rgba(15, 44, 30, 0.8) 0%, rgba(10, 31, 21, 0.95) 100%);
  --grad-text: linear-gradient(110deg, #fef08a 0%, #fbbf24 45%, #34d399 100%);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 45px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.25);
  --shadow-gold-glow: 0 0 30px rgba(245, 158, 11, 0.25);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 9999px;

  --container-max: 1240px;
  --nav-height: 80px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--ink-primary);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.grad-text {
  color: var(--gold-bright);
  font-weight: 800;
  display: inline-block;
}

.text-gold {
  color: var(--gold-bright);
}

.text-emerald {
  color: var(--emerald-bright);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(6, 17, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(6, 17, 11, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-bottom-color: var(--border-strong);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-emerald);
  box-shadow: 0 0 15px var(--emerald-glow);
}

.brand span.domain {
  color: var(--gold-bright);
  font-weight: 600;
  font-size: 1.25rem;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-secondary);
  padding: 8px 4px;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-gold);
  border-radius: var(--r-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-full);
  font-size: 0.88rem;
}

.user-chip .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #06110b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.user-chip .details {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.user-chip .username {
  font-weight: 700;
  color: #ffffff;
}

.user-chip .tier-tag {
  font-size: 0.75rem;
  color: var(--gold-bright);
  font-weight: 600;
}

.burger-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--ink-primary);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  transition: var(--transition);
}

.drawer-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 190;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.drawer-scrim.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-strong);
  z-index: 200;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--bg-surface-2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-nav a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-secondary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-nav a:hover,
.drawer-nav a.active {
  color: var(--gold-bright);
}

.drawer-footer {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-footer [data-auth-slot] {
  width: 100%;
}

.drawer-footer .btn {
  width: 100%;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--r-md);
  letter-spacing: 0.01em;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-gold);
  color: #06110b;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  filter: brightness(1.08);
}

.btn-secondary {
  background: var(--bg-surface-2);
  color: #ffffff;
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--emerald-deep);
  border-color: var(--emerald-bright);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-emerald {
  background: var(--grad-emerald);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
  filter: brightness(1.08);
}

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

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: var(--r-lg);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-gold {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--border-strong);
  color: var(--emerald-bright);
}

.badge-live {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.hero {
  position: relative;
  padding: 70px 0 90px;
  background: radial-gradient(circle at 75% 35%, rgba(13, 92, 58, 0.4) 0%, rgba(6, 17, 11, 0.98) 65%), #06110b;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 20%, rgba(251, 191, 36, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 50%, rgba(16, 185, 129, 0.16) 0%, transparent 60%);
  pointer-events: none;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 3;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 92, 58, 0.35);
  border: 1px solid rgba(251, 191, 36, 0.4);
  padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fbbf24;
  text-transform: uppercase;
  width: fit-content;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.15);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: #ffffff;
}

.hero-highlight {
  color: #facc15;
  background: linear-gradient(135deg, #fef08a 0%, #facc15 50%, #ca8a04 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: 1.12rem;
  color: #d1fae5;
  line-height: 1.65;
  max-width: 520px;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.btn-hero-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 45%, #d97706 100%);
  color: #06110b;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 32px;
  border-radius: var(--r-full);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: all var(--trans-fast);
  border: 1px solid #fde68a;
}

.btn-hero-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(251, 191, 36, 0.55);
  filter: brightness(1.06);
}

.btn-hero-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 28px;
  border-radius: var(--r-full);
  transition: all var(--trans-fast);
}

.btn-hero-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--emerald-bright);
  color: #ffffff;
  transform: translateY(-2px);
}

.hero-stats-row {
  display: flex;
  align-items: flex-end;
  gap: 36px;
  padding-top: 24px;
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-gold {
  color: #fbbf24;
}

.stat-green {
  color: #34d399;
}

.stat-lbl {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #9ca3af;
  text-transform: uppercase;
}

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

.hero-art-card {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(251, 191, 36, 0.25);
  background: #06110b;
}

.hero-art-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-art-card:hover img {
  transform: scale(1.025);
}

.section {
  padding: 90px 0;
  position: relative;
}

.section-alt {
  background: rgba(10, 31, 21, 0.4);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-head h2 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

.section-head p {
  font-size: 1.1rem;
  color: var(--ink-secondary);
}

.games-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 10px 22px;
  border-radius: var(--r-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--ink-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--emerald-deep);
  border-color: var(--emerald-bright);
  color: #ffffff;
  box-shadow: 0 0 15px var(--emerald-glow);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.game-card {
  background: var(--grad-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--emerald-bright);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.game-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-surface-2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-card-thumb svg,
.game-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.game-card:hover .game-card-thumb svg,
.game-card:hover .game-card-thumb img {
  transform: scale(1.05);
}

.game-card-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.game-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.game-card-body h3 {
  font-size: 1.35rem;
  color: #ffffff;
}

.game-card-body p {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.55;
  flex: 1;
}

.game-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  margin-top: 4px;
}

.game-card-meta span {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-weight: 600;
}

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

.feature-card {
  background: var(--grad-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
}

.feature-card h3 {
  font-size: 1.25rem;
}

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

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
}

.step-card {
  background: var(--grad-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  position: relative;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: var(--r-full);
  padding: 4px 14px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--ink-secondary);
}

.cta-banner {
  background: linear-gradient(135deg, var(--emerald-deep) 0%, #062b1a 60%, var(--bg-surface) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 64px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: 2.75rem;
  max-width: 700px;
}

.cta-banner p {
  font-size: 1.15rem;
  color: var(--ink-secondary);
  max-width: 580px;
}

.game-stage-wrapper {
  padding: 40px 0 80px;
}

.game-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.game-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink-secondary);
  font-size: 0.95rem;
}

.game-back-link:hover {
  color: var(--gold-bright);
}

.game-container-box {
  background: var(--bg-surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
}

.slot-machine-ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.slot-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 24px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  flex-wrap: wrap;
  gap: 16px;
}

.slot-stat {
  display: flex;
  flex-direction: column;
}

.slot-stat .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  font-weight: 700;
}

.slot-stat .val {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-bright);
}

.reels-frame {
  display: flex;
  gap: 16px;
  background: #030a06;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 3px solid var(--border-gold);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(245, 158, 11, 0.2);
  width: 100%;
  max-width: 680px;
  justify-content: center;
}

.reel-column {
  flex: 1;
  height: 240px;
  background: linear-gradient(180deg, rgba(15, 44, 30, 0.9) 0%, rgba(6, 17, 11, 0.95) 50%, rgba(15, 44, 30, 0.9) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.reel-column.spinning .symbol-display {
  animation: reelSpin 0.15s linear infinite;
  filter: blur(2px);
}

@keyframes reelSpin {
  0% { transform: translateY(-50px); opacity: 0.5; }
  100% { transform: translateY(50px); opacity: 1; }
}

.symbol-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.symbol-icon {
  width: 72px;
  height: 72px;
}

.symbol-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.slot-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  flex-wrap: wrap;
}

.bet-control {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface-2);
  padding: 6px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-light);
}

.bet-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--emerald-deep);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bet-btn:hover {
  background: var(--emerald-primary);
}

.slot-message {
  min-height: 32px;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  color: var(--gold-bright);
}

.wheel-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.wheel-canvas-container {
  position: relative;
  width: 360px;
  height: 360px;
  max-width: 100%;
}

#fortuneWheelCanvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 40px var(--gold-glow);
}

.wheel-pointer {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 32px solid var(--gold-bright);
  z-index: 10;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.6));
}

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

.tier-card {
  background: var(--grad-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: var(--transition);
}

.tier-card.active-tier {
  border-color: var(--gold-bright);
  box-shadow: var(--shadow-gold-glow);
}

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

.tier-header h3 {
  font-size: 1.4rem;
}

.tier-badge {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-weight: 700;
}

.tier-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.tier-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-secondary);
}

.tier-perks svg {
  width: 18px;
  height: 18px;
  color: var(--emerald-bright);
  flex-shrink: 0;
  margin-top: 2px;
}

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

.status-card {
  background: var(--grad-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-info h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.status-info p {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-dot.online {
  background-color: var(--emerald-bright);
  box-shadow: 0 0 10px var(--emerald-bright);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  flex-shrink: 0;
}

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

.info-item p, .info-item a {
  font-size: 0.95rem;
  color: var(--ink-secondary);
}

.contact-form-card {
  background: var(--grad-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.contact-form-card p.form-subtitle {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold-bright);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
  background: rgba(15, 44, 30, 0.9);
}

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

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-secondary);
  cursor: pointer;
}

.form-checkbox-label input {
  margin-top: 4px;
  accent-color: var(--gold-bright);
}

.lead-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lead-modal.active {
  opacity: 1;
  visibility: visible;
}

.lead-modal-content {
  background: var(--bg-surface);
  border: 2px solid var(--emerald-bright);
  border-radius: var(--r-xl);
  padding: 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.lead-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.lead-modal-data {
  background: var(--bg-surface-2);
  padding: 16px;
  border-radius: var(--r-md);
  width: 100%;
  font-size: 0.85rem;
  text-align: left;
  border: 1px solid var(--border-light);
}

.legal-page-header {
  padding: 60px 0 40px;
  text-align: center;
  background: var(--grad-card);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 50px;
}

.legal-page-header h1 {
  font-size: 2.75rem;
  margin-bottom: 12px;
}

.legal-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.legal-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.legal-notice-box {
  background: rgba(245, 158, 11, 0.08);
  border-left: 4px solid var(--gold-bright);
  padding: 20px 24px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin-bottom: 40px;
  font-size: 0.95rem;
  color: var(--ink-primary);
}

.legal-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-light);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.5rem;
  color: var(--gold-bright);
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.clause-number {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--emerald-bright);
  font-weight: 800;
}

.legal-section p {
  font-size: 0.98rem;
  color: var(--ink-secondary);
  margin-bottom: 14px;
  line-height: 1.7;
}

.legal-section ul,
.legal-section ol {
  margin: 14px 0 14px 24px;
  color: var(--ink-secondary);
}

.legal-section li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.site-footer {
  background: #030a06;
  border-top: 1px solid var(--border-strong);
  padding: 70px 0 30px;
}

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

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-brand-col p {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  max-width: 340px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold-bright);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.footer-links-list a:hover {
  color: var(--gold-bright);
  padding-left: 4px;
}

.social-links-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

.social-btn svg {
  width: 16px;
  height: 16px;
  color: var(--gold-bright);
}

.social-btn:hover {
  background: var(--emerald-deep);
  border-color: var(--emerald-bright);
  color: #ffffff;
}

.footer-trust-strip {
  margin: 30px 0 35px;
  padding: 24px 20px;
  background: rgba(9, 31, 20, 0.6);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.trust-strip-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.trust-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 18px;
  border-radius: var(--r-md);
  transition: var(--transition);
  min-height: 48px;
  text-decoration: none;
}

.trust-badge-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

.trust-svg {
  height: 28px;
  width: auto;
  display: block;
}

.badge-age {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.08);
}

.age-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #ef4444;
  color: #ef4444;
  font-weight: 900;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f3f4f6;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.footer-disclaimer-text {
  font-size: 0.82rem;
  color: var(--ink-subtle);
  max-width: 900px;
  line-height: 1.6;
}

.footer-uk-address {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--ink-subtle);
}

.age-gate-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 10, 6, 0.94);
  backdrop-filter: blur(14px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.age-gate-modal.show {
  opacity: 1;
  visibility: visible;
}

.age-gate-dialog {
  background: var(--bg-surface);
  border: 2px solid var(--gold-bright);
  border-radius: var(--r-xl);
  padding: 44px 36px;
  max-width: 540px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 50px rgba(245, 158, 11, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.age-badge-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #06110b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  box-shadow: 0 0 25px var(--gold-glow);
}

.age-gate-dialog h2 {
  font-size: 2rem;
}

.age-gate-dialog p {
  font-size: 0.98rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.age-gate-actions {
  display: flex;
  gap: 16px;
  width: 100%;
  margin-top: 10px;
}

.age-gate-actions button {
  flex: 1;
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 600px;
  background: rgba(10, 31, 21, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 24px;
  z-index: 9900;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-header h4 {
  font-size: 1.15rem;
}

.cookie-banner p {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.auth-modal.active {
  opacity: 1;
  visibility: visible;
}

.auth-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 40px;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.auth-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface-2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.auth-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}

.auth-tab-btn {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink-muted);
  padding: 6px 12px;
}

.auth-tab-btn.active {
  color: var(--gold-bright);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-desc {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats-row {
    justify-content: center;
  }

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

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

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .nav-desktop {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .hero-title {
    font-size: 2.7rem;
  }

  .hero-stats-row {
    gap: 20px;
    flex-wrap: wrap;
  }

  .stat-num {
    font-size: 2rem;
  }

  .section-head h2 {
    font-size: 2rem;
  }

  .cta-banner h2 {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .reels-frame {
    gap: 10px;
    padding: 14px;
  }

  .symbol-icon {
    width: 48px;
    height: 48px;
  }

  .symbol-name {
    font-size: 0.85rem;
  }

  .reel-column {
    height: 180px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 450px) {
  .header-actions [data-auth-slot] {
    display: none !important;
  }
}

.game-stage {
  padding: 40px 0 80px;
  min-height: calc(100vh - var(--nav-height) - 300px);
}

.game-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-secondary);
  background: var(--bg-card);
  padding: 10px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-soft);
  transition: all var(--trans-fast);
}

.back-link:hover {
  color: #fff;
  border-color: var(--emerald-bright);
  background: rgba(13, 92, 58, 0.2);
}

.g-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.g-title h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.frame-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; 
  height: 0;
  background: #000000;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 2px solid var(--border-medium);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--emerald-glow);
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .frame-wrap {
    padding-bottom: 75%; 
  }
}

.frame-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.game-switch {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.game-switch a {
  padding: 12px 24px;
  border-radius: var(--r-md);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  color: var(--ink-secondary);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--trans-fast);
}

.game-switch a:hover {
  color: #fff;
  border-color: var(--gold-primary);
  background: rgba(251, 191, 36, 0.1);
}

.game-switch a.current {
  color: #06110b;
  background: var(--grad-gold);
  border-color: var(--gold-bright);
  box-shadow: 0 4px 15px var(--gold-glow);
}

.game-description-box {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 32px;
  margin-top: 32px;
}

.game-description-box h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-bright);
  margin-bottom: 12px;
}

.game-description-box p {
  color: var(--ink-secondary);
  line-height: 1.7;
}
