    /* ========== DISCORD SECTION ========== */
.discord-section {
    margin: 0;
    padding: 2rem;
    background: 
        linear-gradient(135deg, #5865f2 0%, #4752c4 50%, #3c4aa3 100%);
    border-radius: 0 0 0.5rem 0.5rem;
    position: relative;
    overflow: hidden;
}

/* Floating cloud animations - optimized for performance */
.floating-cloud {
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: calc(100% + 60px);
    background-image: url('../assets/optimized/cloud.webp'), url('../assets/cloud.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
    transform: translateZ(0); /* Force GPU acceleration */
    will-change: transform; /* Optimize for animations */
    animation: floatingMotion 8s ease-in-out infinite;
}



.floating-cloud-docs {
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: calc(100% + 60px);
    background-image: url('../assets/optimized/cloud.webp'), url('../assets/cloud.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
    transform: translateZ(0); /* Force GPU acceleration */
    will-change: transform; /* Optimize for animations */
    animation: floatingMotion 8s ease-in-out infinite;
}

@keyframes floatingMotion {
    0%, 100% {
        transform: translateZ(0) translateY(20px);
    }
    50% {
        transform: translateZ(0) translateY(0px);
    }
}

/* Removed heavy ambient glow animation for better performance */

.discord-card {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.discord-content {
    color: white;
    flex: 1;
    margin-right: 2rem;
    position: relative;
    z-index: 10;
}

.discord-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.discord-content p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.discord-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    opacity: 0;
    transform: translateZ(0); /* Force GPU acceleration */
    animation: fadeInUp 0.6s ease-out forwards;
}

.benefit-item:nth-child(1) { animation-delay: 0.2s; }
.benefit-item:nth-child(2) { animation-delay: 0.4s; }
.benefit-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateZ(0) translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateZ(0) translateY(0);
    }
}

.benefit-item svg {
    width: 20px;
    height: 20px;
    color: #48bb78;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    padding: 2px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(72, 187, 120, 0.3);
}

.benefit-item span {
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Enhanced Discord button animation */
.discord-button-container {
    position: relative;
    z-index: 10;
}

.btn-discord {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    transform: translateZ(0); /* Force GPU acceleration */
    will-change: transform; /* Optimize for hover animations */
}

.btn-discord::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-discord:hover::before {
    width: 300px;
    height: 300px;
}

.btn-discord:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .discord-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 1.5rem;
    }

    .discord-content h3 {
        font-size: 1.5rem;
    }

    .discord-content p {
        font-size: 1rem;
    }
} 