* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: Arial, sans-serif;
  background: #121212;
  color: #f0f0f0;
}
header {
  background: #ffcc00;
  padding: 1rem;
  text-align: center;
}
.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #000;
}
.logo span { color:#121212; }
main {
  padding: 1rem;
}

.logo img {
  height: 50px;
  width: auto;
  vertical-align: middle;
}
.card {
  background: #ffffff;
  margin-bottom:1rem;
  padding:1rem;
  border-radius:8px;
  text-align:center;
  color: #000;
}
.live-results h2 { margin-bottom: .5rem; }


.result-card {
  display: block;
  width: 100%; /* Or a fixed width if needed */
  max-width: 400px; /* Optional: limit width */
  margin: 10px auto; /* Center align */
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  /* background: #333; */
  border: 2px solid #000000;
  border-radius: 8px;
  padding: 1rem 2rem;
}

.chart table {
  width: 100%;
  border-collapse: collapse;
  /* margin-top: 30px;
  margin-bottom: 30px; */
}
.chart th {
  background: #333;
  padding: .1rem;
  color: #fff;
}
.chart td {
  border: 1px solid #333;
  /* padding: .75rem; */
  text-align: center;
  background-color: #eee;
}
.chart tbody tr:nth-child(odd) { background: #1a1a1a; }
footer {
  text-align:center;
  /* padding:1rem; */
  font-size:.85rem;
}


/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #121212;
  color: #f0f0f0;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffcc00;
  padding: 0.75rem 1rem;
  position: relative;
  z-index: 999;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
}

.navbar .logo span {
  color: #121212;
}

.navbar .menu-toggle {
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
  display: none;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.navbar .nav-links li a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  padding: 0.5rem 1rem;
  display: block;
}

.navbar .nav-links li a:hover {
  background-color: #f1c40f;
  color: #000;
  border-radius: 4px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .navbar .menu-toggle {
    display: block;
  }

  .navbar .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background-color: #ffcc00;
    flex-direction: column;
    padding-top: 1rem;
    transition: right 0.3s ease-in-out;
    z-index: 998;
    box-shadow: -2px 0 8px rgba(0,0,0,0.4);
  }

  .navbar .nav-links li {
    border-top: 1px solid #e6b800;
    text-align: center;
  }

  .navbar .nav-links.show {
    right: 0;
  }

  .navbar .nav-links li:last-child {
    border-bottom: 1px solid #e6b800;
  }

  .navbar .nav-links.show {
    display: flex;
  }
}

/* Close Button Style */
.nav-links .close-btn {
  text-align: right;
  padding: 0.5rem 1rem;
}

.nav-links .close-btn button {
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
}

/* Optional: hover effect */
.nav-links .close-btn button:hover {
  color: #d00;
}

/* Show only on small screens */
.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }
}

.game-result {
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f5f5f5;
    border-radius: 5px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; 
  min-width: 200px; 
} */

/* th, td {
  padding: 15px 15px;
  text-align: center;
  border: 1px solid #ccc;
} */

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto; /* Allow natural width */
  min-width: 200px;
}

th, td {
  padding: 15px;
  text-align: center;
  border: 1px solid #ccc;
  min-width: 120px;
  word-wrap: break-word;
  white-space: normal;
}


th {
  background-color: #f0f0f0;
  font-weight: bold;
}

@media (max-width: 600px) {
  td, th {
    /* font-size: 12px; */
    padding: 0px;
  }
}

.monthly-chart {
  padding-top: 20px;
  padding-bottom: 20px;
}

.heading {
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
}


.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.form-group select,
.form-group button {
    padding: 10px 15px;
    font-size: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
    min-width: 150px;
    background: #f8f8f8;
    transition: all 0.3s ease;
}

.form-group button {
    background: linear-gradient(to right, #ffcc00, #ff9900);
    border: none;
    color: #000;
    cursor: pointer;
    font-weight: bold;
}

.form-group button:hover {
    background: #ff9900;
    color: #fff;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        align-items: stretch;
    }

    .form-group select,
    .form-group button {
        width: 100%;
    }
}

.grid-container {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(1, 1fr); /* Default: 2 per row */
  padding: 10px;
}

@media (min-width: 768px) {
  .grid-container {
      grid-template-columns: repeat(1, 1fr); /* Large screen: 3 per row */
  }
}

/* Already defined in previous answer */
.btn-link {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(to right, #ffcc00, #ff9900);
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.btn-link:hover {
    background: linear-gradient(to right, #ff9900, #ff6600);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.footer {
  margin-left: 20px;
  margin-right: 20px;
}

.social-footer {
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap; /* Makes it wrap on smaller screens */
}

.social-links img {
  height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.1);
}

/* Optional: Make icons stack vertically below 400px */
@media (max-width: 400px) {
  .social-links {
    flex-direction: column;
    gap: 15px;
  }
}


.footer-text {
    font-size: 14px;
    color: #444;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-text a {
    color: inherit;         /* Same color as the rest of the text */
    text-decoration: none;  /* Removes underline */
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-text a:hover {
    color: #ff9900;
}

.bg-warning, .bg-yellow {
  background-color: #ffcc00 !important;
  color: #000;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}

.bg-white {
  background-color: #fff !important;
  color: #000;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}

.bg-dark {
  background-color: #000 !important;
  color: #ffffff;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}

.blinking {
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.h1 {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
}

.fixed-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 600px;
}

.fixed-table th,
.fixed-table td {
  padding: 10px;
  border: 1px solid #ccc;
  white-space: nowrap;
  text-align: center;
}

.sticky-col {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
}

.fixed-table thead th {
  position: sticky;
  top: 0;
  background-color: #ffcc00;
  z-index: 2;
}

.mt-5 {
  margin-top: 2rem;
}

.table-container {
  width: 100%;
  overflow-x: auto;
}

.table-scroll {
  overflow-x: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

.responsive-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto; /* Let browser auto-size the columns */
  min-width: 100%;
}

.responsive-table th,
.responsive-table td {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  color: #000;
}

.sticky-col {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
}

/* Sticky header (optional) */
.responsive-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: #ffcc00;
}

/* Optional: smaller font & padding on mobile */
@media (max-width: 600px) {
  .responsive-table th,
  .responsive-table td {
    font-size: 14px;
    padding: 8px;
  }
}

