:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: light dark;
  background-color: #242424;
}

body {
  margin: 0;
  display: flex;
  justify-content: center;
  min-width: 320px;
  min-height: 100vh;
  color: #FFFFFF; /* Set default font color to white */
}

#app {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

header {
  margin-bottom: 3rem;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

.home-link {
  text-decoration: none;
  color: inherit;
}

h2 {
  font-size: 2em;
  border-bottom: 1px solid #555;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.game-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.game-list li a {
  display: block;
  padding: 1.5rem;
  background-color: #333;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  text-align: left;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.game-list li a:hover {
  background-color: #444;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.game-list h3 {
  margin: 0;
  font-size: 1.4rem;
}

.game-date {
  font-size: 0.9rem;
  opacity: 0.6;
}

.game-list p {
  margin: 0;
  opacity: 0.8;
}

/* Tab Styles */
.tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tab-button {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.tab-button:hover {
  background-color: #444;
}

.tab-button.active {
  background-color: #646cff;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}
