/* ============================================================
   AMZ STUDIO8 FILMS — Premium Sound Marketplace
   Main Stylesheet v1.0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700&display=swap');

/* ============ VARIABLES ============ */
:root {
  --bg-primary:    #080808;
  --bg-secondary:  #0e0e0e;
  --bg-tertiary:   #141414;
  --bg-card:       #111111;
  --bg-card-hover: #1c1c1c;

  --gold:          #c9922a;
  --gold-light:    #e8b84b;
  --gold-pale:     #f5d98a;
  --gold-dark:     #9a6f1e;
  --gold-glow:     rgba(201,146,42,0.18);
  --gold-gradient: linear-gradient(135deg, #c9922a 0%, #f0c040 50%, #c9922a 100%);

  --white:         #ffffff;
  --text-primary:  #efefef;
  --text-secondary:#a8a8a8;
  --text-muted:    #5a5a5a;

  --border:        rgba(201,146,42,0.22);
  --border-light:  rgba(255,255,255,0.07);
  --border-subtle: rgba(255,255,255,0.04);

  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:     'Orbitron', 'Courier New', monospace;

  --nav-height:    116px;
  --max-width:     1280px;

  --ease-out:      cubic-bezier(0.16,1,0.3,1);
  --ease-in-out:   cubic-bezier(0.87,0,0.13,1);
  --transition:    all 0.3s ease;
  --transition-slow: all 0.55s var(--ease-out);

  --shadow-sm:     0 2px 8px rgba(0,0,0,0.35);
  --shadow-md:     0 8px 28px rgba(0,0,0,0.5);
  --shadow-lg:     0 16px 52px rgba(0,0,0,0.65);
  --shadow-gold:   0 0 40px rgba(201,146,42,0.18), 0 0 80px rgba(201,146,42,0.08);
  --shadow-card:   0 6px 28px rgba(0,0,0,0.45);
  --shadow-card-h: 0 18px 56px rgba(0,0,0,0.7), 0 0 24px rgba(201,146,42,0.12);

  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  30px;
  --r-full:9999px;
}

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

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

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

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

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ============ TYPOGRAPHY ============ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

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

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============ SELECTION ============ */
::selection { background: var(--gold-dark); color: var(--white); }

/* ============ LAYOUT HELPERS ============ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-header p { color: var(--text-secondary); margin-top: 12px; font-size: 1.05rem; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-full);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #000;
  box-shadow: 0 4px 20px rgba(201,146,42,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,146,42,0.55);
  filter: brightness(1.08);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold-glow);
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--gold-glow);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}

.btn-dark {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-dark:hover {
  background: var(--bg-card-hover);
  border-color: var(--border);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: 0.82rem; }
.btn-icon { width: 42px; height: 42px; padding: 0; border-radius: var(--r-full); }
.btn-icon-sm { width: 34px; height: 34px; padding: 0; border-radius: var(--r-full); }

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-icon svg { width: 18px; height: 18px; }

/* ============ NAVIGATION ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: stretch;
  background: rgba(8,8,8,0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(6,6,6,0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(201,146,42,0.18);
  box-shadow: 0 4px 40px rgba(0,0,0,0.65);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

/* ---- Top row: hamburger | brand (center) | actions ---- */
.nav-top-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 10px;
}
.nav-top-left {
  flex: 1;
  display: flex;
  align-items: center;
}

/* ---- Bottom row: nav links centered ---- */
.nav-bottom-row {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0 11px;
  border-top: 1px solid rgba(201,146,42,0.14);
}

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
  text-decoration: none;
  pointer-events: auto;
  gap: 5px;
}
.nav-logo .brand-main {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  filter: drop-shadow(0 0 18px rgba(201,146,42,0.25));
}
.nav-logo .brand-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.58rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 500;
}
.nav-logo .brand-sub::before,
.nav-logo .brand-sub::after {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,146,42,0.5));
}
.nav-logo .brand-sub::after {
  background: linear-gradient(90deg, rgba(201,146,42,0.5), transparent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  position: relative;
  padding: 6px 18px 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.25s ease;
  border-radius: 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.nav-search-btn, .nav-wishlist-btn, .nav-account-btn {
  width: 38px; height: 38px;
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
}
.nav-search-btn:hover,.nav-wishlist-btn:hover,.nav-account-btn:hover {
  color: var(--gold);
  border-color: var(--border);
  background: var(--gold-glow);
}
.nav-cart-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--r-full);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-cart-btn:hover { border-color: var(--border); color: var(--gold); background: var(--gold-glow); }
.cart-count {
  background: var(--gold);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
}
.hamburger {
  display: none;
  width: 38px; height: 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light);
}
.hamburger span {
  width: 20px; height: 1.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(8,8,8,0.98);
  backdrop-filter: blur(20px);
  padding: 20px 24px 30px;
  border-bottom: 1px solid var(--border-subtle);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--r-md);
  transition: var(--transition);
  border: 1px solid transparent;
}
.mobile-menu a:hover { color: var(--gold); background: var(--gold-glow); border-color: var(--border); }
.mobile-menu-actions { display: flex; gap: 10px; margin-top: 14px; }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,146,42,0.1) 0%, transparent 70%),
              radial-gradient(ellipse 60% 80% at 0% 50%, rgba(201,146,42,0.04) 0%, transparent 60%),
              radial-gradient(ellipse 50% 70% at 100% 80%, rgba(201,146,42,0.04) 0%, transparent 60%);
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(201,146,42,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(201,146,42,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  padding-top: var(--nav-height);
}
.hero-inner {
  max-width: 760px;
  padding: 100px 0 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(201,146,42,0.1);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 28px;
}
.hero-badge span.pulse {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: var(--r-full);
  animation: pulse-dot 2s infinite;
}
.hero h1 {
  margin-bottom: 22px;
  color: var(--white);
  max-width: 700px;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 540px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}
.hero-stat { text-align: center; }
.hero-stat .num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stat .lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-divider { width: 1px; height: 40px; background: var(--border-light); }

/* Floating sound cards behind hero */
.hero-visual {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 480px;
  opacity: 0.12;
  pointer-events: none;
}

/* ============ MARQUEE / TICKER ============ */
.marquee-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}
.marquee-item svg { color: var(--gold); width: 14px; height: 14px; }

/* ============ SOUND CARD ============ */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.pack-grid-4 { grid-template-columns: repeat(4, 1fr); }
.pack-grid-3 { grid-template-columns: repeat(3, 1fr); }

.pack-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--transition-slow);
  cursor: pointer;
  position: relative;
}
.pack-card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: var(--shadow-card-h);
}
.pack-card-cover {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--bg-tertiary);
}
.pack-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.pack-card:hover .pack-card-cover img { transform: scale(1.07); }
.pack-card-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, #1e1a10 100%);
}
.pack-card-cover-placeholder .cover-icon {
  font-size: 3rem;
  opacity: 0.4;
}
.cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pack-card:hover .cover-overlay { opacity: 1; }
.play-preview-btn {
  width: 52px; height: 52px;
  background: var(--gold-gradient);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  color: #000;
  transform: scale(0.8);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.pack-card:hover .play-preview-btn { transform: scale(1); }
.play-preview-btn:hover { transform: scale(1.1) !important; }

.pack-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-new { background: #1a3a1a; color: #4ade80; border: 1px solid rgba(74,222,128,0.3); }
.badge-hot { background: #3a1a1a; color: #f87171; border: 1px solid rgba(248,113,113,0.3); }
.badge-sale { background: #2a1a3a; color: #c084fc; border: 1px solid rgba(192,132,252,0.3); }
.badge-featured { background: rgba(201,146,42,0.15); color: var(--gold-light); border: 1px solid var(--border); }

.wishlist-btn-card {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
  opacity: 0;
}
.pack-card:hover .wishlist-btn-card { opacity: 1; }
.wishlist-btn-card:hover { color: #f87171; }
.wishlist-btn-card.active { color: #f87171; opacity: 1; }
.wishlist-btn-card svg { width: 14px; height: 14px; }

.pack-card-body { padding: 16px; }
.pack-category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.pack-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-family: var(--font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pack-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pack-meta-left { display: flex; align-items: center; gap: 8px; }
.pack-files {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.pack-files svg { width: 12px; height: 12px; color: var(--text-muted); }
.pack-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.pack-rating .star { color: var(--gold); font-size: 0.72rem; }
.pack-price {
  font-weight: 700;
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 0.95rem;
}
.pack-price .original {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 4px;
  font-weight: 400;
}
.pack-card-footer {
  padding: 0 16px 16px;
  display: flex;
  gap: 8px;
}
.pack-card-footer .btn { flex: 1; }

/* ============ MINI WAVEFORM ============ */
.mini-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 20px;
}
.mini-waveform span {
  width: 2px;
  border-radius: 1px;
  background: var(--gold);
  opacity: 0.5;
  animation: wave-bar 1.2s ease-in-out infinite;
}
.mini-waveform.playing span { opacity: 1; }
.mini-waveform span:nth-child(1) { height: 8px; animation-delay: 0s; }
.mini-waveform span:nth-child(2) { height: 14px; animation-delay: 0.1s; }
.mini-waveform span:nth-child(3) { height: 18px; animation-delay: 0.2s; }
.mini-waveform span:nth-child(4) { height: 12px; animation-delay: 0.15s; }
.mini-waveform span:nth-child(5) { height: 16px; animation-delay: 0.05s; }
.mini-waveform span:nth-child(6) { height: 10px; animation-delay: 0.25s; }
.mini-waveform span:nth-child(7) { height: 14px; animation-delay: 0.1s; }

/* ============ CATEGORY CARDS ============ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201,146,42,0.08) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition);
}
.category-card:hover::before { opacity: 1; }
.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow-card-h);
}
.cat-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(201,146,42,0.12), rgba(201,146,42,0.06));
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.5rem;
  transition: var(--transition);
}
.category-card:hover .cat-icon {
  background: linear-gradient(135deg, rgba(201,146,42,0.22), rgba(201,146,42,0.1));
  transform: scale(1.08);
}
.cat-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.cat-count { font-size: 0.75rem; color: var(--text-muted); }

/* ============ WHY CHOOSE US ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: var(--transition);
}
.feature-card:hover { border-color: var(--border); transform: translateY(-3px); }
.feature-icon {
  width: 52px; height: 52px;
  background: var(--gold-gradient);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: #000;
  font-size: 1.3rem;
}
.feature-card h4 { font-family: var(--font-body); font-size: 1rem; margin-bottom: 10px; color: var(--text-primary); }
.feature-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--border); }
.testi-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: var(--r-full);
  background: var(--gold-gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.testi-name { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }
.testi-role { font-size: 0.75rem; color: var(--text-muted); }

/* ============ NEWSLETTER ============ */
.newsletter-section {
  background: linear-gradient(135deg, rgba(201,146,42,0.07) 0%, rgba(201,146,42,0.02) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 56px;
  text-align: center;
}
.newsletter-section h2 { margin-bottom: 12px; }
.newsletter-section p { color: var(--text-secondary); margin-bottom: 32px; }
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 13px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--r-full);
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}
.newsletter-form input:focus { border-color: var(--border); background: rgba(255,255,255,0.07); }
.newsletter-form input::placeholder { color: var(--text-muted); }

/* ============ AUDIO PLAYER ============ */
.audio-player {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 24px;
}
.audio-player-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.audio-play-btn {
  width: 44px; height: 44px;
  background: var(--gold-gradient);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  color: #000;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(201,146,42,0.3);
}
.audio-play-btn:hover { transform: scale(1.08); filter: brightness(1.1); }
.audio-track-info { flex: 1; min-width: 0; }
.audio-track-name { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.audio-track-meta { font-size: 0.75rem; color: var(--text-muted); }
.audio-time { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; }

.waveform-container {
  position: relative;
  height: 56px;
  margin-bottom: 8px;
  cursor: pointer;
  border-radius: var(--r-sm);
  overflow: hidden;
}
canvas.waveform { width: 100%; height: 100%; display: block; }
.waveform-progress {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: rgba(201,146,42,0.15);
  pointer-events: none;
  transition: width 0.1s;
}
.audio-controls-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.audio-progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--r-full);
  cursor: pointer;
  position: relative;
}
.audio-progress-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: var(--r-full);
  transition: width 0.1s;
}
.audio-volume {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}
.audio-volume input[type=range] {
  width: 70px;
  accent-color: var(--gold);
  cursor: pointer;
}

/* ============ SHOP PAGE ============ */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}
.shop-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 24px;
}
.sidebar-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.filter-group { margin-bottom: 24px; }
.filter-group-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.filter-group-title svg { width: 14px; height: 14px; color: var(--text-muted); transition: var(--transition); }
.filter-group-title.collapsed svg { transform: rotate(-90deg); }

.filter-options { display: flex; flex-direction: column; gap: 7px; }
.filter-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: 0.86rem;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: var(--transition);
}
.filter-opt:hover { color: var(--text-primary); }
.filter-opt input[type=checkbox] {
  accent-color: var(--gold);
  width: 14px; height: 14px;
  cursor: pointer;
}
.filter-opt .opt-count {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 1px 7px;
  border-radius: var(--r-full);
}

.price-range-inputs {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}
.price-range-inputs input {
  flex: 1;
  padding: 8px 10px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
  color: var(--text-primary);
  font-size: 0.82rem;
  outline: none;
  transition: var(--transition);
}
.price-range-inputs input:focus { border-color: var(--border); }
.price-range-sep { color: var(--text-muted); font-size: 0.8rem; }

.shop-main {}
.shop-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.search-box {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 11px 16px 11px 42px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-full);
  color: var(--text-primary);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition);
}
.search-box input:focus { border-color: var(--border); background: var(--bg-card-hover); }
.search-box input::placeholder { color: var(--text-muted); }
.search-box svg {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--text-muted);
}
.sort-select {
  padding: 11px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-full);
  color: var(--text-secondary);
  font-size: 0.88rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}
.sort-select:focus { border-color: var(--border); }
.results-count { font-size: 0.85rem; color: var(--text-muted); }

/* ============ PRODUCT PAGE ============ */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-cover {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}
.product-cover-img {
  width: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-tertiary);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-cover-img img { width: 100%; height: 100%; object-fit: cover; }
.cover-placeholder-lg {
  font-size: 5rem;
  opacity: 0.25;
}
.product-thumbnails { display: flex; gap: 10px; margin-top: 14px; }
.product-thumb {
  width: 70px; height: 70px;
  border-radius: var(--r-sm);
  background: var(--bg-tertiary);
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition);
}
.product-thumb.active { border-color: var(--gold); }
.product-thumb:hover { border-color: var(--border); }

.product-info {}
.product-category-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.product-title { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--white); margin-bottom: 14px; }
.product-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.product-stars { color: var(--gold); font-size: 0.95rem; letter-spacing: 2px; }
.product-review-count { font-size: 0.84rem; color: var(--text-muted); }
.product-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.product-price {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.product-price-orig {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.product-price-badge {
  background: rgba(201,146,42,0.15);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid var(--border);
}
.product-desc { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 24px; }

.product-specs {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 20px;
  margin-bottom: 24px;
}
.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.86rem;
}
.spec-row:last-child { border-bottom: none; padding-bottom: 0; }
.spec-label { color: var(--text-muted); }
.spec-value { color: var(--text-primary); font-weight: 500; }
.spec-value.highlight { color: var(--gold); }

.product-actions { display: flex; gap: 12px; margin-bottom: 20px; }
.product-actions .btn { flex: 1; }
.product-action-secondary { display: flex; gap: 10px; }

.includes-list { margin-bottom: 24px; }
.includes-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 6px 0;
}
.includes-list li svg { color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; }

/* ============ REVIEWS ============ */
.reviews-section { margin-top: 60px; }
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 16px;
}
.review-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.reviewer-avatar {
  width: 38px; height: 38px;
  background: var(--gold-gradient);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}
.reviewer-name { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }
.reviewer-date { font-size: 0.75rem; color: var(--text-muted); }
.review-stars { color: var(--gold); font-size: 0.8rem; }
.review-text { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

/* ============ FORMS ============ */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}
.form-input:focus { border-color: var(--border); background: var(--bg-card-hover); box-shadow: 0 0 0 3px rgba(201,146,42,0.08); }
.form-input::placeholder { color: var(--text-muted); }
.form-textarea { min-height: 130px; resize: vertical; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%235a5a5a' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 38px;
  cursor: pointer;
}

/* ============ CART / CHECKOUT ============ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.cart-item:hover { border-color: var(--border); }
.cart-item-cover {
  width: 72px; height: 72px;
  border-radius: var(--r-md);
  background: var(--bg-tertiary);
  overflow: hidden;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-cat { font-size: 0.7rem; color: var(--gold); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.cart-item-name { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-details { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.cart-item-price { font-family: var(--font-mono); font-size: 1rem; font-weight: 700; color: var(--gold-light); }
.cart-item-remove { color: var(--text-muted); padding: 4px; transition: var(--transition); }
.cart-item-remove:hover { color: #f87171; }

.order-summary {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}
.order-summary h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border-light); }
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 7px 0;
  color: var(--text-secondary);
}
.summary-row.total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  border-top: 1px solid var(--border-light);
  margin-top: 10px;
  padding-top: 16px;
}
.summary-row.total .price { color: var(--gold-light); font-family: var(--font-mono); }
.coupon-field { display: flex; gap: 8px; margin: 16px 0; }
.coupon-field input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
}
.coupon-field input:focus { border-color: var(--border); }
.payment-icons { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.payment-icon {
  padding: 5px 10px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ============ ACCOUNT PAGE ============ */
.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}
.account-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}
.account-sidebar-user {
  padding: 24px;
  background: linear-gradient(135deg, rgba(201,146,42,0.07) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}
.account-avatar {
  width: 64px; height: 64px;
  background: var(--gold-gradient);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 12px;
}
.account-sidebar-nav { padding: 12px; }
.account-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--r-md);
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
}
.account-nav-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.account-nav-link:hover { color: var(--text-primary); background: var(--bg-card-hover); }
.account-nav-link.active { color: var(--gold); background: var(--gold-glow); }
.account-content-panel { display: none; }
.account-content-panel.active { display: block; }

.download-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  transition: var(--transition);
}
.download-item:hover { border-color: var(--border); }

/* ============ ABOUT PAGE ============ */
.about-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.about-content { max-width: 680px; margin: 0 auto; }
.about-content p { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.85; margin-bottom: 22px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { border-color: var(--border); transform: translateY(-3px); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: var(--r-full);
  background: var(--gold-gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}
.team-name { font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.team-role { font-size: 0.8rem; color: var(--gold); margin-bottom: 10px; }
.team-bio { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; }

/* ============ CONTACT PAGE ============ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 { font-size: 1.4rem; color: var(--white); margin-bottom: 16px; }
.contact-info p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 28px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  background: var(--gold-glow);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-detail-text .label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-detail-text .val { font-size: 0.9rem; color: var(--text-primary); font-weight: 500; }
.social-links { display: flex; gap: 10px; margin-top: 24px; }
.social-link {
  width: 40px; height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-link:hover { color: var(--gold); border-color: var(--border); background: var(--gold-glow); }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,146,42,0.08) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-muted); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb svg { width: 12px; height: 12px; }

/* ============ TABS ============ */
.tabs { display: flex; gap: 4px; margin-bottom: 28px; }
.tab-btn {
  padding: 9px 20px;
  border-radius: var(--r-full);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn:hover { color: var(--text-primary); border-color: var(--border-light); }
.tab-btn.active { background: var(--gold-gradient); color: #000; border-color: transparent; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .brand-main {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 4px;
}
.footer-brand .brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
}
.footer-brand p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.7; max-width: 300px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover { color: var(--gold); border-color: var(--border); background: var(--gold-glow); }

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 18px;
  font-family: var(--font-body);
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a {
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul a:hover { color: var(--gold); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.8rem; color: var(--text-muted); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ============ TOAST ============ */
.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(--bg-card-hover);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  animation: slideInRight 0.35s var(--ease-out);
  backdrop-filter: blur(12px);
}
.toast.removing { animation: slideOutRight 0.3s ease forwards; }
.toast-icon { font-size: 1.2rem; flex-shrink: 0; }
.toast-message { font-size: 0.88rem; color: var(--text-primary); flex: 1; }
.toast-close { color: var(--text-muted); transition: var(--transition); padding: 2px; }
.toast-close:hover { color: var(--text-primary); }
.toast-close svg { width: 14px; height: 14px; }
.toast-success { border-color: rgba(74,222,128,0.25); }
.toast-success .toast-icon { color: #4ade80; }
.toast-error { border-color: rgba(248,113,113,0.25); }
.toast-error .toast-icon { color: #f87171; }
.toast-info { border-color: var(--border); }
.toast-info .toast-icon { color: var(--gold); }

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  max-width: 440px;
  width: 100%;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s var(--ease-out);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-title { font-size: 1.2rem; color: var(--white); font-family: var(--font-display); }
.modal-close { color: var(--text-muted); transition: var(--transition); }
.modal-close:hover { color: var(--text-primary); }

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

/* ============ BADGES ============ */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}
.tag-gold { background: rgba(201,146,42,0.1); color: var(--gold); border-color: var(--border); }

/* ============ DIVIDER ============ */
.divider { height: 1px; background: var(--border-light); margin: 40px 0; }
.divider-gold { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ============ EMPTY STATE ============ */
.empty-state {
  text-align: center;
  padding: 64px 20px;
  color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 3.5rem; margin-bottom: 16px; opacity: 0.4; }
.empty-state p { font-size: 0.9rem; margin-bottom: 20px; }

/* ============ ANIMATIONS ============ */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes wave-bar {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}
@keyframes slideInRight {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(120%); opacity: 0; }
}
@keyframes fadeInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes skeleton-wave {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(201,146,42,0.15); }
  50% { box-shadow: 0 0 40px rgba(201,146,42,0.35); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-fade-up { animation: fadeInUp 0.6s var(--ease-out) both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-glow { animation: glow-pulse 3s ease-in-out infinite; }

/* ============ REVEAL ON SCROLL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-24px); transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(24px); transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ============ UTILITY ============ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.85rem; }
.mt-auto { margin-top: auto; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* ============ RESPONSIVE ============ */

/* Global touch improvements */
@media (hover: none) and (pointer: coarse) {
  a, button, .btn, .tab-btn, .nav-cart-btn, .hamburger {
    touch-action: manipulation;
  }
  input, textarea, select {
    font-size: max(1rem, 16px); /* prevent iOS auto-zoom */
  }
}

/* ---- 1200px: wide desktop tweaks ---- */
@media (max-width: 1200px) {
  .pack-grid-4 { grid-template-columns: repeat(3, 1fr); }
}

/* ---- 1100px: large laptop ---- */
@media (max-width: 1100px) {
  .pack-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .product-layout { grid-template-columns: 1fr; }
  .product-cover { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}

/* ---- 1024px: tablet landscape ---- */
@media (max-width: 1024px) {
  .pack-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
}

/* ---- 900px: hamburger nav / tablet portrait ---- */
@media (max-width: 900px) {
  :root { --nav-height: 70px; }
  .nav-bottom-row { display: none; }
  .hamburger { display: flex; }
  .nav-top-row { padding: 0; }
  .nav-container { justify-content: center; padding: 0 16px; }
  .navbar { align-items: center; }
  .nav-search-btn, .nav-wishlist-btn, .nav-account-btn { display: none; }
  .nav-logo .brand-main { font-size: 1.45rem; }
  .nav-logo .brand-sub { font-size: 0.5rem; letter-spacing: 0.28em; }
  .pack-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pack-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .account-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { padding: 72px 0 56px; }
  .hero-visual { display: none; }
  .section { padding: 70px 0; }
  .page-hero { padding: calc(var(--nav-height) + 40px) 0 48px; }
  .footer { padding: 48px 0 24px; }
  .footer-grid { margin-bottom: 36px; }

  /* Mobile menu */
  .mobile-menu {
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }
  .mobile-menu-actions { flex-direction: column; }
  .mobile-menu-actions .btn { text-align: center; width: 100%; }
}

/* ---- 768px: tablet small / large phone landscape ---- */
@media (max-width: 768px) {
  html { font-size: 15.5px; }
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .section-sm { padding: 44px 0; }
  .section-header { margin-bottom: 36px; }
  .page-hero { padding: calc(var(--nav-height) + 36px) 0 42px; }
  .pack-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pack-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  h3 { font-size: clamp(1.15rem, 3.5vw, 1.5rem); }
}

/* ---- 640px: full mobile ---- */
@media (max-width: 640px) {
  :root { --nav-height: 64px; }
  html { font-size: 15px; }
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .section-sm { padding: 40px 0; }
  .section-header { margin-bottom: 36px; }

  /* Nav */
  .nav-container { padding: 0 14px; }
  .nav-logo .brand-main { font-size: 1.25rem; }
  .nav-logo .brand-sub { display: none; }
  .nav-cart-btn span:not(.cart-count) { display: none; }
  .nav-cart-btn { padding: 8px 10px; }

  /* Hero */
  .hero-inner { padding: 52px 0 40px; max-width: 100%; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .hero-sub { font-size: 1rem; margin-bottom: 28px; }
  .hero-badge { font-size: 0.7rem; padding: 6px 12px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 40px; }
  .hero-actions .btn { width: 100%; justify-content: center; min-height: 44px; }
  .hero-stats { gap: 16px; flex-wrap: wrap; padding-top: 28px; }
  .hero-divider { display: none; }
  .hero-stat .num { font-size: 1.3rem; }

  /* Touch targets */
  .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .tab-btn { min-height: 40px; }

  /* Grids */
  .pack-grid-4, .pack-grid-3 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .team-grid { grid-template-columns: 1fr; }

  /* Cards */
  .pack-card-body { padding: 12px; }
  .pack-card-footer { padding: 0 12px 12px; }
  .feature-card { padding: 24px 20px; }
  .category-card { padding: 20px 14px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }
  .footer { padding: 40px 0 20px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .footer-bottom-links { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .footer-brand p { max-width: 100%; }

  /* Newsletter */
  .newsletter-form { flex-direction: column; gap: 10px; }
  .newsletter-section { padding: 32px 20px; border-radius: var(--r-lg); }

  /* Page hero */
  .page-hero { padding: calc(var(--nav-height) + 32px) 0 36px; }

  /* Contact */
  .contact-layout { gap: 24px; }
  .contact-info h3 { font-size: 1.2rem; }

  /* About */
  .about-hero { min-height: 40vh; }
  .about-content p { font-size: 0.95rem; }

  /* Toast */
  .toast-container { right: 12px; left: 12px; bottom: 16px; }
  .toast { min-width: unset; width: 100%; }

  /* Modal */
  .modal { padding: 24px 20px; margin: 0 8px; border-radius: var(--r-lg); }

  /* Tabs */
  .tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab-btn { white-space: nowrap; flex-shrink: 0; }

  /* Search overlay */
  .search-overlay { padding-top: 80px; }
  .search-overlay-inner { padding: 0 16px; }
  .search-overlay-input { font-size: max(1rem, 16px); padding: 14px 18px 14px 46px; }

  /* Audio player */
  .audio-volume { display: none; }

  /* Misc */
  .divider { margin: 28px 0; }
  h2 { font-size: clamp(1.5rem, 5.5vw, 2.2rem); }
  h3 { font-size: clamp(1.1rem, 4vw, 1.4rem); }

  /* Overflow prevention */
  .hero, .marquee-bar { overflow-x: hidden; }
}

/* ---- 480px: small phone ---- */
@media (max-width: 480px) {
  html { font-size: 14.5px; }
  .pack-grid-4, .pack-grid-3 { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn { font-size: 0.88rem; padding: 12px 20px; }
  .btn-lg { padding: 13px 24px; font-size: 0.92rem; }
  .section { padding: 44px 0; }
  .section-header { margin-bottom: 28px; }
  .newsletter-section { padding: 28px 16px; }
  .footer-social a { width: 32px; height: 32px; }
  .mobile-menu a { font-size: 0.9rem; }

  /* Cart items */
  .cart-item { gap: 10px; padding: 14px; }
  .cart-item-cover { width: 56px; height: 56px; font-size: 1.2rem; }
  .cart-item-name { font-size: 0.88rem; }

  /* Downloads */
  .download-item { flex-wrap: wrap; gap: 10px; }

  /* Images */
  img { max-width: 100%; height: auto; }
}

/* ---- 380px: very small phone ---- */
@media (max-width: 380px) {
  html { font-size: 14px; }
  .container { padding: 0 12px; }
  .section { padding: 36px 0; }
  .hero-inner { padding: 40px 0 32px; }
  .hero h1 { font-size: clamp(1.5rem, 8vw, 2rem); }
  .hero-badge { display: none; }
  .pack-card-body { padding: 10px; }
  .feature-card { padding: 20px 16px; }
  .newsletter-section { padding: 24px 12px; }
  .modal { padding: 20px 16px; margin: 0 4px; }
  h2 { font-size: clamp(1.3rem, 6.5vw, 1.8rem); }
}

/* ---- Global: prevent horizontal scroll on all sizes ---- */
html, body { overflow-x: hidden; max-width: 100%; }
*, *::before, *::after { box-sizing: border-box; }
img, video, svg { max-width: 100%; height: auto; }
