/* ============================================================
   NebulaX — Clean, Modern, Developer-Grade CSS Design System
   SaaS & Tech Inspired (Monochromatic Zinc + Violet Accents)
   ============================================================ */

:root {
  /* Color Palette (Deep Space Slate + Premium Contrast & Violet Accents) */
  --bg: #0e1017;
  --bg-secondary: #131620;
  --surface: #171b26;
  --surface-hover: #1e2433;
  --border: #242938;
  --border-hover: #3b4259;
  --text: #fafafa;
  --text-secondary: #b2b5be;
  --text-muted: #6f7380;
  --violet: #8b5cf6;
  --violet-glow: rgba(139, 92, 246, 0.12);
  --gradient-primary: linear-gradient(135deg, #7c3aed, #6d28d9);
  --gradient-text: linear-gradient(135deg, #ffffff 0%, #dcd7f9 50%, #b2a3f7 100%);
  --nav-bg: rgba(14, 16, 23, 0.85);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
  
  /* Fonts */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);
}

[data-theme="light"] {
  --bg: #fafafa;
  --bg-secondary: #f4f4f5;
  --surface: #ffffff;
  --surface-hover: #f4f4f5;
  --border: #e4e4e7;
  --border-hover: #d4d4d8;
  --text: #09090b;
  --text-secondary: #71717a;
  --text-muted: #a1a1aa;
  --violet: #7c3aed;
  --violet-glow: rgba(124, 58, 237, 0.05);
  --gradient-primary: linear-gradient(135deg, #7c3aed, #5b21b6);
  --gradient-text: linear-gradient(135deg, #09090b 0%, #71717a 100%);
  --nav-bg: rgba(250, 250, 250, 0.85);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* ─────────────────────────────────────────────────────────────
   1. RESET & BASE
   ───────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--violet);
  color: #fff;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  background: none;
  border: none;
}

/* ─────────────────────────────────────────────────────────────
   2. TYPOGRAPHY
   ───────────────────────────────────────────────────────────── */
.heading-xl {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.heading-md {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
}

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

.label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--violet);
  margin-bottom: 1rem;
  display: inline-block;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

/* ─────────────────────────────────────────────────────────────
   3. LAYOUT
   ───────────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ─────────────────────────────────────────────────────────────
   4. NAVIGATION
   ───────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  height: 72px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.1);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1) brightness(1.2);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-logo:hover .nav-logo-img {
  transform: rotate(90deg) scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.3s ease;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.theme-toggle-btn {
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.theme-toggle-btn:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

/* Hide inactive theme icon */
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 999;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-mobile.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.nav-mobile a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--text);
  color: var(--bg);
  padding: 0.8rem;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 1rem;
}

/* ─────────────────────────────────────────────────────────────
   5. HERO SECTION
   ───────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 4rem;
}

.hero-glow {
  position: absolute;
  top: 25%;
  left: 35%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  filter: blur(130px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  top: 45%;
  left: 65%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  filter: blur(110px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-image {
  max-width: 480px;
  width: 100%;
  margin-bottom: 3rem;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  transform: rotate(-14deg);
}

.hero-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

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

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--text);
  color: var(--bg);
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
  transform: translateY(-1px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounceDown 2s ease-in-out infinite;
}

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

/* ─────────────────────────────────────────────────────────────
   6. CARDS & GRID
   ───────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
  margin-bottom: 1.5rem;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────
   7. GAME PILLS
   ───────────────────────────────────────────────────────────── */
.pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.pill {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pill:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
}

/* ─────────────────────────────────────────────────────────────
   8. TIKTOK CARDS
   ───────────────────────────────────────────────────────────── */
.tiktok-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.tiktok-card:hover {
  border-color: var(--border-hover);
}

.tiktok-card-header {
  padding: 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tiktok-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  overflow: hidden; /* ensure image doesn't overflow container */
}

.tiktok-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.tiktok-card-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tiktok-card-body {
  padding: 2rem;
}

.tiktok-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
}

.tiktok-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.tiktok-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* live indicator dot */
.live-pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #10b981; /* beautiful emerald green */
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.tiktok-card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.tiktok-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--violet);
  font-size: 0.88rem;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.tiktok-link:hover {
  opacity: 0.8;
}

/* ─────────────────────────────────────────────────────────────
   9. BOUTIQUE / SHOP
   ───────────────────────────────────────────────────────────── */
.shop-gallery-section {
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.shop-gallery-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.gallery-scroll {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.gallery-scroll img {
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.gallery-scroll img:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s ease;
}

.pricing-card:hover {
  border-color: var(--border-hover);
}

.pricing-card-featured {
  border-color: var(--violet);
}

.pricing-card-featured:hover {
  border-color: var(--violet);
  box-shadow: 0 4px 30px rgba(139, 92, 246, 0.1);
}

.pricing-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--violet);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.pricing-header {
  padding: 2.5rem 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pricing-name {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.pricing-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 0.45rem 0;
}

.pricing-features li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
}

.pricing-card-featured .pricing-features li::before {
  background: var(--violet);
}

.pricing-feature-highlight {
  color: var(--violet) !important;
  font-weight: 600;
}

.pricing-btn {
  display: block;
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pricing-btn:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
}

.pricing-card-featured .pricing-btn {
  background: var(--text);
  color: var(--bg);
  border: none;
}

.pricing-card-featured .pricing-btn:hover {
  opacity: 0.9;
}

.shop-notices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.shop-notice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.shop-notice svg {
  flex-shrink: 0;
  color: var(--text-secondary);
}

.shop-notice p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.shop-notice p strong {
  color: var(--text);
}

.shop-notice-warning svg {
  color: #fbbf24;
}

/* ─────────────────────────────────────────────────────────────
   10. COUNTER / SINCE SECTION
   ───────────────────────────────────────────────────────────── */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.counter-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.counter-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

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

/* ─────────────────────────────────────────────────────────────
   11. STATS SECTION
   ───────────────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
}

.stat-icon-wrap {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  font-weight: 600;
}

.status-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
}

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

.dot.loading {
  background: #f59e0b;
  animation: pulse 1.5s infinite;
}

.dot.online {
  background: #10b981;
}

.dot.error {
  background: #ef4444;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

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

.refresh-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.refresh-btn:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
}

/* ─────────────────────────────────────────────────────────────
   12. FAQ SECTION
   ───────────────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin-top: 2rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  user-select: none;
}

.faq-arrow {
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--text);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 2rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

/* ─────────────────────────────────────────────────────────────
   13. HELP / CONTACT
   ───────────────────────────────────────────────────────────── */
.help-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--violet);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
}

.help-link svg {
  transition: transform 0.2s ease;
}

.help-link:hover svg {
  transform: translateX(3px);
}

.copy-btn {
  background: var(--text);
  color: var(--bg);
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  transition: opacity 0.2s;
}

.copy-btn:hover {
  opacity: 0.9;
}

.copy-confirm {
  display: none;
  font-size: 0.8rem;
  color: #10b981;
  margin-left: 0.8rem;
  font-weight: 600;
}

code {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text);
}

/* ─────────────────────────────────────────────────────────────
   14. RULES MODAL
   ───────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 3rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text);
}

.rules-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rule-item {
  display: flex;
  gap: 1.2rem;
}

.rule-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--violet);
}

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

/* ─────────────────────────────────────────────────────────────
   15. LIGHTBOX (CAROUSEL / GALLERY VIEW)
   ───────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 85%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: #fff;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

.lightbox-counter {
  position: absolute;
  bottom: 2rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ─────────────────────────────────────────────────────────────
   16. FLOATING UI ELEMENTS
   ───────────────────────────────────────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--violet);
  z-index: 1100;
  width: 0%;
}

.back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 99;
  transition: opacity 0.3s ease, border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.back-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-top:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
}

.shop-float {
  position: fixed;
  bottom: 2rem;
  right: 5.5rem;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.8rem 1.4rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 99;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s;
}

.shop-float:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

/* ─────────────────────────────────────────────────────────────
   17. SCROLL ANIMATIONS (INTERSECTION OBSERVER)
   ───────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.grid-3 .reveal:nth-child(2) { transition-delay: 0.1s; }
.grid-3 .reveal:nth-child(3) { transition-delay: 0.2s; }
.grid-3 .reveal:nth-child(4) { transition-delay: 0.3s; }
.grid-3 .reveal:nth-child(5) { transition-delay: 0.4s; }
.grid-3 .reveal:nth-child(6) { transition-delay: 0.5s; }

.pricing-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.pricing-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.pricing-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

.counter-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.counter-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.counter-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ─────────────────────────────────────────────────────────────
   18. FOOTER
   ───────────────────────────────────────────────────────────── */
.footer {
  padding: 4rem 0;
  background: var(--bg-secondary);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1) opacity(0.7);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

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

/* ─────────────────────────────────────────────────────────────
   19. RESPONSIVE MEDIA QUERIES
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .navbar-inner {
    padding: 0 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .grid-3, .grid-2, .grid-4, .pricing-grid, .stats-grid {
    grid-template-columns: 1fr;
  }

  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-notices {
    grid-template-columns: 1fr;
  }

  .status-bar {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-image {
    max-width: 360px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .counter-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-badge {
    position: relative;
    top: 0;
    right: 0;
    margin: 1rem 2rem 0;
    display: inline-block;
    width: fit-content;
  }
}

/* ─────────────────────────────────────────────────────────────
   20. KEYFRAMES & UTILS
   ───────────────────────────────────────────────────────────── */
@keyframes float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

/* ─────────────────────────────────────────────────────────────
   21. WEBKIT SCROLLBAR
   ───────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-hover);
}

@media (max-width: 1024px) {
  .btn-commandes {
    display: none !important;
  }
}
