/* Global scrollbar hiding */
* {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

*::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

html {
  /* Hide scrollbar for Chrome, Safari and Opera */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

html::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

/* Existing NHL-specific styles... */

/* Add MLB styles for consistency */
html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: Arial, sans-serif;
  background-color: #000000;
  color: #000000;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

#scoreboard {
  background: #ebebeb;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 1px rgba(0, 0, 0, 0.1);
  text-align: center;
  flex-grow: 1;
  overflow-y: auto;
}

.footer-separator {
  margin: 0 10px;
  color: #888;
}

.footer-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: -2.5px;
}

.matchup {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: Arial, sans-serif;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-name {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 4px;
}

.team-score {
  font-size: 2em;
}

.game-block {
  flex: 1 1 calc(33.33% - 2rem);
  max-width: 320px;
  min-height: 200px;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 1rem;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.games-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.scheduled-time {
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 4px;
}

.game-card {
  background-color: #000000;
  border: 1px solid #444;
  border-radius: 10px;
  padding: 16px 20px;
  width: 300px;
  font-family: Arial, sans-serif;
  color: white;
  text-align: center;
  position: relative;
  box-shadow: 0 0 10px rgb(255, 255, 255);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 12px rgba(255, 255, 255);
}

.team-section {
  margin-bottom: 40px;
  border: 2px solid #444;
  border-radius: 15px;
  padding: 20px;
  width: 340px;
  background-color: #000000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-section:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5);
}

.team-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  color: white;
}

.team-logo {
  width: 100px;
  height: 70px;
  object-fit: contain;
}

.team-header h2 {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}

.no-games {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  font-family: Arial, sans-serif;
  text-align: center;
  font-size: 1rem;
  color: #555;
  font-weight: bold;
}

.navbar {
  background-color: #000;
  color: white;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-content {
  width: 100%;
  max-width: 100vw;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  font-size: 1.2rem;
  font-weight: bold;
}

.nav-right {
  display: flex;
  gap: 20px;
}

.nav-link {
  color: white;
  text-decoration: none;
}

.nav-link.active {
  color: #888;
  font-weight: bold;
}

.live-game-block {
    flex: 1 1 calc(33.33% - 2rem);
    max-width: 320px;
    min-height: 200px;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 1rem;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.live-game-block:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

#teamsContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.team-card {
  width: 200px;
  height: 250px;
  border: 2px solid #444;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: Arial, sans-serif;
  text-align: center;
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(255, 255, 255, 0.5);
}

.games-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

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

.dropdown-link.active {
  background-color: #444;
  font-weight: bold;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle .bars {
  width: 25px;
  height: 3px;
  background-color: white;
}

.dropdown-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  right: 20px;
  background-color: #000;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.dropdown-menu.active {
  display: flex;
}

.dropdown-link {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  text-align: center;
}

.dropdown-link:hover {
  background-color: #333;
}

.footer {
  background-color: #000;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 1rem;
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer-link {
  color: white;
  text-decoration: none;
  margin: 0 10px;
}

.footer-link:hover {
  color: #888;
}

@media (max-width: 525px) {
.nav-right {
  display: none;
}

.nav-toggle {
  display: flex;
}

.dropdown-menu.active {
  display: flex;
}
}

/* AIO Page Section Styling */
.section-header {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin: 30px 0 20px 0;
  text-align: center;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
}

#live-section, #scheduled-section, #finished-section {
  margin-bottom: 40px;
}

#live-section .section-header {
  color: #e74c3c;
}

#scheduled-section .section-header {
  color: #3498db;
}

#finished-section .section-header {
  color: #27ae60;
}