/* External Resources */
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css');
@import url('https://cdn.jsdelivr.net/npm/@fancyapps/ui@5.0/dist/fancybox/fancybox.css');

/* Color Variables */
:root {
    --solar-green: #00a650;
    --solar-gold: #ffd700;
    --solar-orange: #ff8c00;
    --white: #ffffff;
    --off-white: #f4f4f4;
    --black: #000000;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --glow-white: rgba(255, 255, 255, 0.8);
}

/* Base Styles */
body {
    font-family: 'Comic Neue', cursive;
    background-color: var(--off-white);
}

/* Base Layout */
.Base {
    width: 100%;
    position: relative;
}

/* Header and Menu */
.Heading {
    width: 100%;
    height: 70px;
    position: absolute; /* Change from absolute to fixed */
    top: 0;
    left: 0;
    z-index: 1000; /* Ensure menu stays above other content */
    background: transparent; /* Add semi-transparent background */
}

.Home img {
    height: 60px;
    object-fit: contain;
    max-width: 100%;
}

.Menu {
    float: right;
    right: 0;
    position: absolute;
    height: 100%;
    width: auto;
    top: 0;
    display: flex;
    padding-right: 50px;
}

.Menu .Item {
    line-height: 40px;
    height: 40px;
    margin-top: 0px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 15px;
    color: var(--white);
    /*color: var(--solar-green);*/
    cursor: pointer;
    transition: .15s;
    border-bottom: 0px solid var(--solar-gold);
    text-shadow: 0 0 2.5px var(--glow-white);
    text-decoration: none;
}

.Menu .Item:hover {
    color: var(--solar-gold) !important;
    transition: .15s;
    border-bottom: 2px solid var(--solar-orange);
    text-shadow: 0 0 2.5px var(--solar-gold) !important;
}

.Menu .Item.Select {
    color: var(--solar-gold) !important;
    transition: .15s;
    border-bottom: 2px solid var(--solar-orange);
    text-shadow: 0 0 2.5px var(--solar-gold) !important;
    pointer-events: none;
}

#Poster video {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    object-fit: cover;
}

/* Main Content Sections */
.Main {
    width: 80%;
    margin: 2rem auto;
    padding: 1rem;
}

.Section {
    width: 80%;
    margin: 2rem auto;
    padding: 2rem;
}

/* Back to Top Button */
#BackToTop {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    opacity: 0;
    transition: .3s;
    cursor: pointer;
    transform: scale(.95);
}

#BackToTop.active {
    opacity: .15;
    filter: brightness(90%);
    transition: .3s;
}

#BackToTop:hover {
    transform: scale(1);
    transition: .3s;
    opacity: .25;
}

#BackToTop img {
    width: 100%;
    height: 100%;
}

/* Footer */
#footer {
    height: auto;
    width: calc(100% - 200px);
    /* margin-left: 100px; */
}

/* Scoreboard and Extra Points */
.dataTables_scrollHeadInner {
    width: 100% !important;
}

table {
    width: 100% !important;
}

.xtrapoints, .classxtrapoints {
    position: relative;
}

.xtra25img, .classxtra25img {
    height: 20px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Rules Section */
#xRulesSection {
    width: 80%;
    margin: 2rem auto;
}

#xRulesSection h4 {
    color: var(--solar-green);
    margin-bottom: 1rem;
}

#xRulesSection p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.rules-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px var(--shadow-light);
}

/* 
.owl-carousel .card {
  border-radius: 1rem;
  overflow: hidden;   
}

.owl-carousel .card-img-top {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  object-fit: cover;
}

.owl-carousel .btn {
  border-radius: 999px; 
}

#xGamesSection .card-img-top {
    width: 100%;
    height: auto;
    object-fit: cover;
}
  
#xGamesSection .card {
    display: flex;
    flex-direction: column;
}
  
#xGamesSection .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
  
@media (min-width: 992px) {
    #xGamesSection .card-title {
      font-size: 1.25rem;
    }
  
    #xGamesSection .btn {
      font-size: 1rem;
      padding: 0.6rem 1rem;
    }
} 
*/