:root {
  color-scheme: dark;
  --bg: #091210;
  --gold: #dbbb77;
  --gold-light: #f4dfb0;
  --emerald: #79c6a5;
  --muted: #b0bcb1;
  --line: rgba(219, 187, 119, .22);
  --display: 'Cinzel', Georgia, serif;
  --body: 'Poppins', Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { min-height: 100%; background: var(--bg); }
body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: #efece3;
  font-family: var(--body);
  text-align: center;
  background: linear-gradient(180deg, #09121099, #091210cc 55%, var(--bg)), url('img/fondo.jpeg') center / cover fixed;
}
body::before { content: ''; position: fixed; inset: 18px; border: 1px solid var(--line); pointer-events: none; }
::selection { background: var(--gold); color: var(--bg); }
.teaser { width: min(780px, 100%); margin: auto; padding: 48px 28px 22px; }
.emblem { position: relative; isolation: isolate; width: clamp(220px, 32vw, 340px); aspect-ratio: 1; margin: 0 auto 34px; display: grid; place-items: center; }
.emblem::before { content: ''; position: absolute; inset: 8%; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, #83bd6650, #1a473355 45%, transparent 72%); filter: blur(16px); }
.emblem img { position: relative; width: 91%; height: auto; filter: drop-shadow(0 10px 28px #0009); }
.portal { position: absolute; border-radius: 50%; }
.portal-outer { inset: 0; border: 1px solid var(--line); transform: rotate(-25deg); box-shadow: 0 0 65px #51895416, inset 0 0 55px #51895416; }
.portal-outer::before { content: ''; position: absolute; inset: 12px; border: 1px dashed #dbbb7740; border-radius: 50%; }
.portal-inner { inset: 11%; border: 1px solid #88b28d44; border-left-color: var(--gold); border-right-color: var(--gold); transform: rotate(30deg); }
.spark { position: absolute; color: var(--gold-light); font-size: 24px; }
.spark-one { top: 8%; right: 14%; }
.spark-two { bottom: 13%; left: 6%; color: var(--emerald); font-size: 20px; }
.eyebrow { color: var(--emerald); font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; }
h1 { font: 600 clamp(36px, 7vw, 68px)/1.2 var(--display); letter-spacing: -1px; color: var(--gold-light); }
.ellipsis { color: var(--gold); }
.divider { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 22px auto; width: min(240px, 70%); color: var(--gold); font-size: 13px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.intro { color: var(--muted); font-size: 13px; line-height: 1.95; }
.sound-wave { display: flex; align-items: center; justify-content: center; gap: 5px; height: 30px; margin-top: 26px; }
.sound-wave i { width: 2px; height: 10px; background: linear-gradient(var(--gold), var(--emerald)); opacity: .7; animation: wave 3s ease-in-out infinite alternate; }
.sound-wave i:nth-child(3n) { height: 23px; animation-delay: -1s; }
.sound-wave i:nth-child(4n) { height: 30px; animation-delay: -2s; }
.sound-wave i:nth-child(5n) { height: 17px; animation-delay: -.5s; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: min(480px, 100%); margin: 30px auto 0; }
[hidden] { display: none !important; }
.countdown-unit { padding: 16px 4px; border-block: 1px solid var(--line); background: #09121055; }
.countdown-unit > span:first-child { display: block; color: var(--gold-light); font: 400 clamp(26px, 5vw, 42px)/1.2 var(--display); font-variant-numeric: tabular-nums; }
.unit-label { display: block; margin-top: 10px; color: var(--muted); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }
footer { padding: 22px 30px 38px; color: var(--muted); font-size: 9px; letter-spacing: 1px; }
footer span { color: var(--gold); margin-inline: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@keyframes wave { from { transform: scaleY(.6); } to { transform: scaleY(1.15); } }
@media (max-width: 480px) {
  body::before { inset: 10px; }
  .teaser { padding: 38px 24px 18px; }
  .emblem { margin-bottom: 28px; }
  .eyebrow { font-size: 9px; letter-spacing: 2px; }
  .countdown { gap: 8px; }
  .unit-label { font-size: 8px; letter-spacing: .5px; }
  footer { font-size: 8px; letter-spacing: .5px; padding-bottom: 28px; }
  footer span { margin-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }
