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

body {
    background: #0b0b0b url('https://i.imgur.com/cRQUzoj.jpeg') center/cover fixed no-repeat;
    font-family: 'Inter', Arial, sans-serif;
    color: #e8e8e8;
    overflow-x: hidden;

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.footer {
    margin-top: auto;
}

/* GLOBAL COLORS */
:root {
    --mc-green: #4cff4c;
    --mc-green-dark: #2ea82e;
    --glass-bg: rgba(20, 20, 20, 0.55);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* GLASS EFFECT */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 25px rgba(0,0,0,0.6);
    border-radius: 14px;
}

/* HEADER */
.topbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 18px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 50;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-size: 34px;
    font-weight: 900;
    color: var(--mc-green);
    text-shadow: 0 0 18px rgba(76,255,76,0.7);
    letter-spacing: 1px;
}


nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
}

nav a {
    color: #e8e8e8;
    text-decoration: none;
    font-size: 18px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: 0.25s;
}

nav a:hover {
    background: var(--mc-green);
    color: #000;
    box-shadow: 0 0 15px rgba(76,255,76,0.7);
}

/* HERO */
.hero {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 60px;
    border-radius: 16px;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
    animation: fadeIn 1.2s ease;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 900;
    text-shadow: 0 0 25px #000;
}

.hero-content p {
    font-size: 24px;
    margin-top: 12px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 16px 40px;
    background: #07f547;
    color: #000;
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(76,255,76,0.7);
    transition: 0.25s;
}

.btn:hover {
    transform: translateY(-4px) scale(1.03);
    background: #6aff6a;
}

/* INFO SECTION */
.info {
    padding: 100px 0;
    text-align: center;
}

.info h2 {
    font-size: 42px;
    margin-bottom: 50px;
    text-shadow: 0 0 15px rgba(76,255,76,0.4);
}

.info-boxes {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.box {
    width: 320px;
    padding: 35px;
    border-radius: 16px;
    background: rgba(20,20,20,0.55);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 25px rgba(0,0,0,0.6);
    transition: 0.3s;
}

.box:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 35px rgba(76,255,76,0.4);
}

.box h3 {
    font-size: 26px;
    margin-bottom: 12px;
    color: var(--mc-green);
}

/* FOOTER */
.footer {
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    padding: 30px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 80px;
    font-size: 16px;
    opacity: 0.85;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.players-page {
    padding: 120px 40px;
    text-align: center;
}

.players-page h1 {
    font-size: 48px;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(76,255,76,0.5);
}

.players-page .desc {
    font-size: 20px;
    opacity: 0.8;
    margin-bottom: 40px;
}

.players-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.player-box {
    background: rgba(20,20,20,0.55);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 20px;
    width: 160px;
    border-radius: 14px;
    box-shadow: 0 0 25px rgba(0,0,0,0.6);
    transition: 0.25s;
}

.player-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 35px rgba(76,255,76,0.4);
}

.player-box img {
    width: 100px;
    height: 100px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.player-box p {
    font-size: 18px;
    font-weight: 600;
}

/* === RESPONSYWNOŚĆ === */

/* Małe ekrany: telefony */
@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .btn {
        font-size: 18px;
        padding: 12px 24px;
    }

    .info-boxes,
    .stats-grid,
    .players-grid {
        flex-direction: column;
        align-items: center;
    }

    .box,
    .player-box {
        width: 90%;
        max-width: 320px;
    }

    .players-page h1 {
        font-size: 36px;
    }

    .players-page .desc {
        font-size: 18px;
    }

    .footer {
        font-size: 14px;
        padding: 20px;
    }
}

/* Średnie ekrany: tablety */
@media (max-width: 1024px) {
    .info-boxes,
    .stats-grid,
    .players-grid {
        gap: 20px;
    }

    .box,
    .player-box {
        width: 45%;
    }
}

/* Duże ekrany: desktop */
@media (min-width: 1025px) {
    .box,
    .player-box {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 40px;
    }
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: gray;
    box-shadow: 0 0 6px rgba(0,0,0,0.6);
    vertical-align: middle;
    margin-right: 6px;
}

.dot.online {
    background: #4cff4c;
    box-shadow: 0 0 10px rgba(76,255,76,0.8);
}

.dot.offline {
    background: #ff3b3b;
    box-shadow: 0 0 10px rgba(255,59,59,0.8);
}

#onlineChart {
    width: 100%;
    margin-top: 10px;
}

.partners-hero {
    text-align: center;
    padding: 60px 20px;
}

.small-hero {
    padding: 60px 20px;
    text-align: center;
}

.partner-box {
    text-align: center;
}

.partner-box img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: 0.3s;
}

.partner-box:hover img {
    transform: scale(1.1);
}

.partner-box .btn {
    margin-top: 10px;
}

