/* ========================================
   TEAM CARD CENTER - 0xcry Card Centered & Larger
   ======================================== */

/* Make founder card centered and bigger */
.team-card.founder-center {
    grid-column: 1 / -1; /* Full width on mobile */
    max-width: 500px;
    margin: 2rem auto;
    transform: scale(1.1) !important;
    position: relative;
    z-index: 2;
}

/* On desktop: 3 columns with center card bigger */
@media (min-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: start;
    }
    
    /* Center card (0xcry) takes middle column and is bigger */
    .team-card.founder-center {
        grid-column: 2 / 3;
        transform: scale(1.2) !important;
        margin-top: -1rem; /* Pull up slightly for better visual */
    }
    
    /* Side cards stay normal size */
    .team-card:not(.founder-center) {
        transform: scale(1);
    }
    
    /* Maintain hover effects */
    .team-card.founder-center:hover {
        transform: scale(1.25) translateY(-8px) !important;
    }
    
    .team-card:not(.founder-center):hover {
        transform: translateY(-8px);
    }
}

/* Mobile: Stack normally but founder still slightly bigger */
@media (max-width: 899px) {
    .team-card.founder-center {
        transform: scale(1.05) !important;
        margin: 1.5rem auto;
    }
}

/* Enhance founder card visual prominence */
.team-card.founder-center .team-avatar-border {
    width: 160px !important;
    height: 160px !important;
    box-shadow: 0 0 40px rgba(138,43,226,0.4);
}

.team-card.founder-center .team-name {
    font-size: 1.6rem !important;
}

.team-card.founder-center .team-role-badge {
    font-size: 0.95rem !important;
    padding: 0.5rem 1.2rem !important;
}

/* Add extra glow to founder card */
.team-card.founder-center::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(138,43,226,0.15), transparent 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.team-card.founder-center:hover::before {
    opacity: 1;
}
