:root {
  --ix-glacier: #f4f6ff;
  --ix-sun: #f3c623;
  --ix-ember: #eb8317;
  --ix-navy: #10375c;
  --ix-navy-ink: #0b2742;
  --font-display: "Unbounded", sans-serif;
  --font-body: "Livvic", sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(100% 70% at 50% 0%, #f4f6ff33 0%, transparent 55%),
    radial-gradient(70% 50% at 90% 80%, #f3c62344 0%, transparent 45%),
    var(--ix-navy);
  color: var(--ix-glacier);
  font-family: var(--font-body);
}

.ix-gate {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.ix-gate-card {
  width: min(32rem, 100%);
  max-height: min(92dvh, 52rem);
  overflow: auto;
  padding: 1.75rem 1.6rem 1.5rem;
  border: 1px solid rgba(244, 246, 255, 0.18);
  border-radius: 4px;
  background: rgba(11, 39, 66, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.ix-gate-eyebrow {
  margin: 0 0 0.35rem;
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ix-sun);
}

.ix-gate-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2rem);
  letter-spacing: -0.03em;
  color: var(--ix-glacier);
}

.ix-gate-lead {
  margin: 0 0 1.1rem;
  color: rgba(244, 246, 255, 0.88);
  line-height: 1.45;
  font-size: 0.98rem;
}

.ix-gate-error {
  margin: 0 0 0.9rem;
  padding: 0.55rem 0.7rem;
  border-left: 3px solid var(--ix-ember);
  background: rgba(235, 131, 23, 0.12);
  color: var(--ix-glacier);
  font-size: 0.9rem;
}

.ix-gate-local {
  margin: 0 0 0.9rem;
  padding: 0.55rem 0.7rem;
  border-left: 3px solid var(--ix-sun);
  background: rgba(243, 198, 35, 0.12);
  color: var(--ix-glacier);
  font-size: 0.88rem;
  line-height: 1.4;
}

.ix-gate-privacy-title {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ix-sun);
  font-weight: 700;
}

.ix-gate-privacy ul {
  margin: 0 0 1.1rem;
  padding-left: 1.15rem;
  color: rgba(244, 246, 255, 0.9);
  line-height: 1.45;
  font-size: 0.92rem;
}

.ix-gate-privacy li {
  margin-bottom: 0.45rem;
}

.ix-gate-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  color: rgba(244, 246, 255, 0.85);
}

.ix-gate-form input[type="text"],
.ix-gate-form input[type="password"],
.ix-gate-form input[type="email"] {
  width: 100%;
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(244, 246, 255, 0.22);
  border-radius: 4px;
  background: rgba(244, 246, 255, 0.06);
  color: var(--ix-glacier);
  font: 400 1rem/1.3 var(--font-body);
}

.ix-gate-form input:focus-visible {
  outline: 2px solid var(--ix-sun);
  outline-offset: 2px;
}

.ix-gate-form .login-remember {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.ix-gate-form .login-remember input {
  margin-right: 0.4rem;
}

.ix-gate-form .button,
.ix-gate-form .ix-btn,
.ix-btn {
  appearance: none;
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(235, 131, 23, 0.65);
  border-radius: 4px;
  background: var(--ix-ember);
  color: var(--ix-navy);
  font: 600 1rem/1.2 var(--font-body);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.ix-gate-form .button:hover,
.ix-btn:hover,
.ix-gate-form .button:focus-visible,
.ix-btn:focus-visible {
  filter: brightness(1.04);
  outline: 2px solid var(--ix-sun);
  outline-offset: 2px;
}

.ix-gate-check {
  display: flex !important;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 1rem !important;
  font-size: 0.92rem !important;
  line-height: 1.4;
  cursor: pointer;
}

.ix-gate-check input {
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

.ix-gate-foot {
  margin: 1rem 0 0;
  font-size: 0.88rem;
}

.ix-gate-foot a {
  color: var(--ix-sun);
  font-weight: 600;
  text-decoration: none;
}

.ix-gate-foot a:hover,
.ix-gate-foot a:focus-visible {
  text-decoration: underline;
}

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