html {
    background:
        radial-gradient(circle at 15% 20%, rgba(147, 20, 61, 0.42), transparent 24%),
        radial-gradient(circle at 82% 18%, rgba(255, 184, 107, 0.18), transparent 24%),
        linear-gradient(135deg, #12050d 0%, #1d0b16 35%, #24131f 58%, #120810 100%);
}

body.gateway-page {
    margin: 0;
    min-height: 100vh;
    color: #fff6f8;
    background: transparent;
    overflow-x: hidden;
    font-family: "Segoe UI", system-ui, sans-serif;
}

.gateway-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 32px;
    box-sizing: border-box;
}

.gateway-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.gateway-brand img {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.gateway-brand strong {
    display: block;
    font-size: 19px;
}

.gateway-brand span {
    display: block;
    color: rgba(255, 246, 248, 0.7);
    font-size: 13px;
}

.gateway-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 420px);
    gap: 26px;
    align-items: start;
}

.gateway-hero,
.gateway-card {
    border-radius: 32px;
    box-sizing: border-box;
}

.gateway-hero {
    padding: 36px 32px;
    background:
        linear-gradient(180deg, rgba(8, 3, 7, 0.14), rgba(8, 3, 7, 0.76)),
        linear-gradient(135deg, rgba(53, 16, 34, 0.86), rgba(18, 8, 16, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.gateway-tag {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 214, 160, 0.1);
    border: 1px solid rgba(255, 214, 160, 0.16);
    color: #ffd9a6;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.gateway-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 0.96;
    color: #fffafc;
}

.gateway-hero p {
    margin: 0 0 14px;
    max-width: 42ch;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 240, 244, 0.82);
}

.gateway-card {
    padding: 24px;
    background: linear-gradient(180deg, rgba(255, 250, 252, 0.96), rgba(255, 245, 247, 0.94));
    color: #1d0b16;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.gateway-card h2 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.1;
}

.gateway-card .gateway-help {
    margin: 0 0 16px;
    color: #694e5a;
    line-height: 1.5;
}

.gateway-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.gateway-field label {
    font-weight: 700;
}

.gateway-field select {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(29, 11, 22, 0.18);
    background: #fff;
    color: #1d0b16;
    font-size: 16px;
}

.gateway-field select:focus {
    outline: 3px solid rgba(123, 34, 64, 0.35);
    outline-offset: 2px;
}

.gateway-note,
.gateway-aviso,
.gateway-destino {
    margin: 8px 0 0;
    line-height: 1.45;
}

.gateway-note {
    color: #694e5a;
    font-size: 14px;
}

.gateway-aviso {
    min-height: 1.4em;
    color: #7b2240;
    font-weight: 700;
}

.gateway-destino {
    min-height: 1.4em;
    color: #3d2a33;
    overflow-wrap: anywhere;
}

.gateway-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.gateway-actions button {
    min-height: 48px;
    border-radius: 14px;
    border: 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.gateway-actions button:focus {
    outline: 3px solid rgba(123, 34, 64, 0.45);
    outline-offset: 2px;
}

.gateway-continuar {
    background: linear-gradient(135deg, #f0c78a, #d89a57);
    color: #1b0c14;
}

.gateway-entrar {
    background: rgba(29, 11, 22, 0.08);
    color: #1d0b16;
}

@media (max-width: 860px) {
    .gateway-layout {
        grid-template-columns: 1fr;
    }

    .gateway-hero {
        padding: 24px 18px;
    }

    .gateway-hero h1 {
        font-size: clamp(28px, 9vw, 40px);
    }

    .gateway-hero p {
        font-size: 16px;
    }
}

@media (max-width: 430px) {
    .gateway-shell {
        width: calc(100% - 20px);
    }

    .gateway-brand img {
        width: 48px;
        height: 48px;
    }
}
