/* ✨ Common Floating Button Style */
.float-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(145deg, #0095e0, #0076b8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* ⬆️ Scroll to Top Button */
.float-btn.scroll-top {
    bottom: 100px;
    right: 25px;
    border: none;
    outline: none;
    display: none;
}

/* 📱 Telegram Button */
.float-btn.telegram {
    bottom: 25px;
    right: 25px;
    animation: pulseGlow 2.2s infinite ease-in-out;
}

/* 🌈 Hover Effects */
.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 136, 204, 0.8);
}

/* 🖼️ Telegram Icon */
.float-btn.telegram img {
    width: 32px;
    height: 32px;
}

/* 💡 Telegram Pulse Animation */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 136, 204, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 136, 204, 0);
    }
}

/* 🌙 Dark Mode Compatibility */
@media (prefers-color-scheme: dark) {
    .float-btn {
        box-shadow: 0 6px 20px rgba(0, 136, 204, 0.6);
    }
}
.custom-btn {
    background-color: #695eef;
    color: white;
    border: none;
    border-radius: 50px;
    /* makes the button rounded */
    padding: 0.5rem 1.5rem;
    /* optional: adjust button height/width */
    transition: background-color 0.01s, transform 0.01s, box-shadow 0.01s;
}

.custom-btn:hover {
    background-color: #5746c9;
    /* slightly darker shade */
    transform: translateY(-2px);
    /* subtle lift */
    color: white;
    box-shadow: 0 0 1px #695eef, 0 0 1px #695eef;
    /* optional glow on hover */
}

/* 📱 My Responsive Viewport - SAFE VERSION */

/* 1) Safe global rules */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* 4) Ad container — force ads to fit viewport */
.ad-container,
.adsbygoogle,
.ad-slot {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    text-align: center;
}

/* 5) Fix ad iframes with forced width */
.ad-container iframe,
.adsbygoogle>iframe {
    width: 100% !important;
    min-width: 0 !important;
}

/* 6) Prevent weird overflow from any element */
* {
    min-width: 0;
    box-sizing: border-box;
}

/* 📱 my viewport */