:root {
    --red: #ff2a2a;
    --red-deep: #e10600;
    --text: #f4f5f7;
    --muted: #b7bac4;
}

* { box-sizing: border-box; }

body.hv-login {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: Inter, "Segoe UI", sans-serif;
    background:
        radial-gradient(700px 420px at 88% 18%, rgba(255, 20, 40, 0.38), transparent 58%),
        radial-gradient(640px 380px at 8% 80%, rgba(180, 0, 20, 0.28), transparent 60%),
        #07070b;
}

a { color: inherit; text-decoration: none; }

.stage {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 36px 0 64px;
    position: relative;
}

.pitch { position: relative; z-index: 1; }

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 28px 0 18px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 70, 70, 0.4);
    background: rgba(70, 8, 14, 0.55);
    color: #ffd6d6;
    font-size: 13px;
    font-weight: 600;
}

.pitch h1 {
    margin: 0 0 16px;
    font-size: clamp(40px, 4.6vw, 58px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 800;
    max-width: 560px;
}

.accent {
    color: var(--red);
    position: relative;
    display: inline-block;
}

.accent::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 5px;
    border-radius: 8px;
    background: var(--red);
    transform: rotate(-1.5deg);
}

.pitch p {
    max-width: 460px;
    margin: 0 0 34px;
    color: #d5d7df;
    font-size: 18px;
    line-height: 1.5;
}

.channels {
    display: flex;
    align-items: center;
    gap: 22px;
}

.channel { text-align: center; min-width: 110px; }
.channel strong { display: block; margin-top: 10px; font-size: 15px; }
.channel span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

.divider {
    width: 1px;
    height: 64px;
    background: rgba(255, 255, 255, 0.14);
}

.icon-box {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 40% 30%, #3a1218, #14080b 72%);
    border: 1px solid rgba(255, 60, 70, 0.35);
    box-shadow: inset 0 0 16px rgba(255, 0, 30, 0.2);
}

.icon-box.green {
    background: radial-gradient(circle at 40% 30%, #123322, #07140e 72%);
    border-color: rgba(37, 211, 102, 0.4);
}

.panel {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    margin-left: auto;
    padding: 34px 32px 26px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(28, 10, 14, 0.94), rgba(8, 8, 12, 0.96));
    border: 1px solid rgba(255, 50, 60, 0.72);
    box-shadow:
        0 0 0 1px rgba(255, 30, 40, 0.25),
        0 0 42px rgba(255, 0, 40, 0.38),
        inset 0 0 48px rgba(255, 0, 30, 0.08);
}

.panel-brand { text-align: center; }
.panel-brand .mark { display: inline-flex; }
.panel-brand h2 {
    margin: 10px 0 0;
    font-size: 26px;
    letter-spacing: -0.04em;
}
.panel-brand p { margin: 4px 0 0; color: #9aa0ad; font-size: 14px; }

.panel h3 {
    margin: 26px 0 4px;
    font-size: 28px;
    letter-spacing: -0.03em;
}

.hint { margin: 0 0 18px; color: var(--muted); font-size: 14px; }

.alert {
    background: rgba(217, 48, 37, 0.15);
    color: #ffb4ab;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 12px;
    font-size: 14px;
}

.field { position: relative; margin-bottom: 14px; }
.field svg.lead {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #c5c8d0;
}
.field input {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 8, 12, 0.72);
    color: #fff;
    padding: 0 46px;
    font-size: 15px;
}
.field input::placeholder { color: #9aa0ad; }
.field input:focus {
    outline: none;
    border-color: rgba(255, 50, 60, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 30, 40, 0.15);
}

.eye {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #c5c8d0;
    cursor: pointer;
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 6px 0 18px;
    font-size: 14px;
}

.check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d7dae2;
}

.check input { accent-color: var(--red); width: 16px; height: 16px; }

.forgot {
    background: none;
    border: 0;
    color: var(--red);
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}

.forgot-note {
    display: none;
    margin: -6px 0 14px;
    color: #ffd0d0;
    font-size: 13px;
    line-height: 1.45;
}
.forgot-note.open { display: block; }

.submit, .home-link {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.submit {
    border: 0;
    color: #fff;
    background: linear-gradient(180deg, #ff3b3b, #e10600);
    box-shadow: 0 10px 24px rgba(225, 6, 0, 0.35);
}

.sep {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: #6d7280;
}
.sep::before, .sep::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, 0.12);
}
.sep span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3a3f4a;
}

.home-link {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.02);
    color: #ececf1;
}

.langs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.langs a {
    color: #9aa0ad;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.langs a.on { color: #fff; }

.site-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #8d909a;
    font-size: 13px;
    padding: 0 16px 28px;
}

.wave {
    position: fixed;
    left: -8%;
    right: -8%;
    bottom: -20px;
    height: 220px;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 900px) {
    .stage { grid-template-columns: 1fr; width: min(480px, calc(100% - 28px)); padding-top: 28px; }
    .panel { margin: 0 auto; }
    .channels { justify-content: space-between; }
    .pitch h1 { font-size: 38px; }
}
