/* Custom styles */
body {
    font-family: 'Lilita One', cursive;
}

.platform-btn.selected {
    border-color: #ffffff;
    background-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.platform-btn.selected span {
    color: #ffffff;
    text-shadow: 0 2px 0 #b45309;
    /* yellow-700 shadow */
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.animate-marquee {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

/* Stars Animation */
.stars,
.stars2,
.stars3 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: transparent url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1231630/stars.png') repeat top center;
    z-index: -1;
}

.stars {
    z-index: 0;
    background-size: 1000px 1000px;
    animation: move-stars 50s linear infinite;
}

.stars2 {
    z-index: 1;
    background-size: 1500px 1500px;
    animation: move-stars 100s linear infinite;
}

.stars3 {
    z-index: 2;
    background-size: 2000px 2000px;
    animation: move-stars 150s linear infinite;
}

@keyframes move-stars {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -10000px 5000px;
    }
}

/* Custom Bounce for Generator Item */
@keyframes bounce-custom {

    0%,
    100% {
        transform: translateY(-5%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(5%);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-bounce-custom {
    animation: bounce-custom 2s infinite;
}

/* Text Stroke Utility */
.stroke-black {
    -webkit-text-stroke: 1.5px black;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Snowflakes Animation */
.snowflake {
    position: absolute;
    top: -10px;
    color: white;
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: fall linear infinite;
    z-index: 1;
}

@keyframes fall {
    0% {
        top: -10%;
        opacity: 1;
    }
    100% {
        top: 110%;
        opacity: 0.3;
    }
}

.snowflake:nth-child(1) { left: 10%; animation-duration: 10s; animation-delay: 0s; }
.snowflake:nth-child(2) { left: 20%; animation-duration: 12s; animation-delay: 1s; font-size: 1.2em; }
.snowflake:nth-child(3) { left: 30%; animation-duration: 8s; animation-delay: 2s; }
.snowflake:nth-child(4) { left: 40%; animation-duration: 14s; animation-delay: 0.5s; font-size: 0.8em; }
.snowflake:nth-child(5) { left: 50%; animation-duration: 11s; animation-delay: 1.5s; }
.snowflake:nth-child(6) { left: 60%; animation-duration: 9s; animation-delay: 3s; font-size: 1.1em; }
.snowflake:nth-child(7) { left: 70%; animation-duration: 13s; animation-delay: 0s; }
.snowflake:nth-child(8) { left: 80%; animation-duration: 10s; animation-delay: 2.5s; font-size: 0.9em; }
.snowflake:nth-child(9) { left: 90%; animation-duration: 12s; animation-delay: 1s; }
.snowflake:nth-child(10) { left: 15%; animation-duration: 11s; animation-delay: 0.8s; }
.snowflake:nth-child(11) { left: 25%; animation-duration: 9s; animation-delay: 2s; font-size: 1.3em; }
.snowflake:nth-child(12) { left: 35%; animation-duration: 13s; animation-delay: 1.2s; }
.snowflake:nth-child(13) { left: 45%; animation-duration: 10s; animation-delay: 0.3s; }
.snowflake:nth-child(14) { left: 55%; animation-duration: 12s; animation-delay: 2.8s; font-size: 0.85em; }
.snowflake:nth-child(15) { left: 65%; animation-duration: 11s; animation-delay: 1.8s; }
.snowflake:nth-child(16) { left: 75%; animation-duration: 14s; animation-delay: 0.6s; }
.snowflake:nth-child(17) { left: 85%; animation-duration: 9s; animation-delay: 2.3s; font-size: 1.15em; }
.snowflake:nth-child(18) { left: 95%; animation-duration: 10s; animation-delay: 1.3s; }
.snowflake:nth-child(19) { left: 5%; animation-duration: 12s; animation-delay: 0.9s; }
.snowflake:nth-child(20) { left: 48%; animation-duration: 11s; animation-delay: 2.1s; font-size: 0.95em; }

/* Christmas Glow Effect */
.christmas-glow {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.5), 0 0 40px rgba(22, 163, 74, 0.3);
}

/* Festive Pulse */
@keyframes festive-pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(220, 38, 38, 0.4), 0 0 20px rgba(22, 163, 74, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.6), 0 0 40px rgba(22, 163, 74, 0.4);
    }
}

.animate-festive-pulse {
    animation: festive-pulse 2s ease-in-out infinite;
}