:root {
  --bg: #05060f;
  --bg-2: #0b0f24;
  --ink: #f4f1e8;
  --muted: #a9a6b8;
  --gold: #f5c542;
  --gold-2: #b8860b;
  --red: #d62839;
  --blue: #1d4ed8;
  --line: rgba(245, 197, 66, 0.25);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* Chrome / gold gradient text */
.chrome {
  font-family: Anton, Impact, sans-serif;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #fff9e0 0%, #f5c542 38%, #8a5a00 52%, #ffe28a 64%, #f5c542 80%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 #3a2400) drop-shadow(0 0 22px rgba(245, 197, 66, 0.45));
}

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px clamp(16px, 4vw, 40px);
  background: linear-gradient(180deg, rgba(5, 6, 15, 0.92), rgba(5, 6, 15, 0.55));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { text-decoration: none; font-family: Orbitron, sans-serif; font-weight: 900; font-size: 1.35rem; letter-spacing: 0.08em; }
.brand-trump { color: var(--ink); }
.brand-si { color: var(--gold); margin-left: 0.3em; text-shadow: 0 0 14px rgba(245, 197, 66, 0.8); }
.nav nav { display: flex; gap: clamp(10px, 3vw, 28px); align-items: center; }
.nav nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--muted); }
.nav nav a:hover { color: var(--gold); }
.cart-btn {
  font: 700 0.9rem Inter, sans-serif; cursor: pointer;
  background: var(--gold); color: #1a1200; border: 0; border-radius: 999px; padding: 8px 16px;
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: -4%;
  background: radial-gradient(ellipse at 50% 30%, #2a1f5a 0%, #0b0f24 45%, #05060f 80%) center / cover;
  background-size: cover; background-position: center;
  animation: drift 30s ease-in-out infinite alternate;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(5, 6, 15, 0.1) 0%, rgba(5, 6, 15, 0.75) 75%),
    linear-gradient(180deg, rgba(5, 6, 15, 0.2) 0%, rgba(5, 6, 15, 0.4) 60%, var(--bg) 100%);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@keyframes drift { from { transform: scale(1) translateY(0); } to { transform: scale(1.08) translateY(-1.5%); } }
.hero-content { position: relative; padding: 110px 16px 60px; max-width: 1000px; }
.kicker { font-family: Orbitron, sans-serif; letter-spacing: 0.5em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; font-size: 0.85rem; }
.hero h1 { font-size: clamp(3.2rem, 13vw, 9.5rem); line-height: 0.9; margin: 0; }
.model-tag { font-family: Orbitron, sans-serif; font-weight: 900; font-size: clamp(1.4rem, 5vw, 2.6rem); letter-spacing: 0.3em; margin: 14px 0 10px; color: var(--muted); }
.model-tag span { color: var(--gold); text-shadow: 0 0 24px rgba(245, 197, 66, 0.9); }
.lede { font-size: clamp(1rem, 2.2vw, 1.25rem); color: #e6e2d3; text-shadow: 0 2px 12px #000; margin: 0 auto 28px; max-width: 720px; }
.ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 800; letter-spacing: 0.04em;
  padding: 14px 26px; border-radius: 999px; text-transform: uppercase; font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn.gold { background: linear-gradient(180deg, #ffe28a, var(--gold) 50%, var(--gold-2)); color: #1a1200; box-shadow: 0 0 30px rgba(245, 197, 66, 0.5); }
.btn.ghost { border: 2px solid rgba(255, 255, 255, 0.6); color: #fff; backdrop-filter: blur(4px); }

/* Ticker */
.ticker { background: var(--red); border-block: 3px solid var(--gold); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 28px; padding: 12px 0; animation: ticker 40s linear infinite; font-family: Orbitron, sans-serif; font-weight: 900; letter-spacing: 0.08em; font-size: 0.95rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Intro */
.intro { max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 40px) 0; text-align: center; }
.intro p { margin: 0; font-size: clamp(1rem, 1.8vw, 1.15rem); color: #d9d5e6; }
.intro strong { color: var(--gold); }
.intro a { color: var(--gold); }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) clamp(16px, 4vw, 40px); max-width: 1280px; margin: 0 auto; }
.section-title { font-size: clamp(2.6rem, 8vw, 5rem); text-align: center; margin: 0; line-height: 1; }
.section-sub { text-align: center; color: var(--muted); margin: 10px auto 44px; max-width: 640px; }

/* Specs */
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.spec {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  background: linear-gradient(160deg, rgba(29, 78, 216, 0.14), rgba(214, 40, 57, 0.08) 60%, rgba(245, 197, 66, 0.06));
}
.spec-label { font-family: Orbitron, sans-serif; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.spec-value { font-family: Anton, sans-serif; font-size: 2.6rem; color: var(--gold); line-height: 1.1; margin: 4px 0 8px; }
.spec p { margin: 0; color: #cfcbdc; font-size: 0.95rem; }

/* Gallery */
.gallery { columns: 3 320px; column-gap: 16px; }
.tile {
  position: relative; break-inside: avoid; margin: 0 0 16px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2); padding: 0; width: 100%; display: block; text-align: left; color: inherit; font: inherit;
}
.tile-link { display: block; cursor: zoom-in; }
.tile-link:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.tile img { width: 100%; transition: transform 0.5s ease; }
.tile:hover img { transform: scale(1.04); }
.tile figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
  pointer-events: none;
}
.tile strong { display: block; font-family: Orbitron, sans-serif; font-size: 0.95rem; letter-spacing: 0.05em; color: var(--gold); }
.tile span { font-size: 0.88rem; color: #ddd; }
.tile.placeholder { aspect-ratio: 4 / 3; display: grid; place-items: center; cursor: default; background: radial-gradient(circle at 30% 20%, #2a1f5a, var(--bg-2) 70%); }
.tile.placeholder p { font-family: Orbitron, sans-serif; color: var(--muted); letter-spacing: 0.15em; font-size: 0.8rem; text-transform: uppercase; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 94vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.88); backdrop-filter: blur(6px); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 10px; border: 1px solid var(--line); }
.lightbox-caption { text-align: center; padding: 12px; color: var(--ink); }
.lightbox-caption strong { font-family: Orbitron, sans-serif; color: var(--gold); margin-right: 10px; }
.lightbox-close { position: absolute; top: 8px; right: 8px; z-index: 2; background: rgba(0, 0, 0, 0.6); color: #fff; border: 1px solid var(--line); border-radius: 999px; width: 40px; height: 40px; font-size: 1.1rem; cursor: pointer; }

/* Merch */
.merch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--bg-2); display: flex; flex-direction: column;
}
.product-media { aspect-ratio: 1; background: #fff; display: grid; place-items: center; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-title { font-weight: 800; font-size: 1.05rem; margin: 0; }
.product-price { color: var(--gold); font-weight: 800; font-size: 1.1rem; }
.product-actions { margin-top: auto; display: flex; gap: 10px; }
.product-actions button {
  flex: 1; font: 800 0.85rem Inter, sans-serif; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 12px; border-radius: 999px; cursor: pointer; border: 2px solid var(--gold);
}
.product-actions .add { background: var(--gold); color: #1a1200; }
.product-actions .buy { background: transparent; color: var(--gold); }
.product-actions a {
  flex: 1; text-align: center; text-decoration: none; font: 800 0.85rem Inter, sans-serif; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 12px; border-radius: 999px; border: 2px solid var(--gold);
}
.product-desc { margin: 0; color: var(--muted); font-size: 0.92rem; }
.product-actions button:disabled { opacity: 0.4; cursor: not-allowed; }
.coming-soon { text-align: center; margin-top: 28px; color: var(--muted); font-family: Orbitron, sans-serif; letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.85rem; }
.product .badge { display: inline-block; align-self: flex-start; background: var(--red); color: #fff; font: 800 0.7rem Orbitron, sans-serif; letter-spacing: 0.15em; padding: 4px 10px; border-radius: 999px; }

/* Shopify component styling */
shopify-variant-selector::part(form) { display: flex; flex-direction: column; gap: 10px; }
shopify-variant-selector::part(label) { color: var(--muted); font-size: 0.8rem; }
shopify-variant-selector::part(radio) { border-color: var(--line); }
shopify-variant-selector::part(radio-selected) { background: var(--gold); color: #1a1200; border-color: var(--gold); }
shopify-cart::part(dialog) { border-radius: var(--radius); }
shopify-cart::part(primary-button) { background: var(--gold); color: #1a1200; border: 0; border-radius: 999px; font-weight: 800; }
shopify-cart::part(secondary-button) { background: #fff; color: #1a1200; fill: #1a1200; border: 2px solid #1a1200; border-radius: 999px; }

/* Footer */
.footer { border-top: 1px solid var(--line); text-align: center; padding: 48px 16px 60px; color: var(--muted); font-size: 0.85rem; }
.footer p { max-width: 640px; margin: 12px auto 0; }
.footer .fine { opacity: 0.6; }

@media (max-width: 900px) {
  .specs, .merch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .specs, .merch-grid { grid-template-columns: minmax(0, 1fr); }
  .nav nav a:not(:last-of-type) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg, .ticker-track { animation: none; }
}
