@font-face {
  font-family: Cinzel;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("cinzel-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #070605;
  --teal: #011c21;
  --card: #0c1618;
  --text: #f7f1e6;
  --muted: #d2c6b4;
  --gold: #f0c27a;
  --ink: #1a0c05;
  --line: rgba(240, 194, 122, 0.28);
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  background:
    radial-gradient(ellipse 80% 42% at 50% -8%, rgba(224, 120, 40, 0.28), transparent 58%),
    radial-gradient(ellipse 50% 36% at 100% 8%, rgba(1, 40, 48, 0.85), transparent 50%),
    radial-gradient(ellipse 40% 28% at 0% 92%, rgba(224, 100, 30, 0.1), transparent 46%),
    var(--bg);
}

body::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, #e07d2c, var(--gold), #e07d2c, transparent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-160%);
  background: var(--text);
  color: var(--ink);
  padding: 0.55rem 0.85rem;
  z-index: 5;
  border-radius: 0.4rem;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  transform: none;
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.wrap {
  width: min(32rem, 100%);
  margin-inline: auto;
  padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
}

.hero {
  padding: 1.35rem 0 0.5rem;
  text-align: center;
}

.logo {
  width: min(58vw, 13.25rem);
  margin: 0 auto 0.35rem;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

.badge {
  width: min(74vw, 16.5rem);
  margin: 0.2rem auto 1.05rem;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 7.2vw, 2.45rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin-bottom: 0.75rem;
}

.nowrap {
  white-space: nowrap;
}

.lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--gold);
  text-wrap: balance;
  margin-bottom: 1.25rem;
}

.countdown {
  min-height: 8.75rem;
  margin-bottom: 0.35rem;
}

.countdown-label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.ticks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
}

.tick {
  background: rgba(1, 28, 33, 0.82);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.7rem 0.15rem 0.55rem;
}

.tick strong {
  display: block;
  font-family: var(--serif);
  font-variant-numeric: tabular-nums;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

.tick span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.ended,
.noscript-note {
  margin-top: 0.35rem;
  padding: 0.95rem 0.85rem;
  border: 1px solid var(--gold);
  border-radius: 0.85rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
}

.ticks[hidden],
.ended[hidden],
.countdown-label[hidden] {
  display: none !important;
}

.offers {
  padding: 1.35rem 0 0.5rem;
}

h2 {
  font-family: Cinzel, var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-align: center;
  text-wrap: balance;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.offer {
  background: linear-gradient(180deg, #102226 0%, var(--card) 38%);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.offer + .offer {
  margin-top: 1.15rem;
}

.offer-art {
  background: var(--teal);
}

.offer-body {
  padding: 0.95rem 1.1rem 1.15rem;
  border-top: 1px solid var(--line);
}

.offer-meta {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 0.3rem;
  color: var(--gold);
  font-family: Cinzel, var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.offer-meta .num {
  font-size: 0.95rem;
}

h3 {
  font-family: Cinzel, var(--serif);
  font-size: clamp(1.35rem, 5.4vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-wrap: balance;
  margin-bottom: 0.45rem;
}

.offer-body > p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.code {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  align-items: center;
  margin-top: 0.9rem;
  padding: 0.7rem 0.95rem;
  min-height: 4.25rem;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.28);
  border: 1px dashed rgba(240, 194, 122, 0.6);
  border-radius: 0.9rem;
}

.code-kicker {
  grid-column: 1;
  grid-row: 1;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.code-value {
  grid-column: 1;
  grid-row: 2;
  font-family: Cinzel, var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

.code-status {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.code.is-copied {
  border-style: solid;
  border-color: var(--gold);
}

.code.is-copied .code-status {
  color: var(--gold);
  font-weight: 700;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.5rem;
  margin-top: 0.8rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f2b15a 0%, #e07d2c 100%);
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(224, 125, 44, 0.22);
}

.cta:hover {
  filter: brightness(1.05);
}

.cta:active {
  transform: translateY(1px);
}

.code:focus-visible,
.cta:focus-visible,
.home-link:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

.site-footer {
  padding: 2rem 0 max(2rem, env(safe-area-inset-bottom));
  text-align: center;
}

.signoff {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.35rem 0.7rem;
  color: var(--gold);
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.home-link:hover {
  text-decoration-thickness: 2px;
}

.terms,
.legal {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.terms {
  margin-top: 0.85rem;
}

.legal {
  margin-top: 0.7rem;
}

@media (max-width: 340px) {
  .code {
    grid-template-columns: 1fr;
  }

  .code-status {
    grid-column: 1;
    grid-row: 3;
    margin-top: 0.15rem;
  }
}

@media (min-width: 720px) {
  .hero {
    padding-top: 2.25rem;
  }

  .logo {
    width: 15rem;
  }

  h1 {
    font-size: 2.5rem;
  }
}

@media (forced-colors: active) {
  .cta,
  .code,
  .offer,
  .tick,
  .ended {
    border: 1px solid ButtonText;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta:active {
    transform: none;
  }
}
