/* Staff Section Styles */
.staffs-header {
    text-align: center;
    padding: 60px 20px;
    background: var(--gradient);
    color: var(--text-light);
    margin-bottom: 2rem;
}

.staffs-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.staffs-header h1 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.staffs-header p {
    font-size: 1.2em;
    opacity: 0.9;
}

.staffs-header i {
    font-size: 2.5em;
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 0.5rem;
    animation: bounceIcon 2s infinite;
}

@keyframes bounceIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shine {
    to {
        left: 100%;
    }
}

.staff-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.staff-category {
    background: var(--text-light);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.staff-category:hover {
    transform: translateY(-5px);
}

.category-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.category-title i {
    color: var(--accent-color);
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.staff-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.staff-card {
    background: var(--background-light);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    width: 220px;
}

.staff-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.staff-skin {
    width: 180px;
    height: 180px;
    position: relative;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.minecraft-skin {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
}

.staff-card:hover .minecraft-skin {
    transform: none;
}

.staff-info {
    color: var(--text-dark);
    text-align: center;
    width: 100%;
}

.staff-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.staff-info p {
    font-size: 1.1rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.staff-social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.staff-social-icon {
    color: #666;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.staff-social-icon:hover {
    transform: translateY(-3px);
}

.staff-social-icon.discord:hover {
    color: #5865F2;
}

.staff-social-icon.youtube:hover {
    color: #FF0000;
}

.staff-social-icon.tiktok:hover {
    color: #000000;
}

/* Modal Styles */
.staff-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.staff-modal-content {
    background: var(--background-light);
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    position: relative;
    padding: 2rem;
    animation: modalFadeIn 0.3s ease;
}

.staff-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.staff-modal-close:hover {
    color: var(--primary-color);
}

.staff-modal-body {
    display: flex;
    gap: 2rem;
}

.staff-modal-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-skin-viewer {
    width: 300px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.staff-modal-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.staff-modal-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.staff-role {
    font-size: 1.2rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.staff-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.staff-social-links {
    margin-top: 2rem;
}

.staff-social-links h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.modal-social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    background: var(--background-light);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-social-link i {
    font-size: 1.5rem;
    width: 24px;
    text-align: center;
}

.modal-social-link span {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.modal-social-link.discord {
    color: #5865F2;
}

.modal-social-link.youtube {
    color: #FF0000;
}

.modal-social-link.tiktok {
    color: #8000ff;
}

.modal-social-link.instagram {
    color: #E1306C;
}

.modal-social-link:hover {
    transform: translateX(5px);
    background: var(--background-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-social-link.discord:hover {
    border: 2px solid #5865F2;
    background: linear-gradient(to right, transparent, rgba(88, 101, 242, 0.1));
}

.modal-social-link.youtube:hover {
    border: 2px solid #FF0000;
    background: linear-gradient(to right, transparent, rgba(255, 0, 0, 0.1));
}

.modal-social-link.tiktok:hover {
    border: 2px solid #8000ff;
    background: linear-gradient(to right, transparent, rgba(128, 0, 255, 0.1));
}

.modal-social-link.instagram:hover {
    border: 2px solid #E1306C;
    background: linear-gradient(to right, transparent, rgba(227, 48, 108, 0.1));
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .staff-modal-body {
        flex-direction: column;
    }

    .staff-modal-content {
        width: 95%;
        padding: 1rem;
    }

    .modal-skin-viewer {
        width: 100%;
        height: 300px;
    }

    .staff-modal-right {
        padding: 1rem;
    }
}

/* Empty Staff Position */
.empty-staff {
    background: rgba(255, 255, 255, 0.9);
    border: 2px dashed #4a90e2;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    width: 100%;
    max-width: 280px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.empty-staff i {
    font-size: 3em;
    color: #4a90e2;
    opacity: 0.8;
    margin-bottom: 10px;
}

.empty-staff p {
    color: #666;
    font-size: 1.1em;
    margin: 0;
    font-weight: 500;
}

.empty-staff:hover {
    background: rgba(74, 144, 226, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(74, 144, 226, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .empty-staff {
        padding: 20px;
    }
    
    .empty-staff i {
        font-size: 2.5em;
    }
    
    .empty-staff p {
        font-size: 1em;
    }
}

/* Footer Styles */
.footer {
    background-color: var(--text-light);
    padding: 60px 20px 20px;
    color: var(--text-dark);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    color: var(--text-dark);
    font-size: 1.8em;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link:hover i.fa-discord {
    color: #5865F2;
}

.social-link:hover i.fa-youtube {
    color: #FF0000;
}

.social-link:hover i.fa-tiktok {
    color: #8000ff;
}

.social-link:hover i.fa-instagram {
    color: #E1306C;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Animation System */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animations to main elements */
.staff-section > *,
.staff-category,
.staff-card {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.staff-category:nth-child(1) { animation-delay: 0.1s; }
.staff-category:nth-child(2) { animation-delay: 0.2s; }
.staff-category:nth-child(3) { animation-delay: 0.3s; }
.staff-category:nth-child(4) { animation-delay: 0.4s; }

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


