* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.1s ease-out;
}

.background-layer img {
    width: 140%;
    height: 140%;
    object-fit: cover;
    object-position: center;
    transform: translate(-20%, -20%);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Główne tło - statyczne */
.bg-main {
    z-index: 1;
}

/* Helikopter */
.helicopter {
    position: fixed;
    top: 0;
    left: 0;
    width: 120px;
    height: auto;
    z-index: 100;
    transform-origin: left top;
    -webkit-transform-origin: left top;
    animation: helicopterFlight 25s infinite linear;
    -webkit-animation: helicopterFlight 25s infinite linear;
    opacity: 0.85;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@keyframes helicopterFlight {
    0% { 
        transform: translate3d(-130px, 15vh, 0) rotate(-2deg); 
        -webkit-transform: translate3d(-130px, 15vh, 0) rotate(-2deg);
    }
    25% { 
        transform: translate3d(25vw, 10vh, 0) rotate(1deg); 
        -webkit-transform: translate3d(25vw, 10vh, 0) rotate(1deg);
    }
    50% { 
        transform: translate3d(50vw, 20vh, 0) rotate(-1deg); 
        -webkit-transform: translate3d(50vw, 20vh, 0) rotate(-1deg);
    }
    75% { 
        transform: translate3d(75vw, 12vh, 0) rotate(2deg); 
        -webkit-transform: translate3d(75vw, 12vh, 0) rotate(2deg);
    }
    100% { 
        transform: translate3d(110vw, 18vh, 0) rotate(-1deg); 
        -webkit-transform: translate3d(110vw, 18vh, 0) rotate(-1deg);
    }
}

@-webkit-keyframes helicopterFlight {
    0% { 
        -webkit-transform: translate3d(-130px, 15vh, 0) rotate(-2deg);
    }
    25% { 
        -webkit-transform: translate3d(25vw, 10vh, 0) rotate(1deg);
    }
    50% { 
        -webkit-transform: translate3d(50vw, 20vh, 0) rotate(-1deg);
    }
    75% { 
        -webkit-transform: translate3d(75vw, 12vh, 0) rotate(2deg);
    }
    100% { 
        -webkit-transform: translate3d(110vw, 18vh, 0) rotate(-1deg);
    }
}

@keyframes helicopterTilt {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(2deg); }
}

/* Dolna warstwa */
.bg-bottom {
    z-index: 2;
}

.bg-bottom img {
    object-position: bottom;
}

/* Lewa warstwa */
.bg-left {
    z-index: 3;
}

.bg-left img {
    object-position: left;
}

/* Prawa warstwa */
.bg-right {
    z-index: 4;
}

.bg-right img {
    object-position: right;
}

/* Zawartość strony */
.content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Import czcionki */
@import url('https://fonts.googleapis.com/css2?family=Alan+Sans:wght@900&display=swap');

/* Banner dolny - desktop */
.bottom-banner {
    position: fixed;
    left: 50%;
    bottom: 8vh;
    transform: translateX(-50%);
    min-width: 340px;
    max-width: 700px;
    width: 60vw;
    height: 110px;
    background: rgba(0,0,0,0.7);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    text-decoration: none;
    padding: 0 32px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    transition: box-shadow 0.2s;
    gap: 32px;
}

.bottom-banner:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}

.preorder-text {
    flex: 1;
    color: #fff;
    font-family: 'Alan Sans', Arial, sans-serif;
    font-weight: 900;
    font-size: 1.5em;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    text-align: center;
    line-height: 1.1;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.preorder-image {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    position: relative;
}

.vinyl-float {
    width: 220px;
    height: 220px;
    object-fit: contain;
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: vinylFloat 2.5s infinite ease-in-out;
}

@keyframes vinylFloat {
    0%   { transform: translateX(-50%) translateY(0px) rotate(-2deg); }
    25%  { transform: translateX(-50%) translateY(-8px) rotate(2deg); }
    50%  { transform: translateX(-50%) translateY(-14px) rotate(-2deg); }
    75%  { transform: translateX(-50%) translateY(-8px) rotate(2deg); }
    100% { transform: translateX(-50%) translateY(0px) rotate(-2deg); }
}

/* Media queries dla desktop bannera */
@media (max-width: 768px) {
    .content h1 {
        font-size: 2rem;
    }
    
    .content p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .bottom-banner {
        width: 90vw;
        max-width: none;
        min-width: 280px;
        height: 70px;
        padding: 0 16px;
        gap: 16px;
        bottom: 5vh;
    }
    
    .preorder-text {
        font-size: 1em;
    }
    
    .preorder-image {
        width: 90px;
        height: 90px;
    }
    
    .vinyl-float {
        width: 145px;
        height: 145px;
        bottom: -18px;
    }
}