/* Gate — предрелиз, доступ по коду. Стиль KARLSBACH Moments */
.gate-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    background: #EAEAE8;
    position: relative;
    overflow: hidden;
}

.gate-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(10, 22, 40, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(184, 134, 11, 0.04) 0%, transparent 45%);
    pointer-events: none;
}

.gate-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(10, 22, 40, 0.08), 0 1px 0 rgba(0, 0, 0, 0.04);
    padding: 48px 40px 44px;
    border: 1px solid rgba(224, 221, 216, 0.8);
}

.gate-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    color: #6b6b6b;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 8px;
}

.gate-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #0a1628;
    letter-spacing: 6px;
    text-align: center;
    margin-bottom: 6px;
}

.gate-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #6b6b6b;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 36px;
    line-height: 1.5;
}

.gate-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gate-input-wrap {
    position: relative;
}

.gate-input {
    width: 100%;
    padding: 16px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    letter-spacing: 3px;
    color: #0a1628;
    background: #f8f7f5;
    border: 2px solid #e0ddd8;
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.gate-input::placeholder {
    color: #aaa;
    letter-spacing: 2px;
}

.gate-input:focus {
    border-color: #0a1628;
    box-shadow: 0 0 0 3px rgba(10, 22, 40, 0.08);
}

.gate-input.gate-input--error {
    border-color: #a94442;
    background: #fdf6f6;
}

.gate-input.gate-input--error:focus {
    box-shadow: 0 0 0 3px rgba(169, 68, 66, 0.15);
}

.gate-error {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #a94442;
    letter-spacing: 0.5px;
    text-align: center;
    margin-top: -4px;
}

.gate-btn {
    width: 100%;
    padding: 16px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    background: #0a1628;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.gate-btn:hover {
    background: #16213e;
}

.gate-btn:active {
    transform: scale(0.99);
}

.gate-footer {
    margin-top: 28px;
    text-align: center;
}

.gate-footer-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: #999;
    letter-spacing: 1px;
}

@media (max-width: 480px) {
    .gate-card {
        padding: 36px 24px 32px;
    }
    .gate-title {
        font-size: 22px;
        letter-spacing: 3px;
    }
}
