/* Promotion Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.landing-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promotion-card {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    position: relative;
}

.promotion-header {
    background-image: url('/admin/uploads/promotion-header-bg.webp');
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center;
    color: black;
    text-align: center;
    position: relative;
    background-color: #f8faf9;
}

.promotion-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.promotion-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.promotion-header .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.promotion-content {
    padding: 50px 40px;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.offer-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.offer-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.offer-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #ff6b6b;
}

.offer-item:hover::before {
    left: 100%;
}

.offer-icon {
    font-size: 3rem;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.offer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
}

.offer-description {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 14px;
}

.offer-price {
    font-size: 2rem;
    font-weight: 800;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.offer-price .old-price {
    font-size: 1.2rem;
    color: #6c757d;
    text-decoration: line-through;
    margin-right: 10px;
}

.cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 40px;
    text-align: center;
    border-radius: 15px;
    margin-top: 30px;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border: none;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 100%);
}

.countdown-timer {
    background: rgba(255, 107, 107, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
}

.countdown-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
}

.countdown-display {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.countdown-item {
    background: white;
    border-radius: 10px;
    padding: 15px 20px;
    min-width: 80px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.countdown-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ff6b6b;
    display: block;
}

.countdown-label {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 30px;
}

.features-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
}

.features-list li:last-child {
    border-bottom: none;
}

.promotion-sub-image-left {
    margin-right: -50px;
}

.promotion-sub-image-right {
    margin-left: -50px;
}

@media (max-width: 768px) {
    .promotion-header h1 {
        font-size: 2rem;
    }
    
    .promotion-content {
        padding: 30px 20px;
    }
    
    .offer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .countdown-display {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 10px 15px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    /* Mobile responsive styles for inline elements */
    .header-title-container {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        gap: 0 !important;
        margin-bottom: 50px !important;
        margin-top: 20px !important;
        padding: 0 10px !important;
        width: 100% !important;
        overflow: visible !important;
        min-height: 120px !important;
        z-index: 10 !important;
    }
    
    .star-decoration {
        display: none !important;
    }
    
    .star-decoration.star-left {
        display: none !important;
    }
    
    .star-decoration.star-right {
        display: none !important;
    }
    
    .title-content {
        position: relative !important;
        z-index: 2 !important;
        min-width: 200px !important;
        margin-top: 0 !important;
        padding: 10px 20px !important;
        text-align: center !important;
        flex: 1 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .main-title {
        font-size: 20px !important;
        line-height: 1.1 !important;
        margin: 0 !important;
        word-wrap: break-word !important;
    }
    
    .subtitle {
        font-size: 14px !important;
        margin: 5px 0 0 0 !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
    }
    
    .product-gallery {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        margin-bottom: -200px !important;
        margin-top: 20px !important;
        gap: -10px !important;
        padding: 0 10px !important;
        z-index: 1 !important;
        position: relative !important;
        overflow: visible !important;
    }
    
    .product-item {
        min-width: 50px !important;
        max-width: 70px !important;
        flex: 0 0 auto !important;
        margin: 0 -5px !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    .product-item:nth-child(1) {
        z-index: 7 !important;
    }
    
    .product-item:nth-child(2) {
        z-index: 6 !important;
    }
    
    .product-item:nth-child(3) {
        z-index: 5 !important;
    }
    
    .product-item:nth-child(4) {
        z-index: 8 !important;
        transform: scale(1.2) !important;
    }
    
    .product-item:nth-child(5) {
        z-index: 5 !important;
    }
    
    .product-item:nth-child(6) {
        z-index: 6 !important;
    }
    
    .product-item:nth-child(7) {
        z-index: 7 !important;
    }
    
    .product-item.featured {
        max-width: 90px !important;
        transform: scale(1.2) !important;
        z-index: 8 !important;
    }
    
    .main-promotion-image {
        padding: 0 10px !important;
        z-index: 10 !important;
        position: relative !important;
        margin-top: -50px !important;
    }
    
    .main-promotion-image img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .promotion-sub-image-left {
        margin-right: 0 !important;
    }
    
    .promotion-sub-image-left img,
    .promotion-sub-image-right img {
        max-width: 50px !important;
        height: auto !important;
    }
    
    .promotion-sub-image-right {
        margin-left: 0 !important;
    }
    
    .fire-icon {
        font-size: 0.7em !important;
    }
    
    /* Mobile-specific animations */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes slideInRotate {
        from {
            opacity: 0;
            transform: translateX(-30px) rotate(-5deg);
        }
        to {
            opacity: 1;
            transform: translateX(0) rotate(0deg);
        }
    }
    
    @keyframes slideInRotateRight {
        from {
            opacity: 0;
            transform: translateX(30px) rotate(5deg);
        }
        to {
            opacity: 1;
            transform: translateX(0) rotate(0deg);
        }
    }
    
    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes zoomIn {
        from {
            opacity: 0;
            transform: scale(0.8);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }
    
    @keyframes pulse {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.02);
        }
    }
    
    @keyframes flicker {
        0%, 100% {
            opacity: 1;
        }
        50% {
            opacity: 0.8;
        }
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
}

/* Additional animations and hover effects */
.product-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.product-item.featured:hover {
    transform: translateY(-15px) scale(1.08);
    box-shadow: 0 15px 35px rgba(255,107,53,0.3);
}

.star-decoration:hover img {
    transform: scale(1.2);
}

.hero-image:hover img {
    transform: scale(1.02);
}

.fire-icon {
    display: inline-block;
    animation: flicker 1.5s infinite alternate;
}

.main-title:hover {
    animation: pulse 0.5s ease-in-out;
}

.flash-container {
    position: relative;
    overflow: hidden;
}

.flash-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.6) 52%,
        rgba(255, 255, 255, 0.3) 54%,
        transparent 70%
    );
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    animation: flashLight 3s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes flashLight {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(200%) translateY(200%) rotate(45deg);
        opacity: 0;
    }
}

.flash-image {
    animation: flashGlow 3s ease-in-out infinite;
}

@keyframes flashGlow {
    0%, 100% {
        box-shadow: none;
    }
    50% {
        box-shadow: none;
    }
}

.flash-container:hover::before {
    animation-duration: 1s;
}

.flash-container:hover .flash-image {
    animation-duration: 1s;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-elements::before,
.floating-elements::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-elements::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-elements::after {
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

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

/* Fireworks Animation */
.fireworks-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.firework {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: fireworkLaunch 4s ease-out infinite;
}

.firework::before,
.firework::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: inherit;
    opacity: 0;
}

.firework:nth-child(1) {
    left: 10%;
    background: #ff6b6b;
    animation-delay: 0s;
}

.firework:nth-child(2) {
    left: 25%;
    background: #4ecdc4;
    animation-delay: 0.5s;
}

.firework:nth-child(3) {
    left: 40%;
    background: #45b7d1;
    animation-delay: 1s;
}

.firework:nth-child(4) {
    left: 55%;
    background: #f9ca24;
    animation-delay: 1.5s;
}

.firework:nth-child(5) {
    left: 70%;
    background: #6c5ce7;
    animation-delay: 2s;
}

.firework:nth-child(6) {
    left: 85%;
    background: #fd79a8;
    animation-delay: 2.5s;
}

.firework:nth-child(7) {
    left: 15%;
    background: #00b894;
    animation-delay: 0.8s;
}

.firework:nth-child(8) {
    left: 60%;
    background: #e17055;
    animation-delay: 1.8s;
}

.firework:nth-child(9) {
    left: 35%;
    background: #a29bfe;
    animation-delay: 0.3s;
}

.firework:nth-child(10) {
    left: 80%;
    background: #ffeaa7;
    animation-delay: 2.3s;
}

@keyframes fireworkLaunch {
    0% {
        bottom: -10px;
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 15px currentColor;
    }
    60% {
        bottom: 65%;
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 20px currentColor;
    }
    65% {
        opacity: 1;
        transform: scale(0.8);
        box-shadow: 0 0 25px currentColor;
    }
    70% {
        opacity: 0;
        transform: scale(0);
    }
    71% {
        opacity: 1;
        transform: scale(1);
    }
    75% {
        opacity: 1;
        transform: scale(2);
        box-shadow: 
            0 0 30px currentColor,
            15px 0 25px currentColor,
            -15px 0 25px currentColor,
            0 15px 25px currentColor,
            0 -15px 25px currentColor,
            12px 12px 20px currentColor,
            -12px -12px 20px currentColor,
            12px -12px 20px currentColor,
            -12px 12px 20px currentColor,
            20px 8px 15px currentColor,
            -20px -8px 15px currentColor,
            8px 20px 15px currentColor,
            -8px -20px 15px currentColor;
    }
    85% {
        opacity: 0.8;
        transform: scale(3.5);
        box-shadow: 
            0 0 40px currentColor,
            25px 0 30px currentColor,
            -25px 0 30px currentColor,
            0 25px 30px currentColor,
            0 -25px 30px currentColor,
            18px 18px 25px currentColor,
            -18px -18px 25px currentColor,
            18px -18px 25px currentColor,
            -18px 18px 25px currentColor,
            30px 12px 20px currentColor,
            -30px -12px 20px currentColor,
            12px 30px 20px currentColor,
            -12px -30px 20px currentColor,
            35px 0 15px currentColor,
            -35px 0 15px currentColor,
            0 35px 15px currentColor,
            0 -35px 15px currentColor;
    }
    100% {
        bottom: 65%;
        opacity: 0;
        transform: scale(5);
        box-shadow: 
            0 0 50px currentColor,
            40px 0 35px currentColor,
            -40px 0 35px currentColor,
            0 40px 35px currentColor,
            0 -40px 35px currentColor,
            28px 28px 30px currentColor,
            -28px -28px 30px currentColor,
            28px -28px 30px currentColor,
            -28px 28px 30px currentColor,
            45px 15px 25px currentColor,
            -45px -15px 25px currentColor,
            15px 45px 25px currentColor,
            -15px -45px 25px currentColor,
            50px 0 20px currentColor,
            -50px 0 20px currentColor,
            0 50px 20px currentColor,
            0 -50px 20px currentColor,
            35px 35px 15px currentColor,
            -35px -35px 15px currentColor,
            35px -35px 15px currentColor,
            -35px 35px 15px currentColor;
    }
}

/* Particle explosion effects */
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: inherit;
    opacity: 0;
    animation: particleExplode 2s ease-out infinite;
}

.particle:nth-child(1) {
    animation: particleExplode1 2s ease-out infinite;
}

.particle:nth-child(2) {
    animation: particleExplode2 2s ease-out infinite;
}

.particle:nth-child(3) {
    animation: particleExplode3 2s ease-out infinite;
}

.particle:nth-child(4) {
    animation: particleExplode4 2s ease-out infinite;
}

@keyframes particleExplode1 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(40px, -30px) scale(0.3);
        box-shadow: 0 0 10px currentColor;
    }
}

@keyframes particleExplode2 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-35px, -25px) scale(0.3);
        box-shadow: 0 0 10px currentColor;
    }
}

@keyframes particleExplode3 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(25px, 35px) scale(0.3);
        box-shadow: 0 0 10px currentColor;
    }
}

@keyframes particleExplode4 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-30px, 40px) scale(0.3);
        box-shadow: 0 0 10px currentColor;
    }
}

/* Sparkle particles */
.sparkle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: sparkle 2s linear infinite;
}

.sparkle:nth-child(odd) {
    animation-delay: 0.5s;
}

.sparkle:nth-child(even) {
    animation-delay: 1s;
}

@keyframes sparkle {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
}

/* Inline CSS Classes */
.sparkle-pos-1 {
    left: 20%;
    animation-delay: 0.2s;
}

.sparkle-pos-2 {
    left: 40%;
    animation-delay: 0.7s;
}

.sparkle-pos-3 {
    left: 60%;
    animation-delay: 1.2s;
}

.sparkle-pos-4 {
    left: 80%;
    animation-delay: 1.7s;
}

.sparkle-pos-5 {
    left: 30%;
    animation-delay: 0.4s;
}

.sparkle-pos-6 {
    left: 70%;
    animation-delay: 0.9s;
}

.sparkle-pos-7 {
    left: 50%;
    animation-delay: 1.4s;
}

.sparkle-pos-8 {
    left: 90%;
    animation-delay: 1.9s;
}

.header-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: -200px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.star-decoration.star-left {
    flex-shrink: 0;
    transform: translateX(-50px) rotate(-10deg);
    animation: slideInRotate 1.2s ease-out 0.8s forwards;
}

.star-decoration.star-right {
    flex-shrink: 0;
    transform: translateX(50px) rotate(10deg);
    animation: slideInRotateRight 1.2s ease-out 0.8s forwards;
}

.star-decoration img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-width: 250px;
    min-width: 120px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.title-content {
    text-align: center;
    flex: 1;
    min-width: 500px;
    margin-top: -200px;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

.main-title {
    font-size: 50px;
    text-transform: uppercase;
    font-weight: bold;
    margin: 0;
    color: #ff6b35;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: pulse 2s infinite;
    font-family: Montserrat;
}

.fire-icon {
    color: #ff4444;
    animation: flicker 1.5s infinite alternate;
}

.subtitle {
    font-size: 26px;
    font-family: Montserrat;
    margin: 10px 0 0 0;
    color: #333;
    font-weight: 500;
    animation: fadeIn 1s ease-out 1.5s both;
}

.product-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: end;
    gap: 10px;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: -450px;
    margin-top: -250px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.2s forwards;
}

.product-item {
    flex: 1;
    min-width: 120px;
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item.sub-image-1 {
    max-width: 200px;
    animation: slideInUp 0.8s ease-out 1.5s forwards;
}

.product-item.sub-image-2 {
    max-width: 200px;
    animation: slideInUp 0.8s ease-out 1.7s forwards;
}

.product-item.sub-image-3 {
    max-width: 150px;
    animation: slideInUp 0.8s ease-out 1.9s forwards;
}

.product-item.sub-image-4 {
    max-width: 250px;
    animation: slideInUp 0.8s ease-out 2.1s forwards;
}

.product-item.sub-image-5 {
    max-width: 150px;
    animation: slideInUp 0.8s ease-out 2.3s forwards;
}

.product-item.sub-image-6 {
    max-width: 200px;
    animation: slideInUp 0.8s ease-out 2.5s forwards;
}

.product-item.sub-image-7 {
    max-width: 200px;
    animation: slideInUp 0.8s ease-out 2.7s forwards;
}

.product-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.main-promotion-image {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    animation: zoomIn 1.2s ease-out 2s forwards;
    overflow: hidden;
}

.main-promotion-image img {
    max-width: 960px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Desktop-specific styles to ensure visibility */
@media (min-width: 769px) {
    .header-title-container {
        opacity: 1 !important;
        animation: none !important;
        display: flex !important;
        visibility: visible !important;
    }
    
    .product-gallery {
        opacity: 1 !important;
        animation: none !important;
        display: flex !important;
        visibility: visible !important;
    }
    
    .main-promotion-image {
        opacity: 1 !important;
        animation: none !important;
        display: flex !important;
        visibility: visible !important;
    }
    
    .product-item {
        opacity: 1 !important;
        animation: none !important;
        transform: none !important;
        visibility: visible !important;
    }
    
    .star-decoration {
        opacity: 1 !important;
        animation: none !important;
        transform: none !important;
        visibility: visible !important;
    }
    
    .title-content {
        opacity: 1 !important;
        animation: none !important;
        transform: none !important;
        visibility: visible !important;
    }
}

/* Additional product item classes */
.promotion-sub-image-left {
    flex: 1;
    min-width: 120px;
    max-width: 200px;
    transform: translateY(50px);
    opacity: 0;
    animation: slideInUp 0.8s ease-out 1.5s forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promotion-sub-image-center {
    flex: 1;
    min-width: 120px;
    max-width: 250px;
    transform: translateY(50px);
    opacity: 0;
    animation: slideInUp 0.8s ease-out 2.1s forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promotion-sub-image-right {
    flex: 1;
    min-width: 120px;
    max-width: 200px;
    transform: translateY(50px);
    opacity: 0;
    animation: slideInUp 0.8s ease-out 2.3s forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promotion-sub-image-right:nth-child(6) {
    animation-delay: 2.5s;
}

.promotion-sub-image-right:nth-child(7) {
    animation-delay: 2.7s;
}

.promotion-sub-image-left:nth-child(2) {
    animation-delay: 1.7s;
}

.promotion-sub-image-left:nth-child(3) {
    animation-delay: 1.9s;
    max-width: 150px;
}

.promotion-sub-image-right:nth-child(5) {
    max-width: 150px;
}

.featured {
    /* Additional styles for featured items if needed */
}

.hero-image {
    /* Additional styles for hero image if needed */
}

.flash-container {
    /* Additional styles for flash container if needed */
}

.flash-image {
    /* Additional styles for flash image if needed */
}