/* ==========================================================================
   1. RESET STYLÓW, CZCIONKI I USTAWIENIA PODSTAWOWE
   ========================================================================== */
@import url('https://googleapis.com');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Nowoczesne, mroczne tło z kinową grafiką z CS2 */
body {
    background-color: #050508;
    background-image: linear-gradient(180deg, rgba(22, 18, 36, 0.85) 0%, rgba(5, 5, 8, 0.95) 100%), 
                      url('tlo.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Górna poświata świetlna (efekt ambient) */
body::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 123, 0, 0.15) 0%, rgba(88, 101, 242, 0.05) 100%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

/* ==========================================================================
   2. GÓRNY PASEK NAWIGACJI (NAVBAR)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 100%;
    padding: 18px 40px;
    background: rgba(10, 10, 15, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.logo {
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 1.5px;
    background: linear-gradient(45deg, #ff7b00, #ffae00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

/* Standardowy wygląd linków w menu */
.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
}

/* Efekt najechania na zwykły link */
.nav-links a:hover {
    color: #ff9d00;
    text-shadow: 0 0 15px rgba(255, 157, 0, 0.6);
}

/* Efekt tęczy dla linku "Kontakt" (aktywny tylko gdy NIE JESTEŚMY na tej stronie) */
.nav-links a.rainbow-link:not(.active) {
    font-weight: 700;
    background: linear-gradient(45deg, #ff7b00, #ffb700, #5865F2, #ff7b00);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 6s linear infinite;
}

/* POPRAWKA: Wymuszone podświetlenie dla aktualnie AKTYWNEGO linku */
.nav-links a.active {
    color: #ff9d00 !important;
    font-weight: 700 !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #ff9d00 !important;
    text-shadow: 0 0 15px rgba(255, 157, 0, 0.6) !important;
    position: relative;
}

/* Mała świecąca kropka pod aktywnym linkiem */
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: #ff9d00;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff9d00;
}

/* ==========================================================================
   3. GŁÓWNA TREŚĆ I KONTENERY (INDEX, REGULAMIN, POLITYKA)
   ========================================================================== */
.hero-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 160px 20px 100px 20px;
    z-index: 1;
}

/* Styl dla podstron tekstowych (Regulamin i Polityka) */
.policy-container, .rules-container {
    flex: 1;
    display: block;
    text-align: left;
    width: 90%;
    max-width: 100%;
    margin: 140px auto 60px auto;
    padding: 40px;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Elementy tekstowe podstron */
.btn-back {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    margin-bottom: 30px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-back:hover {
    color: #ff9d00;
    transform: translateX(-5px);
}

.date {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 25px 0;
}

h3 {
    font-size: 1.3rem;
    color: #ffae00;
    margin: 25px 0 12px 0;
}

.policy-container p, .rules-container p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.policy-container li, .rules-container li {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
    line-height: 1.7;
}

.policy-container ul, .rules-container ol {
    padding-left: 20px;
}

/* Wyróżnienia i alerty */
.highlight {
    color: #5865F2;
    font-weight: 600;
}

.alert {
    background: rgba(222, 98, 98, 0.1);
    border-left: 4px solid #de6262;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   4. ELEMENTY DEKORACYJNE I PRZYCISKI
   ========================================================================== */
.badge {
    background: rgba(255, 123, 0, 0.12);
    border: 1px solid rgba(255, 123, 0, 0.3);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ff9d00;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(255, 123, 0, 0.15);
}

h1 {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

h1 span {
    background: linear-gradient(45deg, #ff7b00, #ffb700, #5865F2, #ff7b00);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 6s linear infinite;
}

/* Animacja zmiany kolorów gradientu */
@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-container p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    max-width: 620px;
    margin-bottom: 45px;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Przyciski CTA na środku */
.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    text-decoration: none;
    padding: 18px 42px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-discord {
    background: #5865F2;
    color: #ffffff;
    box-shadow: 0 6px 30px rgba(88, 101, 242, 0.4);
}

.btn-discord:hover {
    transform: translateY(-4px);
    background: #4752c4;
    box-shadow: 0 10px 40px rgba(88, 101, 242, 0.6);
}

.btn-cs2 {
    background: linear-gradient(45deg, #ff7b00, #ffae00);
    color: #050508;
    box-shadow: 0 6px 30px rgba(255, 123, 0, 0.35);
}

.btn-cs2:hover {
    transform: translateY(-4px);
    background: linear-gradient(45deg, #ff9100, #ffbe3b);
    box-shadow: 0 10px 40px rgba(255, 123, 0, 0.55);
}
.btn-skiny {
    background: linear-gradient(45deg, #4a0875, #28006e);
    color: #ffffff;
    box-shadow: 0 6px 30px rgba(74, 8, 117, 0.4); /* Poprawiony cień na fioletowy */
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; /* Płynna animacja */
}

.btn-skiny:hover {
    transform: translateY(-4px);
    background: linear-gradient(45deg, #620fa1, #3c029e); /* Rozjaśnienie tła przy najechaniu */
    box-shadow: 0 10px 40px rgba(74, 8, 117, 0.6); /* Mocniejszy fioletowy cień */
}


/* ==========================================================================
   5. STOPKA STRONY (FOOTER)
   ========================================================================== */
.footer {
    width: 100%;
    padding: 30px 40px;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    margin-top: auto;
}

.footer-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-nav {
    display: flex;
    list-style: none;
    gap: 25px;
}

.footer-nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #ff9d00;
}

/* ==========================================================================
   6. RESPONSOWNOŚĆ (DLA TELEFONÓW I TABLETÓW)
   ========================================================================== */
@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    .nav-links { display: none; }
    .navbar { padding: 15px 25px; width: 95%; }
    .cta-buttons { flex-direction: column; width: 100%; max-width: 290px; }
    .btn { text-align: center; justify-content: center; }
    .footer { flex-direction: column; gap: 15px; text-align: center; padding: 25px 20px; }
    .footer-nav { gap: 15px; }
    .policy-container, .rules-container { padding: 25px; margin-top: 100px; }
}
/* ==========================================================================
   7. STYLe DLA PODSTRONY KONTAKTU
   ========================================================================== */
.contact-container {
    flex: 1;
    width: 90%;
    max-width: 850px;
    margin: 140px auto 60px auto;
    padding: 40px;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.section-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 35px;
    line-height: 1.6;
}

/* Układ dwóch kafelków obok siebie */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Wygląd kafelka (Glassmorphism) */
.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

/* Indywidualne podświetlenia po najechaniu */
.steam-card:hover { border-color: rgba(255, 123, 0, 0.4); box-shadow: 0 10px 30px rgba(255, 123, 0, 0.1); }
.discord-card:hover { border-color: rgba(88, 101, 242, 0.4); box-shadow: 0 10px 30px rgba(88, 101, 242, 0.1); }

/* Avatar Steam i kropka statusu */
.card-avatar {
    position: relative;
    width: 64px;
    height: 64px;
}

.card-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.status-indicator {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #0a0a0f;
}

/* Kolorystyka statusów Steam */
.status-indicator.online { background-color: #57cbde; box-shadow: 0 0 10px #57cbde; }
.status-indicator.offline { background-color: #8a8a8a; }
.status-indicator.ingame { background-color: #90ba3c; box-shadow: 0 0 10px #90ba3c; }

.status-text.online { color: #57cbde; font-weight: 600; }
.status-text.offline { color: #8a8a8a; }
.status-text.ingame { color: #90ba3c; font-weight: 600; }

/* Kafelek Discord */
.card-icon-dc {
    width: 64px;
    height: 64px;
    background: #5865F2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dc-tag {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: 2px;
}

/* Napisy w kafelkach */
.card-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
}

.card-info p {
    font-size: 0.9rem;
    margin: 4px 0 8px 0;
}

.card-action {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ff9d00;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* NOWOCZESNY FORMULARZ */
.form-wrapper h3 {
    margin-bottom: 20px;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.form-group input, .form-group select, .form-group textarea {
    padding: 14px 18px;
    background: rgba(5, 5, 8, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: #ff9d00;
    box-shadow: 0 0 15px rgba(255, 157, 0, 0.15);
    background: rgba(5, 5, 8, 0.8);
}

.form-group select option {
    background-color: #0b0b10;
    color: #ffffff;
}

/* Przycisk wysyłania */
.btn-submit {
    padding: 16px;
    background: linear-gradient(45deg, #ff7b00, #ffae00);
    border: none;
    border-radius: 10px;
    color: #050508;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 123, 0, 0.4);
}

/* Responsywność formularza */
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-container { padding: 25px; margin-top: 100px; }
}

/* ==========================================================================
   8. STYLIZACJA SEKCJI I PLAKIETEK RANG (KONTAKT)
   ========================================================================== */
.contact-section-title {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}
.contact-section-title:first-of-type {
    margin-top: 20px;
}

/* Nowoczesne plakietki rang */
.rank-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 6px 0 10px 0;
}

/* Kolorystyka i poświaty dla rang */
.rank-owner {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
    border: 1px solid rgba(255, 59, 48, 0.25);
    box-shadow: 0 0 15px rgba(255, 59, 48, 0.1);
}
.rank-admin {
    background: rgba(255, 159, 10, 0.1);
    color: #ff9f0a;
    border: 1px solid rgba(255, 159, 10, 0.25);
    box-shadow: 0 0 15px rgba(255, 159, 10, 0.1);
}
.rank-mod {
    background: rgba(0, 122, 255, 0.1);
    color: #007aff;
    border: 1px solid rgba(0, 122, 255, 0.25);
    box-shadow: 0 0 15px rgba(0, 122, 255, 0.1);
}

        .nav-links a.active::after {
            display: none !important;
            content: none !important;
            width: 0 !important;
            height: 0 !important;
        }
        .nav-links a.active {
            color: #ff9d00 !important;
            font-weight: 700 !important;
            background: none !important;
            -webkit-background-clip: initial !important;
            -webkit-text-fill-color: #ff9d00 !important;
            text-shadow: 0 0 15px rgba(255, 157, 0, 0.7) !important;
        }

/* Sekcja logowania Steam w navbarze */
.steam-nav-item {
    margin-left: 15px;
    display: flex;
    align-items: center;
}

/* Nowoczesny przycisk logowania z ikoną Font Awesome */
.steam-login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #111e2d;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #1b2838;
    transition: all 0.3s ease;
}

.steam-login-btn i {
    font-size: 18px;
    color: #66c0f4;
}

.steam-login-btn:hover {
    background: #1b2838;
    border-color: #66c0f4;
    box-shadow: 0 0 10px rgba(102, 192, 244, 0.4);
}

/* Wygląd profilu zalogowanego użytkownika w menu */
.user-nav-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-nav-profile img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.user-nav-profile span {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

/* Przycisk wylogowania (ikona drzwi) */
.steam-logout-btn {
    color: #ff4d4d;
    font-size: 14px;
    margin-left: 5px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.steam-logout-btn:hover {
    color: #ff1a1a;
}
/* GŁÓWNY KONTENER DROPDOWN */
.steam-dropdown {
    position: relative;
    display: inline-block;
}

/* WYZWALACZ: Wygląd głównego przycisku profilu */
.user-nav-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-nav-profile img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.user-nav-profile span {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

/* Mała strzałka sygnalizująca rozwijanie */
.dropdown-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    transition: transform 0.3s ease;
}

/* Podświetlenie wyzwalacza */
.steam-dropdown:hover .user-nav-profile {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Obrót strzałki w dół po najechaniu */
.steam-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* UKRYTA LISTA ROZWIJANA (Glassmorphism design) */
.steam-dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 200px;
    background: rgba(15, 20, 30, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 6px 0;
    list-style: none;
    margin: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    
    /* Ukrycie domyślne z płynną animacją fade-in */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
}

/* WYŚWIETLENIE PO NAJECHANIU MYSZKĄ */
.steam-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* POJEDYNCZE ELEMENTY MENU */
.steam-dropdown .dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Efekt najechania na dowolną linię */
.steam-dropdown .dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding-left: 20px; /* Delikatne przesunięcie tekstu w prawo */
}

/* Specjalny wygląd opcji Panel Admina (Złoty) */
.steam-dropdown .dropdown-menu li a.admin-item {
    color: #ffaa00;
    font-weight: 600;
}
.steam-dropdown .dropdown-menu li a.admin-item:hover {
    background: rgba(255, 170, 0, 0.1);
    color: #ffcc00;
}

/* Specjalny wygląd opcji Wyloguj (Czerwony) */
.steam-dropdown .dropdown-menu li a.logout-item {
    color: #ff4d4d;
}
.steam-dropdown .dropdown-menu li a.logout-item:hover {
    background: rgba(255, 77, 77, 0.1);
    color: #ff3333;
}

/* Linia oddzielająca */
.steam-dropdown .dropdown-menu li.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 6px 0;
}
/* KONTENER STRONY ADMINA */
.admin-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: 70vh;
}

.admin-page-header {
    margin-bottom: 30px;
}

.admin-page-header h1 {
    color: #ffaa00;
    font-size: 28px;
    margin-bottom: 5px;
}

.admin-page-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* TABELA W STYLU GLASSMORPHISM */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    background: rgba(20, 25, 35, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    color: #fff;
    font-size: 14px;
}

.admin-table th, .admin-table td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.admin-table th {
    background: rgba(15, 20, 30, 0.5);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.admin-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Przyciemnienie zbanowanego wiersza */
.admin-table tr.row-banned {
    background: rgba(255, 77, 77, 0.03);
}
.admin-table tr.row-banned td {
    color: rgba(255, 255, 255, 0.4);
}

/* KOMPONENTY WEWNĄTRZ TABELI */
.table-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-name-text {
    font-weight: 500;
}

.steamid-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 6px;
    font-family: monospace;
    color: #66c0f4;
}

/* ETYKIETY (BADGES) */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-admin { background: rgba(255, 170, 0, 0.15); color: #ffaa00; border: 1px solid rgba(255, 170, 0, 0.3); }
.badge-user { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.7); }
.badge-success { background: rgba(77, 255, 140, 0.15); color: #4dff8c; }
.badge-danger { background: rgba(255, 77, 77, 0.15); color: #ff4d4d; }

/* PRZYCISKI AKCJI */
.action-buttons-group {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.btn-action {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-grant:hover { background: rgba(255, 170, 0, 0.2); color: #ffaa00; border-color: rgba(255, 170, 0, 0.4); }
.btn-revoke:hover { background: rgba(255, 77, 77, 0.2); color: #ff4d4d; border-color: rgba(255, 77, 77, 0.4); }
.btn-ban:hover { background: rgba(255, 77, 77, 0.25); color: #ff4d4d; border-color: rgba(255, 77, 77, 0.4); }
.btn-unban:hover { background: rgba(77, 255, 140, 0.2); color: #4dff8c; border-color: rgba(77, 255, 140, 0.4); }

.self-protection-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}
/* WYRÓWNANIE PLAKIETEK PO DODANIU FONT AWESOME */


/* Reset zachowania ikon Font Awesome wewnątrz badgów, żeby nie rozpychały tekstu */
.badge i {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12px;
    width: auto !important;
}

.badge-admin { 
    background: rgba(255, 170, 0, 0.08) !important; 
    color: #ffaa00 !important; 
    border: 1px solid rgba(255, 170, 0, 0.25) !important; 
}

.badge-user { 
    background: rgba(255, 255, 255, 0.04) !important; 
    color: rgba(255, 255, 255, 0.6) !important; 
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.badge-success { 
    background: rgba(77, 255, 140, 0.06) !important; 
    color: #4dff8c !important; 
    border: 1px solid rgba(77, 255, 140, 0.2) !important;
}

.badge-danger { 
    background: rgba(255, 77, 77, 0.06) !important; 
    color: #ff4d4d !important; 
    border: 1px solid rgba(255, 77, 77, 0.2) !important;
}

/* KONTENER DLA STEAMID I ODNOŚNIKA */
.steamid-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    vertical-align: middle;
}

.steam-profile-link {
    color: rgba(255, 255, 255, 0.3) !important;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.steam-profile-link:hover {
    color: #66c0f4 !important;
    transform: scale(1.15);
}


.admin-search-box {
    margin-bottom: 20px;
    width: 100%;
    max-width: 450px;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(20, 25, 35, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 4px 6px 4px 16px;
    box-sizing: border-box;
}

.search-icon {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    margin-right: 10px;
}

.search-input-group input {
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    width: 100%;
    outline: none;
    padding: 6px 0;
}

.search-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.clear-search-btn {
    color: rgba(255, 77, 77, 0.6);
    margin-right: 12px;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
}

.clear-search-btn:hover { 
    color: #ff4d4d; 
}

.btn-search {
    background: #ffaa00;
    color: #0f141e;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-search:hover { 
    background: #ffcc00; 
}

.admin-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.pag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 6px;
    background: rgba(20, 25, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.pag-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
}

.pag-active {
    background: #ffaa00 !important;
    color: #0f141e !important;
    border-color: #ffaa00 !important;
    box-shadow: 0 0 12px rgba(255, 170, 0, 0.3);
}

.pag-btn i {
    font-size: 12px;
}
.admin-table th, 
.admin-table td {
    padding: 12px 15px !important;
    text-align: left !important;
    vertical-align: middle !important;
}

.admin-table td:nth-child(4), 
.admin-table td:nth-child(5) {
    text-align: left !important;
}

.badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

.settings-card {
    background: rgba(20, 25, 35, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    max-width: 650px;
    width: 100%;
    box-sizing: border-box;
}

.admin-form .form-group {
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
}

.admin-form label {
    color: #ffaa00;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-form input[type="text"],
.admin-form input[type="url"] {
    background: rgba(10, 15, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 14px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.admin-form input:focus {
    border-color: #ffaa00;
    box-shadow: 0 0 8px rgba(255, 170, 0, 0.2);
}

.admin-form small {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    margin-top: 6px;
}

.form-actions {
    margin-top: 30px;
    display: flex;
    justify-content: flex-start;
}

.btn-save {
    background: #ffaa00;
    color: #0f141e;
    border: none;
    padding: 12px 26px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.1s;
}

.btn-save:hover {
    background: #ffcc00;
}

.btn-save:active {
    transform: scale(0.98);
}

/* Powiadomienia (Alert Box) */
.alert-box {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 500;
    max-width: 650px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
}

.alert-success {
    background: rgba(77, 255, 140, 0.08);
    color: #4dff8c;
    border: 1px solid rgba(77, 255, 140, 0.2);
}

.alert-error {
    background: rgba(255, 77, 77, 0.08);
    color: #ff4d4d;
    border: 1px solid rgba(255, 77, 77, 0.2);
}
.settings-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    width: 100%;
    margin-top: 20px;
}

.settings-sidebar {
    width: 280px;
    background: rgba(20, 25, 35, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-sizing: border-box;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.sidebar-item i {
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.sidebar-item.active {
    background: rgba(255, 170, 0, 0.1) !important;
    color: #ffaa00 !important;
    border: 1px solid rgba(255, 170, 0, 0.2);
}

.settings-content-card {
    flex: 1;
    background: rgba(20, 25, 35, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    box-sizing: border-box;
}

.admin-form textarea {
    background: rgba(10, 15, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 14px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    resize: vertical;
    transition: all 0.2s ease;
    box-sizing: border-box;
    width: 100%;
    line-height: 1.5;
}

.admin-form textarea:focus {
    border-color: #ffaa00;
    box-shadow: 0 0 8px rgba(255, 170, 0, 0.2);
}
/* RESET SZEROKOŚCI DLA STRONY USTAWIEŃ */
.admin-settings-container {
    width: 92% !important;
    max-width: 1200px !important;
    margin: 140px auto 40px auto !important;
    padding: 0 !important;
    display: block !important; /* Usuwa flexboxa, który ograniczał szerokość */
    box-sizing: border-box !important;
}

/* WYMUSZENIE UKŁADU DWUKOLUMNOWEGO W POZIOMIE */
.settings-layout-flex {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 30px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* LEWY BLOK MENU */
.settings-layout-flex .settings-sidebar {
    width: 280px !important;
    min-width: 280px !important;
    flex-shrink: 0 !important;
    background: rgba(20, 25, 35, 0.6) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    box-sizing: border-box !important;
}

/* PRAWY BLOK FORMULARZA */
.settings-layout-flex .settings-content-card {
    flex-grow: 1 !important;
    width: 100% !important;
    background: rgba(20, 25, 35, 0.6) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    padding: 30px !important;
    box-sizing: border-box !important;
}

.dynamic-privacy-content ul {
    margin-bottom: 20px !important;
    padding-left: 25px !important;
}

.dynamic-privacy-content li {
    margin-bottom: 6px !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.75) !important;
}

.dynamic-privacy-content h3 {
    margin-top: 30px !important;
    margin-bottom: 12px !important;
    color: #ffaa00 !important;
}
.admin-select {
    background: rgba(10, 15, 25, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    outline: none !important;
}

.admin-input-small {
    background: rgba(10, 15, 25, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    width: 120px !important;
    outline: none !important;
}

.btn-save-small {
    background: #ffaa00 !important;
    color: #0f141e !important;
    border: none !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    transition: background 0.2s !important;
}

.btn-save-small:hover { 
    background: #ffcc00 !important; 
}
@media (max-width: 768px) {
    /* Wymuszamy pokazywanie menu i zmieniamy układ na pionowy/elastyczny */
    .navbar {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 10px 15px !important;
        height: auto !important;
    }

    .navbar .logo {
        margin-bottom: 8px !important;
        font-size: 18px !important;
    }

    /* Przywracamy ukryte linki i robimy z nich przewijany pasek w poziomie */
    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: 100% !important;
        overflow-x: auto !important; /* Włącza przewijanie palcem w prawo/lewo jeśli linki się nie mieszczą */
        white-space: nowrap !important;
        gap: 15px !important;
        padding: 5px 0 !important;
        margin: 0 !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Ukrywamy pasek przewijania, żeby menu wyglądało estetycznie */
    .nav-links::-webkit-scrollbar {
        display: none !important;
    }

    .nav-links li {
        display: inline-block !important;
        margin: 0 !important;
    }

    .nav-links a {
        font-size: 13px !important;
        padding: 4px 8px !important;
    }

    /* Dostosowanie przycisku Steam na telefonie */
    .steam-nav-item {
        margin-left: auto !important;
        margin-right: auto !important;
        padding-top: 5px !important;
    }
}
@media (max-width: 768px) {
    .steam-dropdown:focus .dropdown-menu,
    .steam-dropdown:active .dropdown-menu,
    .user-nav-profile:active + .dropdown-menu,
    .steam-dropdown:hover .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
}
