/* Supporter Rewards Modal Styles */
.supporter-rewards-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease-in-out;
}

.supporter-rewards-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.supporter-rewards-modal .modal-content {
    position: relative;
    z-index: 10;
    animation: slideUp 0.3s ease-out;
    max-height: 100vh;
    overflow-y: auto;
}

.supporter-rewards-modal .modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.2s;
}

.supporter-rewards-modal .modal-close:hover {
    transform: scale(1.1);
}

/* Alert Styles */
.supporter-rewards-alert {
    animation: slideInRight 0.3s ease-out;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 640px) {
    .supporter-rewards-modal .modal-content {
        margin: 0 1rem;
    }
}

/* Reward Gallery Swiper Styles */
.reward-gallery-swiper {
    width: 100%;
    height: 100%;
    position: relative;
    background: #fff;
}
.reward-gallery-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.reward-gallery-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.reward-gallery-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
}

/* Swiper Navigation Buttons */
.reward-gallery-swiper .swiper-button-next,
.reward-gallery-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.reward-gallery-swiper .swiper-button-next:after,
.reward-gallery-swiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.reward-gallery-swiper .swiper-button-next:hover,
.reward-gallery-swiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.reward-gallery-swiper .swiper-button-next {
    right: 10px;
}

.reward-gallery-swiper .swiper-button-prev {
    left: 10px;
}

/* Swiper Pagination */
.reward-gallery-swiper .swiper-pagination {
    bottom: -30px !important;
    position: absolute;
}

.reward-gallery-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e0;
    opacity: 1;
    transition: all 0.3s ease;
}

.reward-gallery-swiper .swiper-pagination-bullet-active {
    background: #3b82f6;
}

.swiper-pagination-bullet-active {
   background: rgb(240 118 49 / var(--tw-bg-opacity, 1)) !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .reward-gallery-swiper .swiper-button-next,
    .reward-gallery-swiper .swiper-button-prev {
        width: 32px;
        height: 32px;
    }

    .reward-gallery-swiper .swiper-button-next:after,
    .reward-gallery-swiper .swiper-button-prev:after {
        font-size: 14px;
    }

    .reward-gallery-swiper .swiper-button-next {
        right: 5px;
    }

    .reward-gallery-swiper .swiper-button-prev {
        left: 5px;
    }
}

@media (max-width: 480px) {
    .reward-gallery-swiper .swiper-button-next,
    .reward-gallery-swiper .swiper-button-prev {
        display: none;
    }

    .reward-gallery-swiper .swiper-pagination {
        bottom: -25px !important;
    }
}

.swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: -5rem !important; 
}