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

html, body {
    overflow: hidden;
}

.container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background-color: black;
}

.background {
    width: 100%;
    max-width: 550px;
    height: 100%;
    margin: auto;
    position: relative;
    
}

.background img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.content {
    width: 100%;
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}


.left, .right {
    position: relative;
    width: 45%;
    max-width: 220px;
}

#telegramButton, #downloadButton {
    width: 100%;
    display: block;
    cursor: pointer;
    transition: transform 0.2s;
}

#telegramButton:hover, #downloadButton:hover {
    transform: scale(1.05);
}

.pointer {
    position: absolute;
    width: 30% !important;
    bottom: -20%;
    right: -15%;
    pointer-events: none;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .content {
        /* Maintain centering logic */
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        max-width: 550px; /* Match background max-width */
        padding: 0 10px;
    }
    
    .left, .right {
        width: 42%; /* Slightly smaller to ensure they fit side-by-side with gap */
        max-width: 200px;
    }
}

@media (max-width: 450px) {
    .content {
        gap: 10px; /* Reduce gap on smaller screens */
    }
    .left, .right {
        width: 45%;
    }
}

@media (max-width: 390px) {
    .pointer {
        width: 25% !important; /* Adjust pointer size */
        bottom: -15%;
        right: -10%;
    }
}
