/* ============================================
   ECLIPSE — AAA Game Store Styles
   ============================================ */

/* ----- Variables ----- */
:root {
  --graphite: #0f0f0f;
  --graphite-light: #1a1a1a;
  --graphite-lighter: #252525;
  --gunmetal: #2a2a2a;
  --gunmetal-light: #3a3a3a;
  --crimson: #dc2626;
  --crimson-dark: #b91c1c;
  --crimson-glow: rgba(220, 38, 38, 0.2);
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-glow: rgba(249, 115, 22, 0.2);
  --white: #ffffff;
  --ice: #f0f0f0;
  --muted: rgba(255, 255, 255, 0.5);
  --muted-strong: rgba(255, 255, 255, 0.7);
  --gold: #fbbf24;

  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1200px;
  --pad: 120px 24px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--graphite);
  color: var(--ice);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--crimson); color: var(--white); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--graphite); }
::-webkit-scrollbar-thumb { background: var(--gunmetal); border-radius: 3px; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

/* ----- Utility ----- */
.highlight { color: var(--crimson); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, var(--crimson), var(--orange));
  color: var(--white);
  border-radius: 4px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--crimson-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--muted-strong);
  padding: 14px 0;
  letter-spacing: 1px;
}
.btn-ghost:hover { color: var(--white); }

.btn-sm { padding: 10px 20px; font-size: 11px; }
.btn-full { width: 100%; justify-content: center; padding: 16px; }

/* ----- Nav ----- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.3s var(--ease);
}
.nav.solid { background: rgba(15, 15, 15, 0.98); border-bottom: 1px solid rgba(255,255,255,0.04); }

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--white);
  background: linear-gradient(135deg, var(--crimson), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: linear-gradient(135deg, var(--crimson), var(--orange)) !important;
  -webkit-text-fill-color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 4px;
  font-size: 12px !important;
}
.nav-cta:hover { box-shadow: 0 4px 20px var(--crimson-glow); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-search-btn, .nav-cart-btn {
  background: none; border: none;
  color: var(--muted);
  font-size: 18px;
  padding: 6px;
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav-search-btn:hover, .nav-cart-btn:hover { color: var(--white); }

.nav-cart-count {
  position: absolute;
  top: -2px; right: -2px;
  font-size: 10px;
  font-weight: 700;
  background: var(--crimson);
  color: var(--white);
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); transition: all 0.3s var(--ease); border-radius: 1px; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ----- Hero ----- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #0a0a0a 0%, #1a0505 30%, #0f0a0a 60%, #0a0a0a 100%);
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(0deg, rgba(220,38,38,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220,38,38,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: patternDrift 20s linear infinite;
}
@keyframes patternDrift { from { transform: translate(0,0); } to { transform: translate(-60px,-60px); } }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--crimson), var(--orange));
  color: var(--white);
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
  animation: heroIn 0.8s 0.3s both;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(48px, 10vw, 120px);
  line-height: 0.92;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-line { display: block; color: var(--white); }
.hero-line-highlight {
  background: linear-gradient(135deg, var(--crimson), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-line:nth-child(1) { animation: heroIn 0.8s 0.5s both; }
.hero-line:nth-child(2) { animation: heroIn 0.8s 0.7s both; }

.hero-desc {
  font-size: 17px;
  color: var(--muted-strong);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 32px;
  animation: heroIn 0.8s 0.9s both;
}

.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; animation: heroIn 0.8s 1.1s both; }

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

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: heroIn 0.8s 1.5s both;
}
.hero-scroll span { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }
.hero-scroll-bar {
  width: 24px; height: 2px;
  background: var(--crimson);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { width: 24px; opacity: 0.4; }
  50% { width: 48px; opacity: 1; }
}

/* ----- Search Overlay ----- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15,15,15,0.98);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 120px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.search-overlay.active { opacity: 1; pointer-events: all; }

.search-close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 36px;
  color: var(--muted);
  background: none; border: none;
  transition: color 0.3s var(--ease);
}
.search-close:hover { color: var(--white); }

.search-inner { max-width: 600px; width: 100%; }

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid var(--gunmetal);
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.search-field i { color: var(--muted); font-size: 20px; }
.search-field input {
  flex: 1;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--white);
  outline: none;
  font-family: var(--font-heading);
}
.search-field input::placeholder { color: var(--muted); }

.search-results { display: flex; flex-direction: column; gap: 8px; min-height: 100px; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
  transition: background 0.3s var(--ease);
  cursor: pointer;
}
.search-result-item:hover { background: rgba(255,255,255,0.06); }
.search-result-icon { font-size: 24px; color: var(--crimson); width: 40px; text-align: center; }
.search-result-info h4 { font-size: 15px; font-weight: 600; color: var(--white); }
.search-result-info span { font-size: 12px; color: var(--muted); }
.search-result-price { margin-left: auto; font-weight: 700; color: var(--orange); }

/* ----- Featured ----- */
.featured {
  padding: var(--pad);
  background: var(--graphite-light);
  position: relative;
}
.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--crimson), transparent);
}

.featured-head { max-width: var(--container); margin: 0 auto 60px; padding: 0 24px; }

.featured-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.featured-desc { font-size: 15px; color: var(--muted); }

.featured-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.featured-card {
  background: var(--graphite);
  border: 1px solid var(--gunmetal);
  overflow: hidden;
  transition: all 0.4s var(--ease);
  position: relative;
}
.featured-card:hover {
  border-color: var(--crimson);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(220,38,38,0.1);
}

.featured-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--crimson);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 2px;
}

.featured-image { position: relative; }
.featured-placeholder {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(255,255,255,0.1);
}

.featured-info { padding: 24px; }
.featured-rarity {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
  display: block;
}
.featured-info h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.featured-info p { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

.featured-price { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.featured-old { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.featured-new { font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: var(--white); }
.featured-discount { font-size: 11px; font-weight: 700; background: rgba(220,38,38,0.2); color: var(--crimson); padding: 2px 8px; border-radius: 2px; }

/* ----- Categories & Store ----- */
.cats { padding: var(--pad); background: var(--graphite); }

.cats-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.cats-head { margin-bottom: 32px; }
.cats-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 42px);
  text-transform: uppercase;
}

.cats-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cat-btn {
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--gunmetal);
  color: var(--muted);
  transition: all 0.3s var(--ease);
  border-radius: 2px;
}
.cat-btn:hover { border-color: var(--muted); color: var(--white); }
.cat-btn.active { background: var(--crimson); border-color: var(--crimson); color: var(--white); }

.store-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.store-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--graphite-light);
  border: 1px solid var(--gunmetal);
  padding: 10px 16px;
  border-radius: 4px;
  flex: 1;
  max-width: 320px;
}
.store-search i { color: var(--muted); font-size: 14px; }
.store-search input {
  flex: 1;
  background: none;
  border: none;
  color: var(--white);
  font-size: 14px;
  outline: none;
}
.store-search input::placeholder { color: var(--muted); }

.store-sort select {
  background: var(--graphite-light);
  border: 1px solid var(--gunmetal);
  color: var(--ice);
  padding: 10px 16px;
  font-size: 13px;
  outline: none;
  border-radius: 4px;
  cursor: pointer;
}
.store-sort select option { background: var(--graphite); }

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--graphite-light);
  border: 1px solid var(--gunmetal);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.product-card:hover { border-color: rgba(255,255,255,0.1); transform: translateY(-4px); }

.product-image { position: relative; overflow: hidden; }
.product-placeholder {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: rgba(255,255,255,0.08);
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-placeholder { transform: scale(1.05); }

.product-actions {
  position: absolute;
  top: 8px; right: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.product-card:hover .product-actions { opacity: 1; }

.product-actions button {
  width: 32px; height: 32px;
  background: rgba(15,15,15,0.9);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.product-actions button:hover { border-color: var(--crimson); color: var(--crimson); }

.product-badge {
  position: absolute;
  bottom: 8px; left: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
}
.rarity-legendary { background: var(--orange); color: var(--graphite); }
.rarity-epic { background: #6366f1; color: var(--white); }
.rarity-rare { background: #22c55e; color: var(--graphite); }
.rarity-premium { background: var(--gold); color: var(--graphite); }
.sale-badge { background: var(--crimson); color: var(--white); }

.product-info { padding: 16px; }
.product-info h3 { font-family: var(--font-heading); font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.product-info p { font-size: 12px; color: var(--muted); margin-bottom: 12px; }

.product-bottom { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--orange); }
.product-add {
  width: 34px; height: 34px;
  background: var(--crimson);
  border: none;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.3s var(--ease);
}
.product-add:hover { background: var(--orange); transform: scale(1.1); }

/* ----- Modal / Quick View ----- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.modal.active { opacity: 1; pointer-events: all; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.85); }
.modal-content {
  position: relative;
  background: var(--graphite-light);
  border: 1px solid var(--gunmetal);
  max-width: 700px;
  width: 100%;
  padding: 40px;
  transform: scale(0.95);
  transition: transform 0.3s var(--ease);
}
.modal.active .modal-content { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 28px;
  color: var(--muted);
  background: none; border: none;
  transition: color 0.3s var(--ease);
}
.modal-close:hover { color: var(--white); }

.modal-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.modal-placeholder {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #1a1a1a, #222);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: rgba(255,255,255,0.08);
}

.modal-rarity { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); display: block; margin-bottom: 8px; }
.modal-details h2 { font-family: var(--font-heading); font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.modal-cat { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.modal-desc { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }

.modal-qty { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.modal-qty button {
  width: 36px; height: 36px;
  background: var(--gunmetal);
  border: none;
  color: var(--white);
  font-size: 18px;
  transition: background 0.3s var(--ease);
}
.modal-qty button:hover { background: var(--crimson); }
.modal-qty span { font-family: var(--font-heading); font-size: 18px; font-weight: 700; width: 30px; text-align: center; }

.modal-bottom { display: flex; align-items: center; gap: 16px; }
.modal-price { font-family: var(--font-heading); font-size: 28px; font-weight: 800; color: var(--orange); }

/* ----- Cart Drawer ----- */
.cart { position: fixed; inset: 0; z-index: 2200; pointer-events: none; }
.cart.active { pointer-events: all; }
.cart-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); }
.cart.active .cart-overlay { opacity: 1; pointer-events: all; }
.cart.active .cart-drawer { transform: translateX(0); }
.cart-drawer {
  position: absolute;
  top: 0; right: 0;
  width: 420px;
  max-width: 100%;
  height: 100vh;
  background: var(--graphite-light);
  border-left: 1px solid var(--gunmetal);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--gunmetal);
}
.cart-header h2 { font-family: var(--font-heading); font-size: 18px; font-weight: 700; }
.cart-close { font-size: 28px; color: var(--muted); background: none; border: none; transition: color 0.3s var(--ease); }
.cart-close:hover { color: var(--white); }

.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty { text-align: center; padding: 60px 0; color: var(--muted); }
.cart-empty i { font-size: 48px; margin-bottom: 16px; }
.cart-empty p { font-size: 16px; }
.cart-empty-sub { font-size: 13px; margin-top: 6px; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.cart-item-icon { font-size: 32px; color: var(--crimson); width: 48px; text-align: center; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 14px; font-weight: 600; }
.cart-item-info span { font-size: 12px; color: var(--muted); }
.cart-item-qty { display: flex; align-items: center; gap: 8px; }
.cart-item-qty button { width: 26px; height: 26px; background: var(--gunmetal); border: none; color: var(--white); font-size: 14px; }
.cart-item-qty span { font-size: 14px; font-weight: 600; width: 20px; text-align: center; }
.cart-item-price { font-weight: 700; color: var(--orange); font-size: 15px; }
.cart-item-remove { color: var(--muted); background: none; border: none; font-size: 14px; padding: 4px; transition: color 0.3s; }
.cart-item-remove:hover { color: var(--crimson); }

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--gunmetal);
}
.cart-total { display: flex; justify-content: space-between; font-family: var(--font-heading); font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.cart-total span:last-child { color: var(--orange); }

/* ----- Checkout ----- */
.checkout {
  padding: var(--pad);
  background: var(--graphite);
}
.checkout-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.checkout-head { text-align: center; margin-bottom: 60px; }
.checkout-tag { display: block; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.checkout-title { font-family: var(--font-heading); font-size: clamp(28px, 3.5vw, 42px); text-transform: uppercase; font-weight: 800; }

.checkout-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.checkout-form h3, .checkout-summary h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 700; margin-bottom: 24px; }

.checkout-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.checkout-field label { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.checkout-field input {
  background: var(--graphite-light);
  border: 1px solid var(--gunmetal);
  padding: 12px 16px;
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}
.checkout-field input:focus { border-color: var(--crimson); }
.checkout-field input::placeholder { color: rgba(255,255,255,0.15); }

.checkout-promo { display: flex; gap: 0; }
.checkout-promo input { flex: 1; }
.checkout-promo button {
  padding: 12px 20px;
  background: var(--gunmetal);
  border: 1px solid var(--gunmetal);
  border-left: none;
  color: var(--white);
  font-weight: 600;
  transition: background 0.3s;
}
.checkout-promo button:hover { background: var(--crimson); }

.checkout-payment-icons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  font-size: 28px;
  color: var(--muted);
  justify-content: center;
}

.checkout-items { margin-bottom: 24px; }
.checkout-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 14px; }
.checkout-item span:last-child { color: var(--orange); font-weight: 600; }

.checkout-totals { display: flex; flex-direction: column; gap: 8px; }
.checkout-line { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.checkout-line-total { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--white); padding-top: 8px; border-top: 1px solid var(--gunmetal); }
.checkout-line-total span:last-child { color: var(--orange); }

/* ----- Season ----- */
.season {
  padding: var(--pad);
  background: var(--graphite-light);
  position: relative;
  overflow: hidden;
}
.season-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(220,38,38,0.05), transparent 50%);
}

.season-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.season-tag { display: block; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }

.season-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 16px;
}
.season-title span { display: block; }

.season-desc { font-size: 15px; color: var(--muted-strong); line-height: 1.7; margin-bottom: 32px; max-width: 440px; }

.season-countdown { display: flex; gap: 24px; margin-bottom: 32px; }
.countdown-block { text-align: center; }
.countdown-block span {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.countdown-block label { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-top: 4px; display: block; }

.season-visual { display: flex; justify-content: center; }
.season-placeholder {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #1a0505, #0a0a0a);
  border: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: rgba(220,38,38,0.15);
}

/* ----- Community ----- */
.community {
  padding: var(--pad);
  background: var(--graphite);
}
.community-head { max-width: var(--container); margin: 0 auto 60px; padding: 0 24px; }
.community-title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(28px, 3.5vw, 42px); text-transform: uppercase; }

.community-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.community-card {
  background: var(--graphite-light);
  border: 1px solid var(--gunmetal);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.community-card:hover { border-color: rgba(255,255,255,0.1); transform: translateY(-4px); }
.community-img {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: rgba(255,255,255,0.08);
}
.community-body { padding: 20px; }
.community-tag { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--orange); display: block; margin-bottom: 8px; }
.community-body h3 { font-family: var(--font-heading); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.community-body p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.community-date { font-size: 12px; color: var(--muted); }

/* ----- Reviews ----- */
.reviews {
  padding: var(--pad);
  background: var(--graphite-light);
}
.reviews-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.reviews-title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(28px, 3.5vw, 42px); text-transform: uppercase; margin-bottom: 48px; text-align: center; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.review-card {
  background: var(--graphite);
  border: 1px solid var(--gunmetal);
  padding: 28px;
  transition: all 0.3s var(--ease);
}
.review-card:hover { border-color: rgba(255,255,255,0.08); }
.review-stars { color: var(--gold); font-size: 14px; margin-bottom: 16px; }
.review-card p { font-size: 14px; color: var(--muted-strong); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gunmetal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--muted);
}
.review-author strong { font-size: 14px; display: block; }
.review-author span { font-size: 12px; color: var(--muted); }

/* ----- FAQ ----- */
.faq {
  padding: var(--pad);
  background: var(--graphite);
}
.faq-inner { max-width: 700px; margin: 0 auto; padding: 0 24px; }
.faq-head { margin-bottom: 48px; }
.faq-title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(28px, 3.5vw, 42px); text-transform: uppercase; text-align: center; }

.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--gunmetal); background: rgba(255,255,255,0.02); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ice);
  text-align: left;
  transition: color 0.3s;
}
.faq-q:hover { color: var(--crimson); }
.faq-q i { font-size: 12px; color: var(--crimson); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.active .faq-q i { transform: rotate(180deg); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-item.active .faq-a { max-height: 200px; }
.faq-a p { padding: 0 24px 18px; font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ----- Footer ----- */
.footer {
  padding: 60px 24px 0;
  background: var(--graphite-light);
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo { font-family: var(--font-heading); font-size: 20px; font-weight: 800; letter-spacing: 3px; color: var(--white); }
.footer-desc { font-size: 12px; color: var(--muted); margin-top: 6px; }

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted); transition: color 0.3s; }
.footer-links a:hover { color: var(--white); }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--gunmetal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--muted);
  transition: all 0.3s;
}
.footer-social a:hover { border-color: var(--crimson); color: var(--crimson); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.15); }

/* ----- Toast ----- */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--graphite-light);
  border: 1px solid var(--gunmetal);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s var(--ease);
}
.toast.active { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: all; }
.toast i { color: var(--crimson); font-size: 18px; }

/* ----- Scroll to Top ----- */
.top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 40px; height: 40px;
  background: var(--crimson);
  border: none;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all 0.3s var(--ease);
}
.top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.top:hover { background: var(--orange); }

/* ----- Skeleton Loading ----- */
.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--graphite-light) !important;
}
.skeleton-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.03) 40%,
    rgba(255,255,255,0.05) 50%,
    rgba(255,255,255,0.03) 60%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: skeletonShimmer 1.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ----- Reveal ----- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .season-inner { grid-template-columns: 1fr; gap: 48px; }
  .season-visual { display: none; }
  .community-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --pad: 100px 20px; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    flex-direction: column;
    background: rgba(15,15,15,0.99);
    width: 75%;
    max-width: 300px;
    height: 100vh;
    padding: 100px 40px 40px;
    gap: 24px;
    transition: right 0.4s;
    border-left: 1px solid var(--gunmetal);
  }
  .nav-links.active { right: 0; }
  .nav-toggle { display: flex; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-scroll { display: none; }

  .featured-grid { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .community-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .modal-layout { grid-template-columns: 1fr; }

  .cart-drawer { width: 100%; }

  .season-countdown { gap: 16px; }
  .countdown-block span { font-size: 28px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .store-grid { grid-template-columns: 1fr; }
  .checkout-row { grid-template-columns: 1fr; }
  .cats-grid { gap: 4px; }
  .cat-btn { font-size: 11px; padding: 8px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
