:root {
  /* Core Background */
  --bg-deep-space: #0A0D12;
  --bg-gradient: linear-gradient(155deg, #161D2B 0%, #0A0D12 100%);

  /* Accents */
  --gold-gradient: linear-gradient(135deg, #D4B35C 0%, #F5D97E 45%, #C49230 100%);
  --silver-gradient: linear-gradient(135deg, #CDD2DA 0%, #E9ECF2 50%, #B0B8C4 100%);

  /* Text */
  --text-main: #F8F8FA;
  --text-muted: #9AA3B0;
  --text-gold: #F5D97E;

  /* Glass and Borders */
  --glass-bg: rgba(255, 255, 255, 0.035);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-hover: rgba(255, 255, 255, 0.07);

  /* Effects */
  --shadow-gold: 0 4px 22px rgba(244, 214, 126, 0.22);
  --shadow-gold-hover: 0 8px 32px rgba(244, 214, 126, 0.38);
  --glow-white: 0 4px 18px rgba(255, 255, 255, 0.08);
  --glow-white-hover: 0 8px 28px rgba(255, 255, 255, 0.14);

  /* Structure */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --sidebar-w: 280px;
  --header-h: 80px;

  /* Transition */
  --transition: all 0.28s cubic-bezier(0.22, 0.68, 0.35, 1);
}

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

body,
h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

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

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  outline: none;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-deep-space);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Star Dust Particles (Pseudo-element approach) */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 12% 45%, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    radial-gradient(circle at 80% 25%, rgba(244, 214, 126, 0.008) 1px, transparent 1px),
    radial-gradient(circle at 55% 75%, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 90px 90px;
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: var(--text-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.text-muted {
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  text-align: center;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0B0E13;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-hover);
}

.btn-silver {
  background: var(--silver-gradient);
  color: #0B0E13;
}

.btn-glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--glow-white);
}

/* Layout: Desktop Sidebar */
.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-w);
  background: rgba(11, 14, 19, 0.95);
  border-right: 1px solid var(--glass-border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 100;
  backdrop-filter: blur(20px);
}

.sidebar .logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition);
}

.sidebar-link:hover,
.sidebar-link.active {
  background: var(--glass-bg);
  color: var(--text-main);
}

.sidebar-link i {
  font-size: 20px;
}

.search-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.search-box input {
  background: transparent;
  border: none;
  color: var(--text-main);
  outline: none;
  width: 100%;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

/* Main Content */
.main-wrapper {
  flex: 1;
  margin-left: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Header (Desktop) */
.header-top {
  height: var(--header-h);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  background: rgba(11, 14, 19, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid var(--glass-border);
}

/* Hero Section */
.hero {
  padding: 40px;
  position: relative;
}

.hero-card {
  background: linear-gradient(105deg, rgba(10, 13, 18, 0.97) 0%, rgba(10, 13, 18, 0.85) 45%, rgba(10, 13, 18, 0.3) 70%, transparent 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  min-height: 420px;
  box-shadow: var(--glow-white), 0 0 60px rgba(244, 214, 126, 0.06);
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(244, 214, 126, 0.25), transparent 50%, rgba(244, 214, 126, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}

.hero-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  background: radial-gradient(ellipse at 90% 40%, rgba(244, 214, 126, 0.08), transparent 65%);
  pointer-events: none;
  z-index: 1;
}

/* Hero — Text Column */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 48px 0 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-gold);
  margin-bottom: 8px;
  font-weight: 600;
}

.hero-content h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.hero-highlight {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.hero-amount {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-upto {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-upto strong {
  font-size: 1.6rem;
  font-weight: 800;
}

.hero-spins {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  margin-top: 4px;
}

.hero-cta {
  font-size: 1.125rem;
  padding: 16px 40px;
  width: fit-content;
  animation: cta-pulse 2.5s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: var(--shadow-gold); }
  50% { box-shadow: 0 4px 30px rgba(244, 214, 126, 0.45), 0 0 60px rgba(244, 214, 126, 0.15); }
}

.hero-terms {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 16px;
  margin-bottom: 0;
  line-height: 1.4;
}

/* Hero — Image Column */
.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Hero — Dots */
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 48px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.hero-dots .dot {
  width: 8px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  transition: var(--transition);
}

.hero-dots .dot.active {
  width: 24px;
  background: var(--gold-gradient);
}

/* Withdrawal Counter */
.counter-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: var(--glass-bg);
  border: 1px solid rgba(201, 206, 214, 0.2);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  margin-top: 32px;
}

.counter-val {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: monospace;
}

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

/* Games Section */
.section {
  padding: 40px;
}

.section-header {
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tabs {
  display: flex;
  gap: 12px;
}

.tab {
  padding: 8px 16px;
  border-radius: 100px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
  font-weight: 500;
  transition: var(--transition);
}

.tab:hover {
  color: var(--text-main);
}

.tab.active {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  color: var(--text-main);
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.game-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  display: block;
}

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

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 18px rgba(244, 214, 126, 0.28);
  border-color: rgba(244, 214, 126, 0.45);
}

.game-card:hover img {
  transform: scale(1.06);
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: var(--transition);
}

.game-card:hover .game-overlay {
  opacity: 1;
}

.play-btn {
  background: var(--gold-gradient);
  color: #000;
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 600;
  text-align: center;
  width: 100%;
}

/* SEO Content */
.seo-content {
  padding: 60px 40px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--glass-border);
}

.seo-content article {
  max-width: 900px;
  margin: 0 auto;
}

.seo-content h2 {
  margin: 40px 0 20px;
  font-size: 2rem;
}

.seo-content h3 {
  margin: 30px 0 15px;
  font-size: 1.5rem;
  color: var(--text-gold);
}

.seo-content p,
.seo-content ul {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.seo-content ul {
  list-style: disc inside;
}

.seo-content li {
  margin-bottom: 8px;
}

.seo-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-size: 0.95rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.seo-content thead th {
  background: linear-gradient(135deg, rgba(198, 168, 90, 0.18) 0%, rgba(242, 210, 122, 0.10) 100%);
  color: var(--text-gold);
  font-weight: 600;
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(242, 210, 122, 0.2);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.seo-content tbody td {
  padding: 12px 18px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--glass-border);
}

.seo-content tbody tr:last-child td {
  border-bottom: none;
}

.seo-content tbody tr:hover {
  background: var(--glass-hover);
}

.seo-content .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0 32px;
  border-radius: var(--radius-md);
}

/* Mobile Bottom Nav (Hidden on Desktop) */
.mobile-nav {
  display: none;
}

.mobile-header {
  display: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .main-wrapper {
    margin-left: 0;
    padding-bottom: 80px;
  }

  .header-top {
    display: none;
  }

  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(11, 14, 19, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 90;
    border-bottom: 1px solid var(--glass-border);
  }

  .mobile-logo {
    font-family: 'Poppins';
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .hero {
    padding: 12px;
  }

  .hero-card {
    flex-direction: column;
    min-height: auto;
    background: var(--bg-deep-space);
    border-radius: var(--radius-md);
  }

  .hero-card::after {
    display: none;
  }

  .hero-image {
    position: relative;
    width: 100%;
    height: 320px;
    flex-shrink: 0;
    order: -1;
  }

  .hero-image img {
    object-position: top center;
  }

  .hero-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-deep-space), transparent);
    z-index: 1;
  }

  .hero-content {
    padding: 0 20px 28px;
    max-width: 100%;
    margin-top: -40px;
    position: relative;
    z-index: 2;
  }

  .hero-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 4px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
    margin-bottom: 8px;
  }

  .hero-amount {
    font-size: 2.6rem;
  }

  .hero-upto {
    font-size: 1.05rem;
  }

  .hero-upto strong {
    font-size: 1.3rem;
  }

  .hero-spins {
    font-size: 0.92rem;
    margin-bottom: 20px;
  }

  .hero-cta {
    width: auto;
    padding: 14px 48px;
  }

  .hero-terms {
    font-size: 0.65rem;
    margin-top: 12px;
  }

  .hero-dots {
    display: none;
  }

  .section {
    padding: 20px;
  }

  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .tabs {
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .tab {
    white-space: nowrap;
  }

  .seo-content {
    padding: 40px 20px;
  }

  /* Mobile Sticky Nav */
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(11, 14, 19, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    z-index: 100;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
  }

  .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-decoration: none;
  }

  .nav-item i {
    font-size: 24px;
  }

  .nav-item.active {
    color: var(--text-main);
  }

  /* Floating Orb */
  .nav-orb {
    position: relative;
    top: -20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
    border: 4px solid var(--bg-deep-space);
    color: #000;
  }

  .nav-orb i {
    color: #000;
    font-size: 28px;
  }
}