:root {
    --bg: #101010;
    --bg-deep: #070808;
    --surface: #191918;
    --surface-strong: #22211f;
    --surface-soft: rgba(25, 25, 24, 0.78);
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.2);
    --text: #f4f0ea;
    --muted: #b8b0a6;
    --faint: #7e776f;
    --rust: #d65a22;
    --rust-strong: #f07724;
    --red: #bd2d28;
    --green: #4caf50;
    --blue: #66b7d9;
    --discord: #5865f2;
    --focus: #ffd27d;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.38);
    --max: 1180px;
    --radius: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: #0b0c0c;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background-color: #0b0c0c;
    background:
        radial-gradient(circle at 12% 18%, rgba(214, 90, 34, 0.16), transparent 26rem),
        linear-gradient(180deg, #141413 0%, var(--bg) 42%, #0b0c0c 100%);
    color: var(--text);
    font-family: "Montserrat", Arial, sans-serif;
    line-height: 1.55;
}

body.modal-open {
    overflow: hidden;
}

body.news-open,
body.invite-open,
body.binds-open,
body.report-open,
body.support-open {
    overflow: hidden;
}

a {
    color: inherit;
}

a,
button {
    font: inherit;
}

button {
    cursor: pointer;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

.electric-canvas {
    position: fixed;
    inset: 0;
    z-index: 96;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    mix-blend-mode: screen;
}

.electric-hotspot {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.electric-hotspot::before {
    content: none !important;
    display: none !important;
    background: none !important;
}

.electric-hotspot::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

.electric-hotspot.is-electric {
    border-color: rgba(129, 219, 255, 0.42);
    box-shadow: 0 0 0 1px rgba(129, 219, 255, 0.08);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 14px clamp(16px, 4vw, 50px);
    background: rgba(10, 10, 10, 0.86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.logo {
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
}

.logo span {
    color: var(--rust-strong);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 22px;
}

.nav-links a,
.footer-links a {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.footer-links a:hover {
    color: var(--text);
}

.nav-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.nav-discord-link,
.nav-rules-btn,
.lang-switcher button {
    min-height: 38px;
    border-radius: var(--radius);
}

.nav-discord-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(88, 101, 242, 0.42);
    background: rgba(88, 101, 242, 0.13);
    color: #e2e5ff;
    font-weight: 800;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-discord-link:hover {
    background: rgba(88, 101, 242, 0.24);
    border-color: rgba(88, 101, 242, 0.7);
    transform: translateY(-1px);
}

.nav-discord-link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.nav-rules-btn {
    padding: 7px 13px;
    border: 1px solid rgba(214, 90, 34, 0.48);
    background: rgba(214, 90, 34, 0.1);
    color: #ffd0b9;
    font-weight: 800;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-rules-btn:hover {
    background: rgba(214, 90, 34, 0.22);
    border-color: rgba(214, 90, 34, 0.78);
    transform: translateY(-1px);
}

.lang-switcher {
    display: flex;
    gap: 4px;
}

.lang-switcher button {
    min-width: 42px;
    padding: 6px 9px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lang-switcher button:hover,
.lang-switcher button.active {
    border-color: rgba(240, 119, 36, 0.7);
    background: rgba(240, 119, 36, 0.16);
    color: var(--text);
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(560px, 78vh, 760px);
    overflow: hidden;
    padding: 74px 20px 66px;
}

.hero-slides,
.hero-slide,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-slides {
    z-index: 1;
}

.hero-slide {
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.03);
}

.hero-slide:nth-child(1) {
    background-color: #1b2a1d;
    background-image:
        linear-gradient(135deg, rgba(31, 62, 36, 0.9), rgba(17, 24, 18, 0.38) 42%, rgba(94, 61, 26, 0.62)),
        url("images/bg-forest.jpg?v=2026-05-03-06");
    animation: fade1 24s infinite;
}

.hero-slide:nth-child(2) {
    background-color: #3b2b18;
    background-image:
        linear-gradient(135deg, rgba(82, 48, 20, 0.88), rgba(27, 22, 18, 0.38) 46%, rgba(34, 77, 86, 0.5)),
        url("images/bg-desert.jpg?v=2026-05-03-06");
    animation: fade2 24s infinite;
}

.hero-slide:nth-child(3) {
    background-color: #162333;
    background-image:
        linear-gradient(135deg, rgba(24, 49, 70, 0.88), rgba(12, 17, 21, 0.34) 48%, rgba(124, 142, 150, 0.42)),
        url("images/bg-snow.jpg?v=2026-05-03-06");
    animation: fade3 24s infinite;
}

.hero-slide:nth-child(4) {
    background-color: #14261a;
    background-image:
        linear-gradient(135deg, rgba(18, 54, 34, 0.88), rgba(10, 18, 13, 0.36) 42%, rgba(115, 84, 33, 0.48)),
        url("images/bg-jungle.jpg?v=2026-05-03-06");
    animation: fade4 24s infinite;
}

@keyframes fade1 {
    0%, 21% { opacity: 1; }
    26%, 96% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fade2 {
    0%, 21% { opacity: 0; }
    26%, 46% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes fade3 {
    0%, 46% { opacity: 0; }
    51%, 71% { opacity: 1; }
    76%, 100% { opacity: 0; }
}

@keyframes fade4 {
    0%, 71% { opacity: 0; }
    76%, 96% { opacity: 1; }
    100% { opacity: 0; }
}

.hero-overlay {
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(5, 6, 6, 0.9) 0%, rgba(5, 6, 6, 0.58) 48%, rgba(5, 6, 6, 0.82) 100%),
        linear-gradient(180deg, rgba(5, 6, 6, 0.08) 0%, var(--bg) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(280px, 29vw, 340px);
    align-items: end;
    gap: clamp(18px, 3vw, 34px);
    width: min(var(--max), 100%);
    margin: 0 auto;
}

.hero-main {
    max-width: 820px;
}

.hero-side {
    display: grid;
    align-self: end;
    gap: 12px;
    width: 100%;
}

.hero-chat-panel {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(42, 154, 131, 0.42);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(42, 149, 211, 0.12), rgba(42, 154, 131, 0.08)),
        rgba(10, 10, 9, 0.18);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(4px) saturate(1.2);
    -webkit-backdrop-filter: blur(4px) saturate(1.2);
}

.hero-chat-panel .news-popover-head {
    grid-template-columns: 1fr;
}

.hero-chat-panel .news-popover-head h2 {
    font-size: clamp(1.2rem, 1.9vw, 1.55rem);
}

.hero-chat-panel .news-popover-head p:last-child {
    margin-top: 6px;
    font-size: 0.82rem;
    line-height: 1.35;
}

.hero-chat-panel .chat-steam-card {
    margin-top: 12px;
    padding: 10px;
}

.hero-chat-panel .report-steam-card {
    grid-template-columns: 1fr;
    gap: 10px;
}

.hero-chat-panel .report-steam-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.hero-chat-panel .report-steam-actions .btn {
    min-height: 38px;
    width: 100%;
    min-width: 0;
    padding: 9px 10px;
}

.hero-chat-panel .player-chat-list {
    gap: 8px;
    max-height: 170px;
    margin-top: 12px;
}

.hero-chat-panel .player-chat-message,
.hero-chat-panel .player-chat-empty {
    padding: 9px 10px;
    border-radius: 8px;
}

.hero-chat-panel .player-chat-avatar {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
}

.hero-chat-panel .player-chat-name,
.hero-chat-panel .player-chat-text {
    font-size: 0.84rem;
}

.hero-chat-panel .player-chat-rank {
    max-width: 100%;
    font-size: 0.62rem;
}

.hero-chat-panel .player-chat-time {
    font-size: 0.68rem;
}

.hero-chat-panel .player-chat-form {
    gap: 8px;
    margin-top: 12px;
}

.hero-chat-panel .player-chat-form textarea {
    min-height: 62px;
    padding: 10px 11px;
    font-size: 0.86rem;
}

.hero-chat-panel .player-chat-form-row {
    grid-template-columns: 1fr;
    gap: 8px;
}

.hero-chat-panel .player-chat-form-row .btn {
    width: 100%;
    min-width: 0;
}

.hero-eyebrow,
.section-kicker {
    color: var(--rust-strong);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 760px;
    margin-top: 10px;
    font-size: clamp(3.1rem, 8vw, 7.6rem);
    font-weight: 900;
    line-height: 0.92;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.48);
}

.hero-lead {
    max-width: 720px;
    margin-top: 20px;
    color: #ded5ca;
    font-size: clamp(1rem, 2vw, 1.28rem);
    font-weight: 600;
}

.hero-tips {
    width: 100%;
    min-height: 205px;
    padding: 16px;
    border: 1px solid rgba(240, 119, 36, 0.34);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(12, 12, 11, 0.3), rgba(12, 12, 11, 0.1)),
        rgba(10, 10, 9, 0.14);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(3px) saturate(1.2);
    -webkit-backdrop-filter: blur(3px) saturate(1.2);
}

.tips-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.tips-head h2 {
    margin-top: 4px;
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    font-weight: 900;
    line-height: 1;
}

.tips-controls {
    display: flex;
    gap: 6px;
}

.tips-controls button {
    width: 31px;
    height: 31px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
}

.tips-controls button:hover {
    background: rgba(240, 119, 36, 0.18);
    border-color: rgba(240, 119, 36, 0.58);
}

.tips-viewport {
    margin-top: 12px;
    overflow: hidden;
}

.tips-track {
    display: flex;
    transition: transform 0.42s ease;
}

.tip-card {
    flex: 0 0 100%;
    min-width: 100%;
    padding-right: 4px;
}

.tip-category {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 8px;
    border: 1px solid rgba(76, 175, 80, 0.34);
    border-radius: 999px;
    background: rgba(76, 175, 80, 0.12);
    color: #bbf0bf;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.tip-card h3 {
    margin-top: 10px;
    color: var(--text);
    font-size: clamp(1.05rem, 1.7vw, 1.38rem);
    font-weight: 900;
    line-height: 1.08;
}

.tip-card p {
    margin-top: 8px;
    color: #f0e7dc;
    font-size: 0.88rem;
    font-weight: 650;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.58);
}

.tips-meta {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.tips-meta > span {
    color: var(--faint);
    font-size: 0.76rem;
    font-weight: 900;
}

.tips-progress {
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.tips-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: left center;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--rust-strong), var(--green));
}

.tips-progress span.running {
    animation-name: tipsProgress;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@keyframes tipsProgress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-actions-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 10px;
    width: min(720px, 100%);
    margin-top: 28px;
}

.hero-stat,
.trust-item,
.wipe-card,
.server-card,
.update-card {
    border: 1px solid var(--line);
    background: var(--surface-soft);
    backdrop-filter: blur(12px);
}

.hero-stat {
    min-height: 86px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(18, 18, 17, 0.24), rgba(18, 18, 17, 0.06)),
        rgba(10, 10, 9, 0.08);
    backdrop-filter: blur(2px) saturate(1.16);
    -webkit-backdrop-filter: blur(2px) saturate(1.16);
}

.hero-stat span,
.trust-item span,
.server-metrics dt,
.server-footnote,
.wipe-card span,
.update-date {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-stat strong {
    display: block;
    margin-top: 4px;
    color: var(--text);
    font-size: 1.65rem;
    font-weight: 900;
}

.hero-security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: min(100%, 520px);
    padding: 10px 14px;
    border: 1px solid rgba(111, 209, 154, 0.42);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(111, 209, 154, 0.14), rgba(109, 168, 255, 0.07)),
        rgba(10, 10, 9, 0.18);
    box-shadow: 0 0 24px rgba(111, 209, 154, 0.12);
    backdrop-filter: blur(4px) saturate(1.12);
    -webkit-backdrop-filter: blur(4px) saturate(1.12);
}

.security-badge-icon {
    position: relative;
    flex: 0 0 34px;
    width: 34px;
    height: 38px;
    border: 2px solid rgba(111, 209, 154, 0.85);
    border-radius: 14px 14px 18px 18px;
    background: rgba(111, 209, 154, 0.12);
}

.security-badge-icon::before {
    content: "";
    position: absolute;
    inset: 7px 8px 11px;
    border: solid #6fd19a;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.security-badge strong {
    display: block;
    color: #dfffea;
    font-size: 0.92rem;
    font-weight: 900;
    text-transform: uppercase;
}

.security-badge span {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border: 0;
    border-radius: var(--radius);
    color: #fff;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--red);
}

.btn-primary:hover {
    background: #d53931;
}

.btn-secondary {
    background: var(--rust);
}

.btn-secondary:hover {
    background: var(--rust-strong);
}

.btn-weekly {
    background: #2f8f39;
}

.btn-weekly:hover {
    background: #3fa94a;
}

.btn-discord {
    background: var(--discord);
}

.btn-discord:hover {
    background: #4752c4;
}

.btn-report,
#report-toggle.btn-report,
#report-submit.btn-report {
    background: #b8342d;
    color: #fff;
    box-shadow: 0 10px 28px rgba(184, 52, 45, 0.2);
}

.btn-report:hover,
.btn-report[aria-expanded="true"],
#report-toggle.btn-report:hover,
#report-toggle.btn-report[aria-expanded="true"],
#report-submit.btn-report:hover {
    background: #d14237;
    color: #fff;
}

.btn-chat {
    background: linear-gradient(135deg, #2480b9, #26a681);
    color: #fff;
    box-shadow: 0 10px 28px rgba(38, 166, 129, 0.18);
}

.btn-chat:hover,
.btn-chat[aria-expanded="true"] {
    background: linear-gradient(135deg, #2b95d3, #31bd94);
    color: #fff;
}

.btn-steam {
    background: linear-gradient(135deg, #1b2838, #284862);
}

.btn-steam:hover {
    background: linear-gradient(135deg, #213952, #315c7f);
}

.btn-copy,
.btn-ghost {
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.05);
}

.btn-copy:hover,
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-copy.copied {
    border-color: rgba(76, 175, 80, 0.75);
    background: rgba(76, 175, 80, 0.18);
}

.btn-support {
    background: var(--green);
}

.btn-support:hover {
    background: #3f9842;
}

.btn-news {
    background: #2f8f39;
    box-shadow: 0 10px 28px rgba(47, 143, 57, 0.22);
}

.btn-news:hover,
.btn-news[aria-expanded="true"] {
    background: #3fa94a;
}

.btn-invite {
    background: linear-gradient(135deg, #2d8f6b, #42b883);
    box-shadow: 0 10px 28px rgba(66, 184, 131, 0.22);
}

.btn-invite:hover,
.btn-invite[aria-expanded="true"],
.btn-invite.copied {
    background: linear-gradient(135deg, #35a87d, #56cf9b);
}

.btn-mapvote {
    background: linear-gradient(135deg, #2f9f70, #55c990);
    box-shadow: 0 10px 28px rgba(85, 201, 144, 0.2);
}

.btn-mapvote:hover,
.btn-mapvote[aria-expanded="true"] {
    background: linear-gradient(135deg, #38b17f, #68dfa7);
}

.btn-binds {
    background: #1f7a68;
    box-shadow: 0 10px 28px rgba(31, 122, 104, 0.2);
}

.btn-binds:hover,
.btn-binds[aria-expanded="true"] {
    background: #2a9a83;
}

.connect-toast {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 1200;
    width: min(620px, calc(100vw - 28px));
    padding: 14px 16px;
    border: 1px solid rgba(42, 154, 131, 0.55);
    border-radius: var(--radius);
    background: rgba(14, 18, 22, 0.94);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
    color: var(--text);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.connect-toast.open {
    opacity: 1;
    transform: translate(-50%, 0);
}

.connect-toast strong,
.connect-toast span {
    display: block;
}

.connect-toast strong {
    color: #8ff0c6;
    font-size: 0.95rem;
}

.connect-toast span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.88rem;
    overflow-wrap: anywhere;
}

.news-backdrop,
.invite-backdrop,
.binds-backdrop,
.chat-backdrop,
.report-backdrop,
.support-backdrop {
    position: fixed;
    inset: 0;
    z-index: 890;
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(7px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.news-backdrop.open,
.invite-backdrop.open,
.binds-backdrop.open,
.chat-backdrop.open,
.report-backdrop.open,
.support-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.news-popover,
.invite-popover,
.binds-popover,
.chat-popover,
.report-popover,
.support-popover {
    position: fixed;
    top: clamp(76px, 9vh, 118px);
    left: 50%;
    z-index: 900;
    width: min(760px, calc(100vw - 32px));
    max-height: calc(100vh - clamp(106px, 16vh, 170px));
    padding: clamp(18px, 3vw, 28px);
    overflow-y: auto;
    border: 1px solid rgba(76, 175, 80, 0.42);
    border-radius: var(--radius);
    background: rgba(13, 15, 13, 0.94);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -10px) scale(0.985);
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.news-popover {
    top: clamp(54px, 6vh, 86px);
    width: min(1040px, calc(100vw - 44px));
    max-height: calc(100dvh - clamp(76px, 10vh, 118px));
    padding: clamp(24px, 3.2vw, 38px);
}

.binds-popover {
    width: min(880px, calc(100vw - 32px));
    border-color: rgba(42, 154, 131, 0.48);
}

.invite-popover {
    width: min(820px, calc(100vw - 32px));
    border-color: rgba(66, 184, 131, 0.52);
    background:
        linear-gradient(135deg, rgba(45, 143, 107, 0.15), transparent 46%),
        rgba(13, 15, 13, 0.96);
}

.support-popover {
    width: min(920px, calc(100vw - 32px));
    border-color: rgba(76, 175, 80, 0.52);
}

.chat-popover {
    width: min(900px, calc(100vw - 32px));
    border-color: rgba(38, 166, 129, 0.52);
    background:
        linear-gradient(135deg, rgba(42, 149, 211, 0.13), transparent 42%),
        rgba(13, 15, 13, 0.97);
}

.report-popover {
    width: min(820px, calc(100vw - 32px));
    border-color: rgba(216, 66, 55, 0.52);
    background:
        linear-gradient(135deg, rgba(184, 52, 45, 0.14), transparent 42%),
        rgba(13, 15, 13, 0.97);
}

.report-popover .news-popover-head {
    align-items: start;
}

.report-popover h2 {
    overflow-wrap: anywhere;
}

.report-popover * {
    box-sizing: border-box;
}

.news-popover.open,
.invite-popover.open,
.binds-popover.open,
.chat-popover.open,
.report-popover.open,
.support-popover.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
    visibility: visible;
}

.news-popover-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
}

.news-popover-head h2 {
    margin-top: 4px;
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    font-weight: 900;
    line-height: 1;
}

.news-popover .news-popover-head h2 {
    font-size: clamp(2.35rem, 5vw, 4.2rem);
}

.news-popover-head p:last-child {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.news-popover .news-popover-head p:last-child {
    max-width: 760px;
    font-size: clamp(1.02rem, 1.4vw, 1.22rem);
    line-height: 1.45;
}

.news-close {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
}

.news-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text);
}

.binds-note {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(240, 119, 36, 0.24);
    border-radius: var(--radius);
    background: rgba(240, 119, 36, 0.08);
    color: #e9d8ca;
    font-size: 0.9rem;
    font-weight: 700;
}

.chat-steam-card {
    margin-top: 18px;
}

.player-chat-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    max-height: min(46vh, 430px);
    overflow-y: auto;
    padding-right: 6px;
}

.player-chat-message,
.player-chat-empty {
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    padding: 12px 14px;
}

.player-chat-message-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 7px;
}

.player-chat-avatar {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3d5668, #111);
    object-fit: cover;
}

.player-chat-name {
    color: #eaf7ff;
    font-weight: 900;
}

.player-chat-rank {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: min(260px, 45%);
    padding: 3px 7px;
    border: 1px solid rgba(240, 119, 36, 0.34);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(240, 119, 36, 0.14), rgba(139, 223, 255, 0.08)),
        rgba(255, 255, 255, 0.045);
    color: #f7d9b4;
    font-size: 0.7rem;
    font-weight: 900;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-chat-rank.unknown {
    border-color: rgba(160, 168, 176, 0.32);
    background: rgba(255, 255, 255, 0.045);
    color: #c9d1d8;
}

.player-chat-time {
    margin-left: auto;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.player-chat-text {
    color: var(--text);
    font-size: 0.96rem;
    font-weight: 650;
    line-height: 1.45;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.player-chat-form {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.player-chat-form textarea {
    width: 100%;
    min-height: 88px;
    resize: vertical;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    padding: 13px 14px;
    font: inherit;
    font-weight: 700;
}

.player-chat-form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.player-chat-form-row .btn {
    min-width: 150px;
}

.invite-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.invite-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(66, 184, 131, 0.28);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(66, 184, 131, 0.12), rgba(255, 255, 255, 0.035)),
        rgba(255, 255, 255, 0.035);
}

.invite-card span,
.invite-share-box label {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.invite-card strong {
    display: block;
    margin-top: 7px;
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: 1.12rem;
    font-weight: 900;
}

.invite-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.invite-share-box {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.invite-share-box textarea {
    width: 100%;
    min-height: 120px;
    padding: 13px;
    border: 1px solid rgba(66, 184, 131, 0.25);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.28);
    color: var(--text);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.45;
    resize: vertical;
}

.invite-share-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 10px;
}

.invite-share-actions .btn {
    width: 100%;
}

.invite-social-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.btn-social {
    width: 100%;
    border: 1px solid rgba(230, 230, 224, 0.18);
    background: rgba(230, 230, 224, 0.08);
    color: var(--text);
}

.btn-social:hover {
    border-color: rgba(66, 184, 131, 0.42);
    background: rgba(66, 184, 131, 0.14);
}

.binds-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.bind-card {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
}

.bind-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.bind-card h3 {
    color: var(--text);
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.15;
}

.bind-category {
    flex: 0 0 auto;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(76, 175, 80, 0.14);
    color: #c4f3c8;
    font-size: 0.66rem;
    font-weight: 900;
    text-transform: uppercase;
}

.bind-desc {
    margin-top: 9px;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 650;
}

.bind-command-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
    margin-top: 12px;
}

.bind-command-row code {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.32);
    color: #f5f0e9;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.82rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.bind-copy {
    min-width: 92px;
    border: 1px solid rgba(42, 154, 131, 0.5);
    border-radius: var(--radius);
    background: rgba(42, 154, 131, 0.16);
    color: #d7fff3;
    font-size: 0.8rem;
    font-weight: 900;
}

.bind-copy:hover,
.bind-copy.copied {
    background: rgba(42, 154, 131, 0.32);
    border-color: rgba(42, 154, 131, 0.88);
}

.report-steam-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid rgba(216, 66, 55, 0.34);
    border-radius: var(--radius);
    background: rgba(216, 66, 55, 0.08);
}

.report-steam-card span,
.report-form label span {
    display: block;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.report-steam-card strong {
    display: block;
    margin-top: 4px;
    color: var(--text);
    font-size: 0.95rem;
}

.report-steam-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.report-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.report-form label {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.report-form input,
.report-form select,
.report-form textarea {
    appearance: none;
    width: 100%;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font: inherit;
    font-weight: 700;
}

.report-form select option {
    background: #171716;
    color: #f6f2ec;
}

.report-form input,
.report-form select {
    min-height: 44px;
    padding: 10px 12px;
}

.report-form select {
    padding-right: 34px;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(246, 242, 236, 0.9) 50%),
        linear-gradient(135deg, rgba(246, 242, 236, 0.9) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 2px),
        calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.report-form textarea {
    min-height: 126px;
    padding: 12px;
    resize: vertical;
}

.report-form input:focus,
.report-form select:focus,
.report-form textarea:focus {
    border-color: rgba(216, 66, 55, 0.75);
    outline: 2px solid rgba(216, 66, 55, 0.16);
}

.report-form-wide,
.report-form-actions {
    grid-column: 1 / -1;
}

.report-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.report-status {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 750;
}

.report-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.report-form:not(.steam-ready) {
    opacity: 0.72;
}

.report-form button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--line);
}

.trust-item {
    min-height: 108px;
    padding: 22px clamp(16px, 3vw, 34px);
    border: 0;
    border-radius: 0;
    background:
        linear-gradient(135deg, rgba(25, 25, 24, 0.42), rgba(25, 25, 24, 0.18)),
        rgba(12, 12, 11, 0.16);
    backdrop-filter: blur(3px) saturate(1.12);
    -webkit-backdrop-filter: blur(3px) saturate(1.12);
}

.trust-item strong {
    display: block;
    margin-top: 6px;
    color: var(--text);
    font-size: clamp(0.95rem, 1.3vw, 1.18rem);
}

.section {
    padding: 76px 20px;
    scroll-margin-top: 86px;
}

.section-heading {
    width: min(var(--max), 100%);
    margin: 0 auto 30px;
}

.section-heading h2,
.community-copy h2,
.support-copy h2 {
    margin-top: 6px;
    color: var(--text);
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 900;
    line-height: 1;
}

.section-heading p:last-child,
.community-copy p:last-child,
.support-copy p:last-child {
    max-width: 720px;
    margin-top: 12px;
    color: var(--muted);
    font-weight: 600;
}

.servers-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
        var(--bg);
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: min(var(--max), 100%);
    margin: 0 auto;
}

.server-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 560px;
    padding: clamp(22px, 3vw, 34px);
    border-radius: var(--radius);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.server-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--red);
}

.server-card.biweekly::before {
    background: var(--rust);
}

.server-card.weekly::before {
    background: var(--green);
}

.server-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.server-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.server-label,
.server-tags span,
.server-status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
}

.server-label {
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.server-status-pill {
    gap: 7px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    color: var(--muted);
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--faint);
    flex: 0 0 auto;
}

.status-dot.online {
    background: var(--green);
    box-shadow: 0 0 12px rgba(76, 175, 80, 0.72);
}

.status-dot.offline {
    background: var(--red);
    box-shadow: 0 0 12px rgba(189, 45, 40, 0.62);
}

.status-dot.checking {
    background: var(--blue);
    box-shadow: 0 0 12px rgba(102, 183, 217, 0.62);
}

.server-card h3 {
    margin-top: 26px;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    font-weight: 900;
    line-height: 1;
}

.server-type {
    min-height: 72px;
    margin-top: 12px;
    color: var(--muted);
    font-weight: 600;
}

.server-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.server-tags span {
    padding: 6px 9px;
    border: 1px solid rgba(240, 119, 36, 0.28);
    background: rgba(240, 119, 36, 0.1);
    color: #ffd7bd;
}

.server-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.server-metrics div {
    min-height: 88px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.2);
}

.server-metrics dd {
    margin-top: 6px;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 900;
    word-break: break-word;
}

.server-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
    padding-top: 24px;
}

.server-actions .btn {
    width: 100%;
}

.server-footnote {
    margin-top: 14px;
    color: var(--muted);
    text-transform: none;
}

.server-footnote span:first-child {
    text-transform: uppercase;
}

.status-note {
    width: min(var(--max), 100%);
    min-height: 24px;
    margin: 18px auto 0;
    color: var(--faint);
    font-size: 0.88rem;
    font-weight: 600;
}

.wipe-section {
    background:
        linear-gradient(90deg, rgba(189, 45, 40, 0.08), transparent 44%),
        var(--bg-deep);
}

.wipe-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 18px;
    width: min(var(--max), 100%);
    margin: 0 auto;
}

.wipe-timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.wipe-card {
    min-height: 178px;
    padding: 24px;
    border-radius: var(--radius);
}

.wipe-card strong {
    display: block;
    margin-top: 12px;
    font-size: clamp(1.55rem, 3vw, 2.4rem);
    font-weight: 900;
}

.wipe-card p {
    margin-top: 8px;
    color: var(--rust-strong);
    font-weight: 900;
}

.wipe-info {
    padding: 24px;
    border-left: 3px solid var(--rust);
    background: rgba(255, 255, 255, 0.04);
}

.wipe-info h3 {
    font-size: 1.3rem;
    font-weight: 900;
}

.wipe-info ul {
    margin-top: 18px;
    padding-left: 20px;
    color: var(--muted);
    font-weight: 600;
}

.wipe-info li + li {
    margin-top: 10px;
}

.why-section {
    background:
        radial-gradient(circle at 18% 10%, rgba(76, 175, 80, 0.12), transparent 34%),
        radial-gradient(circle at 82% 0%, rgba(102, 183, 217, 0.1), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.006)),
        var(--bg);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: min(var(--max), 100%);
    margin: 0 auto;
}

.why-card {
    min-width: 0;
    min-height: 230px;
    padding: clamp(18px, 2.2vw, 26px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
        rgba(12, 12, 11, 0.58);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(6px) saturate(1.08);
    -webkit-backdrop-filter: blur(6px) saturate(1.08);
}

.why-icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
}

.why-icon::before {
    color: var(--text);
    font-size: 1.4rem;
    font-weight: 900;
}

.why-icon-shield::before { content: "OK"; color: #74d48c; font-size: 1rem; }
.why-icon-ai::before { content: "AI"; color: #9fc6ff; font-size: 1rem; }
.why-icon-fair::before { content: "NO"; color: var(--rust-strong); font-size: 1rem; }
.why-icon-fast::before { content: "F1"; color: #66b7d9; font-size: 1rem; }

.why-card h3 {
    color: var(--text);
    font-size: 1.18rem;
    font-weight: 900;
    line-height: 1.15;
}

.why-card p {
    margin-top: 12px;
    color: var(--muted);
    font-weight: 650;
}

.faq-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.006)),
        #0f1010;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: min(var(--max), 100%);
    margin: 0 auto;
}

.faq-item {
    min-width: 0;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
}

.faq-item summary {
    color: var(--text);
    font-weight: 900;
    line-height: 1.25;
    cursor: pointer;
}

.faq-item p {
    margin-top: 12px;
    color: var(--muted);
    font-weight: 650;
}

.community-section,
.support-section {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.community-section {
    padding: 64px clamp(22px, 4vw, 42px);
    border-top: 1px solid rgba(88, 101, 242, 0.28);
    border-bottom: 1px solid rgba(88, 101, 242, 0.28);
    background:
        linear-gradient(90deg, rgba(88, 101, 242, 0.18), rgba(102, 183, 217, 0.08)),
        rgba(255, 255, 255, 0.04);
}

.community-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.updates-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: min(var(--max), 100%);
    margin: 0 auto;
}

.update-card {
    min-height: 190px;
    padding: 22px;
    border-radius: var(--radius);
    overflow: hidden;
}

.hero-updates-list {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    margin-top: 24px;
}

.hero-updates-list .update-card {
    display: grid;
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(18px, 2.4vw, 28px);
    min-height: 184px;
    padding: clamp(18px, 2.3vw, 26px);
    background: rgba(25, 25, 24, 0.82);
}

.hero-updates-list .update-card.no-image {
    grid-template-columns: 1fr;
}

.update-body {
    min-width: 0;
}

.update-image {
    width: 100%;
    height: auto;
    min-height: 138px;
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.06);
}

.update-card h3 {
    margin-top: 8px;
    font-size: 1.15rem;
    font-weight: 900;
}

.hero-updates-list .update-card h3 {
    margin-top: 8px;
    font-size: clamp(1.32rem, 2.1vw, 1.75rem);
    line-height: 1.16;
    overflow-wrap: anywhere;
}

.update-card p {
    margin-top: 10px;
    color: var(--muted);
    font-weight: 600;
}

.hero-updates-list .update-card p {
    margin-top: 12px;
    font-size: clamp(1.03rem, 1.35vw, 1.18rem);
    line-height: 1.58;
    overflow-wrap: anywhere;
}

.update-source {
    display: inline-flex;
    margin-top: 12px;
    color: #d5c8bd;
    font-size: 0.78rem;
    font-weight: 900;
    opacity: 0.82;
}

.hero-updates-list .update-source {
    margin-top: 12px;
    font-size: 0.9rem;
}

.hero-updates-list .update-date {
    font-size: 0.92rem;
    letter-spacing: 0.02em;
}

.support-section {
    padding: 54px clamp(22px, 4vw, 42px);
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    border-top: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(76, 175, 80, 0.12), transparent),
        rgba(255, 255, 255, 0.035);
}

.support-copy {
    max-width: 650px;
}

.support-copy h2 {
    margin-top: 6px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900;
    line-height: 1;
}

.support-copy p:last-child {
    margin-top: 14px;
    color: var(--muted);
    font-weight: 650;
}

.support-panel {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(76, 175, 80, 0.34);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(76, 175, 80, 0.12), rgba(240, 119, 36, 0.06)),
        rgba(13, 15, 13, 0.7);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.support-panel-head,
.support-modal-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.support-panel-head span,
.support-modal-title-row span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.support-panel-head strong,
.support-modal-progress > strong {
    color: #d8ffd9;
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1;
}

.support-progress {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.11);
}

.support-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--green), var(--rust-strong));
    transition: width 0.35s ease;
}

.support-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.support-pill-list span {
    padding: 7px 10px;
    border: 1px solid rgba(216, 255, 217, 0.18);
    border-radius: 999px;
    color: #d8ffd9;
    background: rgba(76, 175, 80, 0.08);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.support-amounts,
.support-modal-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.support-amounts div,
.support-modal-stats div {
    min-height: 76px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
}

.support-amounts span,
.support-modal-stats dt {
    display: block;
    color: var(--faint);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.support-amounts strong,
.support-modal-stats dd {
    display: block;
    margin-left: 0;
    margin-top: 6px;
    color: var(--text);
    font-size: 1.15rem;
    font-weight: 900;
}

.support-no-advantage,
.support-hosting-note,
.support-modal-note,
.support-expenses > p,
.support-modal-summary > p {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 650;
}

.support-modal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
    gap: 16px;
    margin-top: 22px;
}

.support-modal-summary,
.support-methods,
.support-principles,
.support-expenses {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
}

.support-modal-summary h3,
.support-methods h3,
.support-principles h3,
.support-expenses h3 {
    font-size: 1rem;
    font-weight: 900;
}

.support-modal-progress {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.support-modal-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 14px;
}

.support-modal-summary > p {
    margin-top: 14px;
}

.support-methods {
    display: grid;
    gap: 10px;
}

.support-method {
    display: grid;
    gap: 4px;
    min-height: 96px;
    padding: 14px;
    border: 1px solid rgba(76, 175, 80, 0.28);
    border-radius: var(--radius);
    background: rgba(76, 175, 80, 0.08);
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.support-method:hover {
    border-color: rgba(76, 175, 80, 0.7);
    background: rgba(76, 175, 80, 0.14);
    transform: translateY(-1px);
}

.support-method.disabled {
    opacity: 0.68;
    pointer-events: none;
}

.support-method span {
    color: #d8ffd9;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.support-method strong {
    color: var(--text);
    font-size: 1rem;
}

.support-method em {
    color: var(--muted);
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 650;
}

.support-principles {
    grid-column: 1 / -1;
}

.support-principle-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.support-principle-grid article {
    display: grid;
    gap: 8px;
    min-height: 150px;
    padding: 14px;
    border: 1px solid rgba(76, 175, 80, 0.18);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(240, 119, 36, 0.04)),
        rgba(255, 255, 255, 0.03);
}

.support-principle-grid article span {
    width: max-content;
    color: var(--rust-strong);
    font-size: 0.72rem;
    font-weight: 900;
}

.support-principle-grid article strong {
    color: var(--text);
    font-size: 1rem;
    font-weight: 900;
}

.support-principle-grid article p {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 650;
}

.support-expenses {
    margin-top: 16px;
}

.support-expenses-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.support-expense-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.support-expense-row:last-child {
    border-bottom: 0;
}

.support-expense-row span {
    color: var(--muted);
    font-weight: 700;
}

.support-expense-row strong {
    white-space: nowrap;
    color: #d8ffd9;
    font-weight: 900;
}

.support-expenses > p {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 34px clamp(18px, 4vw, 50px);
    border-top: 1px solid var(--line);
    background: #070707;
}

.footer-brand {
    display: grid;
    gap: 4px;
}

.footer-brand strong {
    color: var(--rust-strong);
    font-weight: 900;
}

.footer-brand span,
footer p {
    color: var(--faint);
    font-size: 0.86rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
}

footer p {
    grid-column: 1 / -1;
}

.policy-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 0%, rgba(240, 119, 36, 0.16), transparent 34%),
        radial-gradient(circle at 90% 12%, rgba(76, 175, 80, 0.12), transparent 32%),
        var(--bg);
}

.policy-hero {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: 84px clamp(18px, 4vw, 48px) 34px;
}

.policy-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.policy-back:hover {
    color: var(--rust-strong);
}

.policy-hero h1 {
    max-width: 920px;
    color: var(--text);
    font-size: clamp(2.35rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 0.96;
}

.policy-hero p {
    max-width: 820px;
    margin-top: 18px;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
}

.policy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.policy-meta span {
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--faint);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.policy-content {
    display: grid;
    gap: 18px;
    width: min(980px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 76px;
}

.policy-card {
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
        rgba(13, 15, 13, 0.82);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.policy-card h2 {
    color: var(--text);
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 900;
}

.policy-card p,
.policy-card li {
    color: var(--muted);
    font-weight: 650;
}

.policy-card p {
    margin-top: 12px;
}

.policy-card ul {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding-left: 20px;
}

.policy-card strong {
    color: var(--text);
}

.policy-note {
    border-color: rgba(76, 175, 80, 0.32);
    background:
        linear-gradient(135deg, rgba(76, 175, 80, 0.12), rgba(240, 119, 36, 0.05)),
        rgba(13, 15, 13, 0.84);
}

.policy-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.policy-contact a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: var(--radius);
    color: #fff;
    background: var(--discord);
    font-weight: 900;
    text-decoration: none;
}

.policy-source {
    margin-top: 16px;
    color: var(--faint);
    font-size: 0.82rem;
}

.policy-source a {
    color: var(--rust-strong);
}

.modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: none;
    width: 100%;
    height: 100%;
    padding: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.86);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    width: min(760px, 100%);
    max-height: 90vh;
    margin: 5vh auto;
    padding: clamp(26px, 4vw, 42px);
    overflow-y: auto;
    border: 1px solid rgba(240, 119, 36, 0.42);
    border-radius: var(--radius);
    background: #171716;
    box-shadow: var(--shadow);
    animation: modalIn 0.22s ease-out;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
}

.close-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
}

.modal-content h2 {
    padding-right: 40px;
    font-size: clamp(1.7rem, 4vw, 2.35rem);
    font-weight: 900;
}

.rules-list {
    margin-top: 26px;
    padding-left: 22px;
    color: var(--muted);
}

.rules-list li {
    padding-left: 8px;
}

.rules-list li + li {
    margin-top: 22px;
}

.rules-list strong {
    display: block;
    margin-bottom: 7px;
    color: var(--rust-strong);
    font-size: 1.08rem;
}

@media (max-width: 980px) {
    .navbar {
        grid-template-columns: 1fr;
        justify-items: center;
    }

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

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

    .nav-controls,
    .nav-links {
        justify-content: center;
    }

    .server-grid,
    .why-grid,
    .faq-grid,
    .wipe-layout,
    .support-modal-grid,
    .community-section,
    .support-section {
        grid-template-columns: 1fr;
    }

    .community-actions {
        justify-content: flex-start;
    }

    .updates-list {
        grid-template-columns: 1fr;
    }

    .hero-side,
    .hero-tips {
        max-width: 720px;
    }
}

@media (max-width: 720px) {
    .navbar {
        align-items: stretch;
        padding: 12px 14px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 2px;
    }

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

    .nav-discord-link,
    .nav-rules-btn {
        flex: 1 1 130px;
        justify-content: center;
    }

    .lang-switcher {
        width: 100%;
    }

    .lang-switcher button {
        flex: 1;
    }

    .hero {
        min-height: auto;
        padding: 54px 16px 46px;
    }

    .hero-stats,
    .trust-strip,
    .why-grid,
    .faq-grid,
    .wipe-timeline,
    .server-metrics,
    .server-actions,
    .invite-grid,
    .invite-card-actions,
    .invite-share-actions,
    .invite-social-actions,
    .report-steam-card,
    .report-form,
    .report-form-actions,
    .support-amounts,
    .support-modal-stats,
    .support-principle-grid,
    .binds-list {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 56px 16px;
    }

    .server-card {
        min-height: auto;
    }

    .server-type {
        min-height: auto;
    }

    .community-section,
    .support-section {
        width: calc(100% - 32px);
    }

    footer {
        grid-template-columns: 1fr;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 420px) {
    .hero-actions,
    .community-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }

    .server-card,
    .wipe-card,
    .update-card {
        padding: 20px;
    }

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

    .news-popover,
    .invite-popover,
    .support-popover,
    .report-popover,
    .binds-popover {
        top: 12px;
        width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
        padding: 16px;
    }

    .report-form,
    .report-steam-card {
        grid-template-columns: 1fr;
    }

    .report-steam-actions,
    .report-form-actions {
        justify-content: stretch;
    }

    .report-steam-actions .btn,
    .report-form-actions .btn {
        width: 100%;
    }

    .bind-command-row {
        grid-template-columns: 1fr;
    }

    .bind-copy {
        min-height: 38px;
    }

    .hero-updates-list .update-card {
        grid-template-columns: 1fr;
    }

    .update-image {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 860px) {
    html {
        scroll-padding-top: 156px;
    }

    body {
        background:
            radial-gradient(circle at 18% 6%, rgba(214, 90, 34, 0.16), transparent 18rem),
            linear-gradient(180deg, #141413 0%, #0d0e0d 48%, #070808 100%);
    }

    .navbar {
        grid-template-columns: minmax(0, 1fr) auto;
        justify-items: stretch;
        align-items: center;
        gap: 9px;
        padding: 10px 12px;
    }

    .logo {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        font-size: 1.12rem;
    }

    .nav-links {
        display: none;
    }

    .nav-controls {
        display: contents;
    }

    .nav-discord-link,
    .nav-rules-btn,
    .lang-switcher button {
        min-height: 36px;
        padding: 7px 8px;
        font-size: 0.78rem;
        line-height: 1.05;
    }

    .nav-discord-link,
    .nav-rules-btn {
        width: 100%;
    }

    .nav-discord-link {
        grid-column: 1;
        grid-row: 2;
    }

    .nav-rules-btn {
        grid-column: 2;
        grid-row: 2;
        min-width: 104px;
    }

    .lang-switcher {
        grid-column: 2;
        grid-row: 1;
        width: auto;
    }

    .hero {
        padding: 34px 12px 36px;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(5, 6, 6, 0.65) 0%, rgba(5, 6, 6, 0.86) 58%, var(--bg) 100%),
            linear-gradient(90deg, rgba(5, 6, 6, 0.76), rgba(5, 6, 6, 0.48));
    }

    .hero-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        width: 100%;
        min-width: 0;
    }

    .hero-main {
        width: 100%;
        min-width: 0;
    }

    .hero h1 {
        max-width: 100%;
        margin-top: 8px;
        font-size: clamp(2.7rem, 18vw, 4.6rem);
        line-height: 0.9;
    }

    .hero-lead {
        margin-top: 14px;
        font-size: 0.98rem;
        line-height: 1.45;
    }

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

    .hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        margin-top: 22px;
    }

    .btn {
        min-width: 0;
        min-height: 44px;
        padding: 10px 11px;
        font-size: 0.9rem;
        line-height: 1.12;
        white-space: normal;
    }

    .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        width: 100%;
        margin-top: 20px;
    }

    .hero-stat {
        min-height: 72px;
        padding: 10px 9px;
    }

    .hero-stat span {
        display: block;
        font-size: 0.62rem;
        line-height: 1.12;
    }

    .hero-stat strong {
        margin-top: 8px;
        font-size: clamp(1.05rem, 6vw, 1.45rem);
        line-height: 1;
    }

    .hero-tips {
        max-width: 100%;
        min-width: 0;
        min-height: auto;
        padding: 14px;
        background:
            linear-gradient(135deg, rgba(12, 12, 11, 0.38), rgba(12, 12, 11, 0.16)),
            rgba(10, 10, 9, 0.2);
    }

    .tips-head {
        gap: 10px;
    }

    .tips-head h2 {
        font-size: 1.28rem;
    }

    .tips-controls button {
        width: 32px;
        height: 32px;
    }

    .tip-card h3 {
        font-size: 1.18rem;
    }

    .tip-card p {
        font-size: 0.88rem;
        line-height: 1.42;
    }

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

    .trust-item {
        min-height: 98px;
        padding: 17px 14px;
    }

    .trust-item span {
        font-size: 0.66rem;
        line-height: 1.15;
    }

    .trust-item strong {
        font-size: 0.9rem;
        line-height: 1.2;
    }

    .section {
        padding: 46px 12px;
        scroll-margin-top: 156px;
    }

    .section-heading {
        margin-bottom: 22px;
    }

    .section-heading h2,
    .community-copy h2,
    .support-copy h2 {
        font-size: clamp(1.85rem, 10vw, 2.55rem);
        line-height: 0.98;
    }

    .server-grid {
        gap: 14px;
    }

    .server-card {
        padding: 18px;
    }

    .server-card h3 {
        margin-top: 18px;
        font-size: 1.75rem;
    }

    .server-card-top {
        align-items: flex-start;
    }

    .server-status-pill,
    .server-label {
        font-size: 0.66rem;
    }

    .server-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 18px;
    }

    .server-metrics div {
        min-height: 78px;
        padding: 11px;
    }

    .server-metrics dt {
        font-size: 0.66rem;
        line-height: 1.15;
    }

    .server-metrics dd {
        font-size: 0.92rem;
        line-height: 1.16;
        overflow-wrap: anywhere;
    }

    .server-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding-top: 18px;
    }

    .wipe-layout,
    .wipe-timeline {
        gap: 12px;
    }

    .wipe-card,
    .wipe-info {
        padding: 18px;
    }

    .community-section,
    .support-section {
        width: calc(100% - 24px);
        padding: 34px 18px;
        gap: 18px;
    }

    .community-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .support-panel {
        padding: 15px;
    }

    .support-panel-head strong {
        font-size: 1.55rem;
    }

    .support-pill-list span {
        font-size: 0.64rem;
    }

    .news-popover,
    .support-popover,
    .binds-popover {
        top: 10px;
        width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px);
        padding: 16px;
    }

    .news-popover-head {
        gap: 10px;
    }

    .news-popover-head h2 {
        font-size: 1.65rem;
    }

    .news-popover .news-popover-head h2 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .news-popover-head p:last-child {
        font-size: 0.84rem;
    }

    .news-popover .news-popover-head p:last-child {
        font-size: 1rem;
    }

    .news-close {
        width: 34px;
        height: 34px;
    }

    .hero-updates-list .update-card {
        grid-template-columns: minmax(128px, 34vw) minmax(0, 1fr);
    }

    .bind-card,
    .support-modal-summary,
    .support-methods,
    .support-principles,
    .support-expenses {
        padding: 13px;
    }

    .bind-card-head {
        display: grid;
        gap: 8px;
    }

    .bind-category {
        width: max-content;
    }

    .bind-command-row {
        grid-template-columns: 1fr;
    }

    .bind-command-row code {
        min-height: 36px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .bind-copy {
        min-height: 38px;
    }

    .support-modal-grid,
    .support-principle-grid,
    .support-modal-stats {
        grid-template-columns: 1fr;
    }

    .support-principle-grid article {
        min-height: auto;
    }

    .support-expense-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    footer {
        gap: 16px;
        padding: 28px 16px;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }

    .footer-links a {
        min-height: 36px;
        padding: 8px 10px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: rgba(255, 255, 255, 0.035);
        text-align: center;
    }

    .policy-hero,
    .policy-content {
        width: min(100% - 24px, var(--max));
    }

    .policy-hero {
        padding-top: 44px;
    }
}

@media (max-width: 520px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
    }

    .navbar {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        width: 100%;
        overflow: hidden;
        padding-left: 12px;
        padding-right: 12px;
    }

    .navbar > * {
        min-width: 0;
    }

    .logo,
    .lang-switcher,
    .nav-discord-link,
    .nav-rules-btn {
        grid-column: 1;
    }

    .logo {
        grid-row: 1;
    }

    .lang-switcher {
        grid-row: 2;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-self: stretch;
        width: calc(100vw - 24px);
        max-width: 100%;
        min-width: 0;
        gap: 6px;
    }

    .lang-switcher button {
        min-width: 0;
        width: 100%;
        padding-left: 4px;
        padding-right: 4px;
    }

    .nav-discord-link {
        grid-row: 3;
    }

    .nav-rules-btn {
        grid-row: 4;
        min-width: 0;
    }

    .hero-actions,
    .server-actions,
    .community-actions,
    .footer-links {
        grid-template-columns: 1fr;
    }

    .hero {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-content,
    .hero-main,
    .hero-actions-wrap,
    .hero-actions,
    .hero-side,
    .hero-chat-panel,
    .hero-tips,
    .hero-stats {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .nav-discord-link span {
        display: inline;
    }

    .hero-stats,
    .server-metrics {
        grid-template-columns: 1fr;
    }

    .hero-stat {
        min-height: 64px;
    }

    .hero-stat span,
    .hero-stat strong {
        display: inline;
    }

    .hero-stat {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .trust-strip {
        grid-template-columns: 1fr;
    }

    .hero-updates-list .update-card {
        grid-template-columns: 1fr;
    }

    .update-image {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 640px) {
    .chat-popover {
        top: 72px;
        width: calc(100vw - 18px);
        max-height: calc(100dvh - 88px);
        padding: 16px;
    }

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

    .player-chat-form-row .btn {
        width: 100%;
    }
}

/* Visual polish pass: colder metal, cleaner depth, no visible cursor halo. */
:root {
    --metal-1: #16191c;
    --metal-2: #22272d;
    --metal-3: #0b0d0f;
    --cyan: #8bdfff;
    --cyan-soft: rgba(139, 223, 255, 0.24);
    --glass: rgba(15, 17, 18, 0.52);
    --glass-strong: rgba(20, 23, 25, 0.74);
    --soft-orange: rgba(240, 119, 36, 0.2);
    --deep-shadow: 0 26px 80px rgba(0, 0, 0, 0.48);
}

body {
    background:
        radial-gradient(circle at 10% 12%, rgba(240, 119, 36, 0.13), transparent 28rem),
        radial-gradient(circle at 82% 18%, rgba(139, 223, 255, 0.11), transparent 24rem),
        linear-gradient(180deg, #151617 0%, #0e1011 45%, #080909 100%);
}

.navbar {
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(22, 25, 28, 0.94), rgba(8, 9, 10, 0.9));
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
}

.navbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: -1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 223, 255, 0.45), rgba(240, 119, 36, 0.48), transparent);
}

.logo {
    text-shadow: 0 0 18px rgba(240, 119, 36, 0.24);
}

.nav-links a,
.nav-discord-link,
.nav-rules-btn,
.lang-switcher button {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero {
    min-height: clamp(620px, 82vh, 820px);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(circle at 22% 42%, rgba(240, 119, 36, 0.18), transparent 21rem),
        radial-gradient(circle at 78% 28%, rgba(139, 223, 255, 0.12), transparent 25rem),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.26) 78%, rgba(0, 0, 0, 0.58) 100%);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(5, 6, 6, 0.78) 0%, rgba(5, 6, 6, 0.34) 50%, rgba(5, 6, 6, 0.66) 100%),
        linear-gradient(180deg, rgba(5, 6, 6, 0.06) 0%, rgba(8, 9, 9, 0.84) 100%);
}

.hero-main {
    position: relative;
    padding-left: clamp(16px, 2vw, 24px);
}

.hero-main::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 16px;
    width: 3px;
    border-radius: 99px;
    background: linear-gradient(180deg, var(--rust-strong), rgba(139, 223, 255, 0.6), transparent);
    box-shadow: 0 0 24px rgba(240, 119, 36, 0.2);
}

.hero h1 {
    color: #fff8ef;
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.24),
        0 18px 46px rgba(0, 0, 0, 0.66),
        0 0 34px rgba(240, 119, 36, 0.14);
}

.hero-lead {
    color: #efe6dc;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.72);
}

.hero-actions {
    gap: 14px;
}

.btn {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.13),
        0 14px 34px rgba(0, 0, 0, 0.28);
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.18) 42%, transparent 70%);
    opacity: 0;
    transform: translateX(-68%);
    transition: opacity 0.18s ease, transform 0.38s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 20px 46px rgba(0, 0, 0, 0.38);
    filter: saturate(1.08);
}

.btn:hover::before {
    opacity: 1;
    transform: translateX(68%);
}

.btn-primary {
    background: linear-gradient(135deg, #b52724, #e44b36);
}

.btn-discord {
    background: linear-gradient(135deg, #4050d8, #6372ff);
}

.btn-invite {
    background: linear-gradient(135deg, #27976e, #52c895);
}

.btn-report,
#report-toggle.btn-report,
#report-submit.btn-report {
    background: linear-gradient(135deg, #a72724, #d33b31);
}

.btn-news {
    background: linear-gradient(135deg, #1d8b31, #3db84c);
}

.btn-weekly {
    background: linear-gradient(135deg, #228444, #49ba62);
}

.btn-binds {
    background: linear-gradient(135deg, #157767, #2da491);
}

.hero-stat,
.trust-item,
.server-card,
.wipe-card,
.why-card,
.faq-item,
.update-card,
.support-panel,
.community-section,
.support-section {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
        var(--glass);
    border-color: rgba(255, 255, 255, 0.13);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 46px rgba(0, 0, 0, 0.2);
}

.hero-stat,
.server-metrics div,
.wipe-card,
.faq-item,
.why-card,
.update-card {
    backdrop-filter: blur(8px) saturate(1.08);
    -webkit-backdrop-filter: blur(8px) saturate(1.08);
}

.hero-stat:hover,
.trust-item:hover,
.why-card:hover,
.faq-item:hover,
.wipe-card:hover,
.update-card:hover {
    border-color: rgba(139, 223, 255, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 22px 58px rgba(0, 0, 0, 0.32),
        0 0 26px rgba(139, 223, 255, 0.08);
}

.hero-stat strong {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.12);
}

.security-badge {
    border-color: rgba(111, 209, 154, 0.56);
    background:
        linear-gradient(135deg, rgba(111, 209, 154, 0.18), rgba(139, 223, 255, 0.09)),
        rgba(10, 12, 12, 0.34);
}

.hero-tips {
    border-color: rgba(240, 119, 36, 0.48);
    background:
        linear-gradient(150deg, rgba(240, 119, 36, 0.14), transparent 38%),
        linear-gradient(330deg, rgba(139, 223, 255, 0.1), transparent 40%),
        rgba(8, 9, 9, 0.38);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        var(--deep-shadow);
    backdrop-filter: blur(7px) saturate(1.18);
    -webkit-backdrop-filter: blur(7px) saturate(1.18);
}

.tips-controls button {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tips-progress span {
    background: linear-gradient(90deg, var(--rust-strong), var(--cyan), var(--green));
}

.server-card {
    isolation: isolate;
    background:
        radial-gradient(circle at 86% 14%, rgba(139, 223, 255, 0.08), transparent 14rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
        rgba(12, 13, 13, 0.64);
}

.server-card::after {
    content: "";
    position: absolute;
    inset: 4px;
    z-index: -1;
    border-radius: calc(var(--radius) - 2px);
    background:
        linear-gradient(135deg, rgba(189, 45, 40, 0.1), transparent 35%),
        linear-gradient(315deg, rgba(139, 223, 255, 0.08), transparent 40%);
    opacity: 0.85;
    pointer-events: none;
}

.server-card.biweekly::after {
    background:
        linear-gradient(135deg, rgba(240, 119, 36, 0.12), transparent 35%),
        linear-gradient(315deg, rgba(76, 175, 80, 0.08), transparent 40%);
}

.server-card.weekly::after {
    background:
        linear-gradient(135deg, rgba(76, 175, 80, 0.13), transparent 35%),
        linear-gradient(315deg, rgba(139, 223, 255, 0.08), transparent 40%);
}

.server-card:hover {
    border-color: rgba(139, 223, 255, 0.38);
    box-shadow:
        0 28px 72px rgba(0, 0, 0, 0.42),
        0 0 32px rgba(139, 223, 255, 0.08);
}

.server-card h3 {
    text-shadow: 0 10px 32px rgba(0, 0, 0, 0.46);
}

.server-metrics div {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.016)),
        rgba(0, 0, 0, 0.18);
}

.server-metrics dd {
    color: #fff8f0;
}

.section-heading h2,
.community-copy h2,
.support-copy h2 {
    text-shadow: 0 14px 38px rgba(0, 0, 0, 0.44);
}

.why-card,
.faq-item {
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.why-card:hover,
.faq-item:hover {
    transform: translateY(-2px);
}

.news-backdrop,
.invite-backdrop,
.binds-backdrop,
.report-backdrop,
.support-backdrop {
    background:
        radial-gradient(circle at 50% 12%, rgba(139, 223, 255, 0.09), transparent 28rem),
        rgba(0, 0, 0, 0.72);
}

.news-popover,
.invite-popover,
.binds-popover,
.report-popover,
.support-popover,
.modal-content {
    border-color: rgba(139, 223, 255, 0.18);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
        rgba(11, 13, 14, 0.96);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.09),
        0 34px 90px rgba(0, 0, 0, 0.68);
}

.news-popover {
    border-color: rgba(76, 175, 80, 0.48);
}

.report-popover {
    border-color: rgba(216, 66, 55, 0.52);
}

.binds-popover {
    border-color: rgba(42, 154, 131, 0.52);
}

.hero-updates-list .update-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
        rgba(16, 17, 17, 0.84);
}

.update-image {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.report-form input,
.report-form select,
.report-form textarea,
.support-custom input {
    background: rgba(7, 9, 10, 0.74);
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff8ef;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.report-form input::placeholder,
.report-form textarea::placeholder,
.support-custom input::placeholder {
    color: rgba(239, 230, 220, 0.56);
}

.electric-hotspot.is-electric {
    border-color: rgba(139, 223, 255, 0.3);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(139, 223, 255, 0.04);
}

@media (max-width: 860px) {
    .hero {
        min-height: auto;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(5, 6, 6, 0.52) 0%, rgba(5, 6, 6, 0.78) 62%, rgba(8, 9, 9, 0.9) 100%),
            linear-gradient(90deg, rgba(5, 6, 6, 0.62), rgba(5, 6, 6, 0.28));
    }

    .hero-main {
        padding-left: 14px;
    }

    .hero-main::before {
        top: 4px;
        bottom: 8px;
    }

    .hero-actions {
        gap: 9px;
    }

    .news-popover,
    .invite-popover,
    .support-popover,
    .report-popover,
    .binds-popover {
        border-radius: 10px;
    }
}

@media (max-width: 520px) {
    .hero-main {
        padding-left: 0;
    }

    .hero-main::before {
        content: none;
    }
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: #eef8f7;
    background: none;
    -webkit-text-fill-color: currentColor;
    filter: none;
}

.brand-logo-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 48px;
    height: 38px;
    border: 1px solid rgba(255, 236, 176, 0.72);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.68), transparent 31%),
        linear-gradient(180deg, #fffef7 0%, #f2f6f4 22%, #bac8c5 50%, #fff2b8 51%, #e6a834 100%);
    color: #fffef4;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
    text-shadow:
        0 -1px 0 rgba(255, 255, 255, 0.86),
        0 2px 0 rgba(0, 0, 0, 0.82);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.68),
        inset 0 -8px 15px rgba(34, 24, 9, 0.2),
        inset 0 0 0 1px rgba(255, 220, 118, 0.28),
        2px 3px 0 rgba(15, 22, 22, 0.72),
        0 8px 16px rgba(0, 0, 0, 0.32);
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.brand-logo-mark::after {
    content: none;
    display: none;
}

.brand-logo-word,
.hero h1 {
    background:
        linear-gradient(180deg,
            #ffffff 0%,
            #f4faf8 16%,
            #cfdad6 38%,
            #ffffff 48%,
            #b8c5c1 66%,
            #74807d 100%);
    background-size: 100% 100%;
    background-blend-mode: normal;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter:
        drop-shadow(0 1px 0 rgba(255, 255, 255, 0.5))
        drop-shadow(0 4px 0 rgba(20, 26, 25, 0.7))
        drop-shadow(0 12px 16px rgba(0, 0, 0, 0.42));
    animation: none;
}

.brand-logo-word {
    font-weight: 900;
    text-transform: none;
}

.hero h1 {
    position: relative;
    display: inline-block;
    isolation: isolate;
    -webkit-text-stroke: 1px rgba(232, 244, 241, 0.42);
}

.hero h1::before {
    content: none;
    display: none;
}

.hero h1::after {
    content: "";
    position: absolute;
    left: -12%;
    top: 8%;
    width: 34%;
    height: 86%;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0.72) 47%, rgba(255, 236, 160, 0.38) 55%, rgba(255, 255, 255, 0) 74%, transparent 100%);
    mix-blend-mode: screen;
    transform: skewX(-18deg) translateX(-180%);
    opacity: 0;
    animation: brandSunGlint 24s ease-in-out infinite;
}

@keyframes brandGleam {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes brandSunGlint {
    0%, 78%, 100% {
        opacity: 0;
        transform: skewX(-18deg) translateX(-180%);
    }

    82% {
        opacity: 0.72;
    }

    88% {
        opacity: 0.28;
        transform: skewX(-18deg) translateX(420%);
    }

    91% {
        opacity: 0;
        transform: skewX(-18deg) translateX(460%);
    }
}

.hero-main {
    padding-left: 0 !important;
}

.hero-main::before {
    content: none !important;
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-slide {
        animation: none !important;
    }

    .hero-slide:nth-child(1) {
        opacity: 1;
    }

    .hero-slide:nth-child(n + 2) {
        opacity: 0;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


.single-server-grid {
    grid-template-columns: minmax(420px, 1.25fr) minmax(300px, 0.75fr);
    align-items: stretch;
    justify-content: center;
    max-width: 1060px;
}

.single-server-grid .server-card {
    min-height: 520px;
}

.single-server-grid .server-card h3 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.single-server-grid .server-type {
    min-height: auto;
    max-width: 520px;
}

.single-server-grid .server-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.server-side-panel {
    display: grid;
    gap: 14px;
}

.server-side-card {
    min-height: 0;
    padding: clamp(18px, 2.4vw, 26px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
        rgba(12, 13, 13, 0.54);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 46px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px) saturate(1.08);
    -webkit-backdrop-filter: blur(8px) saturate(1.08);
}

.server-side-card-primary {
    border-color: rgba(240, 119, 36, 0.35);
    background:
        linear-gradient(135deg, rgba(240, 119, 36, 0.13), rgba(139, 223, 255, 0.06)),
        rgba(12, 13, 13, 0.58);
}

.server-side-card h3 {
    margin: 8px 0 8px;
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    line-height: 1.05;
}

.server-side-card p {
    color: var(--muted);
    font-weight: 650;
}

.server-side-card .btn {
    width: 100%;
    margin-top: 14px;
}

@media (max-width: 980px) {
    .single-server-grid {
        grid-template-columns: 1fr;
        max-width: 720px;
    }
}

@media (max-width: 700px) {
    .single-server-grid {
        grid-template-columns: 1fr;
    }

    .server-side-panel {
        gap: 12px;
    }
}

/* Final hero layout tune: chat is the main right-side widget, tips stay compact. */
.hero {
    align-items: flex-start;
    min-height: clamp(720px, 88vh, 900px);
    padding-top: clamp(54px, 7vh, 82px);
}

.hero-content {
    grid-template-columns: minmax(0, 1fr) clamp(520px, 36vw, 620px);
    align-items: flex-start;
}

.hero-main {
    align-self: flex-start;
    padding-top: 0;
}

.hero-side {
    align-self: flex-start;
    gap: 10px;
}

.hero-chat-panel {
    min-height: clamp(570px, 70vh, 710px);
    padding: 14px;
}

.hero-chat-panel .news-popover-head h2 {
    font-size: clamp(1.55rem, 2.15vw, 2rem);
}

.hero-chat-panel .news-popover-head p:last-child {
    margin-top: 4px;
    font-size: 0.78rem;
    line-height: 1.24;
}

.hero-chat-panel .chat-steam-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    margin-top: 10px;
    padding: 9px 10px;
}

.hero-chat-panel .chat-steam-card span {
    font-size: 0.68rem;
}

.hero-chat-panel .chat-steam-card strong {
    font-size: 0.9rem;
}

.hero-chat-panel .report-steam-actions {
    display: flex;
    justify-content: flex-end;
}

.hero-chat-panel .report-steam-actions .btn {
    width: auto;
    min-width: 116px;
    min-height: 34px;
    padding: 7px 12px;
}

.hero-chat-panel .player-chat-list {
    min-height: 330px;
    max-height: clamp(330px, 43vh, 460px);
    margin-top: 10px;
}

.hero-chat-panel .player-chat-form {
    margin-top: 10px;
}

.hero-chat-panel .player-chat-form textarea {
    min-height: 86px;
    max-height: 120px;
}

.hero-chat-panel .player-chat-form-row {
    grid-template-columns: minmax(0, 1fr) minmax(132px, auto);
    align-items: center;
}

.hero-tips {
    min-height: 124px;
    padding: 12px 14px;
}

.tips-head h2 {
    font-size: clamp(1.05rem, 1.45vw, 1.3rem);
}

.tips-viewport {
    margin-top: 8px;
}

.tip-card h3 {
    font-size: clamp(1.1rem, 1.55vw, 1.45rem);
}

.tip-card p {
    font-size: 0.9rem;
    line-height: 1.36;
}

@media (max-width: 1180px) {
    .hero-content {
        grid-template-columns: minmax(0, 1fr) minmax(430px, 43vw);
    }
}

@media (max-width: 980px) {
    .hero {
        min-height: auto;
        padding-top: 46px;
    }

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

    .hero-main {
        padding-top: 0;
    }

    .hero-chat-panel {
        min-height: auto;
    }

    .hero-chat-panel .player-chat-list {
        min-height: 220px;
        max-height: 360px;
    }
}

@media (max-width: 620px) {
    .hero-chat-panel .chat-steam-card,
    .hero-chat-panel .player-chat-form-row {
        grid-template-columns: 1fr;
    }

    .hero-chat-panel .report-steam-actions,
    .hero-chat-panel .report-steam-actions .btn {
        width: 100%;
    }
}
