/* Staff Container */
.staff-container {
    padding: 40px 0 80px;
    background: var(--dark-bg);
}

/* Staff Category */
.staff-category {
    margin-bottom: 5rem;
}

.staff-category h2 {
    color: var(--text-light);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.staff-category h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* Staff Card */
.staff-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.staff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 107, 53, 0.03), 
        transparent
    );
    transition: left 0.6s ease;
}

.staff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px var(--shadow-hover);
    border-color: var(--primary-color);
}

.staff-card:hover::before {
    left: 100%;
}

/* Staff Avatar */
.staff-avatar {
    margin-bottom: 2rem;
    position: relative;
}

.staff-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px var(--shadow);
}

.staff-card:hover .staff-avatar img {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
}

/* Staff Info */
.staff-info h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.staff-role {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

/* Role Colors */

.staff-role.founder {
    background: rgba(148, 60, 231, 0.2);
    color: var(--accent-purple);
    border: 1px solid var(--error-color);
}

.staff-role.resprh {
    background: rgba(228, 231, 60, 0.2);
    color: var(--warning-color);
    border: 1px solid var(--warning-color);
}

.staff-role.admin {
    background: rgba(233, 114, 114, 0.2);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

.staff-role.moderator {
    background: rgba(52, 152, 219, 0.2);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.staff-role.helper {
    background: rgba(39, 174, 96, 0.2);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.staff-info p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.staff-contact {
    background: var(--darker-bg);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid var(--border-color);
}

.staff-contact span {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

/* Recruitment Section */
.recruitment-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--darker-bg));
    border-radius: 20px;
    padding: 4rem;
    margin-top: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.recruitment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
}

.recruitment-content {
    position: relative;
    z-index: 1;
}

.recruitment-content h2 {
    color: var(--text-light);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.recruitment-content p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.recruitment-requirements {
    background: rgba(42, 42, 42, 0.5);
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.recruitment-requirements h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.recruitment-requirements ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.recruitment-requirements li {
    color: var(--text-gray);
    padding: 1rem;
    background: rgba(15, 15, 15, 0.5);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    position: relative;
    padding-left: 3rem;
    transition: all 0.3s ease;
}

.recruitment-requirements li::before {
    content: '→';
    position: absolute;
    left: 1rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.recruitment-requirements li:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.recruitment-cta {
    margin-top: 2rem;
}

/* Hover Effects */
.staff-card {
    cursor: pointer;
}

.staff-card:hover .staff-info h3 {
    color: var(--primary-color);
}

/* Animation Classes */
.staff-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.staff-card:nth-child(1) { animation-delay: 0.1s; }
.staff-card:nth-child(2) { animation-delay: 0.2s; }
.staff-card:nth-child(3) { animation-delay: 0.3s; }
.staff-card:nth-child(4) { animation-delay: 0.4s; }
.staff-card:nth-child(5) { animation-delay: 0.5s; }
.staff-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .staff-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .staff-category h2 {
        font-size: 2rem;
    }

    .staff-card {
        padding: 2rem 1.5rem;
    }

    .staff-avatar img {
        width: 100px;
        height: 100px;
    }

    .recruitment-section {
        padding: 3rem 2rem;
        margin-top: 3rem;
    }

    .recruitment-content h2 {
        font-size: 2rem;
    }

    .recruitment-requirements {
        padding: 2rem 1.5rem;
    }

    .recruitment-requirements ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .staff-container {
        padding: 30px 0 60px;
    }

    .staff-category {
        margin-bottom: 3rem;
    }

    .staff-category h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .staff-card {
        padding: 1.5rem;
    }

    .staff-avatar img {
        width: 90px;
        height: 90px;
    }

    .staff-info h3 {
        font-size: 1.2rem;
    }

    .recruitment-section {
        padding: 2rem 1rem;
    }

    .recruitment-content h2 {
        font-size: 1.8rem;
    }

    .recruitment-content p {
        font-size: 1rem;
    }

    .recruitment-requirements {
        padding: 1.5rem 1rem;
    }

    .recruitment-requirements h3 {
        font-size: 1.3rem;
    }
}

/* Special Effects */
.staff-card::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.staff-card:hover::after {
    width: 100%;
}