@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&display=swap');

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    background: linear-gradient(rgba(15, 15, 15, 0.85), rgba(20, 10, 10, 0.9)), 
                url('logorp2.png') no-repeat center center fixed;
    background-size: cover;
}

/* --- NAWIGACJA --- */
.navbar {
    background-color: rgba(15, 15, 15, 0.95);
    border-bottom: 2px solid #cc0000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    position: relative;
    z-index: 10;
}

.logo-img {
    max-height: 140px; 
    width: auto;
    transition: 0.3s;
    filter: brightness(0) invert(1);
    animation: float 4s ease-in-out infinite; 
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.logo-img:hover { transform: scale(1.05); }

.navbar-menu a {
    color: #cccccc;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    margin: 0 20px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
    transition: 0.3s all;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff3333;
    transition: width 0.3s ease;
}

.navbar-menu a:hover, .navbar-menu a.active { color: #ff3333; }
.navbar-menu a:hover::after, .navbar-menu a.active::after { width: 100%; }
.navbar-menu a.discord-link { color: #5865F2; }
.navbar-menu a.discord-link::after { background-color: #5865F2; }

.navbar-user { font-size: 14px; display: flex; align-items: center; gap: 15px;}
.navbar-user a {
    color: #cc0000;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #cc0000;
    padding: 8px 15px;
    border-radius: 4px;
    transition: 0.3s;
}
.navbar-user a:hover { background-color: #cc0000; color: #fff; }

/* --- GŁÓWNY KONTENER --- */
.main-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px;
    min-height: calc(100vh - 120px);
}

.content-box {
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(8px);
    border-top: 4px solid #cc0000;
    border-radius: 8px;
    width: 100%;
    max-width: 1100px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    animation: slideUpFade 0.6s ease-out;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-box h2 {
    color: #e60000;
    margin-top: 0;
    font-size: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
    text-align: center;
}
.content-box p { line-height: 1.6; font-size: 16px; color: #dddddd; }

.alert-message { text-align: center; background: rgba(255, 204, 0, 0.2); color: #ffcc00; padding: 15px; border-radius: 5px; margin-bottom: 20px; border: 1px solid #ffcc00; font-weight: bold;}

/* --- GLOBALNE FORMULARZE (NAPRAWA ROZJECHANYCH OKIEN) --- */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

form label {
    font-weight: 600;
    font-size: 13px;
    color: #bbb;
    margin-bottom: -5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

form input, form textarea {
    width: 100%;
    padding: 14px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #444;
    color: #fff;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    transition: 0.3s;
}

form input:focus, form textarea:focus {
    outline: none;
    border-color: #cc0000;
    box-shadow: 0 0 10px rgba(204,0,0,0.5);
    background: rgba(0, 0, 0, 0.8);
}

form button {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 2px solid #cc0000;
    color: #cc0000;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.3s;
    margin-top: 10px;
}

form button:hover {
    background: #cc0000;
    color: #fff;
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* --- LOGOWANIE I REJESTRACJA --- */
.auth-wrapper { display: flex; flex-wrap: wrap; gap: 40px; }
.auth-form { flex: 1; min-width: 300px; background: rgba(0, 0, 0, 0.5); padding: 35px; border-radius: 8px; border: 1px solid #333; }
.auth-form h2 { text-align: left; border: none; padding: 0; margin-bottom: 10px; }

/* --- PANEL ADMINA --- */
.admin-grid { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 20px; }
.admin-panel-section { 
    flex: 1; 
    min-width: 300px; 
    background: rgba(0, 0, 0, 0.4); 
    padding: 30px; 
    border-radius: 8px; 
    border: 1px solid #333; 
}
.admin-panel-section h3 { margin-top: 0; color: #ffcc00; border-bottom: 1px solid rgba(255,204,0,0.3); padding-bottom: 15px; margin-bottom: 20px; }

/* --- TABELE --- */
.table-responsive { width: 100%; overflow-x: auto; margin-top: 15px; }
.data-table { width: 100%; border-collapse: collapse; background: rgba(0,0,0,0.6); border-radius: 6px; overflow: hidden; }
.data-table th, .data-table td { padding: 15px; text-align: left; border-bottom: 1px solid #333; }
.data-table th { background: #111; color: #cc0000; font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; border-bottom: 2px solid #cc0000; }
.data-table tr:hover td { background: rgba(204, 0, 0, 0.1); color: #fff; }
.data-table td { color: #ccc; font-size: 14px; }

/* --- SKLEP I ZARZĄD (Twoje poprzednie style) --- */
.shop-details { background: rgba(30, 30, 30, 0.6); margin-bottom: 15px; border-radius: 6px; border-left: 4px solid #cc0000; overflow: hidden; transition: 0.3s; }
.shop-summary { padding: 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; }
.shop-summary::-webkit-details-marker { display: none; }
.shop-details:hover { background: rgba(40, 40, 40, 0.8); }
.shop-item-title { font-weight: 800; font-size: 18px; color: #fff; }
.shop-item-price { font-weight: 800; color: #e60000; font-size: 22px; background: rgba(0,0,0,0.4); padding: 10px 20px; border-radius: 4px; }
.shop-item-desc { padding: 0 20px 20px 20px; font-size: 15px; color: #aaa; border-top: 1px solid #444; margin-top: 5px; padding-top: 15px; }
.buy-btn { display: inline-block; margin-top: 15px; padding: 10px 20px; background-color: #5865F2; color: white; text-decoration: none; font-weight: bold; border-radius: 4px; transition: 0.3s; }
.buy-btn:hover { background-color: #4752C4; box-shadow: 0 0 10px #5865F2; }

.staff-grid { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.staff-card { background: rgba(30, 30, 30, 0.6); padding: 25px 20px; border-radius: 8px; text-align: center; width: 220px; border-bottom: 4px solid #cc0000; transition: 0.3s; }
.staff-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.staff-avatar { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 3px solid #cc0000; margin-bottom: 15px; }
.staff-details summary { list-style: none; cursor: pointer; font-weight: 800; font-size: 20px; color: #fff; transition: 0.3s; outline: none; }
.staff-details summary::-webkit-details-marker { display: none; }
.staff-details summary:hover { color: #cc0000; }
.staff-role { color: #cc0000; font-size: 14px; font-weight: 600; margin-top: 5px; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.socials-box { padding-top: 15px; border-top: 1px solid #444; margin-top: 10px; }
.social-link { display: block; color: #ccc; text-decoration: none; margin: 8px 0; font-size: 14px; transition: 0.3s; }
.social-link:hover { color: #fff; text-shadow: 0 0 5px #fff; }

/* --- WIDGET SERWERA --- */
.server-widget {
    position: fixed; bottom: 30px; right: 30px; background: rgba(15, 15, 15, 0.9);
    border: 2px solid #cc0000; padding: 15px 25px; border-radius: 8px;
    box-shadow: 0 0 20px rgba(204, 0, 0, 0.4); display: flex; align-items: center; gap: 15px; z-index: 1000;
    animation: slideInRight 1s ease-out;
}
@keyframes slideInRight { from { transform: translateX(150%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.server-dot { width: 14px; height: 14px; border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 5px currentColor; } 50% { box-shadow: 0 0 15px currentColor; } 100% { box-shadow: 0 0 5px currentColor; } }
.server-info { display: flex; flex-direction: column; }
.server-ip { font-size: 11px; color: #aaa; margin-bottom: 2px; }
.server-players { font-weight: 800; font-size: 16px; color: #fff; }
.server-players span { color: #cc0000; }