:root {
  --gold: #c9a96e;
  --gold-light: #e8c98a;
  --gold-dim: #8a6b3e;
  --ink: #080808;
  --surface: #111;
  --surface2: #181818;
  --surface3: #202020;
  --border: rgba(201, 169, 110, 0.22);
  --text: #fffaf0;
  --muted: rgba(255, 255, 255, 0.58);
  --danger: #ff6b6b;
  --success: #4caf50;
  --blue: #7aa7ff;
  --purple: #b08cff;
  --dm: Inter, "DM Sans", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--ink);
  font-family: var(--serif);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.ticker {
  position: relative;
  z-index: 40;
  overflow: hidden;
  padding: 10px 0;
  background: var(--gold);
  color: #080808;
  font-family: var(--dm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-track { display: inline-block; animation: ticker 24s linear infinite; }
.ticker span { margin-right: 54px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.header {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(22px, 5vw, 68px);
  transition: 240ms ease;
}
.header.scrolled {
  top: 0;
  background: rgba(8, 8, 8, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}
.brand {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.brand span { color: var(--gold); }
.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-family: var(--dm);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav a { color: rgba(255, 255, 255, 0.72); }
.nav a:hover { color: var(--gold); }
.admin-link {
  padding: 10px 14px;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 6vw, 72px);
  min-height: 100vh;
  align-items: center;
  padding: 150px clamp(22px, 5vw, 76px) 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(201, 169, 110, 0.18), transparent 42%),
    linear-gradient(90deg, #080808 0%, rgba(8, 8, 8, 0.72) 46%, rgba(8, 8, 8, 0.45) 100%);
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transform: scale(1.03);
}
.hero-copy, .hero-product { position: relative; z-index: 2; }
.badge {
  display: inline-block;
  padding: 7px 15px;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  font-family: var(--dm);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 760px;
  margin: 24px 0;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.9;
}
.italic { color: var(--gold); font-style: italic; }
.hero p {
  max-width: 620px;
  color: var(--muted);
  font-family: var(--dm);
  font-size: 17px;
  line-height: 1.8;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 15px 25px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-family: var(--dm);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: 180ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  background: var(--gold);
  color: #080808;
}
.btn.full { width: 100%; }

.hero-product {
  border: 1px solid var(--border);
  background: rgba(17, 17, 17, 0.78);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}
.product-frame { position: relative; padding: 18px; }
.product-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  filter: contrast(1.04) saturate(0.9);
}
.stock-tag {
  position: absolute;
  top: 34px;
  left: 34px;
  padding: 7px 14px;
  background: var(--gold);
  color: #080808;
  font-family: var(--dm);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}
.hero-stat {
  padding: 18px;
  border-right: 1px solid var(--border);
  background: rgba(8, 8, 8, 0.52);
}
.hero-stat:last-child { border-right: 0; }
.hero-stat strong {
  display: block;
  color: var(--gold);
  font-size: 26px;
}
.hero-stat span {
  color: var(--muted);
  font-family: var(--dm);
  font-size: 12px;
}

.section {
  padding: clamp(76px, 10vw, 124px) clamp(22px, 5vw, 76px);
}
.section.alt { background: var(--surface); }
.section-head {
  max-width: 830px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 {
  margin: 18px 0 0;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1220px;
  margin: 0 auto;
}
.card {
  min-height: 230px;
  padding: 30px;
  background: var(--surface2);
  border: 1px solid var(--border);
  transition: 180ms ease;
}
.card:hover { border-color: var(--gold); transform: translateY(-4px); }
.card-icon {
  color: var(--gold);
  font-family: var(--dm);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.card h3 { margin: 34px 0 12px; font-size: 25px; }
.card p, .muted {
  color: var(--muted);
  font-family: var(--dm);
  line-height: 1.75;
}

.product-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
  max-width: 1260px;
  margin: 0 auto;
}
.gallery {
  position: sticky;
  top: 100px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--border);
}
.panel {
  padding: clamp(26px, 4vw, 42px);
  background: var(--surface2);
  border: 1px solid var(--border);
}
.panel h2 { margin: 0 0 16px; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 24px 0;
}
.price {
  color: var(--gold);
  font-size: 42px;
  font-weight: 900;
}
.compare {
  color: var(--muted);
  font-family: var(--dm);
  font-size: 18px;
  text-decoration: line-through;
}
.save {
  padding: 5px 10px;
  color: var(--success);
  background: rgba(76, 175, 80, 0.13);
  border: 1px solid rgba(76, 175, 80, 0.3);
  font-family: var(--dm);
  font-size: 12px;
}
.option-group { margin: 24px 0; }
.option-title {
  margin-bottom: 12px;
  color: var(--muted);
  font-family: var(--dm);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.option-title span { color: #fff; }
.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.choice {
  min-width: 52px;
  min-height: 44px;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--surface3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--dm);
}
.choice.active {
  color: #080808;
  background: var(--gold);
  border-color: var(--gold);
}
.swatch {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 2px solid transparent;
  outline: 1px solid rgba(255, 255, 255, 0.22);
  outline-offset: 3px;
}
.swatch.active {
  border-color: var(--gold);
  outline-color: var(--gold);
}
.quantity {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.quantity button, .quantity span {
  width: 52px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--surface3);
  border: 0;
  font-family: var(--dm);
}
.quantity span { background: var(--surface); }
.secure-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--dm);
  font-size: 12px;
}

.offer {
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(201, 169, 110, 0.1), transparent 58%),
    #080808;
}
.countdown {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}
.timebox {
  min-width: 82px;
  padding: 18px;
  background: var(--surface3);
  border: 1px solid var(--border);
}
.timebox strong {
  display: block;
  color: var(--gold);
  font-size: 38px;
}
.timebox span {
  color: var(--muted);
  font-family: var(--dm);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1220px;
  margin: 0 auto;
}
.stars { color: var(--gold); letter-spacing: 2px; }

.checkout-section {
  background:
    radial-gradient(ellipse at 16% 20%, rgba(201, 169, 110, 0.12), transparent 40%),
    var(--surface);
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1.16fr);
  gap: clamp(28px, 5vw, 64px);
  max-width: 1220px;
  margin: 0 auto;
  align-items: start;
}
.checkout-copy {
  position: sticky;
  top: 118px;
}
.checkout-copy h2,
.thank-you h2 {
  margin: 20px 0;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.98;
}
.checkout-promise {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  font-family: var(--dm);
}
.checkout-promise span {
  display: block;
  padding: 14px;
  color: rgba(255, 255, 255, 0.76);
  background: var(--surface2);
  border: 1px solid var(--border);
  line-height: 1.45;
}
.checkout {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(24px, 4vw, 42px);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-family: var(--dm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
label.full { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  color: #fff;
  background: var(--surface3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  outline: none;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
.summary {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 18px;
  background: var(--surface3);
  border: 1px solid var(--border);
  font-family: var(--dm);
}
.summary div {
  display: flex;
  justify-content: space-between;
}
.summary .total {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--gold);
  font-weight: 900;
}
.status-message {
  min-height: 22px;
  color: var(--muted);
  font-family: var(--dm);
  text-align: center;
}
.status-message.success { color: var(--success); }
.status-message.error { color: var(--danger); }
.thank-you {
  grid-column: 1 / -1;
  padding: clamp(34px, 6vw, 72px);
  text-align: center;
  background: var(--surface2);
  border: 1px solid var(--border);
}
.thank-you p {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-family: var(--dm);
  line-height: 1.7;
}
.thank-you-card {
  display: grid;
  gap: 8px;
  width: min(420px, 100%);
  margin: 0 auto 28px;
  padding: 22px;
  background: var(--surface3);
  border: 1px solid var(--border);
  font-family: var(--dm);
}
.thank-you-card span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.thank-you-card strong {
  color: var(--gold);
  font-size: 22px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 44px clamp(22px, 5vw, 76px);
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-family: var(--dm);
}

@media (max-width: 940px) {
  .hero, .product-section, .checkout-layout { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .checkout-copy { position: static; }
  .grid-3, .reviews { grid-template-columns: 1fr; }
}

@media (max-width: 660px) {
  .header {
    align-items: flex-start;
    flex-direction: column;
    top: 30px;
    padding: 16px 20px;
  }
  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
  }
  .hero {
    padding-top: 190px;
  }
  .hero h1 { font-size: 3.05rem; }
  .hero-stats, .form-grid { grid-template-columns: 1fr; }
  label.full { grid-column: auto; }
  .countdown { gap: 8px; }
  .timebox { min-width: 68px; padding: 12px; }
}
