.team {
    width: 100%;
    background: linear-gradient(to right, #1c1c1c 0%, #242424 100%);
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-container {
    width: min(90%, 1200px);
    margin: 0 auto;
}

.team-container h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, #e9b934, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.team-member {
    z-index: 101;
    background: linear-gradient(145deg, #242424 0%, #2a2a2a 100%);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(233, 185, 52, 0.1);
}

.team-member:hover {
    scale: 102%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5),
                inset 0 0 40px rgba(233, 185, 52, 0.08);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid #e9b934;
    object-fit: cover;
}

.team-member h3 {
    color: #e9b934;
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.team-member p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
}

@media screen and (max-width: 768px) {
    .team {
        padding: 3rem 1.5rem;
    }

    .team-container h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
        max-width: 400px;
    }

    .team-container {
        width: 90%;
    }

    .team-members {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.2rem;
    }

    .team-member {
        padding: 1.2rem;
    }

    .team-member img {
        width: 100px;
        height: 100px;
    }

    .team-member h3 {
        font-size: 1.1rem;
    }

    .team-member p {
        font-size: 0.85rem;
    }
}