/* Base reset and body styling */
body {
    font-family: 'Nunito', sans-serif;
    background-color: #ffffff;
    color: #000000;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: #008B44; /* Green headings */
    font-weight: 700;
}

/* Navbar and Menu */
#xHome {
    background: linear-gradient(to right, #ED1C24, #FF6666); /* Red gradient */
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    /* border-bottom: 4px solid #000000; */
    z-index: 10;
}

#xHome .Menu .Item {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    padding: 10px 12px;
    margin: 5px;
    border-radius: 10px;
    background-color: rgba(255,255,255,0.1);
    transition: all 0.3s ease-in-out;
}

#xHome .Menu .Item:hover {
    background-color: #008B44;
    color: #ffffff;
}

/* Video Section Poster */
#Poster video {
    max-width: 100%;
    height: auto;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

/* Scoreboard Section */
#xScoreboardSection {
    background: linear-gradient(to bottom, #ffffff, #F7F7F7);
    padding: 2rem 0;
}

/* Rules & Prizes Sections */
#xRulesSection, #xPrizesSection, #xGamesSection {
    background: linear-gradient(to bottom, #ffffff, #E8F5E9); /* Light green tint */
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Scoreboard Table */
#tablemonthlytable {
    border-radius: 10px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Buttons */
.btn-primary {
    background-color: #008B44;
    border-color: #008B44;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 10px;
    padding: 10px 20px;
}

.btn-primary:hover {
    background-color: #006b34;
    border-color: #006b34;
}

/* Scroll prompt styling */
#ScrollPrompt .scroll {
    color: #008B44;
    font-weight: 600;
}

/* Games Section Slider */
#xGamesSection .ms-slide__link {
    background-color: #008B44;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
}

#xGamesSection .ms-slide__link:hover {
    background-color: #006b34;
}

/* Footer Styling */
#page-footer {
    background-color: #000000;
    color: #ffffff;
}

#page-footer a {
    color: #ffffff;
}

#page-footer a:hover {
    color: #ED1C24;
}

/* Back to Top Button */
#goto-top-link .btn-light {
    background-color: #008B44;
    color: #ffffff;
    border-radius: 50px;
    font-size: 1.2rem;
}

/* Responsive Enhancements */
@media (max-width: 576px) {
    #xHome {
        width: 100% !important;
        padding: 10px;
    }

    #xHome .Menu .Item {
        display: block;
        text-align: center;
        margin: 5px 0;
    }

    h3 {
        font-size: 1.4rem;
    }

    .btn-primary {
        width: 100%;
        padding: 12px;
    }
}
