/* ============================================
   GlowNest Finds - Main Stylesheet
   Brand: Black, White, Gold Premium Aesthetic
   ============================================ */

/* --- CSS Variables --- */
:root {
  --gold: #D4A017;
  --gold-light: #F0C040;
  --gold-dark: #A07810;
  --black: #0A0A0A;
  --dark-bg: #111111;
  --dark-card: #1A1A1A;
  --dark-border: #2A2A2A;
  --dark-text: #E8E8E8;
  --dark-muted: #888888;
  --white: #FFFFFF;
  --light-bg: #F8F8F6;
  --light-card: #FFFFFF;
  --light-border: #E5E5E5;
  --light-text: #1A1A1A;
  --light-muted: #666666;
  --success: #22C55E;
  --danger: #EF4444;
  --warning: #F59E0B;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --shadow-gold: 0 4px 20px rgba(212,160,23,0.25);
  --transition: 0.3s ease;
  --font-main: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
}

/* --- Light Mode --- */
[data-theme="light"] {
  --bg: var(--light-bg);
  --card-bg: var(--light-card);
  --border: var(--light-border);
  --text: var(--light-text);
  --text-muted: var(--light-muted);
  --nav-bg: rgba(255,255,255,0.95);
  --nav-shadow: 0 2px 20px rgba(0,0,0,0.08);
  --hero-overlay: rgba(248,248,246,0.6);
  --input-bg: #F0F0EE;
}

/* --- Dark Mode (Default) --- */
[data-theme="dark"], :root {
  --bg: var(--dark-bg);
  --card-bg: var(--dark-card);
  --border: var(--dark-border);
  --text: var(--dark-text);
  --text-muted: var(--dark-muted);
  --nav-bg: rgba(17,17,17,0.95);
  --nav-shadow: 0 2px 20px rgba(0,0,0,0.4);
  --hero-overlay: rgba(10,10,10,0.5);
  --input-bg: #222222;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text);
  transition: background-color var(--transition), color var(--transition);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* --- Typography --- */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

.display-font { font-family: var(--font-display); }

.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Layout --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }

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

/* --- Flex --- */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--nav-shadow);
  transition: all var(--transition);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
}

.navbar-logo img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.navbar-logo span.brand { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.nav-link:hover, .nav-link.active {
  color: var(--gold);
  background: rgba(212,160,23,0.08);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-theme {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.btn-tiktok-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #000, #1a1a1a);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all var(--transition);
}

.btn-tiktok-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  background: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu.open { display: flex; }

.mobile-nav-link {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: rgba(212,160,23,0.1);
  color: var(--gold);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: #000;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,160,23,0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-2px);
}

.btn-dark {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-dark:hover { background: #222; transform: translateY(-2px); }

.btn-amazon {
  background: linear-gradient(135deg, #FF9900, #FFB84D);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255,153,0,0.3);
}

.btn-amazon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,153,0,0.4);
}

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; }

.btn-tiktok {
  background: linear-gradient(135deg, #010101, #161616);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-tiktok:hover {
  background: linear-gradient(135deg, #161616, #2a2a2a);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(212,160,23,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at bottom left, rgba(212,160,23,0.08) 0%, transparent 60%);
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.15;
  animation: float-particle 6s ease-in-out infinite;
}

@keyframes float-particle {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(212,160,23,0.12);
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
  animation: fadeInDown 0.6s ease;
}

.hero-title {
  margin-bottom: 20px;
  animation: fadeInUp 0.7s ease;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  animation: fadeInUp 1s ease;
}

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

.hero-stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 0.8s ease;
}

.hero-profile-ring {
  position: relative;
  width: 320px;
  height: 320px;
}

.hero-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(var(--gold), var(--gold-light), var(--gold-dark), var(--gold));
  animation: spin-slow 8s linear infinite;
  padding: 4px;
}

.hero-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg);
}

.hero-avatar {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--dark-card), var(--dark-border));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-avatar-placeholder {
  font-size: 5rem;
  filter: drop-shadow(0 0 20px rgba(212,160,23,0.4));
}

.hero-floating-cards {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-card {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: float-card 4s ease-in-out infinite;
  white-space: nowrap;
}

.floating-card:nth-child(1) { top: 5%; right: -10%; animation-delay: 0s; }
.floating-card:nth-child(2) { bottom: 20%; left: -15%; animation-delay: 1s; }
.floating-card:nth-child(3) { top: 55%; right: -15%; animation-delay: 2s; }

.floating-card .card-icon { font-size: 1.2rem; }

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================
   AFFILIATE DISCLOSURE BANNER
   ============================================ */
.affiliate-banner {
  background: linear-gradient(135deg, rgba(212,160,23,0.12), rgba(212,160,23,0.06));
  border-top: 1px solid rgba(212,160,23,0.2);
  border-bottom: 1px solid rgba(212,160,23,0.2);
  padding: 10px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.affiliate-banner a { color: var(--gold); text-decoration: underline; }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  background: rgba(212,160,23,0.1);
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title { margin-bottom: 12px; }

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.section-link:hover { gap: 10px; }

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212,160,23,0.3);
}

.product-card-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--input-bg);
}

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

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 1;
}

.badge-trending { background: var(--gold); color: #000; }
.badge-hot { background: #EF4444; color: #fff; }
.badge-new { background: var(--success); color: #fff; }
.badge-sale { background: #8B5CF6; color: #fff; }
.badge-best-seller { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: #000; }

.product-tiktok-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.15);
  z-index: 1;
}

.product-tiktok-btn:hover {
  background: rgba(0,0,0,0.9);
  transform: scale(1.1);
}

.product-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.product-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.stars { color: var(--gold); font-size: 0.8rem; }
.rating-text { font-size: 0.78rem; color: var(--text-muted); }

.product-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
}

.product-original-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-discount {
  background: rgba(212,160,23,0.12);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.product-card-footer {
  display: flex;
  gap: 8px;
}

.product-card-footer .btn {
  flex: 1;
  font-size: 0.82rem;
  padding: 9px 12px;
}

/* ============================================
   CATEGORIES
   ============================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

.category-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

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

.category-card.active {
  background: rgba(212,160,23,0.08);
  border-color: var(--gold);
}

.category-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: rgba(212,160,23,0.1);
  border: 2px solid rgba(212,160,23,0.2);
  transition: all var(--transition);
}

.category-card:hover .category-icon,
.category-card.active .category-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

.category-name {
  font-size: 0.82rem;
  font-weight: 600;
}

.category-count {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ============================================
   TIKTOK VIDEO CARDS
   ============================================ */
.tiktok-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.tiktok-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.tiktok-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212,160,23,0.3);
}

.tiktok-thumbnail {
  aspect-ratio: 9/16;
  max-height: 300px;
  background: var(--input-bg);
  position: relative;
  overflow: hidden;
}

.tiktok-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tiktok-thumbnail-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

.tiktok-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: all var(--transition);
}

.tiktok-card:hover .tiktok-play-btn { opacity: 1; }

.play-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.3rem;
  padding-left: 4px;
}

.tiktok-card-body { padding: 14px; }

.tiktok-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tiktok-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================
   SEARCH BAR
   ============================================ */
.search-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  padding: 14px 20px 14px 50px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  font-size: 1rem;
  transition: all var(--transition);
  outline: none;
}

.search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.1);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}

.search-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 4px;
  display: none;
}

.search-clear.visible { display: block; }

/* ============================================
   FILTER BAR
   ============================================ */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  font-weight: 700;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: linear-gradient(135deg, var(--card-bg), var(--bg));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
  padding: 60px 0 0;
  color: var(--dark-text);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--dark-border);
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  margin-bottom: 12px;
}

.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--dark-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-muted);
  font-size: 0.9rem;
  transition: all var(--transition);
  text-decoration: none;
}

.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--dark-muted);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover { color: var(--gold); padding-left: 4px; }

.footer-bottom {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--dark-muted);
}

.footer-affiliate-note {
  background: rgba(212,160,23,0.08);
  border: 1px solid rgba(212,160,23,0.2);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  margin: 0 24px 20px;
  font-size: 0.8rem;
  color: var(--dark-muted);
  text-align: center;
}

/* ============================================
   LOADING STATES
   ============================================ */
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--card-bg) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.skeleton-img { aspect-ratio: 1; }
.skeleton-text { height: 14px; margin: 8px 16px; }
.skeleton-text.w-60 { width: 60%; }
.skeleton-text.w-80 { width: 80%; }

/* ============================================
   EMPTY STATES
   ============================================ */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
}

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

.empty-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.empty-desc { font-size: 0.9rem; }

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  animation: slideInRight 0.3s ease;
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }
.toast.info { border-left: 4px solid var(--gold); }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

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

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform var(--transition);
}

.modal-overlay.open .modal { transform: scale(1); }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--card-bg);
  z-index: 1;
}

.modal-title { font-size: 1.1rem; font-weight: 700; }

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--input-bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

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

.modal-body { padding: 24px; }

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-btn:hover { border-color: var(--gold); color: var(--gold); }
.page-btn.active { background: var(--gold); border-color: var(--gold); color: #000; font-weight: 700; }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: radial-gradient(ellipse at center top, rgba(212,160,23,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-title { margin-bottom: 12px; }
.page-hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in { animation: fadeIn 0.6s ease forwards; }
.animate-fade-up { animation: fadeInUp 0.6s ease forwards; }

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PAGE TRANSITIONS
   ============================================ */
.page-transition {
  animation: fadeIn 0.4s ease;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.hidden { display: none !important; }
.visible { display: flex !important; }

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  color: var(--text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .hero-content { gap: 40px; }
  .hero-profile-ring { width: 260px; height: 260px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-tiktok-nav { display: none; }
  .hamburger { display: flex; }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 24px;
  }

  .hero-visual { order: -1; }
  .hero-profile-ring { width: 220px; height: 220px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .floating-card { display: none; }

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

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .stats-bar { padding: 24px; grid-template-columns: repeat(2, 1fr); }

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

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .tiktok-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { padding: 14px 28px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
