/* Visual system based on the approved MYEBASHIM dashboard mockup. */
:root {
    --background: #070808;
    --background-secondary: #0a0b0b;
    --surface: #0b0c0c;
    --surface-light: #101111;
    --surface-strong: #151616;
    --red: #d3121d;
    --red-dark: #76060c;
    --red-light: #f0202d;
    --text: #e8e8e8;
    --text-muted: #7d7f80;
    --text-soft: #b4b5b6;
    --border: rgba(255, 255, 255, 0.075);
    --border-strong: rgba(255, 255, 255, 0.13);
    --container: 1180px;
    --header-height: 74px;
    --radius-sm: 2px;
    --radius: 3px;
    --radius-lg: 4px;
    --font-display: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
}

body {
    background: #070808;
}

body::before {
    opacity: 0.08;
}

.reveal,
.reveal.is-visible {
    transform: none;
    opacity: 1;
}

.container {
    width: min(calc(100% - 36px), var(--container));
}

.button {
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 2px;
    font-family: var(--font-display);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
}

.button--compact {
    min-height: 38px;
    padding: 9px 16px;
}

/* Header */
.site-header {
    height: var(--header-height);
    border-color: rgba(255, 255, 255, 0.045);
    background: rgba(7, 8, 8, 0.96);
    backdrop-filter: blur(15px);
}

.site-header__inner {
    gap: 28px;
}

.brand {
    gap: 9px;
}

.brand__skull {
    width: 43px;
    height: 43px;
    flex: 0 0 auto;
    color: var(--red);
    filter: drop-shadow(0 0 10px rgba(211, 18, 29, 0.22));
}

.brand__stack {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand__text {
    color: #e9e9e9;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 0.9;
}

.brand__text span {
    color: var(--red);
}

.brand__stack small {
    margin-top: 5px;
    color: var(--red);
    font-family: var(--font-display);
    font-size: 0.47rem;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.main-nav {
    min-width: 0;
    justify-content: center;
}

.main-nav__links {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.main-nav__link {
    display: inline-flex;
    height: var(--header-height);
    align-items: center;
    padding: 2px 11px 0;
    color: #9a9b9c;
    font-family: var(--font-display);
    font-size: 0.67rem;
    letter-spacing: 0.025em;
}

.main-nav__link::after {
    right: 11px;
    bottom: 0;
    left: 11px;
    height: 2px;
}

.main-nav__link:hover,
.main-nav__link.is-active {
    color: var(--red-light);
}

.header-actions {
    gap: 5px;
}

.header-utility {
    position: relative;
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    color: #8a8b8c;
    font-size: 0.82rem;
}

.header-utility:hover {
    color: var(--red-light);
}

.header-utility b {
    position: absolute;
    top: -2px;
    right: -2px;
    display: grid;
    min-width: 15px;
    height: 15px;
    place-items: center;
    border-radius: 10px;
    background: var(--red);
    color: #fff;
    font-size: 0.53rem;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 0 7px;
    border: 0;
    background: transparent;
}

.user-chip .avatar {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(145deg, #343536, #111);
    color: #fff;
    font-size: 0.72rem;
}

.user-chip__copy {
    display: flex;
    flex-direction: column;
}

.user-chip__copy small,
.user-chip__copy strong {
    font-family: var(--font-display);
    line-height: 1;
    text-transform: uppercase;
}

.user-chip__copy small {
    color: var(--red-light);
    font-size: 0.55rem;
    font-weight: 800;
}

.user-chip__copy strong {
    max-width: 82px;
    margin-top: 4px;
    overflow: hidden;
    color: #9b9c9d;
    font-size: 0.57rem;
    text-overflow: ellipsis;
}

.mobile-account-nav {
    display: none;
}

/* Homepage hero */
.home-dashboard main {
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 18%, rgba(159, 0, 11, 0.08), transparent 32rem),
        #070808;
}

.mb-home-hero {
    position: relative;
    min-height: 386px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.045);
    isolation: isolate;
}

.mb-home-hero::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    background: url("../images/hero-battlefield.png") 62% 54% / cover no-repeat;
    filter: saturate(0.82) contrast(1.08);
}

.mb-home-hero::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        linear-gradient(90deg, rgba(7, 8, 8, 0.98) 0%, rgba(7, 8, 8, 0.88) 30%, rgba(7, 8, 8, 0.35) 62%, rgba(7, 8, 8, 0.75) 100%),
        linear-gradient(180deg, rgba(7, 8, 8, 0.18), rgba(7, 8, 8, 0.62));
}

.mb-home-hero__grid {
    display: grid;
    min-height: 386px;
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: center;
    gap: 48px;
    padding-block: 31px;
}

.mb-home-hero__copy {
    align-self: center;
}

.mb-accent-line {
    display: block;
    width: 38px;
    height: 4px;
    margin-bottom: 18px;
    background: var(--red);
}

.mb-home-hero h1 {
    margin: 0;
    color: #ececec;
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 5.2vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 0.9;
    text-transform: uppercase;
}

.mb-home-hero__subtitle,
.mb-home-hero__tagline {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.mb-home-hero__subtitle {
    margin-top: 18px;
    color: var(--red-light);
    font-size: 1.12rem;
}

.mb-home-hero__tagline {
    margin-top: 10px;
    color: #8e9091;
    font-size: 1.15rem;
}

.mb-home-hero__actions {
    display: flex;
    gap: 15px;
    margin-top: 27px;
}

.mb-home-hero__actions .button {
    min-width: 170px;
}

/* Live server card */
.mb-server-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(6, 7, 7, 0.9);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.38);
}

.mb-server-card__head {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 17px;
    border-bottom: 1px solid var(--border);
}

.mb-server-card__head > strong {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #c0c1c2;
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mb-server-card__head > div {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.mb-server-card__head b {
    color: #e8e8e8;
    font-family: var(--font-display);
    font-size: 1.3rem;
    line-height: 1;
}

.mb-server-card__head small {
    margin-top: 4px;
    color: #747576;
    font-family: var(--font-display);
    font-size: 0.53rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mb-server-card__body {
    padding: 15px;
}

.mb-server-card__meta {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 18px;
}

.mb-server-card__meta > div {
    min-width: 0;
}

.mb-server-card__meta span {
    display: block;
    margin-bottom: 5px;
    color: #626465;
    font-family: var(--font-display);
    font-size: 0.55rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mb-server-card__meta button,
.mb-server-card__meta strong {
    display: block;
    max-width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: none;
    color: #c1c2c3;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mb-server-card__meta i {
    margin-left: 4px;
    color: #727475;
    font-style: normal;
}

.mb-server-card__map {
    position: relative;
    height: 104px;
    margin-top: 13px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.25), transparent),
        var(--map-image) center / cover no-repeat;
}

.mb-server-card__map::after {
    position: absolute;
    inset: 0;
    content: "";
    box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.38);
}

.mb-server-card__map > span {
    position: absolute;
    right: 9px;
    bottom: 8px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 7px 9px;
    background: rgba(5, 6, 6, 0.83);
    text-align: right;
}

.mb-server-card__map small {
    color: #797b7c;
    font-size: 0.48rem;
    text-transform: uppercase;
}

.mb-server-card__map strong {
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.83rem;
}

.mb-server-card__button {
    width: 100%;
    min-height: 43px;
    margin-top: 13px;
    border-color: rgba(211, 18, 29, 0.65);
    color: var(--red-light);
}

/* Feature row */
.mb-features {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 20px;
    border: 1px solid var(--border);
    background: #080909;
}

.mb-feature {
    position: relative;
    min-width: 0;
    padding: 24px 19px 25px;
    text-align: center;
}

.mb-feature + .mb-feature::before {
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 0;
    width: 1px;
    content: "";
    background: var(--border);
}

.mb-feature__icon {
    display: block;
    height: 38px;
    margin-bottom: 9px;
    color: var(--red-light);
    font-size: 2rem;
    line-height: 38px;
}

.mb-feature__icon::before { font-family: Arial, sans-serif; }
.mb-feature__icon--voice::before { content: "♩"; }
.mb-feature__icon--community::before { content: "♙♙"; font-size: 1.5rem; letter-spacing: -0.25em; }
.mb-feature__icon--shield::before { content: "◇"; }
.mb-feature__icon--rank::before { content: "≋"; }
.mb-feature__icon--cup::before { content: "♜"; }

.mb-feature h2,
.mb-panel h2,
.mb-benefits h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 1.1;
    text-transform: uppercase;
}

.mb-feature h2 {
    color: var(--red-light);
}

.mb-feature p {
    max-width: 150px;
    margin: 7px auto 0;
    color: #858788;
    font-size: 0.68rem;
    line-height: 1.55;
}

/* Dashboard panels */
.mb-dashboard {
    display: grid;
    grid-template-columns: 1.09fr 0.73fr 1.05fr;
    gap: 14px;
    margin-top: 18px;
}

.mb-panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(9, 10, 10, 0.86);
}

.mb-panel__head {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
}

.mb-panel__head h2 {
    color: #d6d6d6;
    font-size: 0.94rem;
}

.mb-panel__head > a,
.mb-panel__head > span {
    color: #696b6c;
    font-family: var(--font-display);
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mb-panel__head > a:hover {
    color: var(--red-light);
}

.mb-panel__head > strong {
    color: var(--red-light);
    font-family: var(--font-display);
    font-size: 0.78rem;
}

.mb-ranking-head {
    display: grid;
    grid-template-columns: 1fr 68px 45px;
    padding: 6px 13px;
    color: #555758;
    font-size: 0.52rem;
    text-align: right;
    text-transform: uppercase;
}

.mb-ranking-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mb-ranking-list li {
    display: grid;
    min-height: 39px;
    grid-template-columns: 22px 27px minmax(0, 1fr) 68px 45px;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.043);
}

.mb-ranking-list li:nth-child(-n+3) .mb-rank-number,
.mb-ranking-list li b {
    color: var(--red-light);
}

.mb-rank-number {
    color: #9b9c9d;
    font-family: var(--font-display);
    font-size: 0.73rem;
    text-align: center;
}

.mb-avatar {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 36%, #4d4f50 0 18%, #242526 19% 40%, #111 41%);
    color: #ddd;
    font-family: var(--font-display);
    font-size: 0.52rem;
}

.mb-ranking-list strong,
.mb-ranking-list b,
.mb-ranking-list li > span:last-child {
    min-width: 0;
    overflow: hidden;
    font-family: var(--font-display);
    font-size: 0.67rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mb-ranking-list b,
.mb-ranking-list li > span:last-child {
    text-align: right;
}

.mb-ranking-list li > span:last-child {
    color: #a0a1a2;
}

.mb-season-prize {
    display: flex;
    height: 70px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 17px;
    border-top: 1px solid var(--border);
    background: linear-gradient(90deg, rgba(127, 0, 8, 0.06), rgba(255, 255, 255, 0.015));
}

.mb-season-prize > div {
    display: flex;
    flex-direction: column;
}

.mb-season-prize span {
    color: #888a8b;
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mb-season-prize strong {
    color: var(--red-light);
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
}

.mb-money {
    transform: rotate(-8deg);
    color: #b9b3a3 !important;
    font-size: 1.7rem !important;
    letter-spacing: -0.25em !important;
    text-shadow: 4px 4px 0 #4d493e, 8px 8px 0 #28261f;
}

.mb-countdown {
    display: grid;
    min-height: 45px;
    grid-template-columns: minmax(90px, 1fr) repeat(4, 41px);
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-top: 1px solid var(--border);
}

.mb-countdown > span,
.mb-countdown small {
    color: #666869;
    font-size: 0.5rem;
    text-transform: uppercase;
}

.mb-countdown > div {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.mb-countdown strong {
    color: var(--red-light);
    font-family: var(--font-display);
    font-size: 0.85rem;
    line-height: 1;
}

.mb-online-list {
    min-height: 263px;
    margin: 0;
    padding: 8px 12px 5px;
    list-style: none;
}

.mb-online-list li {
    display: grid;
    min-height: 34px;
    grid-template-columns: 27px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}

.mb-online-list strong,
.mb-online-list time {
    overflow: hidden;
    font-family: var(--font-display);
    font-size: 0.64rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mb-online-list time {
    color: #696b6c;
}

.mb-online-empty {
    display: flex !important;
    height: 220px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mb-online-empty p {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.mb-online-empty small {
    margin-top: 5px;
    color: #696b6c;
    font-size: 0.58rem;
}

.mb-panel__button {
    width: calc(100% - 24px);
    min-height: 39px;
    margin: 0 12px 12px;
    border-color: rgba(211, 18, 29, 0.55);
    color: var(--red-light);
}

.mb-news-list {
    display: grid;
}

.mb-news-list > a {
    position: relative;
    display: grid;
    min-height: 105px;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
    padding: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.045);
}

.mb-news-list > a:first-child {
    border-top: 0;
}

.mb-news-thumb {
    min-height: 78px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.25), transparent),
        url("../images/hero-battlefield.png") var(--news-position, 65%) center / cover no-repeat;
}

.mb-news-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
}

.mb-news-copy i {
    align-self: flex-start;
    margin-bottom: 4px;
    padding: 2px 5px;
    background: var(--red);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.48rem;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
}

.mb-news-copy strong {
    padding-right: 50px;
    overflow: hidden;
    color: #bfc0c1;
    font-family: var(--font-display);
    font-size: 0.67rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.mb-news-copy small {
    display: -webkit-box;
    margin-top: 5px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #6f7172;
    font-size: 0.57rem;
    line-height: 1.4;
}

.mb-news-list time {
    position: absolute;
    top: 17px;
    right: 13px;
    color: var(--red-light);
    font-family: var(--font-display);
    font-size: 0.48rem;
}

/* Shop and advantages */
.mb-lower-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 14px;
    margin-top: 18px;
}

.mb-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 12px;
}

.mb-product {
    display: flex;
    min-width: 0;
    min-height: 191px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.055);
    text-align: center;
}

.mb-product + .mb-product {
    border-left: 0;
}

.mb-product > span {
    height: 44px;
    color: var(--red-light);
    font-size: 2.1rem;
    line-height: 44px;
}

.mb-product strong {
    margin-top: 6px;
    color: #d5d5d5;
    font-family: var(--font-display);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.mb-product small {
    margin-top: 7px;
    color: #747677;
    font-size: 0.52rem;
    text-transform: uppercase;
}

.mb-product b {
    margin-top: 3px;
    color: var(--red-light);
    font-family: var(--font-display);
    font-size: 0.65rem;
    text-transform: uppercase;
}

.mb-product a {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 7px 6px;
    border: 1px solid rgba(211, 18, 29, 0.58);
    color: var(--red-light);
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
}

.mb-product a:hover {
    background: var(--red);
    color: #fff;
}

.mb-benefits {
    position: relative;
    min-height: 252px;
    isolation: isolate;
}

.mb-benefits::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    background: url("../images/hero-battlefield.png") 81% center / cover no-repeat;
}

.mb-benefits::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: linear-gradient(90deg, rgba(8, 9, 9, 0.99) 0%, rgba(8, 9, 9, 0.88) 53%, rgba(8, 9, 9, 0.1));
}

.mb-benefits__copy {
    max-width: 63%;
    padding: 22px 19px;
}

.mb-benefits h2 {
    margin-bottom: 18px;
    color: #d7d7d7;
    font-size: 1rem;
}

.mb-benefits ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mb-benefits li {
    position: relative;
    padding-left: 18px;
    color: #a1a3a4;
    font-size: 0.65rem;
}

.mb-benefits li::before {
    position: absolute;
    top: 0.08em;
    left: 0;
    display: grid;
    width: 11px;
    height: 11px;
    place-items: center;
    border-radius: 50%;
    content: "✓";
    background: var(--red);
    color: #fff;
    font-size: 0.47rem;
    font-weight: 900;
}

/* Community chat stays below the mockup dashboard. */
.mb-chat-section {
    margin-top: 18px;
    margin-bottom: 28px;
    border: 1px solid var(--border);
    background: #090a0a;
}

.mb-chat-section .community-chat,
.mb-chat-section .chat-locked {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.mb-chat-section .chat-stream {
    height: min(360px, 52vh);
}

/* Footer */
.site-footer {
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
    background: #090a0a;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.22fr 0.65fr 0.75fr 0.95fr 1.1fr;
    gap: 0;
    padding-block: 27px 25px;
}

.site-footer__grid > div {
    min-width: 0;
    padding: 0 22px;
    border-left: 1px solid var(--border);
}

.site-footer__grid > div:first-child {
    padding-left: 0;
    border-left: 0;
}

.site-footer__grid > div:last-child {
    padding-right: 0;
}

.site-footer .brand__skull {
    width: 39px;
    height: 39px;
}

.site-footer .brand__text {
    font-size: 1.35rem;
}

.footer-brand > p {
    max-width: 245px;
    margin: 16px 0 0;
    color: #77797a;
    font-size: 0.63rem;
    line-height: 1.55;
}

.footer-socials {
    display: flex;
    gap: 7px;
    margin-top: 16px;
}

.footer-socials a {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: #161717;
    color: #8d8f90;
    font-size: 0.62rem;
    font-weight: 800;
}

.footer-socials a:hover {
    background: var(--red);
    color: #fff;
}

.footer-title {
    margin: 0 0 15px;
    color: #d2d2d2;
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.footer-links {
    gap: 6px;
}

.footer-links a,
.footer-support p {
    color: #77797a;
    font-size: 0.62rem;
    line-height: 1.45;
}

.footer-support p {
    margin: 0 0 14px;
}

.footer-support p a:hover {
    color: var(--red-light);
}

.footer-support .button {
    width: 100%;
    min-height: 34px;
    padding: 8px 10px;
    font-size: 0.56rem;
}

.footer-status {
    display: flex;
    flex-direction: column;
}

.footer-status__ip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px 11px;
    border: 1px solid var(--border);
    background: #0c0d0d;
    color: #a6a8a9;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 0.64rem;
}

.footer-status > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 1px;
    color: #67696a;
    font-size: 0.57rem;
}

.footer-status > div strong {
    color: #a3a5a6;
    font-family: var(--font-display);
    font-size: 0.62rem;
}

.footer-status > div:first-of-type strong {
    color: #5fd36d;
}

.footer-status__online {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #5fd36d !important;
}

.footer-status__online .status-dot {
    width: 5px;
    height: 5px;
    box-shadow: none;
}

.site-footer__bottom {
    padding-block: 13px;
    color: #505253;
    font-size: 0.56rem;
}

.site-footer__bottom span {
    color: var(--red-light);
    font-size: 0.8rem;
}

/* Inner pages inherit the same compact visual language. */
body:not(.home-dashboard) .page-hero {
    min-height: 270px;
    padding-block: 62px;
    background:
        linear-gradient(90deg, rgba(7, 8, 8, 0.98), rgba(7, 8, 8, 0.65)),
        url("../images/hero-battlefield.png") 62% 48% / cover no-repeat;
}

body:not(.home-dashboard) .section-shell {
    padding-block: clamp(50px, 6vw, 82px);
}

body:not(.home-dashboard) .data-panel,
body:not(.home-dashboard) .content-card,
body:not(.home-dashboard) .aside-card,
body:not(.home-dashboard) .info-card,
body:not(.home-dashboard) .server-monitor {
    border-radius: 3px;
}

/* Responsive layout */
@media (min-width: 1081px) {
    .main-nav {
        position: static;
        display: flex;
        width: auto;
        height: auto;
        padding: 0;
        overflow: visible;
        transform: none;
        border: 0;
        background: transparent;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }
    .main-nav__links { display: flex; }
    .header-actions { display: flex; }
    .menu-toggle { display: none; }
}

@media (max-width: 1180px) {
    .site-header__inner { gap: 16px; }
    .brand__skull { width: 38px; height: 38px; }
    .brand__text { font-size: 1.35rem; }
    .main-nav__link { padding-inline: 8px; font-size: 0.62rem; }
    .main-nav__link::after { right: 8px; left: 8px; }
    .header-utility { display: none; }
}

@media (max-width: 1080px) {
    .site-header__inner { justify-content: space-between; }
    .main-nav {
        position: fixed;
        top: var(--header-height);
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 110;
        display: none;
        overflow-y: auto;
        padding: 20px;
        transform: none;
        background: rgba(6, 7, 7, 0.985);
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }
    .main-nav.is-open { display: block; }
    .main-nav__links { display: grid; }
    .main-nav__link {
        height: auto;
        min-height: 48px;
        justify-content: space-between;
        padding: 13px 8px;
        border-bottom: 1px solid var(--border);
        font-size: 0.85rem;
    }
    .main-nav__link::after { display: none; }
    .mobile-account-nav { display: grid; margin-top: 18px; }
    .mobile-account-nav a,
    .mobile-account-nav form {
        display: flex;
        min-height: 47px;
        align-items: center;
        justify-content: space-between;
        padding: 10px 8px;
        border-bottom: 1px solid var(--border);
        color: #8b8d8e;
        font-size: 0.76rem;
    }
    .mobile-account-nav button { padding: 0; border: 0; background: transparent; color: var(--red-light); cursor: pointer; text-transform: uppercase; }
    .header-actions { margin-left: auto; }
    .menu-toggle { display: grid; border-radius: 2px; }
    .mb-home-hero__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; }
    .mb-dashboard { grid-template-columns: 1fr 1fr; }
    .mb-news-panel { grid-column: 1 / -1; }
    .mb-news-list { grid-template-columns: repeat(3, 1fr); }
    .mb-news-list > a { grid-template-columns: 90px minmax(0, 1fr); border-top: 0; border-left: 1px solid var(--border); }
    .mb-news-list > a:first-child { border-left: 0; }
    .site-footer__grid { grid-template-columns: 1.2fr repeat(2, 0.8fr); }
    .site-footer__grid > div { border-left: 0; padding: 18px; }
    .site-footer__grid > div:first-child { padding-left: 18px; }
    .footer-support, .footer-status { border-top: 1px solid var(--border) !important; }
}

@media (max-width: 820px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .header-actions { display: none; }
    .mb-home-hero { min-height: auto; }
    .mb-home-hero__grid {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 28px;
        padding-block: 52px 32px;
    }
    .mb-home-hero::before { background-position: 73% center; }
    .mb-home-hero h1 { font-size: clamp(2.8rem, 11vw, 4.5rem); }
    .mb-home-hero__subtitle { font-size: 0.95rem; }
    .mb-home-hero__tagline { font-size: 0.92rem; }
    .mb-server-card { width: min(100%, 520px); }
    .mb-features { grid-template-columns: repeat(2, 1fr); }
    .mb-feature:last-child { grid-column: 1 / -1; }
    .mb-feature:nth-child(odd)::before { display: none; }
    .mb-feature { border-top: 1px solid var(--border); }
    .mb-feature:nth-child(-n+2) { border-top: 0; }
    .mb-dashboard { grid-template-columns: 1fr; }
    .mb-news-panel { grid-column: auto; }
    .mb-news-list { grid-template-columns: 1fr; }
    .mb-news-list > a { grid-template-columns: 108px minmax(0, 1fr); border-top: 1px solid var(--border); border-left: 0; }
    .mb-news-list > a:first-child { border-top: 0; }
    .mb-lower-grid { grid-template-columns: 1fr; }
    .mb-benefits { min-height: 280px; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .footer-brand, .footer-status { grid-column: 1 / -1; }
    .site-footer__grid > div { padding: 20px 12px; }
    .footer-brand > p { max-width: 460px; }
    .chat-locked { grid-template-columns: 1fr; text-align: center; }
    .chat-locked__mark { margin-inline: auto; }
    .chat-locked .hero__actions { justify-content: center; }
}

@media (max-width: 560px) {
    :root { --header-height: 66px; }
    .container { width: min(calc(100% - 22px), var(--container)); }
    .site-header__inner { gap: 10px; }
    .brand__skull { width: 34px; height: 34px; }
    .brand__text { font-size: 1.22rem; }
    .brand__stack small { font-size: 0.4rem; }
    .menu-toggle { width: 40px; height: 40px; }
    .mb-home-hero__grid { padding-block: 42px 24px; }
    .mb-accent-line { margin-bottom: 14px; }
    .mb-home-hero h1 { font-size: clamp(2rem, 9.5vw, 2.7rem); letter-spacing: -0.055em; white-space: nowrap; }
    .mb-home-hero__actions { display: grid; gap: 9px; }
    .mb-home-hero__actions .button { width: 100%; }
    .mb-server-card__head { padding-inline: 12px; }
    .mb-server-card__head b { font-size: 1.05rem; }
    .mb-server-card__body { padding: 12px; }
    .mb-server-card__meta { grid-template-columns: 1fr; gap: 10px; }
    .mb-server-card__map { height: 118px; }
    .mb-features { margin-top: 11px; }
    .mb-feature { padding: 20px 12px; }
    .mb-dashboard, .mb-lower-grid, .mb-chat-section { margin-top: 11px; }
    .mb-ranking-list li { grid-template-columns: 20px 25px minmax(0, 1fr) 58px 37px; gap: 5px; padding-inline: 9px; }
    .mb-ranking-head { grid-template-columns: 1fr 58px 37px; padding-inline: 10px; }
    .mb-countdown { grid-template-columns: 1fr repeat(4, 36px); padding-inline: 9px; }
    .mb-news-list > a { grid-template-columns: 86px minmax(0, 1fr); padding: 10px; }
    .mb-news-copy strong { padding-right: 0; white-space: normal; }
    .mb-news-list time { position: static; grid-column: 2; margin-top: -18px; text-align: right; }
    .mb-products { grid-template-columns: 1fr 1fr; }
    .mb-product:nth-child(3) { border-left: 1px solid var(--border); }
    .mb-product:nth-child(n+3) { border-top: 0; }
    .mb-benefits::after { background: linear-gradient(90deg, rgba(8, 9, 9, 0.99), rgba(8, 9, 9, 0.72)); }
    .mb-benefits__copy { max-width: 88%; }
    .mb-chat-section .mb-panel__head { align-items: flex-start; flex-direction: column; gap: 5px; }
    .chat-composer { grid-template-columns: 1fr; }
    .chat-message { max-width: 90%; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .footer-brand, .footer-status { grid-column: auto; }
    .site-footer__grid > div { padding: 18px 4px; border-top: 1px solid var(--border); }
    .site-footer__grid > div:first-child { padding-left: 4px; border-top: 0; }
    .site-footer__bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    .status-dot { animation: none; }
}

/* Home live top-5 alignment */
.mb-ranking-head--stats,.mb-ranking-list--stats li{grid-template-columns:20px 25px minmax(0,1fr) 94px 34px 34px!important;gap:7px!important;align-items:center}
.mb-ranking-head--stats span:first-child{grid-column:1/3}
.mb-ranking-head--stats span,.mb-ranking-list--stats li>*{min-width:0}
.mb-ranking-list--stats strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mb-ranking-list--stats .mb-player-rank{overflow:hidden;color:#d7d7d7!important;font-size:.66rem!important;text-align:left!important;text-overflow:ellipsis;white-space:nowrap}
.mb-ranking-list--stats .mb-player-kills,.mb-ranking-list--stats .mb-player-deaths{color:#fff;text-align:center}
@media(max-width:650px){.mb-ranking-head--stats,.mb-ranking-list--stats li{grid-template-columns:18px 23px minmax(0,1fr) 76px 28px 28px!important;gap:4px!important}.mb-ranking-list--stats .mb-player-rank{font-size:.58rem!important}}

/* === Live CS2 stats v6: fixed cards, home top and profile === */
.mb-stats-list{display:grid;gap:18px;margin-top:22px}
.mb-stat-card{overflow:hidden;border:1px solid rgba(255,255,255,.09);border-radius:3px;background:linear-gradient(115deg,rgba(226,19,35,.035),transparent 38%),#090a0c;box-shadow:0 18px 50px rgba(0,0,0,.22)}
.mb-stat-card.is-leader{border-color:rgba(226,19,35,.72);box-shadow:0 0 0 1px rgba(226,19,35,.08),0 22px 55px rgba(0,0,0,.32)}
.mb-stat-card__top{display:grid;grid-template-columns:52px 74px minmax(0,1fr) minmax(150px,220px);gap:16px;align-items:center;padding:20px 22px;border-bottom:1px solid rgba(255,255,255,.07)}
.mb-stat-card__place{display:grid;width:40px;height:40px;place-items:center;border:1px solid rgba(226,19,35,.5);color:#ff2638;font-family:var(--font-display);font-size:1.1rem;font-weight:900}
.mb-stat-card__avatar{width:64px!important;height:64px!important;border:1px solid rgba(255,255,255,.1);border-radius:2px!important;object-fit:cover}
.mb-stat-card__name{min-width:0}.mb-stat-card__name a{text-decoration:none}.mb-stat-card__name h2{overflow:hidden;margin:0 0 5px;color:#fff;font-size:1.25rem;text-overflow:ellipsis;white-space:nowrap}.mb-stat-card__name small{display:block;overflow:hidden;color:#74777d;font-size:.66rem;text-overflow:ellipsis;white-space:nowrap}
.mb-stat-card__rank{display:grid;justify-items:end;min-width:0;text-align:right}.mb-stat-card__rank span{color:#686b71;font-size:.58rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.mb-stat-card__rank strong{max-width:100%;overflow:hidden;margin-top:4px;color:#ff2739;font-family:var(--font-display);font-size:1rem;text-overflow:ellipsis;white-space:nowrap}.mb-stat-card__rank b{margin-top:2px;color:#f4f4f4;font-size:.76rem}
.mb-stat-card__metrics{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));background:rgba(255,255,255,.025)}
.mb-stat-card__metrics>div{display:grid;min-width:0;min-height:112px;align-content:center;justify-items:center;padding:14px 8px;border-left:1px solid rgba(255,255,255,.065);text-align:center}.mb-stat-card__metrics>div:first-child{border-left:0}.mb-stat-card__metrics span{display:grid;width:31px;height:31px;margin-bottom:8px;place-items:center;border:1px solid rgba(226,19,35,.34);background:rgba(226,19,35,.07);color:#ff3042;font-size:.9rem}.mb-stat-card__metrics small{min-height:24px;color:#70737a;font-size:.55rem;font-weight:900;letter-spacing:.055em;line-height:1.25;text-transform:uppercase}.mb-stat-card__metrics strong{overflow:hidden;max-width:100%;margin-top:4px;color:#fff;font-size:.82rem;text-overflow:ellipsis;white-space:nowrap}

/* Home Top-5: exact columns and no wrapping */
.mb-ranking-head--stats,.mb-ranking-list--stats li{display:grid!important;grid-template-columns:20px 28px minmax(0,1fr) 96px 30px 30px!important;gap:7px!important;align-items:center!important;padding-right:10px!important;padding-left:10px!important}
.mb-ranking-head--stats span:nth-child(1){grid-column:1/4!important;text-align:left!important}.mb-ranking-head--stats span:nth-child(2){grid-column:4!important;text-align:left!important}.mb-ranking-head--stats span:nth-child(3){grid-column:5!important;text-align:center!important}.mb-ranking-head--stats span:nth-child(4){grid-column:6!important;text-align:center!important}
.mb-ranking-list--stats li>*{min-width:0}.mb-ranking-list--stats strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mb-ranking-list--stats .mb-player-rank{overflow:hidden;color:#efefef!important;font-size:.61rem!important;text-align:left!important;text-overflow:ellipsis;white-space:nowrap}.mb-ranking-list--stats .mb-player-kills,.mb-ranking-list--stats .mb-player-deaths{display:block!important;color:#fff!important;font-size:.72rem!important;text-align:center!important;white-space:nowrap}

/* Profile live stats */
#stats .profile-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important;margin-top:18px}#stats .profile-stats .metric{min-width:0;padding:16px 12px;border:1px solid rgba(255,255,255,.075);background:#090a0c;text-align:left}#stats .profile-stats .metric span{display:block;color:#70737a;font-size:.58rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}#stats .profile-stats .metric strong{display:block;overflow:hidden;margin-top:7px;color:#fff;font-size:1rem;text-overflow:ellipsis;white-space:nowrap}

@media(max-width:980px){.mb-stat-card__metrics{grid-template-columns:repeat(4,1fr)}.mb-stat-card__metrics>div:nth-child(5){border-left:0;border-top:1px solid rgba(255,255,255,.065)}.mb-stat-card__metrics>div:nth-child(n+5){border-top:1px solid rgba(255,255,255,.065)}}
@media(max-width:700px){.mb-stat-card__top{grid-template-columns:42px 58px minmax(0,1fr);gap:10px;padding:15px}.mb-stat-card__avatar{width:52px!important;height:52px!important}.mb-stat-card__rank{grid-column:2/4;justify-items:start;padding-top:10px;border-top:1px solid rgba(255,255,255,.06);text-align:left}.mb-stat-card__metrics{grid-template-columns:repeat(2,1fr)}.mb-stat-card__metrics>div{min-height:96px;border-top:1px solid rgba(255,255,255,.065)}.mb-stat-card__metrics>div:nth-child(odd){border-left:0}.mb-ranking-head--stats,.mb-ranking-list--stats li{grid-template-columns:18px 24px minmax(0,1fr) 72px 25px 25px!important;gap:4px!important}.mb-ranking-list--stats .mb-player-rank{font-size:.53rem!important}#stats .profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
