:root {
    --bg: #080d1a;
    --bg-soft: #0d1322;
    --panel: #131b30;
    --panel-2: #1a233a;
    --line: rgba(148, 163, 184, 0.14);
    --text: #eef2ff;
    --muted: #8fa0c8;
    --accent: #5eead4;
    --accent-2: #818cf8;
    --pink: #f472b6;
    --green: #34d399;
    --red: #f87171;
    --amber: #fbbf24;
    --radius: 16px;
    --shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background:
        radial-gradient(1100px 600px at 90% -10%, rgba(129, 140, 251, 0.16), transparent 62%),
        radial-gradient(900px 520px at 0% 110%, rgba(94, 234, 212, 0.12), transparent 60%),
        var(--bg-soft);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: #fff;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px;
}
/* ================= NAV ================= */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(94, 234, 212, 0.12);
}
nav .container { display: flex; align-items: center; gap: 22px; height: 66px; }
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    color: var(--text);
    white-space: nowrap;
}
.brand .logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #0b0e1a;
    font-size: 1.05rem;
    box-shadow: 0 0 18px rgba(94, 234, 212, 0.45);
}
.brand .b { color: var(--accent); }
.brand .tag { color: var(--muted); font-weight: 600; font-size: 0.8rem; }
nav .links { display: flex; margin-left: auto; gap: 4px; align-items: center; }
nav .links a {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.93rem;
    padding: 8px 14px;
    border-radius: 10px;
    transition: background 0.15s, color 0.15s;
}
nav .links a:hover { color: #fff; background: rgba(94, 234, 212, 0.08); }
nav .links a.active { color: var(--text); background: rgba(94, 234, 212, 0.10); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; gap: 6px; }
.lang-switch a {
    padding: 5px 11px;
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: 0.15s;
}
.lang-switch a.active {
    background: var(--accent);
    color: #0b0e1a;
    border-color: var(--accent);
}
.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(90deg, #5865f2, var(--accent-2));
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 15px;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.4);
}
.discord-btn:hover { color: #fff; transform: translateY(-1px); }
/* ================= HERO ================= */
.hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: clamp(60px, 8vw, 100px) 22px 50px;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(620px 280px at 50% 0%, rgba(94, 234, 212, 0.16), transparent 70%),
        linear-gradient(180deg, rgba(11, 14, 26, 0.6), transparent 60%);
}
.planet {
    position: absolute;
    border-radius: 50%;
    filter: blur(0.4px);
}
.planet.p1 {
    width: 110px;
    height: 110px;
    top: 18%;
    left: 5%;
    background: radial-gradient(circle at 30% 30%, #67e8f9, #0e7490 70%);
    box-shadow: 0 0 60px rgba(14, 116, 144, 0.5);
}
.planet.p2 {
    width: 72px;
    height: 72px;
    top: 24%;
    right: 8%;
    background: radial-gradient(circle at 34% 30%, #f0abfc, #a21caf);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.55);
    animation: spin 22s linear infinite;
}
.planet.p3 {
    width: 36px;
    height: 36px;
    bottom: 16%;
    left: 10%;
    background: radial-gradient(var(--amber), #b45309);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
    animation: floaty 5s ease-in-out infinite;
}
.planet.p4 {
    width: 26px;
    height: 26px;
    top: 26%;
    right: 22%;
    background: var(--green);
    box-shadow: 0 0 22px rgba(52, 211, 153, 0.5);
    animation: floaty 4s ease-in-out infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
.hero h1 {
    position: relative;
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.06;
    margin-bottom: 18px;
}
.hero h1 .hl {
    background-image: linear-gradient(92deg, #fff 15%, var(--accent-2) 60%, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero .lede {
    position: relative;
    color: var(--muted);
    font-size: 1.12rem;
    max-width: 720px;
    margin: 0 auto 8px;
    font-weight: 500;
}
.hero .hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}
.hero-stats {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 42px;
    flex-wrap: wrap;
}
.stat-card {
    min-width: 130px;
    padding: 18px 22px;
    background: rgba(19, 27, 48, 0.75);
    border: 1px solid rgba(94, 234, 212, 0.18);
    border-radius: 16px;
    backdrop-filter: blur(8px);
}
.stat-card b {
    display: block;
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--accent);
}
.stat-card span {
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}
/* ================= BUTTONS ================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    font-family: var(--font);
    font-weight: 800;
    font-size: 0.98rem;
    border: 1px solid transparent;
    cursor: pointer;
    background: linear-gradient(110deg, var(--accent), var(--accent-2));
    color: #0b0e1a;
    box-shadow: 0 6px 22px rgba(94, 234, 212, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(94, 234, 212, 0.35);
    color: #0b0e1a;
}
.btn.ghost {
    background: transparent;
    border-color: rgba(94, 234, 212, 0.35);
    color: var(--accent);
    box-shadow: none;
}
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn.discord {
    background: linear-gradient(90deg, #5865f2, var(--accent-2));
    color: #fff;
    box-shadow: 0 6px 22px rgba(88, 101, 242, 0.4);
}
.btn.discord:hover { color: #fff; }
.btn.small { padding: 7px 15px; font-size: 0.84rem; }
.btn.danger {
    background: linear-gradient(90deg, var(--red), #dc2626);
    color: #fff;
}
.btn.danger:hover { color: #fff; }

/* ================= SECTIONS ================= */
section { padding: 56px 0; }
.section-head { margin-bottom: 30px; }
.section-head h2 {
    font-size: 1.9rem;
    font-weight: 800;
    background-image: linear-gradient(92deg, #fff, var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-head .mini {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 6px;
}
.section-sub {
    color: var(--muted);
    max-width: 640px;
    margin-top: 8px;
}
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 8px auto 0; }
/* ================= LIVE BAR ================= */
.live-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    background: linear-gradient(var(--panel), var(--panel-2));
    border: 1px solid rgba(52, 211, 153, 0.25);
    padding: 18px 20px;
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.live-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    background: rgba(9, 14, 26, 0.8);
    border-radius: 999px;
    border: 1px solid rgba(52, 211, 153, 0.35);
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff !important;
    transition: transform 0.17s ease, box-shadow 0.17s ease;
}
.live-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(52, 211, 153, 0.25);
    border-color: rgba(52, 211, 153, 0.55);
}
.live-chip .pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.live-bar .empty {
    color: var(--muted);
    text-align: center;
    width: 100%;
    padding: 6px 0;
}/* ================= GAME CARDS & GRID ================= */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 18px;
}
.cat-block {
    margin-bottom: 20px;
    transition: opacity 0.2s, transform 0.2s;
}
.cat-block.hidden-block {
    display: none;
}
.cat-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 26px 0 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}
.cat-title .count {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 700;
    background: rgba(148, 163, 184, 0.12);
    padding: 2px 10px;
    border-radius: 999px;
}
.game-card {
    position: relative;
    background: linear-gradient(180deg, var(--panel), #101725);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(94, 234, 212, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
.game-card .cover {
    height: 128px;
    background: linear-gradient(135deg, #1a233a, #0d1322);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.game-card .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.game-card .cover .fallback {
    font-size: 3rem;
    color: rgba(94, 234, 212, 0.25);
    font-weight: 900;
}
.game-badge {
    position: absolute;
    top: 10px;
    left: 12px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(19, 27, 48, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: var(--muted);
}
.game-badge.online {
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.4);
    color: var(--green);
}
.game-badge.offline {
    background: rgba(248, 113, 113, 0.1);
    border-color: rgba(248, 113, 113, 0.4);
    color: var(--red);
}
.game-card .body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.game-card .body h3 {
    font-size: 1.06rem;
    font-weight: 800;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.game-card .body p {
    color: var(--muted);
    font-size: 0.87rem;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.game-card .actions {
    display: flex;
    gap: 8px;
    align-items: center;
}
.game-card .actions .btn {
    flex: 1;
    justify-content: center;
    white-space: nowrap;
    padding: 10px 14px;
}
/* ================= FILTER CHIPS ================= */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 4px 0 6px;
}
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(19, 27, 48, 0.6);
    color: var(--muted);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: 0.15s;
    font-family: var(--font);
}
.filter-chip:hover { color: #fff; border-color: rgba(94, 234, 212, 0.5); }
.filter-chip.active {
    background: linear-gradient(110deg, var(--accent), var(--accent-2));
    color: #0b0e1a;
    border-color: transparent;
}
.filter-chip .count {
    font-size: 0.72rem;
    font-weight: 800;
    background: rgba(148, 163, 184, 0.18);
    padding: 1px 8px;
    border-radius: 999px;
}
.filter-chip.active .count { background: rgba(11, 14, 26, 0.2); }

/* ================= JOIN BANNER ================= */
.join-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    background:
        radial-gradient(500px 200px at 90% 0%, rgba(129, 140, 251, 0.25), transparent 70%),
        linear-gradient(110deg, var(--panel), var(--panel-2));
    border: 1px solid rgba(94, 234, 212, 0.2);
    border-radius: 22px;
    padding: 36px 40px;
}
.join-banner h2 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 8px;
}
.join-banner p { color: var(--muted); max-width: 560px; }
/* ================= FOOTER ================= */
footer {
    margin-top: 60px;
    border-top: 1px solid var(--line);
    background: rgba(8, 13, 26, 0.7);
    padding: 34px 0 28px;
}
footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
}
footer h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--muted);
    margin-bottom: 14px;
}
footer a { display: block; color: var(--muted); font-size: 0.92rem; margin-bottom: 8px; }
footer a:hover { color: var(--accent); }
footer p { color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; }
footer .copyright {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.7;
}

/* ================= PAGES (generic) ================= */
.page-header {
    text-align: center;
    padding: 60px 22px 30px;
}
.page-header h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    background-image: linear-gradient(92deg, #fff, var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}
.page-header p { color: var(--muted); max-width: 640px; margin: 0 auto; }

.card {
    background: linear-gradient(180deg, var(--panel), #101725);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; }
.card ul { list-style: none; }
.card li {
    color: var(--muted);
    padding: 9px 0 9px 28px;
    position: relative;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
}
.card li:last-child { border-bottom: none; }
.card li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 17px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(94, 234, 212, 0.6);
}
.card .muted { color: var(--muted); font-size: 0.9rem; }
.mono {
    font-family: var(--mono);
    background: rgba(11, 14, 26, 0.9);
    border: 1px solid var(--line);
    padding: 8px 14px;
    border-radius: 10px;
    color: var(--accent);
    font-size: 0.9rem;
    display: inline-block;
    word-break: break-all;
}
.step-num {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #0b0e1a;
    font-weight: 900;
    margin-bottom: 10px;
}
table.server-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(180deg, var(--panel), #101725);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.server-table th {
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--muted);
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(11, 14, 26, 0.5);
}
.server-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 0.93rem;
}
.server-table tr:last-child td { border-bottom: none; }
.status-pill {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.status-pill.online { background: rgba(52, 211, 153, 0.12); color: var(--green); }
.status-pill.offline { background: rgba(248, 113, 113, 0.1); color: var(--red); }
.status-pill.dedicated { background: rgba(251, 191, 36, 0.12); color: var(--amber); }

/* compat: admin + detail pages use .status-badge */
.status-badge {
    display: inline-block;
    font-size: 0.87rem;
    font-weight: 700;
    color: var(--muted);
    border: 1px solid rgba(148, 163, 184, 0.3);
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(19, 27, 48, 0.8);
}
.status-badge.online { background: rgba(52, 211, 153, 0.12); color: var(--green); border-color: rgba(52, 211, 153, 0.4); }
.status-badge.offline { background: rgba(248, 113, 113, 0.1); color: var(--red); border-color: rgba(248, 113, 113, 0.4); }

/* ================= RESPONSIVE ================= */
@media (max-width: 860px) {
    nav .container { flex-wrap: wrap; height: auto; padding: 10px 16px 14px; }
    nav .links { order: 5; width: 100%; overflow-x: auto; padding-bottom: 6px; }
    .brand .tag { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .join-banner { padding: 28px 24px; }
}
/* ================= ADMIN ================= */
.admin-body {
    background:
        radial-gradient(1000px 500px at 80% -10%, rgba(129, 140, 251, 0.15), transparent 60%),
        var(--bg-soft);
}
.admin-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(94, 234, 212, 0.12);
}
.admin-nav .container { display: flex; align-items: center; gap: 18px; height: 60px; }
.admin-nav .brand { margin-right: auto; }
.admin-nav .links { display: flex; gap: 4px; align-items: center; }
.admin-nav .links a {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 13px;
    border-radius: 10px;
    transition: background 0.15s, color 0.15s;
}
.admin-nav .links a:hover { color: #fff; background: rgba(94, 234, 212, 0.08); }
.admin-nav .links a.active { color: var(--text); background: rgba(94, 234, 212, 0.1); }
.admin-wrap { max-width: 1080px; margin: 0 auto; padding: 32px 22px 60px; }
.admin-nav .user { color: var(--muted); font-size: 0.85rem; margin-right: 4px; }

.admin-card {
    background: linear-gradient(180deg, var(--panel), #101725);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 22px;
}
.admin-card h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.admin-card h3 {
    font-size: 1.02rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
}
.login-card {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(180deg, var(--panel), #101725);
    border: 1px solid rgba(94, 234, 212, 0.16);
    border-radius: 22px;
    padding: 34px 30px;
    box-shadow: var(--shadow);
}
.login-card h1 { font-size: 1.7rem; font-weight: 900; margin-bottom: 6px; }
.login-card .sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; line-height: 1.5; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 4px; }
.form-grid .full { grid-column: 1 / -1; }

label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin: 14px 0 6px;
}
input, textarea, select {
    width: 100%;
    font-family: var(--font);
    font-size: 0.95rem;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(11, 14, 26, 0.8);
    color: var(--text);
    outline: none;
    transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
textarea { min-height: 90px; resize: vertical; }

.form-actions { display: flex; gap: 12px; margin-top: 22px; align-items: center; flex-wrap: wrap; }

.alert {
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 18px;
    border: 1px solid;
}
.alert.err, .alert.danger { background: rgba(248, 113, 113, 0.1); color: var(--red); border-color: rgba(248, 113, 113, 0.4); }
.alert.ok, .alert.success { background: rgba(52, 211, 153, 0.1); color: var(--green); border-color: rgba(52, 211, 153, 0.4); }

.badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 9px;
    border-radius: 999px;
}
.badge.new { background: rgba(129, 140, 251, 0.15); color: var(--accent-2); }
.badge.done { background: rgba(52, 211, 153, 0.15); color: var(--green); }

.features { display: grid; gap: 12px; margin-bottom: 6px; }
.feature {
    background: rgba(11, 14, 26, 0.6);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
}
.feature h3 { font-size: 1.7rem; font-weight: 900; color: var(--accent); margin: 0; }
.feature p { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

.easy-add-note { color: var(--muted); font-size: 0.9rem; }
.docker-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    background: rgba(11, 14, 26, 0.6);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 10px;
}
.docker-item .meta { flex: 1; min-width: 220px; }
.docker-item .meta b { display: block; font-size: 0.98rem; margin-bottom: 2px; }
.docker-item .meta small { color: var(--muted); }
.docker-item > *:last-child { flex: 0 0 auto; }

/* admin game thumbnails + image preview */
.thumb {
    width: 92px;
    height: 43px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(11, 14, 26, 0.6);
}
.img-preview-lg {
    width: 120px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    vertical-align: middle;
}
.field-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 4px;
}


/* public server list */
.server-list { display: flex; flex-direction: column; gap: 12px; }
.server-row {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(180deg, var(--panel), #101725);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 18px;
    transition: border-color 0.15s;
    flex-wrap: wrap;
}
.server-row:hover { border-color: rgba(94, 234, 212, 0.4); }
.server-row .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--red);
    flex: 0 0 auto;
    box-shadow: 0 0 10px rgba(248, 113, 113, 0.5);
}
.server-row .dot.online { background: var(--green); box-shadow: 0 0 10px rgba(52, 211, 153, 0.6); }
.server-row .dot.maintenance { background: var(--amber); box-shadow: 0 0 10px rgba(251, 191, 36, 0.5); }
.server-row .info { flex: 1; min-width: 180px; }
.server-row .info b { font-size: 1rem; display: block; }
.server-row .info span { color: var(--muted); font-size: 0.85rem; }
.server-row .port {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--accent);
    background: rgba(11, 14, 26, 0.7);
    border: 1px solid var(--line);
    padding: 5px 12px;
    border-radius: 9px;
}
.server-row .actions { display: flex; gap: 10px; align-items: center; }
