@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: #03070d;
    --navy: #07111d;
    --navy-2: #0c1a2a;
    --panel: rgba(8, 18, 30, 0.9);
    --panel-2: rgba(8, 18, 30, 0.95);
    --line: rgba(207, 147, 42, 0.72);
    --line-soft: rgba(207, 147, 42, 0.24);
    --gold: #f0bd45;
    --gold-2: #9c630d;
    --blue: #075aa4;
    --blue-2: #0d2a53;
    --ink: #ecf4ff;
    --text: #ecf4ff;
    --muted: #b9c3d1;
    --green: #55e05f;
    --danger: #ff6767;
}

* {
    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(3, 7, 13, 0.68), rgba(3, 7, 13, 0.96)),
        radial-gradient(circle at 72% 18%, rgba(7, 90, 164, 0.16), transparent 30%),
        url("../img/hero-conquer-oranors.jpg") center top / cover no-repeat,
        #03070d;
    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(255, 191, 74, 0.2), transparent 22%),
        radial-gradient(circle at 72% 82%, rgba(240, 189, 69, 0.18), transparent 24%),
        linear-gradient(90deg, rgba(6, 1, 1, 0.95) 0%, rgba(18, 5, 5, 0.66) 44%, rgba(18, 5, 5, 0.42) 100%),
        radial-gradient(circle at 18% 78%, rgba(7, 90, 164, 0.12), 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(255, 209, 93, 0.9) 0 1px, transparent 3px),
        radial-gradient(circle at 42% 76%, rgba(255, 119, 38, 0.75) 0 1px, transparent 3px),
        radial-gradient(circle at 70% 88%, rgba(255, 191, 74, 0.72) 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(207, 147, 42, 0.12) 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(3, 7, 13, 0.98), rgba(3, 7, 13, 0.96)),
        radial-gradient(circle at 72% 0, rgba(240, 189, 69, 0.18), transparent 35%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
    overflow-x: clip;
}

.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, #fff8df 0%, #f5c75a 38%, #8b5308 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: #f1d48a;
    font: 800 9px/1.2 var(--font-body);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.tagline {
    color: #ffd66a;
    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(--gold), 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(8, 18, 30, 0.94), rgba(5, 11, 20, 0.96)),
        radial-gradient(circle at 100% 0, rgba(207, 147, 42, 0.14), transparent 35%);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), 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: #fff0b8;
    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: 72px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
    direction: ltr;
    background: transparent;
}

.main-nav {
    min-height: 72px;
    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: 72px;
    padding: 0 clamp(10px, 1.1vw, 18px);
    display: grid;
    place-items: center;
    border-inline-start: 1px solid rgba(207, 147, 42, 0.24);
    color: #fff;
    font: 800 13px/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: 1px solid rgba(207, 147, 42, 0.24);
}

.main-nav a:hover,
.main-nav a.active {
    border-color: var(--line);
    background: linear-gradient(180deg, rgba(56, 12, 10, 0.98), rgba(22, 5, 5, 0.96));
    color: #fff6cf;
    box-shadow: inset 0 0 0 1px rgba(255, 191, 74, 0.7);
}

.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(15, 5, 5, 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: #07111d;
    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(207, 147, 42, 0.62);
    border-radius: 6px;
    background: rgba(15, 5, 5, 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: 54px 0 28px;
}

.war-hero {
    min-height: 430px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: end;
    padding: 68px 64px 38px;
    border-bottom: 1px solid rgba(207, 147, 42, 0.38);
    background:
        linear-gradient(90deg, rgba(3, 7, 13, 0.96) 0%, rgba(18, 5, 5, 0.72) 47%, rgba(18, 5, 5, 0.3) 100%),
        url("../img/hero-conquer-oranors.jpg") center / cover no-repeat;
    background-size: 100% 100%, 112% auto;
}

.hero-copy {
    max-width: 720px;
}

.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(42px, 4vw, 70px);
}

.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: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 28px;
    border: 1px solid var(--line);
    border-radius: 5px;
    color: #fff;
    font: 900 14px/1.1 var(--font-body);
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 0.15s ease;
}

.button:hover,
.discord-button:hover {
    filter: brightness(1.06);
}

.button.red,
.button.gold {
    background: linear-gradient(180deg, #ffe082, #b5720d 58%, #6e4105);
}

.button.blue,
.button.steel,
.discord-button {
    background: linear-gradient(180deg, #f6d371, #9c630d 56%, #5a3707);
}

.button.ghost {
    background: linear-gradient(180deg, rgba(20, 34, 48, 0.72), rgba(6, 13, 22, 0.86));
}

.button.full {
    width: 100%;
}

.hero-rank {
    align-self: stretch;
    min-height: 315px;
    padding: 22px;
}

.top-players-panel {
    min-height: 0;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(207, 147, 42, 0.38);
}

.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: #fff3bf;
    background: linear-gradient(180deg, #b57a18, #5d3807);
    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: #d94d25;
    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(255, 191, 74, 0.45);
    border-radius: 6px;
    background:
        linear-gradient(135deg, rgba(7, 90, 164, 0.22), rgba(156, 99, 13, 0.16)),
        rgba(18, 5, 5, 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(207, 147, 42, 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(207, 147, 42, 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(207, 147, 42, 0.38);
    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(207, 147, 42, 0.68);
    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(255, 191, 74, 0.16);
}

.notice {
    padding: 12px 14px;
    border: 1px solid rgba(207, 147, 42, 0.44);
    border-radius: 5px;
    background: rgba(255, 191, 74, 0.1);
    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(255, 191, 74, 0.35);
    color: var(--gold);
    background: rgba(255, 191, 74, 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(255, 191, 74, 0.58);
    border-radius: 6px;
    color: #fff6d9;
    background: linear-gradient(180deg, rgba(255, 191, 74, 0.16), rgba(18, 5, 5, 0.86));
    box-shadow: inset 0 0 18px rgba(255, 191, 74, 0.08), 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(207, 147, 42, 0.44);
    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(15, 5, 5, 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(207, 147, 42, 0.62);
    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);
}

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;
    }

    .stats-row,
    .content-grid,
    .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,
    .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;
    }

    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);
    }
}
