/* Recent Updates Section - Enhanced Styling */
.recent-updates-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, 
        rgba(1, 37, 125, 0.9) 0%, 
        rgba(0, 0, 0, 0.8) 30%, 
        rgba(1, 37, 125, 0.6) 70%, 
        rgba(0, 255, 255, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.recent-updates-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(1, 37, 125, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 255, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.recent-updates-section .container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #00FFFF;
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.updates-carousel {
    position: relative;
    margin-top: 2rem;
    overflow: hidden;
}

.updates-container {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.update-card {
    flex: 0 0 320px;
    min-width: 320px;
    background: linear-gradient(145deg, 
        rgba(1, 37, 125, 0.9) 0%, 
        rgba(0, 0, 0, 0.8) 50%, 
        rgba(1, 37, 125, 0.7) 100%);
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 1.8rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.8;
    transform: scale(0.95);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.update-card.active {
    opacity: 1;
    transform: scale(1);
    border-color: #00FFFF;
    box-shadow: 
        0 20px 60px rgba(0, 255, 255, 0.3),
        0 0 50px rgba(0, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.update-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.update-card:hover::before {
    left: 100%;
}

.update-card:hover {
    transform: scale(1.02) translateY(-5px);
    border-color: #00FFFF;
    box-shadow: 
        0 25px 70px rgba(0, 255, 255, 0.4),
        0 0 60px rgba(0, 255, 255, 0.3);
}

.update-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #00FFFF, #007acc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.4);
    position: relative;
}

.update-icon img,
.update-icon i {
    width: 28px;
    height: 28px;
    color: #000;
    font-size: 1.5rem;
}

.update-info {
    margin-bottom: 1rem;
}

.update-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', monospace;
    line-height: 1.2;
}

.update-date {
    color: #00FFFF;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.update-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: glow 2s ease-in-out infinite alternate;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

@keyframes glow {
    from {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
        transform: scale(1);
    }
    to {
        box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
        transform: scale(1.05);
    }
}

.update-content {
    margin-bottom: 1.5rem;
}

.update-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 1rem;
}

.update-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: rgba(0, 255, 255, 0.15);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #00FFFF;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-tag:hover {
    background: rgba(0, 255, 255, 0.25);
    border-color: #00FFFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.update-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn-update-primary,
.btn-update-secondary,
.btn-update-support {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-update-primary {
    background: linear-gradient(45deg, #00FFFF, #007acc);
    color: #000;
    border-color: #00FFFF;
}

.btn-update-primary:hover {
    background: linear-gradient(45deg, #007acc, #00FFFF);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.4);
}

.btn-update-secondary {
    background: transparent;
    color: #00FFFF;
    border-color: #00FFFF;
}

.btn-update-secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 255, 255, 0.2);
}

.btn-update-support {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    border-color: #FFD700;
}

.btn-update-support:hover {
    background: linear-gradient(45deg, #FFA500, #FFD700);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

/* Carousel Navigation */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 255, 255, 0.2);
    border: 2px solid #00FFFF;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00FFFF;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    user-select: none;
}

.carousel-arrow:hover {
    background: rgba(0, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.6),
        0 6px 25px rgba(0, 255, 255, 0.3);
    border-color: #40E0D0;
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(1.0);
    background: rgba(0, 255, 255, 0.5);
}

.carousel-arrow-left {
    left: 10px;
}

.carousel-arrow-right {
    right: 10px;
}

/* Enhanced arrow animations */
.carousel-arrow i {
    transition: transform 0.3s ease;
}

.carousel-arrow:hover i {
    transform: translateX(2px);
}

.carousel-arrow-left:hover i {
    transform: translateX(-2px);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    position: relative;
    user-select: none;
}

.dot:hover {
    background: rgba(0, 255, 255, 0.6);
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.4);
}

.dot.active {
    background: #00FFFF;
    border-color: #00FFFF;
    transform: scale(1.4);
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.8),
        0 4px 15px rgba(0, 255, 255, 0.4);
}

.dot.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #000;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Enhanced container transitions */
.updates-container {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.update-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Responsive Design */
@media (max-width: 768px) {
    .recent-updates-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .update-card {
        flex: 0 0 280px;
        min-width: 280px;
        padding: 1.5rem;
    }
    
    .update-info h3 {
        font-size: 1.2rem;
    }
    
    .update-content p {
        font-size: 0.9rem;
    }
    
    .carousel-arrow {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .carousel-arrow-left {
        left: 5px;
    }
    
    .carousel-arrow-right {
        right: 5px;
    }
    
    .update-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-update-primary,
    .btn-update-secondary,
    .btn-update-support {
        justify-content: center;
        text-align: center;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .update-card {
        flex: 0 0 260px;
        min-width: 260px;
        padding: 1.2rem;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .carousel-arrow-left {
        left: 2px;
    }
    
    .carousel-arrow-right {
        right: 2px;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
}