@font-face {
    font-family: 'Bebas Neue';
    src: url('/fonts/BebasNeue-Regular.ttf') format('truetype'),
        url('/fonts/BebasNeue-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('/fonts/BebasNeue-Bold.ttf') format('truetype'),
        url('/fonts/BebasNeue-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('/fonts/BebasNeue-Book.ttf') format('truetype'),
        url('/fonts/BebasNeue-Book.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

.freepaid-bonus-po-meri {
    max-height: 100svh;
    height: 100svh;
    background:
        radial-gradient(ellipse at top left, #d4276a 0%, transparent 60%),
        radial-gradient(ellipse at top right, #2856a0 0%, transparent 75%),
        radial-gradient(ellipse at bottom left, #708b7a 0%, transparent 60%),
        radial-gradient(ellipse at bottom right, #d4a020 0%, transparent 60%);
    background-color: #7a6a6a;
    position: relative;
    overflow: hidden;
    font-family: 'Bebas Neue', sans-serif;
}

/* Decorative images */
.bpm-paper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28%;
    max-width: 420px;
    z-index: 2;
    animation: bpmSlideLeft 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.3s backwards;
}

.bpm-person {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 75%;
    max-height: 700px;
    z-index: 2;
    animation: bpmSlideRight 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.4s backwards;
}

.bpm-bird {
    position: absolute;
    left: 8%;
    top: 30%;
    width: 8%;
    max-width: 120px;
    z-index: 1;
    animation: bpmFadeIn 0.6s ease-out 0.8s backwards;
}

.bpm-star {
    position: absolute;
    top: 8%;
    right: 15%;
    width: 5%;
    max-width: 80px;
    z-index: 1;
    animation: bpmSpin 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s backwards;
}

.bpm-heart {
    position: absolute;
    left: 22%;
    top: 45%;
    width: 4%;
    max-width: 60px;
    z-index: 1;
    animation: bpmPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s backwards;
}

.bpm-flower {
    position: absolute;
    right: 5%;
    top: 35%;
    width: 6%;
    max-width: 90px;
    z-index: 1;
    animation: bpmFadeIn 0.6s ease-out 1s backwards;
}

/* Content */
.bpm-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-top: 4rem;
}

.bpm-text {
    text-align: center;
    margin-bottom: 1rem;
}

.bpm-text h1 {
    font-size: 7vw;
    color: white;
    font-weight: normal;
    line-height: 1;
    margin: 0;
    animation: bpmSlideDown 0.7s cubic-bezier(0.25, 1, 0.5, 1) 0.1s backwards;
}

.bpm-tvojoj {
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.bpm-tvojoj img {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
}

.bpm-text p {
    font-family: 'Bebas Neue', sans-serif;
    color: white;
    font-size: 1.1vw;
    font-weight: normal;
    letter-spacing: 2px;
    margin-top: 0.8rem;
    animation: bpmFadeIn 0.6s ease-out 0.5s backwards;
}

.bpm-main {
    width: 35%;
    max-width: 500px;
    animation: bpmScaleIn 0.7s cubic-bezier(0.25, 1, 0.5, 1) 0.6s backwards;
}

/* Responsive */
@media (max-width: 1800px) {
    .bpm-text h1 {
        font-size: 5.5vw;
    }

    .bpm-main {
        width: 24%;
    }
}

@media (max-width: 1024px) {
    .bpm-text h1 {
        font-size: 9vw;
    }

    .bpm-text p {
        font-size: 1.8vw;
    }

    .bpm-main {
        width: 45%;
    }

    .bpm-person {
        height: 60%;
    }

    .bpm-paper {
        width: 30%;
    }
}

@media (max-width: 768px) {
    .bpm-content {
        padding-top: 4rem;
        justify-content: center;
        gap: 1.5rem;
    }

    .bpm-text h1 {
        font-size: 8vw;
    }

    .bpm-text p {
        font-size: 2vw;
    }

    .bpm-main {
        width: 55%;
    }

    .bpm-person,
    .bpm-bird,
    .bpm-flower {
        display: none;
    }

    .bpm-paper {
        width: 40%;
    }
}

@media (max-width: 500px) {
    .bpm-content {
        justify-content: center;
        gap: 1rem;
    }

    .bpm-text h1 {
        font-size: 13vw;
    }

    .bpm-text p {
        font-size: 3.5vw;
    }

    .bpm-main {
        width: 75%;
    }

    .bpm-paper {
        width: 50%;
    }

    .bpm-star,
    .bpm-heart {
        display: none;
    }
}

/* Animations */
@keyframes bpmSlideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bpmFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bpmScaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes bpmSlideLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes bpmSlideRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes bpmSpin {
    from {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes bpmPop {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
