body {
            margin: 0;
            background: radial-gradient(circle at top, #222 0, #0d0d0d 55%, #050505 100%);
            color: #eee;
            font-family: Arial, sans-serif;
        }

        .container {
            max-width: 1050px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .hero {
            text-align: center;
            margin-bottom: 36px;
        }

        .hero h1 {
            margin: 0;
            color: #f0c040;
            font-size: 38px;
            letter-spacing: 1px;
        }

        .hero p {
            color: #aaa;
            font-size: 17px;
            margin-top: 12px;
        }

        .section-title {
            margin: 34px 0 8px 0;
            color: #f0c040;
            font-size: 24px;
            letter-spacing: 0.5px;
        }

        .section-subtitle {
            color: #888;
            margin-top: 0;
            margin-bottom: 18px;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
            gap: 18px;
        }

        .card {
            background: #1a1a1a;
            border: 1px solid #333;
            border-radius: 14px;
            padding: 22px;
            text-decoration: none;
            color: #eee;
            box-shadow: 0 0 20px rgba(0,0,0,0.35);
            transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
        }

        .card:hover {
            transform: translateY(-3px);
            border-color: #f0c040;
            background: #202020;
        }

        .card h2 {
            margin: 0 0 10px 0;
            color: #f0c040;
            font-size: 22px;
        }

        .card p {
            color: #bbb;
            line-height: 1.45;
            min-height: 62px;
        }

        .meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 18px;
            border-top: 1px solid #333;
            padding-top: 12px;
            font-size: 13px;
        }

        .online {
            color: #4cff4c;
            font-weight: bold;
        }

        .offline {
            color: #ff5555;
            font-weight: bold;
        }

        .tag {
            color: #999;
        }

        .info {
            margin-top: 32px;
            background: #151515;
            border: 1px solid #333;
            border-radius: 14px;
            padding: 22px;
        }

        .info h2 {
            margin-top: 0;
            color: #f0c040;
        }

        .row {
            display: flex;
            justify-content: space-between;
            gap: 16px;
            border-bottom: 1px solid #303030;
            padding: 10px 0;
        }

        .row:last-child {
            border-bottom: 0;
        }

        .label {
            color: #aaa;
        }

        .value {
            font-weight: bold;
            text-align: right;
            word-break: break-all;
        }
        .mini-status {
            margin-top: 20px;
            background: #151515;
            border: 1px solid #333;
            border-radius: 14px;
            padding: 14px 18px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 14px;
            box-shadow: 0 0 18px rgba(0,0,0,0.25);
        }

        .mini-status-item {
            border-right: 1px solid #303030;
            padding-right: 14px;
        }

        .mini-status-item:last-child {
            border-right: 0;
            padding-right: 0;
        }

        .mini-status-label {
            color: #888;
            font-size: 12px;
            margin-bottom: 5px;
            text-transform: uppercase;
            letter-spacing: 0.4px;
        }

        .mini-status-value {
            color: #eee;
            font-size: 18px;
            font-weight: bold;
        }

        .mini-status-sub {
            color: #777;
            font-size: 12px;
            margin-top: 8px;
            grid-column: 1 / -1;
            border-top: 1px solid #303030;
            padding-top: 10px;
        }
        .footer {
            text-align: center;
            color: #666;
            margin-top: 34px;
            font-size: 13px;
        }

        a {
            color: #9fd3ff;
        }

        @media (max-width: 600px) {
            .hero h1 {
                font-size: 30px;
            }

            .row {
                flex-direction: column;
                gap: 4px;
            }

            .value {
                text-align: left;
            }
			            .mini-status {
                grid-template-columns: 1fr;
            }

            .mini-status-item {
                border-right: 0;
                border-bottom: 1px solid #303030;
                padding-right: 0;
                padding-bottom: 10px;
            }

            .mini-status-item:last-of-type {
                border-bottom: 0;
                padding-bottom: 0;
            }
        }


/* =========================
   Retro homepage banner/background
   ========================= */

html,
body {
    min-height: 100% !important;
}

body {
    color: #d9f8ff !important;
    background:
        linear-gradient(rgba(3, 5, 18, 0.72), rgba(3, 5, 18, 0.90)),
        radial-gradient(circle at 50% 0%, rgba(0, 220, 255, 0.10), transparent 38%),
        url('/assets/img/home-bg.png') center center / cover fixed no-repeat !important;
}

/* Banner w nagłówku */
.home-logo-header {
    width: 100% !important;
    margin: 0 auto 26px auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #030514 !important;
    border: 1px solid rgba(0, 220, 255, 0.65) !important;
    box-shadow:
        0 0 16px rgba(0, 220, 255, 0.22),
        0 0 42px rgba(140, 40, 255, 0.22),
        inset 0 0 28px rgba(0, 220, 255, 0.05) !important;
}

.home-logo-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 380px !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter:
        drop-shadow(0 0 10px rgba(0, 220, 255, 0.24))
        drop-shadow(0 0 22px rgba(180, 60, 255, 0.16)) !important;
}

/* Przyciemnione retro boxy */
.hero,
.card,
.service-card,
.status-card,
.server-card,
.content-box,
.panel {
    background: rgba(5, 8, 24, 0.84) !important;
    border-color: rgba(0, 210, 255, 0.42) !important;
    box-shadow:
        0 0 12px rgba(0, 220, 255, 0.14),
        0 0 30px rgba(130, 40, 255, 0.16),
        inset 0 0 20px rgba(0, 220, 255, 0.04) !important;
}

/* Linki i akcenty */
a {
    color: #77f4ff !important;
}

a:hover {
    color: #ffffff !important;
}

h1,
h2,
h3 {
    color: #d9fbff !important;
    text-shadow:
        0 0 8px rgba(0, 220, 255, 0.24),
        0 0 18px rgba(160, 60, 255, 0.22) !important;
}

/* Przyciski / kafle */
button,
.button,
.btn,
.service-link,
.card a {
    border-color: rgba(0, 220, 255, 0.55) !important;
    box-shadow:
        0 0 10px rgba(0, 220, 255, 0.14),
        0 0 24px rgba(140, 40, 255, 0.14) !important;
}

/* Mobile */
@media (max-width: 900px) {
    .home-logo-header {
        border-radius: 14px !important;
        margin-bottom: 18px !important;
    }

    .home-logo-image {
        max-height: 260px !important;
        object-fit: cover !important;
    }
}

@media (max-width: 520px) {
    .home-logo-header {
        border-radius: 12px !important;
        margin-bottom: 14px !important;
    }

    .home-logo-image {
        max-height: 185px !important;
    }
}


/* =========================
   Homepage logo size/text cleanup
   ========================= */

.home-logo-header {
    height: clamp(170px, 20vw, 260px) !important;
    margin-bottom: 28px !important;
}

.home-logo-image {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* Ukrycie starego tekstowego nagłówka pod bannerem */
.hero > h1,
.hero > p {
    display: none !important;
}

@media (max-width: 900px) {
    .home-logo-header {
        height: 180px !important;
        margin-bottom: 18px !important;
    }
}

@media (max-width: 520px) {
    .home-logo-header {
        height: 135px !important;
        margin-bottom: 14px !important;
    }

    .home-logo-image {
        object-position: center center !important;
    }
}


/* =========================
   Homepage final banner/cards fit
   ========================= */

/* Stary tekstowy hero nie ma już robić pustego boxa pod bannerem */
.hero {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 auto 30px auto !important;
}

.hero > h1,
.hero > p {
    display: none !important;
}

/* Banner - bez rozciągania i bez ucinania */
.home-logo-header {
    width: min(1120px, calc(100vw - 28px)) !important;
    max-width: 1120px !important;
    height: auto !important;
    aspect-ratio: 3 / 1 !important;
    margin: 18px auto 34px auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    background: #030514 !important;
    border: 1px solid rgba(0, 220, 255, 0.72) !important;
    box-shadow:
        0 0 16px rgba(0, 220, 255, 0.24),
        0 0 44px rgba(140, 40, 255, 0.24),
        inset 0 0 28px rgba(0, 220, 255, 0.05) !important;
}

.home-logo-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
}

/* Wspólny wygląd większych sekcji jak kafelki */
.page > section,
.page > article,
.connections,
.connection-box,
.connection-card,
.server-connections,
.status-panel,
.status-box,
.status-summary,
.system-status,
.server-status,
.monitor-card,
.info-card,
.panel,
.content-box {
    background: rgba(5, 8, 24, 0.86) !important;
    border: 1px solid rgba(0, 210, 255, 0.48) !important;
    border-radius: 14px !important;
    box-shadow:
        0 0 12px rgba(0, 220, 255, 0.16),
        0 0 30px rgba(130, 40, 255, 0.18),
        inset 0 0 20px rgba(0, 220, 255, 0.04) !important;
}

/* Tabela "Dane połączeń" */
table,
.connection-table {
    background: rgba(4, 7, 20, 0.84) !important;
    border-color: rgba(0, 210, 255, 0.38) !important;
}

table tr,
.connection-table tr {
    border-color: rgba(0, 210, 255, 0.20) !important;
}

table td,
table th,
.connection-table td,
.connection-table th {
    color: #d9f8ff !important;
    border-color: rgba(0, 210, 255, 0.20) !important;
}

table strong,
.connection-table strong,
code {
    color: #dffbff !important;
    text-shadow:
        0 0 6px rgba(0, 220, 255, 0.18),
        0 0 14px rgba(160, 60, 255, 0.16) !important;
}

/* Pasek CPU/RAM/Uptime */
.footer,
.server-footer,
.status-footer,
.system-footer,
.resource-status,
.server-resources {
    background: rgba(5, 8, 24, 0.88) !important;
    border: 1px solid rgba(0, 210, 255, 0.42) !important;
    border-radius: 14px !important;
    box-shadow:
        0 0 12px rgba(0, 220, 255, 0.14),
        0 0 30px rgba(130, 40, 255, 0.16),
        inset 0 0 20px rgba(0, 220, 255, 0.04) !important;
}

/* Karty gier - utrzymanie tego samego klimatu */
.service-card,
.server-card,
.card {
    background: rgba(5, 8, 24, 0.88) !important;
    border: 1px solid rgba(0, 210, 255, 0.52) !important;
    box-shadow:
        0 0 12px rgba(0, 220, 255, 0.18),
        0 0 28px rgba(130, 40, 255, 0.18),
        inset 0 0 18px rgba(0, 220, 255, 0.04) !important;
}

.service-card:hover,
.server-card:hover,
.card:hover {
    border-color: rgba(100, 245, 255, 0.78) !important;
    box-shadow:
        0 0 16px rgba(0, 230, 255, 0.28),
        0 0 36px rgba(165, 70, 255, 0.26),
        inset 0 0 20px rgba(0, 220, 255, 0.06) !important;
}

/* Mobile */
@media (max-width: 900px) {
    .home-logo-header {
        width: calc(100vw - 24px) !important;
        margin-top: 12px !important;
        margin-bottom: 24px !important;
        border-radius: 14px !important;
    }
}

@media (max-width: 520px) {
    .home-logo-header {
        width: calc(100vw - 16px) !important;
        margin-top: 8px !important;
        margin-bottom: 18px !important;
        border-radius: 12px !important;
    }
}


/* =========================
   Homepage info/status retro card fix
   ========================= */

.info,
.mini-status {
    background: rgba(5, 8, 24, 0.88) !important;
    border: 1px solid rgba(0, 220, 255, 0.58) !important;
    border-radius: 16px !important;
    box-shadow:
        0 0 14px rgba(0, 220, 255, 0.20),
        0 0 34px rgba(150, 50, 255, 0.20),
        inset 0 0 22px rgba(0, 220, 255, 0.05) !important;
}

.info h2 {
    color: #d9fbff !important;
    text-shadow:
        0 0 8px rgba(0, 220, 255, 0.30),
        0 0 20px rgba(160, 60, 255, 0.24) !important;
}

.info .row {
    border-bottom: 1px solid rgba(0, 220, 255, 0.16) !important;
}

.info .row:last-child {
    border-bottom: 0 !important;
}

.info .label {
    color: rgba(217, 248, 255, 0.70) !important;
}

.info .value {
    color: #e6fbff !important;
    font-weight: 700 !important;
    text-shadow:
        0 0 6px rgba(0, 220, 255, 0.20),
        0 0 14px rgba(160, 60, 255, 0.16) !important;
}

.mini-status {
    margin-top: 22px !important;
}

.mini-status-item {
    background: rgba(3, 6, 18, 0.34) !important;
    border-right: 1px solid rgba(0, 220, 255, 0.16) !important;
}

.mini-status-label {
    color: rgba(217, 248, 255, 0.62) !important;
    letter-spacing: 0.08em !important;
}

.mini-status-value {
    color: #ffffff !important;
    text-shadow:
        0 0 8px rgba(0, 220, 255, 0.22),
        0 0 16px rgba(160, 60, 255, 0.18) !important;
}

.mini-status-sub {
    border-top: 1px solid rgba(0, 220, 255, 0.16) !important;
    color: rgba(217, 248, 255, 0.60) !important;
}

.mini-status-sub a {
    color: #77f4ff !important;
}

/* delikatne dopasowanie dolnej stopki */
.footer {
    color: rgba(217, 248, 255, 0.58) !important;
    text-shadow: 0 0 8px rgba(0, 220, 255, 0.12) !important;
}


/* =========================
   Unified banner size - HOME
   ========================= */

.home-logo-header {
    width: 100% !important;
    max-width: 1120px !important;
    height: clamp(170px, 18vw, 300px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    aspect-ratio: auto !important;
}

.home-logo-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
}

@media (max-width: 900px) {
    .home-logo-header {
        height: 220px !important;
        border-radius: 14px !important;
    }
}

@media (max-width: 520px) {
    .home-logo-header {
        height: 145px !important;
        border-radius: 12px !important;
    }
}
