/* Mobile-first base styles */
.content-section {
    min-height: auto;
    padding: 30px 15px;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 20h10v10H0zm10-10h10v10H10zm10 10h10v10H20zm10-10h10v10H30z" fill="%23ff450033"/%3E%3C/svg%3E') repeat;
    opacity: 0.05;
    z-index: 0;
    animation: circuit-flow 15s linear infinite;
}

@keyframes circuit-flow {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

.team-container {
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    padding: 15px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.team-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 12px;
    border: 1px solid transparent;
    border-image: linear-gradient(to right, #ff4500 0%, transparent 100%) 1;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.6);
}

.team-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    display: block;
}

.team-card-content {
    padding: 20px;
}

.team-name {
    margin-bottom: 12px;
    text-align: center;
}

.team-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin: 0;
    color: #ffffff;
}

.team-role {
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    color: #ff4500;
    margin: 0 0 8px;
    text-align: center;
}

.team-bio {
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cccccc;
    margin: 0;
    text-align: center;
}

/* Larger screens */
@media (min-width: 769px) {
    .content-section {
        padding: 40px 20px;
    }

    .team-container {
        max-width: 1200px;
        padding: 10px 0;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .team-card h3 {
        font-size: 1.5rem;
    }

    .team-role {
        font-size: 1.1rem;
    }

    .team-bio {
        font-size: 1rem;
    }

    .team-image {
        max-height: 250px;
        aspect-ratio: 16 / 9;
    }

    .team-card-content {
        padding: 15px;
    }

    .team-name {
        margin-bottom: 10px;
    }

    .team-card {
        max-width: 300px;
    }
}

/* Smaller screens */
@media (max-width: 480px) {
    .content-section {
        padding: 20px 10px;
    }

    .team-card-content {
        padding: 15px;
    }

    .team-card h3 {
        font-size: 1.3rem;
    }

    .team-role {
        font-size: 1.1rem;
    }

    .team-bio {
        font-size: 1rem;
    }

    .team-image {
        max-height: 180px;
        aspect-ratio: 16 / 9;
    }

    .team-name {
        margin-bottom: 10px;
    }

    .team-card {
        max-width: 280px;
    }
}