/* Drop Countdown. Change the colors here. */
:root {
  --blue: #1626ff;
  --blue-deep: #0d18b8;
  --white: #ffffff;
  --soft: #c9ceff;
  --hot: #ff5a1f;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", "Cascadia Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--blue);
  color: var(--white);
  font: 16px/1.55 var(--mono);
  overflow-x: hidden;
}

a { color: var(--white); }
:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.page { min-height: 100vh; display: flex; flex-direction: column; }

.bar { display: flex; align-items: center; gap: 24px; padding: 0 0 0 clamp(16px, 4vw, 40px); border-bottom: 2px solid var(--white); }
.logo { flex: none; padding: 16px 0; color: var(--white); font: 800 1.4rem/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: -0.03em; text-decoration: none; }
.logo span { padding: 2px 6px; margin-left: 2px; background: var(--white); color: var(--blue); }
.tick { flex: 1; overflow: hidden; margin: 0; padding: 16px 0; border-left: 2px solid var(--white); white-space: nowrap; font-size: 0.85rem; letter-spacing: 0.1em; }
.tick span { display: inline-block; padding-left: 100%; animation: tick 28s linear infinite; }

.grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; }

.product { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; border-right: 2px solid var(--white); background: radial-gradient(circle at 50% 45%, #3a47ff, var(--blue) 60%); }
.turntable { position: relative; width: min(340px, 80%); }
.jacket { position: relative; z-index: 1; display: block; width: 100%; height: auto; animation: sway 6s ease-in-out infinite; transform-origin: 50% 90%; }
.j-body { fill: #e9e4d4; stroke: #111; stroke-width: 3; stroke-linejoin: round; }
.j-collar { fill: #cfc8b2; stroke: #111; stroke-width: 3; stroke-linejoin: round; }
.j-zip { stroke: #111; stroke-width: 3; stroke-dasharray: 4 4; }
.j-pocket { fill: #d8d1bb; stroke: #111; stroke-width: 2.5; }
.j-flap { fill: #c3bba3; stroke: #111; stroke-width: 2.5; }
.j-seam { stroke: #111; stroke-width: 1.5; stroke-dasharray: 3 5; fill: none; }
.j-tag { fill: var(--hot); }
.platter { position: absolute; left: 5%; right: 5%; bottom: -14px; height: 34px; border-radius: 50%; background: radial-gradient(ellipse at center, rgb(0 0 0 / 0.45), transparent 70%); }
.spec { margin: 36px 0 0; font-size: 0.78rem; letter-spacing: 0.12em; color: var(--soft); text-align: center; }

.info { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 64px); }
.label { margin: 0 0 10px; font-size: 0.85rem; letter-spacing: 0.3em; color: var(--soft); }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--white); }
.countdown[hidden] { display: none; }
.countdown div { display: flex; align-items: baseline; justify-content: center; gap: 4px; padding: 14px 6px; border-right: 2px solid var(--white); }
.countdown div:last-child { border-right: 0; }
.countdown span { font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { color: var(--soft); font-size: 0.9rem; }

.live[hidden] { display: none; }
.live { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.live-flag { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 16px; background: var(--hot); color: #111; font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: 0.06em; }
.live .dot { width: 14px; height: 14px; border-radius: 50%; background: #111; animation: blink 1s steps(1) infinite; }
.shop { display: inline-flex; align-items: center; gap: 8px; padding: 16px 22px; background: var(--white); color: var(--blue); font-weight: 800; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; }
.shop svg { width: 20px; height: 20px; transition: transform 0.15s; }
.shop:hover svg { transform: translate(3px, -3px); }

h1 { margin: 28px 0 0; font: 800 clamp(2.6rem, 6vw, 4.6rem)/0.95 ui-sans-serif, system-ui, sans-serif; letter-spacing: -0.05em; text-transform: uppercase; }
.price { margin: 8px 0 16px; font-size: 1.4rem; font-weight: 700; }
.price-blur { filter: blur(6px); user-select: none; }
.is-live .price-blur { filter: none; }
.lead { max-width: 520px; margin: 0 0 28px; color: var(--soft); }

.remind[hidden] { display: none; }
.remind label { display: block; margin-bottom: 8px; font-size: 0.8rem; letter-spacing: 0.16em; }
.row { display: flex; border: 2px solid var(--white); }
.row input { flex: 1; min-width: 0; height: 54px; padding: 0 14px; border: 0; background: transparent; color: var(--white); font: inherit; }
.row input::placeholder { color: var(--soft); }
.row input:focus-visible { outline-offset: -4px; }
.row button { display: inline-flex; align-items: center; gap: 8px; padding: 0 20px; border: 0; border-left: 2px solid var(--white); background: var(--white); color: var(--blue); font: inherit; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.row button svg { width: 18px; height: 18px; }
.row button:hover { background: var(--hot); color: #111; }
.note { min-height: 1.6em; margin: 10px 0 0; font-size: 0.85rem; letter-spacing: 0.08em; }

.foot { padding: 16px; border-top: 2px solid var(--white); font-size: 0.8rem; text-align: center; color: var(--soft); }

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .product { border-right: 0; border-bottom: 2px solid var(--white); }
}
@media (max-width: 480px) {
  .row { flex-direction: column; }
  .row button { height: 52px; justify-content: center; border-left: 0; border-top: 2px solid var(--white); }
  .tick { display: none; }
}

@keyframes tick { to { transform: translateX(-100%); } }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) translateY(-6px); } }
@keyframes blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .tick span, .jacket, .live .dot { animation: none; }
  .tick span { padding-left: 0; }
}
