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

.platform-btn.selected {
    border-color: #eab308;
    /* yellow-500 */
    background-color: rgba(234, 179, 8, 0.1);
}

.platform-btn.selected span {
    color: #facc15;
    /* yellow-400 */
}

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

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

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

/* Fire and Ice Particles Animation */
.stars,
.stars2,
.stars3 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
}

/* Fire particles (left side) */
.stars {
    z-index: 0;
    background: radial-gradient(2px 2px at 20% 30%, rgba(255, 100, 50, 0.8), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 150, 0, 0.6), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 200, 100, 0.7), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 80, 0, 0.5), transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: fire-drift 15s ease-in-out infinite;
}

/* Ice particles (right side) */
.stars2 {
    z-index: 1;
    background: radial-gradient(2px 2px at 80% 20%, rgba(0, 200, 255, 0.8), transparent),
        radial-gradient(2px 2px at 40% 60%, rgba(100, 220, 255, 0.6), transparent),
        radial-gradient(1px 1px at 70% 80%, rgba(150, 240, 255, 0.7), transparent),
        radial-gradient(1px 1px at 20% 40%, rgba(0, 180, 255, 0.5), transparent);
    background-size: 200% 200%;
    background-position: 100% 100%;
    animation: ice-drift 20s ease-in-out infinite reverse;
}

/* Mixed particles */
.stars3 {
    z-index: 2;
    background: radial-gradient(1px 1px at 30% 20%, rgba(255, 100, 50, 0.4), transparent),
        radial-gradient(1px 1px at 70% 80%, rgba(0, 200, 255, 0.4), transparent);
    background-size: 300% 300%;
    animation: particle-float 25s linear infinite;
}

@keyframes fire-drift {

    0%,
    100% {
        background-position: 0% 0%;
        opacity: 0.8;
    }

    50% {
        background-position: 100% 100%;
        opacity: 1;
    }
}

@keyframes ice-drift {

    0%,
    100% {
        background-position: 100% 100%;
        opacity: 0.8;
    }

    50% {
        background-position: 0% 0%;
        opacity: 1;
    }
}

@keyframes particle-float {
    from {
        background-position: 0% 0%;
    }

    to {
        background-position: 100% 100%;
    }
}

/* Fire and Ice Background Effects */
.fire-glow {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at left center, rgba(255, 100, 0, 0.3) 0%, transparent 70%);
    animation: fire-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

.ice-glow {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at right center, rgba(0, 200, 255, 0.3) 0%, transparent 70%);
    animation: ice-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes fire-pulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes ice-pulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Floating Fire Embers */
.fire-embers {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.ember {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 150, 0, 1), rgba(255, 80, 0, 0.5));
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 100, 0, 0.8);
    animation: float-up 8s linear infinite;
    opacity: 0;
}

.ember:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 7s;
}

.ember:nth-child(2) {
    left: 20%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.ember:nth-child(3) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 6s;
}

.ember:nth-child(4) {
    left: 15%;
    animation-delay: 3s;
    animation-duration: 8s;
}

.ember:nth-child(5) {
    left: 25%;
    animation-delay: 4s;
    animation-duration: 7.5s;
}

@keyframes float-up {
    0% {
        bottom: -10%;
        opacity: 0;
        transform: translateX(0);
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(50px);
    }
}

/* Floating Ice Crystals */
.ice-crystals {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.crystal {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, rgba(150, 240, 255, 1), rgba(0, 200, 255, 0.5));
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.8);
    animation: float-down 10s linear infinite;
    opacity: 0;
}

.crystal:nth-child(1) {
    right: 10%;
    animation-delay: 0s;
    animation-duration: 9s;
}

.crystal:nth-child(2) {
    right: 20%;
    animation-delay: 1.5s;
    animation-duration: 11s;
}

.crystal:nth-child(3) {
    right: 30%;
    animation-delay: 3s;
    animation-duration: 8s;
}

.crystal:nth-child(4) {
    right: 15%;
    animation-delay: 4.5s;
    animation-duration: 10s;
}

.crystal:nth-child(5) {
    right: 25%;
    animation-delay: 6s;
    animation-duration: 9.5s;
}

@keyframes float-down {
    0% {
        top: -10%;
        opacity: 0;
        transform: translateX(0) rotate(0deg);
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 110%;
        opacity: 0;
        transform: translateX(-50px) rotate(360deg);
    }
}

/* 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);
}

/* Footer Banner Styles */
.footer-banner {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    margin-top: 40px;
}

.banner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 320px;
    height: 50px;
}

.ad-banner-placeholder {
    width: 320px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-banner {
        padding: 15px 10px;
        margin-top: 30px;
    }

    .banner-container {
        max-width: 100%;
        padding: 0 10px;
    }

    .ad-banner-placeholder {
        max-width: 320px;
        width: 100%;
    }
}

/* ============================================ */
/* PRINT PROTECTION */
/* ============================================ */
@media print {

    /* Hide all content when printing */
    body * {
        display: none !important;
    }

    /* Show only a message */
    body::before {
        content: "Print Disabled - This page cannot be printed" !important;
        display: block !important;
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        font-size: 24px !important;
        font-weight: bold !important;
        color: #000 !important;
        text-align: center !important;
    }

    /* Prevent any content from showing */
    html,
    body {
        background: white !important;
        overflow: hidden !important;
    }
}