
:root {
    --bg: #0c1016;
    --panel: #141b25;
    --panel-light: #1b2532;

    --blue: #75caff;
    --blue-light: #a4ddff;

    --text: #f1f5f9;
    --muted: #8593a3;

    --border: rgba(255,255,255,0.07);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'Inter', sans-serif;

    background:
        radial-gradient(ellipse at 50% 0%, #18283a 0%, transparent 50%),
        var(--bg);

    color: var(--text);

    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}


.online-label.online {
    color: #22c55e;
}

.online-label.offline {
    color: #ef4444;
}

.online-label.offline .online-dot {
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
}

.server-stats {
    display: flex;
    gap: 35px;
    margin-top: 20px;
}

.server-stats > div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.server-stats small {
    font-size: 11px;
    opacity: .55;
    letter-spacing: 1px;
}

.server-stats strong {
    font-size: 17px;
    font-weight: 700;
}


/* =====================================
   HEADER + NAWIGACJA
===================================== */

.header {
    width: min(1200px, 94%);
    min-height: 85px;

    margin: 20px auto 0;
    padding: 10px 18px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    /* background: rgba(20, 27, 37, .85); */

    border: 1px solid rgba(117,202,255,.13);
    border-radius: 14px;

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    box-shadow: 0 10px 35px rgba(0,0,0,.2);
}

/* LOGO */

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #ffffff;
}

.logo-accent {
    color: #8bd4ff;
    font-weight: 900;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1px;

    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: var(--blue);
    color: #101820;

    border-radius: 10px;

    font-size: 22px;
    font-weight: 900;

    box-shadow: 0 0 25px rgba(117,202,255,.2);
}

.blue {
    color: var(--blue);
}

/* NAWIGACJA */

.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;

    padding: 6px;

    /* background: rgba(8,14,22,.55); */

    /* border: 1px solid rgba(255,255,255,.06); */
    /* border-radius: 11px; */
}

.nav-item {
    position: relative;

    min-width: 90px;
    height: 48px;

    padding: 0 12px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    color: #8998a9;

    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;

    transition: .3s ease;
}

/* IKONY */

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon svg {
    width: 17px;
    height: 17px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: .3s ease;
}

/* HOVER */

.nav-item:hover {
    color: var(--blue-light);

    background: rgba(117,202,255,.08);
    border-color: rgba(117,202,255,.15);

    transform: translateY(-2px);
}

.nav-item:hover .nav-icon svg {
    filter: drop-shadow(0 0 6px rgba(117,202,255,.6));
}

/* ACTIVE */

.nav-item.active {
    color: #8bd4ff;

    background: linear-gradient(
        135deg,
        rgba(117,202,255,.16),
        rgba(117,202,255,.04)
    );

    border-color: rgba(117,202,255,.3);

    box-shadow: 0 0 15px rgba(117,202,255,.05);
}

/* TAG */

.header-tag {
    padding: 9px 12px;

    border: 1px solid var(--border);
    border-radius: 6px;

    color: var(--muted);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;

    white-space: nowrap;
    flex-shrink: 0;
}

/* =====================================
   MAIN
===================================== */

.container {
    width: min(1000px, 92%);
    margin: 0 auto;
}

/* =====================================
   HERO
===================================== */

.hero {
    position: relative;
    overflow: hidden;

    margin-top: 30px;
    padding: 25px;

    background: linear-gradient(
        110deg,
        rgba(20,27,37,.98),
        rgba(22,37,52,.94)
    );

    border: 1px solid rgba(117,202,255,.15);
    border-radius: 14px;

    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.hero::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -100px;
    top: -120px;

    background: var(--blue);

    filter: blur(150px);
    opacity: .12;

    pointer-events: none;
}

/* =====================================
   HERO CONTENT
===================================== */

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: none;

    margin: 0 auto 35px;

    text-align: center;
}

/* STATUS */

.online-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 13px;

    border: 1px solid rgba(117,202,255,.2);
    background: rgba(117,202,255,.07);

    border-radius: 30px;

    color: var(--blue);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.online-dot {
    width: 7px;
    height: 7px;

    background: #79edaa;
    border-radius: 50%;

    box-shadow: 0 0 12px #79edaa;
}

/* TITLE */

.hero h1 {
    display: block;
    width: 100%;

    margin: 24px auto 0;

    text-align: center;
    white-space: nowrap;

    font-size: clamp(32px, 6vw, 65px);
    font-weight: 900;
    letter-spacing: -3px;
}

.hero h1 span {
    color: var(--blue);

    text-shadow: 0 0 35px rgba(117,202,255,.2);
}

/* DESCRIPTION */

.hero-content > p {
    max-width: 400px;

    margin: 15px auto 25px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.8;
}

/* =====================================
   SERVER ADDRESS
===================================== */

.server-address {
    width: fit-content;

    margin: 0 auto 20px;
    padding: 12px 22px;

    display: flex;
    flex-direction: column;
    gap: 5px;

    background: rgba(0,0,0,.25);

    border: 1px solid var(--border);
    border-radius: 8px;
}

.server-address small {
    color: var(--muted);

    font-size: 9px;
    letter-spacing: 1px;
}

.server-address strong {
    color: var(--blue-light);

    font-size: 13px;
    letter-spacing: 1px;
}

/* =====================================
   BUTTONS
===================================== */

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.play-button,
.copy-button {
    min-width: 170px;
    height: 50px;

    padding: 0 20px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    border-radius: 7px;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;

    transition: .25s ease;
}

/* PLAY */

.play-button {
    background: var(--blue);
    color: #101820;

    border: 1px solid var(--blue);
}

.play-button:hover {
    background: var(--blue-light);

    transform: translateY(-3px);

    box-shadow: 0 8px 25px rgba(117,202,255,.2);
}

/* COPY */

.copy-button {
    background: rgba(117,202,255,.07);
    color: var(--blue);

    border: 1px solid rgba(117,202,255,.3);
}

.copy-button:hover {
    background: rgba(117,202,255,.16);

    border-color: var(--blue);

    transform: translateY(-3px);
}

/* =====================================
   HERO DECORATION
===================================== */

.hero-decoration {
    position: absolute;

    right: 45px;
    bottom: 20px;

    display: flex;
    flex-direction: column;

    color: rgba(117,202,255,.045);

    font-size: 100px;
    line-height: .85;
    font-weight: 900;
    letter-spacing: -8px;

    pointer-events: none;
}

/* =====================================
   AKTUALNOŚCI
===================================== */

.news {
    margin-top: 45px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.section-header small {
    color: var(--blue);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-header h2 {
    margin-top: 5px;

    font-size: 23px;
    font-weight: 900;
}

.news-label {
    color: var(--muted);

    font-size: 9px;
    letter-spacing: 1px;
}

.news-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;

    padding: 25px;

    background: var(--panel);

    border: 1px solid var(--border);
    border-radius: 10px;
}

.news-icon {
    width: 42px;
    height: 42px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(117,202,255,.1);
    color: var(--blue);

    border-radius: 8px;

    font-size: 20px;
}

.news-date {
    color: var(--blue);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.news-content h3 {
    margin: 5px 0;

    font-size: 15px;
}

.news-content p {
    color: var(--muted);

    font-size: 12px;
}

/* =====================================
   FOOTER
===================================== */

footer {
    width: min(1000px, 92%);

    margin: auto auto 0;
    padding: 35px 0 25px;

    display: flex;
    justify-content: space-between;

    color: var(--muted);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

/* =====================================
   TABLET
===================================== */

@media (max-width: 1000px) {

    .header {
        flex-wrap: wrap;
        justify-content: center;

        padding: 15px;
        gap: 12px;
    }

    .logo {
        margin-right: auto;
    }

    .navigation {
        order: 3;
        width: 100%;
    }

    .nav-item {
        flex: 1;
        min-width: 0;
    }

}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 550px) {

    .header {
        width: 92%;

        margin-top: 12px;
        padding: 12px;

        gap: 12px;
    }

    .logo {
        font-size: 17px;
    }

    .logo-icon {
        width: 35px;
        height: 35px;

        font-size: 19px;
    }

    .header-tag {
        font-size: 7px;
        padding: 7px;
        letter-spacing: .7px;
    }

    .navigation {
        display: grid;
        grid-template-columns: repeat(3, 1fr);

        gap: 5px;
        padding: 5px;
    }

    .nav-item {
        min-width: 0;
        height: 45px;

        padding: 5px;
        gap: 5px;

        font-size: 8px;
    }

    .nav-icon svg {
        width: 15px;
        height: 15px;
    }

    .hero {
        padding: 15px;
        margin-top: 18px;
    }

    .hero-content {
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: clamp(27px, 8vw, 42px);
        letter-spacing: -2px;
    }

    .hero-content > p {
        font-size: 12px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .play-button,
    .copy-button {
        width: 100%;
    }

    .hero-decoration {
        right: 10px;
        bottom: 10px;

        font-size: 65px;
    }

    .section-header h2 {
        font-size: 19px;
    }

    .news-card {
        padding: 17px;
        gap: 12px;
    }

    footer {
        gap: 15px;
        font-size: 8px;
    }

}

/* =====================================
   MAŁE TELEFONY
===================================== */

@media (max-width: 350px) {

    .header-tag {
        display: none;
    }

    .hero h1 {
        font-size: 27px;
        letter-spacing: -1.5px;
    }

    .nav-item {
        gap: 4px;
        font-size: 7px;
    }

}
