/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: Arial, sans-serif;
  background-image: url('image/landing mc.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  flex-direction: column;
}

/* ✅ Navbar */
.navbar {
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.nav-links li a:hover {
  text-decoration: underline;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.navbar-right select {
  padding: 5px;
  border-radius: 5px;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-profile img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
}

.logout-btn {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
}

.logout-btn:hover {
  background-color: #c82333;
}

/* ✅ Sign-In Page Form */
.login-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-container {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.form-container h2 {
  margin-bottom: 20px;
  font-size: 24px;
}

.form-container input {
  width: 90%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 6px;
  font-size: 16px;
}

.form-container button {
  width: 90%;
  padding: 12px;
  background-color: #007BFF;
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.form-container button:hover {
  background-color: #0056b3;
}

.form-container a {
  color: #00aaff;
  text-decoration: none;
  font-size: 14px;
}

.form-container a:hover {
  text-decoration: underline;
}

/* ✅ Landing Page Content */
.content {
  flex: 1;
  padding: 40px 20px;
  text-align: center;
  /*backdrop-filter: blur(5px);*/
  background-color: rgba(0, 0, 0, 0.4);
  margin: 20px;
  border-radius: 12px;
}

/* ✅ Footer */
.footer {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  text-align: center;
  padding: 15px 10px;
  width: 100%;
}

.footer .social-links {
  margin: 10px 0;
}

.footer .social-links a img {
  width: 25px;
  margin: 0 10px;
  filter: invert(1);
}

/* Hamburger toggle button */
.hamburger {
  font-size: 28px;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
  display: none;
}

/* Mobile menu hidden by default */
.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 10px 0;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .user-profile {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links li {
    margin: 10px 20px;
  }

  .nav-links select {
    margin: 10px 20px;
  }
}

.coach-role-text {
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  line-height: 1.6;
}

.coach-role-text h2 {
  margin-top: 20px;
  color: #ffcc00;
}

.coach-role-text p {
  margin: 10px 0 20px;
}

.league-card {
  margin: 1rem;
  flex: 0 0 50%;
  max-width: 33%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  color: dimgray;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid #e3e6f0;
  border-radius: .35rem;
}

.card-header {
  padding: .75rem 1.25rem;
  margin-bottom: 0;
  background-color: #f8f9fc;
  border-bottom: 1px solid #e3e6f0;
}

.card-body {
  flex: 1 1 auto;
  min-height: 1px;
  padding: 1.25rem;
}

.card-4 {
  max-width: 25%;
}

.text-left {
  text-align: left;
}

.frame {
  max-width: 240px;
  margin-top: 20px;
  box-shadow: rgb(0 0 0 / 44%) 0px 0.15rem 1.75rem 0px !important;
  background: #00000066;
  border-radius: 12px;
}

.btn {
  color: gray;
  background-color: white;
  border-color: white;
  margin: .2rem;
  text-decoration: none;

  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.1rem 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.35rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (max-width: 1200px) {
  .card-4 {
    max-width: 33%;
  }
}

@media (max-width: 980px) {
  .card-4 {
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .card-4 {
    max-width: 100%;
  }
}