:root {
  --brand: #f5c518;
  --brand-hover: #ffd84d;
  --canvas: #0b0b0b;
  --surface: #161616;
  --surface-2: #1f1f1f;
  --wax: #b3202e;
  --text: #e5e5e5;
  --muted: #a3a3a3;
  --quote: Georgia, Cambria, 'Times New Roman', serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(245, 197, 24, 0.18), transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(179, 32, 46, 0.15), transparent 50%),
    var(--canvas);
  color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem clamp(1rem, 4vw, 3rem);
}

.logo { display: block; height: 3rem; width: auto; }

.langs { display: flex; gap: 0.25rem; background: var(--surface); border-radius: 999px; padding: 0.25rem; }
.langs button {
  border: 0; border-radius: 999px; padding: 0.35rem 0.8rem; cursor: pointer;
  background: transparent; color: var(--muted); font-weight: 700;
}
.langs button[aria-pressed='true'] { background: var(--brand); color: #111; }

main { flex: 1; width: min(1100px, 100%); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

.hero { text-align: center; padding: clamp(1.5rem, 6vw, 4rem) 0 2rem; animation: fade-in 700ms ease-out; }

.seal {
  display: block; width: clamp(96px, 14vw, 140px); height: auto; margin: 0 auto 1.5rem;
  filter: drop-shadow(0 12px 30px rgba(245, 197, 24, 0.25));
  animation: crown-in 800ms cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

.kicker { text-transform: uppercase; letter-spacing: 0.3em; color: var(--brand); font-weight: 700; font-size: 0.85rem; margin: 0; }

h1 {
  font-family: var(--quote);
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  line-height: 1.05;
  margin: 0.75rem auto 1rem;
  max-width: 14ch;
  color: #fff;
}

.lead { max-width: 60ch; margin: 0 auto; color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.15rem); line-height: 1.6; }

.countdown { margin-top: 2rem; }
.soon {
  display: inline-block; margin: 0; padding: 0.6rem 1.4rem; border-radius: 999px;
  border: 1px solid rgba(245, 197, 24, 0.5); color: var(--brand); font-weight: 700; letter-spacing: 0.08em;
}
.clock { display: flex; justify-content: center; gap: clamp(0.5rem, 2vw, 1rem); }
.clock[hidden], .soon[hidden] { display: none; }
.clock div {
  min-width: 4.5rem; padding: 0.8rem 0.5rem; border-radius: 0.75rem; background: var(--surface);
  border: 1px solid var(--surface-2);
}
.clock b { display: block; font-size: clamp(1.6rem, 5vw, 2.4rem); color: var(--brand); font-variant-numeric: tabular-nums; }
.clock span { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }

.carousel { margin: 2rem 0 3rem; }
.track {
  position: relative; border-radius: 1rem; overflow: hidden; background: var(--surface);
  border: 1px solid var(--surface-2); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}
.slide { animation: fade-in 500ms ease-out; }
.slide[hidden] { display: none; }
.slide img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.caption { padding: 1.25rem 1.5rem 1.5rem; }
.caption h3 { margin: 0 0 0.35rem; font-family: var(--quote); font-size: 1.5rem; color: var(--brand); }
.caption p { margin: 0; color: var(--muted); line-height: 1.5; }

.dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
.dots button {
  width: 0.7rem; height: 0.7rem; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: var(--surface-2); transition: width 200ms, background 200ms;
}
.dots button[aria-current='true'] { width: 2rem; background: var(--brand); }

.notify {
  text-align: center; background: var(--surface); border: 1px solid var(--surface-2);
  border-radius: 1rem; padding: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: 3rem;
}
.notify h2 { margin: 0 0 0.5rem; font-family: var(--quote); font-size: clamp(1.5rem, 4vw, 2rem); color: #fff; }
.notify > p { margin: 0 0 1.5rem; color: var(--muted); }

form { max-width: 520px; margin: 0 auto; }
.row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.row input {
  flex: 1 1 240px; padding: 0.85rem 1rem; border-radius: 0.6rem; border: 1px solid #333;
  background: var(--canvas); color: var(--text); font-size: 1rem;
}
.row input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.row button {
  flex: 0 0 auto; padding: 0.85rem 1.5rem; border: 0; border-radius: 0.6rem; cursor: pointer;
  background: var(--brand); color: #111; font-weight: 800; font-size: 1rem;
}
.row button:hover { background: var(--brand-hover); }
.row button:disabled { opacity: 0.6; cursor: wait; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.consent { display: flex; gap: 0.6rem; align-items: flex-start; text-align: left; margin-top: 1rem; font-size: 0.85rem; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 0.15rem; accent-color: var(--brand); }

.msg { min-height: 1.5em; margin: 1rem 0 0; font-weight: 600; }
.msg.ok { color: #22c55e; }
.msg.err { color: #f43f5e; }

.privacy { max-width: 520px; margin: 1rem auto 0; text-align: left; font-size: 0.8rem; color: var(--muted); }
.privacy summary { cursor: pointer; text-align: center; }
.privacy p { line-height: 1.5; }

footer { text-align: center; padding: 1.5rem 1rem 2rem; color: var(--muted); font-size: 0.9rem; }
footer p { margin: 0.25rem 0; }
footer a { color: var(--brand); }
.motto { font-family: var(--quote); font-style: italic; }

@keyframes fade-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes crown-in {
  0% { opacity: 0; transform: scale(2) rotate(-15deg); }
  60% { opacity: 1; transform: scale(0.94) rotate(3deg); }
  100% { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
