:root {
    --bg: #05070b;
    --panel: #0b1018;
    --panel2: #111827;
    --text: #f4f7fb;
    --muted: #aab4c2;
    --red: #ff1515;
    --blue: #1aa7ff;
    --line: rgba(255, 255, 255, .1);
    --green: #30ff88;
    --shadow: 0 25px 80px rgba(0, 0, 0, .55);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        linear-gradient(115deg, rgba(2, 8, 15, .94), rgba(5, 5, 8, .92) 45%, rgba(22, 0, 0, .94)),
        url('../img/background.png') center top / cover fixed no-repeat;
    overflow-x: hidden;
}

.page-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 16%, rgba(26, 167, 255, .24), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(255, 21, 21, .24), transparent 30%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 70px);
    z-index: -2;
}

.page-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26, 167, 255, .10), transparent 45%, rgba(255, 21, 21, .12));
    opacity: 1;
    z-index: -3;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

.topbar {
    border-bottom: 1px solid var(--line);
    background: rgba(3, 5, 9, .82);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 30;
}

.nav {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    color: var(--text);
}

.brand img {
    height: 58px;
    width: 58px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(255, 21, 21, .45));
}

.brand b {
    font-size: 21px;
    letter-spacing: 1px;
}

.brand span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.menu a {
    color: #dbe7f5;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .7px;
    padding: 12px 13px;
    border: 1px solid transparent;
    border-radius: 12px;
}

.menu a:hover,
.menu a.active {
    border-color: rgba(255, 255, 255, .16);
    background: linear-gradient(90deg, rgba(26, 167, 255, .14), rgba(255, 21, 21, .13));
    color: #fff;
}

.mobile-btn {
    display: none;
    background: #111827;
    color: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 13px;
}

.hero {
    padding: 58px 0 38px;
}

.hero-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 30px;
    box-shadow: var(--shadow);
    background: linear-gradient(180deg, rgba(5, 7, 11, .92), rgba(8, 10, 16, .78));
    backdrop-filter: blur(10px);
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 65%, rgba(26, 167, 255, .16), transparent 32%),
        radial-gradient(circle at 82% 58%, rgba(255, 21, 21, .20), transparent 35%);
    opacity: 1;
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 5, 10, .15), rgba(2, 5, 10, .88) 58%, rgba(2, 5, 10, .96));
    pointer-events: none;
}

.hero-top-banner {
    position: relative;
    z-index: 2;
    padding: 18px 18px 0;
}

.hero-top-banner img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow:
        0 20px 70px rgba(0, 0, 0, .65),
        0 0 45px rgba(255, 21, 21, .18);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 390px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 35px;
    padding: 42px 54px 54px;
}

.badge {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #dff2ff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

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

h1 {
    margin: 18px 0 14px;
    font-size: clamp(42px, 7vw, 92px);
    line-height: .9;
    text-transform: uppercase;
    letter-spacing: -3px;
    text-shadow: 0 0 30px rgba(255, 21, 21, .24);
}

h1 span {
    color: var(--red);
}

.lead {
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.65;
    max-width: 650px;
}

.cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: #111827;
}

.btn-red {
    background: linear-gradient(135deg, #ff1c1c, #8b0000);
    box-shadow: 0 14px 45px rgba(255, 21, 21, .25);
}

.btn-blue {
    background: linear-gradient(135deg, #0ea5e9, #0b3868);
    box-shadow: 0 14px 45px rgba(26, 167, 255, .2);
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.hero-logo {
    display: flex;
    justify-content: center;
}

.hero-logo img {
    width: min(420px, 100%);
    filter: drop-shadow(0 0 45px rgba(255, 21, 21, .55));
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 22px;
}

.stat {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .055);
}

.stat strong {
    font-size: 34px;
    display: block;
}

.stat span {
    color: var(--muted);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.section {
    padding: 50px 0;
}

.section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.section-title h2 {
    margin: 0;
    font-size: 36px;
    text-transform: uppercase;
}

.section-title p {
    margin: 0;
    color: var(--muted);
    max-width: 620px;
}

.grid {
    display: grid;
    gap: 18px;
}

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

.cards-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(17, 24, 39, .88), rgba(7, 10, 17, .88));
    box-shadow: var(--shadow);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: auto -30% -45% -30%;
    height: 160px;
    background: radial-gradient(circle, rgba(255, 21, 21, .14), transparent 60%);
}

.feature-icon {
    font-size: 38px;
}

.card h3 {
    margin: 13px 0 9px;
    font-size: 22px;
}

.card p {
    color: var(--muted);
    line-height: 1.6;
}

.server-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
}

.server-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid var(--line);
    font-weight: 800;
    color: #eaf2ff;
    font-size: 13px;
}

.online {
    color: var(--green);
}

.offline {
    color: #ff6868;
}

.server-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.copy-btn {
    cursor: pointer;
}

.ip {
    font-family: Consolas, monospace;
    color: #fff;
    background: #030407;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    display: inline-block;
}

.table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(11, 16, 24, .75);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

th,
td {
    text-align: left;
    padding: 16px;
    border-bottom: 1px solid var(--line);
}

th {
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, .05);
}

td {
    color: #d8e2ef;
}

.socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.socials a {
    flex: 1;
    min-width: 160px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .06);
    font-weight: 900;
    text-transform: uppercase;
}

.socials a:hover {
    background: linear-gradient(90deg, rgba(26, 167, 255, .18), rgba(255, 21, 21, .18));
}

.footer {
    padding: 32px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: rgba(0, 0, 0, .25);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.mini-hero {
    padding: 52px 0 22px;
}

.mini-hero h1 {
    font-size: 52px;
}

.form {
    display: grid;
    gap: 14px;
}

.input {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    background: #05070b;
    border: 1px solid var(--line);
    color: #fff;
}

.notice {
    border-left: 4px solid var(--red);
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 21, 21, .08);
    color: #ffdada;
}

.admin-note {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .hero-top-banner {
        padding: 12px 12px 0;
    }

    .hero-top-banner img {
        height: 190px;
        border-radius: 18px;
    }

    .mobile-btn {
        display: block;
    }

    .menu {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: rgba(3, 5, 9, .96);
        padding: 15px 4%;
        border-bottom: 1px solid var(--line);
    }

    .menu.open {
        display: grid;
    }

    .menu a {
        padding: 14px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 32px;
    }

    .hero-logo {
        order: -1;
    }

    .hero-logo img {
        width: 240px;
    }

    .stats-strip,
    .cards-3,
    .cards-2 {
        grid-template-columns: 1fr;
    }

    .server-card {
        grid-template-columns: 1fr;
    }

    .section-title {
        display: block;
    }

    h1 {
        letter-spacing: -1px;
    }

    .nav {
        height: 72px;
    }

    .brand b {
        font-size: 17px;
    }

    .brand img {
        height: 48px;
        width: 48px;
    }
}

.ban-list {
    display: grid;
    gap: 18px;
}

.ban-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(17, 24, 39, .88), rgba(7, 10, 17, .88));
    box-shadow: var(--shadow);
    padding: 24px;
}

.ban-player {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ban-player h3 {
    margin: 0;
    font-size: 24px;
}

.ban-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ban-status-active {
    color: #ff6868;
}

.ban-status-expired {
    color: #30ff88;
}

.ban-reason {
    color: #cbd5e1;
    line-height: 1.6;
}

.ban-date {
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 900px) {
    .ban-card {
        grid-template-columns: 1fr;
    }
}