:root {
  --text: #fffaf3;
  --muted: rgba(255, 250, 243, .84);
  --panel: rgba(28, 32, 27, .58);
  --panel-border: rgba(255, 255, 255, .25);
  --accent: #d8c2a0;
  --accent-dark: #7b6140;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--text);
  background: #1c201b;
}

.hero {
  min-height: 100%;
  position: relative;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  background-image: url('assets/background.png');
    background-size: cover;
    background-position: 40% center;
    background-repeat: no-repeat;
    background-attachment: fixed;}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.54));
}

.card {
  position: relative;
  width: min(680px, 100%);
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(7px);
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-size: clamp(48px, 10vw, 92px);
  line-height: .95;
  font-weight: 400;
}
h1 span { color: var(--accent); }

.date {
  margin: 18px 0 0;
  font-size: clamp(18px, 3vw, 26px);
  color: var(--muted);
}

.divider {
  width: 88px;
  height: 1px;
  margin: 30px auto;
  background: var(--accent);
}

.intro {
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
}

.button {
  display: inline-block;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #221b12;
  text-decoration: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(0,0,0,.32); }

.hint {
  margin: 12px 0 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,.72);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.countdown div {
  padding: 14px 10px;
  border-radius: 16px;
  background: rgba(255,255,255,.11);
}
.countdown strong {
  display: block;
  font-size: 26px;
}
.countdown span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}

@media (max-width: 520px) {
  .hero { align-items: end; padding-bottom: 24px; }
  .card { border-radius: 22px; }
  .countdown { gap: 8px; }
}

button.button { border: 0; cursor: pointer; }

.upload-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.upload-modal.is-open { display: flex; }
.upload-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(5px);
}
.upload-panel {
  position: relative;
  width: min(980px, 100%);
  height: min(760px, 92vh);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.26);
  background: #fffaf3;
  box-shadow: 0 28px 90px rgba(0,0,0,.5);
  color: #221b12;
}
.upload-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: linear-gradient(90deg, #fffaf3, #eadcc5);
  border-bottom: 1px solid rgba(34,27,18,.12);
}
.upload-kicker {
  margin: 0 0 4px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7b6140;
}
.upload-header h2 {
  margin: 0;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 400;
}
.close-button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(34,27,18,.12);
  color: #221b12;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}
.upload-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
.iframe-note {
  margin: 0;
  padding: 10px 16px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  color: rgba(34,27,18,.72);
  background: #fffaf3;
  border-top: 1px solid rgba(34,27,18,.12);
}

body.modal-open { overflow: hidden; }

@media (max-width: 520px) {
  .upload-modal { padding: 0; }
  .upload-panel { width: 100%; height: 100%; border-radius: 0; }
  .upload-header { padding: 14px 16px; }
}
