@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=El+Messiri:wght@500;600;700&family=Noto+Kufi+Arabic:wght@400;500;600;700;800&display=swap");

:root {
    --font-body: "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
    --font-display: "Cinzel", "El Messiri", Georgia, serif;
    --bg: #020612;
    --navy: #061225;
    --navy-2: #081a35;
    --panel: rgba(5, 18, 36, 0.94);
    --panel-2: rgba(7, 22, 46, 0.96);
    --line: rgba(212, 185, 140, 0.72);
    --line-soft: rgba(212, 185, 140, 0.24);
    --gold: #d4b98c;
    --gold-2: #b8956a;
    --blue: #d4a574;
    --blue-2: #6f4930;
    --ink: #f9f2ff;
    --text: #eef8ff;
    --muted: #adc7e8;
    --green: #55e05f;
    --danger: #ff6767;
}

/* vampire classic skin */
:root {
    --bg: #0e1014;
    --navy: #14161c;
    --navy-2: #1b1d24;
    --panel: rgba(20, 22, 28, 0.94);
    --panel-2: rgba(28, 30, 38, 0.96);
    --line: rgba(212, 185, 140, 0.28);
    --line-soft: rgba(212, 185, 140, 0.12);
    --gold: #d4b98c;
    --gold-2: #b8956a;
    --blue: #d4a574;
    --blue-2: #6f4930;
    --ink: #ece7df;
    --text: #ece7df;
    --muted: #9a9388;
    --green: #8fa896;
    --danger: #d46a6a;
}

body {
    background:
        linear-gradient(180deg, rgba(14, 16, 20, 0.56), rgba(14, 16, 20, 0.98)),
        radial-gradient(circle at 78% 20%, rgba(212, 165, 116, 0.16), transparent 30%),
        url("../img/vampire-hero-fresh.jpg") center top / cover no-repeat,
        #0e1014;
    background-attachment: fixed;
}

body::before {
    background:
        linear-gradient(90deg, rgba(14, 16, 20, 0.94) 0%, rgba(14, 16, 20, 0.78) 44%, rgba(20, 22, 28, 0.48) 100%),
        radial-gradient(circle at 80% 12%, rgba(212, 185, 140, 0.14), transparent 28%);
}

body::after {
    opacity: 0.38;
    background:
        radial-gradient(circle at 18% 82%, rgba(212, 185, 140, 0.72) 0 1px, transparent 3px),
        radial-gradient(circle at 42% 76%, rgba(184, 149, 106, 0.42) 0 1px, transparent 3px),
        linear-gradient(115deg, transparent 0%, rgba(212, 185, 140, 0.08) 45%, transparent 58%);
}

.site-header {
    background: rgba(14, 16, 20, 0.96);
    border-bottom-color: var(--line);
    backdrop-filter: blur(12px);
}

.logo img {
    width: 205px;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(212, 185, 140, 0.08);
    box-shadow: inset 0 -2px 0 var(--gold);
    color: #fff8e9;
}

.nav-status,
.lang-switch {
    background: rgba(10, 12, 16, 0.84);
    border-color: rgba(212, 185, 140, 0.32);
}

.war-hero {
    border-color: rgba(212, 185, 140, 0.22);
    background:
        linear-gradient(90deg, rgba(14, 16, 20, 0.96) 0%, rgba(14, 16, 20, 0.78) 45%, rgba(14, 16, 20, 0.28) 100%),
        url("../img/vampire-hero-fresh.jpg") center / cover no-repeat;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

h1 {
    filter: none;
}

.button.red,
.button.blue,
.button.steel,
.button.ghost,
button.button,
.discord-button {
    border-color: rgba(212, 185, 140, 0.45);
    background: linear-gradient(180deg, #e4c998 0%, #9a6a33 100%);
    color: #130d08;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.button.steel,
.button.blue {
    background: linear-gradient(180deg, #29313c 0%, #151a22 100%);
    color: var(--ink);
}

.button.ghost {
    background: rgba(10, 12, 16, 0.56);
    color: var(--ink);
}

.header-stats article,
.panel,
.stats-row article,
.auth-card,
.server-panel,
.features article,
.welcome,
.download-card,
.install-panel {
    border-color: rgba(212, 185, 140, 0.22);
    background:
        linear-gradient(180deg, rgba(24, 27, 34, 0.94), rgba(12, 14, 18, 0.96)),
        radial-gradient(circle at 100% 0, rgba(212, 185, 140, 0.08), transparent 36%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

.hero-stats article,
.feature-strip article {
    border-color: rgba(212, 185, 140, 0.2);
    background: rgba(20, 22, 28, 0.72);
}

.panel-head {
    border-color: rgba(212, 185, 140, 0.18);
}

.event-spotlight.is-live {
    border-color: rgba(143, 168, 150, 0.38);
    background: rgba(143, 168, 150, 0.08);
}

.social-link {
    border-color: rgba(212, 185, 140, 0.35);
    background: rgba(14, 16, 20, 0.86);
}

/* final mobile layout guard */
@media (max-width: 760px) {
    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        background-attachment: scroll;
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 50;
    }

    .nav-wrap {
        width: 100%;
        min-height: 0;
        padding: 8px 10px;
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 8px;
        align-items: center;
    }

    .logo {
        width: 94px;
        min-width: 94px;
        padding: 0;
    }

    .logo img {
        width: 94px;
        max-height: 44px;
        object-fit: contain;
    }

    .main-nav {
        grid-column: 1 / -1;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        overflow: visible;
        padding: 0;
        order: 4;
    }

    .main-nav a {
        min-width: 0;
        min-height: 38px;
        padding: 0 6px;
        border: 1px solid rgba(212, 185, 140, 0.18);
        border-radius: 4px;
        font-size: 10px;
        line-height: 1.1;
        text-align: center;
        white-space: normal;
    }

    .nav-status,
    .lang-switch {
        justify-self: end;
        min-height: 34px;
        padding: 0 8px;
        font-size: 10px;
    }

    .lang-switch {
        grid-column: 2;
        width: auto;
        gap: 6px;
    }

    .lang-switch select {
        min-width: 46px;
        font-size: 10px;
    }

    .war-layout,
    .page-shell,
    footer {
        width: calc(100% - 20px);
    }

    .war-layout {
        padding-top: 12px;
    }

    .war-hero {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 26px 16px 18px;
        border-radius: 7px;
        background:
            linear-gradient(180deg, rgba(14, 16, 20, 0.9) 0%, rgba(14, 16, 20, 0.76) 54%, rgba(14, 16, 20, 0.92) 100%),
            url("../img/vampire-hero-fresh.jpg") 62% center / auto 100% no-repeat;
    }

    .hero-copy {
        max-width: 100%;
    }

    .eyebrow {
        font-size: 10px;
    }

    h1 {
        font-size: clamp(34px, 10vw, 48px);
        line-height: 1.02;
    }

    .lead {
        max-width: 100%;
        font-size: 13px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-stats,
    .feature-strip,
    .warfront-grid,
    .warfront-main,
    .warfront-side,
    .feature-cards,
    .download-grid,
    .store-grid,
    .account-grid,
    .content-grid,
    .stats-row,
    .features {
        grid-template-columns: 1fr !important;
    }

    .hero-stats article {
        min-height: 86px;
        padding: 16px;
    }

    .hero-stats strong {
        font-size: 32px;
    }

    .feature-strip {
        gap: 10px;
        margin: 12px 0;
    }

    .feature-strip article {
        min-height: 0;
        grid-template-columns: 42px 1fr;
        gap: 12px;
        padding: 14px;
    }

    .feature-strip article > span {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .panel {
        padding: 14px;
    }

    .panel-head {
        gap: 10px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .panel-head h2 {
        font-size: 18px;
    }

    .news-row {
        grid-template-columns: auto 1fr;
        gap: 8px;
    }

    .news-row time {
        grid-column: 2;
    }

    .event-item {
        grid-template-columns: 64px 1fr;
    }

    .server-state {
        min-height: 84px;
    }

    .server-state strong {
        font-size: 28px;
    }

    .social-dock {
        left: 8px;
        gap: 8px;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

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

    .support-chat {
        right: 10px;
        bottom: 64px;
        min-height: 36px;
        padding: 0 10px;
        font-size: 10px;
    }

    .music-toggle {
        right: 10px;
        bottom: 14px;
        min-height: 36px;
        padding: 0 10px;
        font-size: 10px;
    }

    .captcha-box {
        max-width: 304px;
        padding-inline: 0;
    }
}

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

    .nav-wrap {
        grid-template-columns: 86px 1fr;
    }

    .logo,
    .logo img {
        width: 86px;
    }

    h1 {
        font-size: 32px;
    }

    .captcha-box {
        max-width: 278px;
        min-height: 76px;
    }

    .captcha-box .g-recaptcha {
        transform: scale(0.9);
    }
}

/* mobile hardening */
@media (max-width: 820px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        min-width: 0;
        background-attachment: scroll;
    }

    .site-header,
    .nav-wrap,
    .war-layout,
    .page-shell,
    footer {
        max-width: 100%;
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 50;
    }

    .nav-wrap {
        width: 100%;
        min-height: 0;
        padding: 8px 10px;
        display: grid;
        grid-template-columns: minmax(82px, auto) 1fr;
        gap: 8px;
        align-items: center;
    }

    .logo {
        width: 104px;
        min-width: 0;
        padding: 0;
    }

    .logo img {
        width: 104px;
        max-width: 100%;
        max-height: 46px;
        object-fit: contain;
    }

    .nav-status,
    .lang-switch {
        min-width: 0;
        min-height: 34px;
        justify-self: end;
        padding: 0 8px;
        font-size: 10px;
    }

    .lang-switch {
        width: auto;
        gap: 6px;
    }

    .lang-switch select {
        min-width: 48px;
        font-size: 10px;
    }

    .main-nav {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        padding: 0;
        overflow: visible;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        order: 4;
    }

    .main-nav a {
        min-width: 0;
        min-height: 38px;
        padding: 0 6px;
        border: 1px solid rgba(212, 185, 140, 0.18);
        border-radius: 4px;
        font-size: 10px;
        line-height: 1.1;
        text-align: center;
        white-space: normal;
    }

    .war-layout,
    .page-shell,
    footer {
        width: calc(100% - 20px);
        margin-left: auto;
        margin-right: auto;
    }

    .war-layout {
        padding-top: 12px;
    }

    .war-hero {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 26px 16px 18px;
        border-radius: 7px;
        background:
            linear-gradient(180deg, rgba(14, 16, 20, 0.91) 0%, rgba(14, 16, 20, 0.76) 55%, rgba(14, 16, 20, 0.94) 100%),
            url("../img/vampire-hero-fresh.jpg") 62% center / auto 100% no-repeat;
    }

    .hero-copy,
    .lead {
        max-width: 100%;
    }

    .hero-copy h1,
    h1 {
        font-size: clamp(32px, 10vw, 48px);
        line-height: 1.02;
        word-break: normal;
    }

    .lead {
        font-size: 13px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

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

    .hero-stats,
    .feature-strip,
    .warfront-grid,
    .warfront-main,
    .warfront-side,
    .feature-cards,
    .download-grid,
    .store-grid,
    .account-grid,
    .content-grid,
    .stats-row,
    .features,
    .community-panel {
        display: grid;
        grid-template-columns: 1fr !important;
    }

    .panel,
    .auth-card,
    .server-panel,
    .welcome,
    .download-card,
    .install-panel {
        padding: 14px;
        min-width: 0;
    }

    .panel-head {
        gap: 10px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .panel-head h2 {
        font-size: 18px;
    }

    .news-row {
        grid-template-columns: auto 1fr;
        gap: 8px;
        align-items: start;
    }

    .news-row time {
        grid-column: 2;
        justify-self: start;
    }

    .event-item {
        grid-template-columns: 64px 1fr;
        gap: 10px;
    }

    .weekly-event-item {
        min-width: 0;
    }

    .server-state {
        min-height: 84px;
    }

    .server-state strong {
        font-size: 28px;
    }

    .social-dock {
        left: 8px;
        gap: 8px;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

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

    .support-chat {
        right: 10px;
        bottom: 64px;
        min-height: 36px;
        padding: 0 10px;
        font-size: 10px;
    }

    .music-toggle {
        right: 10px;
        bottom: 14px;
        min-height: 36px;
        padding: 0 10px;
        font-size: 10px;
    }

    .captcha-box {
        max-width: 304px;
        padding-inline: 0;
    }
}

@media (max-width: 420px) {
    .nav-wrap {
        grid-template-columns: 88px 1fr;
    }

    .logo,
    .logo img {
        width: 88px;
    }

    .main-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-copy h1,
    h1 {
        font-size: 32px;
    }

    .event-item {
        grid-template-columns: 58px 1fr;
    }

    .captcha-box {
        max-width: 278px;
        min-height: 76px;
    }

    .captcha-box .g-recaptcha {
        transform: scale(0.9);
    }
}

/* final mobile layout guard */
@media (max-width: 760px) {
    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        background-attachment: scroll;
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 50;
    }

    .nav-wrap {
        width: 100%;
        min-height: 0;
        padding: 8px 10px;
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 8px;
        align-items: center;
    }

    .logo {
        width: 94px;
        min-width: 94px;
        padding: 0;
    }

    .logo img {
        width: 94px;
        max-height: 44px;
        object-fit: contain;
    }

    .main-nav {
        grid-column: 1 / -1;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        overflow: visible;
        padding: 0;
        order: 4;
    }

    .main-nav a {
        min-width: 0;
        min-height: 38px;
        padding: 0 6px;
        border: 1px solid rgba(212, 185, 140, 0.18);
        border-radius: 4px;
        font-size: 10px;
        line-height: 1.1;
        text-align: center;
        white-space: normal;
    }

    .nav-status,
    .lang-switch {
        justify-self: end;
        min-height: 34px;
        padding: 0 8px;
        font-size: 10px;
    }

    .lang-switch {
        grid-column: 2;
        width: auto;
        gap: 6px;
    }

    .lang-switch select {
        min-width: 46px;
        font-size: 10px;
    }

    .war-layout,
    .page-shell,
    footer {
        width: calc(100% - 20px);
    }

    .war-layout {
        padding-top: 12px;
    }

    .war-hero {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 26px 16px 18px;
        border-radius: 7px;
        background:
            linear-gradient(180deg, rgba(14, 16, 20, 0.9) 0%, rgba(14, 16, 20, 0.76) 54%, rgba(14, 16, 20, 0.92) 100%),
            url("../img/vampire-hero-fresh.jpg") 62% center / auto 100% no-repeat;
    }

    .hero-copy {
        max-width: 100%;
    }

    .eyebrow {
        font-size: 10px;
    }

    h1 {
        font-size: clamp(34px, 10vw, 48px);
        line-height: 1.02;
    }

    .lead {
        max-width: 100%;
        font-size: 13px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-stats,
    .feature-strip,
    .warfront-grid,
    .warfront-main,
    .warfront-side,
    .feature-cards,
    .download-grid,
    .store-grid,
    .account-grid,
    .content-grid,
    .stats-row,
    .features {
        grid-template-columns: 1fr !important;
    }

    .hero-stats article {
        min-height: 86px;
        padding: 16px;
    }

    .hero-stats strong {
        font-size: 32px;
    }

    .feature-strip {
        gap: 10px;
        margin: 12px 0;
    }

    .feature-strip article {
        min-height: 0;
        grid-template-columns: 42px 1fr;
        gap: 12px;
        padding: 14px;
    }

    .feature-strip article > span {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .panel {
        padding: 14px;
    }

    .panel-head {
        gap: 10px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .panel-head h2 {
        font-size: 18px;
    }

    .news-row {
        grid-template-columns: auto 1fr;
        gap: 8px;
    }

    .news-row time {
        grid-column: 2;
    }

    .event-item {
        grid-template-columns: 64px 1fr;
    }

    .server-state {
        min-height: 84px;
    }

    .server-state strong {
        font-size: 28px;
    }

    .social-dock {
        left: 8px;
        gap: 8px;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

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

    .support-chat {
        right: 10px;
        bottom: 64px;
        min-height: 36px;
        padding: 0 10px;
        font-size: 10px;
    }

    .music-toggle {
        right: 10px;
        bottom: 14px;
        min-height: 36px;
        padding: 0 10px;
        font-size: 10px;
    }

    .captcha-box {
        max-width: 304px;
        padding-inline: 0;
    }
}

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

    .nav-wrap {
        grid-template-columns: 86px 1fr;
    }

    .logo,
    .logo img {
        width: 86px;
    }

    h1 {
        font-size: 32px;
    }

    .captcha-box {
        max-width: 278px;
        min-height: 76px;
    }

    .captcha-box .g-recaptcha {
        transform: scale(0.9);
    }
}

/* home finish balance */
.home-page .warfront-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 380px);
    align-items: stretch;
}

.home-page .warfront-main,
.home-page .warfront-side {
    display: grid;
    gap: 18px;
    align-content: start;
}

.home-page .warfront-side {
    position: static;
}

.home-page .events-panel {
    min-height: 430px;
}

.home-page .weekly-events-panel {
    min-height: 310px;
}

.home-page .finish-grid {
    display: grid;
    margin-top: 18px;
}

.home-page .feature-panel {
    grid-column: auto;
}

.home-page .feature-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1180px) {
    .home-page .feature-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .home-page .warfront-grid,
    .home-page .feature-cards {
        grid-template-columns: 1fr;
    }

    .home-page .events-panel,
    .home-page .weekly-events-panel {
        min-height: 0;
    }
}

/* final vampire refresh */
body {
    background:
        linear-gradient(180deg, rgba(2, 6, 18, 0.64), rgba(2, 6, 18, 0.98)),
        radial-gradient(circle at 72% 18%, rgba(132, 48, 48, 0.18), transparent 30%),
        url("../img/vampire-hero-fresh.jpg") center top / cover no-repeat,
        #05070d;
    background-attachment: fixed;
}

body::before {
    background:
        radial-gradient(circle at 78% 28%, rgba(132, 48, 48, 0.2), transparent 22%),
        radial-gradient(circle at 72% 82%, rgba(212, 185, 140, 0.12), transparent 24%),
        linear-gradient(90deg, rgba(2, 6, 18, 0.97) 0%, rgba(6, 13, 26, 0.74) 44%, rgba(28, 15, 18, 0.46) 100%),
        radial-gradient(circle at 18% 78%, rgba(212, 185, 140, 0.12), transparent 28%);
}

body::after {
    opacity: 0.34;
    background:
        radial-gradient(circle at 18% 82%, rgba(212, 185, 140, 0.72) 0 1px, transparent 3px),
        radial-gradient(circle at 42% 76%, rgba(184, 149, 106, 0.44) 0 1px, transparent 3px),
        radial-gradient(circle at 70% 88%, rgba(165, 74, 74, 0.36) 0 1px, transparent 3px),
        linear-gradient(115deg, transparent 0%, rgba(212, 185, 140, 0.08) 45%, transparent 58%);
    background-size: 170px 170px, 230px 230px, 300px 300px, 100% 100%;
}

.logo strong {
    background: linear-gradient(180deg, #fff7e8 0%, #d4b98c 44%, #8a5c37 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.logo small,
.tagline {
    color: #d4b98c;
}

.main-nav a:hover,
.main-nav a.active {
    background: linear-gradient(180deg, rgba(212, 185, 140, 0.12), rgba(132, 48, 48, 0.12));
    box-shadow: inset 0 -2px 0 var(--gold), 0 0 18px rgba(212, 185, 140, 0.1);
}

.war-hero {
    border-color: rgba(212, 185, 140, 0.26);
    background:
        radial-gradient(circle at 72% 24%, rgba(132, 48, 48, 0.2), transparent 32%),
        linear-gradient(90deg, rgba(2, 6, 18, 0.98) 0%, rgba(5, 12, 24, 0.78) 45%, rgba(35, 14, 18, 0.36) 100%),
        url("../img/vampire-hero-fresh.jpg") center / cover no-repeat;
    box-shadow: 0 28px 85px rgba(0, 0, 0, 0.44), 0 0 36px rgba(212, 185, 140, 0.08);
}

.hero-copy h1 {
    filter: drop-shadow(0 0 22px rgba(212, 185, 140, 0.16));
}

.hero-stats article,
.feature-strip article,
.event-spotlight,
.weekly-event-item,
.feature-cards div,
.status-pill,
.gift-code-value,
.captcha-box {
    border-color: rgba(212, 185, 140, 0.32);
}

.hero-stats article,
.feature-strip article {
    background:
        linear-gradient(180deg, rgba(8, 14, 24, 0.86), rgba(2, 6, 18, 0.94)),
        radial-gradient(circle at 100% 0, rgba(212, 185, 140, 0.1), transparent 42%);
    box-shadow: inset 0 -2px 0 rgba(212, 185, 140, 0.26), 0 20px 42px rgba(0, 0, 0, 0.28);
}

.hero-stats strong {
    color: #fff6e8;
    text-shadow: 0 0 22px rgba(212, 185, 140, 0.18);
}

.feature-strip article > span {
    border-color: rgba(212, 185, 140, 0.36);
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.72), transparent 8%),
        linear-gradient(135deg, rgba(212, 185, 140, 0.2), rgba(132, 48, 48, 0.16));
    box-shadow: 0 0 24px rgba(212, 185, 140, 0.1);
}

.ranking-item .rank {
    color: #fff6e8;
    background: linear-gradient(180deg, #d4b98c, #7a4a22);
}

.news-badge {
    background: #8a3f37;
}

.notice,
.status-pill,
.gift-code-value {
    background: rgba(212, 185, 140, 0.08);
}

.home-page .warfront-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 380px);
    align-items: stretch;
}

.home-page .warfront-main,
.home-page .warfront-side {
    display: grid;
    gap: 18px;
    align-content: start;
}

.home-page .events-panel {
    min-height: 430px;
}

.home-page .weekly-events-panel {
    min-height: 310px;
}

.home-page .finish-grid {
    display: grid;
    margin-top: 18px;
}

.home-page .feature-panel {
    grid-column: auto;
}

.home-page .feature-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1180px) {
    .home-page .feature-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .home-page .warfront-grid,
    .home-page .feature-cards {
        grid-template-columns: 1fr;
    }

    .home-page .events-panel,
    .home-page .weekly-events-panel {
        min-height: 0;
    }
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    overflow-y: scroll;
    background: var(--bg);
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 500;
    line-height: 1.55;
    background:
        linear-gradient(180deg, rgba(2, 6, 18, 0.74), rgba(2, 6, 18, 0.97)),
        radial-gradient(circle at 72% 18%, rgba(0, 216, 255, 0.28), transparent 30%),
        url("../img/vampire-hero-fresh.jpg") center top / cover no-repeat,
        #050013;
    background-size: 100% 100%, 100% 100%, 108% auto, auto;
    background-position: center center, 72% 18%, center top, center;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 78% 28%, rgba(176, 68, 255, 0.28), transparent 22%),
        radial-gradient(circle at 72% 82%, rgba(0, 216, 255, 0.26), transparent 24%),
        linear-gradient(90deg, rgba(2, 6, 18, 0.97) 0%, rgba(6, 18, 45, 0.74) 44%, rgba(10, 8, 48, 0.46) 100%),
        radial-gradient(circle at 18% 78%, rgba(82, 34, 255, 0.28), transparent 28%);
}

body::after {
    content: "";
    position: fixed;
    inset: -24%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.95;
    background:
        radial-gradient(circle at 18% 82%, rgba(212, 185, 140, 0.72) 0 1px, transparent 3px),
        radial-gradient(circle at 42% 76%, rgba(184, 149, 106, 0.52) 0 1px, transparent 3px),
        radial-gradient(circle at 70% 88%, rgba(165, 74, 74, 0.42) 0 1px, transparent 3px),
        radial-gradient(circle at 82% 66%, rgba(255, 255, 255, 0.34) 0 1px, transparent 3px),
        linear-gradient(115deg, transparent 0%, rgba(212, 185, 140, 0.1) 44%, transparent 57%);
    background-size: 170px 170px, 230px 230px, 300px 300px, 380px 380px, 100% 100%;
    filter: blur(0.1px);
}

body > * {
    position: relative;
    z-index: 1;
}

@keyframes scenePan {
    0% {
        background-position: center center, 68% 16%, 48% top, center;
    }

    100% {
        background-position: center center, 76% 20%, 56% top, center;
    }
}

@keyframes backgroundPulse {
    0% {
        opacity: 0.72;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.035);
    }
}

@keyframes glowTravel {
    0% {
        background-position: 78% 30%, 72% 86%, center, 18% 78%;
    }

    100% {
        background-position: 64% 22%, 88% 72%, center, 26% 72%;
    }
}

@keyframes emberDrift {
    0% {
        transform: translate3d(-2%, 7%, 0) rotate(0.001deg);
    }

    100% {
        transform: translate3d(5%, -13%, 0) rotate(0.001deg);
    }
}

@keyframes emberFlicker {
    0% {
        opacity: 0.42;
    }

    100% {
        opacity: 0.95;
    }
}

@keyframes heroScenePan {
    0% {
        background-position: center center, 46% center;
    }

    100% {
        background-position: center center, 58% center;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(5, 7, 14, 0.98), rgba(2, 6, 18, 0.97)),
        radial-gradient(circle at 72% 0, rgba(0, 216, 255, 0.26), transparent 35%);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42), 0 1px 0 rgba(255,255,255,0.04) inset;
    overflow-x: clip;
    position: sticky;
    top: 0;
    z-index: 30;
}

.header-top {
    max-width: 1500px;
    margin: 0 auto;
    min-height: 150px;
    padding: 24px 28px 18px;
    display: grid;
    grid-template-columns: 330px 1fr 430px;
    gap: 28px;
    align-items: center;
}

.logo {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 240px;
    flex: 0 0 240px;
    min-height: 64px;
    line-height: 1.08;
    font-family: var(--font-display);
    color: var(--ink);
    text-shadow: 0 5px 16px #000;
}

.logo img {
    width: 220px;
    max-width: 100%;
    height: auto;
    display: block;
}

.logo-crown {
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.logo strong {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 0;
    padding-top: 2px;
    background: linear-gradient(180deg, #fff7e8 0%, #d4b98c 42%, #8a5c37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.72));
}

.logo small {
    color: #d4b98c;
    font: 800 9px/1.2 var(--font-body);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.tagline {
    color: #d4b98c;
    font: 700 20px/1.2 var(--font-display);
    text-align: center;
    display: flex;
    align-items: center;
    gap: 22px;
    justify-content: center;
}

.tagline::before,
.tagline::after {
    content: "";
    height: 1px;
    flex: 1;
    max-width: 190px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.header-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.header-stats article,
.panel,
.stats-row article,
.auth-card,
.server-panel,
.features article,
.welcome,
.download-card,
.install-panel {
    border: 1px solid var(--line);
    border-radius: 6px;
    background:
        linear-gradient(180deg, rgba(5, 18, 36, 0.96), rgba(3, 10, 24, 0.98)),
        radial-gradient(circle at 100% 0, rgba(0, 216, 255, 0.18), transparent 36%),
        radial-gradient(circle at 0 100%, rgba(176, 68, 255, 0.12), transparent 34%);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), 0 0 22px rgba(0, 216, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.header-stats article {
    min-height: 112px;
    padding: 14px 18px;
    text-align: center;
    display: grid;
    place-items: center;
}

.header-stats span,
.stats-row span,
.store-card span,
.account-grid span {
    color: #bfb7aa;
    font: 800 12px/1.25 var(--font-body);
    text-transform: uppercase;
}

.header-stats b {
    color: var(--gold);
    font: 900 30px/1 var(--font-display);
}

.header-stats b.online {
    color: var(--green);
}

.header-stats b.offline {
    color: var(--danger);
}

.header-stats small {
    color: var(--muted);
    font-size: 12px;
}

.nav-wrap {
    position: relative;
    width: min(1500px, calc(100% - 28px));
    min-height: 82px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: nowrap;
    direction: ltr;
    background: transparent;
}

.main-nav {
    min-height: 82px;
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    overflow: visible;
    direction: ltr;
}

.main-nav a {
    min-width: 0;
    min-height: 82px;
    padding: 0 clamp(10px, 1.1vw, 18px);
    display: grid;
    place-items: center;
    border-inline-start: 0;
    color: #f3f7ff;
    font: 900 12px/1.2 var(--font-body);
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.store-subtitle {
    margin-top: 26px;
}

html[dir="rtl"] .main-nav a {
    direction: rtl;
}

.main-nav a:last-child {
    border-inline-end: 0;
}

.main-nav a:hover,
.main-nav a.active {
    border-color: var(--line);
    background: linear-gradient(180deg, rgba(0, 216, 255, 0.16), rgba(91, 34, 255, 0.18));
    color: #f7fdff;
    box-shadow: inset 0 -2px 0 var(--blue), 0 0 18px rgba(0, 216, 255, 0.18);
}

.lang-switch {
    align-self: center;
    flex: 0 0 auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(8, 5, 31, 0.94);
    color: #fff;
    font: 800 13px/1.25 var(--font-body);
    direction: ltr;
    margin: 0;
}

.lang-switch label {
    color: var(--gold);
    cursor: pointer;
}

.lang-switch select {
    min-width: 68px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font: 800 13px/1.25 var(--font-body);
    cursor: pointer;
}

.lang-switch select option {
    background: #09051f;
    color: #fff;
}

.nav-status {
    align-self: center;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(212, 185, 140, 0.42);
    border-radius: 6px;
    background: rgba(8, 5, 31, 0.92);
    color: #fff;
    font: 900 12px/1 var(--font-body);
    text-transform: uppercase;
    white-space: nowrap;
}

.status-dot {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 50%;
    background: currentColor;
    filter: drop-shadow(0 0 10px currentColor);
}

.nav-status.is-online {
    color: var(--green);
}

.nav-status.is-offline {
    color: #ff6767;
}

.war-layout,
.page-shell {
    width: min(1500px, calc(100% - 56px));
    margin: 0 auto;
}

.war-layout {
    padding: 34px 0 28px;
}

.war-hero {
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
    gap: 32px;
    align-items: center;
    padding: clamp(34px, 5vw, 78px);
    border: 1px solid rgba(0, 216, 255, 0.22);
    border-radius: 10px;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 24%, rgba(176, 68, 255, 0.26), transparent 32%),
        linear-gradient(90deg, rgba(2, 6, 18, 0.98) 0%, rgba(5, 15, 35, 0.82) 45%, rgba(15, 8, 58, 0.44) 100%),
        url("../img/vampire-hero-fresh.jpg") center / cover no-repeat;
    background-size: 100% 100%, 100% 100%, 112% auto;
    box-shadow: 0 28px 85px rgba(0, 0, 0, 0.42), 0 0 36px rgba(0, 216, 255, 0.12);
}

.hero-copy {
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--gold);
    font: 900 12px/1.3 var(--font-body);
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.05;
    text-shadow: 0 5px 12px #000;
}

h1 {
    font-size: clamp(48px, 5.8vw, 104px);
    filter: drop-shadow(0 0 22px rgba(0, 216, 255, 0.28));
}

.lead {
    max-width: 680px;
    margin: 18px 0 24px;
    color: #f0f6ff;
    font-size: 17px;
}

.hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.button,
button.button,
.discord-button {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #fff;
    font: 900 14px/1.1 var(--font-body);
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 0;
    transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover,
.discord-button:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.button.red,
.button.gold {
    background: linear-gradient(180deg, #ff4df0, #8b26ff 55%, #20106b);
}

.button.blue,
.button.steel,
.discord-button {
    background: linear-gradient(180deg, #00e6ff, #2178ff 48%, #2813a8);
}

.button.ghost {
    background: linear-gradient(180deg, rgba(20, 34, 48, 0.72), rgba(6, 13, 22, 0.9));
    border-color: rgba(255,255,255,0.26);
}

.button.full {
    width: 100%;
}

.hero-rank {
    align-self: stretch;
    min-height: 315px;
    padding: 22px;
}

.hero-stats {
    display: grid;
    gap: 16px;
}

.hero-stats article {
    min-height: 122px;
    padding: 22px 24px;
    display: grid;
    align-content: center;
    justify-items: start;
    border: 1px solid rgba(0, 216, 255, 0.34);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(2, 6, 18, 0.78), rgba(5, 18, 36, 0.9)),
        radial-gradient(circle at 100% 0, rgba(0, 216, 255, 0.18), transparent 42%);
    box-shadow: inset 0 -2px 0 rgba(0, 216, 255, 0.62), 0 20px 42px rgba(0, 0, 0, 0.28);
}

.hero-stats span,
.feature-strip b {
    color: var(--gold);
    font: 900 12px/1.2 var(--font-body);
    text-transform: uppercase;
}

.hero-stats strong {
    margin: 8px 0 4px;
    color: #fff;
    font: 900 42px/1 var(--font-display);
    text-shadow: 0 0 22px rgba(0, 216, 255, 0.42);
}

.hero-stats small {
    color: var(--muted);
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 22px 0;
}

.feature-strip article {
    min-height: 132px;
    padding: 24px;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    align-items: center;
    border: 1px solid rgba(0, 216, 255, 0.32);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(5, 18, 36, 0.88), rgba(2, 6, 18, 0.94)),
        radial-gradient(circle at 0 0, rgba(176, 68, 255, 0.14), transparent 42%);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.feature-strip article > span {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    border: 1px solid rgba(0, 216, 255, 0.5);
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.88), transparent 8%),
        linear-gradient(135deg, rgba(0, 216, 255, 0.28), rgba(176, 68, 255, 0.26));
    box-shadow: 0 0 24px rgba(0, 216, 255, 0.22);
}

.feature-strip small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
}

.warfront-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 380px);
    gap: 18px;
    align-items: stretch;
}

.warfront-main,
.warfront-side {
    display: grid;
    gap: 18px;
}

.warfront-side {
    align-content: start;
}

.warfront-grid .news-panel,
.warfront-grid .events-panel,
.warfront-grid .weekly-events-panel,
.warfront-grid .top-players-panel {
    grid-column: auto;
}

.server-state {
    min-height: 120px;
    display: grid;
    place-items: center;
    gap: 10px;
    text-align: center;
}

.server-state span {
    width: 18px;
    height: 18px;
    display: inline-block;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 20px currentColor;
}

.server-state strong {
    font: 900 38px/1 var(--font-display);
}

.server-state.is-online {
    color: var(--green);
}

.server-state.is-offline {
    color: var(--danger);
}

.top-players-panel {
    min-height: 0;
}

.events-panel {
    min-height: 430px;
}

.weekly-events-panel {
    min-height: 310px;
}

.finish-grid {
    display: grid;
    margin-top: 18px;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(212, 185, 140, 0.28);
}

.panel-head h2 {
    font-size: 22px;
}

.panel-head a {
    color: var(--gold);
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
}

.ranking-list {
    display: grid;
    gap: 10px;
}

.ranking-item {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: center;
}

.ranking-item .rank {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: #fff6e8;
    background: linear-gradient(180deg, #d4b98c, #7a4a22);
    font-weight: 900;
}

.ranking-item b,
.table-list b,
.news-row b,
.event-item b,
.store-line b {
    color: #fff;
    font-weight: 900;
}

.ranking-item small,
.table-list span,
.news-row small,
.event-item small,
.feature-cards small,
.muted,
.account-grid small,
.store-card p,
.download-card p {
    color: var(--muted);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0 16px;
}

.stats-row article {
    min-height: 112px;
    padding: 18px 22px;
    text-align: center;
    display: grid;
    place-items: center;
}

.stats-row strong {
    color: var(--gold);
    font: 900 31px/1 var(--font-display);
}

.stats-row small {
    color: var(--muted);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.panel {
    padding: 20px;
}

.news-panel,
.events-panel,
.weekly-events-panel,
.community-panel {
    grid-column: span 2;
}

.weekly-events-panel {
    grid-column: span 1;
}

.feature-panel {
    grid-column: span 4;
}

.news-list,
.event-list,
.table-list,
.feature-cards {
    display: grid;
    gap: 12px;
}

.news-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: start;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.news-row:last-child,
.table-list div:last-child {
    border-bottom: 0;
}

.news-badge {
    padding: 3px 7px;
    border-radius: 3px;
    color: #fff;
    background: #8a3f37;
    font-size: 11px;
    font-weight: 900;
}

time {
    color: #d6dce8;
    font-size: 12px;
}

.table-list div,
.store-line,
.event-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.table-list span {
    grid-column: 1;
}

.table-list em,
.store-line strong {
    grid-row: 1 / span 2;
    grid-column: 2;
    color: var(--gold);
    font-style: normal;
    font-weight: 900;
}

.event-item {
    grid-template-columns: 72px 1fr;
}

.event-spotlight {
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid rgba(0, 216, 255, 0.46);
    border-radius: 6px;
    background:
        linear-gradient(135deg, rgba(0, 183, 255, 0.2), rgba(255, 43, 214, 0.14)),
        rgba(7, 4, 28, 0.78);
}

.event-spotlight.is-live {
    border-color: rgba(85, 224, 95, 0.65);
    box-shadow: inset 0 0 0 1px rgba(85, 224, 95, 0.16);
}

.event-spotlight span,
.game-event-item time {
    color: var(--gold);
    font: 900 12px/1.2 var(--font-body);
    text-transform: uppercase;
}

.event-spotlight strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font: 900 24px/1.15 var(--font-display);
}

.event-spotlight small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
}

.event-spotlight b {
    display: inline-block;
    margin-top: 12px;
    color: var(--green);
    font-weight: 900;
}

.game-event-list {
    gap: 10px;
}

.game-event-item {
    grid-template-columns: 86px 1fr;
}

.weekly-event-list {
    display: grid;
    gap: 12px;
}

.weekly-event-item {
    min-height: 78px;
    padding: 12px;
    border: 1px solid rgba(212, 185, 140, 0.22);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
}

.weekly-event-item time {
    display: block;
    margin-bottom: 7px;
    color: var(--gold);
    font: 900 12px/1.2 var(--font-body);
    text-transform: uppercase;
}

.weekly-event-item b {
    display: block;
    color: #fff;
    font-weight: 900;
}

.weekly-event-item small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
}

.feature-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-cards div {
    padding: 14px;
    border: 1px solid rgba(212, 185, 140, 0.22);
    background: rgba(255, 255, 255, 0.03);
}

.community-panel {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 22px;
    align-items: center;
}

footer {
    width: min(1500px, calc(100% - 56px));
    margin: 24px auto 0;
    padding: 22px 0 30px;
    border-top: 1px solid rgba(212, 185, 140, 0.28);
    color: #d9dfeb;
    text-align: center;
    font-size: 13px;
}

.page-shell {
    padding: 62px 0 42px;
}

.page-title {
    margin: 0 0 24px;
}

.page-title h1 {
    font-size: clamp(42px, 5vw, 72px);
}

.wide-panel {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

th,
td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: start;
}

th {
    color: var(--gold);
    font-size: 12px;
    text-transform: uppercase;
}

.download-grid,
.store-grid,
.account-grid,
.features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.download-card {
    display: grid;
    gap: 18px;
}

.download-card h2,
.install-panel h2,
.auth-card h1,
.server-panel h2,
.welcome h1,
.store-card h2 {
    font-size: 26px;
}

.feature-list {
    margin: 0;
    padding-inline-start: 20px;
    color: #e8f0fb;
}

.auth-page {
    min-height: 100vh;
}

.auth-shell {
    width: min(500px, calc(100% - 36px));
    margin: 0 auto;
    padding: 64px 0;
}

.small-logo {
    margin-bottom: 16px;
}

.small-logo img {
    width: 240px;
}

.small-logo small {
    display: none;
}

.auth-card {
    padding: 28px;
}

form {
    display: grid;
    gap: 14px;
}

label {
    display: grid;
    gap: 7px;
    color: #dbe5f1;
    font-size: 13px;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(212, 185, 140, 0.48);
    border-radius: 4px;
    padding: 0 12px;
    background: rgba(13, 25, 39, 0.92);
    color: #fff;
    font: 600 14px var(--font-body);
    outline: none;
}

textarea {
    min-height: 96px;
    padding-top: 12px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 185, 140, 0.14);
}

.notice {
    padding: 12px 14px;
    border: 1px solid rgba(212, 185, 140, 0.34);
    border-radius: 5px;
    background: rgba(212, 185, 140, 0.08);
    color: #fff4cc;
}

.notice.error {
    border-color: rgba(255, 103, 103, 0.58);
    background: rgba(120, 25, 25, 0.35);
}

.notice.success {
    border-color: rgba(85, 224, 95, 0.55);
    background: rgba(23, 95, 44, 0.3);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0, 216, 255, 0.35);
    color: var(--gold);
    background: rgba(0, 216, 255, 0.1);
    font: 900 11px/1 var(--font-body);
    text-transform: uppercase;
    white-space: nowrap;
}

.status-pill.approved {
    border-color: rgba(85, 224, 95, 0.5);
    color: #5bf071;
    background: rgba(33, 126, 55, 0.18);
}

.status-pill.rejected {
    border-color: rgba(255, 103, 103, 0.58);
    color: #ff7676;
    background: rgba(120, 25, 25, 0.28);
}

.gift-code-panel {
    margin-top: 16px;
}

.gift-code-panel p {
    color: var(--muted);
    margin: 8px 0 14px;
}

.gift-code-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 420px);
    padding: 15px 18px;
    border: 1px solid rgba(0, 216, 255, 0.58);
    border-radius: 6px;
    color: #e9fbff;
    background: linear-gradient(180deg, rgba(0, 183, 255, 0.14), rgba(7, 4, 28, 0.88));
    box-shadow: inset 0 0 18px rgba(0, 216, 255, 0.1), 0 14px 30px rgba(0, 0, 0, 0.28);
    font: 900 22px/1.1 var(--font-body);
    letter-spacing: 1px;
    text-align: center;
    user-select: all;
}

.captcha-box {
    width: 100%;
    max-width: none;
    min-height: 86px;
    margin: 2px auto 0;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(212, 185, 140, 0.34);
    border-radius: 5px;
    background: rgba(4, 11, 20, 0.44);
}

.captcha-box .g-recaptcha {
    width: 304px;
    height: 78px;
    transform-origin: center top;
}

.server-panel,
.welcome {
    padding: 28px;
    margin-bottom: 14px;
}

.account-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.store-card {
    padding: 22px;
}

.store-card strong {
    color: var(--gold);
    font: 900 30px/1 var(--font-display);
}

.order-card,
.payment-box {
    margin-top: 16px;
}

.music-toggle {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 20;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(8, 5, 31, 0.94);
    color: #fff;
    font: 800 12px var(--font-body);
}

.music-toggle::before {
    content: "";
    width: 12px;
    height: 12px;
    margin-inline-end: 8px;
    display: inline-block;
    border-radius: 50%;
    background: #ff6969;
    vertical-align: -1px;
}

.music-toggle.is-playing {
    border-color: #3f8dff;
    background: linear-gradient(180deg, #0f63bd, #07386f);
}

.music-toggle.is-playing::before {
    background: #57a8ff;
    box-shadow: 0 0 12px rgba(87, 168, 255, 0.8);
}

.social-dock {
    position: fixed;
    left: 18px;
    top: 50%;
    z-index: 24;
    display: grid;
    gap: 12px;
    transform: translateY(-50%);
}

.social-link {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(212, 185, 140, 0.36);
    border-radius: 50%;
    background: rgba(5, 15, 27, 0.94);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: border-color 0.16s ease, filter 0.16s ease;
}

.social-link:hover {
    border-color: var(--gold);
    filter: brightness(1.08);
}

.social-link svg {
    width: 29px;
    height: 29px;
    fill: #fff;
}

.social-link.whatsapp {
    background: linear-gradient(180deg, #23c269, #0c6938);
}

.social-link.facebook {
    background: linear-gradient(180deg, #2d82e8, #0c3c84);
}

.social-link.discord {
    background: linear-gradient(180deg, #6574ff, #2a338f);
}

.support-chat {
    position: fixed;
    right: 18px;
    bottom: 72px;
    z-index: 21;
    min-height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(212, 185, 140, 0.48);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(22, 25, 31, 0.96), rgba(10, 12, 16, 0.96));
    color: var(--ink);
    font: 800 12px var(--font-body);
    text-decoration: none;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
}

.support-chat:hover {
    border-color: var(--gold);
    color: #fff8e9;
}

.support-chat svg {
    width: 19px;
    height: 19px;
    fill: var(--gold);
}

.music-toggle.is-playing {
    border-color: rgba(85, 224, 95, 0.64);
    background: linear-gradient(180deg, #137333, #0b3f22);
}

.music-toggle.is-playing::before {
    background: #55e05f;
    box-shadow: 0 0 12px rgba(85, 224, 95, 0.72);
}

.captcha-box {
    border-color: rgba(212, 185, 140, 0.38);
    background: rgba(10, 12, 16, 0.52);
}

.hero-stats article,
.stats-row article,
.feature-strip article,
.card,
.table-box,
.form-card,
.download-card,
.news-item,
.order-card,
.payment-box {
    border-color: rgba(212, 185, 140, 0.32);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.018), 0 22px 60px rgba(0, 0, 0, 0.24);
}

.hero-stats strong,
.stats-row strong,
.store-card strong,
.account-grid strong,
.header-stats b {
    color: #d4b98c;
}

.header-stats span,
.stats-row span,
.store-card span,
.account-grid span {
    color: #bfb7aa;
}

.feature-strip article span {
    background: linear-gradient(180deg, rgba(212, 185, 140, 0.22), rgba(69, 47, 32, 0.44));
    border-color: rgba(212, 185, 140, 0.24);
    box-shadow: 0 0 24px rgba(212, 185, 140, 0.08);
}

html[dir="rtl"] .hero-actions {
    justify-content: flex-start;
}

html[dir="rtl"] .news-row {
    grid-template-columns: auto 1fr auto;
}

@media (max-width: 1180px) {
    .header-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo {
        margin: 0 auto;
    }

    .header-stats {
        width: min(520px, 100%);
        margin: 0 auto;
    }

    .main-nav {
        justify-content: flex-start;
    }

    .war-hero {
        grid-template-columns: 1fr;
        padding: 46px 28px 30px;
    }

    .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .warfront-grid {
        grid-template-columns: 1fr;
    }

    .warfront-side {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .stats-row,
    .content-grid,
    .feature-strip,
    .download-grid,
    .store-grid,
    .account-grid,
    .features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .header-top {
        min-height: 0;
        padding: 20px 16px 14px;
    }

    .logo strong {
        font-size: 30px;
    }

    .tagline {
        font-size: 15px;
    }

    .header-stats,
    .stats-row,
    .content-grid,
    .feature-strip,
    .hero-stats,
    .warfront-side,
    .download-grid,
    .store-grid,
    .account-grid,
    .features,
    .feature-cards,
    .community-panel {
        grid-template-columns: 1fr;
    }

    .main-nav a {
        min-width: 0;
        padding-inline: 10px;
    }

    .social-dock {
        left: 10px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link svg {
        width: 21px;
        height: 21px;
    }

    .lang-switch {
        width: auto;
        margin: 0;
        padding: 0 12px;
    }

    .war-layout,
    .page-shell,
    footer {
        width: min(100% - 28px, 1500px);
    }

    .war-layout {
        padding-top: 26px;
    }

    .war-hero {
        min-height: 0;
        padding: 34px 20px 24px;
        background-size: 100% 100%, 100% 100%, auto 100%;
    }

    h1 {
        font-size: 38px;
    }

    .news-panel,
    .events-panel,
    .weekly-events-panel,
    .feature-panel,
    .community-panel {
        grid-column: span 1;
    }

    .captcha-box {
        max-width: 304px;
        padding-inline: 0;
    }
}

@media (max-width: 380px) {
    .captcha-box {
        max-width: 278px;
        min-height: 76px;
    }

    .captcha-box .g-recaptcha {
        transform: scale(0.9);
    }
}

/* final vampire classic skin override */
:root {
    --bg: #0e1014;
    --navy: #14161c;
    --navy-2: #1b1d24;
    --panel: rgba(20, 22, 28, 0.94);
    --panel-2: rgba(28, 30, 38, 0.96);
    --line: rgba(212, 185, 140, 0.28);
    --line-soft: rgba(212, 185, 140, 0.12);
    --gold: #d4b98c;
    --gold-2: #b8956a;
    --blue: #d4a574;
    --blue-2: #6f4930;
    --ink: #ece7df;
    --text: #ece7df;
    --muted: #9a9388;
    --green: #8fa896;
    --danger: #d46a6a;
}

body {
    background:
        linear-gradient(180deg, rgba(14, 16, 20, 0.56), rgba(14, 16, 20, 0.98)),
        radial-gradient(circle at 78% 20%, rgba(212, 165, 116, 0.16), transparent 30%),
        url("../img/vampire-hero-fresh.jpg") center top / cover no-repeat,
        #0e1014;
    background-attachment: fixed;
}

body::before {
    background:
        linear-gradient(90deg, rgba(14, 16, 20, 0.94) 0%, rgba(14, 16, 20, 0.78) 44%, rgba(20, 22, 28, 0.48) 100%),
        radial-gradient(circle at 80% 12%, rgba(212, 185, 140, 0.14), transparent 28%);
}

body::after {
    opacity: 0.38;
    background:
        radial-gradient(circle at 18% 82%, rgba(212, 185, 140, 0.72) 0 1px, transparent 3px),
        radial-gradient(circle at 42% 76%, rgba(184, 149, 106, 0.42) 0 1px, transparent 3px),
        linear-gradient(115deg, transparent 0%, rgba(212, 185, 140, 0.08) 45%, transparent 58%);
}

.site-header {
    background: rgba(14, 16, 20, 0.96);
    border-bottom-color: var(--line);
    backdrop-filter: blur(12px);
}

.logo img {
    width: 205px;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(212, 185, 140, 0.08);
    box-shadow: inset 0 -2px 0 var(--gold);
    color: #fff8e9;
}

.nav-status,
.lang-switch {
    background: rgba(10, 12, 16, 0.84);
    border-color: rgba(212, 185, 140, 0.32);
}

.war-hero {
    border-color: rgba(212, 185, 140, 0.22);
    background:
        linear-gradient(90deg, rgba(14, 16, 20, 0.96) 0%, rgba(14, 16, 20, 0.78) 45%, rgba(14, 16, 20, 0.28) 100%),
        url("../img/vampire-hero-fresh.jpg") center / cover no-repeat;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

h1 {
    filter: none;
}

.button.red,
.button.blue,
.button.steel,
.button.ghost,
button.button,
.discord-button {
    border-color: rgba(212, 185, 140, 0.45);
    background: linear-gradient(180deg, #e4c998 0%, #9a6a33 100%);
    color: #130d08;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.button.steel,
.button.blue {
    background: linear-gradient(180deg, #29313c 0%, #151a22 100%);
    color: var(--ink);
}

.button.ghost {
    background: rgba(10, 12, 16, 0.56);
    color: var(--ink);
}

.header-stats article,
.panel,
.stats-row article,
.auth-card,
.server-panel,
.features article,
.welcome,
.download-card,
.install-panel {
    border-color: rgba(212, 185, 140, 0.22);
    background:
        linear-gradient(180deg, rgba(24, 27, 34, 0.94), rgba(12, 14, 18, 0.96)),
        radial-gradient(circle at 100% 0, rgba(212, 185, 140, 0.08), transparent 36%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

.hero-stats article,
.feature-strip article {
    border-color: rgba(212, 185, 140, 0.2);
    background: rgba(20, 22, 28, 0.72);
}

.panel-head {
    border-color: rgba(212, 185, 140, 0.18);
}

.event-spotlight.is-live {
    border-color: rgba(143, 168, 150, 0.38);
    background: rgba(143, 168, 150, 0.08);
}

.social-link {
    border-color: rgba(212, 185, 140, 0.35);
    background: rgba(14, 16, 20, 0.86);
}

@media (max-width: 760px) {
    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        background-attachment: scroll;
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 50;
    }

    .nav-wrap {
        width: 100%;
        min-height: 0;
        padding: 8px 10px;
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 8px;
        align-items: center;
    }

    .logo {
        width: 94px;
        min-width: 94px;
        padding: 0;
    }

    .logo img {
        width: 94px;
        max-height: 44px;
        object-fit: contain;
    }

    .main-nav {
        grid-column: 1 / -1;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        overflow: visible;
        padding: 0;
        order: 4;
    }

    .main-nav a {
        min-width: 0;
        min-height: 38px;
        padding: 0 6px;
        border: 1px solid rgba(212, 185, 140, 0.18);
        border-radius: 4px;
        font-size: 10px;
        line-height: 1.1;
        text-align: center;
        white-space: normal;
    }

    .nav-status,
    .lang-switch {
        justify-self: end;
        min-height: 34px;
        padding: 0 8px;
        font-size: 10px;
    }

    .lang-switch {
        grid-column: 2;
        width: auto;
        gap: 6px;
    }

    .lang-switch select {
        min-width: 46px;
        font-size: 10px;
    }

    .war-layout,
    .page-shell,
    footer {
        width: calc(100% - 20px);
    }

    .war-layout {
        padding-top: 12px;
    }

    .war-hero {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 26px 16px 18px;
        border-radius: 7px;
        background:
            linear-gradient(180deg, rgba(14, 16, 20, 0.9) 0%, rgba(14, 16, 20, 0.76) 54%, rgba(14, 16, 20, 0.92) 100%),
            url("../img/vampire-hero-fresh.jpg") 62% center / auto 100% no-repeat;
    }

    .hero-copy,
    .lead {
        max-width: 100%;
    }

    .eyebrow {
        font-size: 10px;
    }

    h1 {
        font-size: clamp(34px, 10vw, 48px);
        line-height: 1.02;
    }

    .lead {
        font-size: 13px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-stats,
    .feature-strip,
    .warfront-grid,
    .warfront-main,
    .warfront-side,
    .feature-cards,
    .download-grid,
    .store-grid,
    .account-grid,
    .content-grid,
    .stats-row,
    .features {
        grid-template-columns: 1fr !important;
    }

    .hero-stats article {
        min-height: 86px;
        padding: 16px;
    }

    .hero-stats strong {
        font-size: 32px;
    }

    .feature-strip {
        gap: 10px;
        margin: 12px 0;
    }

    .feature-strip article {
        min-height: 0;
        grid-template-columns: 42px 1fr;
        gap: 12px;
        padding: 14px;
    }

    .feature-strip article > span {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .panel {
        padding: 14px;
    }

    .panel-head {
        gap: 10px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .panel-head h2 {
        font-size: 18px;
    }

    .news-row {
        grid-template-columns: auto 1fr;
        gap: 8px;
    }

    .news-row time {
        grid-column: 2;
    }

    .event-item {
        grid-template-columns: 64px 1fr;
    }

    .server-state {
        min-height: 84px;
    }

    .server-state strong {
        font-size: 28px;
    }

    .social-dock {
        left: 8px;
        gap: 8px;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

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

    .support-chat {
        right: 10px;
        bottom: 64px;
        min-height: 36px;
        padding: 0 10px;
        font-size: 10px;
    }

    .music-toggle {
        right: 10px;
        bottom: 14px;
        min-height: 36px;
        padding: 0 10px;
        font-size: 10px;
    }

    .captcha-box {
        max-width: 304px;
        padding-inline: 0;
    }
}

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

    .nav-wrap {
        grid-template-columns: 86px 1fr;
    }

    .logo,
    .logo img {
        width: 86px;
    }

    h1 {
        font-size: 32px;
    }

    .captcha-box {
        max-width: 278px;
        min-height: 76px;
    }

    .captcha-box .g-recaptcha {
        transform: scale(0.9);
    }
}
