/* General Styles */
body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #000000;
}

.logo-container {
    flex: 1;
    text-align: center;
}

.logo {
    max-width: 150px;
    height: auto;
}

/* Menu Styles */
.menu-container {
    position: relative;
}

.menu-btn {
    background-color: #ffcc00;
    color: #000000;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-size: 17px;
    border-radius: 5px;
    z-index: 2;
}

.menu-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #000000;
    border: 1px solid #ffcc00;
    padding: 10px;
    border-radius: 5px;
    z-index: 1;
    min-width: 250px; /* Adjust width to fit longer text */
}

.menu-dropdown a {
    display: block;
    padding: 10px;
    color: #ffffff;
    background-color: #1a1a1a;
    border-radius: 5px;
    margin-bottom: 5px;
    white-space: nowrap;
    transition: background-color 0.3s;
}

.menu-dropdown a:hover {
    background-color: #333333;
}

.menu-container:hover .menu-dropdown, 
.menu-container:focus-within .menu-dropdown {
    display: block;
}

.menu-container:hover .menu-btn,
.menu-container:focus-within .menu-btn {
    background-color: #e6b800;
}

/* Section Styles */
section {
    padding: 30px 20px;
    text-align: center;
    max-width: 1000px; /* Maximum width constraint */
    margin: 0 auto; /* Center-align sections */
    background-color: #f9f9f9;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.intro h1 {
    font-size: 2.2em;
    color: #000000;
}

.intro p {
    font-size: 1.1em;
    color: #333333;
    margin-bottom: 30px;
}

.buttons .btn {
    display: inline-block;
    padding: 12px 22px;
    margin: 12px;
    background-color: #ff0000;
    color: #ffffff;
    border-radius: 5px;
    font-size: 1.1em;
}

.play-btn {
    background-color: #0000ff;
}

.signup-btn {
    background-color: #ff0000;
}

/* Specific Sections */
.refer-earn, .affiliates, .fair-play, .how-to-play, .how-to-deposit, .how-to-withdraw, .learn-earn, .contact-us, .follow-us, .video-gallery {
    background-color: #f2f2f2;
    margin: 20px 0;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    max-width: 1000px; /* Limit section width */
    margin: 20px auto; /* Ensure the sections are centered */
}

section img {
    width: 100%;
    height: auto;
    max-width: 400px; /* Ensure images don't overflow */
    margin-bottom: 20px;
    border-radius: 10px;
}

/* Footer */
.footer {
    padding: 20px;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
}

.footer-link {
    color: #ffcc00;
    margin: 0 12px;
}

.footer-link:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.icon {
    padding: 12px;
    color: #ffffff;
    border-radius: 50%;
    font-size: 20px;
    display: inline-block;
    text-align: center;
}

.facebook {
    background-color: #3b5998;
}

.instagram {
    background-color: #e1306c;
}

.youtube {
    background-color: #ff0000;
}

.twitter {
    background-color: #00acee;
}

.pinterest {
    background-color: #bd081c;
}

.reddit {
    background-color: #ff4500;
}

.video-gallery .videos {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.video-tile {
    width: 150px;
    height: 100px;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e80909;
    font-size: 24px;
    border-radius: 10px;
}

.play-now {
    display: inline-block;
    padding: 17px 32px;
    background-color: #0000ff;
    color: #ffffff;
    font-size: 24px;
    border-radius: 7px;
}

.play-now:hover {
    background-color: #000099;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    body {
        padding: 0 10px;
    }

    .header {
        flex-direction: column;
        align-items: center;
    }

    .menu-btn {
        font-size: 15px;
        padding: 8px 10px;
    }

    .menu-dropdown {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 20px 10px;
        margin: 10px;
        max-width: 100%; /* Ensure sections take full width on mobile */
    }

    .intro h1 {
        font-size: 1.8em;
    }

    .intro p {
        font-size: 16px;
    }

    .buttons .btn {
        font-size: 16px;
        padding: 10px 15px;
    }

    .video-tile {
        width: 100px;
        height: 80px;
    }

    section img {
        max-width: 100%;
    }

    .social-icons {
        flex-direction: column;
        gap: 10px;
    }

    .icon {
        font-size: 18px;
    }

    .play-now {
        font-size: 18px;
        padding: 12px 25px;
    }
}
