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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0a0a2e;
    overflow: visible;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/background.png');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.clickable-area {
    position: absolute;
    display: block;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.clickable-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/background.png');
    background-size: var(--image-width) var(--image-height);
    background-position: calc(-1 * var(--crop-x)) calc(-1 * var(--crop-y));
    background-repeat: no-repeat;
    border-radius: 18%;
    border: 2px solid var(--glow-color);
    box-shadow: 0 0 8px var(--glow-color), 0 0 18px var(--glow-color);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, box-shadow 0.35s ease;
}

.clickable-area:hover {
    transform: translateY(-5px) scale(1.03);
}

.clickable-area:hover::before {
    opacity: 1;
    animation: border-glow 1.6s ease-in-out infinite;
}

.whatsapp-btn {
    --glow-color: rgba(37, 211, 102, 0.95);
}

.telegram-btn {
    --glow-color: rgba(0, 136, 204, 0.95);
}

@keyframes border-glow {
    0%, 100% {
        box-shadow: 0 0 8px var(--glow-color), 0 0 18px var(--glow-color);
    }
    50% {
        box-shadow: 0 0 12px var(--glow-color), 0 0 28px var(--glow-color);
    }
}

.clickable-area:active {
    transform: translateY(-2px) scale(0.99);
}

.whatsapp-btn {
    left: 2%;
    bottom: 8%;
    width: 22%;
    height: 22%;
}

.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.03);
}

.telegram-btn {
    right: 2%;
    bottom: 8%;
    width: 22%;
    height: 22%;
}

.telegram-btn:hover {
    transform: translateY(-5px) scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
    .clickable-area,
    .whatsapp-btn:hover,
    .telegram-btn:hover {
        transition: none;
    }

    .clickable-area::before {
        transition: none;
        animation: none;
    }
}

@media (max-width: 768px) {
    .whatsapp-btn {
        left: 0%;
        bottom: 10%;
        width: 26%;
        height: 22%;
    }

    .telegram-btn {
        right: 0%;
        bottom: 10%;
        width: 26%;
        height: 22%;
    }
}

@media (max-width: 480px) {
    .whatsapp-btn {
        left: 0%;
        bottom: 10%;
        width: 28%;
        height: 22%;
    }

    .telegram-btn {
        right: 0%;
        bottom: 10%;
        width: 28%;
        height: 22%;
    }
}

@media (min-width: 1920px) {
    .whatsapp-btn {
        left: 3%;
        bottom: 8%;
        width: 20%;
        height: 22%;
    }

    .telegram-btn {
        right: 3%;
        bottom: 8%;
        width: 20%;
        height: 22%;
    }
}
