:root {
  --gold: #D4AF37;
  --gold-bright: #f0cf5f;
  --black: #0a0a0a;
  --gray: #666;
  --border: #2a2a2a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: #fff;
  font-family: "Jost", Helvetica, Arial, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible { transition-delay: var(--reveal-delay, 0s); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-video, .product-card img { transform: none !important; }
}

h1, h2, h3, h4 {
  font-family: "Bodoni Moda", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-style: normal;
  text-transform: none;
  letter-spacing: 1px;
}

a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.wordmark {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 2px;
}
.wordmark span { color: var(--gold); font-style: italic; }
.main-nav { display: flex; gap: 32px; }
.main-nav a { font-size: 11px; font-weight: 400; letter-spacing: 2.5px; text-transform: uppercase; }
.main-nav a:hover { color: var(--gold); }

.cart-toggle {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 8px 18px;
  font-family: "Jost", sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  cursor: pointer;
}
.cart-toggle:hover { background: var(--gold); color: var(--black); }

/* Hero */
.hero {
  position: relative;
  height: 60vh;
  min-height: 340px;
  max-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
  transform: scale(1.1);
  will-change: transform;
}

.hero-intro {
  text-align: center;
  padding: 44px 20px 64px;
  max-width: 560px;
  margin: 0 auto;
}
.hero-kicker {
  font-family: "Bodoni Moda", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 4vw, 36px);
  margin: 0 0 14px;
  color: var(--gold);
}
.hero-tagline {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  color: #eee;
  max-width: 480px;
  margin: 0 auto 28px;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 0 12px;
}

/* Standalone page intro (Gallery / Arcade — no hero video) */
.page-intro {
  text-align: center;
  padding: 70px 20px 40px;
  max-width: 560px;
  margin: 0 auto;
}
.gallery-description { color: #ccc; line-height: 1.6; font-size: 14px; }

.gallery-video { max-width: 900px; margin: 0 auto; padding: 0 24px 50px; }
.gallery-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border: 1px solid var(--border);
  background: #000;
}
.gallery-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  font-weight: 400;
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-bright); }
.btn-outline { background: transparent; border: 1px solid var(--gold); color: var(--gold); width: 100%; margin-bottom: 10px; }
.btn-outline:hover { background: var(--gold); color: var(--black); }
.btn-full { width: 100%; }

/* Sections */
.section-title {
  text-align: center;
  font-size: 30px;
  font-style: italic;
  margin: 70px 0 40px;
  color: var(--gold);
}

.shop { max-width: 1200px; margin: 0 auto; padding: 0 24px 60px; }

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

.product-card {
  cursor: pointer;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
  overflow: hidden;
}
.product-card:hover { border-color: var(--gold); }
.product-card .product-card-image-wrap { overflow: hidden; background: #000; }
.product-card .product-card-parallax { will-change: transform; }
.product-card img {
  width: 100%;
  display: block;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: #000;
  transform: scale(1.15);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.product-card:hover img { transform: scale(1.22); }
.product-card-body { padding: 14px; }
.product-card-sku { font-size: 10px; color: var(--gray); letter-spacing: 1.5px; text-transform: uppercase; }
.product-card-name { font-family: "Bodoni Moda", Georgia, serif; font-size: 17px; font-weight: 500; margin: 6px 0; letter-spacing: 0.3px; }
.product-card-price { font-family: "Jost", sans-serif; font-weight: 300; font-size: 14px; letter-spacing: 0.5px; }
.price-strike { color: var(--gray); text-decoration: line-through; margin-right: 8px; }
.price-sale { color: var(--gold); }

.about {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  text-align: center;
  color: #ccc;
  line-height: 1.7;
}

.site-footer {
  text-align: center;
  padding: 30px;
  border-top: 1px solid var(--border);
  color: var(--gray);
  font-size: 12px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.85);
  padding: 20px;
}
.modal[aria-hidden="false"] { display: flex; }
.modal-inner {
  background: #111;
  border: 1px solid var(--border);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.pd-image { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; background: #000; }
.pd-carousel { margin-bottom: 20px; }
.pd-carousel-frame { position: relative; }
.pd-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border);
  color: #fff;
  width: 36px;
  height: 36px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.pd-carousel-arrow:hover { border-color: var(--gold); color: var(--gold); }
.pd-carousel-prev { left: 10px; }
.pd-carousel-next { right: 10px; }
.pd-carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.pd-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.pd-carousel-dot.active { background: var(--gold); border-color: var(--gold); }
.pd-sku { color: var(--gray); font-size: 12px; letter-spacing: 1px; }
.pd-name { font-size: 24px; margin: 6px 0; }
.pd-price { font-size: 20px; margin-bottom: 20px; }
.pd-field { margin-bottom: 16px; }
.pd-field label { display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); margin-bottom: 6px; }
.pd-options { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-option {
  border: 1px solid var(--border);
  background: transparent;
  color: #fff;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
}
.pd-option.selected { border-color: var(--gold); color: var(--gold); }
.pd-qty { display: flex; align-items: center; gap: 12px; }
.pd-qty button { background: transparent; border: 1px solid var(--border); color: #fff; width: 32px; height: 32px; cursor: pointer; font-size: 16px; }
.pd-qty span { min-width: 20px; text-align: center; }

/* Cart drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 92vw;
  height: 100vh;
  background: #111;
  border-left: 1px solid var(--border);
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-header button { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-item { display: flex; gap: 12px; margin-bottom: 18px; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; background: #000; }
.cart-item-info { flex: 1; font-size: 13px; }
.cart-item-name { font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.cart-item-meta { color: var(--gray); font-size: 12px; }
.cart-item-remove { color: var(--gray); font-size: 11px; text-decoration: underline; cursor: pointer; background: none; border: none; padding: 0; margin-top: 4px; }
.cart-footer { padding: 20px; border-top: 1px solid var(--border); }
.cart-subtotal { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 15px; }
.cart-empty { color: var(--gray); text-align: center; margin-top: 40px; font-size: 13px; }

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 99;
  display: none;
}
.backdrop.open { display: block; }

/* ---------- Arcade ---------- */
.arcade-gate {
  max-width: 440px;
  margin: 0 auto;
  padding: 20px 24px 60px;
  text-align: center;
}
.arcade-gate-form label { display: block; margin-bottom: 14px; font-size: 14px; color: #eee; letter-spacing: 0.3px; }
.email-gate-row { display: flex; gap: 8px; }
.email-gate-row input {
  flex: 1;
  background: #000;
  border: 1px solid var(--border);
  color: #fff;
  padding: 12px;
  font-size: 14px;
}
.email-gate-row input:focus { outline: none; border-color: var(--gold); }
.arcade-gate-note { color: var(--gray); font-size: 11px; margin-top: 12px; }

.arcade-games { max-width: 720px; margin: 0 auto; padding: 0 24px 80px; }
.arcade-game-block { text-align: center; margin-bottom: 70px; }
.arcade-game-block:last-child { margin-bottom: 0; }
.arcade-subtext { color: var(--gray); font-size: 13px; margin: -12px 0 20px; }
.arcade-pick-one { text-align: center; margin: -16px 0 40px; }
.arcade-cta { margin: 22px 0; }

.arcade-cooldown {
  max-width: 440px;
  margin: 0 auto;
  padding: 10px 24px 80px;
  text-align: center;
}
.cooldown-note { color: var(--gray); font-size: 13px; margin: 24px 0 10px; text-transform: uppercase; letter-spacing: 1px; }
.cooldown-timer {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 40px;
  color: var(--gold);
  letter-spacing: 2px;
}

.arcade-result { max-width: 360px; margin: 20px auto 0; }
.prize-banner {
  border: 1px solid var(--gold);
  padding: 16px;
  text-align: center;
}
.prize-banner.prize-none { border-color: var(--border); }
.prize-label { font-family: "Bodoni Moda", Georgia, serif; font-size: 20px; color: var(--gold); margin-bottom: 4px; }
.prize-banner.prize-none .prize-label { color: #ccc; }
.prize-detail { font-size: 13px; color: #ccc; }
.prize-code {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  border: 1px dashed var(--gold);
  color: var(--gold);
  font-family: "Jost", sans-serif;
  letter-spacing: 2px;
  font-size: 13px;
}

/* Spin wheel */
.wheel-wrap { position: relative; width: 240px; height: 240px; margin: 0 auto; }
.wheel-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 16px solid var(--gold-bright);
  z-index: 2;
}
.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 4px solid var(--gold);
  background: conic-gradient(from 0deg,
    #0a0a0a 0deg 45deg, #D4AF37 45deg 90deg,
    #0a0a0a 90deg 135deg, #D4AF37 135deg 180deg,
    #0a0a0a 180deg 225deg, #D4AF37 225deg 270deg,
    #0a0a0a 270deg 315deg, #D4AF37 315deg 360deg);
  transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}
.wheel-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #fff;
  width: 80px;
  text-align: center;
  margin-left: -40px;
}

/* Scratch card */
.scratch-wrap { position: relative; width: 300px; height: 150px; margin: 0 auto; }
.scratch-prize {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
}
.scratch-prize .prize-banner { border: none; }
.scratch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  touch-action: none;
}

/* Mystery boxes */
.mystery-boxes { display: flex; justify-content: center; gap: 20px; }
.mystery-box {
  width: 88px;
  height: 88px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 28px;
  color: var(--gold);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.mystery-box:hover { background: rgba(212,175,55,0.1); transform: translateY(-3px); }
.mystery-box-win { background: var(--gold); color: var(--black); }
.mystery-box-empty { border-color: var(--border); color: var(--gray); }

/* Checkout */
.checkout-summary { border: 1px solid var(--border); padding: 14px; margin-bottom: 20px; font-size: 13px; }
.checkout-summary-row { display: flex; justify-content: space-between; padding: 4px 0; }
.promo-row { display: flex; gap: 8px; margin-bottom: 6px; }
.promo-row input {
  flex: 1;
  background: #000;
  border: 1px solid var(--border);
  color: #fff;
  padding: 12px;
  font-size: 14px;
  text-transform: uppercase;
}
.promo-row input:focus { outline: none; border-color: var(--gold); }
.btn-promo { width: auto; margin-bottom: 0; padding: 12px 20px; white-space: nowrap; }
.promo-message { font-size: 12px; color: var(--gold); min-height: 16px; margin: 0 0 18px; }
.promo-message.promo-error { color: #ff6b6b; }
.checkout-fields { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.checkout-fields input {
  background: #000;
  border: 1px solid var(--border);
  color: #fff;
  padding: 12px;
  font-size: 14px;
}
.checkout-fields input:focus { outline: none; border-color: var(--gold); }
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #ccc;
  cursor: pointer;
}
.checkbox-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--gold); cursor: pointer; }
.pay-crypto { border-color: var(--gold-bright); }
.checkout-error { color: #ff6b6b; font-size: 13px; min-height: 18px; }
.checkout-loading { color: var(--gold); font-size: 13px; }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .header-inner { flex-wrap: wrap; padding: 12px 16px; row-gap: 10px; }
  .wordmark { font-size: 18px; letter-spacing: 1px; }
  .main-nav { order: 3; width: 100%; justify-content: center; gap: 20px; }
  .main-nav a { font-size: 10px; letter-spacing: 1.5px; }
  .cart-toggle { padding: 7px 12px; font-size: 10px; letter-spacing: 1.5px; }

  .hero { height: 40vh; min-height: 240px; }
  .hero-intro { padding: 32px 16px 44px; }
  .hero-tagline { font-size: 13px; }
  .btn { padding: 12px 26px; font-size: 11px; letter-spacing: 2px; }

  .section-title { font-size: 24px; margin: 44px 0 26px; }
  .shop { padding: 0 16px 40px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-card-body { padding: 10px; }
  .product-card-sku { font-size: 9px; }
  .product-card-name { font-size: 14px; margin: 4px 0; }
  .product-card-price { font-size: 12px; }

  .about { padding: 30px 20px 60px; font-size: 14px; }

  .modal { padding: 0; align-items: flex-end; }
  .modal-inner { max-width: 100%; width: 100%; max-height: 92vh; padding: 24px 20px; border-left: none; border-right: none; border-bottom: none; }
  .pd-name { font-size: 20px; }
  .pd-options { gap: 6px; }
  .pd-option { padding: 10px 14px; font-size: 12px; min-height: 40px; }
  .pd-qty button { width: 40px; height: 40px; }

  .cart-drawer { width: 100%; max-width: 100%; }
  .checkout-fields input { font-size: 16px; } /* prevents iOS auto-zoom on focus */
  .payment-options .btn { padding: 14px 20px; }

  .page-intro { padding: 40px 16px 30px; }
  .gallery-video { padding: 0 16px 32px; }
  .arcade-gate { padding: 10px 16px 40px; }
  .arcade-cooldown { padding: 10px 16px 60px; }
  .cooldown-timer { font-size: 32px; }
  .arcade-games { padding: 0 16px 60px; }
  .arcade-game-block { margin-bottom: 50px; }
  .scratch-wrap { width: 100%; max-width: 300px; }
  .mystery-boxes { gap: 14px; }
  .mystery-box { width: 76px; height: 76px; font-size: 24px; }
  .email-gate-row { flex-direction: column; }

  .pd-carousel-arrow { width: 44px; height: 44px; font-size: 24px; }
}

@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-kicker { font-size: 24px; }
}
