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

html, body {
    width: 100%;
    height: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: black;
    overflow: hidden;
    font-family: system-ui, -apple-system, sans-serif;
}

main {
    position: relative;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.bg-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 400px;
    height: 100%;
    object-fit: fill;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}

/* Wrapper container layout */
.wraper-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    max-width: 400px;
    height: 100%;
    max-height: 100vh;
    padding: 16px 16px 8px;
    text-align: center;
}

.logo {
    max-width: 140px;
    width: 32%;
    height: auto;
    object-fit: contain;
    align-self: flex-start;
    margin-top: 30px;
    margin-left: 20px;
    margin-bottom: auto;
}

.content-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
    margin-bottom: 8px;
}

.text-promot {
    max-width: 300px;
    width: 80%;
    height: auto;
    object-fit: contain;
}

@keyframes zoomInOut {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

.btn-telegram {
    max-width: 280px;
    width: 70%;
    height: auto;
    cursor: pointer;
    animation: zoomInOut 1.8s infinite ease-in-out;
    transition: filter 0.2s ease;
}

.logo-footer {
    max-width: 160px;
    width: 40%;
    height: auto;
    object-fit: contain;
    margin-top: 8px;
    margin-bottom: 10px;
}

@media (max-height: 800px) {
    .logo {
        margin-top: 16px;
        margin-left: 20px;
        max-width: 140px;
    }

    .content-box {
        gap: 6px;
        margin-bottom: 6px;
    }

    .text-promot {
        max-width: 270px;
    }

    .btn-telegram {
        max-width: 250px;
    }

    .logo-footer {
        margin-top: 6px;
        margin-bottom: 8px;
        max-width: 140px;
    }
}

@media (max-height: 680px) {
    .logo {
        margin-top: 12px;
        margin-left: 18px;
        max-width: 110px;
    }

    .content-box {
        gap: 4px;
        margin-bottom: 4px;
    }

    .text-promot {
        max-width: 240px;
    }

    .btn-telegram {
        max-width: 220px;
    }

    .logo-footer {
        margin-top: 4px;
        margin-bottom: 6px;
        max-width: 120px;
    }
}

@media (max-width: 360px) {
    .logo {
        margin-top: 16px;
        margin-left: 20px;
        max-width: 130px;
        width: 34%;
    }

    .text-promot {
        width: 82%;
    }

    .btn-telegram {
        width: 72%;
    }
}
