.featured-card {
    transform: scale(1.05);
}

.owner-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.owner-badge i {
    color: #fff;
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

#team {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.team-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 60px;
    line-height: 1.8;
}

.team-subtitle .highlight {
    color: var(--primary-blue);
    font-weight: bold;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.team-card {
    perspective: 1500px;
    height: 400px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.team-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
}

.card-front {
    background: linear-gradient(145deg, rgba(22, 27, 34, 0.8), rgba(13, 17, 23, 0.9));
    border: 1px solid rgba(0, 168, 255, 0.1);
}

.card-back {
    background: linear-gradient(145deg, rgba(0, 168, 255, 0.1), rgba(13, 17, 23, 0.95));
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    gap: 30px;
}

.member-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(13, 17, 23, 1), transparent);
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h4 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 0 10px;
}

.role {
    color: var(--primary-blue);
    font-size: 1rem;
    font-weight: 500;
}

.role-divider {
    width: 40px;
    height: 2px;
    background: var(--primary-blue);
    margin: 10px auto;
}

.role-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 5px;
}

.member-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.detail-item i {
    color: var(--primary-blue);
    font-size: 1.2rem;
    width: 25px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: auto;
}

.social-icon {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-blue);
    transform: translateY(-3px);
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .team-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
        padding: 0 15px;
    }

    .team-card {
        height: 380px;
    }

    .member-image {
        height: 260px;
    }

    .member-info h4 {
        font-size: 1.3rem;
    }

    .role {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .team-card {
        height: 360px;
    }

    .member-image {
        height: 240px;
    }

    .card-back {
        padding: 20px;
    }

    .detail-item {
        font-size: 0.9rem;
    }

    .social-icon {
        font-size: 1.3rem;
    }
}