.navbar-light {
  background-color: #ffffff;
}
.navbar-light .nav-item {
  margin: 0 0.5rem;
}
.navbar-light .nav-link {
  position: relative;
  color: #212529;
  font-weight: 500;
  transition: color 0.3s ease;
}
.navbar-light .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #0d6efd;
  transition: width 0.3s ease;
}
.navbar-light .nav-link:hover {
  color: #0d6efd;
}
.navbar-light .nav-link:hover::after {
  width: 100%;
}
.navbar-light .nav-link.active {
  color: #0d6efd;
  font-weight: 600;
}
.navbar-light .nav-link.active::after {
  width: 100%;
}
.navbar-light .nav-link i {
  margin-right: 0.5rem;
}

#pageWrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#dynamicFooter {
  border-top: 1px solid #ddd;
  background-color: #f9f9f9;
  font-size: 0.9rem;
}

main.container,
.hero {
  flex-grow: 1;
}

/* === Preloader Container === */
#preloader {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #121212;
  color: #fff;
  z-index: 9999;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* === Shuttlecock Animation === */
.shuttlecock {
  position: relative;
  width: 70px;
  height: 100px;
  animation: fly 1.3s ease-in-out infinite;
}

@keyframes fly {
  0%, 100% {
    transform: translateY(0) rotate(-15deg);
  }
  50% {
    transform: translateY(-20px) rotate(15deg);
  }
}
.feather {
  position: absolute;
  width: 8px;
  height: 40px;
  border-radius: 6px;
  background: #e0e0e0;
  top: 0;
}

.f1 {
  left: 10px;
  transform: rotate(-18deg);
}

.f2 {
  left: 31px;
  transform: rotate(0deg);
}

.f3 {
  left: 52px;
  transform: rotate(18deg);
}

.ball {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f4c430;
  /* background: #ffd600; */
  left: 24px;
  top: 56px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* === Brand Title === */
.brand-text {
  /* font-weight: bold;
  font-size: 1.2rem;
  color: #333;
  margin-top: 1rem;
  text-align: center; */
  font-family: "Montserrat", sans-serif;
  font-size: 1.6em;
  color: #ffd600;
  color: #f4c430;
  letter-spacing: 0.15em;
  margin-top: 20px;
  /* text-shadow: 0 0 8px #f4c430; */
  /* text-shadow: 0 0 8px #ffd600; */
}

/* .preloader-footer {
    max-width: 80%;
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 20px;

} */
.preloader-footer {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  font-size: 0.9rem;
  color: #aaa;
  text-align: center;
  padding: 0 10px;
}

/* === Loading Text === */
.loading-text {
  margin-top: 10px;
  font-size: 1.1em;
  color: #ccc;
  font-family: "Montserrat", sans-serif;
}

.dots::after {
  content: "";
  display: inline-block;
  width: 1ch;
  text-align: left;
  animation: ellipsis steps(4, end) 1s infinite;
}

@keyframes ellipsis {
  0% {
    content: "";
  }
  25% {
    content: ".";
  }
  50% {
    content: "..";
  }
  75% {
    content: "...";
  }
  100% {
    content: "";
  }
}
#fixtureTableBody .btn {
  position: relative;
  overflow: hidden;
  outline: none;
}

.ripple {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-effect 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-effect {
  to {
    transform: scale(15);
    opacity: 0;
  }
}
#winnersSection {
  background: radial-gradient(circle at top left, #ffffff 0%, #f0f4f8 40%, #d9e2ec 100%) !important;
  /* background-color: wheat; */
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15) !important;
  border-radius: 16px !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  padding: 2rem !important;
  color: #212529 !important;
  position: relative !important;
  overflow: hidden !important;
  /* Hover scale effect */
  /* Podium heights and vertical positions */
  /* Smooth animation for transform and scale */
  /* Responsive tweaks */
}
#winnersSection::before {
  content: "" !important;
  position: absolute !important;
  top: -50% !important;
  left: -50% !important;
  width: 200% !important;
  height: 200% !important;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.2), transparent) !important;
  animation: subtle-glow 10s infinite linear !important;
  z-index: 0 !important;
}
#winnersSection .podium-cards .card {
  width: 100% !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  border-radius: 0.5rem !important;
}
#winnersSection .podium-cards .card:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.2) !important;
}
#winnersSection .podium-cards [data-rank="1"] {
  /* Gold: biggest and lifted */
  transform: translateY(-25px) !important;
  z-index: 3 !important;
  height: 260px !important;
  scale: 1.1 !important;
}
#winnersSection .podium-cards [data-rank="2"] {
  /* Silver: middle size */
  transform: translateY(-5px) !important;
  z-index: 2 !important;
  height: 210px !important;
  scale: 1.05 !important;
}
#winnersSection .podium-cards [data-rank="3"] {
  /* Bronze: smallest and slightly lower */
  transform: translateY(15px) !important;
  z-index: 1 !important;
  height: 170px !important;
  scale: 1 !important;
}
#winnersSection .podium-cards [data-rank="1"],
#winnersSection .podium-cards [data-rank="2"],
#winnersSection .podium-cards [data-rank="3"] {
  transition: transform 0.4s ease, height 0.4s ease !important;
  /* Use transform origin to scale from bottom center */
  transform-origin: bottom center !important;
}
@media (max-width: 768px) {
  #winnersSection .podium-cards [data-rank="1"] {
    height: 200px !important;
    transform: translateY(-20px) scale(1.1) !important;
  }
  #winnersSection .podium-cards [data-rank="2"] {
    height: 170px !important;
    transform: translateY(-2px) scale(1.02) !important;
  }
  #winnersSection .podium-cards [data-rank="3"] {
    height: 140px !important;
    transform: translateY(10px) scale(0.95) !important;
  }
}
@media (max-width: 480px) {
  #winnersSection {
    /* Stack vertically on very small screens */
  }
  #winnersSection .podium-cards {
    flex-direction: column !important;
  }
  #winnersSection .podium-cards .col-md-3 {
    max-width: 280px !important;
    margin: 0 auto 1.5rem !important;
  }
  #winnersSection .podium-cards [data-rank="1"],
  #winnersSection .podium-cards [data-rank="2"],
  #winnersSection .podium-cards [data-rank="3"] {
    height: auto !important;
    transform: none !important;
    scale: 1 !important;
  }
}
@keyframes fadeSlideUp {
  from {
    opacity: 0 !important;
    transform: translateY(30px) !important;
  }
  to {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}
#winnersSection .podium-cards .card {
  animation: fadeSlideUp 0.6s ease forwards !important;
}
#winnersSection .podium-cards [data-rank="1"] {
  z-index: 3 !important;
}
#winnersSection .podium-cards [data-rank="2"] {
  z-index: 2 !important;
}
#winnersSection .podium-cards [data-rank="3"] {
  z-index: 1 !important;
}
#winnersSection > div.text-center.mb-4 {
  margin-bottom: 3rem !important;
}
#winnersSection > div.text-center.mb-4 {
  position: relative !important;
  z-index: 10 !important;
  margin-bottom: 3rem !important;
  /* adjust as needed */
}
#winnersSection > div.text-center.mb-4 {
  position: relative !important;
  z-index: 10 !important;
  /* higher than podium cards */
}
#winnersSection .medal-card {
  transition: transform 0.3s ease !important;
  /* border: 1px solid rgba(0, 0, 0, 0.1); */
  background-color: white !important;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  /* border-radius: 50%; */
}
#winnersSection [data-rank="1"] {
  box-shadow: inset 0 0 200px rgba(255, 215, 0, 0.4) !important;
  /* Gold */
}
#winnersSection [data-rank="1"]:hover {
  box-shadow: inset 0 0 200px rgba(255, 215, 0, 0.7) !important;
}
#winnersSection [data-rank="2"] {
  box-shadow: inset 0 0 120px rgba(180, 180, 180, 0.35) !important;
  background: linear-gradient(145deg, #e3e3e3, #ffffff) !important;
  color: #333 !important;
}
#winnersSection [data-rank="2"] .text-secondary {
  color: #6c757d !important;
}
#winnersSection [data-rank="2"]:hover {
  box-shadow: inset 0 0 200px rgba(180, 180, 180, 0.6) !important;
}
#winnersSection [data-rank="3"] {
  box-shadow: inset 0 0 120px rgba(205, 127, 50, 0.3) !important;
  /* Bronze */
}
#winnersSection [data-rank="3"]:hover {
  box-shadow: inset 0 0 200px rgba(205, 127, 50, 0.6) !important;
}
#winnersSection .medal-card:hover {
  transform: scale(1.07) translateY(0) !important;
  z-index: 5;
}
@media (max-width: 576px) {
  #winnersSection #downloadPodiumBtn {
    font-size: 0.8rem !important;
    padding: 0.3rem 0.6rem !important;
  }
}
@keyframes subtle-glow {
  0% {
    transform: rotate(0deg) translate(0, 0) !important;
  }
  100% {
    transform: rotate(360deg) translate(0, 0) !important;
  }
}
#winnersSection .row,
#winnersSection .text-center {
  position: relative !important;
  z-index: 1 !important;
}
#winnersSection .screenshot-bg {
  background: linear-gradient(135deg, #ffffff, #f0f0f0) !important;
  border: 2px solid #ccc !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
  border-radius: 12px !important;
  padding: 2rem !important;
}
#winnersSection #downloadBtnWrapper {
  z-index: 20 !important;
}
#winnersSection #downloadBtnWrapper .btn {
  z-index: 25 !important;
  position: relative !important;
}

:root {
  --primary-color: #0d6efd;
  --primary-color-hover: #0056b3;
  --input-border: #ced4da;
  --input-focus-border: var(--primary-color);
  --input-bg: #fff;
  --font-family: "Poppins", sans-serif;
  --shadow-light: rgba(0, 0, 0, 0.07);
}

body {
  font-family: var(--font-family);
  background-color: #f5f7fa;
  color: #212529;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.spinner-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  opacity: 0.6;
}

.hero {
  padding: 3rem 0;
}
.hero .hero-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: clamp(1.8rem, 5vw, 2.75rem);
}
.hero .hero-subtitle {
  font-weight: 400;
  color: #6c757d;
  margin-bottom: 2.5rem;
  font-size: clamp(1rem, 3vw, 1.25rem);
  line-height: 1.4;
}
.hero .card-option {
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero .card-option:hover, .hero .card-option:focus {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  outline: none;
}
.hero .card-option:focus-visible {
  outline: 3px solid #0d6efd;
  outline-offset: 4px;
}
.hero .card-option .card-body {
  padding: 2rem 1.5rem;
}
.hero .card-option .card-body i {
  color: #0d6efd;
}
.hero .card-option .card-body .card-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.hero .card-option .card-body .card-text {
  color: #495057;
  font-size: 1rem;
}

.new-tournament-form {
  width: 100%;
  max-width: 480px;
  background-color: var(--input-bg);
  border-radius: 1rem;
  box-shadow: 0 6px 18px var(--shadow-light);
  padding: 2.5rem 2rem;
  transition: box-shadow 0.3s ease;
}
.new-tournament-form:hover, .new-tournament-form:focus-within {
  box-shadow: 0 8px 24px var(--shadow-light);
}

/* Floating labels */
.form-floating > label {
  color: #6c757d;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

/* Input focus */
.form-control:focus,
.form-select:focus {
  border-color: var(--input-focus-border);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Input underline animation handled by JS anime.js */
/* Submit button styling */
.btn-primary {
  background-color: var(--primary-color);
  border: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-weight: 600;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-color-hover);
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.4);
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .new-tournament-form {
    padding: 2rem 1.5rem;
  }
}
#playerList .btn i {
  margin: 0 !important;
}

.table thead th {
  white-space: nowrap;
}

.table td {
  vertical-align: middle;
}

.showBoxes {
  opacity: 1 !important;
  transform: translateY(0px) !important;
}

input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  box-shadow: none !important;
}

.form-control:focus {
  outline: none !important;
  box-shadow: none !important;
}

#fixtureSetup .choices.is-open {
  z-index: 9999 !important;
}

#loaderOverlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100vw;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.4);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#loaderOverlay.visible {
  visibility: visible;
  opacity: 1;
}
#loaderOverlay .wrapper {
  width: 200px;
  height: 60px;
  position: relative;
  z-index: 1;
}
#loaderOverlay .circle {
  width: 20px;
  height: 20px;
  position: absolute;
  border-radius: 50%;
  background-color: #fff;
  left: 15%;
  transform-origin: 50%;
  animation: circle7124 0.5s alternate infinite ease;
}
@keyframes circle7124 {
  0% {
    top: 60px;
    height: 5px;
    border-radius: 50px 50px 25px 25px;
    transform: scaleX(1.7);
  }
  40% {
    height: 20px;
    border-radius: 50%;
    transform: scaleX(1);
  }
  100% {
    top: 0%;
  }
}
#loaderOverlay .circle:nth-child(2) {
  left: 45%;
  animation-delay: 0.2s;
}
#loaderOverlay .circle:nth-child(3) {
  left: auto;
  right: 15%;
  animation-delay: 0.3s;
}
#loaderOverlay .shadow {
  width: 20px;
  height: 4px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.9);
  position: absolute;
  top: 62px;
  transform-origin: 50%;
  z-index: -1;
  left: 15%;
  filter: blur(1px);
  animation: shadow046 0.5s alternate infinite ease;
}
@keyframes shadow046 {
  0% {
    transform: scaleX(1.5);
  }
  40% {
    transform: scaleX(1);
    opacity: 0.7;
  }
  100% {
    transform: scaleX(0.2);
    opacity: 0.4;
  }
}
#loaderOverlay .shadow:nth-child(4) {
  left: 45%;
  animation-delay: 0.2s;
}
#loaderOverlay .shadow:nth-child(5) {
  left: auto;
  right: 15%;
  animation-delay: 0.3s;
}/*# sourceMappingURL=style.css.map */