:root {
    --bg: #02070c;
    --surface: #07111a;
    --surface2: #0a151f;
    --line: #6e4a16;
    --line-soft: rgba(191,132,38,.42);
    --gold: #f1b92f;
    --gold2: #ffd76a;
    --text: #f7f4ec;
    --muted: #b9c0c7;
    --green: #68ef48;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: radial-gradient(circle at 50% 0,#0b1a27 0,#030910 48%,#02070c 100%);
    color: var(--text);
    font-family: Inter,Arial,sans-serif;
    min-width: 320px
}

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

button {
    font: inherit
}

.site-header {
    height: 82px;
    display: grid;
    grid-template-columns: minmax(310px,1fr) auto minmax(180px,1fr);
    align-items: center;
    padding: 0 3.2vw;
    background: linear-gradient(180deg,rgba(1,7,12,.92),rgba(1,7,12,.72));
    border-bottom: 1px solid rgba(212,148,35,.26);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
    backdrop-filter: blur(4px)
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    width: max-content
}

.brand-emblem {
    width: 58px;
    height: 58px;
    border: 2px solid #b87a13;
    display: grid;
    place-items: center;
    position: relative;
    transform: rotate(45deg);
    box-shadow: 0 0 0 4px rgba(184,122,19,.12)
}

.brand-emblem:before,.brand-emblem:after {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(255,210,94,.42)
}

.brand-emblem span {
    transform: rotate(-45deg);
    font-family: Cinzel,serif;
    font-size: 23px;
    color: var(--gold2)
}

.brand-copy {
    display: flex;
    flex-direction: column
}

.brand-copy strong {
    font-family: Cinzel,serif;
    font-size: 22px;
    letter-spacing: .03em
}

.brand-copy small {
    font-size: 10px;
    letter-spacing: .27em;
    text-transform: uppercase;
    color: #cbb17a;
    margin-top: 4px
}

.main-nav {
    display: flex;
    align-self: stretch;
    align-items: center;
    gap: 34px
}

.main-nav a {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #e5e7e9
}

.main-nav a:hover,.main-nav a.active {
    color: var(--gold2)
}

.main-nav a.active:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--gold);
    box-shadow: 0 0 14px var(--gold)
}

.main-nav a.active:before {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    transform: translateX(-50%) rotate(45deg);
    background: var(--gold)
}

.login-button {
    justify-self: end;
    border: 1px solid #9e6813;
    color: var(--gold2);
    padding: 13px 24px;
    text-transform: uppercase;
    font-family: Cinzel,serif;
    font-weight: 700;
    letter-spacing: .05em
}

.login-button span {
    margin-right: 9px
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: white;
    font-size: 26px
}

.hero {
    height: 600px;
    background-color: #07131d;
    background-image: url('../images/hero-lich-king-clean.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    border-bottom: 1px solid rgba(217,153,40,.65);
    overflow: hidden
}

.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(0,5,10,.58) 0%,rgba(0,5,10,.34) 30%,rgba(0,5,10,.08) 62%,rgba(0,5,10,0) 100%),linear-gradient(0deg,rgba(1,6,10,.28),transparent 38%)
}

.hero-inner {
    width: min(1640px,calc(100% - 7vw));
    height: 100%;
    margin: auto;
    padding-top: 82px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center
}

.hero-copy {
    width: 780px;
    margin-top: -4px
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .22em
}

.hero h1 {
    font-family: Cinzel,serif;
    text-transform: uppercase;
    margin: 0;
    line-height: .95;
    letter-spacing: -.035em;
    text-shadow: 0 2px 20px #000
}

.hero h1 span,.hero h1 em {
    display: block;
    font-style: normal
}

.hero h1 span {
    font-size: 64px;
    white-space: nowrap
}

.hero h1 em {
    font-size: 64px;
    color: #ffd164;
    margin-top: 10px;
    white-space: nowrap
}

.hero-description {
    max-width: 620px;
    margin: 22px 0 24px;
    font-size: 15px;
    line-height: 1.75;
    color: #e2e6ea
}

.hero-actions {
    display: flex;
    gap: 18px
}

.button {
    min-width: 255px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    text-transform: uppercase;
    font-family: Cinzel,serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .02em;
    transition: .2s
}

.button.primary {
    color: #191208;
    background: linear-gradient(#f8d36b,#d89a1f);
    border: 1px solid #ffd978;
    box-shadow: inset 0 0 0 3px rgba(111,67,7,.24),0 7px 24px rgba(216,154,31,.2)
}

.button.secondary {
    background: linear-gradient(180deg,rgba(17,31,43,.95),rgba(5,13,20,.95));
    border: 1px solid #607282;
    box-shadow: inset 0 0 0 2px rgba(0,0,0,.55)
}

.button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08)
}

.button-icon {
    font-size: 24px
}

.realm-status-card {
    width: 650px;
    height: 75px;
    margin-top: 25px;
    display: grid;
    grid-template-columns: 28px 125px 1px 120px 1px 1fr;
    align-items: center;
    gap: 15px;
    padding: 0 22px;
    background: rgba(2,10,16,.82);
    border: 1px solid rgba(87,107,120,.35);
    box-shadow: 0 8px 35px rgba(0,0,0,.3)
}

.realm-status-card>div {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.realm-status-card span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #8f9aa4
}

.realm-status-card strong {
    font-size: 13px
}

.realm-status-card i {
    width: 1px;
    height: 40px;
    background: #31404a
}

.status-led {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 13px currentColor
}

.status-led.online,.status-text {
    color: var(--green)
}

.status-led.online {
    background: var(--green)
}

.status-led.offline {
    background: #e95353;
    color: #e95353
}

.client-cell strong {
    white-space: nowrap;
    font-size: 12px
}

.rate-strip {
    width: min(1640px,calc(100% - 7vw));
    margin: 36px auto 16px;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    background: linear-gradient(180deg,rgba(7,17,25,.98),rgba(2,9,15,.98));
    border: 1px solid var(--line-soft);
    box-shadow: 0 14px 35px rgba(0,0,0,.25)
}

.rate-item {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    position: relative
}

.rate-item:not(:last-child):after {
    content: "";
    position: absolute;
    right: 0;
    width: 1px;
    height: 52px;
    background: rgba(179,125,32,.28)
}

.rate-item span {
    display: block;
    color: var(--gold2);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .04em
}

.rate-item strong {
    display: block;
    font-family: Cinzel,serif;
    color: var(--gold2);
    font-size: 25px;
    margin-top: 6px
}

.rate-icon {
    width: 54px;
    height: 54px;
    border: 2px solid #d79b28;
    display: grid;
    place-items: center;
    position: relative;
    color: #e4aa37
}

.rate-icon:before {
    font-family: Cinzel,serif;
    font-weight: 700;
    font-size: 19px
}

.rate-icon.xp {
    border-radius: 50%
}

.rate-icon.xp:before {
    content: "XP"
}

.rate-icon.quest {
    border-radius: 50%
}

.rate-icon.quest:before {
    content: "!";
    font-size: 30px
}

.rate-icon.drop:before {
    content: "▣";
    font-size: 31px
}

.rate-icon.rep:before {
    content: "⚑";
    font-size: 28px
}

.rate-icon.prof:before {
    content: "⚒";
    font-size: 27px
}

.dashboard-grid {
    width: min(1640px,calc(100% - 7vw));
    margin: 0 auto 36px;
    display: grid;
    grid-template-columns: 1.02fr 1.02fr 1.02fr;
    gap: 20px
}

.panel {
    min-height: 305px;
    padding: 20px 25px 18px;
    background: linear-gradient(145deg,rgba(7,17,25,.98),rgba(3,10,16,.98));
    border: 1px solid var(--line-soft);
    box-shadow: 0 12px 40px rgba(0,0,0,.2)
}

.panel h2 {
    font-family: Cinzel,serif;
    text-transform: uppercase;
    font-size: 16px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px
}

.panel-icon {
    color: var(--gold);
    font-family: Inter,sans-serif
}

.panel-line {
    height: 1px;
    background: linear-gradient(90deg,rgba(113,132,144,.38),transparent);
    margin: 12px 0 14px
}

.news-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 16px;
    padding: 0 0 13px;
    margin-bottom: 13px;
    border-bottom: 1px solid rgba(87,102,112,.18)
}

.news-row img {
    width: 90px;
    height: 72px;
    object-fit: cover;
    border: 1px solid #32526b;
    border-radius: 3px
}

.news-row h3 {
    font-size: 14px;
    margin: 2px 0 7px
}

.news-row p {
    font-size: 12px;
    line-height: 1.55;
    color: #c5ccd2;
    margin: 0
}

.news-row time {
    display: block;
    font-size: 11px;
    color: var(--gold);
    margin-top: 6px
}

.panel-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin: 4px 0 0 106px;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em
}

.panel-link span {
    font-size: 18px
}

.connect-panel ol {
    padding-left: 24px;
    margin: 0
}

.connect-panel li {
    padding-left: 5px;
    margin: 0 0 9px;
    font-size: 12px;
    color: #e3e7ea
}

.realmlist-row {
    display: grid;
    grid-template-columns: 1fr 92px;
    gap: 12px;
    margin: 13px 0 17px 24px
}

.realmlist-row code {
    height: 42px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: #02080d;
    border: 1px solid rgba(190,130,28,.5);
    color: #f5b82e;
    font-size: 13px
}

.realmlist-row button {
    background: #07111a;
    border: 1px solid #b47917;
    color: #f4bd3a;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer
}

.panel-note {
    margin: 33px 0 0;
    font-size: 12px;
    color: #c7ced4
}

.panel-note a {
    color: var(--gold)
}

.stats-panel dl {
    margin: 0
}

.stats-panel dl div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid rgba(108,124,134,.2)
}

.stats-panel dt {
    font-size: 12px;
    color: #d8dde1
}

.stats-panel dd {
    margin: 0;
    font-size: 16px
}

.online-number {
    color: var(--green)
}

.stats-panel .panel-link {
    margin: 28px 0 0
}


/* Realm story */
.realm-story {
    width: min(1640px, calc(100% - 7vw));
    min-height: 340px;
    margin: 0 auto 42px;
    display: grid;
    grid-template-columns: minmax(320px, 0.82fr) minmax(500px, 1.45fr);
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(5, 15, 23, 0.98), rgba(2, 8, 13, 0.96));
    border: 1px solid var(--line-soft);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.story-art {
    min-height: 340px;
    background:
        linear-gradient(90deg, rgba(3, 10, 16, 0.08), rgba(3, 10, 16, 0.92)),
        url('../images/news-events.jpg') center / cover no-repeat;
    border-right: 1px solid rgba(191, 132, 38, 0.25);
}

.story-content {
    align-self: center;
    padding: 38px 52px 40px;
}

.story-eyebrow {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.story-content h2 {
    margin: 0;
    font-family: Cinzel, serif;
    font-size: clamp(28px, 2.1vw, 40px);
    font-weight: 600;
    text-transform: uppercase;
}

.story-divider {
    width: 92px;
    height: 1px;
    margin: 18px 0 20px;
    background: linear-gradient(90deg, var(--gold), transparent);
    box-shadow: 0 0 12px rgba(241, 185, 47, 0.28);
}

.story-content p:not(.story-eyebrow) {
    max-width: 900px;
    margin: 0 0 13px;
    color: #c8d0d6;
    font-size: 14px;
    line-height: 1.75;
}

.story-content .story-closing {
    margin-top: 20px;
    margin-bottom: 0;
    color: var(--gold2);
    font-family: Cinzel, serif;
    font-size: 15px;
}

.offline-text {
    color: #e95353;
}


.site-footer {
    min-height: 90px;
    border-top: 1px solid rgba(179,122,25,.25);
    background: #01060a;
    padding: 22px 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #78848d;
    font-size: 11px
}

.site-footer div {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.site-footer strong {
    color: #d5b777;
    font-family: Cinzel,serif;
    font-size: 14px
}

@media(max-width:1150px) {
    .site-header {
        grid-template-columns: 1fr auto auto
    }

    .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 82px;
        background: #030a10;
        display: none;
        flex-direction: column;
        gap: 0;
        height: auto;
        padding: 10px 0
    }

    .main-nav.open {
        display: flex
    }

    .main-nav a {
        height: 48px
    }

    .main-nav a.active:before,.main-nav a.active:after {
        display: none
    }

    .menu-toggle {
        display: block
    }

    .login-button {
        margin-left: 18px
    }

    .hero h1 span {
        font-size: 52px
    }

    .hero h1 em {
        font-size: 52px
    }

    .dashboard-grid {
        grid-template-columns: 1fr 1fr
    }

    .stats-panel {
        grid-column: 1/-1
    }

    .rate-strip {
        grid-template-columns: repeat(3,1fr)
    }

    .realm-story {
        grid-template-columns: 0.72fr 1.28fr;
    }

    .story-content {
        padding: 32px 36px;
    }

    .rate-item:nth-child(3):after {
        display: none
    }

    .rate-item:nth-child(n+4) {
        border-top: 1px solid rgba(179,125,32,.18)
    }

}

@media(max-width:760px) {
    .site-header {
        height: 72px;
        padding: 0 18px
    }

    .brand-emblem {
        width: 46px;
        height: 46px
    }

    .brand-copy strong {
        font-size: 16px
    }

    .brand-copy small {
        font-size: 8px
    }

    .login-button {
        display: none
    }

    .main-nav {
        top: 72px
    }

    .hero {
        height: auto;
        min-height: 600px;
        background-position: 66% center
    }

    .hero-inner {
        width: calc(100% - 36px);
        padding: 118px 0 38px;
        align-items: flex-start
    }

    .hero-copy {
        width: 100%
    }

    .hero h1 span {
        font-size: 37px;
        white-space: normal
    }

    .hero h1 em {
        font-size: 34px;
        white-space: normal
    }

    .hero-description {
        font-size: 14px
    }

    .hero-actions {
        flex-direction: column
    }

    .button {
        min-width: 0;
        width: 100%
    }

    .realm-status-card {
        width: 100%;
        height: auto;
        grid-template-columns: 22px 1fr;
        gap: 10px;
        padding: 16px;
        margin-top: 20px
    }

    .realm-status-card i {
        display: none
    }

    .realm-status-card .client-cell {
        grid-column: 2
    }

    .rate-strip {
        width: calc(100% - 28px);
        grid-template-columns: 1fr
    }

    .rate-item {
        height: 72px;
        justify-content: flex-start;
        padding-left: 28px;
        border-top: 1px solid rgba(179,125,32,.18)
    }

    .rate-item:after {
        display: none!important
    }

    .dashboard-grid {
        width: calc(100% - 28px);
        grid-template-columns: 1fr
    }

    .stats-panel {
        grid-column: auto
    }

    .panel {
        padding: 18px
    }

    .news-row {
        grid-template-columns: 72px 1fr
    }

    .news-row img {
        width: 72px;
        height: 66px
    }

    .panel-link {
        margin-left: 88px
    }

    .realmlist-row {
        grid-template-columns: 1fr;
        margin-left: 0
    }

    .realmlist-row button {
        height: 40px
    }

    .realm-story {
        width: calc(100% - 28px);
        grid-template-columns: 1fr;
    }

    .story-art {
        min-height: 210px;
        border-right: 0;
        border-bottom: 1px solid rgba(191, 132, 38, 0.25);
    }

    .story-content {
        padding: 28px 22px 30px;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px
    }

}


/* Live realm statistics: real players versus PlayerBots */
.realm-status-card .status-breakdown {
    display: block;
    margin-top: 2px;
    color: #aeb8c0;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: none;
    white-space: nowrap;
}

.stats-panel .stat-row {
    min-height: 51px;
    gap: 18px;
}

.stats-panel .stat-row dd {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    text-align: right;
}

.stats-panel .stat-row dd strong {
    font-size: 16px;
    font-weight: 600;
}

.stats-panel .stat-row dd small {
    max-width: 260px;
    color: #8f9aa4;
    font-size: 9px;
    line-height: 1.25;
    white-space: nowrap;
}

.stats-panel .stat-row-simple {
    min-height: 43px;
}

@media (max-width: 760px) {
    .realm-status-card .status-breakdown {
        white-space: normal;
    }

    .stats-panel .stat-row {
        align-items: flex-start;
    }

    .stats-panel .stat-row dd small {
        max-width: 180px;
        white-space: normal;
    }
}


/* Create Account page */
.account-page {
    min-height: calc(100vh - 90px);
    background: #02070c;
}

.account-hero {
    min-height: 760px;
    padding: 150px 0 70px;
    background-image:
        linear-gradient(90deg, rgba(0, 5, 10, 0.92) 0%, rgba(0, 5, 10, 0.67) 45%, rgba(0, 5, 10, 0.35) 100%),
        linear-gradient(0deg, #02070c 0%, transparent 38%),
        url('../images/hero-lich-king-clean.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: 1px solid rgba(217, 153, 40, 0.5);
}

.account-shell {
    width: min(1360px, calc(100% - 7vw));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 540px;
    gap: 80px;
    align-items: center;
}

.account-intro {
    max-width: 650px;
}

.account-intro h1 {
    margin: 0;
    font-family: Cinzel, serif;
    font-size: clamp(44px, 5vw, 72px);
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 3px 24px #000;
}

.account-intro > p:not(.eyebrow) {
    max-width: 590px;
    margin: 25px 0;
    color: #d9e0e5;
    font-size: 16px;
    line-height: 1.75;
}

.account-feature-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
    color: #f2c45c;
    font-family: Cinzel, serif;
    font-size: 14px;
}

.registration-panel {
    padding: 30px 34px 32px;
    background: linear-gradient(145deg, rgba(7, 17, 25, 0.98), rgba(2, 9, 15, 0.98));
    border: 1px solid var(--line-soft);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.48);
}

.registration-panel h2 {
    margin: 0;
    font-family: Cinzel, serif;
    font-size: 22px;
    text-transform: uppercase;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field > span {
    color: #f5d079;
    font-family: Cinzel, serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.form-field input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    color: var(--text);
    background: rgba(1, 7, 12, 0.9);
    border: 1px solid rgba(137, 155, 168, 0.4);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(241, 185, 47, 0.12);
}

.form-field small {
    color: #89959f;
    font-size: 10px;
    line-height: 1.4;
}

.form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.rules-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #bdc6cd;
    font-size: 11px;
    line-height: 1.55;
}

.rules-check input {
    margin-top: 3px;
    accent-color: var(--gold);
}

.registration-submit {
    width: 100%;
    min-width: 0;
    border: 0;
    cursor: pointer;
}

.registration-submit:disabled {
    cursor: not-allowed;
    filter: grayscale(1);
    opacity: 0.5;
}

.registration-note {
    margin: 19px 0 0;
    color: #89959f;
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

.form-message {
    margin-bottom: 20px;
    padding: 13px 15px;
    border: 1px solid;
    font-size: 12px;
    line-height: 1.55;
}

.form-message.success {
    color: #a8f28f;
    background: rgba(57, 132, 43, 0.12);
    border-color: rgba(104, 239, 72, 0.45);
}

.form-message.error {
    color: #ffb1b1;
    background: rgba(156, 44, 44, 0.14);
    border-color: rgba(233, 83, 83, 0.45);
}

.form-message code {
    color: #ffd76a;
}

.form-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 1050px) {
    .account-shell {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .account-intro {
        max-width: 760px;
    }

    .registration-panel {
        width: min(620px, 100%);
    }
}

@media (max-width: 760px) {
    .account-hero {
        min-height: auto;
        padding: 125px 0 48px;
        background-position: 62% center;
    }

    .account-shell {
        width: calc(100% - 28px);
    }

    .account-intro h1 {
        font-size: 40px;
    }

    .registration-panel {
        padding: 24px 20px 26px;
    }

    .form-columns {
        grid-template-columns: 1fr;
    }
}



html.force-scrollbar {
    overflow-y: scroll !important;
    scrollbar-gutter: stable;
}

body.create-account {
    min-height: calc(100vh + 1px);
    overflow-x: hidden;
    overflow-y: visible;
}


/* =========================================================
   Inner pages, login and account center
   ========================================================= */

.content-page {
    min-height: calc(100vh - 90px);
    padding-top: 82px;
    background:
        linear-gradient(180deg, rgba(2, 8, 13, 0.2), rgba(2, 8, 13, 0.92)),
        url('../images/hero-lich-king-clean.jpg') center top / cover fixed no-repeat;
}

.page-banner {
    padding: 82px 0 62px;
    border-bottom: 1px solid rgba(217, 153, 40, 0.4);
    background: linear-gradient(90deg, rgba(1, 7, 12, 0.9), rgba(1, 7, 12, 0.42), rgba(1, 7, 12, 0.72));
}

.page-banner-inner,
.content-shell {
    width: min(1380px, calc(100% - 7vw));
    margin: 0 auto;
}

.page-banner h1,
.construction-card h1,
.registration-panel h1 {
    margin: 0;
    font-family: Cinzel, serif;
    font-size: clamp(38px, 5vw, 64px);
    text-transform: uppercase;
}

.page-banner p:last-child {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.75;
}

.content-shell {
    padding: 42px 0 60px;
}

.info-grid,
.account-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.content-card {
    padding: 28px;
    background: linear-gradient(145deg, rgba(7, 17, 25, 0.98), rgba(3, 10, 16, 0.98));
    border: 1px solid var(--line-soft);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.content-card.wide-card {
    grid-column: 1 / -1;
}

.content-card h2 {
    margin: 0 0 18px;
    color: var(--gold2);
    font-family: Cinzel, serif;
    font-size: 21px;
    text-transform: uppercase;
}

.content-card p {
    color: #cbd2d8;
    line-height: 1.75;
}

.info-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 26px;
    background: rgba(179, 125, 32, 0.24);
    border: 1px solid rgba(179, 125, 32, 0.3);
}

.info-metrics > div {
    min-height: 110px;
    padding: 20px;
    background: #061019;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.info-metrics span,
.info-metrics small {
    color: #89959f;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.info-metrics strong {
    font-family: Cinzel, serif;
    font-size: 20px;
}

.info-steps {
    padding-left: 22px;
    color: #dfe4e8;
    line-height: 1.8;
}

.large-code,
.action-card > code {
    display: block;
    margin: 18px 0;
    padding: 15px 17px;
    color: var(--gold2);
    background: #02080d;
    border: 1px solid rgba(190, 130, 28, 0.5);
    overflow-wrap: anywhere;
}

.detail-list {
    margin: 0;
}

.detail-list > div {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(108, 124, 134, 0.2);
}

.detail-list dt {
    color: #aab3bb;
}

.detail-list dd {
    margin: 0;
    text-align: right;
    font-weight: 700;
}

.compact-button {
    width: max-content;
    min-width: 210px;
    height: 52px;
    margin-top: 18px;
}

.text-action {
    display: inline-block;
    margin: 24px 0 0 18px;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
}

.compact-account-hero {
    min-height: calc(100vh - 90px);
    padding: 150px 0 80px;
}

.single-account-shell {
    display: block;
}

.login-panel {
    width: min(520px, 100%);
    margin: 0 auto;
}


.login-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.login-form .registration-submit {
    margin-top: 4px;
}

.form-intro {
    margin: 12px 0 24px;
    color: var(--muted);
    line-height: 1.6;
}

.registration-note a {
    color: var(--gold);
}

.construction-page {
    min-height: calc(100vh - 90px);
    padding: 180px 20px 90px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(90deg, rgba(1, 7, 12, 0.82), rgba(1, 7, 12, 0.34), rgba(1, 7, 12, 0.82)),
        url('../images/hero-lich-king-clean.jpg') center / cover no-repeat;
}

.construction-card {
    width: min(720px, 100%);
    padding: 48px;
    text-align: center;
    background: rgba(2, 10, 16, 0.92);
    border: 1px solid var(--line-soft);
}

.construction-rune {
    width: 74px;
    height: 74px;
    margin: 0 auto 25px;
    display: grid;
    place-items: center;
    color: var(--gold2);
    border: 2px solid #b87a13;
    transform: rotate(45deg);
    font-family: Cinzel, serif;
    font-size: 23px;
}

.construction-rune::first-line {
    transform: rotate(-45deg);
}

.construction-card > p:not(.eyebrow) {
    color: #c7cfd5;
    line-height: 1.75;
}

.construction-divider {
    width: 120px;
    height: 1px;
    margin: 28px auto;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.construction-note {
    font-size: 13px;
}

.construction-card .compact-button {
    margin: 28px auto 0;
}

.footer-nav {
    display: flex;
    gap: 18px;
}

.footer-nav a {
    color: #b9c0c7;
}

.footer-nav a:hover {
    color: var(--gold2);
}

.login-button.active {
    background: rgba(241, 185, 47, 0.08);
}

@media (max-width: 900px) {
    .info-grid,
    .account-summary-grid {
        grid-template-columns: 1fr;
    }

    .content-card.wide-card {
        grid-column: auto;
    }

    .info-metrics {
        grid-template-columns: 1fr;
    }

    .site-footer {
        flex-wrap: wrap;
        gap: 18px;
    }
}

@media (max-width: 760px) {
    .content-page {
        padding-top: 72px;
    }

    .page-banner {
        padding: 60px 0 45px;
    }

    .page-banner-inner,
    .content-shell {
        width: calc(100% - 28px);
    }

    .construction-page {
        padding-top: 125px;
    }

    .construction-card {
        padding: 32px 20px;
    }

    .footer-nav {
        flex-wrap: wrap;
    }
}
