/*
    @project: d4tech-forum
    @author: Maciej "D4NTE" W.
    @perms: Nie zezwalam na wykorzystywanie mojego kodu bez mojej zgody.
    @file: style-staff.css
*/
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom, #121212, #0f0f0f);
    color: #f0f0f0;
}

.staff-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px;
}

.staff-container h2 {
    text-align: center;
    font-size: 2rem;
    background: linear-gradient(to right, #e63946, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.staff-card {
    background: linear-gradient(to bottom, #222, #1a1a1a);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #444;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
    border-color: #e63946;
}

.staff-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e63946;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.4);
    margin-bottom: 15px;
}

.staff-info {
    color: #f0f0f0;
}

.staff-username {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.staff-group {
    font-size: 1rem;
    font-style: italic;
    color: #aaa;
    margin-bottom: 15px;
}

.staff-group i {
    margin-right: 6px;
}

.staff-duties {
    margin-top: 10px;
    text-align: left;
}

.staff-duties h4 {
    color: var(--accent, #e63946);
    margin-bottom: 8px;
    font-size: 1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 4px;
}

.staff-duties ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.staff-duties li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    color: #ddd;
    font-size: 0.95rem;
}

.staff-duties li::before {
    content: "\f0da";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #e63946;
}

@media (max-width: 768px) {
    .staff-container {
        padding: 10px;
    }

    .staff-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .staff-avatar img {
        width: 80px;
        height: 80px;
    }

    .staff-username {
        font-size: 1.2rem;
    }

    .staff-group {
        font-size: 0.95rem;
    }
}

.staff-avatar {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.staff-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e63946;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.4);
}

.staff-links {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.staff-links a {
    color: #e63946;
    font-size: 1.2rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.staff-links a:hover {
    color: #ff6b6b;
    transform: scale(1.2);
}
