:root {
    color-scheme: dark;
    --wog-black: #010307;
    --wog-navy-950: #030713;
    --wog-navy-900: #07101f;
    --wog-navy-800: #0b1930;
    --wog-navy-700: #11284b;
    --wog-line: rgba(148, 163, 184, 0.18);
    --wog-text: #f8fafc;
    --wog-muted: #8794a8;
    --wog-gold: #d4a93a;
    --wog-danger: #ff8e8e;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    background: var(--wog-black);
    color: var(--wog-text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

.wog-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(500px, 0.92fr);
    min-height: 100vh;
    min-height: 100svh;
    background: var(--wog-black);
}

.wog-brand-panel {
    position: relative;
    display: flex;
    min-width: 0;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    padding: 64px;
    border-right: 1px solid rgba(212, 169, 58, 0.2);
    background:
        radial-gradient(circle at 50% 42%, rgba(26, 53, 94, 0.5), transparent 38%),
        radial-gradient(circle at 50% 45%, rgba(212, 169, 58, 0.08), transparent 57%),
        linear-gradient(145deg, #02050b 0%, #07101f 58%, #02050a 100%);
}

.wog-brand-panel::before,
.wog-brand-panel::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.wog-brand-panel::before {
    inset: 32px;
    border: 1px solid rgba(148, 163, 184, 0.08);
}

.wog-brand-panel::after {
    width: min(55vw, 760px);
    aspect-ratio: 1;
    border: 1px solid rgba(212, 169, 58, 0.09);
    border-radius: 50%;
    box-shadow:
        0 0 0 84px rgba(148, 163, 184, 0.025),
        0 0 0 168px rgba(148, 163, 184, 0.018);
}

.wog-brand-grid {
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, transparent, black 34%, transparent 92%);
}

.wog-brand-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.wog-logo-stage {
    position: relative;
    display: grid;
    width: clamp(250px, 26vw, 343px);
    aspect-ratio: 1;
    place-items: center;
}

.wog-logo-stage::before {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.88);
    box-shadow: 0 0 90px rgba(14, 35, 69, 0.75);
    content: "";
    filter: blur(6px);
}

.wog-brand-logo {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.6));
}

.wog-eyebrow {
    margin: 28px 0 12px;
    color: var(--wog-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.34em;
}

.wog-brand-content h1 {
    margin: 0;
    font-size: clamp(40px, 4.2vw, 68px);
    font-weight: 650;
    letter-spacing: -0.045em;
    line-height: 1;
}

.wog-brand-copy {
    max-width: 390px;
    margin: 20px 0 0;
    color: var(--wog-muted);
    font-size: 15px;
    line-height: 1.7;
}

.wog-brand-footer {
    position: absolute;
    right: 64px;
    bottom: 46px;
    left: 64px;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    color: #69778c;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.wog-status-dot {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.wog-status-dot::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--wog-gold);
    box-shadow: 0 0 12px rgba(212, 169, 58, 0.7);
    content: "";
}

.wog-access-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 72px clamp(48px, 6vw, 108px);
    background:
        radial-gradient(circle at 100% 0%, rgba(20, 49, 91, 0.34), transparent 34%),
        linear-gradient(152deg, #091426 0%, #050b15 46%, #010307 100%);
}

.wog-access-content {
    width: 100%;
    max-width: 430px;
}

.wog-mobile-brand {
    display: none;
}

.wog-login-header .wog-eyebrow {
    margin: 0 0 18px;
}

.wog-login-header h2 {
    margin: 0;
    color: var(--wog-text);
    font-size: clamp(36px, 4vw, 50px);
    font-weight: 650;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.wog-login-header > p:last-child {
    margin: 16px 0 0;
    color: var(--wog-muted);
    font-size: 14px;
    line-height: 1.65;
}

.wog-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding: 13px 15px;
    border: 1px solid rgba(248, 113, 113, 0.24);
    border-radius: 10px;
    background: rgba(127, 29, 29, 0.16);
    color: var(--wog-danger);
    font-size: 13px;
    line-height: 1.45;
}

.wog-alert svg {
    flex: 0 0 18px;
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.wog-login-form {
    display: grid;
    gap: 21px;
    margin-top: 38px;
}

.wog-field {
    display: grid;
    gap: 9px;
}

.wog-field label {
    color: #c9d2df;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.02em;
}

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

.wog-input-wrap > svg {
    position: absolute;
    top: 50%;
    left: 18px;
    width: 19px;
    transform: translateY(-50%);
    fill: none;
    stroke: #66768c;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.55;
    pointer-events: none;
    transition: stroke 160ms ease;
}

.wog-input-wrap input {
    width: 100%;
    height: 58px;
    padding: 0 18px 0 52px;
    border: 1px solid var(--wog-line);
    border-radius: 10px;
    outline: none;
    background: rgba(1, 6, 14, 0.62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
    color: var(--wog-text);
    font-size: 14px;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.wog-input-wrap input::placeholder {
    color: #566477;
}

.wog-input-wrap input:focus {
    border-color: rgba(212, 169, 58, 0.68);
    background: rgba(2, 9, 20, 0.88);
    box-shadow: 0 0 0 3px rgba(212, 169, 58, 0.08);
}

.wog-input-wrap:focus-within > svg {
    stroke: var(--wog-gold);
}

.wog-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 58px;
    margin-top: 7px;
    padding: 0 19px 0 22px;
    border: 1px solid rgba(88, 126, 180, 0.4);
    border-radius: 10px;
    background: linear-gradient(135deg, #173562 0%, #0d2345 58%, #09182f 100%);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: border-color 160ms ease, transform 160ms ease, filter 160ms ease;
}

.wog-submit svg {
    width: 20px;
    fill: none;
    stroke: var(--wog-gold);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.wog-submit:hover {
    border-color: rgba(212, 169, 58, 0.55);
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.wog-submit:focus-visible {
    outline: 2px solid var(--wog-gold);
    outline-offset: 3px;
}

.wog-submit:active {
    transform: translateY(0);
}

.wog-access-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 22px 0 0;
    color: #5f6d80;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.wog-access-note span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #536985;
}

.wog-access-footer {
    position: absolute;
    right: 0;
    bottom: 38px;
    left: 0;
    color: #475366;
    font-size: 10px;
    letter-spacing: 0.13em;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .wog-login-shell {
        display: block;
    }

    .wog-brand-panel {
        display: none;
    }

    .wog-access-panel {
        min-height: 100vh;
        min-height: 100svh;
        padding: 56px 32px 92px;
    }

    .wog-mobile-brand {
        display: flex;
        align-items: center;
        gap: 13px;
        margin-bottom: 58px;
    }

    .wog-mobile-brand img {
        width: 66px;
        height: 66px;
        object-fit: contain;
    }

    .wog-mobile-brand div {
        display: grid;
        gap: 3px;
    }

    .wog-mobile-brand strong {
        font-size: 17px;
        letter-spacing: 0.18em;
    }

    .wog-mobile-brand span {
        color: var(--wog-muted);
        font-size: 11px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
}

@media (max-width: 520px) {
    .wog-access-panel {
        align-items: flex-start;
        padding: 28px 22px 78px;
    }

    .wog-mobile-brand {
        margin-bottom: 44px;
    }

    .wog-mobile-brand img {
        width: 58px;
        height: 58px;
    }

    .wog-login-header h2 {
        font-size: 37px;
    }

    .wog-login-form {
        margin-top: 32px;
    }

    .wog-input-wrap input,
    .wog-submit {
        height: 56px;
    }

    .wog-access-footer {
        bottom: 24px;
    }
}

@media (max-height: 720px) and (min-width: 981px) {
    .wog-brand-panel,
    .wog-access-panel {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .wog-logo-stage {
        width: min(38vh, 280px);
    }

    .wog-eyebrow {
        margin-top: 16px;
    }

    .wog-login-form {
        margin-top: 28px;
    }

    .wog-brand-footer,
    .wog-access-footer {
        bottom: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
