@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    color: #FFFFFF;
    font-family: "Raleway", "Roboto", Arial, sans-serif; /* original font: poppins, no font-weight */
    font-weight: 600;
    overflow-x: hidden;
    overflow-y: auto; /* Enable vertical scrolling */
    position: relative;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Above background, below content */
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure wrapper takes full viewport height */
    position: relative;
    z-index: 2; /* Above particles */
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    z-index: 2;
}

#MiddleCenter {
    text-align: center;
    max-width: 800px; /* Constrain content width for readability */
    width: 100%;
    padding: 0 20px; /* Side padding for smaller screens */
}

.content {
    margin: 20px 0; /* Space around text content */
    font-size: 1.1rem;
    line-height: 1.6; /* Improve readability */
}

.content p {
    margin: 15px 0; /* Space between paragraphs */
}

.ad-image {
    max-width: 100%;
    height: auto;
    z-index: 2; /* Above particles */
}

footer {
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    text-align: center;
    font-size: 12px;
    color: white;
    padding: 15px 20px;
    position: fixed;
    bottom: 10px;
    left: 10px;
    right: 10px;
    box-sizing: border-box;
    z-index: 2;
}

.rounded-social-buttons {
    text-align: center;
    margin: 20px 0;
}

.rounded-social-buttons .social-button {
    display: inline-block;
    position: relative;
    cursor: pointer;
    width: 4.000rem;
    height: 4.000rem;
    border: 0.125rem solid transparent;
    text-decoration: none;
    text-align: center;
    color: #fefefe;
    font-size: 2.400rem;
    line-height: 2em;
    border-radius: 1.6875rem;
    transition: all 0.5s ease;
    margin: 0.25rem;
    z-index: 2; /* Above particles */
}

.rounded-social-buttons .social-button:hover,
.rounded-social-buttons .social-button:focus {
    animation: glow 1s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px hsl(0, 0%, 100%), 0 0 40px #ffffff;
    }
    to {
        text-shadow: 0 0 20px #fff, 0 0 30px #ffffff, 0 0 40px #ffffff, 0 0 50px #ea4dff;
    }
}

.rounded-social-buttons {
    animation: glow-filter-strong 1s ease-in-out infinite alternate;
}


/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .container {
        padding: 15px; /* Smaller padding on mobile */
    }

    #MiddleCenter {
        padding: 0 15px; /* Adjust padding for mobile */
    }

    .content {
        font-size: 1rem; /* Slightly smaller text on mobile */
        margin: 15px 0;
    }

    .ad-image {
        max-width: 80%; /* Prevent image from being too wide on mobile */
    }

    footer {
        left: 5px;
        right: 5px;
        padding: 10px;
        font-size: 11px; /* Smaller footer text on mobile */
    }

    .rounded-social-buttons .social-button {
        width: 2.5rem; /* Smaller buttons on mobile */
        height: 2.5rem;
        font-size: 1.25rem;
        line-height: 2em;
    }
}

/* Ensure no unused styles interfere */
.rdywbutton, .channel-message {
    display: none; /* Hide unused classes */
}