:root {
  --bg: #07111f;
  --bg-soft: #0d1c35;
  --panel: rgba(10, 24, 44, 0.92);
  --panel-strong: rgba(16, 33, 58, 0.98);
  --border: rgba(126, 150, 183, 0.18);
  --text: #f1f5fb;
  --muted: #9aa8bf;
  --orange: #e05a1e;
  --orange-soft: #f07b40;
  --green: #33b67a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(224, 90, 30, 0.12), transparent 26%),
    linear-gradient(180deg, #08111d 0%, #0a1628 100%);
}

a {
  color: inherit;
}

.shell {
  min-height: 100vh;
}

.gate,
.portal {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 0;
}

.gate-card,
.hero-card,
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.gate-card {
  width: min(760px, 100%);
  padding: 38px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.brand-mark {
  width: 160px;
  height: auto;
  display: block;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(224, 90, 30, 0.24);
  border-radius: 999px;
  color: var(--orange-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.gate h1,
.portal h1 {
  margin: 18px 0 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.sub {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 62ch;
}

.notice {
  margin: 0 0 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--orange);
  border-radius: 14px;
  background: rgba(224, 90, 30, 0.08);
  color: #d7dfed;
  line-height: 1.7;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pw-wrap {
  position: relative;
}

.text-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(3, 10, 20, 0.72);
  color: var(--text);
  padding: 14px 48px 14px 16px;
  font-size: 16px;
}

.text-input:focus {
  outline: none;
  border-color: rgba(224, 90, 30, 0.55);
  box-shadow: 0 0 0 3px rgba(224, 90, 30, 0.14);
}

.eye-btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 46px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.check {
  display: flex;
  gap: 12px;
  margin: 18px 0 22px;
  color: var(--muted);
  line-height: 1.65;
}

.check input {
  margin-top: 3px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  padding: 14px 22px;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  border: 0;
  color: #fff;
  background: var(--orange);
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}

.alert {
  display: none;
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(226, 75, 74, 0.1);
  border: 1px solid rgba(226, 75, 74, 0.35);
  color: #ffb5b5;
}

.portal {
  display: none;
  padding: 28px 0 44px;
}

.hero-card {
  padding: 28px;
}

.hero-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
}

.video-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #02070f;
}

.video-wrap::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.selector {
  display: grid;
  gap: 14px;
}

.panel-link {
  display: block;
  padding: 20px;
  border-radius: 18px;
  background: var(--panel-strong);
  border: 1px solid var(--border);
  text-decoration: none;
}

.panel-link:hover {
  border-color: rgba(224, 90, 30, 0.45);
}

.panel-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--orange-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-title {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
  font-weight: 800;
}

.panel-copy {
  display: block;
  color: var(--muted);
  line-height: 1.65;
}

.helper {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.helper strong {
  color: var(--text);
}

.ref-indicator {
  margin-top: 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .gate-card,
  .hero-card {
    padding: 22px;
  }
}
