/* =========================================================
   ERATHRON – AUTH LANDING POLISH
   Landing-only overrides. Auth forms and modal logic stay untouched.
========================================================= */

.auth-page {
    background: #090706;
}

.auth-page::before {
    background:
        url("../../assets/ui/auth-background.webp?v=20260905-bg2") center center / cover no-repeat;
}

.auth-page::after {
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.03) 0%,
            rgba(0, 0, 0, 0.05) 38%,
            rgba(0, 0, 0, 0.20) 59%,
            rgba(0, 0, 0, 0.46) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.05) 15%,
            rgba(0, 0, 0, 0.02) 73%,
            rgba(0, 0, 0, 0.70) 100%
        ),
        radial-gradient(
            ellipse at 25% 43%,
            rgba(154, 63, 31, 0.12),
            transparent 43%
        );
}

/* =========================================================
   HEADER
========================================================= */

.landing-header {
    min-height: 76px;
    padding: 20px clamp(30px, 4.8vw, 96px);
    border-bottom-color: rgba(205, 165, 75, 0.14);
    background:
        linear-gradient(
            180deg,
            rgba(5, 4, 4, 0.84) 0%,
            rgba(5, 4, 4, 0.42) 64%,
            rgba(5, 4, 4, 0.08) 100%
        );
}

.landing-nav {
    gap: clamp(24px, 2.2vw, 42px);
}

.landing-nav-link {
    gap: 8px;
    padding: 8px 0;
    color: rgba(246, 235, 216, 0.78);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.065em;
}

.landing-social-link svg {
    width: 16px;
    height: 16px;
}

.auth-page .language-switcher--auth {
    gap: 10px;
    padding: 7px 9px 7px 12px;
    border-color: rgba(205, 165, 75, 0.24);
    border-radius: 9px;
    background: rgba(7, 6, 6, 0.72);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.20);
}

.auth-page .language-switcher-label {
    font-size: 10px;
    font-weight: 850;
    color: rgba(244, 229, 200, 0.54);
}

.auth-page .language-switcher-select {
    min-width: 145px;
    padding-top: 7px;
    padding-bottom: 7px;
    border-color: rgba(205, 165, 75, 0.38);
    border-radius: 7px;
    background: rgba(10, 9, 9, 0.94);
    font-size: 12px;
}

/* =========================================================
   HERO
========================================================= */

.landing-hero {
    position: relative;
    justify-content: flex-end;
    padding:
        clamp(32px, 5vh, 66px)
        clamp(110px, 14vw, 480px)
        clamp(46px, 7vh, 92px)
        clamp(42px, 5vw, 100px);
}

.landing-hero-content {
    position: relative;
    z-index: 1;
    width: min(720px, 43vw);
    padding: 20px 22px 24px;
    transform: translateY(-1.5vh);
}

.landing-hero-content::before {
    content: "";
    position: absolute;
    inset: -105px -130px -110px;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse at center,
            rgba(8, 7, 7, 0.70) 0%,
            rgba(8, 7, 7, 0.45) 40%,
            rgba(8, 7, 7, 0.13) 63%,
            transparent 76%
        );
    filter: blur(4px);
}

.landing-logo {
    width: min(100%, 610px);
    max-height: 235px;
    filter:
        drop-shadow(0 14px 30px rgba(0, 0, 0, 0.74))
        drop-shadow(0 0 18px rgba(189, 128, 35, 0.08));
}

.landing-copy {
    margin-top: 10px;
}

.landing-copy h1 {
    color: #f3dfb9;
    font-size: clamp(38px, 3vw, 58px);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: 0.06em;
    text-shadow:
        0 3px 22px rgba(0, 0, 0, 0.88),
        0 0 38px rgba(114, 64, 21, 0.16);
}

.landing-copy p {
    margin-top: 15px;
    color: rgba(241, 226, 201, 0.72);
    font-size: clamp(14px, 1.05vw, 18px);
    font-weight: 600;
    letter-spacing: 0.075em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.82);
}

.landing-actions {
    gap: 14px;
    width: min(100%, 590px);
    margin-top: 38px;
}

.landing-cta {
    min-height: 58px;
    padding: 0 26px;
    border-radius: 7px;
    font-size: 13px;
    letter-spacing: 0.08em;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.25);
}

.landing-cta:hover,
.landing-cta:focus-visible {
    transform: translateY(-2px);
}

.landing-cta-primary {
    border-color: rgba(189, 54, 49, 0.98);
    background:
        linear-gradient(180deg, rgba(129, 28, 30, 0.98), rgba(101, 19, 21, 0.98));
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.05),
        0 14px 36px rgba(44, 4, 6, 0.34);
}

.landing-cta-primary:hover,
.landing-cta-primary:focus-visible {
    border-color: #d06059;
    background:
        linear-gradient(180deg, rgba(149, 34, 36, 1), rgba(116, 22, 24, 1));
}

.landing-cta-secondary {
    border-color: rgba(214, 169, 73, 0.62);
    background:
        linear-gradient(180deg, rgba(23, 20, 16, 0.84), rgba(10, 9, 9, 0.84));
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.025),
        0 14px 36px rgba(0, 0, 0, 0.24);
}

.landing-cta-secondary:hover,
.landing-cta-secondary:focus-visible {
    border-color: rgba(234, 190, 92, 0.92);
    background:
        linear-gradient(180deg, rgba(39, 32, 22, 0.96), rgba(16, 14, 12, 0.96));
}

.landing-status {
    gap: 9px;
    margin-top: 21px;
    color: rgba(234, 216, 184, 0.58);
    font-size: 10px;
    letter-spacing: 0.13em;
}

.landing-status-dot {
    width: 7px;
    height: 7px;
    background: #d4a342;
    box-shadow: 0 0 13px rgba(212, 163, 66, 0.52);
}

/* =========================================================
   FOOTER
========================================================= */

.landing-footer {
    min-height: 52px;
    padding: 12px clamp(30px, 4.8vw, 96px) 18px;
    color: rgba(239, 225, 201, 0.48);
    font-size: 10px;
}

.landing-footer-links button {
    color: rgba(229, 203, 150, 0.60);
}

/* =========================================================
   LARGE / ULTRAWIDE
========================================================= */

@media (min-width: 1800px) {
    .landing-header {
        min-height: 84px;
    }

    .landing-nav-link {
        font-size: 14px;
    }

    .auth-page .language-switcher-select {
        min-width: 158px;
        font-size: 13px;
    }

    .landing-hero-content {
        width: min(760px, 40vw);
    }

    .landing-logo {
        width: min(100%, 660px);
        max-height: 250px;
    }

    .landing-copy h1 {
        font-size: clamp(50px, 2.25vw, 66px);
    }

    .landing-copy p {
        font-size: 18px;
    }

    .landing-actions {
        width: min(100%, 630px);
    }

    .landing-cta {
        min-height: 62px;
        font-size: 14px;
    }

    .landing-status {
        font-size: 11px;
    }

    .landing-footer {
        font-size: 11px;
    }
}

/* =========================================================
   TABLET / NARROW DESKTOP
========================================================= */

@media (max-width: 1100px) {
    .auth-page::before {
        background-position: 38% center;
    }

    .auth-page::after {
        background:
            linear-gradient(90deg, rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.42)),
            linear-gradient(180deg, rgba(0, 0, 0, 0.54), transparent 19%, rgba(0, 0, 0, 0.58) 100%);
    }

    .landing-header {
        min-height: 68px;
        padding: 15px 22px;
    }

    .landing-nav {
        gap: 20px;
    }

    .landing-nav-link {
        font-size: 11px;
    }

    .landing-hero {
        justify-content: center;
        padding: 30px 24px 42px;
    }

    .landing-hero-content {
        width: min(650px, 88vw);
        padding: 34px 32px 36px;
        border: 1px solid rgba(212, 175, 55, 0.13);
        border-radius: 16px;
        background:
            linear-gradient(180deg, rgba(12, 10, 10, 0.64), rgba(7, 6, 6, 0.48));
        box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
        backdrop-filter: blur(3px);
        transform: none;
    }

    .landing-hero-content::before {
        display: none;
    }

    .landing-logo {
        width: min(100%, 500px);
    }

    .landing-copy h1 {
        font-size: clamp(34px, 5vw, 48px);
    }

    .landing-actions {
        width: min(100%, 540px);
        margin-top: 32px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 680px) {
    .auth-page {
        overflow: auto;
    }

    .auth-page::before {
        background-position: 34% center;
    }

    .landing-header {
        min-height: 0;
        flex-wrap: wrap-reverse;
        gap: 10px;
        padding: 12px 14px 11px;
        background: rgba(5, 4, 4, 0.78);
    }

    .landing-nav {
        justify-content: center;
        gap: clamp(12px, 4vw, 20px);
    }

    .landing-nav-link {
        font-size: 9px;
        letter-spacing: 0.045em;
    }

    .landing-social-link {
        gap: 4px;
    }

    .auth-page .language-switcher--auth {
        padding: 4px 6px;
    }

    .auth-page .language-switcher-select {
        min-width: 126px;
        font-size: 10px;
    }

    .landing-hero {
        padding: 18px 14px 24px;
    }

    .landing-hero-content {
        width: min(520px, 94vw);
        padding: 24px 18px 26px;
        border-radius: 13px;
    }

    .landing-logo {
        width: min(100%, 360px);
        max-height: 145px;
    }

    .landing-copy {
        margin-top: 8px;
    }

    .landing-copy h1 {
        font-size: clamp(27px, 7vw, 36px);
        letter-spacing: 0.045em;
    }

    .landing-copy p {
        margin-top: 10px;
        font-size: 12px;
        letter-spacing: 0.045em;
    }

    .landing-actions {
        margin-top: 24px;
    }

    .landing-cta {
        min-height: 50px;
        padding: 0 13px;
        font-size: 10px;
    }

    .landing-footer {
        min-height: 0;
        padding: 8px 14px 12px;
        font-size: 9px;
    }

    .landing-footer-links button {
        color: rgba(244, 225, 187, 0.88);
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .landing-social-link span {
        display: none;
    }

    .landing-actions {
        grid-template-columns: 1fr;
        width: min(100%, 350px);
        gap: 10px;
    }
}

/* Short desktop screens: keep the hero strong without vertical overflow. */
@media (max-height: 720px) and (min-width: 681px) {
    .landing-header {
        min-height: 60px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .landing-hero {
        padding-top: 18px;
        padding-bottom: 24px;
    }

    .landing-logo {
        width: min(100%, 460px);
        max-height: 165px;
    }

    .landing-copy h1 {
        font-size: clamp(34px, 2.5vw, 46px);
    }

    .landing-copy p {
        margin-top: 9px;
        font-size: 13px;
    }

    .landing-actions {
        margin-top: 22px;
    }

    .landing-cta {
        min-height: 50px;
    }

    .landing-footer {
        min-height: 40px;
        padding-top: 6px;
        padding-bottom: 9px;
    }
}
