
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}

.main-header {
  background-image: linear-gradient(180deg, #F24040, rgba(13, 89, 161, 0));
  background-color: transparent;
  transition: background-color 0.3s ease-in, transform 0.6s linear;
}

.main-header.scrolled {
  background: white !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.main-header .nav-link {
  color: white;
  font-weight: 500;
  padding: 0.5rem 1rem;
}

.main-header.scrolled .nav-link {
  color: #002B5B;
}

.nav-container {
  max-width: 1400px;
  padding: 0.5rem 2rem;
}

.logo img {
  height: 60px;
}

@media (max-width: 900px) {
  .logo img {
    height: 45px;
  }

  .nav-container {
    padding: 0.5rem 1rem;
  }
}


.nav-container {
  max-width: 1400px;
  margin: auto;
  padding: 2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav.left {
  flex: 1;
  justify-content: flex-start;
}

.nav.right {
  flex: 1;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
  padding: 0.25rem 0;
  position: relative;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 10%;
}

.logo img {
  height: 120px;
}

/* Dropdowns */
.dropdown {
  position: relative;
}

.dropdown-menu {
  list-style: none;
  display: none;
  position: absolute;
  top: 2.5rem;
  left: 0;
  background: white;
  padding: 0.5rem 0;
  border-radius: 6px;
  min-width: 160px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 1000;
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #002B5B;
  white-space: nowrap;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background: #f0f0f0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

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

  .nav.left, .nav.right {
    justify-content: center;
    flex: unset;
  }

  .logo {
    position: static;
    transform: none;
    margin: 1rem 0;
  }
}

.widget-section {
    padding: 4rem 1rem;
    background: #f4f7fa;
  }

  .widget-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    text-align: center;
  }

  .widget-container h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #003366;
  }

  .widget-container p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 2rem;
  }

  #fp-widget_root-2zxEsgHWCm0ftSdfMiaq4GsZFDh {
    max-height: 600px;
    overflow-y: auto;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
  }

  .match-card {
    max-width: 800px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #002B5B;
    color: #fff;
    border-radius: 12px;
    padding: 2rem;
  }

  .teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }

  .team img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    padding: 5px;
  }

  .team p {
    margin-top: 0.5rem;
    font-weight: bold;
  }

  .vs {
    font-size: 1.5rem;
    font-weight: bold;
  }

  .info {
    text-align: center;
  }

  .btn {
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background: #00d8ff;
    color: #002B5B;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
  }

  .btn:hover {
    background: #00a8cc;
  }

  @media (max-width: 768px) {
    .widget-container {
      padding: 1.5rem;
    }

    .widget-container h2 {
      font-size: 1.5rem;
    }

    .teams {
      flex-direction: column;
    }

    .vs {
      display: none;
    }
  }
