/* Private gate — "Enter your invitation code", in the talent invitation's colours: the 2026 honoree
   announcement's concentric rings (red → magenta → violet), cream type, yellow → orange button. */

:root {
  --plum: #07020f;
  --plum2: #160428;
  --gold: #ffd23f;
  --gold-hi: #ffd23f;
  --cream: #F4EAC9;
  --text: #f4eadb;
  --muted: rgba(244, 234, 219, 0.66);
  --line: rgba(255, 255, 255, 0.18);
  --gold-foil: linear-gradient(#fff, #fff);
  --gold-h: linear-gradient(90deg, #ffe300, #ff7c00 30%, #ec1409 58%, #e800ff 82%, #9600ff);
  --gold-btn: linear-gradient(90deg, #ffe300, #ff7c00);
  --display: "Söhne Schmal", "Sohne Schmal", Anton, Impact, "Arial Narrow", sans-serif;
  --sub: "BET Proxima Nova", "Proxima Nova", Montserrat, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--plum); }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--plum); color: var(--text);
  font-family: var(--sub); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold-hi); text-decoration: none; }
a:hover { text-decoration: underline; }
[hidden] { display: none !important; }

.gate-bg {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 50% 45%, rgba(7, 2, 15, 0.2) 30%, rgba(7, 2, 15, 0.85) 100%),
    repeating-radial-gradient(circle at 50% 45%, rgba(40, 0, 30, 0.22) 0 26px, rgba(255, 120, 160, 0.07) 26px 30px, transparent 30px 58px),
    radial-gradient(circle at 50% 45%, #ff3d1a 0%, #e0120c 22%, #9a0a3a 52%, #3a0640 80%, #160428 100%);
}
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.gate {
  position: relative; z-index: 2;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  padding: max(28px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom));
}

.gate-card {
  position: relative; width: min(100%, 480px);
  padding: clamp(30px, 6vw, 46px) clamp(22px, 5vw, 44px) clamp(26px, 5vw, 38px);
  border-radius: 26px; text-align: center;
  background: linear-gradient(180deg, rgba(52, 8, 44, 0.78), rgba(24, 3, 14, 0.88));
  border: 1px solid var(--line);
  box-shadow: 0 0 50px rgba(255, 80, 40, 0.25), 0 34px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}
.gate-card::before {
  content: ""; position: absolute; left: 40px; right: 40px; top: -1px; height: 1.5px; border-radius: 2px;
  background: var(--gold-h);
}
.gate-rule { display: none; }

.gate-logo { display: block; width: auto; height: clamp(64px, 11vh, 92px); margin: 0 auto 18px; }
.gate-eyebrow {
  margin: 0 0 10px; font: 700 11px/1 var(--sub); letter-spacing: 0.42em; padding-left: 0.42em; text-transform: uppercase;
  background: var(--gold-foil); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.g-foil {
  background: var(--gold-foil); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 20px rgba(70, 0, 20, 0.5));
}
.gate-title { margin: 0; font: 900 clamp(36px, 8vw, 54px)/0.95 var(--sub); text-transform: uppercase; letter-spacing: -0.01em; }
.gate-orn { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0 14px; color: var(--gold); font-size: 11px; }
.gate-orn i { display: block; width: 60px; height: 2px; background: #fff; opacity: 0.85; }
.gate-lede { margin: 0 auto 22px; max-width: 30em; font-size: 15px; line-height: 1.6; color: var(--text); }

.gate-form { display: grid; gap: 12px; margin: 0; text-align: left; }
.gate-label { font: 700 10.5px/1 var(--sub); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.gate-input {
  width: 100%; padding: 16px 18px; border-radius: 14px;
  border: 2px dashed rgba(240, 183, 192, 0.75); background: rgba(58, 7, 18, 0.6);
  color: var(--gold-hi); font: 700 clamp(18px, 4.6vw, 22px)/1.2 var(--sub); letter-spacing: 0.18em; text-align: center; text-transform: uppercase;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.gate-input::placeholder { color: rgba(255, 255, 255, 0.35); }
.gate-input:focus { outline: none; border-style: solid; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 210, 63, 0.25); }
.gate-input[aria-invalid="true"] { border-color: #e3664f; }
.gate-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 100%;
  padding: 18px; border: 0; border-radius: 999px; cursor: pointer;
  font: 800 13px/1 var(--sub); letter-spacing: 0.16em; text-transform: uppercase; color: #2a0505;
  background: var(--gold-btn);
  box-shadow: 0 10px 30px rgba(255, 124, 0, 0.4), 0 0 40px rgba(236, 20, 9, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.gate-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255, 124, 0, 0.55), 0 0 50px rgba(236, 20, 9, 0.3); }
.gate-btn:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }
.gate-btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.gate-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gate-msg { margin: 2px 0 0; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; text-align: center; }
.gate-msg.is-error { color: #ffd0c4; background: rgba(236, 20, 9, 0.14); border: 1px solid rgba(236, 20, 9, 0.4); }
.gate-msg.is-info { color: #fff; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }

.gate-help { margin: 16px 0 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.gate-help + .gate-help { margin-top: 6px; }
.gate-foot { margin: 0; font: 600 10.5px/1.4 var(--sub); letter-spacing: 0.22em; text-transform: uppercase; color: rgba(244, 234, 219, 0.45); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .gate-btn, .gate-input { transition: none; }
}
