/* NAPRAWA LOADERA */
.loader-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px; /* nieco grubszy, żeby go było widać */
    background: #1793d1;
    box-shadow: 0 0 15px #1793d1;
    z-index: 10000 !important; /* musi być nad wszystkim */
    animation: load-anim 3s linear forwards;
}

@keyframes load-anim {
    0% { width: 0%; opacity: 1; }
    90% { width: 100%; opacity: 1; }
    100% { width: 100%; opacity: 0; } /* znika po zakończeniu */
}
/* FUNDAMENTY I TŁO */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: radial-gradient(circle at center, #111111 0%, #000000 100%) !important;
    background-attachment: fixed;
    color: white;
    font-family: 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    text-align: center;
}

/* NAWIGACJA BOCZNA - NAPRAWA */
.side-nav {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.nav-btn {
    padding: 12px 20px;
    text-decoration: none;
    color: white !important;
    border-radius: 30px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    min-width: 160px;
    justify-content: center;
}

.discord { background-color: #5865F2 !important; }
.youtube { background-color: #FF0000 !important; }
.nav-btn:hover { transform: scale(1.05); filter: brightness(1.1); }

.icon-fix {
    width: 20px !important;
    height: 20px !important;
    filter: brightness(0) invert(1);
}

/* HERO - CENTROWANIE */
.hero {
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.avatar {
    border-radius: 50%;
    border: 4px solid #1793d1;
    box-shadow: 0 0 20px rgba(23, 147, 209, 0.4);
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
}

/* SEKCJE I KARTY - CENTROWANIE */
.services, .status-section, .team {
    border: 2px solid #1793d1;
    border-radius: 25px;
    padding: 35px;
    margin: 40px auto !important;
    max-width: 1000px;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(23, 147, 209, 0.2);
    display: block;
}

.card-grid, .team-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.card, .member {
    background: #151515;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #333;
    width: 280px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover, .member:hover {
    transform: translateY(-10px);
    border-color: #1793d1;
    box-shadow: 0 10px 25px rgba(23, 147, 209, 0.3);
}

.member img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

/* PRZYCISK KOPIOWANIA */
.copy-btn {
    background: #1793d1;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    margin: 20px auto;
    display: block;
    transition: 0.3s;
}

.copy-btn:hover { background: #1272a3; transform: scale(1.05); }

/* STATUS I INNE */
.arch-blue { color: #1793d1; font-weight: bold; }
.dot { height: 12px; width: 12px; border-radius: 50%; display: inline-block; animation: pulse 2s infinite; margin-right: 5px; }

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

footer { padding: 50px; opacity: 0.7; }