* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: oklch(0.145 0 0);
  color: #fff;
  min-height: 100vh;
}

.site-header {
  background: oklch(0.205 0 0);
    padding: 20px 20px;
    color: #fff;
    top: 0;
    border-bottom: 1px solid #222;
    z-index: 1000
}

.header-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between
}

.site-name {
    font-size: 26px;
    font-weight: bold;
    color: #22c55e
}

.nav-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 0
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background .3s ease, color .3s ease;
    font-weight: 500
}

.nav-links a:hover {
    background: #333;
    color: #fff;
}


.container {
  display: flex; 
  justify-content: center; 
  align-items: flex-start;
  max-width: 1500px;
  margin: 40px auto;
  padding: 0 20px;
  gap: 30px; /* Space between match and sidebar */
}

.main-content {
  flex: 3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.match-box {
  background: oklch(0.269 0 0);
  border: 1px solid #333;
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 8px;
  width: 100%;
  max-width: 1500px;
  position: relative;
  text-align: center;
  transition: 0.3s;
  margin-bottom: -10px;
  cursor: pointer;
}

.search-box {
  width: 100%;
  display: flex;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 30px auto;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 12px 15px;
  background: oklch(0.269 0 0);
  margin-bottom: -10px;
}

.search-box svg.icon {
  width: 20px;
  height: 20px;
  stroke: #fff;
  margin-right: 10px;
}

.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 16px;
  outline: none;
}


.match-box:hover {
  background-color: #222;
}

.match-header {
  color: #22c55e;
  font-size: 23px;
  font-weight: bold;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.teams {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 20px;
  gap: 30px;
  margin-bottom: 5px;
}

.teams img {
  height: 60px;
  width: auto;
}

.match-date,
.match-time {
  margin-bottom: 5px;
  font-size: 16px;
  color: #ccc;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.matches-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
  background: oklch(0.205 0 0);
  border: 1px solid #222;
  border-radius: 15px;
  padding: 25px;
  padding-bottom: 40px;
}


  .match-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #ccc;
    margin-left: -20px;
  }

  /* Updated: smaller font size */
  .date-container,
  .time-container {
    display: flex;
    align-items: center;
    font-size: 15px;
  }

  /* Updated: smaller SVG icon */
  .match-info svg {
    width: 20px;
    height: 20px;
    stroke: white;
    fill: none;
    vertical-align: middle;
    margin-right: 4px;
  }

.sidebar {
  flex: 1;
  padding: 20px;
  background-color: oklch(0.205 0 0);
  border-left: 2px solid #222;
  border-radius: 10px;
  min-width: 300px;
  max-width: 350px;
}

.sidebar h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #ff4081;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 12px;
}

.sidebar a {
  color: #ddd;
  text-decoration: none;
  font-size: 16px;
}

.sidebar a:hover {
  color: #fff;
  text-decoration: underline;
}



@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
    gap: 20px;
  }

  .sidebar {
    order: 1;  /* sidebar pehle */
    width: 100%;
    max-width: 600px;
    min-width: auto;
    margin: 0;
    border-left: none;
    border-radius: 10px;
  }

  .main-content {
    order: 2;  /* match box baad mein */
    width: 100%;
    max-width: 600px;
  }

  .match-box {
    max-width: 100%;
  }
}


@media (max-width: 768px) {
  .match-box {
    max-width: 100%;  /* match box ki width mobile pe thodi kam */
    padding: 20px;
  }

  .teams img {
    height: 40px;   /* logos chhote kar diye */
    width: auto;
  }

  .teams {
    gap: 15px;  /* logos aur team names ke beech gap thoda kam */
    font-size: 16px; /* font thoda chhota kar sakte hain */
  }
}

@media (max-width: 600px) {
  .search-box {
    flex-direction: row;
    padding: 10px 12px;
    border-radius: 8px;
    max-width: 100%;
    margin: 10px auto 20px auto;
  }

  .search-box svg.icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
  }

  .search-box input {
    font-size: 14px;
  }
}





