
.nav-top {
  display: flex;
  align-items: center;
  background-color: #000;
  padding: 10px 20px;
  border-bottom: 5px solid #FFD700;
}
.logo {
  height: 60px;
  margin-right: 40px;
  display: block;
}
.nav-tabs a {
  color: #FFD700;
  font-weight: bold;
  font-size: 22px;
  margin-right: 25px;
  text-decoration: none;
  padding: 10px 5px;
  transition: all 0.2s ease;
}
.nav-tabs a:hover {
  color: white;
  font-size: 20px;
  border-bottom: 2px solid #FFD700;
}
.logo-link {
  display: inline-block;
  line-height: 0;
 /* removes extra spacing under the image */
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.2s ease;
}
.logo-link:hover {
  border-bottom: 2px solid #FFD700;
}
.section-title {
  color: white;
  font-size: 2.5em;
  margin-bottom: 10px;
  font-weight: bold;
}
.subtitle {
  color: #FFD700;
  font-size: 1.2em;
  margin-bottom: 30px;
}
.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding-bottom: 40px;
}
.team-card {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  text-decoration: none;
  color: black;
  transition: transform 0.2s, border 0.2s;
  border: 2px solid transparent;
}
.team-card:hover {
  border: 2px solid #FFD700;
  transform: scale(1.02);
}
.team-name {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000;
}
.team-coach {
  font-size: 0.95em;
  color: #444;
}
.team-page .team-name {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: white;
}
.team-page .team-coach {
  font-size: 1.2em;
  color: #FFD700;
}
.team-page .team-stats h2, .team-page .team-players h2 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #fff;
}
.team-page .stats-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 40px;
}
.team-page .stats-grid li {
  background-color: #1e1e1e;
  padding: 10px 15px;
  border-radius: 5px;
  color: #ccc;
}
.team-page .player-table {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid #333;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 15px;
}
.team-page .player-header, .team-page .player-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  padding: 12px 16px;
  font-size: 1.1em;
}
.team-page .player-header {
  background-color: #FFD700;
  color: black;
  font-weight: bold;
}
.team-page .player-row {
  background-color: #1e1e1e;
  border-top: 1px solid #444;
  color: white;
}
.team-page .player-row a {
  color: #FFD700;
  text-decoration: none;
}
.team-page .player-row a:hover {
  color: white;
  border-bottom: 1px solid #FFD700;
}
.player-page {
  color: white;
  padding: 20px;
}
.player-page .player-header {
  margin-bottom: 30px;
}
.player-page .player-name {
  font-size: 2.3em;
  font-weight: bold;
  color: white;
  margin-bottom: 10px;
}
.player-page .player-meta {
  font-size: 1.1em;
  color: #FFD700;
  margin-bottom: 5px;
}
.player-page .player-stats h2 {
  font-size: 1.5em;
  color: white;
  margin-bottom: 15px;
}
.player-page .player-stats-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.player-page .player-stats-list li {
  background-color: #1e1e1e;
  padding: 10px 15px;
  border-radius: 5px;
  color: #ccc;
}
.player-page .player-meta a {
  color: #FFD700;
  text-decoration: none;
}
.player-page .player-meta a:hover {
  color: white;
  border-bottom: 1px solid #FFD700;
}
.stats-page {
  color: white;
  padding: 20px;
}
.stats-section {
  margin-bottom: 40px;
}
.stats-page h2 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FFD700;
}
.stats-page h3 {
  font-size: 1.3em;
  margin-top: 20px;
  margin-bottom: 10px;
  color: white;
}
.stats-row {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.stats-box {
  background-color: #1e1e1e;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  flex: 1 1 200px;
  min-width: 180px;
  max-width: 250px;
  text-align: center;
  border: 2px solid transparent;
  transition: transform 0.2s, border 0.2s;
}
.stats-box:hover {
  border-color: #FFD700;
  transform: scale(1.03);
}
.stats-rank {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 5px;
}
.stats-name {
  font-size: 1.1em;
  margin-bottom: 3px;
}
.stats-value {
  font-size: 1em;
  color: #ccc;
}
.site-footer {
  background-color: #111;
  padding: 30px 20px 10px;
  color: #ccc;
  font-size: 0.95em;
  margin-top: 60px;
}
.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 15px;
  font-size: 1.4em;
  font-weight: bold;
  color: white;
}
.footer-logo img {
  height: 40px;
}
.footer-logo:hover {
  color: white;
  border-bottom: 1px solid #FFD700;
}
.footer-links {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}
.site-footer {
  background-color: #111;
  padding: 20px 20px;
  color: #ccc;
  font-size: 0.95em;
  border-top: 1px solid #333;
}
.footer-horizontal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-direction: row;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2em;
  font-weight: bold;
  color: white;
}
.footer-logo img {
  height: 32px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}
.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95em;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: white;
  border-bottom: 1px solid #FFD700;
}
.footer-creator {
  font-size: 0.9em;
  white-space: nowrap;
}
.footer-creator a {
  color: #FFD700;
  text-decoration: none;
}
.footer-creator a:hover {
  color: white;
  border-bottom: 1px solid #FFD700;
}
@media (max-width: 768px) {
  .footer-horizontal {
      flex-direction: column;
      align-items: center;
      text-align: center;
 }
  .footer-links {
      justify-content: center;
 }
}
.match-box {
  background-color: white;
  color: black;
  border-radius: 12px;
  padding: 16px 20px;
  width: 100%;
  max-width: 460px;
  display: flex;
  align-items: center;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s, border 0.2s;
}
.match-box:hover {
  transform: scale(1.02);
  border: 2px solid #FFD700;
}
.match-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}
.match-info-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: bold;
  flex: 1;
}
.team-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.team-name {
  max-width: 200px;
  white-space: nowrap;
}
.score {
  font-size: 18px;
  font-weight: bold;
  width: 30px;
  text-align: center;
}
.vertical-line {
  width: 2px;
  height: 40px;
  background-color: #ccc;
  margin: 0 16px;
}
.match-info-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 14px;
}
.group-table-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}
.group-table {
  background-color: white;
  border: 3px solid #FFD700;
  padding: 10px;
  width: 300px;
  color: black;
  border-radius: 10px;
}
.group-table .group-header {
  display: flex;
  justify-content: space-between;
  background-color: #FFD700;
  padding: 10px;
  font-weight: bold;
  color: white;
  border-radius: 6px;
}
.group-table .group-title {
  font-size: 16px;
}
.group-table .group-columns {
  display: flex;
  gap: 24px;
  font-size: 14px;
}
.group-table .group-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #eaeaea;
  padding: 10px;
  margin-top: 6px;
  border-radius: 6px;
}
.group-table .team-name {
  font-weight: bold;
  width: 140px;
}
.group-table .team-name a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}
.group-table .team-name a:hover {
  text-decoration: underline;
  color: #FFD700;
}
.group-table .team-stats {
  display: flex;
  gap: 24px;
  font-weight: bold;
  color: black;
}
.match-center-container{
  display: flex;
  justify-content: center;
  margin: 40px 0;
}
.match-card {
  background-color: white;
  color: black;
  border: 2px solid #FFD700;
  border-radius: 12px;
  padding: 25px;
  width: 900px;
  font-family: sans-serif;
  text-align: center;
}
.match-card .match-meta {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
}
.match-card .match-score-block {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  font-size: 24px;
  gap: 12px;
  font-weight: bold;
}
.match-card .team-name-left, .match-card .team-name-right {
  width: 200px;
}
.match-card .team-name-left {
  text-align: right;
}
.match-card .team-name-right {
  text-align: left;
}
.match-card .team-score {
  font-size: 32px;
  color: #FFD700;
  width: 40px;
  text-align: center;
}
.match-card .separator {
  font-size: 28px;
  font-weight: normal;
}
.match-card .match-stage {
  font-size: 16px;
  color: gray;
  margin-bottom: 25px;
}
.match-card .match-details-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  margin-top: 0;
}
.match-card .team-detail {
  width: 40%;
  font-size: 14px;
}
.match-card .goal-icon-center {
  width: 20%;
  text-align: center;
  font-size: 24px;
  margin-top: 4px;
 /* aligns with first scorer */
}
.match-card .goal-line {
  margin-bottom: 4px;
}
.match-card .card-line {
  color: #FFD700;
  font-weight: bold;
  margin-top: 6px;
}
.match-card .GREEN-square {
  font-size: 16px;
}
.match-card .divider {
  border: 0;
  border-top: 1px solid #ccc;
  margin: 10px 0;
}
.footer-copyright {
  text-align: center;
  margin-top: 20px;
  color: #aaa;
  font-size: 13px;
  font-family: 'Segoe UI', sans-serif;
}
#last-played .match-box {
  background-color: white;
  color: black;
  border-radius: 10px;
  padding: 12px 16px;
  width: 100%;
  max-width: 400px;
  display: flex;
  align-items: center;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s, border 0.2s;
  font-size: 14px;
}
#last-played .match-box:hover {
  transform: scale(1.02);
  border: 2px solid #FFD700;
}
#last-played .match-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  justify-content: center;
}
#last-played .match-info-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: bold;
  flex: 1;
}
#last-played .team-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
#last-played .team-name {
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#last-played .score {
  font-size: 16px;
  font-weight: bold;
  width: 26px;
  text-align: center;
}
#last-played .vertical-line {
  width: 1px;
  height: 36px;
  background-color: #ccc;
  margin: 0 14px;
}
#last-played .match-info-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 12px;
}
.team-matches .match-box {
  background-color: white;
  color: black;
  border-radius: 10px;
  padding: 12px 16px;
  max-width: 400px;
  width: 100%;
  display: flex;
  align-items: center;
 /* vertical centering */
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s, border 0.2s;
  font-size: 14px;
  box-sizing: border-box;
}
.team-matches .match-box:hover {
  transform: scale(1.02);
  border: 2px solid #FFD700;
}
.team-matches .match-info-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: bold;
  flex: 1;
  justify-content: center;
 /* vertical centering for text */
}
.team-matches .team-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.team-matches .team-name {
  font-size: 18px;
  color: black;
 /* fix: force text color */
}
.team-matches .score {
  font-weight: bold;
  font-size: 16px;
  width: 30px;
  text-align: center;
}
.team-matches .vertical-line {
  width: 1px;
  height: 36px;
  background-color: #ccc;
  margin: 0 14px;
}
.team-matches .match-info-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 12px;
}
/* Scoped styles for #front-page */
#front-page {
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
  margin: 0;
  padding: 0;
}
#front-page header {
  background: linear-gradient(to right, #FFD700, #000);
  padding: 30px;
  text-align: center;
}
#front-page header h1 {
  font-size: 3em;
  color: #fff;
  margin: 0;
}
#front-page nav {
  background-color: #000;
  text-align: center;
  padding: 15px;
}
#front-page nav a {
  color: #FFF;
  font-weight: bold;
  margin: 0 20px;
  text-decoration: none;
  font-size: 1.1em;
}
#front-page nav a:hover {
  color: white;
  border-bottom: 2px solid #FFD700;
}
#front-page section {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
}
#front-page section h2 {
  color: #FFD700;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}
#front-page .info-box {
  background-color: #222;
  border: 1px solid #FFD700;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  font-size: 1.2em;
}
#front-page .button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #FFD700;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}
#front-page .button:hover {
  background-color: #fff;
  color: #000;
}
.knockout-wrapper {
  padding: 20px;
  font-family: 'Segoe UI', sans-serif;
  min-height: 100vh;
}
/* Tabs */
.knockout-wrapper .tab-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.knockout-wrapper .tab-button {
  background-color: #2c2c2c;
  color: #fff;
  border: 1px solid #555;
  padding: 14px 24px;     /* More vertical and horizontal padding */
  border-radius: 10px;    /* Slightly more rounded corners */
  font-size: 18px;        /* Larger text */
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.knockout-wrapper .tab-button:hover {
  background-color: #444;
}
.knockout-wrapper .tab-button.active {
  background-color: white;
  color: black;
  font-weight: bold;
  border-color: white;
}
.knockout-wrapper .tab-content {
  display: none;
}
/* Match Box */
.knockout-wrapper .match-box {
  background: white;
  color: black;
  padding: 18px 24px;
  border-radius: 12px;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
  cursor: pointer;
}
.knockout-wrapper .match-box:hover {
  transform: scale(1.01);
}
/* Match Info */
.knockout-wrapper .match-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 17px;
  font-weight: 600;
}
.knockout-wrapper .match-line .team {
  flex: 1;
  text-align: center;
  white-space: nowrap;
}
.knockout-wrapper .match-line .team.left {
  text-align: left;
}
.knockout-wrapper .match-line .team.right {
  text-align: right;
}
.knockout-wrapper .match-line .score {
  flex: 0 0 80px;
  text-align: center;
}
.knockout-wrapper .match-date {
  margin-top: 6px;
  font-size: 13px;
  color: #666;
}
/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}
.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  width: 90%;
  max-width: 960px;
  border-radius: 12px;
  position: relative;
}
.close-button {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: black;
}
.player-page .back-button {
  background-color: white;
  color: black;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 18px;
  border: 2px solid white;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 20px;
}
.player-page .back-button:hover {
  background-color: #f0f0f0;
}
.team-page .back-button {
  background-color: white;
  color: black;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 18px;
  border: 2px solid white;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 20px;
  margin-top: 10px;
}
.team-page .back-button:hover {
  background-color: #f0f0f0;
}
.team-page .team-header {
  margin-top: 0;
}

.overview-page .countdown-section {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 30px 20px 40px 20px;
  margin: 20px auto;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
  min-height: 200px;
}

.overview-page .countdown-boxes {
  display: flex;
  justify-content: space-around;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 10px;
}

.overview-page .countdown-title {
  font-size: 28px;
  color: #FFD700;
  font-weight: bold;
  margin: 0;
  padding: 10px 0;
  line-height: 1.3;
}

.overview-page .countdown-box {
  background-color: #121212;
  border-radius: 10px;
  padding: 20px 15px;
  width: 90px;
  box-shadow: 0 0 10px #FFD700;
  color: #FFD700;
  font-family: 'Arial Black', sans-serif;
  text-align: center;
}

.overview-page .countdown-box span {
  font-size: 28px;
  display: block;
  margin-bottom: 4px;
}

.overview-page .countdown-box p {
  margin: 0;
  font-size: 14px;
  color: #ccc;
}

.teams-page .group-title {
  margin-top: 40px;
  font-size: 1.8em;
  color: #FFD700;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 5px;
}
/* bnfnbfkgjng */

.teams-page .group-title {
  margin-top: 10px;  /* Reduce top margin */
  margin-bottom: 10px;  /* Add bottom margin if needed */
}

.teams-page .teams-grid {
  margin-bottom: 1px;  /* Reduce space after each group */
}

.twitch-section {
  text-align: center;
  padding: 20px 0;
}

.twitch-container {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}









/* Global stuffjoij*/
body {
  background-color: black;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
  font-family: 'Montserrat', sans-serif;
}





