/* ================================================================
   🐐👑 GOAT ROYALTY THEME — Ms Money Penny Store
   Ultra-premium gold/navy glass-morphism with crown motifs
   Life Imitates Art Inc. — The Best Ever
   ================================================================ */

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

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

:root {
  --bg-primary: #050a14;
  --bg-secondary: #0d1b2a;
  --bg-card: rgba(15, 28, 48, 0.75);
  --bg-card-hover: rgba(22, 38, 62, 0.85);
  --bg-glass: rgba(15, 36, 64, 0.45);
  --bg-glass-strong: rgba(15, 36, 64, 0.7);
  --accent: #d4a03c;
  --accent-light: #f0c040;
  --accent-bright: #ffe066;
  --text-primary: #f5f0e8;
  --text-secondary: #b8b0a0;
  --text-muted: #6a6050;
  --border: rgba(212, 160, 60, 0.12);
  --border-hover: rgba(212, 160, 60, 0.4);
  --success: #2ecc71;
  --warning: #f39c12;
  --danger: #e74c3c;
  --info: #5dade2;
  --navy: #0f2440;
  --navy-deep: #060e1a;
  --gold: #d4a03c;
  --gold-light: #f0c040;
  --gold-glow: rgba(212, 160, 60, 0.25);
  --crown-glow: rgba(240, 192, 64, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-gold: 0 0 40px rgba(212, 160, 60, 0.12);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
}

html { scroll-behavior: smooth; }

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

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-light); }

::selection { background: rgba(212, 160, 60, 0.3); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-light); }

/* === GOAT BACKGROUND + PARTICLE CANVAS === */
.goat-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../goat-background.png') center center / cover no-repeat;
  z-index: -3;
  opacity: 1;
  filter: saturate(1.1) brightness(1.0);
}

.goat-bg-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(212, 160, 60, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(93, 173, 226, 0.02) 0%, transparent 50%),
    linear-gradient(180deg, rgba(5,10,20,0.3) 0%, rgba(13,27,42,0.2) 50%, rgba(5,10,20,0.3) 100%);
  z-index: -2;
}

#particles-canvas {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  pointer-events: none;
}

/* === TOP NAVIGATION — Glass-morphism === */
.top-nav {
  position: sticky;
}

/* Dual Logo Styling */
.nav-logo-mp {
  height: 50px;
  width: auto;
  border-radius: 50%;
  margin-right: 10px;
  box-shadow: 0 0 15px rgba(212, 160, 60, 0.4);
}

.nav-logo-goat {
  height: 45px;
  width: auto;
  border-radius: 8px;
  margin-right: 15px;
  box-shadow: 0 0 15px rgba(212, 160, 60, 0.4);
}

.top-nav .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px;
  background: rgba(5, 10, 20, 0.82);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.top-nav .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
  color: var(--gold);
  text-decoration: none;
}

.top-nav .logo img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  box-shadow: 0 0 12px var(--gold-glow);
}

.top-nav .logo .crown-badge {
  font-size: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #000;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-left: -4px;
}

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

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}

.nav-links a:hover {
  color: var(--gold);
  background: rgba(212, 160, 60, 0.08);
}

.nav-links a.active {
  color: var(--gold);
  background: rgba(212, 160, 60, 0.12);
  border: 1px solid rgba(212, 160, 60, 0.25);
}

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

/* Cart badge */
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(231,76,60,0.4);
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

/* === HERO SECTION — Cinematic === */
.hero {
  position: relative;
  text-align: center;
  padding: 100px 24px 80px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../goat-background.png') center top / cover no-repeat;
  opacity: 0.3;
  z-index: 0;
  filter: saturate(0.7);
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(212, 160, 60, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(5,10,20,0.6) 0%, rgba(5,10,20,0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

.hero-crown {
  font-size: 3.5rem;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px var(--gold-glow));
  margin-bottom: 8px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold) 0%, var(--accent-bright) 40%, #fff 70%, var(--gold-light) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
  margin-bottom: 20px;
  line-height: 1.08;
  letter-spacing: -1px;
}

.hero .tagline {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero .subtitle {
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 28px;
  margin-bottom: 8px;
}

.hero-stat {
  text-align: center;
  padding: 16px 20px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 130px;
  transition: var(--transition);
}

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

.hero-stat .number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* Typing cursor */
.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--gold);
  margin-left: 4px;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

/* === CTA BUTTONS — Premium === */
.cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a0a0a;
  box-shadow: 0 4px 24px var(--gold-glow);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(212, 160, 60, 0.5);
  color: #0a0a0a;
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--gold);
  border: 1px solid rgba(212, 160, 60, 0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(212, 160, 60, 0.15);
  border-color: var(--gold);
  transform: translateY(-3px);
  color: var(--gold-light);
}

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

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

/* === SECTION CONTAINERS === */
.section {
  padding: 80px 28px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 0 auto 20px;
  border-radius: 4px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 12px;
  text-align: center;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 48px;
  font-size: 1.05rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* === CARD GRID — Glass-morphism === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-gold), var(--shadow-card);
  transform: translateY(-6px);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* === TAGS — Premium === */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  margin: 3px;
  letter-spacing: 0.3px;
  border: 1px solid transparent;
}

.tag-nvidia { background: rgba(118,185,0,0.12); color: #76b900; border-color: rgba(118,185,0,0.2); }
.tag-lightning { background: rgba(93,173,226,0.12); color: #5dade2; border-color: rgba(93,173,226,0.2); }
.tag-hf { background: rgba(255,215,0,0.12); color: #ffd700; border-color: rgba(255,215,0,0.2); }
.tag-google { background: rgba(66,133,244,0.12); color: #4285f4; border-color: rgba(66,133,244,0.2); }
.tag-openai { background: rgba(16,163,127,0.12); color: #10a37f; border-color: rgba(16,163,127,0.2); }
.tag-new { background: rgba(231,76,60,0.15); color: #e74c3c; border-color: rgba(231,76,60,0.25); animation: pulse-tag 2s ease infinite; }
.tag-crown { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #000; font-weight: 700; }

/* === PRODUCT GRID — Premium Store === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

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

.product-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-gold), 0 12px 40px rgba(0,0,0,0.3);
  transform: translateY(-6px);
}

.product-img {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy), var(--bg-secondary));
  position: relative;
  overflow: hidden;
}

.product-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--bg-card), transparent);
}

.product-info {
  padding: 22px;
}

.product-info h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-weight: 700;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 14px;
  font-family: var(--font-display);
}

.btn-cart {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a0a0a;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-cart::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-cart:hover::before { left: 100%; }

.btn-cart:hover {
  box-shadow: 0 4px 20px var(--gold-glow);
  transform: translateY(-2px);
}

/* Featured product */
.featured-card {
  border: 2px solid var(--gold) !important;
  box-shadow: 0 0 30px rgba(212,160,60,0.1);
}

.featured-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  z-index: 1;
}

/* === LIVE STATUS BADGE === */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-healthy {
  background: rgba(46, 204, 113, 0.12);
  color: var(--success);
  border: 1px solid rgba(46, 204, 113, 0.25);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease infinite;
}

/* === TESTIMONIALS === */
.testimonials-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0;
  scrollbar-width: none;
}

.testimonials-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

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

.testimonial-stars { color: var(--gold); font-size: 1rem; margin-bottom: 12px; }
.testimonial-text { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; margin-bottom: 16px; font-style: italic; }
.testimonial-author { font-weight: 700; color: var(--gold); font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* === NEWSLETTER === */
.newsletter-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
}

.newsletter-form {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-main);
  outline: none;
  transition: var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 16px var(--gold-glow);
}

.newsletter-form input::placeholder { color: var(--text-muted); }

/* === SEARCH / FILTER BAR === */
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font-main);
  outline: none;
}

.search-bar input::placeholder { color: var(--text-muted); }

.search-bar .search-icon { color: var(--gold); font-size: 1.1rem; }

/* Category tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.tab-btn {
  padding: 8px 20px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}

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

.tab-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #000;
  border-color: var(--gold);
}

/* === CART DRAWER === */
.cart-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  z-index: 2001;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.5);
}

.cart-drawer.open { right: 0; }

.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 { color: var(--gold); font-size: 1.2rem; }

.cart-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.cart-close:hover { color: var(--gold); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-icon { font-size: 2rem; }
.cart-item-name { flex: 1; font-weight: 600; font-size: 0.95rem; }
.cart-item-price { color: var(--gold); font-weight: 700; }

.cart-item-remove {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: var(--navy-deep);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cart-total .amount { color: var(--gold); font-family: var(--font-display); font-size: 1.3rem; }

/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #000;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 20px var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(212, 160, 60, 0.5);
}

/* === FOOTER — Premium === */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 28px 32px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: linear-gradient(180deg, rgba(5,10,20,0.9), rgba(8,20,40,0.7));
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.site-footer a { color: var(--gold); }
.site-footer a:hover { color: var(--gold-light); }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 8px;
}

/* === TABLE STYLES === */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.data-table thead tr {
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
}

.data-table th {
  padding: 14px 18px;
  text-align: left;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.data-table tbody tr:hover {
  background: rgba(212, 160, 60, 0.04);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .top-nav { padding: 10px 16px; }

  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(5, 10, 20, 0.96);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 12px;
    gap: 4px;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
  }

  .hero {
    padding: 70px 16px 50px;
    min-height: 80vh;
  }

  .hero-stats { gap: 12px; }
  .hero-stat { min-width: 100px; padding: 12px 14px; }
  .hero-stat .number { font-size: 1.6rem; }

  .card-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .section { padding: 50px 16px; }

  .newsletter-form { flex-direction: column; }

  .cart-drawer { width: 100%; right: -100%; }

  .testimonials-track { gap: 16px; }
  .testimonial-card { flex: 0 0 280px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-stats { flex-direction: column; align-items: center; }
  .cta-group { flex-direction: column; align-items: center; }
  .cta-group .btn { width: 100%; justify-content: center; }
}

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

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

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

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

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px var(--gold-glow); }
  50% { box-shadow: 0 0 50px rgba(212, 160, 60, 0.35); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

@keyframes pulse-tag {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

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

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

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

.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; }

.glow { animation: glow 3s ease-in-out infinite; }

/* === UTILITY === */
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.gap-sm { gap: 8px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.glass { background: var(--bg-glass); backdrop-filter: blur(12px); border: 1px solid var(--border); }
.crown-text { font-family: var(--font-display); }