#team-info {
    background: linear-gradient(135deg, #3b0894 0%, #6a00ff 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

#team-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/art/bl.png');
    background-size: 300px;
    background-repeat: no-repeat;
    background-position: right -50px top -50px;
    opacity: 0.05;
    z-index: 0;
    animation: float-bg 15s ease-in-out infinite;
}

#team-info::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/art/bl5.png');
    background-size: 300px;
    background-repeat: no-repeat;
    background-position: left -50px bottom -50px;
    opacity: 0.05;
    z-index: 0;
    animation: float-bg 15s ease-in-out infinite reverse;
}

.team-info-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.team-info-box, .community-info-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    flex: 1;
    min-width: 300px;
    max-width: 550px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
    animation: slide-up 0.8s ease-out forwards;
}

.team-info-box {
    animation-delay: 0.2s;
}

.community-info-box {
    animation-delay: 0.4s;
}

.team-info-box:hover, .community-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 219, 88, 0.3);
}

.section-icon {
    font-size: 2.5em;
    margin-bottom: 20px;
    display: inline-block;
    animation: pulse 2s infinite;
}

.team-info-box h2, .community-info-box h2 {
    font-family: 'Chewy', cursive;
    font-size: 2.5em;
    color: #ffdb58;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.team-info-box p, .community-info-box p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.team-link {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 219, 88, 0.6);
    border-radius: 30px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-link:hover {
    background: rgba(255, 219, 88, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.team-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.team-link:hover i {
    transform: translateX(5px);
}

/* Stats Highlight */
.community-stats {
    display: inline-block;
    font-weight: bold;
    color: #ffdb58;
    position: relative;
    transition: all 0.3s ease;
}

.community-stats:hover {
    text-shadow: 0 0 10px rgba(255, 219, 88, 0.5);
}

/* Animations */
@keyframes float-bg {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 10px rgba(255, 219, 88, 0.3);
    }
    50% {
        transform: scale(1.1);
        text-shadow: 0 0 20px rgba(255, 219, 88, 0.7);
    }
}

@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media only screen and (max-width: 1000px) {
    .team-info-container {
        flex-direction: column;
        align-items: center;
    }
    
    .team-info-box, .community-info-box {
        max-width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    #team-info {
        padding: 60px 15px;
    }
    
    .team-info-box h2, .community-info-box h2 {
        font-size: 2em;
    }
    
    .team-info-box, .community-info-box {
        padding: 30px;
    }
}

@media only screen and (max-width: 480px) {
    .team-info-box h2, .community-info-box h2 {
        font-size: 1.8em;
    }
    
    .section-icon {
        font-size: 2em;
    }
    
    .team-info-box p, .community-info-box p {
        font-size: 1em;
    }
    
    .team-info-box, .community-info-box {
        padding: 25px;
    }
} 