body { 
    background: linear-gradient(rgba(15, 15, 15, 0.8), rgba(15, 15, 15, 0.8)), url('../img/background.jpg'); 
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: #ffffff; 
    font-family: 'Ubuntu', sans-serif; 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
    padding-bottom: 120px; 
}

body .btn-nex {
    background-color: #00ff88 !important;
    border: none !important;
    color: #000000 !important;
    border-radius: 8px !important;
    padding: 8px 20px !important;
    font-weight: bold !important;
    transition: all 0.2s ease-in-out !important;
    display: inline-block;
    text-decoration: none;
}

body .btn-nex:hover {
    background-color: #00e67a !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 255, 136, 0.4) !important;
}

/* Styl dla przycisku POWRÓT (szary/przezroczysty) */
body .btn-back {
    color: #ffffff !important;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
}

body .btn-back:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #00ff88 !important;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-radius: 8px !important;
}
.form-control:focus {
    border-color: #00ff88 !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 255, 136, 0.1) !important;
}
.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.nexlist-logo { 
    font-size: 1.8rem; 
    letter-spacing: 2px; 
    text-decoration: none; 
}

.nex-text { 
    color: #00ff88; 
    font-weight: 900; 
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.6); 
}

.btn-nex {
    background-color: #00ff88 !important;
    border: none !important;
    color: #000 !important;
    border-radius: 8px !important;
    padding: 8px 20px !important;
    transition: 0.3s all ease;
}

.btn-nex:hover {
    background-color: #00cc6e !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
    color: #000 !important;
}

.list-text { 
    color: #ffffff; 
    font-weight: 300; 
}

.server-card { 
    background-color: #1a1a1a; 
    border: 1px solid #333; 
    margin-bottom: 15px; 
    border-radius: 12px; 
    transition: transform 0.2s, border-color 0.2s; 
}

.server-card:hover { 
    transform: translateY(-2px); 
    border-color: #00ff88; 
}

.server-name { 
    color: #ffffff; 
    font-weight: bold; 
    font-size: 1.25rem; 
}

.server-ip { 
    color: #888; 
    font-size: 0.9rem; 
    cursor: pointer; 
}

.server-ip:hover { 
    color: #00ff88; 
}

.player-count { 
    color: #00ff88; 
    font-size: 1.5rem; 
    font-weight: bold; 
    text-shadow: 0 0 10px rgba(0,255,136,0.2); 
}

.max-players { 
    color: #888; 
    font-size: 1rem; 
}

.vote-link { 
    color: #ff4d4d; 
    text-decoration: none; 
    font-weight: bold; 
    font-size: 1.1rem; 
    transition: 0.3s; 
    display: inline-block; 
    margin-top: 5px; 
}

.vote-link:hover { 
    color: #ff1a1a; 
    transform: scale(1.1); 
}

.vote-count { 
    color: #fff; 
    margin-left: 5px; 
    font-size: 1rem; 
}

.modal-content { 
    background-color: #1a1a1a; 
    border: 1px solid #00ff88; 
    color: white; 
}

.modal-header { 
    border-bottom: 1px solid #333; 
}

.btn-close { 
    filter: invert(1); 
}

.form-control-custom { 
    background-color: #252525 !important; 
    border: 1px solid #555 !important; 
    color: #ffffff !important; 
}

.form-control-custom:focus { 
    border-color: #00ff88 !important; 
    box-shadow: 0 0 0 0.25rem rgba(0,255,136,0.25); 
}

.favicon { 
    width: 54px; 
    height: 54px; 
    border-radius: 8px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.5); 
}

.navbar { 
    background-color: #1a1a1a !important; 
    border-bottom: 1px solid #333; 
}

footer { 
    position: fixed; 
    bottom: 20px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 90%; 
    max-width: 900px; 
    background-color: rgba(26, 26, 26, 0.9) !important; 
    backdrop-filter: blur(10px); 
    border: 1px solid #444 !important; 
    border-radius: 20px; 
    z-index: 1000; 
}

.rank-num { 
    font-size: 1.5rem; 
    font-weight: 900; 
    color: rgba(255,255,255,0.1); 
    margin-right: 15px; 
}

.form-control-custom::placeholder { 
    color: rgba(255, 255, 255, 0.8) !important; 
    opacity: 1; 
}

.rules-card { 
    background-color: #1a1a1a; 
    border: 1px solid #333; 
    border-radius: 12px; 
    padding: 30px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.5);
}

.rule-item { 
    margin-bottom: 25px; 
    border-left: 3px solid #00ff88; 
    padding-left: 15px; 
}

.rule-title { 
    color: #00ff88; 
    font-weight: bold; 
    font-size: 1.1rem; 
    margin-bottom: 5px; 
    text-transform: uppercase; 
}

.rule-text { 
    color: #bbb; 
    line-height: 1.6; 
}

.navbar { 
    background-color: #1a1a1a !important; 
    border-bottom: 1px solid #333; 
}

.navbar-custom-shadow {
    /* Bardzo delikatny cień: przesunięcie 0, rozmycie 15px, 40% czerni */
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.4) !important;
}

footer { 
    position: fixed; 
    bottom: 20px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 90%; 
    max-width: 900px; 
    background-color: rgba(26, 26, 26, 0.9) !important; 
    backdrop-filter: blur(10px); 
    border: 1px solid #444 !important; 
    border-radius: 20px; 
    z-index: 1000; 
}

.footer-custom-shadow {
    /* Ciekawe rozwiązanie: cień idzie lekko do góry (-4px) */
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3) !important;
}

.btn-back { 
    color: #888; 
    text-decoration: none; 
    transition: 0.3s; 
}

.btn-back:hover { 
    color: #00ff88; 
}
.login-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 100px;
}

.login-card { 
    background-color: #1a1a1a; 
    border: 1px solid #333; 
    border-radius: 15px; 
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: border-color 0.3s;
}
.login-card:focus-within {
    border-color: #00ff88;
}
        
.form-control-custom { 
    background-color: #252525 !important; 
    border: 1px solid #444 !important; 
    color: #ffffff !important; 
    padding: 12px;
}
.form-control-custom:focus { 
    border-color: #00ff88 !important; 
    box-shadow: 0 0 10px rgba(0,255,136,0.2); 
}
#notification-container { 
    position: fixed; 
    top: 20px; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 9999; 
    width: 100%; 
    max-width: 400px; 
}

.floating-alert { 
    animation: slideDown 0.5s ease forwards; 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

@keyframes slideDown { 
    from { 
        opacity: 0; 
        transform: translateY(-20px); 
    } to { 
        opacity: 1; 
        transform: translateY(0); 
    } 
}
        
.server-featured { 
    border: 2px solid #ffc107 !important; 
    position: relative; 
    overflow: hidden; 
}

.featured-badge { 
    position: absolute; 
    top: 0; 
    right: 0; 
    background: #ffc107; 
    color: #000; 
    font-size: 0.55rem; 
    padding: 2px 8px; 
    font-weight: bold; 
    border-bottom-left-radius: 8px; 
    text-transform: uppercase; 
    z-index: 5; 
}

.btn-nex {
    background-color: #00ff88 !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 6px 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease-in-out;
}

.btn-nex:hover {
    background-color: #00e67a !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.4);
    color: #000000 !important;
}

.btn-nex i {
    color: #000000 !important;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2300ff88' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
    appearance: none !important;
}

select.form-control option {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    padding: 10px !important;
}

select.form-control:focus {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.contact-card-custom {
    background: rgba(25, 135, 84, 0.05);
    border: 1px solid rgba(25, 135, 84, 0.2);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: 0.3s;
}
.contact-card-custom:hover {
    border-color: #198754;
    transform: translateY(-5px);
}
.support-icon-large {
    font-size: 4rem;
    color: #198754;
    margin-bottom: 25px;
}
.btn-nex-large {
    background-color: #198754;
    color: white;
    padding: 15px 45px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
    text-transform: uppercase;
}
.btn-nex-large:hover {
    background-color: #157347;
    color: white;
    box-shadow: 0 8px 20px rgba(25, 135, 84, 0.3);
}