﻿/* ==============================
   Warland Theme
============================== */

.warland-page {
    --wl-bg: #0c1117;
    --wl-bg-soft: #151d28;
    --wl-panel: #1a2433;
    --wl-panel-2: #121a25;
    --wl-border: rgba(159, 178, 210, 0.2);
    --wl-text: #edf2fa;
    --wl-muted: #9baeca;
    --wl-accent: #d4a86b;
    --wl-accent-soft: #8ea8ce;
    color: var(--wl-text);
    font-family: "Manrope", "Open Sans", sans-serif;
}

.warland-page .pixarts-header {
    height: 560px;
}

.warland-page .pixarts-header::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 78% 24%, rgba(131, 171, 226, 0.24) 0%, rgba(131, 171, 226, 0) 35%),
        linear-gradient(180deg, rgba(9, 14, 21, 0.22) 0%, rgba(9, 14, 21, 0.72) 65%, rgba(9, 14, 21, 0.96) 100%);
    z-index: 1;
}

.warland-page .pixarts-header-video {
    height: 612px;
    top: -34px;
    filter: brightness(0.72) saturate(0.9);
}

.warland-page .pix-header-contents,
.warland-page .pixarts-nav,
.warland-page .welcome-logo {
    position: relative;
    z-index: 4;
}

.warland-page .pixarts-nav .l-menu a span,
.warland-page .pixarts-nav .r-menu a span {
    color: #eef4ff;
    font-family: "Cinzel", "TrajanProBold", serif;
    letter-spacing: 0.08em;
}

.warland-page .pixarts-nav .l-menu a:hover span,
.warland-page .pixarts-nav .r-menu a:hover span {
    color: #f4d7ac;
}

.warland-content {
    background:
        radial-gradient(circle at 16% 6%, rgba(102, 143, 201, 0.18) 0%, rgba(102, 143, 201, 0) 35%),
        linear-gradient(180deg, var(--wl-bg-soft) 0%, var(--wl-bg) 100%);
}

.warland-shell {
    width: min(1240px, calc(100% - 1rem));
    margin: 0 auto;
    padding: 26px 0 44px;
    display: grid;
    gap: 0.85rem;
}

.warland-mini-nav {
    border: 1px solid var(--wl-border);
    background: rgba(18, 28, 42, 0.92);
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.45rem;
}

.warland-mini-nav a {
    border: 1px solid rgba(124, 151, 188, 0.45);
    border-radius: 8px;
    background: rgba(13, 21, 33, 0.9);
    color: #dce9fb;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.42rem 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: filter 0.16s ease, border-color 0.16s ease;
}

.warland-mini-nav a:hover {
    filter: brightness(1.1);
    border-color: rgba(219, 178, 119, 0.82);
}

.warland-mini-nav .mud-icon-root {
    font-size: 1rem;
}

.warland-panel {
    border: 1px solid var(--wl-border);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(25, 37, 54, 0.96) 0%, rgba(16, 24, 35, 0.96) 100%);
    box-shadow: 0 12px 30px rgba(1, 5, 12, 0.36);
    padding: 0.95rem;
}

.warland-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.9fr);
    gap: 0.85rem;
    background:
        linear-gradient(96deg, rgba(24, 35, 50, 0.94) 0%, rgba(17, 25, 37, 0.94) 100%),
        url("/img/header-bg-static.png") right center / cover no-repeat;
}

.warland-hero-copy {
    display: grid;
    gap: 0.7rem;
    align-content: start;
}

.warland-eyebrow {
    margin: 0;
    color: var(--wl-accent-soft);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.66rem;
    font-weight: 700;
}

.warland-hero-copy h1 {
    margin: 0;
    font-family: "Cinzel", "TrajanProBold", serif;
    font-size: clamp(1.8rem, 3.2vw, 2.7rem);
    line-height: 1.08;
    color: #f3f7ff;
}

.warland-hero-copy p {
    margin: 0;
    color: var(--wl-muted);
    line-height: 1.58;
    max-width: 700px;
}

.warland-hero-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.warland-btn {
    border: 1px solid rgba(136, 164, 203, 0.56);
    background: #243956;
    color: #e7eefb;
    border-radius: 8px;
    padding: 0.54rem 0.9rem;
    text-decoration: none;
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}

.warland-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    border-color: rgba(222, 184, 125, 0.85);
}

.warland-btn-primary {
    border-color: rgba(229, 187, 122, 0.86);
    background: linear-gradient(180deg, #b58a52 0%, #8e6635 100%);
    color: #fff4e2;
}

.warland-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
}

.warland-hero-stats div {
    border: 1px solid rgba(115, 145, 186, 0.4);
    border-radius: 8px;
    background: rgba(11, 18, 28, 0.9);
    padding: 0.45rem 0.5rem;
}

.warland-hero-stats span {
    display: block;
    color: var(--wl-muted);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.warland-hero-stats strong {
    color: #eff5ff;
    font-size: 0.85rem;
}

.warland-auth-panel {
    border: 1px solid rgba(126, 154, 192, 0.45);
    border-radius: 10px;
    background: rgba(13, 21, 32, 0.93);
    padding: 0.8rem;
    align-self: start;
}

.warland-auth-panel h2 {
    margin: 0 0 0.45rem;
    font-family: "Cinzel", "TrajanProBold", serif;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.warland-auth-panel p {
    margin: 0 0 0.6rem;
    color: var(--wl-muted);
    line-height: 1.5;
    font-size: 0.78rem;
}

.warland-auth-form {
    display: grid;
    gap: 0.55rem;
}

.warland-auth-form label {
    display: grid;
    gap: 0.22rem;
}

.warland-auth-form span {
    color: #a5b7d2;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.warland-auth-form input {
    border: 1px solid rgba(108, 139, 183, 0.62);
    border-radius: 8px;
    background: rgba(10, 17, 27, 0.93);
    color: #edf4ff;
    padding: 0.52rem 0.58rem;
    outline: none;
}

.warland-auth-form input:focus {
    border-color: rgba(224, 185, 126, 0.84);
}

.warland-auth-links {
    margin-top: 0.55rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: center;
}

.warland-auth-links a {
    color: #9db8df;
    text-decoration: none;
    font-size: 0.72rem;
}

.warland-auth-links a:hover {
    color: #f1d1a4;
}

.warland-auth-links-spread {
    justify-content: space-between;
}

.warland-auth-links-spread form {
    margin: 0;
}

.warland-account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.warland-account-grid div {
    border: 1px solid rgba(112, 144, 188, 0.35);
    border-radius: 8px;
    background: rgba(11, 18, 28, 0.9);
    padding: 0.42rem 0.5rem;
}

.warland-account-grid span {
    display: block;
    color: #9fb2cd;
    font-size: 0.62rem;
}

.warland-account-grid strong {
    color: #edf4ff;
    font-size: 0.8rem;
}

.warland-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 0.65rem;
}

.warland-section-head h2 {
    margin: 0;
    font-family: "Cinzel", "TrajanProBold", serif;
    font-size: 1rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #f2f7ff;
}

.warland-section-head a {
    color: #a4bee3;
    text-decoration: none;
    font-size: 0.74rem;
}

.warland-section-head a:hover {
    color: #f2d2a4;
}

.warland-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 0.9rem;
}

.warland-about-grid h3 {
    margin: 0 0 0.45rem;
    color: #ecf4ff;
    font-size: 0.9rem;
}

.warland-about-grid ul {
    margin: 0;
    padding-left: 1.1rem;
    color: #9eb2cf;
    line-height: 1.6;
}

.warland-media-box {
    display: grid;
    gap: 0.55rem;
}

.warland-media-box video {
    width: 100%;
    border: 1px solid rgba(108, 140, 185, 0.45);
    border-radius: 10px;
    background: #0f1722;
}

.warland-inline-cta {
    justify-self: start;
    border: 1px solid rgba(219, 179, 119, 0.72);
    border-radius: 8px;
    background: rgba(46, 33, 20, 0.92);
    color: #f7e2c0;
    text-decoration: none;
    padding: 0.4rem 0.72rem;
    font-size: 0.72rem;
}

.warland-ranking-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.warland-ranking-card {
    border: 1px solid rgba(110, 140, 184, 0.34);
    border-radius: 10px;
    background: rgba(12, 20, 30, 0.9);
    padding: 0.7rem;
}

.warland-ranking-card h3 {
    margin: 0 0 0.45rem;
    color: #e8f1ff;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.warland-ranking-table {
    display: grid;
    gap: 0.25rem;
}

.warland-ranking-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 84px 66px;
    gap: 0.4rem;
    align-items: center;
    border: 1px solid rgba(95, 126, 168, 0.28);
    border-radius: 7px;
    background: rgba(10, 17, 26, 0.85);
    padding: 0.35rem 0.45rem;
    color: #cadbf3;
    font-size: 0.71rem;
}

.warland-ranking-row-head {
    background: rgba(30, 47, 72, 0.72);
    color: #eff5ff;
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.warland-news-panel {
    display: grid;
    gap: 0.65rem;
}

.warland-news-item {
    border: 1px solid rgba(103, 134, 177, 0.33);
    border-radius: 10px;
    background: rgba(12, 20, 30, 0.9);
    padding: 0.55rem;
    display: grid;
    grid-template-columns: 238px minmax(0, 1fr);
    gap: 0.75rem;
}

.warland-news-item img {
    width: 100%;
    height: 100%;
    max-height: 152px;
    object-fit: cover;
    border-radius: 8px;
}

.warland-news-item h3 {
    margin: 0 0 0.36rem;
    color: #edf4ff;
    font-size: 0.94rem;
}

.warland-news-item p {
    margin: 0;
    color: var(--wl-muted);
    line-height: 1.54;
}

.warland-news-item footer {
    margin-top: 0.55rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.warland-news-item footer span {
    color: #8ea8cb;
    font-size: 0.68rem;
}

.warland-news-item footer a {
    color: #f0d1a4;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
}

.warland-download-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
}

.warland-download-grid a {
    border: 1px solid rgba(107, 139, 183, 0.42);
    border-radius: 10px;
    background: rgba(12, 21, 32, 0.91);
    color: #e8f0ff;
    text-decoration: none;
    padding: 0.6rem 0.66rem;
    display: grid;
    gap: 0.22rem;
    transition: filter 0.16s ease, border-color 0.16s ease;
}

.warland-download-grid a strong {
    font-size: 0.8rem;
    color: #f1f6ff;
}

.warland-download-grid a span {
    font-size: 0.68rem;
    color: #9cb1cf;
    line-height: 1.45;
}

.warland-download-grid a:hover {
    filter: brightness(1.08);
    border-color: rgba(224, 184, 124, 0.82);
}

/* Auth pages (register + login) */
.war-auth-shell .inner-page-card,
.war-auth-card-shell {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.war-auth-page {
    border: 1px solid var(--wl-border);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(25, 38, 57, 0.95) 0%, rgba(15, 24, 36, 0.95) 100%),
        url("/img/header-bg-static.png") center/cover no-repeat;
    padding: 0.95rem;
    display: grid;
    gap: 0.8rem;
}

.war-auth-head h2 {
    margin: 0;
    font-family: "Cinzel", "TrajanProBold", serif;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.war-auth-head p {
    margin: 0.35rem 0 0;
    color: var(--wl-muted);
}

.war-auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 0.8rem;
}

.war-auth-info,
.war-auth-form-wrap {
    border: 1px solid rgba(111, 142, 186, 0.36);
    border-radius: 10px;
    background: rgba(12, 20, 31, 0.92);
    padding: 0.75rem;
}

.war-auth-info h3,
.war-auth-form-wrap h3 {
    margin: 0 0 0.45rem;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ecf4ff;
}

.war-auth-info ul {
    margin: 0;
    padding-left: 1.1rem;
    color: #9db0ce;
    line-height: 1.58;
}

.war-auth-form {
    display: grid;
    gap: 0.58rem;
}

.war-auth-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.war-auth-form label {
    display: grid;
    gap: 0.22rem;
}

.war-auth-form label span {
    color: #a2b5d2;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.war-auth-form input {
    border: 1px solid rgba(108, 140, 185, 0.62);
    border-radius: 8px;
    background: rgba(8, 14, 22, 0.93);
    color: #edf4ff;
    padding: 0.52rem 0.58rem;
    outline: none;
}

.war-auth-form input:focus {
    border-color: rgba(223, 183, 124, 0.86);
}

.war-auth-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (max-width: 1180px) {
    .warland-mini-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .warland-hero-panel {
        grid-template-columns: 1fr;
    }

    .warland-hero-stats,
    .warland-download-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .warland-about-grid,
    .warland-ranking-columns,
    .war-auth-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .warland-shell {
        width: calc(100% - 0.7rem);
    }

    .warland-news-item {
        grid-template-columns: 1fr;
    }

    .warland-news-item img {
        max-height: 220px;
    }

    .warland-hero-stats,
    .warland-account-grid,
    .war-auth-form-grid,
    .warland-download-grid,
    .warland-mini-nav {
        grid-template-columns: 1fr;
    }
}
