body.landing-page {
    background:
        radial-gradient(circle at top left, rgba(217, 164, 65, 0.14), transparent 34%),
        radial-gradient(circle at top right, rgba(0, 188, 212, 0.10), transparent 32%),
        linear-gradient(180deg, #05090d 0%, #081015 48%, #030506 100%);
    color: #f7ead2;
    font-family: Georgia, 'Times New Roman', serif;
}

body.landing-page .footer {
    border-top: 1px solid rgba(217, 164, 65, 0.22);
    color: rgba(247, 234, 210, 0.72);
}

.landing-header {
    width: min(1220px, calc(100% - 24px));
    margin: 10px auto 0;
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 22px;
    border: 1px solid rgba(217, 164, 65, 0.24);
    border-radius: 18px 18px 0 0;
    background: rgba(2, 6, 10, 0.88);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.landing-brand img {
    width: 178px;
    max-height: 72px;
    object-fit: contain;
    display: block;
}

.landing-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.landing-nav a {
    color: #f8ead0;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 13px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.landing-nav a:hover,
.landing-nav a.active {
    color: #f5c66e;
    border-color: rgba(217, 164, 65, 0.35);
    background: rgba(217, 164, 65, 0.08);
}

.landing-nav .landing-login-link {
    min-width: 104px;
    text-align: center;
    border-color: rgba(217, 164, 65, 0.62);
    background: linear-gradient(180deg, rgba(0, 93, 100, 0.88), rgba(0, 42, 52, 0.92));
}

.landing-shell {
    width: min(1220px, calc(100% - 24px));
    margin: 0 auto 18px;
    border: 1px solid rgba(217, 164, 65, 0.24);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    overflow: hidden;
    background: rgba(2, 7, 10, 0.78);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.home-hero {
    position: relative;
    min-height: clamp(430px, 54vw, 640px);
    display: grid;
    place-items: center;
    text-align: center;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(1, 4, 8, 0.08), rgba(1, 4, 8, 0.75)),
        radial-gradient(circle at 82% 46%, rgba(33, 191, 213, 0.22), transparent 20%),
        radial-gradient(circle at 18% 38%, rgba(217, 164, 65, 0.22), transparent 22%),
        linear-gradient(135deg, #0c1a20 0%, #172531 39%, #0a1115 70%, #030506 100%);
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 0 46%, rgba(255, 255, 255, 0.08) 47%, transparent 48% 100%),
        radial-gradient(circle at 62% 32%, rgba(255, 255, 255, 0.22), transparent 8%),
        radial-gradient(circle at 50% 74%, rgba(0, 0, 0, 0.62), transparent 32%);
    opacity: 0.75;
}

.home-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42%;
    background:
        linear-gradient(130deg, transparent 0 16%, #040607 16% 20%, transparent 20% 100%),
        linear-gradient(50deg, transparent 0 72%, #050708 72% 76%, transparent 76% 100%),
        linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.92));
    opacity: 0.92;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, transparent 0 48%, rgba(0, 0, 0, 0.62) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.64), transparent 22% 78%, rgba(0, 0, 0, 0.64));
    z-index: 1;
}

.home-hero-content {
    position: relative;
    z-index: 2;
    width: min(860px, calc(100% - 28px));
    padding: 34px 18px;
}

.home-kicker {
    margin: 0 0 12px;
    color: #f5c66e;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(11px, 1.3vw, 14px);
    font-weight: 700;
}

.home-hero h1 {
    margin: 0;
    color: #fff1d5;
    font-size: clamp(37px, 6vw, 78px);
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-shadow: 0 4px 0 rgba(0, 0, 0, 0.45), 0 0 20px rgba(217, 164, 65, 0.22);
}

.home-hero-text {
    width: min(720px, 100%);
    margin: 22px auto 0;
    color: rgba(255, 246, 228, 0.92);
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(16px, 1.8vw, 21px);
    line-height: 1.5;
}

.home-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.home-primary-button,
.home-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    min-width: 188px;
    padding: 13px 28px;
    color: #fff7df;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
    border: 1px solid rgba(217, 164, 65, 0.75);
    box-shadow: inset 0 0 18px rgba(0, 210, 220, 0.13), 0 10px 30px rgba(0, 0, 0, 0.42);
}

.home-primary-button {
    background: linear-gradient(180deg, rgba(0, 112, 120, 0.95), rgba(0, 49, 60, 0.98));
    clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%);
}

.home-secondary-button {
    background: rgba(0, 0, 0, 0.45);
    border-radius: 999px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    letter-spacing: 0.05em;
}

.home-discord-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    min-width: 188px;
    padding: 13px 28px;
    color: #fff7df;
    text-decoration: none;
    text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.05em;
    border: 1px solid rgba(126, 106, 255, 0.76);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(92, 79, 255, 0.92), rgba(47, 38, 134, 0.96));
    box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.10), 0 10px 30px rgba(0, 0, 0, 0.42);
}

.home-discord-button:hover {
    filter: brightness(1.12);
}

.home-primary-button:hover,
.home-secondary-button:hover {
    filter: brightness(1.12);
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: rgba(0, 0, 0, 0.42);
    border-top: 1px solid rgba(217, 164, 65, 0.25);
    border-bottom: 1px solid rgba(217, 164, 65, 0.22);
}

.home-feature-card {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
    min-height: 146px;
    padding: 22px;
    border-right: 1px solid rgba(217, 164, 65, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent);
}

.home-feature-card:last-child {
    border-right: 0;
}

.home-feature-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(217, 164, 65, 0.10);
    border: 1px solid rgba(217, 164, 65, 0.25);
    font-size: 31px;
}

.home-feature-card h2,
.home-lore-card h2 {
    margin: 0 0 8px;
    color: #f5c66e;
    text-transform: uppercase;
    font-size: 17px;
    letter-spacing: 0.03em;
}

.home-feature-card p,
.home-lore-card p {
    margin: 0;
    color: rgba(255, 246, 228, 0.84);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

.home-lore-card {
    padding: clamp(34px, 5vw, 58px) 20px;
    text-align: center;
    background:
        radial-gradient(circle at center top, rgba(217, 164, 65, 0.09), transparent 34%),
        linear-gradient(180deg, rgba(5, 12, 16, 0.92), rgba(0, 0, 0, 0.56));
}

.home-lore-card h2 {
    font-size: clamp(24px, 3.2vw, 34px);
}

.home-lore-card p {
    width: min(680px, 100%);
    margin: 0 auto;
    font-size: 17px;
}

@media (max-width: 900px) {
    .landing-header {
        min-height: auto;
        border-radius: 0;
        width: 100%;
        margin-top: 0;
        padding: 9px 12px;
    }

    .landing-brand img {
        width: 148px;
        max-height: 60px;
    }

    .landing-nav {
        gap: 4px;
    }

    .landing-nav a:not(.landing-login-link) {
        display: none;
    }

    .landing-nav .landing-login-link {
        min-width: 84px;
        padding: 9px 11px;
        font-size: 12px;
    }

    .landing-shell {
        width: 100%;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
        margin-bottom: 0;
    }

    .home-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-feature-card:nth-child(2) {
        border-right: 0;
    }
}

@media (max-width: 560px) {
    .home-hero {
        min-height: 560px;
        align-items: end;
    }

    .home-hero-content {
        padding: 32px 10px 44px;
    }

    .home-hero h1 {
        font-size: clamp(32px, 12vw, 48px);
    }

    .home-hero-text {
        font-size: 15px;
    }

    .home-hero-actions {
        flex-direction: column;
    }

    .home-primary-button,
    .home-secondary-button {
        width: min(100%, 310px);
    }

    .home-feature-grid {
        grid-template-columns: 1fr;
    }

    .home-feature-card,
    .home-feature-card:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid rgba(217, 164, 65, 0.18);
    }

    .home-feature-card {
        min-height: 116px;
        padding: 18px;
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .home-feature-icon {
        width: 48px;
        height: 48px;
        font-size: 25px;
        border-radius: 13px;
    }
}

body.auth-landing-page .landing-shell {
    background:
        radial-gradient(circle at 20% 12%, rgba(217, 164, 65, 0.14), transparent 28%),
        radial-gradient(circle at 84% 30%, rgba(0, 188, 212, 0.10), transparent 26%),
        rgba(2, 7, 10, 0.86);
}

.auth-hero {
    position: relative;
    min-height: clamp(620px, 74vh, 780px);
    display: grid;
    place-items: center;
    padding: clamp(24px, 5vw, 64px) 18px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(1, 4, 8, 0.10), rgba(1, 4, 8, 0.84)),
        radial-gradient(circle at 70% 26%, rgba(33, 191, 213, 0.18), transparent 24%),
        radial-gradient(circle at 19% 72%, rgba(217, 164, 65, 0.18), transparent 25%),
        linear-gradient(135deg, #0a171d 0%, #13222c 42%, #060a0d 100%);
}

.auth-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(125deg, transparent 0 48%, rgba(255, 255, 255, 0.07) 49%, transparent 50% 100%),
        radial-gradient(circle at 62% 38%, rgba(255, 255, 255, 0.16), transparent 9%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.58), transparent 25% 75%, rgba(0, 0, 0, 0.72));
    opacity: 0.82;
}

.auth-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background:
        linear-gradient(135deg, transparent 0 22%, rgba(0, 0, 0, 0.60) 22% 26%, transparent 26% 100%),
        linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.94));
}

.auth-hero-glow {
    position: absolute;
    width: min(540px, 72vw);
    aspect-ratio: 1;
    right: -140px;
    top: 80px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(0, 205, 220, 0.20), transparent 67%);
    filter: blur(6px);
}

.auth-panel {
    position: relative;
    z-index: 2;
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    overflow: hidden;
    border: 1px solid rgba(217, 164, 65, 0.35);
    border-radius: 22px;
    background: rgba(1, 6, 10, 0.74);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(8px);
}

.auth-panel-art {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(28px, 5vw, 52px);
    background:
        radial-gradient(circle at 78% 28%, rgba(0, 188, 212, 0.22), transparent 24%),
        radial-gradient(circle at 18% 24%, rgba(217, 164, 65, 0.20), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.40));
    border-right: 1px solid rgba(217, 164, 65, 0.22);
}

.auth-art-badge {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 20px;
    color: #ffe7ad;
    background: rgba(217, 164, 65, 0.11);
    border: 1px solid rgba(217, 164, 65, 0.34);
    box-shadow: inset 0 0 26px rgba(0, 210, 220, 0.12);
    font-size: 39px;
}

.auth-panel-art h1 {
    margin: 0;
    color: #fff1d5;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 0.98;
    text-transform: uppercase;
    text-shadow: 0 4px 0 rgba(0, 0, 0, 0.45), 0 0 20px rgba(217, 164, 65, 0.20);
}

.auth-panel-art p {
    width: min(420px, 100%);
    margin: 18px 0 0;
    color: rgba(255, 246, 228, 0.86);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.55;
}

.auth-card {
    padding: clamp(26px, 4vw, 48px);
    align-self: center;
}

.auth-kicker {
    margin: 0 0 10px;
    color: #f5c66e;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.auth-card h2 {
    margin: 0;
    color: #fff1d5;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1;
    text-transform: uppercase;
}

.auth-intro {
    margin: 12px 0 24px;
    color: rgba(255, 246, 228, 0.78);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.auth-alert {
    margin: 0 0 18px;
    padding: 13px 14px;
    color: #ffe3df;
    background: rgba(132, 30, 30, 0.34);
    border: 1px solid rgba(255, 116, 94, 0.38);
    border-radius: 12px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.45;
}

.auth-success {
    color: #e9ffdd;
    background: rgba(34, 110, 60, 0.30);
    border-color: rgba(142, 221, 126, 0.38);
}

.auth-form {
    display: grid;
    gap: 15px;
}

.auth-field {
    display: grid;
    gap: 8px;
}

.auth-field span {
    color: #f3d08b;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-field input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: #fff6e5;
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(217, 164, 65, 0.30);
    border-radius: 12px;
    outline: none;
    font-size: 16px;
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.24);
}

.auth-field input:focus {
    border-color: rgba(245, 198, 110, 0.78);
    box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.12), inset 0 0 18px rgba(0, 0, 0, 0.24);
}

.auth-submit {
    width: 100%;
    min-height: 54px;
    margin-top: 6px;
    padding: 13px 24px;
    color: #fff7df;
    background: linear-gradient(180deg, rgba(0, 112, 120, 0.95), rgba(0, 49, 60, 0.98));
    border: 1px solid rgba(217, 164, 65, 0.75);
    clip-path: polygon(7% 0, 93% 0, 100% 50%, 93% 100%, 7% 100%, 0 50%);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: inset 0 0 18px rgba(0, 210, 220, 0.13), 0 10px 30px rgba(0, 0, 0, 0.42);
}

.auth-submit:hover {
    filter: brightness(1.12);
}

.auth-links {
    display: flex;
    justify-content: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 20px;
    color: rgba(255, 246, 228, 0.45);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.auth-links a {
    color: #f5c66e;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

@media (max-width: 860px) {
    .auth-hero {
        min-height: auto;
        padding: 18px 12px 32px;
    }

    .auth-panel {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .auth-panel-art {
        min-height: 260px;
        border-right: 0;
        border-bottom: 1px solid rgba(217, 164, 65, 0.22);
    }

    .auth-art-badge {
        width: 58px;
        height: 58px;
        margin-bottom: 16px;
        font-size: 30px;
        border-radius: 16px;
    }
}

@media (max-width: 520px) {
    .auth-hero {
        padding: 0;
    }

    .auth-panel {
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }

    .auth-panel-art {
        min-height: 230px;
        padding: 26px 18px;
    }

    .auth-panel-art h1 {
        font-size: 32px;
    }

    .auth-panel-art p,
    .auth-intro {
        font-size: 15px;
    }

    .auth-card {
        padding: 26px 18px 32px;
    }
}

.home-community-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin: 18px;
    padding: 24px;
    border: 1px solid rgba(217, 164, 65, 0.30);
    border-radius: 18px;
    background:
        radial-gradient(circle at left, rgba(92, 79, 255, 0.18), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(0, 0, 0, 0.26));
    box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.035), 0 16px 42px rgba(0, 0, 0, 0.30);
}

.home-community-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(217, 164, 65, 0.45);
    background: rgba(0, 0, 0, 0.35);
    font-size: 32px;
}

.home-community-content h2 {
    margin: 0 0 7px;
    color: #f5c66e;
    font-size: clamp(24px, 3vw, 34px);
}

.home-community-content p {
    margin: 0;
    color: rgba(255, 246, 228, 0.86);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.home-community-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    min-width: 160px;
    padding: 12px 22px;
    color: #fff7df;
    text-decoration: none;
    text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.05em;
    border-radius: 999px;
    border: 1px solid rgba(126, 106, 255, 0.76);
    background: linear-gradient(180deg, rgba(92, 79, 255, 0.92), rgba(47, 38, 134, 0.96));
}

.home-community-button:hover {
    filter: brightness(1.12);
}

@media (max-width: 760px) {
    .home-community-card {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        margin: 12px;
        padding: 18px;
    }

    .home-discord-button,
    .home-community-button {
        width: min(100%, 280px);
    }
}
