/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0b0f1a;
  color: white;
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo img {
  width: 40px;
}

/* NAV */
.nav-links {
  display: flex;
  gap: 20px;
  transition: 0.3s;
}

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

.nav-links a:hover {
  color: gold;
}

/* MENU ICON */
.menu {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* ================= HERO ================= */
.hero {
  height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url("https://images.unsplash.com/photo-1540747913346-19e32dc3e97e")
    center/cover;
}

.hero-text h1 {
  font-size: 45px;
  color: gold;
  animation: fadeIn 1s ease;
}

.hero-text button {
  margin-top: 20px;
  padding: 12px 25px;
  background: gold;
  border: none;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

/* ================= LIVE MATCH ================= */
.live {
  text-align: center;
  padding: 50px 20px;
  background: #111827;
}

.scoreboard {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.team {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid gold;
  width: 150px;
}

.team p {
  font-size: 35px;
  color: #00ff99;
  font-weight: bold;
}

.vs {
  font-size: 22px;
  color: gold;
}

/* LIVE BADGE */
.live-badge {
  margin-top: 10px;
  color: red;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/* ================= FORM ================= */
.form {
  text-align: center;
  padding: 40px 20px;
}

.form input {
  display: block;
  margin: 10px auto;
  padding: 12px;
  width: 300px;
  max-width: 90%;
  border-radius: 6px;
  border: none;
  outline: none;
}

/* BUTTONS */
.form button {
  display: block;
  margin: 10px auto;
  padding: 12px;
  width: 300px;
  max-width: 90%;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.form button:hover {
  transform: scale(1.05);
}

/* SUBMIT BUTTON */
.form button:first-of-type {
  background: gold;
  color: black;
}

/* ADMIN BUTTON */
.form button:last-of-type {
  background: linear-gradient(45deg, red, orange);
  color: white;
}

/* TEAM LIST */
#teamList div {
  background: #111;
  margin: 10px auto;
  padding: 10px;
  width: 300px;
  border: 1px solid gold;
  border-radius: 6px;
}

/* ================= PRIZE ================= */
.prize-section {
  text-align: center;
  padding: 50px 20px;
}

.prize-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.prize-card {
  width: 260px;
  background: #111;
  padding: 15px;
  border: 1px solid gold;
  border-radius: 10px;
  transition: 0.3s;
}

.prize-card:hover {
  transform: translateY(-10px);
}

.prize-card img {
  width: 100%;
}
/* ================= COMMITTEE SECTION ================= */

.committee {
  position: fixed;
  top: 70px; /* navbar height space */
  left: 0;
  width: 100%;
  height: calc(100% - 70px);

  background: rgba(0, 0, 0, 0.95);

  display: flex;
  flex-direction: column;
  align-items: center;

  z-index: 9999;
  padding: 20px;
  overflow-y: auto;
  animation: fadeIn 0.25s ease-out;
  transform-origin: center;
}

.hidden {
  display: none;
}

.show {
  display: flex;
}

.committee h2 {
  color: gold;
  margin-bottom: 20px;
  text-align: center;
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 15px;
  width: 95%;
  max-width: 1000px;
}

.member {
  background: #111827;
  border: 1px solid gold;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  transition: 0.3s;
}

.member:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px gold;
}

.member img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid gold;
  margin-bottom: 10px;
}

.member h3 {
  color: gold;
  font-size: 15px;
}

.member p {
  color: white;
  font-size: 14px;
}

.member span {
  color: #00ff99;
  font-size: 13px;
}

.close-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background: red;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 20px;
  background: black;
  color: #aaa;
}

/* ================= ANIMATION ================= */
/* @keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
} */
/* ANIMATION */
.committee {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ================= MOBILE MENU PRO ================= */
@media (max-width: 768px) {
  .menu {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -260px;
    width: 200px;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(12px);

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 8px;
    padding: 12px 10px;

    border-left: 2px solid gold;
    border-radius: 12px 0 0 12px;

    transition: 0.35s ease;
    z-index: 9999;
  }

  .nav-links.active {
    right: 10px;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 8px 0;
    border-radius: 8px;
    font-size: 14px;
  }

  .nav-links a:hover {
    background: rgba(255, 215, 0, 0.12);
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .scoreboard {
    flex-direction: column;
  }

  #teamList div {
    width: 90%;
  }

  .form input,
  .form button {
    width: 90%;
  }
  .committee {
    top: 60px;
    height: calc(100% - 60px);
    padding-top: 30px;
  }
}
/* ================= FOOTER PRO MAX ================= */

.footer {
  background: radial-gradient(circle at top, #111827, #05070f);
  padding: 60px 20px 20px;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  position: relative;
  overflow: hidden;
}

/* glow background effect */
.footer::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: gold;
  filter: blur(120px);
  opacity: 0.15;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.footer-box {
  flex: 1;
  min-width: 220px;
}

.brand {
  color: gold;
  font-size: 22px;
  margin-bottom: 10px;
}

.footer-box h3 {
  color: gold;
  margin-bottom: 12px;
  font-size: 18px;
}

.footer-box p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
}

.footer-box a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 14px;
  transition: 0.3s;
}

.footer-box a:hover {
  color: gold;
  transform: translateX(6px);
}

/* bottom */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #777;
  font-size: 13px;
  position: relative;
  z-index: 1;
}

/* animation glow line */
.footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 300px;
  height: 2px;
  background: gold;
  transform: translateX(-50%);
  filter: blur(2px);
  animation: glowLine 2s infinite alternate;
}

@keyframes glowLine {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-box a:hover {
    transform: none;
  }
}
