:root {
    --bg: #070707;
    --panel: #131313;
    --panel2: #1b1a17;
    --border: #3a3325;
    --gold: #d79a26;
    --gold2: #f4c45c;
    --orange: #a95b17;
    --text: #e7e0d2;
    --muted: #b8afa0;
    --dark: #050505;
    --green: #29b35b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(180, 110, 25, .12), transparent 35%),
        repeating-linear-gradient(135deg,
            rgba(255, 255, 255, .025) 0,
            rgba(255, 255, 255, .025) 1px,
            transparent 1px,
            transparent 5px),
        linear-gradient(180deg, #111 0%, #050505 100%);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

.page {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 36px;
}

header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 34px;
}

.brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(215, 154, 38, .35));
}

.brand-title {
    margin: 0;
    font-size: 22px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold2);
    text-shadow:
        0 2px 0 #4a2506,
        0 0 14px rgba(215, 154, 38, .45);
}

.brand-subtitle {
    margin-top: 3px;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.hero {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
}

.card {
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)),
        linear-gradient(135deg, var(--panel), var(--panel2));
    border-radius: 18px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .06),
        0 20px 60px rgba(0, 0, 0, .35);
}

.hero-main {
    position: relative;
    padding: 44px;
    overflow: hidden;
}

.hero-main::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 370px;
    height: 370px;
    background: url("/static/img/logo.webp") center / contain no-repeat;
    opacity: .09;
    filter: grayscale(1);
    pointer-events: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid rgba(215, 154, 38, .35);
    background: rgba(80, 50, 12, .45);
    color: var(--gold2);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 24px;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
}

h2 {
    margin: 0 0 18px;
    font-size: clamp(48px, 7vw, 84px);
    line-height: .9;
    letter-spacing: -3px;
    color: #f0e6d2;
    text-transform: uppercase;
    text-shadow:
        0 3px 0 #3b2206,
        0 0 20px rgba(215, 154, 38, .18);
}

.gold {
    display: inline-block;
    background: linear-gradient(180deg, #fff1a8 0%, var(--gold2) 30%, var(--gold) 55%, #7b390c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.lead {
    max-width: 620px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
    margin: 0 0 28px;
}

button {
    border: 1px solid #6f4312;
    color: #1a1003;
    font-weight: 800;
    background: linear-gradient(180deg, #ffd76f, #d79022 55%, #8a460d);
    padding: 15px 21px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .45),
        0 8px 24px rgba(0, 0, 0, .35);
}

button:hover {
    filter: brightness(1.08);
}

.server-panel {
    padding: 28px;
    display: grid;
    gap: 22px;
}

.old-banner {
    width: 100%;
    border-radius: 14px;
    border: 1px solid #332819;
    opacity: .88;
}

/* .info-box {
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #2f2b25;
    background: rgba(0, 0, 0, .35);
} */

.info-box {
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #2f2b25;
    background: rgba(0, 0, 0, .35);

    min-width: 0;
    overflow-wrap: break-word;
}

/* .label {
    display: block;
    color: #c5aa78;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
} */

.label {
    display: block;
    color: #c5aa78;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;

    word-break: break-word;
}

/* code {
    display: block;
    padding: 13px 15px;
    background: #050505;
    border: 1px solid #25211a;
    border-radius: 10px;
    color: #f1eadc;
    font-family: Consolas, Monaco, monospace;
    overflow-x: auto;
} */

code {
    display: block;
    width: 100%;

    padding: 13px 15px;
    background: #050505;
    border: 1px solid #25211a;
    border-radius: 10px;
    color: #f1eadc;
    font-family: Consolas, Monaco, monospace;

    overflow-x: auto;
    white-space: nowrap;
}

.server-address {
    font-size: 21px;
    letter-spacing: 1px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat {
    padding: 18px;
    border-radius: 13px;
    background: linear-gradient(180deg, #24221e, #171717);
    border: 1px solid #383020;
}

.stat strong {
    display: block;
    color: var(--gold2);
    font-size: 23px;
    margin-bottom: 4px;
}

.stat span {
    color: var(--muted);
    font-size: 13px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.small-card {
    padding: 24px;
    min-height: 260px;
}

h3 {
    margin: 0 0 16px;
    color: var(--gold2);
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: .8px;
}

p,
li {
    color: var(--muted);
    line-height: 1.55;
}

ul {
    padding-left: 20px;
    margin: 0;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    pointer-events: none;
    background: #121212;
    border: 1px solid var(--gold);
    color: var(--gold2);
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
    transition: .2s ease;
    z-index: 20;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 880px) {

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

    .hero-main {
        padding: 32px;
    }

    h2 {
        font-size: 52px;
    }
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
}

.hero-actions img {
    display: block;
}