/* Explain: Styles for the initial signup gate overlay and its components. */
html.gate-locked,
html.gate-locked body {
    overflow: hidden;
}

.signup-gate {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 90;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 1.25rem 1rem;
    background: linear-gradient(160deg, #0F172A 0%, #16233d 55%, #1c2c4d 100%);
    -webkit-overflow-scrolling: touch;
}
.signup-gate.is-open {
    display: flex;
}
@media (min-width: 640px) {
    .signup-gate {
        align-items: center;
        padding: 2rem 1.5rem;
    }
}

.signup-gate__panel {
    position: relative;
    width: min(100%, 30rem);
    margin: auto;
    border-radius: var(--radius-lg);
    background: var(--surface-color);
    padding: 1.75rem;
    box-shadow: var(--shadow-pop);
}
@media (min-width: 640px) {
    .signup-gate__panel { padding: 2.25rem; }
}

.signup-gate__brand {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
.signup-gate__logo {
    height: 3.5rem;
    width: auto;
    max-width: 13rem;
    object-fit: contain;
    transform-origin: center;
    animation: brand-logo-alive 3.6s ease-in-out infinite;
    transition: filter 0.3s ease;
}
.signup-gate__logo:hover {
    animation-duration: 1.4s;
    filter: brightness(1.05) drop-shadow(0 8px 16px rgba(249, 115, 22, 0.35));
}
@media (prefers-reduced-motion: reduce) {
    .signup-gate__logo { animation: none; }
}

.signup-gate__title {
    margin-top: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-color);
}
.signup-gate__text {
    margin-top: 0.65rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
}
.signup-gate__legal {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--text-muted);
}