/* Event Countdown. Change the colors here. */
:root {
  --bg: #121016;
  --panel: #1b1820;
  --line: #2e2a35;
  --text: #f6f2ee;
  --muted: #b2aab8;
  --accent: #ff7a45;
  --accent-2: #ff4f8b;
  --accent-text: #1a0d08;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* diagonal stripes in the top-right corner */
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgb(255 122 69 / 0.07) 22px 24px) top right / 55% 70% no-repeat,
    radial-gradient(700px 420px at 90% 0%, rgb(255 79 139 / 0.18), transparent 70%);
}

.nav { display: flex; align-items: center; justify-content: space-between; width: min(1120px, 100% - 40px); margin: 0 auto; padding: 24px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; text-decoration: none; }
.logo svg { width: 30px; height: 30px; color: var(--accent); }
.nav-cta { padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; text-decoration: none; }
.nav-cta:hover { border-color: var(--accent); }

main { flex: 1; width: min(1120px, 100% - 40px); margin: 0 auto; }

.hero { padding: clamp(32px, 7vw, 80px) 0 48px; }
.kicker { margin: 0 0 18px; color: var(--accent); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.85rem; }
h1 { margin: 0 0 20px; font-size: clamp(2.6rem, 7.5vw, 5.4rem); line-height: 0.98; letter-spacing: -0.045em; font-weight: 800; }
h1 span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { max-width: 580px; margin: 0 0 40px; color: var(--muted); font-size: 1.12rem; }

.countdown { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 36px; }
.countdown div {
  min-width: 120px;
  padding: 4px 28px 4px 0;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}
.countdown div:last-child { border-right: 0; margin-right: 0; }
.n { display: block; font-size: clamp(2.6rem, 7vw, 4.2rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.l { color: var(--muted); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.status { margin: -16px 0 28px; color: var(--accent); font-weight: 700; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 14px;
  font: inherit; font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, background-color 0.15s, border-color 0.15s;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { border: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: var(--accent-text); }
.btn-ghost { border: 1px solid var(--line); background: var(--panel); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }

.details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  padding: 32px 0 56px;
  border-top: 1px solid var(--line);
}
.detail { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.detail > svg { flex: none; width: 24px; height: 24px; color: var(--accent); }
.detail h2 { margin: 0 0 4px; font-size: 1rem; }
.detail p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.foot { padding: 24px 20px 32px; text-align: center; color: var(--muted); font-size: 0.85rem; }
.foot p { margin: 0; }

@media (max-width: 560px) {
  .countdown { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .countdown div { min-width: 0; margin: 0; padding: 0; border: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
