/* --- ALL STYLES --- */
/* Most styles are unchanged from your original file */
        
body {
    font-family: 'Poppins', sans-serif;
    background-image: url('https://kojilaunch.com/wp-content/uploads/2025/10/6211841-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
    transition: background-image 0.5s ease-in-out;
    color: #ffffff;
    position: relative;
    min-height: 100vh;
    /* Updated padding for the larger image strip */
    padding-bottom: 120px; 
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); border-radius: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.4); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.6); }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.frosted-glass {
    background: rgba(10, 10, 20, 0.35); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1); 
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); 
}

.sidebar {
    transition: transform 0.3s ease-in-out;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background: rgba(10, 10, 20, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    will-change: transform;
}

#prompt-list-container::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); }
#prompt-list-container::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.4); }

.category-button {
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative; 
}
.category-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.category-button.active {
    background-color: #c53030; /* red-700 */
    color: white;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.6), 0 0 8px rgba(255, 255, 255, 0.3);
}

.category-icon {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}
.category-button:hover .category-icon {
    transform: scale(1.3) rotate(10deg);
}

.category-button::before {
    content: '';
    position: absolute;
    left: var(--x, 50%); 
    top: var(--y, 50%); 
    width: 200px; 
    height: 200px;
    background: radial-gradient(circle,
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0) 70% 
    );
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease-out;
    pointer-events: none; 
}
.category-button:hover::before {
    opacity: 1;
}

#youtube-player-container {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}
.shake {
    animation: shake 0.5s ease-in-out;
}

.confetti {
    position: absolute;
    width: 8px;
    height: 16px;
    background: #e53e3e; /* red-500 */
    top: 0;
    opacity: 0;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) skewX(-20deg); }
    100% { transform: translateX(200%) skewX(-20deg); }
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(214, 158, 46, 0.6), 0 0 12px rgba(214, 158, 46, 0.4); } 
    50% { box-shadow: 0 0 16px rgba(214, 158, 46, 0.9), 0 0 24px rgba(214, 158, 46, 0.6); }
}
.premium-pack-button {
    position: relative;
    overflow: hidden;
    animation: pulse-glow 2.5s infinite ease-in-out;
    border-image: none !important;
    border: 1px solid rgba(214, 158, 46, 0.3) !important;
}
.premium-pack-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    animation: shimmer 3s infinite ease-in-out;
    animation-delay: 1s;
}
.premium-unlocked-button {
    background-size: cover;
    background-position: center;
    position: relative;
    border-image: none !important;
}
.premium-unlocked-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(29, 53, 44, 0.7); 
    border-radius: inherit;
    z-index: 1;
    transition: background-color 0.3s;
}
.premium-unlocked-button:hover::before {
    background-color: rgba(29, 53, 44, 0.5);
}
.premium-unlocked-button span {
    position: relative;
    z-index: 2; 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.christmas-font-effect {
    font-family: 'Mountains of Christmas', cursive;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fefce8; 
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 5px rgba(239, 68, 68, 0.5); 
}

@keyframes pulse-red-glow {
    0%, 100% { box-shadow: 0 0 12px rgba(239, 68, 68, 0.6), 0 0 16px rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.9), 0 0 28px rgba(239, 68, 68, 0.6); }
}
.animated-glow-red {
    animation: pulse-red-glow 2.5s infinite ease-in-out;
}

@keyframes pulse-star {
    0%, 100% { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 3px #fff); }
    50% { transform: scale(1.3); opacity: 0.8; filter: drop-shadow(0 0 6px #fff); }
}
#generate-btn svg {
    animation: pulse-star 2s infinite ease-in-out;
    filter: drop-shadow(0 0 3px #fff);
}

.lottie-wrapper {
    width: 250px; 
    height: 250px;
    max-width: 90%; 
}
@media (min-width: 768px) {
    .lottie-wrapper {
        width: 500px; 
        height: 500px;
    }
}
.sidebar-logo-text-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px; 
    padding: 1rem;
    box-sizing: border-box;
}
.sidebar-logo-text {
    font-family: 'Mountains of Christmas', cursive;
    font-weight: 700;
    letter-spacing: 2px; 
    color: #fefce8; 
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 8px rgba(239, 68, 68, 0.7); 
    font-size: 2.5rem; 
    line-height: 1;
}
#generate-animation {
    margin-top: 1rem; 
}

/* --- CSS for image strip --- */
#image-strip {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px; /* Updated strip height */
    overflow: hidden;
    white-space: nowrap;
    z-index: 5; /* Below main content (z-index: 10) */
    pointer-events: none; /* Allows clicks to pass through */
}

#image-strip-inner {
    display: inline-block;
    /* Animation: name, duration, timing, iteration */
    animation: scrollImages 60s linear infinite; 
}

#image-strip img {
    height: 120px; /* Updated image height */
    width: auto;
    margin-right: 0px; /* No space between images */
    display: inline-block;
    vertical-align: bottom;
    border-radius: 0px; /* No rounded corners */
    box-shadow: 0 2px 5px rgba(0,0,0,0.3); /* Add subtle shadow */
}

@keyframes scrollImages {
    0% {
        transform: translateX(0); /* Start at original position */
    }
    100% {
        /* Translate left by the exact width of one set of images */
        transform: translateX(-1950px); /* Estimated total width of 15 images */ 
    }
}
/* --- End CSS for image strip --- */

