
:root {
    --bg: #05070a;
    --panel: #11161d;
    --panel-2: #0b1017;
    --line: #263348;
    --line-strong: #9c7b27;
    --blue: #0b1f3a;
    --blue-2: #123c69;
    --gold: #d6a934;
    --gold-soft: #e6c86a;
    --green: #34d177;
    --red: #ef4444;
    --text: #e8dfc8;
    --muted: #aaa08d;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Trebuchet MS", Arial, sans-serif;
    color: var(--text);
    background:
        linear-gradient(rgba(5,7,10,.88), rgba(5,7,10,.95)),
        radial-gradient(circle at 18% 8%, rgba(18,60,105,.35), transparent 30%),
        radial-gradient(circle at 82% 85%, rgba(214,169,52,.15), transparent 34%),
        var(--bg);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0, rgba(255,255,255,.022) 1px, transparent 1px, transparent 5px);
    pointer-events: none;
    z-index: -1;
}

.wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 18px;
}

.container {
    width: 100%;
    max-width: 1180px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(135deg, rgba(16,22,30,.98), rgba(8,10,13,.99));
    box-shadow: 0 0 0 4px rgba(6,26,61,.65), 0 28px 90px rgba(0,0,0,.72), 0 0 34px rgba(214,169,52,.08);
}

.topbar {
    background: linear-gradient(90deg, var(--blue), #090d12, var(--blue-2));
    border-bottom: 1px solid var(--gold);
    padding: 14px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    color: var(--gold-soft);
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.nav a {
    color: var(--gold-soft);
    text-decoration: none;
    border: 1px solid rgba(214,169,52,.45);
    padding: 7px 10px;
    background: rgba(0,0,0,.25);
}

.nav a:hover { border-color: var(--gold); color: #fff3c4; }

.status-mini {
    padding: 6px 10px;
    border: 1px solid var(--line-strong);
    background: #0a0d12;
    font-weight: bold;
    white-space: nowrap;
}

.hero {
    padding: 34px 34px 22px;
    border-bottom: 1px solid var(--line);
}

.label {
    display: inline-block;
    background: var(--blue-2);
    color: var(--gold-soft);
    border: 1px solid var(--gold);
    padding: 7px 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 78px);
    line-height: .92;
    color: #f0e5c9;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 4px 4px 0 var(--blue), 0 0 24px rgba(214,169,52,.24);
}

.subtitle {
    margin: 18px 0 0;
    color: #c9bea7;
    font-size: 17px;
    max-width: 920px;
    line-height: 1.6;
}

.content {
    padding: 28px 34px 34px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 22px;
}

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

.panel {
    background: linear-gradient(180deg, var(--panel), var(--panel-2));
    border: 1px solid var(--line);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.035);
}

.panel-title {
    background: linear-gradient(90deg, var(--blue-2), #171814);
    border-bottom: 1px solid var(--gold);
    padding: 12px 16px;
    color: var(--gold-soft);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.panel-body { padding: 20px; }

.server-name {
    font-size: 25px;
    font-weight: bold;
    color: #fff4d0;
    margin-bottom: 16px;
}

.ip-box {
    background: linear-gradient(135deg, rgba(11,31,58,.78), rgba(5,7,10,.94));
    border: 1px solid var(--gold);
    padding: 18px;
    font-family: Consolas, monospace;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: bold;
    letter-spacing: 2px;
    box-shadow: inset 0 0 22px rgba(0,0,0,.9), 0 0 15px rgba(214,169,52,.16);
    margin-bottom: 16px;
    text-align: center;
    color: #fff2bd;
}

.ip-br .a { color: #42d982; }
.ip-br .b { color: var(--gold-soft); }
.ip-br .c { color: #76b7ff; }
.ip-br .port { color: #f7f4ec; }

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.btn {
    background: linear-gradient(#123c69, #0b1f3a);
    color: #ffe9a0;
    border: 1px solid var(--gold);
    padding: 12px 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 3px 3px 0 #06080b;
    display: inline-block;
}

.btn:hover { background: linear-gradient(#17518e, #123c69); color: #fff; }
.btn.secondary { background: linear-gradient(#202831, #11161d); }

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

.stat {
    background: rgba(0,0,0,.28);
    border: 1px solid var(--line);
    padding: 14px;
}

.stat small {
    display: block;
    color: #c0cce0;
    text-transform: uppercase;
    font-size: 11px;
    margin-bottom: 8px;
}

.stat strong {
    color: #fff4d0;
    font-size: 22px;
}

.online { color: var(--green) !important; }
.offline { color: var(--red) !important; }

.briefing {
    line-height: 1.75;
    color: #d6c9ad;
    margin: 0;
    padding-left: 18px;
}

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

.game-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(18,60,105,.34), rgba(0,0,0,.26));
    border: 1px solid var(--line);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.game-card::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -50px;
    bottom: -50px;
    border: 1px solid rgba(214,169,52,.25);
    transform: rotate(35deg);
}

.game-card h2 { margin: 0 0 10px; color: #fff2bd; text-transform: uppercase; }
.game-card p { color: #c7bea9; line-height: 1.55; }
.game-card .meta { color: var(--gold-soft); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

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

.map {
    border: 1px solid #274b8d;
    background: linear-gradient(135deg, rgba(11,47,107,.24), #101318);
    padding: 10px;
    color: #ffe4a0;
    text-transform: uppercase;
    font-size: 13px;
}

.rules {
    color: #cfc1a6;
    line-height: 1.6;
    margin-top: 18px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.gametracker-banner {
    margin: 20px 0;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid var(--gold);
    background: #080808;
    box-shadow: 3px 3px 0 #06080b;
}

.gametracker-banner img {
    display: block;
    max-width: 100%;
    height: auto;
}

.notice {
    border-left: 3px solid var(--gold);
    background: rgba(214,169,52,.08);
    padding: 12px 14px;
    color: #ddd2b8;
    line-height: 1.55;
}

.footer {
    padding: 14px 22px;
    border-top: 1px solid var(--line);
    color: #8f866f;
    text-align: center;
    font-size: 12px;
    background: #07090c;
}

.server-banner {
    margin: 20px 0;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid #d6a934;
    background: #05070a;
    box-shadow: 3px 3px 0 #020202;
}

.server-banner img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ============================= */
/* X-FAST BR - Responsivo Mobile */
/* ============================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img,
iframe {
    max-width: 100%;
}

@media (max-width: 900px) {
    body {
        overflow-x: hidden;
    }

    .wrap {
        min-height: 100vh;
        display: block;
        padding: 16px 10px;
    }

    .container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .topbar {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 12px;
        padding: 14px 12px;
    }

    .topbar span {
        width: 100%;
        font-size: 12px;
        line-height: 1.4;
        letter-spacing: 1px;
    }

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

    .nav a {
        width: 100%;
        text-align: center;
        font-size: 12px;
        padding: 10px 8px;
        white-space: normal;
    }

    .hero {
        padding: 24px 18px 20px;
    }

    .label {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 14px;
    }

    h1 {
        font-size: 38px;
        line-height: 1;
        letter-spacing: 3px;
        word-break: break-word;
    }

    .subtitle {
        font-size: 15px;
        line-height: 1.65;
        margin-top: 16px;
    }

    .content,
    .cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px;
    }

    .panel {
        width: 100%;
        min-width: 0;
    }

    .panel-title {
        padding: 13px 15px;
        font-size: 13px;
        line-height: 1.4;
    }

    .panel-body {
        padding: 18px;
    }

    .server-name {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 14px;
    }

    .ip-box {
        width: 100%;
        padding: 15px 10px;
        font-size: 19px;
        line-height: 1.35;
        letter-spacing: 2px;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

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

    .btn {
        width: 100%;
        text-align: center;
        padding: 13px 12px;
        font-size: 13px;
    }

    .stats,
    .maps {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat {
        width: 100%;
        min-width: 0;
    }

    .stat strong {
        font-size: 22px;
        line-height: 1.25;
        word-break: break-word;
    }

    .briefing {
        padding-left: 20px;
        line-height: 1.7;
    }

    .briefing li {
        margin-bottom: 8px;
    }

    .map {
        font-size: 13px;
        padding: 12px;
    }

    .gametracker-banner,
    .server-banner {
        width: 100%;
        margin: 18px 0;
        overflow: hidden;
    }

    .gametracker-banner img,
    .server-banner img {
        width: 100%;
        max-width: 560px;
        height: auto;
        margin: 0 auto;
    }

    .notice,
    .rules {
        font-size: 14px;
        line-height: 1.65;
    }

    .footer {
        padding: 16px 10px;
        font-size: 11px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .wrap {
        padding: 10px 8px;
    }

    .container {
        border-width: 1px;
        box-shadow: 0 0 0 2px rgba(6,26,61,.65), 0 18px 55px rgba(0,0,0,.72);
    }

    .topbar {
        padding: 12px 10px;
    }

    .nav {
        grid-template-columns: 1fr 1fr;
        gap: 7px;
    }

    .nav a {
        font-size: 11px;
        padding: 9px 6px;
    }

    .hero {
        padding: 22px 16px 18px;
    }

    h1 {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .subtitle {
        font-size: 14px;
    }

    .content,
    .cards {
        padding: 14px;
        gap: 14px;
    }

    .panel-body {
        padding: 15px;
    }

    .server-name {
        font-size: 22px;
    }

    .ip-box {
        font-size: 16px;
        letter-spacing: 1px;
        padding: 14px 8px;
    }

    .stat strong {
        font-size: 20px;
    }

    .game-card {
        min-height: auto;
        padding: 16px;
    }

    .game-card h2 {
        font-size: 20px;
    }

    .game-card p {
        font-size: 14px;
    }
}