/* ==============================================
   AEROFIELD — PROFILE CARDS (Netflix-style)
   Module selector grid.
   ============================================== */

.profiles-section {
    padding: 80px 0 var(--space-2xl);
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Card --- */
.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--ease-default);
}

.profile-card:hover {
    transform: scale(1.05);
}

/* --- Avatar --- */
.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.35s ease;
    border: 2px solid transparent;
}

.profile-avatar svg {
    width: 56px;
    height: 56px;
}

.profile-card:hover .profile-avatar {
    border-color: var(--glow-amber);
    box-shadow: 0 0 30px rgba(212, 160, 74, 0.2);
}

/* --- Avatar color variants --- */
.profile-avatar--active    { background: linear-gradient(135deg, rgba(212,160,74,0.12), rgba(200,117,51,0.12)); }
.profile-avatar--prototype { background: linear-gradient(135deg, rgba(45,212,168,0.12), rgba(56,189,248,0.12)); }
.profile-avatar--journal   { background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(99,102,241,0.12)); }
.profile-avatar--social    { background: linear-gradient(135deg, rgba(154,148,136,0.08), rgba(92,87,78,0.08)); }
.profile-avatar--lab       { background: linear-gradient(135deg, rgba(154,148,136,0.08), rgba(92,87,78,0.08)); }
.profile-avatar--digital   { background: linear-gradient(135deg, rgba(244,63,94,0.12), rgba(212,160,74,0.12)); }

/* --- Name --- */
.profile-name {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-align: center;
    transition: color var(--ease-default);
}

.profile-card:hover .profile-name {
    color: var(--text-primary);
}

.profile-name--inactive {
    color: var(--text-muted);
}

/* --- Inactive state --- */
.profile-card--inactive {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

.profile-card--inactive .profile-avatar {
    filter: grayscale(1);
}

.profile-badge {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: rgba(92, 87, 78, 0.2);
    color: var(--text-muted);
    margin-top: -8px;
}
