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

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-family: 'Bebas Neue', sans-serif;
    background: #000;
}

.bg-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.bg-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.4);
    transform: scale(1.1);
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 20s linear;
    animation: bgZoom 60s infinite alternate;
}

.bg-layer.visible {
    opacity: 1;
}

@keyframes bgZoom {
    0% {
        transform: scale(1.1);
        filter: blur(20px) brightness(0.4);
    }

    50% {
        transform: scale(1.15);
        filter: blur(18px) brightness(0.45);
    }

    100% {
        transform: scale(1.1);
        filter: blur(20px) brightness(0.4);
    }
}

.neon-glow {
    position: absolute;
    width: 500px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 76, 0.3) 0%, rgba(255, 0, 76, 0) 70%);
    filter: blur(80px);
    z-index: -1;
}

#particle-canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.scene {
    width: 400px;
    height: 300px;
    perspective: 1200px;
    z-index: 1;
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    cursor: grab;
}

.card {
    position: absolute;
    width: 180px;
    aspect-ratio: 9/16;
    left: 50%;
    top: 50%;
    transform-style: preserve-3d;
    transform-origin: center;
    translate: -50% -50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.15));
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease, box-shadow 0.5s ease, opacity 0.3s;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    opacity: 0.85;
    transition: opacity 0.3s;
}

.card.active {
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.3);
}

.card.active:hover {
    transform: translateY(-15px) scale(1.1);
    box-shadow: 0 0 50px rgba(255, 0, 76, 0.6);
}

.card.active::after {
    content: attr(data-title);
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: #ff004c;
    font-size: 18px;
    text-shadow: 0 0 10px #ff004c;
    pointer-events: none;
}

@media (max-width: 768px) {
    .scene {
        width: 300px;
        height: 220px;
    }

    .card {
        width: 140px;
    }
}

@media (max-width: 480px) {
    .scene {
        width: 200px;
        height: 150px;
    }

    .card {
        width: 100px;
    }
}