﻿/* 🔐 Protection Layer */
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

img {
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

@media print {
    body {
        display: none !important;
    }
}

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

.platform-btn.selected {
    border-color: #f5c518;
    background-color: rgba(245, 197, 24, 0.1);
}

.platform-btn.selected span {
    color: #f5c518;
}

@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);
}

/* Brawl Stars Background */
.brawl-bg {
    background: linear-gradient(160deg, #0d1b3e 0%, #1a1458 30%, #0e2a5a 60%, #071a3a 100%);
}

/* Floating Stars (Brawl Stars themed) */
.brawl-star {
    position: absolute;
    top: -80px;
    opacity: 0;
    animation: star-fall linear infinite;
    pointer-events: none;
    z-index: 3;
}

.brawl-star::before {
    content: "★";
    font-size: 28px;
    color: #f5c518;
    text-shadow: 0 0 12px rgba(245, 197, 24, 0.9), 0 0 24px rgba(245, 197, 24, 0.5);
    display: block;
}

.brawl-star.small::before {
    font-size: 16px;
    color: #ffe082;
    text-shadow: 0 0 8px rgba(255, 224, 130, 0.9);
}

.brawl-star.gem::before {
    content: "💎";
    font-size: 22px;
    text-shadow: none;
}

@keyframes star-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.9;
    }

    90% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

/* Position & timing for each star */
.brawl-star:nth-child(1) {
    left: 5%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.brawl-star:nth-child(2) {
    left: 12%;
    animation-duration: 11s;
    animation-delay: 2s;
}

.brawl-star:nth-child(3) {
    left: 20%;
    animation-duration: 9s;
    animation-delay: 5s;
}

.brawl-star:nth-child(4) {
    left: 30%;
    animation-duration: 13s;
    animation-delay: 1s;
}

.brawl-star:nth-child(5) {
    left: 38%;
    animation-duration: 10s;
    animation-delay: 3s;
}

.brawl-star:nth-child(6) {
    left: 47%;
    animation-duration: 12s;
    animation-delay: 6s;
}

.brawl-star:nth-child(7) {
    left: 55%;
    animation-duration: 8s;
    animation-delay: 4s;
}

.brawl-star:nth-child(8) {
    left: 63%;
    animation-duration: 14s;
    animation-delay: 0s;
}

.brawl-star:nth-child(9) {
    left: 72%;
    animation-duration: 9s;
    animation-delay: 2s;
}

.brawl-star:nth-child(10) {
    left: 80%;
    animation-duration: 11s;
    animation-delay: 7s;
}

.brawl-star:nth-child(11) {
    left: 88%;
    animation-duration: 10s;
    animation-delay: 1s;
}

.brawl-star:nth-child(12) {
    left: 95%;
    animation-duration: 13s;
    animation-delay: 5s;
}

.brawl-star:nth-child(13) {
    left: 8%;
    animation-duration: 15s;
    animation-delay: 3s;
}

.brawl-star:nth-child(14) {
    left: 25%;
    animation-duration: 9s;
    animation-delay: 8s;
}

.brawl-star:nth-child(15) {
    left: 42%;
    animation-duration: 12s;
    animation-delay: 0s;
}

.brawl-star:nth-child(16) {
    left: 58%;
    animation-duration: 10s;
    animation-delay: 4s;
}

.brawl-star:nth-child(17) {
    left: 70%;
    animation-duration: 8s;
    animation-delay: 6s;
}

.brawl-star:nth-child(18) {
    left: 85%;
    animation-duration: 14s;
    animation-delay: 2s;
}

.brawl-star:nth-child(19) {
    left: 16%;
    animation-duration: 11s;
    animation-delay: 9s;
}

.brawl-star:nth-child(20) {
    left: 50%;
    animation-duration: 13s;
    animation-delay: 3s;
}

/* Glowing gold pulse for featured items */
@keyframes gold-glow {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(245, 197, 24, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(245, 197, 24, 0.7), 0 0 40px rgba(245, 197, 24, 0.3);
    }
}

/* Sticky Footer */
footer {
    position: sticky;
    bottom: 0;
    z-index: 50;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1), 0 -2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

@media (max-width: 360px) {
    .banner-container {
        transform: scale(0.9);
    }
}