/* ==========================================================================
   Digital Marketplace - Professional Dark & Light Design System
   ========================================================================== */

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

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);

  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;

  /* Default Dark Mode Tokens */
  --color-bg: #070a12;
  --color-surface: #111827;
  --color-surface-hover: #1f2937;
  --color-surface-elevated: #1f2937;
  --color-border: rgba(255, 255, 255, 0.12);
  --color-border-hover: rgba(255, 255, 255, 0.24);
  --color-text: #f9fafb;
  --color-text-muted: #9ca3af;
  --color-text-subtle: #6b7280;

  --color-primary: #6366f1;
  --color-primary-hover: #4f46e5;
  --color-primary-light: rgba(99, 102, 241, 0.18);
  --color-primary-text: #ffffff;

  --color-accent: #06b6d4;
  --color-secondary: #a855f7;
  --color-success: #10d07a;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;

  --color-emerald: #10d07a;
  --color-emerald-hover: #05b868;
  --color-emerald-light: rgba(16, 208, 122, 0.18);
  --color-emerald-glow: 0 0 20px rgba(16, 208, 122, 0.4);

  --color-success-bg: rgba(16, 208, 122, 0.15);
  --color-warning-bg: rgba(245, 158, 11, 0.15);
  --color-danger-bg: rgba(239, 68, 68, 0.15);

  --glass-bg: rgba(17, 24, 39, 0.85);
  --glass-border: rgba(255, 255, 255, 0.12);
}

[data-theme='light'] {
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-hover: #f1f5f9;
  --color-surface-elevated: #ffffff;
  --color-border: #e2e8f0;
  --color-border-hover: #cbd5e1;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-text-subtle: #94a3b8;

  --color-primary: #4f46e5;
  --color-primary-hover: #4338ca;
  --color-primary-light: rgba(79, 70, 229, 0.08);

  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(226, 232, 240, 0.8);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

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

/* Flex & Grid Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

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

.justify-between {
  justify-content: space-between;
}

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

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

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

.font-bold {
  font-weight: 700;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

/* Desktop-only visibility (hidden on mobile < 1024px) */
.desktop-only-nav,
.desktop-only-search,
.desktop-only-action,
.desktop-only-auth {
  display: flex;
}

@media (max-width: 992px) {

  .desktop-only-nav,
  .desktop-only-search,
  .desktop-only-action,
  .desktop-only-auth {
    display: none !important;
  }
}

/* Header Container & Flexible Responsive Architecture */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 0.75rem;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.25rem;
  overflow: visible;
  position: relative;
}

/* Right side of header: search + actions grouped */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  justify-content: flex-end;
  flex-shrink: 0;
  margin-left: auto;
}

/* Center nav column — flexible and centered without clipping or overlapping */
.header-nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 0.5rem;
  list-style: none;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--color-text);
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  font-weight: 700;
  font-size: 0.835rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a.nav-item {
  color: var(--color-text-muted);
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.835rem;
  font-weight: 700;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem;
  flex-shrink: 0;
  line-height: 1.3;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-links a.nav-item:hover,
.nav-links a.nav-item.active {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.06);
}

/* Free Zone Pill */
.nav-links a.nav-pill-free {
  background: rgba(16, 208, 122, 0.1) !important;
  border: 1px solid rgba(16, 208, 122, 0.3) !important;
  color: var(--color-emerald) !important;
  border-radius: 999px !important;
  padding: 0.28rem 0.65rem !important;
  font-size: 0.82rem !important;
}

.nav-links a.nav-pill-free:hover {
  background: rgba(16, 208, 122, 0.18) !important;
  border-color: rgba(16, 208, 122, 0.5) !important;
  box-shadow: 0 0 12px rgba(16, 208, 122, 0.25) !important;
}

/* Premium Zone Pill */
.nav-links a.nav-pill-premium {
  background: rgba(129, 140, 248, 0.1) !important;
  border: 1px solid rgba(129, 140, 248, 0.3) !important;
  color: #a5b4fc !important;
  border-radius: 999px !important;
  padding: 0.28rem 0.65rem !important;
  font-size: 0.82rem !important;
}

.nav-links a.nav-pill-premium:hover {
  background: rgba(129, 140, 248, 0.18) !important;
  border-color: rgba(129, 140, 248, 0.5) !important;
  box-shadow: 0 0 12px rgba(129, 140, 248, 0.25) !important;
}

/* Nav Dropdown Trigger */
.nav-dropdown-trigger {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.835rem;
  font-weight: 700;
  color: var(--color-text-muted);
  white-space: nowrap;
  line-height: 1.3;
  transition: all 0.2s ease;
  font-family: inherit;
  flex-shrink: 0;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-group:hover .nav-dropdown-trigger {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.06);
}

/* Mega Sub-Category Menus */
.nav-mega-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

/* Search Form */
.search-form.desktop-only-search {
  position: relative;
  max-width: 155px;
  width: 100%;
  flex-shrink: 1;
  transition: max-width var(--transition-fast);
}

.search-form.desktop-only-search:focus-within {
  max-width: 205px;
}

.search-form.desktop-only-search .search-input {
  width: 100%;
  height: 34px;
  padding-left: 2.1rem;
  padding-right: 3.3rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
  color: var(--color-text);
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}

.search-form.desktop-only-search .search-shortcut {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--color-text-subtle);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-xs);
  pointer-events: none;
  z-index: 10;
}

/* Responsive adjustments for standard desktops / laptops (1160px - 1359px) */
@media (max-width: 1359px) and (min-width: 1160px) {
  .header-container {
    padding: 0 1rem;
    gap: 0.5rem;
  }
  .header-nav-center {
    gap: 0.18rem;
    margin: 0 0.35rem;
  }
  .nav-links a.nav-item,
  .nav-dropdown-trigger {
    padding: 0.3rem 0.48rem !important;
    font-size: 0.8rem !important;
  }
  .nav-links a.nav-pill-free,
  .nav-links a.nav-pill-premium {
    padding: 0.24rem 0.5rem !important;
    font-size: 0.78rem !important;
  }
  .search-form.desktop-only-search {
    max-width: 125px;
  }
  .search-form.desktop-only-search:focus-within {
    max-width: 175px;
  }
  .search-form.desktop-only-search .search-shortcut {
    display: none !important;
  }
  .search-form.desktop-only-search .search-input {
    padding-right: 0.85rem !important;
  }
  .user-balance-chip {
    display: none !important;
  }
}

/* Responsive adjustments for compact desktops / tablets landscape (993px - 1159px) */
@media (max-width: 1159px) and (min-width: 993px) {
  .header-container {
    padding: 0 0.65rem;
    gap: 0.35rem;
  }
  .header-nav-center {
    gap: 0.12rem;
    margin: 0 0.25rem;
  }
  .nav-links a.nav-item,
  .nav-dropdown-trigger {
    padding: 0.24rem 0.36rem !important;
    font-size: 0.765rem !important;
  }
  .nav-links a.nav-pill-free,
  .nav-links a.nav-pill-premium {
    padding: 0.2rem 0.42rem !important;
    font-size: 0.74rem !important;
  }
  .search-form.desktop-only-search {
    max-width: 105px;
  }
  .search-form.desktop-only-search:focus-within {
    max-width: 155px;
  }
  .search-form.desktop-only-search .search-shortcut {
    display: none !important;
  }
  .search-form.desktop-only-search .search-input {
    padding-left: 1.8rem !important;
    padding-right: 0.6rem !important;
    font-size: 0.75rem !important;
  }
  .search-icon {
    left: 0.55rem !important;
    width: 13px !important;
    height: 13px !important;
  }
  .currency-dropdown .btn-secondary {
    padding: 0.3rem 0.45rem !important;
    font-size: 0.75rem !important;
  }
  .theme-toggle-btn,
  .cart-btn {
    width: 2.05rem !important;
    height: 2.05rem !important;
  }
  .user-menu-trigger-btn {
    padding: 0.22rem 0.5rem 0.22rem 0.25rem !important;
    font-size: 0.78rem !important;
  }
  .user-balance-chip {
    display: none !important;
  }
}

.nav-more-menu.show {
  display: block !important;
}

.nav-more-menu a:hover {
  background-color: var(--color-surface-hover);
  color: var(--color-emerald) !important;
}

.search-input {
  width: 100%;
  padding: 0.4rem 1.9rem 0.4rem 2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
  color: var(--color-text);
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-subtle);
  pointer-events: none;
}

.search-shortcut {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.1rem 0.3rem;
  border-radius: var(--radius-xs);
  background-color: var(--color-bg);
  color: var(--color-text-subtle);
  border: 1px solid var(--color-border);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.theme-toggle-btn,
.cart-btn {
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover,
.cart-btn:hover {
  background-color: var(--color-surface-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-1px);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  height: 18px;
  min-width: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

.btn-secondary {
  background-color: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border);
}

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

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.825rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-mesh {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 450px;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.12), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-light);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--color-primary);
  font-size: 0.825rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-primary);
  box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
  }
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 650px;
  margin: 0 auto 2rem;
}

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

/* Stats Counter */
.stats-banner {
  margin-top: 3.5rem;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-text);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-top: 0.2rem;
}

/* Section Common */
.section {
  padding: 3.5rem 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.section-title {
  font-size: 1.75rem;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.view-all-link {
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
}

.view-all-link:hover {
  gap: 0.6rem;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 1.25rem;
}

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

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

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

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

/* Category Cards */
.category-card {
  padding: 1.35rem 1rem;
  border-radius: var(--radius-md);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  transition: all var(--transition-normal);
}

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

.cat-icon-badge {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.15rem;
}

.cat-icon-1 {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
}

.cat-icon-2 {
  background: linear-gradient(135deg, #10b981, #047857);
  color: #fff;
}

.cat-icon-3 {
  background: linear-gradient(135deg, #6366f1, #4338ca);
  color: #fff;
}

.cat-icon-4 {
  background: linear-gradient(135deg, #ec4899, #be185d);
  color: #fff;
}

.cat-icon-5 {
  background: linear-gradient(135deg, #f59e0b, #b45309);
  color: #fff;
}

.category-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
}

.category-count {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  background-color: var(--color-bg);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  border: 1px solid var(--color-border);
}

/* Product Cards */
.product-card {
  border-radius: var(--radius-lg);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

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

.product-thumb-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--color-bg);
  overflow: hidden;
  display: block;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-thumb {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
}

.badge-discount {
  background-color: #ef4444;
  color: #ffffff;
}

.badge-free {
  background-color: #10b981;
  color: #ffffff;
}

.badge-format {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
  background-color: rgba(17, 24, 39, 0.85);
  color: #f9fafb;
}

.product-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.4rem;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #f59e0b;
  margin-bottom: 0.85rem;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}

.price-container {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.price-current {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-text);
}

.price-old {
  font-size: 0.8rem;
  color: var(--color-text-subtle);
  text-decoration: line-through;
}

/* Feature Cards */
.feature-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

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

.feature-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Testimonial Card */
.testimonial-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.avatar-circle {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FAQ Item */
.faq-item {
  border-radius: var(--radius-md);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.faq-item details summary {
  padding: 1.1rem 1.35rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-text);
}

.faq-item details summary::-webkit-details-marker {
  display: none;
}

.faq-item details summary::after {
  content: '＋';
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.faq-item details[open] summary::after {
  content: '✕';
}

.faq-item details .faq-answer {
  padding: 0 1.35rem 1.1rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  margin-top: 0.4rem;
  padding-top: 0.85rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
}

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

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

.wallet-badges {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.wallet-pill {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
}

.wallet-bkash {
  background-color: #e2136e;
  color: #fff;
}

.wallet-nagad {
  background-color: #f7931e;
  color: #fff;
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.825rem;
  color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.35rem;
  }

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

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

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

@media (max-width: 640px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .stats-banner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: 1fr;
  }

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

  .search-form {
    display: none;
  }
}

.currency-menu.show {
  display: block !important;
}

/* Hero Search Box & Pills */
.hero-search-box {
  max-width: 620px;
  margin: 2rem auto 1rem;
  position: relative;
}

.hero-search-input {
  width: 100%;
  padding: 1rem 3rem 1rem 3.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
  color: var(--color-text);
  font-size: 1rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-fast);
}

.hero-search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-light);
}

.hero-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.pill-tag {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.pill-tag:hover {
  border-color: var(--color-primary);
  color: var(--color-text);
}

/* Deal Countdown Timer */
.deal-banner {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15));
  border: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.countdown-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.countdown-box {
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  text-align: center;
  min-width: 68px;
}

.countdown-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
}

.countdown-lbl {
  font-size: 0.7rem;
  color: var(--color-text-subtle);
  font-weight: 700;
  text-transform: uppercase;
}

/* Tab Filters */
.tabs-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid transparent;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

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

.tab-btn.active {
  background-color: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-primary);
  box-shadow: var(--shadow-xs);
}

/* Floating Action Dock */
.floating-dock {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dock-btn {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-fast);
}

.dock-btn:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: var(--color-primary);
}

/* Global Form Controls & Auth Cards with Chrome Autofill Override */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="tel"],
select,
textarea,
.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg);
  color: var(--color-text);
  font-size: 0.925rem;
  box-sizing: border-box;
}

/* Inputs with left icons */
.icon-input-wrapper {
  position: relative;
  flex: 1;
}

.icon-input-wrapper svg,
.icon-input-wrapper .search-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
  z-index: 5;
}

.icon-input-wrapper input,
.input-with-icon-left {
  padding-left: 2.75rem !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-text-fill-color: #f9fafb !important;
  -webkit-box-shadow: 0 0 0px 1000px #070a12 inset !important;
  transition: background-color 5000s ease-in-out 0s;
  border-color: var(--color-border) !important;
}

.form-group {
  margin-bottom: 1.25rem;
  width: 100%;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
  text-align: left;
}

.form-control:focus {
  outline: none !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px var(--color-primary-light) !important;
  background-color: var(--color-surface) !important;
}

.form-card,
.auth-card {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}

/* Hero Search Box & Icon Positioning */
.hero-search-box {
  max-width: 620px;
  margin: 2rem auto 1rem;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-search-box .search-icon {
  position: absolute !important;
  left: 1.25rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--color-text-muted) !important;
  pointer-events: none !important;
  z-index: 10 !important;
}

input[type="search"].hero-search-input,
input.hero-search-input,
.hero-search-input {
  display: block !important;
  width: 100% !important;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
  padding-right: 7.5rem !important;
  padding-left: 3.75rem !important;
  border-radius: var(--radius-full) !important;
  border: 1px solid var(--color-border) !important;
  background-color: var(--color-surface) !important;
  color: var(--color-text) !important;
  font-size: 1rem !important;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-fast);
  box-sizing: border-box !important;
}

input[type="search"].hero-search-input:focus,
input.hero-search-input:focus,
.hero-search-input:focus {
  outline: none !important;
  border-color: var(--color-emerald) !important;
  box-shadow: 0 0 0 4px var(--color-emerald-light) !important;
}

/* Emerald Color Utility Classes */
.text-emerald {
  color: var(--color-emerald) !important;
}

.bg-emerald {
  background-color: var(--color-emerald) !important;
  color: #070a12 !important;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #10d07a, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.btn-emerald {
  background: linear-gradient(135deg, #10d07a, #059669) !important;
  color: #070a12 !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(16, 208, 122, 0.35) !important;
  transition: all var(--transition-fast) !important;
}

.btn-emerald:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 6px 20px rgba(16, 208, 122, 0.5) !important;
}

.badge-emerald {
  background-color: rgba(16, 208, 122, 0.15) !important;
  color: #10d07a !important;
  border: 1px solid rgba(16, 208, 122, 0.3) !important;
}

/* Navbar Search Form Styling */
.search-form {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 280px;
  width: 100%;
}

.search-form .search-icon {
  position: absolute !important;
  left: 0.85rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--color-text-muted) !important;
  pointer-events: none !important;
  z-index: 5 !important;
}

input[type="search"].search-input,
input.search-input,
.search-input {
  display: block !important;
  width: 100% !important;
  padding-top: 0.55rem !important;
  padding-bottom: 0.55rem !important;
  padding-left: 2.6rem !important;
  padding-right: 4.5rem !important;
  border-radius: var(--radius-full) !important;
  border: 1px solid var(--color-border) !important;
  background-color: var(--color-surface) !important;
  color: var(--color-text) !important;
  font-size: 0.85rem !important;
  box-sizing: border-box !important;
  transition: all var(--transition-fast);
}

input[type="search"].search-input:focus,
input.search-input:focus,
.search-input:focus {
  outline: none !important;
  border-color: var(--color-emerald) !important;
  box-shadow: 0 0 0 3px var(--color-emerald-light) !important;
}

.search-shortcut {
  position: absolute !important;
  right: 0.6rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  color: var(--color-text-subtle) !important;
  background-color: var(--color-bg) !important;
  border: 1px solid var(--color-border) !important;
  padding: 0.15rem 0.45rem !important;
  border-radius: var(--radius-xs) !important;
  pointer-events: none !important;
}

/* Dashboard Sidebar Nav Styling */
.dashboard-nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  background-color: var(--color-surface) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-lg) !important;
  padding: 1rem !important;
  min-width: 220px !important;
}

.dashboard-nav a {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  padding: 0.65rem 0.85rem !important;
  border-radius: var(--radius-md) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--color-text-muted) !important;
  transition: all var(--transition-fast) !important;
  text-decoration: none !important;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
  background-color: var(--color-emerald-light) !important;
  color: var(--color-emerald) !important;
}

/* ==========================================================================
   MOBILE FRIENDLY DASHBOARD & USER PANEL RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 860px) {
  .dashboard-layout {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .dashboard-nav {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding: 0.6rem !important;
    border-radius: var(--radius-lg) !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 0.5rem !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .dashboard-nav .group-title {
    display: none !important;
  }

  .dashboard-nav a {
    padding: 0.55rem 0.85rem !important;
    font-size: 0.825rem !important;
    border-radius: var(--radius-full) !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    flex-shrink: 0 !important;
  }

  .dashboard-nav a.active {
    background: linear-gradient(135deg, rgba(16, 208, 122, 0.2), rgba(99, 102, 241, 0.2)) !important;
    border: 1px solid rgba(16, 208, 122, 0.4) !important;
    color: var(--color-emerald) !important;
  }

  .dashboard-nav form {
    margin-top: 0 !important;
    flex-shrink: 0 !important;
  }

  .dashboard-nav form button {
    border-radius: var(--radius-full) !important;
    padding: 0.5rem 0.85rem !important;
    font-size: 0.825rem !important;
  }

  /* Grid Adjustments for Mobile */
  .grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Table Mobile Touch Support */
  .feature-card table {
    min-width: 520px !important;
  }

  /* Form Controls Touch Target */
  .form-control,
  .btn {
    font-size: 0.95rem !important;
  }
}

@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr !important;
  }

  .feature-card {
    padding: 1.1rem !important;
  }

  h1 {
    font-size: 1.5rem !important;
  }
}

/* ==========================================================================
   User Profile Dropdown Menu in Navigation
   ========================================================================== */
.user-profile-dropdown {
  position: relative;
}

.user-menu-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.75rem 0.3rem 0.35rem;
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.user-menu-trigger-btn:hover,
.user-menu-trigger-btn.active {
  border-color: var(--color-emerald);
  background-color: var(--color-surface-hover);
  box-shadow: 0 0 12px rgba(16, 208, 122, 0.25);
}

.user-avatar-pill {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-emerald), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #070a12;
  font-weight: 800;
  font-size: 0.75rem;
  overflow: hidden;
  flex-shrink: 0;
}

.user-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-nav-name {
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-arrow-icon {
  color: var(--color-text-subtle);
  transition: transform var(--transition-fast);
}

.user-menu-trigger-btn.active .dropdown-arrow-icon {
  transform: rotate(180deg);
}

/* Dropdown Card Container */
.user-menu-dropdown-card {
  display: none;
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  width: 280px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl), 0 0 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  z-index: 500;
  overflow: hidden;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.user-menu-dropdown-card.show {
  display: block;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.user-menu-header {
  padding: 1rem 1.1rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.user-avatar-large {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-emerald), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #070a12;
  font-weight: 800;
  font-size: 1.1rem;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(16, 208, 122, 0.3);
}

.user-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-meta-wrap {
  overflow: hidden;
  flex: 1;
}

.user-menu-fullname {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-menu-email {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.role-badge-admin {
  background: rgba(16, 208, 122, 0.15);
  border: 1px solid rgba(16, 208, 122, 0.4);
  color: var(--color-emerald);
}

.role-badge-user {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #818cf8;
}

.user-menu-divider {
  height: 1px;
  background-color: var(--color-border);
  margin: 0.25rem 0;
}

/* Zone Shortcuts Row */
.user-menu-zones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
}

.user-zone-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-md);
  font-size: 0.775rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.user-zone-pill.zone-free {
  background: rgba(16, 208, 122, 0.08);
  border: 1px solid rgba(16, 208, 122, 0.25);
  color: var(--color-emerald);
}

.user-zone-pill.zone-free:hover {
  background: rgba(16, 208, 122, 0.2);
  transform: translateY(-1px);
}

.user-zone-pill.zone-premium {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #818cf8;
}

.user-zone-pill.zone-premium:hover {
  background: rgba(99, 102, 241, 0.2);
  transform: translateY(-1px);
}

/* Nav Menu Links */
.user-menu-links {
  display: flex;
  flex-direction: column;
  padding: 0.35rem 0.5rem;
}

.user-menu-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.user-menu-item:hover {
  background-color: var(--color-bg);
  color: var(--color-text);
  padding-left: 0.85rem;
}

.user-menu-item-admin {
  background: rgba(16, 208, 122, 0.06);
  border: 1px solid rgba(16, 208, 122, 0.2);
  margin-bottom: 0.25rem;
}

.user-menu-item-admin:hover {
  background: rgba(16, 208, 122, 0.15);
  color: var(--color-emerald);
}

.admin-chip {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 800;
  background: var(--color-emerald);
  color: #070a12;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
}

.user-menu-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem;
  border-radius: var(--radius-sm);
  background-color: transparent;
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: var(--color-danger);
  font-size: 0.825rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.user-menu-logout-btn:hover {
  background-color: rgba(239, 68, 68, 0.12);
  border-color: var(--color-danger);
}

/* ==========================================================================
   Multi-Channel Floating Live Support Dock Widget
   ========================================================================== */
.floating-support-dock {
  position: fixed;
  bottom: 2rem;
  z-index: 9999;
}

.floating-support-dock.pos-right {
  right: 2rem;
}

.floating-support-dock.pos-left {
  left: 2rem;
}

@media (max-width: 640px) {
  .floating-support-dock {
    bottom: 1.25rem;
  }

  .floating-support-dock.pos-right {
    right: 1.25rem;
  }

  .floating-support-dock.pos-left {
    left: 1.25rem;
  }

  .support-launcher-btn {
    width: 44px;
    height: 44px;
  }

  .lucky-wheel-floating-btn {
    bottom: 1.25rem;
    left: 1.25rem;
    width: 44px;
    height: 44px;
  }
}

/* Launcher Button - Compact Circle Icon */
.support-launcher-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  background: linear-gradient(135deg, #10d07a, #059669);
  color: #070a12;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(16, 208, 122, 0.45), 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
}

.support-launcher-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 28px rgba(16, 208, 122, 0.6), 0 4px 8px rgba(0, 0, 0, 0.3);
}

.support-launcher-btn:active {
  transform: scale(0.95);
}

.launcher-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #070a12;
}

.launcher-icon svg {
  width: 24px;
  height: 24px;
}

.launcher-pulse {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px solid #10d07a;
  animation: launcherRipple 2s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

@keyframes launcherRipple {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.status-indicator-dot {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #22c55e;
  border: 2.5px solid #ffffff;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.8);
  z-index: 2;
}

/* Tooltip on Hover */
.support-btn-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
}

.support-btn-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 18px;
  border-width: 5px;
  border-style: solid;
  border-color: #0f172a transparent transparent transparent;
}

.support-launcher-btn:hover .support-btn-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Support Desk Modal Card */
.support-modal-card {
  display: none;
  position: absolute;
  bottom: calc(100% + 1rem);
  width: 340px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  z-index: 10000;
  overflow: hidden;
  animation: supportModalSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pos-right .support-modal-card {
  right: 0;
}

.pos-left .support-modal-card {
  left: 0;
}

.support-modal-card.show {
  display: block;
}

@keyframes supportModalSlide {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.support-modal-header {
  padding: 1.15rem 1.25rem;
  background: linear-gradient(135deg, rgba(16, 208, 122, 0.15), rgba(99, 102, 241, 0.15));
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.support-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.support-avatar-badge {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(16, 208, 122, 0.15);
  border: 1px solid rgba(16, 208, 122, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #10d07a;
  border: 2px solid var(--color-surface);
}

.support-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
}

.support-status-line {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-emerald);
  margin-top: 0.2rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-emerald);
  animation: pulseOpacity 1.5s infinite;
}

@keyframes pulseOpacity {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.support-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.support-close-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  color: var(--color-danger);
  border-color: rgba(239, 68, 68, 0.4);
}

.support-modal-body {
  padding: 1.15rem 1.25rem;
  max-height: 380px;
  overflow-y: auto;
}

.support-subtitle {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.85rem;
  line-height: 1.4;
}

.support-channels-grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.support-channel-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.support-channel-item:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}

.channel-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-wa {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.channel-wa:hover {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.08);
}

.icon-tg {
  background: rgba(34, 158, 217, 0.12);
  color: #229ED9;
  border: 1px solid rgba(34, 158, 217, 0.3);
}

.channel-tg:hover {
  border-color: #229ED9;
  background: rgba(34, 158, 217, 0.08);
}

.icon-fb {
  background: rgba(24, 119, 242, 0.12);
  color: #1877F2;
  border: 1px solid rgba(24, 119, 242, 0.3);
}

.channel-fb:hover {
  border-color: #1877F2;
  background: rgba(24, 119, 242, 0.08);
}

.icon-ticket {
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.channel-ticket:hover {
  border-color: #818cf8;
  background: rgba(99, 102, 241, 0.08);
}

.icon-call {
  background: rgba(16, 208, 122, 0.12);
  color: #10d07a;
  border: 1px solid rgba(16, 208, 122, 0.3);
}

.channel-call:hover {
  border-color: #10d07a;
  background: rgba(16, 208, 122, 0.08);
}

.channel-details {
  flex: 1;
  overflow: hidden;
}

.channel-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.channel-desc {
  font-size: 0.725rem;
  color: var(--color-text-subtle);
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-arrow {
  color: var(--color-text-subtle);
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform var(--transition-fast);
}

.support-channel-item:hover .channel-arrow {
  transform: translateX(3px);
  color: var(--color-emerald);
}

.support-modal-footer {
  padding: 0.75rem 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--color-text-subtle);
}

@media (max-width: 600px) {
  .floating-support-dock {
    bottom: 1.25rem !important;
  }

  .floating-support-dock.pos-right {
    right: 1.25rem !important;
  }

  .floating-support-dock.pos-left {
    left: 1.25rem !important;
  }

  .support-modal-card {
    width: calc(100vw - 2.5rem) !important;
    right: 0 !important;
    left: auto !important;
  }
}

/* ==========================================================================
   Banner Advertisement & Monetization Ad Spaces
   ========================================================================== */
.ad-placement-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.ad-placement-top {
  margin: 1.25rem auto 0.5rem auto;
}

.ad-placement-footer {
  margin: 2.5rem auto 1.5rem auto;
  padding: 0 1rem;
}

.ad-placement-middle {
  margin: 2.5rem auto;
}

.ad-placement-freezone,
.ad-placement-dashboard,
.ad-placement-product {
  margin: 1.75rem 0;
}

.ad-slot-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  position: relative;
  text-align: center;
}

.ad-badge-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
  width: 100%;
}

.ad-badge-pill {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
}

.ad-banner-wrapper {
  display: inline-block;
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.ad-banner-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 208, 122, 0.15);
  border-color: rgba(16, 208, 122, 0.4);
}

.ad-banner-link {
  display: block;
  line-height: 0;
  text-decoration: none;
  cursor: pointer;
}

.ad-banner-img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-lg) - 1px);
  object-fit: cover;
}

.ad-code-wrapper {
  max-width: 100%;
  overflow-x: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

/* ==========================================================================
   Glowing Zone Split Cards (Free Zone: Emerald Green | Premium Zone: Indigo Purple)
   ========================================================================== */
.zone-card {
  text-decoration: none;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  padding: 2.5rem;
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background: #0d121f;
}

/* 1. Free Zone Card - Vibrant Emerald Green Glowing Border (Navbar matching) */
@keyframes emeraldNeonPulse {

  0%,
  100% {
    border-color: rgba(16, 208, 122, 0.7);
    box-shadow: 0 0 22px rgba(16, 208, 122, 0.28), 0 12px 35px rgba(0, 0, 0, 0.5), inset 0 0 16px rgba(16, 208, 122, 0.08);
  }

  50% {
    border-color: rgba(52, 211, 153, 0.95);
    box-shadow: 0 0 38px rgba(16, 208, 122, 0.5), 0 16px 45px rgba(0, 0, 0, 0.6), inset 0 0 24px rgba(16, 208, 122, 0.16);
  }
}

.zone-card-free {
  border: 2px solid #10d07a !important;
  background: linear-gradient(135deg, rgba(16, 208, 122, 0.1) 0%, #0d121f 100%) !important;
  animation: emeraldNeonPulse 4s ease-in-out infinite;
}

.zone-card-free:hover {
  transform: translateY(-6px);
  border-color: #34d399 !important;
  box-shadow: 0 0 48px rgba(16, 208, 122, 0.6), 0 22px 55px rgba(0, 0, 0, 0.55), inset 0 0 26px rgba(16, 208, 122, 0.22) !important;
}

.zone-card-free .zone-glow-ambient {
  position: absolute;
  top: 0;
  right: 0;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(16, 208, 122, 0.25) 0%, rgba(16, 208, 122, 0.05) 50%, transparent 70%);
  pointer-events: none;
}

.zone-card-free .zone-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(16, 208, 122, 0.15);
  border: 1px solid rgba(16, 208, 122, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 16px rgba(16, 208, 122, 0.25);
}

/* 2. Premium Zone Card - Vibrant Indigo / Purple Glowing Border (Navbar matching) */
@keyframes indigoNeonPulse {

  0%,
  100% {
    border-color: rgba(129, 140, 248, 0.7);
    box-shadow: 0 0 22px rgba(129, 140, 248, 0.28), 0 12px 35px rgba(0, 0, 0, 0.5), inset 0 0 16px rgba(129, 140, 248, 0.08);
  }

  50% {
    border-color: rgba(165, 180, 252, 0.95);
    box-shadow: 0 0 38px rgba(129, 140, 248, 0.5), 0 16px 45px rgba(0, 0, 0, 0.6), inset 0 0 24px rgba(129, 140, 248, 0.16);
  }
}

.zone-card-premium {
  border: 2px solid #818cf8 !important;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, #0d121f 100%) !important;
  animation: indigoNeonPulse 4s ease-in-out infinite;
}

.zone-card-premium:hover {
  transform: translateY(-6px);
  border-color: #a5b4fc !important;
  box-shadow: 0 0 48px rgba(129, 140, 248, 0.6), 0 22px 55px rgba(0, 0, 0, 0.55), inset 0 0 26px rgba(129, 140, 248, 0.22) !important;
}

.zone-card-premium .zone-glow-ambient {
  position: absolute;
  top: 0;
  right: 0;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.25) 0%, rgba(99, 102, 241, 0.05) 50%, transparent 70%);
  pointer-events: none;
}

.zone-card-premium .zone-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(129, 140, 248, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 16px rgba(129, 140, 248, 0.25);
}

/* ==========================================================================
   Above-Footer Multi-Slot Banner Ad Bar (5 Boxes Grid)
   ========================================================================== */
.ad-placement-footer {
  margin-top: 3rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.footer-ad-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

@media (max-width: 1100px) {
  .footer-ad-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-ad-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-ad-grid-5 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive System
   ========================================================================== */

/* Touch & Viewport Overflow Safety */
html,
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Fluid Media Safety */
img,
svg,
video,
iframe,
canvas {
  max-width: 100%;
  height: auto;
}

/* Zone Split Cards Grid */
.home-zones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

/* Mobile Hamburger Button Styles */
.mobile-hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.45rem;
  cursor: pointer;
  z-index: 101;
  transition: all var(--transition-fast);
}

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

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Navigation Drawer & Backdrop */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 88%;
  max-width: 380px;
  background: var(--color-surface);
  border-left: 1px solid var(--color-border);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--glass-bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.mobile-drawer-close {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-drawer-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: var(--color-danger);
  border-color: rgba(239, 68, 68, 0.4);
}

.mobile-drawer-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-drawer-search {
  position: relative;
  display: flex;
  align-items: center;
}

.mobile-drawer-search input {
  width: 100%;
  padding: 0.65rem 4.5rem 0.65rem 2.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.85rem;
}

.mobile-drawer-search input:focus {
  outline: none;
  border-color: var(--color-emerald);
  box-shadow: 0 0 0 3px rgba(16, 208, 122, 0.15);
}

.mobile-drawer-search svg {
  position: absolute;
  left: 0.75rem;
  color: var(--color-text-subtle);
  pointer-events: none;
}

.mobile-drawer-search button {
  position: absolute;
  right: 0.35rem;
  background: var(--color-emerald);
  color: #070a12;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
}

.mobile-drawer-zones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.mobile-zone-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.mobile-zone-card:active {
  transform: scale(0.97);
}

.mobile-zone-free {
  background: rgba(16, 208, 122, 0.1);
  border: 1px solid rgba(16, 208, 122, 0.3);
  color: #ffffff;
}

.mobile-zone-free strong {
  display: block;
  font-size: 0.85rem;
  color: var(--color-emerald);
}

.mobile-zone-free small {
  font-size: 0.7rem;
  color: #94a3b8;
}

.mobile-zone-premium {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #ffffff;
}

.mobile-zone-premium strong {
  display: block;
  font-size: 0.85rem;
  color: #818cf8;
}

.mobile-zone-premium small {
  font-size: 0.7rem;
  color: #94a3b8;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(16, 208, 122, 0.08);
  border-color: rgba(16, 208, 122, 0.25);
  color: var(--color-emerald);
}

.mobile-drawer-section {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

/* ==========================================================================
   Breakpoints: Responsive Grid & Page Layout Media Queries
   ========================================================================== */

/* Desktop to Large Tablet (<= 1100px) */
@media (max-width: 1100px) {
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet & Mobile (<= 992px) */
@media (max-width: 992px) {

  .desktop-only-nav,
  .desktop-only-search,
  .desktop-only-action,
  .desktop-only-auth {
    display: none !important;
  }

  .mobile-hamburger-btn {
    display: flex !important;
  }

  .nav-wrapper {
    height: 3.85rem;
  }

  .top-offer-bar .offer-decor-dots {
    display: none !important;
  }

  .top-offer-bar {
    font-size: 0.78rem !important;
    padding: 0.35rem 0.75rem !important;
  }

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

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

  .home-zones-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .zone-card {
    padding: 1.75rem !important;
    border-radius: 18px !important;
  }

  .hero-title {
    font-size: 2.25rem !important;
  }

  .hero-subtitle {
    font-size: 0.975rem !important;
  }

  .dashboard-layout {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* Site Footer Base Styles */
.site-footer {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

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

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

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

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

/* Tablet (<= 1024px) */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .section {
    padding: 2.5rem 0 !important;
  }

  .hero-section {
    padding: 3rem 0 2rem !important;
  }

  .hero-title {
    font-size: 1.95rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.75rem !important;
  }

  .hero-subtitle {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-search-box {
    margin: 1.25rem auto 0.75rem !important;
  }

  .hero-search-input {
    font-size: 0.85rem !important;
    padding-left: 2.8rem !important;
    padding-right: 5.5rem !important;
  }

  .hero-search-box button {
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem !important;
  }

  .hero-pills {
    display: flex !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    padding-bottom: 0.4rem !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .hero-pills::-webkit-scrollbar {
    display: none;
  }

  .stats-banner {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
    padding: 1rem 0.75rem !important;
    margin-top: 2rem !important;
  }

  .stat-value {
    font-size: 1.25rem !important;
  }

  .stat-label {
    font-size: 0.7rem !important;
  }

  .grid-5 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .grid-3 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .category-card {
    padding: 1rem 0.65rem !important;
    gap: 0.5rem !important;
  }

  .cat-icon-badge {
    width: 2.5rem !important;
    height: 2.5rem !important;
  }

  .category-title {
    font-size: 0.85rem !important;
  }

  .product-body {
    padding: 0.85rem !important;
  }

  .product-title {
    font-size: 0.9rem !important;
  }

  .section-title {
    font-size: 1.35rem !important;
  }

  .section-head {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.4rem !important;
    margin-bottom: 1.25rem !important;
  }

  .tabs-header {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    padding-bottom: 0.4rem !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .tabs-header::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    white-space: nowrap !important;
    padding: 0.4rem 0.85rem !important;
    font-size: 0.825rem !important;
  }

  /* Products filter sidebar & layout */
  .products-layout {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Product details show page */
  .grid-2[style*="1.2fr 0.8fr"],
  div[style*="grid-template-columns:1.2fr 0.8fr"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Admin shell */
  .admin-shell {
    grid-template-columns: 1fr !important;
  }

  .admin-sidebar {
    display: none !important;
  }
}

/* Extra Small Phones (<= 480px) */
@media (max-width: 480px) {
  .stats-banner {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .grid-4 {
    grid-template-columns: 1fr !important;
  }

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

  .product-thumb-wrapper {
    aspect-ratio: 16 / 10 !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* ==========================================================================
   Sound Effects & Soundboard Design System (Screenshot Matching)
   ========================================================================== */
.soundboard-hero {
  padding: 3rem 0 2rem 0;
  position: relative;
}

.soundboard-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.soundboard-subtitle {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 650px;
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.sound-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
  background: rgba(13, 18, 31, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
}

.sound-search-wrap {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 420px;
}

.sound-search-input {
  width: 100%;
  background: #080b13;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 0.55rem 1rem 0.55rem 2.4rem;
  color: #f1f5f9;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.sound-search-input:focus {
  border-color: #6366f1;
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.sound-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

.sound-pills-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.sound-pills-list::-webkit-scrollbar {
  display: none;
}

.sound-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.sound-pill-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  color: #818cf8;
}

.sound-pill-btn.active {
  background: #6366f1;
  border-color: #6366f1;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.45);
}

/* 3-Column Soundboard Grid Matching Screenshot */
.sound-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 1024px) {
  .sound-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .sound-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Individual Sound Card */
.sound-card {
  background: #0d121f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.sound-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.2);
}

.sound-card.is-playing {
  border-color: #10d07a !important;
  box-shadow: 0 0 25px rgba(16, 208, 122, 0.35), 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  background: linear-gradient(135deg, rgba(16, 208, 122, 0.06) 0%, #0d121f 100%);
}

.sound-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.sound-avatar-link {
  flex-shrink: 0;
  display: block;
  line-height: 0;
}

.sound-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #161e31;
  border: 2px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.sound-card:hover .sound-avatar {
  transform: scale(1.06);
  border-color: rgba(99, 102, 241, 0.6);
}

.sound-card.is-playing .sound-avatar {
  border-color: #10d07a;
  box-shadow: 0 0 12px rgba(16, 208, 122, 0.5);
  animation: soundAvatarPulse 1.5s infinite;
}

@keyframes soundAvatarPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

.sound-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sound-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
  transition: color var(--transition-fast);
}

.sound-title:hover {
  color: #818cf8;
}

.sound-author {
  font-size: 0.775rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Audio Player Bottom Bar */
.sound-player-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.45rem 0.75rem;
}

.sound-play-btn {
  background: transparent;
  border: none;
  color: #e2e8f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 22px;
  height: 22px;
  transition: transform 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.sound-play-btn:hover {
  color: #10d07a;
  transform: scale(1.18);
}

.sound-card.is-playing .sound-play-btn {
  color: #10d07a;
}

.sound-time {
  font-size: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #94a3b8;
  min-width: 32px;
  flex-shrink: 0;
}

.sound-scrubber {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  transition: height 0.15s ease;
}

.sound-scrubber:hover {
  height: 7px;
}

.sound-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #10d07a);
  border-radius: 999px;
  position: relative;
  transition: width 0.05s linear;
}

.sound-scrubber-thumb {
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}

.sound-action-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border-radius: 6px;
  transition: all 0.15s ease;
  flex-shrink: 0;
  text-decoration: none;
}

.sound-action-btn:hover {
  color: #10d07a;
  background: rgba(16, 208, 122, 0.12);
  transform: scale(1.15);
}

/* Soundboard Pagination (Purple Active Dot Matching Screenshot) */
.sound-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.sound-page-item {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.sound-page-item:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.35);
  color: #ffffff;
}

.sound-page-item.active {
  background: #6366f1 !important;
  border-color: #6366f1 !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.5);
}

.sound-page-ellipsis {
  color: #64748b;
  padding: 0 0.25rem;
}

/* ==========================================================================
   AI Prompt Templates Marketplace (3-Column Layout Matching Screenshot)
   ========================================================================== */
.prompt-gallery-hero {
  padding: 3rem 0 3rem 0;
  position: relative;
  max-width: 1360px;
}

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

@media (max-width: 1024px) {

  .prompt-grid-2,
  .prompt-grid-3,
  .prompt-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {

  .prompt-grid-2,
  .prompt-grid-3,
  .prompt-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.prompt-card {
  background: transparent;
  border: none;
  border-radius: 14px;
  overflow: visible;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 0.65rem;
}

.prompt-card:hover {
  transform: translateY(-4px);
}

.prompt-thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  border-radius: 14px;
  background: #080c16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.prompt-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.prompt-card:hover .prompt-thumb {
  transform: scale(1.04);
}

/* Green Model Pill Badge Bottom-Left (Matching user screenshot) */
.prompt-model-pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  background: #10d07a;
  color: #070a12;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(16, 208, 122, 0.45);
  letter-spacing: -0.01em;
  pointer-events: none;
  text-transform: capitalize;
}

.prompt-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 18, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  padding: 1rem;
  z-index: 3;
}

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

.btn-copy-prompt {
  background: #6366f1;
  color: #ffffff;
  border: none;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn-copy-prompt:hover {
  background: #4f46e5;
  transform: scale(1.05);
}

.btn-view-prompt {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn-view-prompt:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.prompt-card-body {
  padding: 0.15rem 0.2rem;
  display: flex;
  flex-direction: column;
  background: transparent;
}

/* Prompt Description Text Below Image (2-line clamp matching screenshot) */
.prompt-description-text {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.42;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: color 0.15s ease;
  font-weight: 400;
}

.prompt-description-text:hover {
  color: #ffffff;
}

.prompt-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.prompt-pill-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  color: #818cf8;
}

.prompt-pill-btn.active {
  background: #6366f1;
  border-color: #6366f1;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.45);
}

/* Prompt Modal */
.prompt-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.prompt-modal-backdrop.show {
  display: flex;
  animation: promptModalFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes promptModalFade {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.prompt-modal-content {
  background: #0d121f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.prompt-modal-close {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.15s ease;
}

.prompt-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
}

.prompt-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  padding: 1.75rem;
}

@media (max-width: 700px) {
  .prompt-modal-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.prompt-code-box {
  background: #05070d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem;
  max-height: 180px;
  overflow-y: auto;
}

/* ==========================================================================
   Free Music & Audio Tracks Library (Pixabay / Epidemic Sound Matching)
   ========================================================================== */
.music-gallery-hero {
  padding: 3rem 0 2rem 0;
  position: relative;
}

.music-tracks-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.music-track-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: #0d121f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 0.75rem 1.25rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.music-track-row:hover {
  background: rgba(16, 208, 122, 0.04);
  border-color: rgba(16, 208, 122, 0.35);
  transform: translateX(4px);
}

.music-track-row.is-playing {
  background: linear-gradient(90deg, rgba(16, 208, 122, 0.12) 0%, rgba(13, 18, 31, 0.95) 100%);
  border-color: #10d07a !important;
  box-shadow: 0 0 20px rgba(16, 208, 122, 0.25);
}

.track-art-wrap {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  background: #161e31;
}

.track-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.music-track-row:hover .track-play-overlay,
.music-track-row.is-playing .track-play-overlay {
  opacity: 1;
}

.music-track-row.is-playing .track-play-overlay {
  background: rgba(16, 208, 122, 0.35);
  color: #10d07a;
}

.track-meta-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.track-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.track-title:hover {
  color: var(--color-emerald);
}

.track-sub-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #94a3b8;
}

.track-artist {
  color: #cbd5e1;
  font-weight: 600;
}

.track-bullet {
  color: #475569;
}

.track-duration-tag {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  color: #64748b;
  font-size: 0.75rem;
}

.track-actions-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.track-action-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  transition: all 0.15s ease;
  text-decoration: none;
}

.track-action-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.track-action-btn.btn-download:hover {
  color: var(--color-emerald);
  background: rgba(16, 208, 122, 0.15);
  transform: scale(1.1);
}

.music-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.music-pill-btn:hover {
  background: rgba(16, 208, 122, 0.15);
  border-color: rgba(16, 208, 122, 0.4);
  color: var(--color-emerald);
}

.music-pill-btn.active {
  background: var(--color-emerald);
  border-color: var(--color-emerald);
  color: #070a12;
  font-weight: 800;
  box-shadow: 0 0 14px rgba(16, 208, 122, 0.45);
}

/* Floating Bottom Global Music Player Dock */
.global-music-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 14, 26, 0.96);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.75rem 1.5rem;
  z-index: 99998;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.7);
  animation: musicDockSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes musicDockSlideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.dock-main-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-emerald);
  color: #070a12;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dock-main-play-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 0 14px rgba(16, 208, 122, 0.6);
}

.dock-ctrl-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.dock-ctrl-btn:hover {
  color: #ffffff;
  transform: scale(1.15);
}

.dock-scrubber {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  transition: height 0.15s ease;
}

.dock-scrubber:hover {
  height: 7px;
}

.dock-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10d07a, #3b82f6);
  border-radius: 999px;
  position: relative;
}

.dock-scrubber-thumb {
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
}

/* ==========================================================================
   E-Books & Editorial Publications (Dribbble/Behance 3-Column Layout)
   ========================================================================== */
.ebook-gallery-hero {
  padding: 3rem 0 2rem 0;
  position: relative;
}

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

@media (max-width: 992px) {
  .ebook-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .ebook-grid-3 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.ebook-card {
  background: #0d121f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.ebook-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.15);
}

.ebook-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #070a12;
}

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

.ebook-card:hover .ebook-thumb-img {
  transform: scale(1.04);
}

.ebook-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 18, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  padding: 1rem;
}

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

.btn-read-ebook {
  background: #f59e0b;
  color: #0f172a;
  border: none;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn-read-ebook:hover {
  transform: scale(1.06);
  background: #d97706;
}

.btn-get-ebook {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn-get-ebook:hover {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.25);
}

.ebook-card-footer {
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: #0b0f19;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ebook-author-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.ebook-author-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #0f172a;
  font-weight: 900;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ebook-author-name {
  font-size: 0.825rem;
  font-weight: 700;
  color: #e2e8f0;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.ebook-author-name:hover {
  color: #f59e0b;
}

.ebook-pro-badge {
  font-size: 0.6rem;
  font-weight: 900;
  background: #6366f1;
  color: #ffffff;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.ebook-stats-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  font-size: 0.75rem;
  color: #94a3b8;
}

.ebook-like-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  transition: color 0.15s ease, transform 0.15s ease;
  padding: 0;
}

.ebook-like-btn:hover,
.ebook-like-btn.liked {
  color: #f43f5e;
}

.ebook-views-stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.ebook-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.ebook-pill-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: #f59e0b;
}

.ebook-pill-btn.active {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #0f172a;
  font-weight: 800;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.45);
}

/* ==========================================================================
   IAB Standard Responsive Ad Placements (320x50, 728x90, 970x90, 300x250)
   ========================================================================== */
.ad-slot-container {
  width: 100%;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ad-banner-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ad-banner-link {
  display: inline-block;
  max-width: 100%;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.ad-banner-link:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.ad-responsive-leaderboard {
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
  text-align: center;
}

.ad-placeholder-leaderboard {
  width: 100%;
  max-width: 728px;
  min-height: 90px;
  background: linear-gradient(135deg, rgba(16, 208, 122, 0.05) 0%, rgba(7, 10, 18, 0.95) 100%);
  border: 1px dashed rgba(16, 208, 122, 0.35);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  transition: all var(--transition-fast);
  margin: 0 auto;
}

.ad-placeholder-leaderboard:hover {
  border-color: var(--color-emerald);
  box-shadow: 0 0 20px rgba(16, 208, 122, 0.2);
  transform: translateY(-2px);
}

.ad-placeholder-desktop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.ad-placeholder-mobile {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

@media (max-width: 768px) {
  .ad-placeholder-leaderboard {
    max-width: 320px;
    min-height: 50px;
    padding: 0.4rem 0.75rem;
  }

  .ad-placeholder-desktop {
    display: none !important;
  }

  .ad-placeholder-mobile {
    display: flex !important;
  }
}

/* Medium Rectangle 300x250 Ad */
.ad-mrec-box {
  width: 300px;
  min-height: 250px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(16, 208, 122, 0.35);
  background: linear-gradient(135deg, rgba(16, 208, 122, 0.04) 0%, rgba(7, 10, 18, 0.95) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1rem;
}

/* ==========================================================================
   Daily Lucky Spin & Win Fortune Wheel (Matching Screenshot)
   ========================================================================== */
.lucky-wheel-wrapper {
  position: relative;
  width: 340px;
  height: 340px;
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 480px) {
  .lucky-wheel-wrapper {
    width: 380px;
    height: 380px;
  }
}

.lucky-wheel-outer-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #1d4ed8;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(29, 78, 216, 0.4), inset 0 0 15px rgba(0, 0, 0, 0.5);
  position: relative;
  box-sizing: border-box;
}

.lucky-wheel-inner-bezel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #facc15;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.6), inset 0 0 8px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
  background: #ffffff;
}

#lucky-wheel-canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  transition: transform 5s cubic-bezier(0.12, 0.8, 0.15, 1);
  transform: rotate(0deg);
}

/* Golden Pointer Needle at Top (Matching Screenshot) */
.lucky-wheel-pointer {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 32px solid #eab308;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
  z-index: 30;
  pointer-events: none;
}

.lucky-wheel-pointer::after {
  content: '';
  position: absolute;
  top: -32px;
  left: -14px;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 26px solid #fef08a;
}

/* Center Blue Metallic Hub Button */
.lucky-wheel-center-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #3b82f6, #1e3a8a);
  border: 3px solid #facc15;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  z-index: 25;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lucky-wheel-center-hub::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #facc15;
}

/* Floating Launcher Button for Lucky Wheel - Compact Circle Icon */
.lucky-wheel-floating-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 990;
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 100%);
  border: 2px solid #facc15;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.45), 0 0 16px rgba(250, 204, 21, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  animation: floatLuckyBtn 3s ease-in-out infinite;
}

.lucky-wheel-floating-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 30px rgba(29, 78, 216, 0.6), 0 0 24px rgba(250, 204, 21, 0.6);
  color: #ffffff;
}

.lucky-wheel-mini-icon {
  font-size: 1.4rem;
  display: inline-block;
  line-height: 1;
  animation: spinMiniWheel 6s linear infinite;
}

.lucky-wheel-pulse {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px solid #facc15;
  animation: luckyRipple 2s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

@keyframes luckyRipple {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

@keyframes spinMiniWheel {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes floatLuckyBtn {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* Tooltip on Hover */
.lucky-btn-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 0;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(250, 204, 21, 0.35);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
}

.lucky-btn-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 18px;
  border-width: 5px;
  border-style: solid;
  border-color: #0f172a transparent transparent transparent;
}

.lucky-wheel-floating-btn:hover .lucky-btn-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Lucky Spin Modal */
.lucky-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 14, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lucky-modal-backdrop.show {
  display: flex;
}

.lucky-modal-card {
  background: #0b1120;
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: 24px;
  width: 100%;
  max-width: 520px;
  padding: 2rem 1.75rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(29, 78, 216, 0.3);
  position: relative;
  text-align: center;
  animation: zoomInModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomInModal {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   2-Column Faceless & Viral Video Interactive Player Modal (Matching Screenshot)
   ========================================================================== */
.faceless-modal-card {
  background: #0b1120;
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: 20px;
  width: 100%;
  max-width: 960px;
  padding: 1.75rem;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 40px rgba(29, 78, 216, 0.25);
  position: relative;
  text-align: left;
  animation: zoomInModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 92vh;
  overflow-y: auto;
  color: #e2e8f0;
}

.faceless-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.faceless-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
  transform: rotate(90deg);
}

.faceless-modal-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 860px) {
  .faceless-modal-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Left Column: Video Screen & Specs */
.faceless-modal-left {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faceless-video-stage {
  position: relative;
  height: 380px;
  background: #030712;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.9);
}

.faceless-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: transform 0.3s ease;
}

.faceless-stage-topbar {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.faceless-live-badge {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #f87171;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

.faceless-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: facelessPulseDot 1.2s infinite;
}

@keyframes facelessPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.faceless-dur-pill {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 5px;
  backdrop-filter: blur(4px);
}

.faceless-stage-center {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1rem;
}

.pulse-play-disc {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #ef4444;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem auto;
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.8);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pulse-play-disc:hover {
  transform: scale(1.08);
  box-shadow: 0 0 40px rgba(239, 68, 68, 1);
}

.faceless-stage-subtitle {
  font-size: 0.95rem;
  font-weight: 700;
  color: #facc15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
  background: rgba(0, 0, 0, 0.85);
  padding: 0.35rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(250, 204, 21, 0.3);
  display: inline-block;
  max-width: 90%;
}

.faceless-scrubber-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  z-index: 5;
}

.faceless-scrubber-fill {
  width: 35%;
  height: 100%;
  background: #ef4444;
  transition: width 0.15s;
}

.faceless-tech-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
}

.faceless-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.faceless-spec-label {
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.faceless-spec-val {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
}

/* Right Column: Description & Order Now */
.faceless-modal-right {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding-right: 0.5rem;
}

.faceless-meta-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.faceless-tag {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.18rem 0.55rem;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.faceless-tag-lang {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.faceless-tag-niche {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.faceless-tag-license {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.faceless-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.faceless-hook-box {
  background: rgba(250, 204, 21, 0.08);
  border: 1px dashed rgba(250, 204, 21, 0.35);
  border-radius: 9px;
  padding: 0.55rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.faceless-hook-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #facc15;
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.faceless-hook-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  font-style: italic;
}

.faceless-desc-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.95rem;
}

.faceless-section-heading {
  font-size: 0.75rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.45rem;
}

.faceless-desc-text {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0 0 0.75rem 0;
}

.faceless-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #e2e8f0;
}

.faceless-feat-point {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.4;
}

.faceless-feat-icon {
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Order Now Action Area */
.faceless-action-area {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: 14px;
  padding: 1.1rem;
  margin-top: 0.35rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.faceless-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.faceless-pricing-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faceless-price-badge {
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.2);
  color: #10d07a;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.faceless-price-display {
  font-size: 1.25rem;
  font-weight: 900;
  color: #facc15;
}

.faceless-guarantee-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.faceless-btn-order-now {
  flex: 1 1 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
  color: #0f172a;
  font-weight: 900;
  font-size: 0.9rem;
  padding: 0.8rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(250, 204, 21, 0.45);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.faceless-btn-order-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(250, 204, 21, 0.6);
  color: #000000;
  background: linear-gradient(135deg, #fde047 0%, #facc15 100%);
}

.faceless-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.faceless-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.faceless-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   UGC Viral Video Hooks & Faceless Shorts 4-Column Showcase (Matching Screenshot)
   ========================================================================== */
.ugc-hooks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1.25rem;
}

@media (max-width: 1200px) {
  .ugc-hooks-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 800px) {
  .ugc-hooks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .ugc-hooks-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.ugc-hook-card {
  background: #0d121f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.25s ease;
  position: relative;
}

.ugc-hook-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 204, 21, 0.4);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55), 0 0 20px rgba(250, 204, 21, 0.15);
}

.ugc-thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 13.5;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

.ugc-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.ugc-hook-card:hover .ugc-thumb-img {
  transform: scale(1.05);
}

.ugc-play-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.ugc-hook-card:hover .ugc-play-circle {
  background: #ef4444;
  border-color: #ef4444;
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.7);
}

.ugc-card-body {
  padding: 0.85rem 0.9rem 1rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  justify-content: space-between;
  background: #0d121f;
}

.ugc-hook-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.35em;
  transition: color 0.15s ease;
}

.ugc-hook-card:hover .ugc-hook-title {
  color: #facc15;
}

.ugc-creator-badge {
  font-size: 0.7rem;
  color: #10d07a;
  background: rgba(16, 208, 122, 0.08);
  border: 1px solid rgba(16, 208, 122, 0.22);
  border-radius: 4px;
  padding: 0.2rem 0.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  width: fit-content;
}

.ugc-btn-download {
  background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
  color: #0f172a !important;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  border: none;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: background 0.15s ease, transform 0.15s ease;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 10px rgba(234, 179, 8, 0.35);
  cursor: pointer;
}

.ugc-btn-download:hover {
  background: linear-gradient(135deg, #fde047 0%, #facc15 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(234, 179, 8, 0.5);
}

.ugc-btn-example {
  background: transparent;
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.ugc-btn-example:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* Faceless Video Clips & Shorts Styles */
.faceless-card:hover .faceless-play-btn {
  transform: translate(-50%, -50%) scale(1.18) !important;
  box-shadow: 0 0 35px rgba(239, 68, 68, 0.95) !important;
}

.faceless-clips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Engine
   ========================================================================== */
@media (max-width: 768px) {

  /* 2-Column Clean Mobile E-Commerce Grid */
  .grid-4,
  .grid-3,
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .product-body {
    padding: 0.75rem 0.65rem !important;
  }

  .product-title {
    font-size: 0.825rem !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.3 !important;
  }

  .product-rating {
    font-size: 0.72rem !important;
    margin-bottom: 0.5rem !important;
  }

  .price-current {
    font-size: 0.95rem !important;
  }

  .product-footer {
    padding-top: 0.5rem !important;
  }

  .product-footer .btn-sm {
    padding: 0.25rem 0.55rem !important;
    font-size: 0.75rem !important;
  }

  /* Free vs Premium Zone Cards Mobile Stacking */
  .home-zones-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .zone-card {
    padding: 1.5rem !important;
  }

  /* Hero Section Mobile Typography & Search */
  .hero-section {
    padding: 2.5rem 0 2rem !important;
  }

  .hero-title {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
  }

  .hero-subtitle {
    font-size: 0.92rem !important;
  }

  .hero-search-box {
    margin: 1.25rem auto 0.75rem !important;
  }

  .hero-search-input {
    padding: 0.75rem 5.5rem 0.75rem 2.75rem !important;
    font-size: 0.85rem !important;
  }

  .hero-search-box .search-icon {
    left: 0.85rem !important;
    width: 16px !important;
    height: 16px !important;
  }

  .hero-search-box button {
    padding: 0.45rem 0.9rem !important;
    font-size: 0.8rem !important;
  }

  /* Horizontal Category Chips on Mobile */
  .hero-pills {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding-bottom: 0.4rem !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .hero-pills::-webkit-scrollbar {
    display: none !important;
  }

  .hero-pills .pill-tag {
    flex-shrink: 0 !important;
    font-size: 0.75rem !important;
    padding: 0.3rem 0.65rem !important;
  }

  /* Stats Counter Banner Mobile */
  .stats-banner {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
    padding: 1rem 0.75rem !important;
  }

  .stat-value {
    font-size: 1.25rem !important;
  }

  .stat-label {
    font-size: 0.68rem !important;
  }

  /* Ad Banner Mobile Zero Overflow */
  .ad-slot-container {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .ad-placeholder-leaderboard {
    padding: 0.5rem !important;
    min-height: 60px !important;
  }

  /* Floating Widgets Scaled Down for Touch Screens */
  .floating-lucky-wheel-btn {
    bottom: 1.25rem !important;
    left: 0.85rem !important;
    padding: 0.55rem 0.9rem !important;
    font-size: 0.8rem !important;
  }

  .floating-live-support-btn {
    bottom: 1.25rem !important;
    right: 0.85rem !important;
    padding: 0.55rem 0.9rem !important;
    font-size: 0.8rem !important;
  }

  /* Footer Mobile Refinements */
  .site-footer {
    padding: 2rem 0 1.5rem !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 0.75rem !important;
    text-align: center !important;
  }
}

@media (max-width: 420px) {
  .stats-banner {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
}

/* ==========================================================================
   Comprehensive Multi-Size Ad System & 3rd-Party Monetization Styles
   ========================================================================== */

.ad-slot-container {
  display: block;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  margin: 1.25rem auto;
  text-align: center;
}

.ad-badge-header {
  text-align: center;
  margin-bottom: 0.5rem;
}

.ad-badge-pill {
  display: inline-block;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
}

/* Standard IAB Banner Sizes */
.ad-size-728x90,
.ad-banner-728x90,
.ad-placeholder-728x90 {
  max-width: 728px;
  width: 100%;
  min-height: 90px;
  margin: 0 auto;
}

.ad-size-320x50,
.ad-banner-320x50,
.ad-placeholder-320x50 {
  max-width: 320px;
  width: 100%;
  min-height: 50px;
  margin: 0 auto;
}

.ad-size-300x250,
.ad-banner-300x250,
.ad-placeholder-300x250 {
  max-width: 300px;
  width: 100%;
  min-height: 250px;
  margin: 0 auto;
}

.ad-size-160x600,
.ad-banner-160x600,
.ad-placeholder-160x600 {
  max-width: 160px;
  width: 100%;
  min-height: 600px;
  margin: 0 auto;
}

.ad-size-160x300,
.ad-banner-160x300,
.ad-placeholder-160x300 {
  max-width: 160px;
  width: 100%;
  min-height: 300px;
  margin: 0 auto;
}

.ad-size-468x60,
.ad-banner-468x60,
.ad-placeholder-468x60 {
  max-width: 468px;
  width: 100%;
  min-height: 600px;
  margin: 0 auto;
}

.ad-banner-wrapper {
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ad-banner-wrapper:hover {
  transform: translateY(-2px);
}

.ad-banner-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

/* 3rd-Party Ad Code Wrapper */
.ad-code-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
}

.ad-code-wrapper ins,
.ad-code-wrapper iframe,
.ad-code-wrapper script {
  max-width: 100% !important;
}

/* Native Sponsored Ad Unit */
.ad-native-unit {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(7, 10, 18, 0.98) 100%);
  border: 1px solid rgba(16, 208, 122, 0.25);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.ad-native-unit:hover {
  border-color: var(--color-emerald);
  box-shadow: 0 14px 35px rgba(16, 208, 122, 0.2);
  transform: translateY(-2px);
}

/* Responsive Ad Behavior */
@media (max-width: 768px) {

  .ad-size-728x90,
  .ad-banner-728x90,
  .ad-placeholder-728x90 {
    max-width: 100%;
    min-height: 60px;
  }

  .ad-native-content {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
    text-align: left;
  }
}

/* ==========================================================================
   Social Proof & Dual-Row Creators Testimonials Marquee (Matching Screenshot)
   ========================================================================== */
.social-proof-section {
  padding: 4.5rem 0 4rem 0;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 10%, rgba(16, 208, 122, 0.04) 0%, transparent 60%);
}

.social-proof-pill-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.badge-social-proof {
  background: rgba(16, 208, 122, 0.08);
  border: 1px solid rgba(16, 208, 122, 0.28);
  color: #10d07a;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.22rem 0.8rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trustpilot-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 182, 122, 0.1);
  border: 1px solid rgba(0, 182, 122, 0.3);
  color: #00b67a;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.65rem;
  border-radius: 6px;
}

.social-proof-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.03em;
}

@media (max-width: 768px) {
  .social-proof-title {
    font-size: 1.85rem;
  }
}

.social-proof-subtitle {
  color: #94a3b8;
  font-size: 0.95rem;
  text-align: center;
  max-width: 580px;
  margin: 0 auto 2.5rem auto;
}

.testimonials-marquee-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  padding: 0.5rem 0;
}

.testimonials-marquee-row {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marqueeScrollLeft 55s linear infinite;
  will-change: transform;
}

.testimonials-marquee-row.reverse {
  animation: marqueeScrollRight 60s linear infinite;
}

.testimonials-marquee-container:hover .testimonials-marquee-row {
  animation-play-state: paused;
}

@keyframes marqueeScrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes marqueeScrollRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.creator-review-card {
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  width: 320px;
  min-width: 320px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.25s ease;
  user-select: none;
}

.creator-review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 208, 122, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 20px rgba(16, 208, 122, 0.15);
}

.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.review-avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.review-author-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.review-author-role {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.2;
  margin-top: 2px;
}

.review-stars-row {
  color: #f59e0b;
  font-size: 0.8rem;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
}

.review-quote-text {
  font-size: 0.815rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   Simple, Transparent Pricing (3-Card Layout Matching Screenshot)
   ========================================================================== */
.pricing-section {
  padding: 4.5rem 0 4rem 0;
  position: relative;
}

.pricing-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.pricing-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 0.65rem 0;
  letter-spacing: -0.03em;
}

.pricing-subtitle {
  color: #94a3b8;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.pricing-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.75rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
}

@media (max-width: 1024px) {
  .pricing-grid-3 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

.pricing-card {
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 2.25rem 1.75rem 2rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.popular {
  border-color: #10d07a;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(16, 208, 122, 0.18);
}

.pricing-card.sold-out {
  border-color: rgba(239, 68, 68, 0.45);
}

.pricing-pill-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.95rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  z-index: 3;
}

.pricing-pill-free {
  background: rgba(16, 208, 122, 0.12);
  border: 1px solid rgba(16, 208, 122, 0.4);
  color: #10d07a;
}

.pricing-pill-popular {
  background: #10d07a;
  color: #070a12;
  box-shadow: 0 0 15px rgba(16, 208, 122, 0.5);
}

.pricing-pill-soldout {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #f87171;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.35);
}

.pricing-plan-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.pricing-price-amount {
  font-size: 3.2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-price-amount.free {
  color: #10d07a;
}

.pricing-price-original {
  font-size: 1.25rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: line-through;
}

.pricing-frequency {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.85rem;
}

.pricing-discount-pill {
  display: inline-block;
  background: rgba(16, 208, 122, 0.12);
  border: 1px solid rgba(16, 208, 122, 0.3);
  color: #10d07a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 1.15rem;
}

.pricing-desc {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pricing-features li {
  font-size: 0.85rem;
  color: #cbd5e1;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.35;
}

.pricing-features li svg {
  color: #10d07a;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-req-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.85rem;
  margin-bottom: 1.5rem;
}

.pricing-req-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: #facc15;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pricing-req-text {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0;
}

.btn-pricing-emerald {
  background: #10d07a;
  color: #070a12 !important;
  font-weight: 900;
  font-size: 0.925rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  border: none;
  text-align: center;
  text-decoration: none;
  display: block;
  width: 100%;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(16, 208, 122, 0.4);
  cursor: pointer;
}

.btn-pricing-emerald:hover {
  background: #0eb86c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 208, 122, 0.55);
}

.btn-pricing-disabled {
  background: rgba(255, 255, 255, 0.06);
  color: #64748b !important;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  text-decoration: none;
  display: block;
  width: 100%;
  cursor: not-allowed;
  margin-bottom: 0.5rem;
}

.btn-pricing-outline {
  background: transparent;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  text-decoration: none;
  display: block;
  width: 100%;
  transition: all 0.2s ease;
}

.btn-pricing-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.pricing-refund-banner {
  background: rgba(16, 208, 122, 0.04);
  border: 1px solid rgba(16, 208, 122, 0.25);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pricing-refund-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.pricing-refund-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #10d07a;
  margin: 0 0 0.25rem 0;
}

.pricing-refund-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
}

/* ==========================================================================
   Popular Courses Section & Optimized Course Options (Matching Screenshot)
   ========================================================================== */
.popular-courses-section {
  padding: 4.5rem 0 4rem 0;
  position: relative;
  background: radial-gradient(circle at 50% 15%, rgba(220, 38, 38, 0.09) 0%, transparent 65%);
}

.popular-courses-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.courses-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #f87171;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.popular-courses-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.03em;
}

.popular-courses-subtitle {
  color: #f1f5f9;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
}

.popular-courses-divider {
  width: 50px;
  height: 2px;
  background: #dc2626;
  margin: 0 auto;
  border-radius: 2px;
}

/* Course Options Filter Navigation Switcher */
.course-options-nav-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.course-options-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.35rem;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.course-option-tab {
  background: transparent;
  border: none;
  outline: none;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-option-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.course-option-tab.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

.course-tab-count {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: inherit;
  line-height: 1.2;
}

.course-option-tab.active .course-tab-count {
  background: #0f172a;
  color: #ffffff;
}

.course-tab-count.free {
  background: rgba(16, 208, 122, 0.2);
  color: #10d07a;
}

.course-option-tab.active .course-tab-count.free {
  background: #059669;
  color: #ffffff;
}

.course-tab-count.premium {
  background: rgba(220, 38, 38, 0.2);
  color: #f87171;
}

.course-option-tab.active .course-tab-count.premium {
  background: #dc2626;
  color: #ffffff;
}

/* 4-Column Grid */
.popular-courses-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1200px) {
  .popular-courses-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .popular-courses-grid-4 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .course-options-tabs {
    flex-wrap: wrap;
    border-radius: 16px;
    justify-content: center;
  }
}

.popular-course-card {
  background: linear-gradient(180deg, #161f30 0%, #0d1322 100%);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-decoration: none;
}

.popular-course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.7), 0 0 24px rgba(99, 102, 241, 0.16);
}

.course-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #070a12;
}

.course-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.popular-course-card:hover .course-thumb-img {
  transform: scale(1.06);
}

/* Ribbons: Free (Emerald) vs Sale/Premium (Gold/Red) */
.course-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: 74px;
  height: 74px;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
}

.course-ribbon span {
  position: absolute;
  transform: rotate(-45deg);
  top: 15px;
  left: -24px;
  width: 95px;
  color: #ffffff;
  font-size: 0.63rem;
  font-weight: 900;
  text-align: center;
  padding: 0.2rem 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.course-ribbon.ribbon-sale span {
  background: linear-gradient(135deg, #f59e0b 0%, #dc2626 100%);
  box-shadow: 0 3px 10px rgba(220, 38, 38, 0.4);
}

.course-ribbon.ribbon-free span {
  background: linear-gradient(135deg, #10d07a 0%, #047857 100%);
  box-shadow: 0 3px 10px rgba(16, 208, 122, 0.4);
}

/* Bottom-left Price Overlay (Dark Glassmorphism) */
.course-price-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(7, 10, 18, 0.88);
  border-radius: 8px;
  padding: 0.3rem 0.72rem;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.course-orig-price {
  font-size: 0.78rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
}

.course-sale-price {
  font-size: 1.05rem;
  font-weight: 900;
  color: #ff6b6b;
  line-height: 1;
}

.course-sale-price.price-free {
  color: #10d07a;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow: 0 0 12px rgba(16, 208, 122, 0.4);
}

.course-card-body {
  padding: 1.15rem 1.2rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  background: transparent;
}

/* Course Option Pill (Dark Theme Accents) */
.course-option-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.55rem;
}

.course-option-pill.pill-free {
  background: rgba(16, 208, 122, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 208, 122, 0.32);
}

.course-option-pill.pill-premium {
  background: rgba(239, 68, 68, 0.14);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.course-rating-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #fbbf24;
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.course-rating-count {
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
}

.course-title-text {
  font-size: 0.95rem;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.42;
  margin: 0 0 1rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.65em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.popular-course-card:hover .course-title-text {
  color: #818cf8;
}

/* Card Footer: Teacher + Action Button */
.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.course-teacher-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.course-teacher-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}

.course-teacher-label {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 2px;
}

.course-teacher-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
}

.course-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.course-action-btn.btn-free {
  background: linear-gradient(135deg, #10d07a 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 208, 122, 0.35);
}

.course-action-btn.btn-free:hover {
  background: linear-gradient(135deg, #05b868 0%, #047857 100%);
  color: #ffffff;
  transform: translateX(2px);
  box-shadow: 0 6px 18px rgba(16, 208, 122, 0.5);
}

.course-action-btn.btn-premium {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.course-action-btn.btn-premium:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #ffffff;
  transform: translateX(2px);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.55);
}

/* Light Theme Adapter */
[data-theme='light'] .popular-course-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

[data-theme='light'] .popular-course-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

[data-theme='light'] .course-price-overlay {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme='light'] .course-title-text {
  color: #0f172a;
}

[data-theme='light'] .course-teacher-name {
  color: #0f172a;
}

[data-theme='light'] .course-card-footer {
  border-top-color: #f1f5f9;
}

.popular-courses-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.popular-courses-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0.45;
  cursor: pointer;
  transition: all 0.2s ease;
}

.popular-courses-dots .dot.active {
  background: #dc2626;
  opacity: 1;
  transform: scale(1.2);
}

/* ==========================================================================
   Product Ticker Section (Continuous Right-to-Left Auto Marquee)
   ========================================================================== */

@keyframes tickerScrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.product-ticker-section {
  width: 100%;
  padding: 1.25rem 0 1.75rem 0;
  position: relative;
  overflow: hidden;
}

.product-ticker-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 0.5rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.product-ticker-track {
  display: flex;
  gap: 1.15rem;
  width: max-content;
  animation: tickerScrollLeft 30s linear infinite;
  will-change: transform;
}

.product-ticker-track:hover {
  animation-play-state: paused;
}

.product-ticker-card {
  flex-shrink: 0;
  width: 255px;
  background: linear-gradient(135deg, rgba(22, 31, 48, 0.9) 0%, rgba(13, 19, 34, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 0.95rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.product-ticker-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-color, #6366f1);
  opacity: 0.7;
  transition: opacity 0.28s ease;
}

.product-ticker-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--accent-color, #6366f1);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.65), 0 0 24px var(--accent-glow, rgba(99, 102, 241, 0.25));
}

.product-ticker-card:hover::before {
  opacity: 1;
  box-shadow: 0 0 12px var(--accent-color, #6366f1);
}

.product-ticker-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-ticker-card:hover .product-ticker-icon-box {
  transform: scale(1.1);
}

.product-ticker-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.product-ticker-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
}

.product-ticker-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.product-ticker-badge {
  font-size: 0.62rem;
  font-weight: 900;
  padding: 0.16rem 0.46rem;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
}

.product-ticker-subtitle {
  font-size: 0.74rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.product-ticker-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 700;
  color: #10d07a;
  line-height: 1;
}

.product-ticker-arrow {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.product-ticker-card:hover .product-ticker-arrow {
  color: #ffffff;
  transform: translateX(3px);
}

/* Light Theme Adapter */
[data-theme='light'] .product-ticker-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

[data-theme='light'] .product-ticker-title {
  color: #0f172a;
}

[data-theme='light'] .product-ticker-subtitle {
  color: #64748b;
}

@media (max-width: 640px) {
  .product-ticker-card {
    width: 220px;
    padding: 0.85rem 1rem;
    gap: 0.8rem;
  }

  .product-ticker-icon-box {
    width: 40px;
    height: 40px;
  }

  .product-ticker-title {
    font-size: 0.85rem;
  }
}

/* Premium Zone Interactive Option Pills */
.premium-zone-option-pill {
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease !important;
}

.premium-zone-option-pill:hover {
  transform: translateY(-3px) scale(1.03) !important;
  background: rgba(129, 140, 248, 0.25) !important;
  border-color: #818cf8 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(129, 140, 248, 0.45) !important;
}

/* ==========================================================================
   Faceless AI Video Multi-Language Showcase (Screenshot Matching)
   ========================================================================== */
.faceless-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 992px) {
  .faceless-ai-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .faceless-ai-grid {
    grid-template-columns: 1fr;
  }
}

.faceless-ai-card {
  background: #0d1322;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 0.85rem;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.faceless-ai-card:hover {
  transform: translateY(-5px);
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6), 0 0 22px rgba(239, 68, 68, 0.22);
}

.faceless-ai-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  padding: 0.15rem 0.25rem;
}

.faceless-ai-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  flex: 1;
}

.faceless-ai-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.faceless-ai-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  letter-spacing: -0.01em;
}

.faceless-ai-badge {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f1f5f9;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
}

.faceless-ai-video-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #05070d;
}

.faceless-ai-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.faceless-ai-card:hover .faceless-ai-thumb {
  transform: scale(1.05);
}

.faceless-ai-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
}

.faceless-ai-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e50914;
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.65), 0 0 12px rgba(229, 9, 20, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.24s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.24s ease, background 0.2s ease;
  z-index: 2;
}

.faceless-ai-card:hover .faceless-ai-play-btn {
  transform: translate(-50%, -50%) scale(1.16);
  background: #ff1e27;
  box-shadow: 0 6px 25px rgba(255, 30, 39, 0.85), 0 0 16px rgba(255, 30, 39, 0.6);
}

.faceless-ai-play-btn svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
  margin-left: 3px;
}

.faceless-ai-subtitle {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0 1rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 4px rgba(0, 0, 0, 0.8);
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   UGG AD Promotional Video & Commercial UGC Showcase (Screenshot Matching)
   ========================================================================== */
.ugc-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ugc-tab-btn:hover,
.ugc-tab-btn.active {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #0f172a;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.4);
}

.ugc-ad-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

@media (max-width: 1280px) {
  .ugc-ad-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 860px) {
  .ugc-ad-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}

@media (max-width: 580px) {
  .ugc-ad-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
}

.ugc-ad-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0d121f;
  border: 1px solid rgba(255, 255, 255, 0.09);
  aspect-ratio: 9 / 14;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease, opacity 0.25s ease;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

.ugc-ad-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: #f59e0b;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.25);
  z-index: 5;
}

.ugc-ad-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.ugc-ad-card:hover .ugc-ad-thumb {
  transform: scale(1.06);
}

.ugc-ad-top-row {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  z-index: 3;
}

.ugc-ad-badge {
  font-size: 0.65rem;
  font-weight: 800;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ugc-ad-dur {
  font-size: 0.65rem;
  font-weight: 800;
  color: #facc15;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(250, 204, 21, 0.3);
  backdrop-filter: blur(4px);
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}

.ugc-ad-play-circle {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s ease, box-shadow 0.2s ease;
  z-index: 3;
}

.ugc-ad-card:hover .ugc-ad-play-circle {
  transform: translate(-50%, -50%) scale(1.18);
  background: #ff1e27;
  box-shadow: 0 6px 25px rgba(255, 30, 39, 0.85);
}

.ugc-ad-play-circle svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
  margin-left: 3px;
}

.ugc-ad-caption-box {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem 0.75rem 0.65rem 0.75rem;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 7, 13, 0.8) 40%, rgba(5, 7, 13, 0.98) 100%);
  z-index: 3;
}

.ugc-ad-title {
  margin: 0 0 0.25rem 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.ugc-ad-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.7rem;
}

.ugc-ad-metric {
  color: #10d07a;
  font-weight: 800;
}

.ugc-ad-views {
  color: #94a3b8;
  font-weight: 600;
}

/* ==========================================================================
   Universal Mobile Responsiveness & Visual Polish System
   ========================================================================== */

/* 1. Viewport & Overflow Protection */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
  position: relative;
}

img, video, iframe, svg {
  max-width: 100%;
}

table {
  max-width: 100%;
}

pre, code {
  white-space: pre-wrap;
  word-break: break-word;
}

/* 2. Tablet & Medium Screens (<= 992px) */
@media (max-width: 992px) {
  /* Collapse Split Grids to 1 Column */
  .products-layout,
  .dashboard-layout,
  .cart-layout,
  .checkout-layout,
  .product-detail-layout,
  .home-zones-grid,
  .lucky-wheel-layout,
  .executive-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Container Padding */
  .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  /* Ad Wrappers & Banners */
  .ad-placement-wrap {
    overflow-x: hidden;
    text-align: center;
  }

  .ad-code-wrapper,
  .ad-banner-wrapper,
  .ad-placeholder-box {
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .ad-native-content {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 1rem !important;
  }

  .ad-native-content > div:first-child {
    margin: 0 auto;
  }
}

/* 3. Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  /* Grid Stacking */
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .grid-4,
  .grid-5,
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
  }

  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Typography Scaling */
  h1, .hero-title {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
  }

  h2, .section-title {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
  }

  .hero-subtitle {
    font-size: 0.925rem !important;
    line-height: 1.5 !important;
  }

  /* Hero Search Input Scaling */
  .hero-search-box {
    margin: 1.5rem auto 1rem !important;
  }

  .hero-search-input {
    padding-left: 2.75rem !important;
    padding-right: 5.5rem !important;
    font-size: 0.85rem !important;
    height: 46px !important;
  }

  .hero-search-box .btn {
    padding: 0.45rem 1rem !important;
    font-size: 0.82rem !important;
  }

  /* Dashboard Horizontal Pill Navigation Bar */
  .dashboard-nav {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap !important;
    gap: 0.4rem !important;
    padding: 0.6rem !important;
    border-radius: var(--radius-md) !important;
    scrollbar-width: none;
    min-width: 0 !important;
    width: 100% !important;
  }

  .dashboard-nav::-webkit-scrollbar {
    display: none;
  }

  .dashboard-nav a {
    padding: 0.45rem 0.8rem !important;
    font-size: 0.82rem !important;
    flex-shrink: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
  }

  .dashboard-nav a.active {
    background: var(--color-primary-light) !important;
    border-color: var(--color-primary) !important;
    font-weight: 700 !important;
  }

  .dashboard-nav form {
    margin: 0 !important;
    flex-shrink: 0 !important;
  }

  .dashboard-nav form button {
    padding: 0.45rem 0.8rem !important;
    font-size: 0.82rem !important;
    border-radius: 999px !important;
    width: auto !important;
  }

  .dashboard-nav > div {
    display: none !important;
  }

  /* Floating Widgets: Prevent Blocking Purchase/Action Buttons */
  .lucky-wheel-floating-btn {
    display: none !important;
  }

  .support-launcher-btn {
    width: 44px !important;
    height: 44px !important;
  }

  .floating-support-dock {
    bottom: 1rem !important;
    right: 1rem !important;
  }

  /* Product Card Mobile Polish */
  .product-card-body {
    padding: 0.85rem !important;
  }

  .product-title {
    font-size: 0.875rem !important;
  }

  .product-price-current {
    font-size: 1rem !important;
  }

  /* Container Mobile Padding */
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* 4. Small Phones (<= 480px) */
@media (max-width: 480px) {
  .grid-4,
  .grid-5,
  .products-grid {
    grid-template-columns: 1fr !important;
  }

  .container {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }

  .hero-pills {
    gap: 0.35rem !important;
  }

  .pill-tag {
    font-size: 0.72rem !important;
    padding: 0.25rem 0.6rem !important;
  }

  .zone-card {
    padding: 1.5rem 1.15rem !important;
  }

  .footer-ad-grid-5 {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   Freepik-Style Modern Pill Pagination System (Matching User Screenshot)
   ========================================================================== */
.freepik-pagination-wrap,
nav.pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 3.5rem;
  margin-bottom: 2rem;
  gap: 0.85rem;
  width: 100%;
}

.freepik-pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Pill Button (Next page > / < Previous page) */
.freepik-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.65rem;
  border-radius: 9999px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}

.freepik-pill-btn:hover {
  background: #f8fafc;
  color: #0284c7;
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.freepik-pill-btn svg {
  transition: transform 0.2s ease;
}

.freepik-next-btn:hover svg {
  transform: translateX(3px);
}

.freepik-prev-btn:hover svg {
  transform: translateX(-3px);
}

/* Dark Theme Variant */
[data-theme="dark"] .freepik-pill-btn,
body:not([data-theme="light"]) .freepik-pill-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .freepik-pill-btn:hover,
body:not([data-theme="light"]) .freepik-pill-btn:hover {
  background: #ffffff;
  color: #0b1120;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

/* Page Numbers Pills */
.freepik-page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.freepik-num-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 0.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.freepik-num-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.06);
}

.freepik-num-btn.active {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  border-color: #60a5fa;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.5);
}

.freepik-ellipsis {
  color: #64748b;
  padding: 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
}

/* Page Indicator Text (Matching User Screenshot: "Page 1 of 1506") */
.freepik-page-indicator {
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Faceless AI Video Language Filter Bar (Matching User Screenshot)
   ========================================================================== */
.faceless-lang-bar-wrap {
  margin-bottom: 1.5rem;
  width: 100%;
}

.faceless-lang-pills-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.25rem 0 0.65rem 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.faceless-lang-pills-bar::-webkit-scrollbar {
  display: none; /* Chrome / Safari */
}

.faceless-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(13, 20, 36, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.42rem 0.85rem;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  user-select: none;
  border-style: solid;
}

.faceless-lang-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  transform: translateY(-1px);
}

.faceless-lang-pill.active {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.35);
}

.faceless-lang-pill.active .lang-pill-code {
  color: #60a5fa;
}

.lang-pill-code {
  font-size: 0.68rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lang-pill-name {
  color: inherit;
}

/* "+ many more" Pill Button (Matching User Screenshot) */
.faceless-lang-pill.lang-pill-more {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10d07a;
  font-weight: 700;
}

.faceless-lang-pill.lang-pill-more:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: #10d07a;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.35);
}

.faceless-ai-card.lang-hidden {
  display: none !important;
}

@keyframes facelessFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faceless-ai-card:not(.lang-hidden) {
  animation: facelessFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   Faceless AI Video & Single Product Video Player System
   ========================================================================== */
.faceless-audio-equalizer .eq-bar {
  display: inline-block;
  width: 3px;
  background: #f87171;
  border-radius: 2px;
  animation: eqWaveAnim 0.8s ease-in-out infinite alternate;
}
.faceless-audio-equalizer .eq-bar:nth-child(2) { animation-delay: 0.15s; background: #facc15; }
.faceless-audio-equalizer .eq-bar:nth-child(3) { animation-delay: 0.3s; background: #10d07a; }
.faceless-audio-equalizer .eq-bar:nth-child(4) { animation-delay: 0.45s; background: #38bdf8; }
.faceless-audio-equalizer .eq-bar:nth-child(5) { animation-delay: 0.2s; background: #facc15; }
.faceless-audio-equalizer .eq-bar:nth-child(6) { animation-delay: 0.1s; background: #f87171; }

@keyframes eqWaveAnim {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1.4); }
}

.faceless-scrubber-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.85rem 0.65rem;
  background: linear-gradient(180deg, transparent 0%, rgba(3, 7, 18, 0.95) 100%);
  z-index: 4;
}

.faceless-timecode-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  font-family: monospace;
  color: #94a3b8;
  margin-top: 0.3rem;
}

/* Section Wrappers for Visual Distinction */
.home-sound-section {
  border-top: 1px solid rgba(129, 140, 248, 0.12);
  border-bottom: 1px solid rgba(129, 140, 248, 0.12);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.home-prompts-section {
  border-bottom: 1px solid rgba(245, 158, 11, 0.12);
  padding-bottom: 2rem;
}

.home-music-section {
  border-bottom: 1px solid rgba(16, 208, 122, 0.12);
  padding-bottom: 2rem;
}

.home-ebooks-section {
  border-bottom: 1px solid rgba(192, 132, 252, 0.12);
  padding-bottom: 2rem;
}

.home-faceless-vault-wrap {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.04) 0%, rgba(13, 19, 34, 0.75) 50%, rgba(239, 68, 68, 0.02) 100%);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 22px;
  padding: 2.25rem 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 0 30px rgba(239, 68, 68, 0.04);
}

.home-ugc-ad-section {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.04) 0%, rgba(13, 19, 34, 0.75) 50%, rgba(245, 158, 11, 0.02) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 22px;
  padding: 2.25rem 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 0 30px rgba(245, 158, 11, 0.04);
}

.home-courses-section {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.04) 0%, rgba(13, 19, 34, 0.75) 50%, rgba(56, 189, 248, 0.02) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 22px;
  padding: 2.25rem 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 0 30px rgba(56, 189, 248, 0.04);
}

@media (max-width: 768px) {
  .home-faceless-vault-wrap,
  .home-ugc-ad-section,
  .home-courses-section {
    padding: 1.5rem 1rem !important;
  }
}