* {
  padding: 0px;
  margin: 0px;
}

body {
  box-sizing: border-box;
  font-family: Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  padding: 0;
  margin: 0px;
  background-color: #f1f1f1;
}
.container {
  width: 100%;
  max-width: 1600px;
  margin: auto;
}

.topbar {
  background-color: #000;
  color: #fff;
  padding: 10px 0;
  text-align: center;
}

.marquee {
  font-size: 17px;
  text-align: center;
  color: #fff;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  font-weight: 700;
}
.topnav {
  padding: 23px 30px;
}

.topnav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  justify-content: space-evenly;
  gap: 100px;
  width: 100%;
}

.topnav ul li {
  width: 25%;
  display: block;
}

.topnav ul li a {
  font-weight: 700;
  font-size: 15px;
  width: 100%;
  display: block;
  padding: 11px 0px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  color: #000;
  text-align: center;
  background-color: #ffd700;
  box-shadow: 2px 2px 0 #ffffff;
  transition: 0.3s ease;
  text-transform: uppercase;
  border: 1px solid #000;
}

.topnav ul li a.active {
  background-color: #fff; /* White for active */
  box-shadow: 2px 2px 0 #ffd700;
}

.topnav ul li a:hover {
  transform: translateY(-2px);
  background-color: #fff;
  box-shadow: 4px 4px 0 #ffd700;
}

.logobar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  background-color: #ffd700;
}

.logobar img {
  width: 150px;
  height: auto;
}
.logo {
  text-decoration: none;
  color: #000;
  font-size: 40px;
  font-weight: 700;
}

.blink {
  animation: smoothBlink 2s infinite;
}

@keyframes smoothBlink {
  75% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
  25% {
    opacity: 0.3;
  }

  15% {
    opacity: 0.1;
  }
}
.liveResult {
  background-color: #000;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.liveResult h1 {
  font-size: 18px;
}

#datetime {
  color: #ffd700;
  font-size: 18px;
  margin-block: 1em;
  font-weight: bold;
}

.game {
  padding: 10px 0px;
  border-bottom: 1px solid #222;
}

.game:nth-last-child(1) {
  border-bottom: none;
}

.game_name {
  text-decoration: none;
  font-size: 33px;
  font-weight: bold;
  color: #fff;
}

.game_number {
  font-size: 33px;
  font-weight: bold;
  color: #fff;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  border-collapse: collapse;
  width: 100%;
  text-align: center;
}

.table td,
.table th {
  border: 1px solid #616161;
  padding: 8px;
}

.table tr {
  background-color: #ffffff;
}

.table .game_thead th {
  padding: 10px 0px 10px 0px;
  background-color: #000;
  color: #fff;
  font-size: 14px;
}

.ch_game_name {
  text-decoration: none;
  color: #000;
}

.ch_highlight {
  padding: 20px 0;
  font-size: 25px;
  font-weight: 600;
  background-color: #ffd700;
}

.ch_game_number {
  font-size: 20px;
  font-weight: 700;
}

.table .new_game_thead th {
  padding: 8px 0px 8px 0px;
  background-color: #ffd700;
  color: #000;
  font-size: 14px;
}

.game_thead_chart th {
  background-color: #000;
  color: #fff;
}

.ch_highlight_chart {
  font-weight: 600;
  background-color: #ffd700;
  position: sticky;
  left: 0;
  z-index: 1;
}

.number_chart {
  font-weight: 600;
  font-size: 16px;
}

.date-name .name {
  white-space: nowrap;
  min-width: 100px;
}

.day {
  background-color: #ffd700;
  color: #000;
  font-weight: 600;
  width: 50px;
  min-width: 38px;
  white-space: nowrap;
}

.number {
  font-weight: 600;
}

.heading {
  background: #ff9000;
  background: linear-gradient(180deg, #ff9000, #ffe400);
  border-bottom: 1px solid #000;
  border-top: 2px solid #000;
  color: #000;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ff9000",endColorstr="#ffe400",GradientType=0);
  padding: 20px 0;
  text-align: center;
}

footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  font-weight: bold;
}

footer .social {
  padding-top: 1em;
}

.footer_info {
  margin-bottom: 20px;
  font-size: 1rem;
  color: #ffe400;
  max-width: 1200px;
  margin: auto;
  padding: 1em;
}

.social a,
.pagelinks a {
  display: inline-block;
  margin: 5px 10px;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.social a:hover,
.pagelinks a:hover {
  color: #ffd700;
}

.copyrights {
  margin-top: 5px;
  font-size: 0.9rem;
  background-color: #ffd700;
  color: #000;
  padding: 0.7em 1em;
}

.refresh {
  color: #fff;
  cursor: pointer;
  position: fixed;
  bottom: 10px;
  right: 5px;
  z-index: 99;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  background: none;
  display: flex;
  align-items: center;
  gap: 2px;
}

.refresh span {
  color: #fff;
  background: #000;
  padding: 5px 10px;
  border-radius: 30px;
  width: 75px;
  text-align: left;
  font-size: 15px;
}

.refresh svg {
  width: 27px;
  height: 27px;
  fill: #fff;
  background: #2e64c6;
  padding: 8px;
  border-radius: 50%;
  margin-left: -30px;
}
@media screen and (max-width: 768px) {
  .topnav ul li {
    width: 25%;
    display: flex;
  }
  .topnav ul li a {
    min-width: auto;
    font-size: 12px;
    text-align: center;
    padding: 8px;
  }

  .topnav {
    padding: 23px 5px;
  }

  .topnav ul {
    gap: 3px;
    justify-content: space-between;
  }

  .ch_highlight {
    font-size: 18px;
  }
}

.faq {
  background: #4b4b4b;
  padding: 20px 0;
  text-align: center;
  color: #fff;
  margin-top: 1em;
  margin-bottom: 10px;
}

.faq-item {
  margin-bottom: 10px;
  border: 2px solid #e5e7eb;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
}

.faq-question {
  background-color: #000;
  padding: 8px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  background: #1b252f;
}

.faq-question.active {
  background: #1b252f;
  color: white;
}

.arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  font-weight: bold;
}

.arrow.rotated {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: white;
}

.faq-answer.open {
  max-height: 500px;
  padding: 25px 30px;
}

.faq-answer p {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.7;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .faq-container {
    padding: 5px;
  }

  .faq-question {
    padding: 20px;
    font-size: 1rem;
  }

  .faq-answer.open {
    padding: 20px;
  }

  .arrow {
    font-size: 1.3rem;
  }
}

.faq-question:focus {
  outline: none;
}

.notification {
  padding: 1.25rem;
  border: 1px dashed red;
  background: rgb(255, 216, 0);
  border-radius: 20px;
 
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.page_content{
    padding: 10px;
}

.page_content ul, .page_content ol {
  list-style-position: inside;
}




/* Basic styling for the container div */
.Select_box {
    display: flex; /* Arranges children (selects and button) in a row */
    align-items: center; /* Vertically aligns items in the middle */
    gap: 15px; /* Adds space between the items */
    padding: 20px;
    
    max-width: 600px; /* Limit the width of the box */
    margin: 0px auto 10px auto; /* Center the box on the page */
    
}

/* Styling for the select dropdowns */
.Select_market,
.Select_year {
    padding: 10px 15px;
    border: 1px solid #ffd700;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    background-color: #fff;
    cursor: pointer;
    outline: none; /* Remove default focus outline */
    -webkit-appearance: none; /* Remove default select styles for better cross-browser consistency */
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23444444" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>'); /* Custom dropdown arrow */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
    flex-grow: 1; /* Allow select boxes to grow and take available space */
    min-width: 150px; /* Minimum width for select boxes */
}

/* Focus style for select dropdowns */
.Select_market:focus,
.Select_year:focus {
    border-color: #007bff; /* Highlight border on focus */
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25); /* Subtle glow on focus */
}

/* Styling for the button */
.Select_button {
    padding: 10px 20px;
    background-color: #ffd700; /* Primary blue color */
    color: #000; font-weight: 600;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions for hover/active */
    min-width: 100px; /* Minimum width for the button */
}

/* Hover effect for the button */
.Select_button:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

/* Active (clicked) effect for the button */
.Select_button:active {
    background-color: #004085; /* Even darker blue when clicked */
    transform: translateY(0); /* Reset lift effect */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .Select_box {
         gap: 5px; 
        padding: 5px;
        margin: 20px auto;
    }
    
    
    
    .Select_market{
        
         font-size: 13px;
    }

    .Select_year
    {
         width: 100px; /* Full width for items */
        
        font-size: 13px;
        min-width: unset; /* Remove min-width when stacked */
    }


   
    .Select_button {
        width: 100px; /* Full width for items */
        
        font-size: 13px;
        min-width: unset; /* Remove min-width when stacked */
    }

    .Select_button {
        margin-bottom: 0; /* No margin at the very bottom */
    }
}


.yearwise {
  display: grid;
  grid-template-columns: 1fr; /* 1 column for mobile */
  gap: 10px; /* Space between items */
  padding: 10px;
  
}

@media (min-width: 768px) { /* Adjust breakpoint as needed for tablets */
  .yearwise {
    grid-template-columns: 1fr 1fr; /* 2 columns for tablets */
  }
}

/* Media query for desktops (3 columns) */
@media (min-width: 1024px) { /* Adjust breakpoint as needed for desktops */
  .yearwise {
    grid-template-columns: 1fr 1fr 1fr; /* 3 columns for desktops */
  }
}

.yearwise a {
 
    background: #ffd800;
    border-radius: 5px;
    color: #000;
    font-weight: 600;
    padding-bottom: 10px;
    padding-top: 10px;
    text-align: center;
    text-transform: uppercase;
 display: block;
 text-decoration: none;
}
.yearwise a:hover {
 
    background: #000;
   
    color: #ffd800;
   
}


.input_content{
    padding: 1em 10px;
}


.input_content ul, .input_content ol{
  list-style-position: inside;
}


.contact{
    display: flex;
    align-items: center;
    justify-content: center;
    gap:1em;
    flex-direction: column;
    padding: 1em;
}


.wachat{
      display: flex;
    align-items: center;
    justify-content: center;
    gap:5px;
    text-decoration: none;
    background-color: green;
    border-radius: 5px ;
    color:#fff;
    padding:10px 1em;
    font-size:1.5em;
}

@media (max-width: 480px) {
  .faq-question {
    padding: 18px 15px;
    font-size: 0.95rem;
  }

  .faq-answer.open {
    padding: 18px 15px;
  }

  .notification {
    margin: 5px 3px;
  }
}
