@import url('https://fonts.googleapis.com');

:root {
    --pylon-dark: #0a0c10;
    --pylon-mid: #1a1d24;
    --pylon-light: #e1e8f0;
    --pylon-muted: #c0c8d0;
    --pylon-accent: #8fd461;
    --pylon-accent-glow: rgba(64, 122, 24, 0.7); 
    --pylon-green: #28a745;
    --pylon-red: #dc3545;
}


/* GŁÓWNE TŁO STRONY */
body {
    background-color: var(--pylon-dark);
    color: var(--pylon-light);
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
}

.text-muted {
    color: var(--pylon-muted) !important;
}

/* NAWIGACJA Z EFEKTEM SZKŁA */
.navbar {
    background-color: rgba(10, 12, 16, 0.9);
    backdrop-filter: blur(15px); 
    border-bottom: 1px solid var(--pylon-mid);
}

.navbar-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--pylon-light);
    letter-spacing: 1px;
}

.navbar-brand:hover {
    color: var(--pylon-accent);
}

/* HERO SECTION Z ROZMYTYM OBRAZKIEM TŁA */
.hero {
    position: relative;
    padding: 10rem 0;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid var(--pylon-mid);
    background-color: var(--pylon-dark); 
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.png'); 
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.6); 
    transform: scale(1.1); 
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* TYPOGRAFIA HERO Z ANIMACJĄ PULSOWANIA */
.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 4.5rem;
    letter-spacing: 4px;
    color: #fff; 
    text-shadow: 0 0 10px rgba(143, 212, 97, 0.5), 0 0 20px rgba(143, 212, 97, 0.3), 0 0 30px rgba(0,0,0,0.5);
    animation: text-glow-pulse 3s infinite alternate ease-in-out;
}

@keyframes text-glow-pulse {
    0% {
        text-shadow: 0 0 10px rgba(143, 212, 97, 0.5), 0 0 20px rgba(143, 212, 97, 0.3), 0 0 30px rgba(0,0,0,0.5);
    }
    100% {
        text-shadow: 0 0 20px var(--pylon-accent), 0 0 40px rgba(143, 212, 97, 0.8), 0 0 50px rgba(0,0,0,0.8);
    }
}

.hero .lead {
    font-size: 1.3rem;
    font-weight: 300;
    max-width: 650px;
    margin: 1rem auto;
}

/* STATUS SERWERA Z EFEKTEM SZKŁA */
.server-status-box {
    background-color: rgba(0,0,0,0.6);
    border: 1px solid var(--pylon-mid);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(10px); 
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.status-dot { width: 12px; height: 12px; border-radius: 50%; margin-right: 10px; }
.status-dot.online { background-color: var(--pylon-green); box-shadow: 0 0 10px var(--pylon-green); animation: pulse 2s infinite; }
.status-dot.offline { background-color: var(--pylon-red); }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.2); opacity: 0.7; } 100% { transform: scale(1); opacity: 1; } }

.server-status-box .server-address {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--pylon-accent);
    letter-spacing: 1px;
}

.player-count { color: var(--pylon-light); font-weight: bold; }

/* PRZYCISKI */
.btn-pylon {
    background-color: var(--pylon-accent);
    color: var(--pylon-dark);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    border: 2px solid var(--pylon-accent);
    padding: 0.8rem 2.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-pylon:hover {
    background-color: transparent;
    color: var(--pylon-accent);
    box-shadow: 0 0 20px var(--pylon-accent-glow);
}

.section-divider {
    border: 0;
    height: 2px;
    background-image: linear-gradient(to right, transparent, var(--pylon-accent), transparent);
    opacity: 0.5;
}

/* KARTY Z EFEKTEM SZKŁA */
.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.feature-card {
    background-color: rgba(26, 29, 36, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid #2a2d34;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.card-link:hover .feature-card {
    transform: translateY(-10px);
    border-color: var(--pylon-accent);
    background-color: rgba(35, 40, 50, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--pylon-accent-glow);
}

.feature-icon i {
    color: var(--pylon-accent);
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--pylon-light);
}

.btn-social {
    font-size: 1.2rem;
    width: 150px;
    margin: 0.5rem;
    transition: all 0.2s ease-in-out;
}

.btn-social:hover {
    transform: scale(1.05);
}

/* NOWE STYLE DLA STOPKI */
.site-footer {
    background-color: var(--pylon-dark); 
    padding: 4rem 0 2rem 0; 
    border-top: 1px solid var(--pylon-mid); 
    text-align: center;
    color: var(--pylon-muted);
}

.footer-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--pylon-light);
    margin-bottom: 1.5rem;
}


#leaderboard-section table {
    font-size: 1.2rem; /* Powiększa tekst o 20% */
}

#leaderboard-section table th, 
#leaderboard-section table td {
    padding: 20px; /* Zwiększa odstępy wewnątrz komórek */
    vertical-align: middle; /* Centruje zawartość pionowo */
}

.player-avatar {
    width: 40px; /* Powiększenie awatara gracza */
    height: 40px;
    margin-right: 10px;
}

