@media (min-width: 1024px) {
main#gallery,
    header,
    #event-marquee-section {
        transition: padding-left 0.3s ease, padding-right 0.3s ease;
    }
}

.badge-event {
    background: linear-gradient(135deg, #55c4cc, #9bd1f5, #709bd3);
    background-size: 200% 200%;
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
    /* box-shadow: 0 4px 20px rgba(68, 239, 239, 0.6); */
    animation: eventPulse 2s ease-in-out infinite, gradientShift 3s ease infinite;
    position: relative;
    padding: 0.2rem 0.8rem;
    height: fit-content;
    font-weight: 800;
    font-size: 0.55rem;
}

.badge-event .fa-calendar-star {
    margin-left: -12px;
}

#modal-event-countdown {
    justify-content: space-between;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

@keyframes eventPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(68, 239, 202, 0.6);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 8px 30px rgba(68, 213, 239, 0.9);
        transform: scale(1.02);
    }
}

.badge-event i {
    animation: bounceLight 1.5s ease-in-out infinite;
}

#event-marquee-section {}

.marquee-container {
    background-color: rgb(0 57 255 / 32%);
    border-radius: 16px;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    position: relative;
    padding: 24px 0;
    user-select: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='25'%3E%3Ctext x='50%25' y='50%25' dominant-baseline='middle' text-anchor='middle' font-family='sans-serif' font-size='12' font-weight='bold' fill='rgba(255, 255, 255,0.4)' transform='rotate(-20, 35, 22.5)'%3EPROMO%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
}

.marquee-container::-webkit-scrollbar {
    display: none;
}

.marquee-content {
    display: inline-flex;
    gap: 24px;
    padding: 0 24px;
}

.marquee-item {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.9));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    gap: 0;
    border-radius: 0 1.5rem 1.5rem 0;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    min-width: 350px;
}

.marquee-item .image-container {
    position: relative;
    width: auto;
    height: 145px;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #18181b;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee-item .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

@media (min-width: 640px) {
.marquee-item:hover {
        transform: translateY(-5px);
        border-color: rgba(239, 68, 68, 0.3);
        box-shadow: 0 20px 40px -20px rgba(239, 68, 68, 0.2);
    }

.marquee-item:hover .image-container img {
        transform: scale(1.05);
    }

.marquee-item:hover h4 {
        color: #ef4444;
    }
}

.marquee-item .image-container .overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.2));
}

.marquee-item .glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(239, 68, 68, 0.1), transparent 60%);
    pointer-events: none;
}

.marquee-item .content-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1rem;
    position: relative;
    z-index: 10;
    justify-content: space-between;
}

.marquee-item .promo-badge {
    background-color: #ef4444;
    color: white;
    font-size: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.marquee-item .countdown-timer {
    font-size: 9px;
    font-family: 'JetBrains Mono', monospace;
    color: #f87171;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 2px 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.marquee-item h4 {
    color: white;
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.25;
    margin-top: 4px;
    transition: color 0.3s;
}

.marquee-item .price-label {
    font-size: 8px;
    color: #71717a;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2px;
}

.marquee-item .price-original-marquee {
    font-size: 9px;
    color: #52525b;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.marquee-item .price-current-marquee {
    font-size: 1rem;
    font-weight: 900;
    color: white;
    letter-spacing: -0.02em;
}

.marquee-item .action-button {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background-color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
    transition: all 0.3s;
}

.marquee-item .action-button:hover {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
    transform: scale(1.05);
}

.marquee-item .action-button i {
    font-size: 12px;
}

@media (max-width: 640px) {
.marquee-item {
        min-width: 330px;
    }

.marquee-container {
        width: 124%;
        scale: 0.8;
        left: -12%;
    }
}

.gallery-item.event-expired .js-card-badge.event-active {
    display: none !important;
}
