:root {
  --bg: #0f0f14;
  --surface: #1d1e27;
  --surface-soft: #242734;
  --text: #f6f8ff;
  --muted: #a5afc7;
  --accent: #ff8f45;
  --accent-2: #4dd6b9;
  --danger: #ff5d5d;
  --radius: 16px;
  --shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  color: var(--text);
  background: radial-gradient(circle at 15% 20%, #2f2233 0%, #161720 42%, #101017 100%);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.hidden {
  display: none !important;
}

.btn {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, #ff9247, #ffc35f);
  color: #251307;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 150ms ease, filter 150ms ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.btn:active {
  transform: translateY(0);
}

.btn.secondary {
  background: linear-gradient(120deg, #52d8d9, #73efb2);
  color: #04221d;
}

.btn.danger {
  background: linear-gradient(120deg, #ff7474, #ff5d8f);
  color: #31040f;
}

.card {
  background: linear-gradient(170deg, rgba(36, 39, 52, 0.95), rgba(25, 27, 38, 0.95));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.muted {
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 10px;
}

input,
select {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 10px 12px;
  font-size: 15px;
  outline: none;
}

input:focus,
select:focus {
  border-color: rgba(255, 195, 95, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 195, 95, 0.2);
}

select option,
select optgroup {
  color: #111722;
  background: #ffffff;
}

option {
  color: #111722 !important;
  background: #ffffff !important;
}

.gate-page {
  display: grid;
  place-items: center;
}

.gate {
  width: min(560px, 92vw);
  text-align: center;
  background: rgba(28, 30, 42, 0.92);
  padding: 28px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.gate ol {
  text-align: left;
  color: var(--muted);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: slideUp 250ms ease both;
}
