.featured-slider {
    position: relative;
    padding: 20px 40px;
}

.slider-container {
    display: flex;
    gap: 20px;
    scroll-behavior: smooth;
}

.featured-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
}

.product-card {
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.original-price {
    text-decoration: line-through;
    color: #888;
}

.current-price {
    font-weight: bold;
    color: #4F46E5;
    font-size: 1.25rem;
}

.filter-btn.active {
    background-color: #4F46E5;
    color: white;
}

/* Modal Animations */
#productModal, #platformModal {
    transition: opacity 0.3s ease;
}

#productModal.active, #platformModal.active {
    display: flex;
}

/* Platform buttons hover effect */
.platform-button {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.platform-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu Styles */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu.hidden {
    max-height: 0;
}

#mobile-menu:not(.hidden) {
    max-height: 300px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .featured-card {
        flex: 0 0 260px;
    }

    .slider-container {
        gap: 15px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .featured-slider {
        padding: 20px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    #productModal .product-details,
    #platformModal .platform-buttons {
        padding: 16px;
        margin: 16px;
        width: 90%;
        max-height: 80vh;
        overflow-y: auto;
    }

    .modal-close,
    .platform-modal-close {
        top: 8px;
        right: 8px;
    }
}