/* ==============================================================================
   AKKI NAGPAL (@akkinagpal) — ULTRA-PREMIUM CREATOR HUB STYLES
   ==============================================================================
   Modern Bento Aesthetic, Glassmorphism, Micro-Interactions, High-Converting UI
   Fully Responsive for Mobile, Foldables, Tablets, and Desktop Screens.
   ============================================================================== */

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

:root {
  /* Surface & Base (Light Mode) */
  --bg-page: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(14, 165, 233, 0.35);
  --border-focus: #0ea5e9;

  /* Typography */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Hero Banner Identity (Deep Midnight Petrol) */
  --hero-bg: #0c1a24;
  --hero-bg-gradient: radial-gradient(circle at 85% 15%, rgba(14, 165, 233, 0.22) 0%, transparent 60%),
                      radial-gradient(circle at 15% 90%, rgba(16, 185, 129, 0.15) 0%, transparent 55%),
                      linear-gradient(160deg, #102635 0%, #08151e 100%);
  --hero-text: #ffffff;
  --hero-tagline: #7dd3fc;
  --hero-subtitle: #cbd5e1;
  --hero-border: rgba(255, 255, 255, 0.12);

  /* Accents & Brand Gradients */
  --accent-cyan: #0ea5e9;
  --accent-cyan-glow: rgba(14, 165, 233, 0.25);
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --gradient-text: linear-gradient(135deg, #38bdf8 0%, #a7f3d0 100%);
  --gradient-btn: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 18px -2px rgba(15, 23, 42, 0.07), 0 2px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 16px 32px -4px rgba(15, 23, 42, 0.1), 0 6px 12px -4px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 24px rgba(14, 165, 233, 0.2);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-card: 20px;
  --radius-hero: clamp(20px, 4.5vw, 28px);
  --radius-pill: 9999px;

  /* Transitions */
  --spring-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --spring-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --spring-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark Mode Tokens */
[data-theme="dark"] {
  --bg-page: #070d12;
  --bg-subtle: #0f1922;
  --bg-card: #0f1b24;
  --bg-card-hover: #14232f;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(56, 189, 248, 0.4);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-light: #64748b;

  --hero-bg: #09151d;
  --hero-bg-gradient: radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.25) 0%, transparent 60%),
                      radial-gradient(circle at 15% 90%, rgba(16, 185, 129, 0.18) 0%, transparent 55%),
                      linear-gradient(160deg, #0d1e29 0%, #050d13 100%);
  --hero-border: rgba(255, 255, 255, 0.15);

  --shadow-md: 0 8px 24px -2px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 40px -4px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 30px rgba(56, 189, 248, 0.3);
}

/* Universal Reset & Global Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--bg-page);
  color: var(--text-primary);
  transition: background-color var(--spring-smooth), color var(--spring-smooth);
  padding: clamp(10px, 3vw, 24px) clamp(12px, 3.5vw, 20px);
  padding-bottom: max(50px, env(safe-area-inset-bottom));
  padding-top: max(12px, env(safe-area-inset-top));
  background-image: radial-gradient(rgba(14, 165, 233, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ==============================================================================
   TOP UTILITY NAV (Glassmorphic)
   ============================================================================== */
.top-nav {
  width: 100%;
  max-width: 640px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(12px, 2.5vw, 18px);
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: all var(--spring-fast);
}

[data-theme="dark"] .top-nav {
  background: rgba(15, 25, 35, 0.75);
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: clamp(0.78rem, 2.4vw, 0.86rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-glow 2.5s infinite;
  flex-shrink: 0;
}

@keyframes pulse-glow {
  0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 6px var(--accent-emerald); }
  50% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 14px var(--accent-emerald); }
  100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 6px var(--accent-emerald); }
}

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

.icon-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--spring-fast);
  box-shadow: var(--shadow-sm);
}

.icon-btn:hover {
  background: var(--bg-subtle);
  color: var(--accent-cyan);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.icon-btn svg {
  width: 17px;
  height: 17px;
}

/* ==============================================================================
   MAIN CONTAINER
   ============================================================================== */
.page-container {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 4vw, 28px);
}

/* ==============================================================================
   HERO BANNER (Elevated Dark Petrol Card with Ambient Aurora)
   ============================================================================== */
.hero-card {
  background: var(--hero-bg);
  background-image: var(--hero-bg-gradient);
  color: var(--hero-text);
  border-radius: var(--radius-hero);
  padding: clamp(22px, 5.5vw, 34px) clamp(20px, 5vw, 32px);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--hero-border), 0 8px 32px rgba(10, 25, 36, 0.35);
  position: relative;
  overflow: hidden;
  transition: transform var(--spring-smooth), box-shadow var(--spring-smooth);
}

.hero-card:hover {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(56, 189, 248, 0.3), var(--shadow-glow);
}

/* Shimmer Light Reflection */
.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  opacity: 0.6;
}

/* Top Meta Row (Avatar + Creator Name + Status) */
.hero-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(10px, 2.5vw, 14px);
  gap: 12px;
}

.hero-profile-header {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.5vw, 14px);
}

.hero-avatar-wrapper {
  width: clamp(44px, 11vw, 54px);
  height: clamp(44px, 11vw, 54px);
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid rgba(56, 189, 248, 0.6);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 16px rgba(14, 165, 233, 0.3);
  flex-shrink: 0;
  position: relative;
  background: #0f2738;
}

.hero-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-name-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-name-wrapper {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-name {
  font-size: clamp(1.25rem, 4.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.6));
}

.hero-handle {
  font-size: 0.78rem;
  color: var(--hero-tagline);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.curated-badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  font-size: clamp(0.65rem, 1.8vw, 0.74rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Category Subtitle */
.hero-tagline {
  font-size: clamp(0.72rem, 2.2vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hero-tagline);
  margin-bottom: clamp(12px, 3vw, 16px);
  display: block;
  opacity: 0.95;
}

/* Big Hero Headline with Gradient Text */
.hero-title {
  font-size: clamp(1.5rem, 5.2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: clamp(10px, 2.5vw, 14px);
  word-break: break-word;
}

.hero-title .gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2.8vw, 1rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--hero-subtitle);
  margin-bottom: clamp(16px, 4vw, 22px);
}

/* Creator Highlight Stats Strip */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2.5vw, 16px);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: clamp(16px, 4vw, 20px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  flex-wrap: wrap;
}

.hero-stat-item {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.hero-stat-value {
  font-size: clamp(0.95rem, 3vw, 1.15rem);
  font-weight: 800;
  color: #ffffff;
}

.hero-stat-label {
  font-size: clamp(0.68rem, 2vw, 0.74rem);
  color: var(--hero-tagline);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-stat-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.15);
}

/* Social Media Dock inside Hero */
.hero-socials {
  display: flex;
  align-items: center;
  gap: clamp(7px, 2vw, 10px);
  padding-top: clamp(12px, 3vw, 16px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  text-decoration: none;
  font-size: clamp(0.76rem, 2.2vw, 0.84rem);
  font-weight: 600;
  padding: 7px clamp(11px, 2.8vw, 15px);
  border-radius: var(--radius-pill);
  transition: all var(--spring-fast);
}

.social-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-pill svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* Specific Social Brand Highlights on Hover */
.social-pill[data-platform="youtube"]:hover {
  border-color: #ef4444;
  color: #fca5a5;
}
.social-pill[data-platform="instagram"]:hover {
  border-color: #ec4899;
  color: #fbcfe8;
}

/* ==============================================================================
   FLASH SALE DEALS SECTION (Buy Before The Sale Ends!)
   ============================================================================== */
.sale-alert-card {
  background: var(--bg-card);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-card);
  padding: clamp(16px, 4vw, 22px);
  box-shadow: 0 4px 20px -2px rgba(245, 158, 11, 0.12), var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .sale-alert-card {
  background: #111a1e;
  border-color: rgba(245, 158, 11, 0.4);
}

.sale-alert-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #ef4444, #f59e0b);
  animation: shimmer-bar 3s infinite linear;
}

@keyframes shimmer-bar {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.sale-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sale-badge {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sale-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse-glow 1.5s infinite;
}

.sale-title {
  font-size: clamp(1.1rem, 3.4vw, 1.28rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

.sale-subtitle {
  font-size: clamp(0.78rem, 2.2vw, 0.85rem);
  color: var(--text-muted);
  line-height: 1.4;
}

.sale-deals-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.sale-deal-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--spring-fast);
  gap: 10px;
}

.sale-deal-item:hover {
  background: var(--bg-card);
  border-color: var(--border-hover);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}

.deal-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.deal-num {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.deal-text {
  min-width: 0;
}

.deal-name {
  font-size: clamp(0.85rem, 2.5vw, 0.94rem);
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.deal-buy-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f59e0b;
  color: #000000;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--spring-fast);
}

.sale-deal-item:hover .deal-buy-chip {
  background: #d97706;
  color: #ffffff;
  transform: scale(1.04);
}

/* ==============================================================================
   FEATURED VIDEO SHORT CARD (Car Curtains Spotlight)
   ============================================================================== */
.featured-video-card {
  background: linear-gradient(145deg, #101c26 0%, #0a141c 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-card);
  padding: clamp(16px, 4vw, 22px);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.video-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}

.video-card-title {
  font-size: clamp(1.1rem, 3.5vw, 1.3rem);
  font-weight: 800;
  color: #ffffff;
}

.video-card-desc {
  font-size: clamp(0.82rem, 2.4vw, 0.88rem);
  color: #cbd5e1;
  line-height: 1.5;
}

.video-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.btn-watch-video {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  transition: all var(--spring-fast);
}

.btn-watch-video:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: translateY(-2px);
}

.btn-buy-amazon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f59e0b;
  color: #000000;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  transition: all var(--spring-fast);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.btn-buy-amazon:hover {
  background: #fbbf24;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5);
}

/* ==============================================================================
   INTERACTIVE CATEGORY FILTER TABS
   ============================================================================== */
.filter-tabs-container {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 8px 2px;
  scrollbar-width: none;
}

.filter-tabs-container::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: clamp(0.76rem, 2.2vw, 0.84rem);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--spring-fast);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-tab:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.filter-tab.active {
  background: var(--text-primary);
  color: var(--bg-card);
  border-color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

/* ==============================================================================
   SECTION HEADINGS & SEARCH
   ============================================================================== */
.section-wrapper {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 3vw, 16px);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 4px;
  flex-wrap: wrap;
  gap: 6px;
}

.section-title {
  font-size: clamp(1.25rem, 4vw, 1.45rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.section-hint {
  font-size: clamp(0.76rem, 2.2vw, 0.84rem);
  color: var(--text-muted);
  font-weight: 500;
}

/* Search Container */
.search-container {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: clamp(0.86rem, 2.5vw, 0.94rem);
  outline: none;
  transition: all var(--spring-fast);
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  width: 17px;
  height: 17px;
}

.search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: none;
}

/* ==============================================================================
   2-COLUMN BENTO GRID (Attractive, High-End Card Visuals)
   ============================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 3.8vw, 20px);
  width: 100%;
}

.card-item {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  user-select: none;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--spring-smooth), box-shadow var(--spring-smooth), border-color var(--spring-fast);
}

.card-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-hover);
  border-color: var(--border-hover);
}

.card-item:active {
  transform: scale(0.98);
}

/* Card Image Box */
.card-image-box {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-subtle);
}

/* Subtle gradient vignette over image bottom */
.card-image-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 50%, rgba(15, 23, 42, 0.45) 100%);
  pointer-events: none;
  transition: opacity var(--spring-fast);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-item:hover .card-image {
  transform: scale(1.08);
}

/* Floating Badge Pill */
.card-badge {
  position: absolute;
  top: clamp(8px, 2.2vw, 12px);
  right: clamp(8px, 2.2vw, 12px);
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: clamp(0.64rem, 1.8vw, 0.72rem);
  font-weight: 700;
  padding: 4px clamp(7px, 2vw, 10px);
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 2;
  white-space: nowrap;
}

/* Road Tested Category Pill on bottom of image */
.card-tested-tag {
  position: absolute;
  bottom: 8px;
  left: 10px;
  background: rgba(14, 165, 233, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Card Body below image */
.card-body {
  padding: clamp(10px, 2.5vw, 14px) clamp(12px, 3vw, 16px) clamp(12px, 3vw, 16px) clamp(12px, 3vw, 16px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.card-title {
  font-size: clamp(0.96rem, 3.2vw, 1.12rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.3;
}

.card-arrow-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--spring-fast);
  flex-shrink: 0;
}

.card-item:hover .card-arrow-circle {
  background: var(--accent-cyan);
  color: #ffffff;
  transform: translate(2px, -2px);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.4);
}

.card-arrow-circle svg {
  width: 14px;
  height: 14px;
}

.card-subtitle {
  font-size: clamp(0.74rem, 2.2vw, 0.82rem);
  color: var(--text-muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==============================================================================
   EXPEDITION HIGHLIGHTS & ROAD TRIP SHOWCASE (Improvised Creator Feature)
   ============================================================================== */
.expedition-card {
  background: linear-gradient(135deg, #091a28 0%, #112838 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-card);
  padding: clamp(16px, 4vw, 22px);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.expedition-card::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.expedition-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.expedition-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.expedition-tag span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  animation: pulse-glow 2s infinite;
}

.expedition-route-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
}

.expedition-title {
  font-size: clamp(1.05rem, 3.4vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.expedition-route-map {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  color: #cbd5e1;
  overflow-x: auto;
  white-space: nowrap;
}

.expedition-route-map strong {
  color: #38bdf8;
}

/* Quick Links List */
.quick-links-group {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 2vw, 12px);
}

.quick-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(12px, 3vw, 16px) clamp(14px, 3.5vw, 18px);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--spring-smooth);
  gap: 12px;
}

.quick-link-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.quick-link-content {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.8vw, 14px);
  min-width: 0;
}

.quick-link-icon {
  width: clamp(38px, 8.5vw, 44px);
  height: clamp(38px, 8.5vw, 44px);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: all var(--spring-fast);
}

.quick-link-card:hover .quick-link-icon {
  background: var(--accent-cyan-glow);
  color: var(--accent-cyan);
}

.quick-link-icon svg {
  width: clamp(18px, 4.5vw, 22px);
  height: clamp(18px, 4.5vw, 22px);
}

.quick-link-info {
  min-width: 0;
}

.quick-link-info h4 {
  font-size: clamp(0.88rem, 2.6vw, 0.98rem);
  font-weight: 700;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-link-info p {
  font-size: clamp(0.75rem, 2.2vw, 0.82rem);
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-link-badge {
  font-size: clamp(0.68rem, 1.8vw, 0.74rem);
  font-weight: 700;
  padding: 4px clamp(8px, 2.2vw, 11px);
  border-radius: var(--radius-pill);
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
  white-space: nowrap;
  flex-shrink: 0;
}

[data-theme="dark"] .quick-link-badge {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.2);
}

/* ==============================================================================
   NEWSLETTER CARD
   ============================================================================== */
.newsletter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: clamp(20px, 4.8vw, 28px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 2.2vw, 12px);
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-text);
}

.newsletter-title {
  font-size: clamp(1.1rem, 3.4vw, 1.28rem);
  font-weight: 800;
  color: var(--text-primary);
}

.newsletter-subtitle {
  font-size: clamp(0.84rem, 2.5vw, 0.92rem);
  color: var(--text-secondary);
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
  }
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-size: clamp(0.85rem, 2.5vw, 0.92rem);
  outline: none;
  transition: border-color var(--spring-fast);
}

.newsletter-input:focus {
  border-color: var(--accent-cyan);
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-card);
  border: none;
  padding: 12px clamp(18px, 4vw, 24px);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: clamp(0.85rem, 2.5vw, 0.92rem);
  cursor: pointer;
  transition: all var(--spring-fast);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.newsletter-disclaimer {
  font-size: clamp(0.7rem, 2vw, 0.75rem);
  color: var(--text-muted);
}

/* ==============================================================================
   FOOTER & LEGAL AFFILIATE DISCLOSURE
   ============================================================================== */
.site-footer {
  margin-top: clamp(14px, 3.5vw, 22px);
  padding: clamp(18px, 4vw, 26px) 4px 10px 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
}

.disclosure-box {
  background: var(--bg-card);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(12px, 3vw, 16px);
  font-size: clamp(0.74rem, 2.1vw, 0.8rem);
  line-height: 1.55;
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(0.74rem, 2vw, 0.82rem);
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 8px;
}

.back-to-top {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 700;
  transition: color var(--spring-fast);
}

.back-to-top:hover {
  color: var(--accent-cyan);
}

/* ==============================================================================
   RESPONSIVE PRODUCT MODAL DRAWER (Apple-Store Quality)
   ============================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 26, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--spring-smooth), visibility var(--spring-smooth);
}

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

.modal-sheet {
  background: var(--bg-card);
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  max-height: 88dvh;
  border-radius: 28px 28px 0 0;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-subtle);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform var(--spring-bounce);
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}

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

/* Tablet & Desktop Centered Dialog View */
@media (min-width: 640px) {
  .modal-overlay {
    align-items: center;
    padding: 24px;
  }
  .modal-sheet {
    border-radius: 24px;
    max-height: 84vh;
    transform: scale(0.94) translateY(12px);
    padding-bottom: 0;
  }
  .modal-overlay.active .modal-sheet {
    transform: scale(1) translateY(0);
  }
  .modal-drag-handle {
    display: none;
  }
}

.modal-drag-handle {
  width: 46px;
  height: 5px;
  background: var(--text-light);
  border-radius: var(--radius-pill);
  margin: 10px auto 4px auto;
  opacity: 0.4;
}

.modal-header {
  padding: clamp(14px, 3vw, 20px) clamp(18px, 4.5vw, 26px);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  gap: 12px;
}

.modal-header-info h3 {
  font-size: clamp(1.2rem, 3.8vw, 1.45rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

.modal-header-info p {
  font-size: clamp(0.78rem, 2.2vw, 0.86rem);
  color: var(--text-muted);
  margin-top: 3px;
}

.modal-close-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--spring-fast);
  flex-shrink: 0;
}

.modal-close-btn:hover {
  background: var(--text-primary);
  color: var(--bg-card);
}

.modal-body {
  padding: clamp(16px, 3.8vw, 22px) clamp(16px, 4vw, 26px) clamp(24px, 4.5vw, 32px) clamp(16px, 4vw, 26px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2.8vw, 16px);
}

/* Product Item Inside Modal */
.product-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: clamp(16px, 3.8vw, 20px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: all var(--spring-fast);
}

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

.product-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.product-title-group h4 {
  font-size: clamp(0.96rem, 2.8vw, 1.08rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
}

.product-category-tag {
  display: inline-block;
  font-size: clamp(0.66rem, 1.8vw, 0.72rem);
  font-weight: 800;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

[data-theme="dark"] .product-category-tag {
  color: #38bdf8;
}

.product-price {
  font-size: clamp(0.92rem, 2.8vw, 1.02rem);
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
}

.product-desc {
  font-size: clamp(0.82rem, 2.4vw, 0.9rem);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Akki's Verdict Note Box */
.product-verdict {
  background: rgba(14, 165, 233, 0.06);
  border-left: 3px solid var(--accent-cyan);
  padding: 8px 12px;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  font-size: clamp(0.74rem, 2vw, 0.8rem);
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.45;
}

.product-verdict strong {
  font-style: normal;
  color: var(--accent-cyan);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 2px;
}

.product-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-subtle);
  flex-wrap: wrap;
}

.affiliate-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--text-primary);
  color: var(--bg-card);
  text-decoration: none;
  font-size: clamp(0.82rem, 2.4vw, 0.88rem);
  font-weight: 700;
  padding: 9px clamp(14px, 3.2vw, 18px);
  border-radius: var(--radius-pill);
  transition: all var(--spring-fast);
  margin-left: auto;
  box-shadow: var(--shadow-sm);
}

.affiliate-buy-btn:hover {
  background: var(--accent-cyan);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
}

.affiliate-buy-btn svg {
  width: 14px;
  height: 14px;
}

/* ==============================================================================
   TOAST NOTIFICATION
   ============================================================================== */
.toast-notice {
  position: fixed;
  bottom: clamp(20px, 4.5vw, 28px);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0b1a24;
  color: #ffffff;
  padding: 11px clamp(18px, 4vw, 24px);
  border-radius: var(--radius-pill);
  font-size: clamp(0.8rem, 2.2vw, 0.88rem);
  font-weight: 700;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2000;
  opacity: 0;
  transition: all var(--spring-bounce);
  pointer-events: none;
  max-width: 90vw;
  text-align: center;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-notice svg {
  width: 17px;
  height: 17px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 16px;
  color: var(--text-muted);
  font-size: 0.94rem;
}
