:root {
  --gold: #d8b878;
  --gold-light: #f0deb7;
  --green: #071008;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #030805;
}

body {
  overflow-y: auto;
  overflow-x: auto;
  font-family: "Cormorant Garamond", serif;
}

.page-shell {
  min-height: 100vh;
  width: 100%;
  background:
    radial-gradient(circle at 50% 20%, rgba(22, 36, 24, .55), transparent 40%),
    #030805;
  padding: 0;
}

.artboard {
  position: relative;
  width: 100%;
  min-width: 980px;
  margin: 0 auto;
  aspect-ratio: 1672 / 941;
}

.artwork {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
}

.countdown {
  position: absolute;
  left: 50%;
  top: 63.1%;
  transform: translate(-50%, -50%);
  width: 49.5%;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 1.05%;
}

.clock-card {
  height: clamp(74px, 7.1vw, 119px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(7, 20, 11, .94), rgba(2, 9, 5, .96));
  border: 1px solid rgba(216, 184, 120, .82);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.025),
    0 8px 20px rgba(0,0,0,.28);
  clip-path: polygon(5% 0, 95% 0, 100% 8%, 100% 92%, 95% 100%, 5% 100%, 0 92%, 0 8%);
}

.number {
  display: block;
  color: var(--gold-light);
  font-size: clamp(2rem, 3.55vw, 4.05rem);
  line-height: .95;
  font-weight: 500;
  text-shadow: 0 0 8px rgba(240,222,183,.08);
}

.label {
  display: block;
  margin-top: 8px;
  color: #e5cfa1;
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: .34em;
  font-size: clamp(.5rem, .68vw, .78rem);
}

.separator {
  color: #d5b16c;
  font-size: clamp(.65rem, .9vw, 1rem);
  text-align: center;
}

/* Keep the whole approved composition visible instead of cropping it. */
@media (min-aspect-ratio: 1672/941) {
  .artboard {
    width: 100%;
  }
}

/* On narrower screens we preserve the artwork and allow normal scrolling. */
@media (max-width: 979px) {
  body { overflow-x: auto; }
  .artboard { width: 980px; min-width: 980px; }
}

/* Phone fallback: keep the artwork intact; users can scroll horizontally if needed. */
@media (max-width: 640px) {
  .artboard { width: 980px; }
}
