.gate {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: var(--light);
  overflow: hidden;
  background: var(--orange);
}
.gate-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../video/intro-poster.webp') center/cover no-repeat;
}
.gate-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #ED6A3B;
  mix-blend-mode: multiply;
  opacity: 0.9;
  pointer-events: none;
}
.gate-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 580px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.gate-logo {
  height: clamp(56px, 4.5vw, 78px);
  width: auto;
  filter: brightness(0) invert(1);
}
.gate-question {
  margin: 8px 0 0;
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.gate-sub {
  margin: 0;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 500;
  line-height: 1.45;
  opacity: .95;
}

.gate-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.gate-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 12px;
  width: 100%;
  max-width: 460px;
}
.gate-select { position: relative; }
.gate-select-trigger {
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--light);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--light);
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.gate-select-trigger:hover,
.gate-select-trigger:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}
.gate-select.is-error .gate-select-trigger {
  border-color: #ffd8c4;
  background: rgba(255, 255, 255, 0.1);
}
.gate-select-arrow {
  font-size: 14px;
  opacity: .8;
  transition: transform .2s ease;
}
.gate-select.is-open .gate-select-arrow {
  transform: rotate(180deg);
}
.gate-select-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--light);
  color: var(--dark);
  border-radius: 12px;
  max-height: 240px;
  overflow-y: auto;
  z-index: 10;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  display: none;
  padding: 6px 0;
}
.gate-select.is-open .gate-select-list { display: block; }
.gate-select-option {
  padding: 8px 18px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: background-color .12s ease;
}
.gate-select-option:hover,
.gate-select-option.is-active {
  background: rgba(237, 106, 59, 0.15);
  color: var(--orange);
}

.gate-remember {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  max-width: 460px;
  margin: 0 auto;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  text-align: left;
}
.gate-remember input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--light);
  border-radius: 4px;
  background: transparent;
  flex-shrink: 0;
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: background-color .15s ease;
}
.gate-remember input[type="checkbox"]::before {
  content: "";
  width: 11px;
  height: 11px;
  transform: scale(0);
  transition: transform .12s ease-in-out;
  background-color: var(--orange);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.gate-remember input[type="checkbox"]:checked { background-color: var(--light); }
.gate-remember input[type="checkbox"]:checked::before { transform: scale(1); }

.gate-submit {
  background: var(--light);
  color: var(--dark);
  border: 0;
  padding: 16px 56px;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.gate-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.gate-footer {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.gate-footer img { height: 36px; width: auto; }
.gate-footer a {
  color: var(--light);
  font-size: 12px;
  opacity: .85;
  text-decoration: none;
}
.gate-footer a:hover { opacity: 1; }

.gate-modal {
  border: 0;
  padding: 0;
  max-width: 420px;
  width: calc(100% - 40px);
  background: var(--light);
  color: var(--dark);
  border-radius: 20px;
  padding: 32px 28px 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  text-align: center;
}
.gate-modal::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
}
.gate-modal-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
}
.gate-modal-msg {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.45;
}
.gate-modal-btn {
  background: var(--orange);
  color: var(--light);
  border: 0;
  padding: 12px 40px;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

@media (max-width: 640px) {
  .gate-question { font-size: 32px; }
  .gate-sub { font-size: 14px; }
  .gate-inputs { max-width: 100%; }
  .gate-select-trigger { padding: 12px 14px; font-size: 16px; }
  .gate-submit { padding: 14px 40px; font-size: 16px; }
}
