*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background-color: #121212;
  color: #f5f5f5;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1f1f1f;
  padding: 10px;
  flex-wrap: wrap; /* allow wrapping on small screens */
  gap: 10px;
}

.websiteLogo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.websiteName {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  max-width: 160px;
}

.catchPhrase {
  margin: 5px 0 0 0;
  font-size: 12px;
  color: #fcd34d;
  letter-spacing: 0.3px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.2;
  text-align: left;
  width: 100%;

  /* Optional: Make it gold-gradient text */
  /* Uncomment below if you want that effect */
  /*
  background: linear-gradient(to right, #fcd34d, #ffca28);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  */
}

.logo {
  width: 100px;
  height: auto;
  margin-right: 15px;
  transition: 0.3s ease;
}

.logo:hover {
  filter: drop-shadow(0 0 8px #fcd34d);
  transform: scale(1.05) rotate(1deg);
}

/* Headings */
h1 {
  font-size: 2.5rem;
  margin: 0;
}

h2 {
  text-align: center;
  font-size: 2rem;
  margin-top: 10px;
}

/* Footer */
footer {
  color: #888;
  background-color: #1f1f1f;
  font-weight: normal;
  font-size: 12px; /* change this one number to resize everything */
  text-align: center;
  padding: 30px 40px;
}

footer * {
  font-size: inherit; /* forces the year span to match */
}

/* template------------------------------- */
.container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar styling */
.sidebar {
  width: 250px;
  background: #292929;
  color: white;
  padding: 20px;
}

.sidebar h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #fcd34d;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  padding: 10px;
  cursor: pointer;
  border-radius: 4px;
  margin-bottom: 5px;
}

.sidebar li:hover {
  background: #555;
}

.sidebar li.active {
  background: #fcd34d;
  color: black;
}

/* Content styling */
.content {
  flex: 1;
  padding: 20px;
  background: rgb(14, 14, 14);
}

.faq-section h3 {
  color: white;
  padding-bottom: 10px;
  position: relative;
}

.faq-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px; /* thickness of the "border" */
  width: 100%;
  background: linear-gradient(to right, #ffd700, #ff5a5f);
}
.faq-item h4 {
  margin: 0 0 5px 0;
  color: #fcd34d;
}

.faq-item p {
  margin: 0;
  color: #ffffff;
}

.faq-content {
  display: none;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .content {
    padding: 10px;
  }
  @keyframes glowText {
    0% {
      color: #fcd34d;
      text-shadow: none;
    }
    50% {
      color: #fff3a0;
      text-shadow: 0 0 15px #fcd34d;
    }
    100% {
      color: #fcd34d;
      text-shadow: none;
    }
  }

  .catchPhrase {
    animation: glowText 2.5s ease-in-out infinite;
  }
  .catchPhrase {
    font-size: 11px;
  }
}

/* media files for tablet and phones */

@media (max-width: 768px) {
  .wrapper {
    flex-direction: column;
  }

  .container {
    flex-direction: column;
  }

  .headerContainer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .headerContainer2 ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    gap: 25px;
  }

  .headerContainer2 ul li {
    list-style: none;
    padding: 8px 12px;
  }

  .bodyContainer {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    border-right: none;
    padding: 10px;
  }

  .sidebar h2 {
    width: 100%;
    text-align: center;
  }

  .sidebar ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%; /* Add this line */
  }

  .sidebar ul li {
    margin: 8px;
    padding: 10px 16px;
    font-size: 12px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #1f1f1f;
    flex: 1 1 auto; /* Allow items to grow and fill available space */
    min-width: 80px; /* Set minimum width */
  }

  .content {
    width: 100%;
    padding: 10px;
  }

  table {
    width: 100%;
    font-size: 12px;
    overflow-x: auto;
  }

  .bet-slip-popup {
    width: 90%;
    left: 5%;
    bottom: 20px;
    transform: none;
  }

  .catchPhrase {
    animation: glowText 2.5s ease-in-out infinite;
    font-size: 11px;
  }

  @keyframes glowText {
    0% {
      color: #fcd34d;
      text-shadow: none;
    }
    50% {
      color: #fff3a0;
      text-shadow: 0 0 15px #fcd34d;
    }
    100% {
      color: #fcd34d;
      text-shadow: none;
    }
  }
}

.faq-item {
  background-color: #1f1f1f;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}
.faq-item:hover {
  transform: scale(1.01);
}

.faq-item p {
  display: none;
}
.faq-answer {
  display: none;
}
/* Progress Bar */
#progressBar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 5px;
  background: linear-gradient(to right, #ffd700, #ff5a5f);
  z-index: 9999;
  transition: width 0.2s ease-out;
}
