/* --- RESET I PODSTAWOWE USTAWIENIA --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none !important;
}

body {
    background-color: #121212;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- TŁO STRONY --- */
.background-fixed {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(18, 18, 18, 0.85), rgba(18, 18, 18, 0.95)),
                url('img/background_footer_2_0_1.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* --- MENU GÓRNE (KAPSUŁKA) --- */
.top-nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: rgba(20, 20, 20, 0.95); 
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.nav-brand:hover { opacity: 0.8; }

.nav-brand img {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(114, 255, 114, 0.2));
}

.nav-brand span {
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #efefef;
}

.nav-links {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    padding: 5px 10px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-links a {
    color: #bbb !important;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    transition: 0.3s ease;
    border-radius: 50px;
    margin: 0 2px;
}

.nav-links a:hover {
    color: #72ff72 !important;
    background: rgba(114, 255, 114, 0.05);
    text-shadow: 0 0 8px rgba(114, 255, 114, 0.4);
}

/* --- GŁÓWNY WRAPPER --- */
.main-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 140px 20px 80px; 
    max-width: 1100px;
    margin: 0 auto;
}

.main-header {
    text-align: center;
    margin-bottom: 60px;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(114, 255, 114, 0.3);
    margin-bottom: 10px;
}

.subtitle { color: #888; margin-bottom: 25px; }

.online-counter {
    display: inline-block;
    background: rgba(0,0,0,0.5);
    padding: 10px 30px;
    border-radius: 50px;
    border: 1px solid rgba(114, 255, 114, 0.3);
    font-weight: 700;
}

.online-counter span { color: #72ff72; }

/* --- KARTY Z DEDYKOWANYM PODŚWIETLENIEM --- */
.grid-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    margin-bottom: 80px;
}

.card {
    position: relative;
    width: 320px;
    padding: 45px 30px;
    background: rgba(22, 22, 22, 0.95);
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-green:hover { 
    transform: translateY(-10px); 
    border-color: rgba(114, 255, 114, 0.4);
    box-shadow: 0 10px 30px rgba(114, 255, 114, 0.15);
    background: rgba(28, 35, 28, 1);
}

.card-red:hover { 
    transform: translateY(-10px); 
    border-color: rgba(255, 71, 71, 0.4);
    box-shadow: 0 10px 30px rgba(255, 71, 71, 0.15);
    background: rgba(35, 25, 25, 1);
}

.card-purple:hover { 
    transform: translateY(-10px); 
    border-color: rgba(114, 162, 255, 0.4);
    box-shadow: 0 10px 30px rgba(114, 162, 255, 0.15);
    background: rgba(25, 28, 35, 1);
}

.card-green { border-bottom: 4px solid #117511; }
.card-red { border-bottom: 4px solid #810a0a; }
.card-purple { border-bottom: 4px solid #094195; }

.card img {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    object-fit: contain;
}

.card h3 { font-weight: 900; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }

.card p {
    flex-grow: 1; 
    color: #888;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* --- PRZYCISKI --- */
.btn-action {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 10px;
    font-weight: 900;
    font-size: 10px;
    align-self: center;
    transition: 0.3s;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

.card-green .btn-action { background: #117511; color: #ffffff; box-shadow: 0 4px 15px rgba(17, 117, 17, 0.3); }
.card-red .btn-action { background: #810a0a; color: #ffffff; box-shadow: 0 4px 15px rgba(129, 10, 10, 0.3); }
.card-purple .btn-action { background: #094195; color: #ffffff; box-shadow: 0 4px 15px rgba(9, 65, 149, 0.3); }

.btn-action:hover { 
    filter: brightness(1.2); 
    transform: scale(1.05);
}

/* --- NOWA SEKCJA ADMINISTRACJI (ZINTEGROWANA) --- */
.content-section { width: 100%; margin-bottom: 60px; }
.section-title { font-size: 1.8rem; font-weight: 900; margin-bottom: 30px; border-left: 5px solid #72ff72; padding-left: 15px; text-transform: uppercase; }

.admin-cards-container {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.admin-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 40px 25px;
    text-align: center;
    position: relative;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
}

.admin-card:hover {
    transform: translateY(-10px);
    border-color: #72ff72;
    background: rgba(114, 255, 114, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 9px;
    text-transform: uppercase;
    background: rgba(114, 255, 114, 0.1);
    color: #72ff72;
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 900;
    letter-spacing: 1px;
    border: 1px solid rgba(114, 255, 114, 0.2);
}

.admin-avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(114, 255, 114, 0.3);
    background: #1a1a1a;
}

.admin-avatar img {
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
}

.admin-card h3 {
    margin: 10px 0 5px;
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
}

.admin-role {
    color: #888;
    font-size: 13px;
    margin-bottom: 20px;
}

.status-indicator {
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.status-dot { width: 10px; height: 10px; border-radius: 50%; }
.status-dot.online { background: #72ff72; box-shadow: 0 0 10px #72ff72; }

.btn-admin-contact {
    display: block;
    padding: 12px 20px;
    background: transparent;
    border: 2px solid #72ff72;
    color: #72ff72;
    border-radius: 10px;
    font-weight: 900;
    font-size: 11px;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-admin-contact:hover {
    background: #72ff72;
    color: #000;
    box-shadow: 0 0 20px rgba(114, 255, 114, 0.3);
}

/* --- TOP KUPUJĄCYCH --- */
.donators-list { background: rgba(0, 0, 0, 0.3); border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.05); overflow: hidden; }
.donator-item { display: flex; justify-content: space-between; padding: 18px 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); transition: 0.3s; }
.donator-item:hover { background: rgba(255, 255, 255, 0.02); }
.donator-item:last-child { border-bottom: none; }
.donator-item .rank { color: #72ff72; font-weight: 900; }
.donator-item .nick { flex-grow: 1; font-weight: 700; padding-left: 15px; }
.donator-item .amount { color: #ffaa00; font-weight: 700; }

/* --- STOPKA --- */
.main-footer { text-align: center; color: #444; margin-top: 50px; padding-bottom: 40px; font-size: 13px; }
.footer-links { margin-top: 15px; }

.main-footer a, .privacy-link {
    color: #666 !important; 
    text-transform: uppercase;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1px;
    transition: 0.3s;
}

.main-footer a:hover, .privacy-link:hover { color: #72ff72 !important; }

/* --- SLIDER --- */
.banner-slider {
    width: 100%;
    overflow: hidden;
    background: transparent;
    padding: 20px 0;
}

.banner-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollInfinite 20s linear infinite;
}

.banner-track:hover { animation-play-state: paused; }

.banner-item {
    position: relative;
    width: 450px;
    height: 220px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.banner-item:hover img { transform: scale(1.1); }

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.banner-tag {
    background: #72ff72;
    color: #000;
    font-size: 10px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.banner-overlay h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

@keyframes scrollInfinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-940px); }
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
    .top-nav { padding: 15px 20px; flex-direction: column; gap: 15px; }
    .nav-links { width: 100%; justify-content: center; }
    .nav-links a { padding: 8px 12px; font-size: 10px; }
    .main-wrapper { padding-top: 200px; }
    .main-title { font-size: 2.5rem; }
    .card, .admin-card { width: 100%; max-width: none; }
    .banner-item { width: 320px; height: 160px; }
    @keyframes scrollInfinite {
        0% { transform: translateX(0); }
        100% { transform: translateX(-680px); }
    }
}