/* =========================================
   Collaborators Page (scoped to #collab-page)
   Uses global animation classes from styles.css
   ========================================= */

/* Layout wrappers */
#collab-page .main-wrapper {
    padding-bottom: 80px; /* room for supporter banner */
}

#collab-page .collaborators-container {
    max-width: 1100px;
    margin: 40px auto 0; /* ?? was 0 auto, now 40px top gap */
    padding: 24px;
    box-sizing: border-box;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

/* Header */
#collab-page .page-head {
    text-align: center;
    margin-bottom: 16px;
}

#collab-page .title {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin: 4px 0 8px;
    font-family: Orbitron, Inter, system-ui, sans-serif;
    font-size: clamp(1.8rem, 1.2rem + 2vw, 2.4rem);
    color: var(--text-0);
}

    #collab-page .title i[data-lucide] {
        width: 1em;
        height: 1em;
        vertical-align: -0.125em;
        color: var(--primary-200);
    }

#collab-page .intro {
    margin: 0 0 10px;
    color: var(--text-1);
    line-height: 1.6;
}

/* Grid of collaborator cards */
#collab-page .collaborator-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

/* Card */
#collab-page .collaborator-item {
    background: linear-gradient(180deg, var(--card), color-mix(in srgb, var(--card) 85%, var(--bg-1)));
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 18px;
    text-align: center;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    #collab-page .collaborator-item:hover {
        transform: translateY(-3px);
        border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
        box-shadow: var(--shadow);
    }

/* Avatar */
#collab-page .profile-img-wrapper {
    width: 112px;
    height: 112px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-200);
    transition: transform .18s ease;
}

#collab-page .collaborator-item:hover .profile-img-wrapper {
    transform: scale(1.035);
}

#collab-page .profile-picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Name & Bio */
#collab-page .name {
    margin: 8px 0 6px;
    font-size: 1.25rem;
    color: var(--text-0);
}

#collab-page .bio {
    margin: 0 0 12px;
    color: var(--text-1);
    line-height: 1.6;
}

    #collab-page .bio a {
        color: var(--primary);
        text-decoration: none;
    }

        #collab-page .bio a:hover {
            text-decoration: underline;
        }

/* Social links */
#collab-page .social-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

#collab-page .social-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--primary-200);
    color: var(--primary-200);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
    white-space: nowrap;
}

    #collab-page .social-link i[data-lucide] {
        width: 1em;
        height: 1em;
        vertical-align: -0.125em;
    }

    #collab-page .social-link:hover {
        background: var(--primary-200);
        color: var(--bg-0);
        transform: translateY(-1px);
    }

/* Responsive */
@media (max-width: 768px) {
    #collab-page .collaborators-container {
        padding: 16px;
    }

    #collab-page .collaborator-item {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    #collab-page .collaborators-container {
        padding: 12px;
    }
}
