/*NEW STYPES*/
.navbar {
  background-color: #003366;
}

.navbar-nav .nav-link {
  text-transform: uppercase;
  color: #ffffff;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: #ffcc00;
}

.hero-btn, .cta-btn, .btn {
  background-color: #0066cc;
  color: #ffffff;
  border: none;
}

.hero-btn:hover, .cta-btn:hover, .btn:hover {
  background-color: #004c99;
  color: #ffffff;
}

.card {
  background-color: #ffffff;
  color: #212529;
  padding: 1rem;
  border: 1px solid #dee2e6;
}

.card h3,
.card p {
  color: #212529;
}

.breadcrumb-item a,
.breadcrumb-item.active {
  color: #333333;
}



/*END*/

 /*NEW*/
.player {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px;
  width: 50px;
  height: 50px;
  background-color: #ffffffcc; /* semi-transparent white */
  color: #000;
  border-radius: 50%;
  border: 2px solid #000;
  font-size: 10px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.player .number {
  font-weight: bold;
  font-size: 12px;
  line-height: 1;
}

.player .name {
  font-size: 10px;
  line-height: 1.2;
  word-break: break-word;
}

/* Make sure on small phones it's still readable */
@media (max-width: 480px) {
  .player {
    width: 42px;
    height: 42px;
    font-size: 9px;
  }

  .player .number {
    font-size: 11px;
  }

  .player .name {
    font-size: 9px;
  }
}


 .navbar-nav .nav-link {
    text-transform: uppercase;
    color: white !important;
  }

  .navbar-nav .nav-link.active {
    color: #ffc107 !important; /* Bootstrap success color */
  }


  .editor {
    width: 320px;
    height: 100vh;
    overflow-y: auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }

  h2 {
    margin-top: 0;
  }

  .player-input {
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
  }
  .player-input input {
    flex: 1;
    padding: 6px 8px;
    font-size: 14px;
  }

  #pitch-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

#pitch {
  width: min(90vw, 600px); /* scales well for both small and large screens */
  height: calc(min(90vw, 600px) * 1.5); /* maintain 2:3 aspect ratio */
  background: linear-gradient(to bottom, #32803a, #1e5e27);
  border: 3px solid #fff;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

/* Optional pitch elements */
.center-circle,
.penalty-area {
  position: absolute;
  border: 2px solid #fff;
  border-radius: 50%;
}

.center-circle {
  width: 20%;
  aspect-ratio: 1;
  top: 40%;
  left: 40%;
}

.penalty-area {
  width: 80%;
  height: 20%;
  top: 0;
  left: 10%;
}

  .player {
    position: absolute;
    color: white;
    text-align: center;
    font-weight: 700;
    background: #142850; /* Dark navy */
    border-radius: 12px;
    padding: 6px 10px;
    width: 90px;
    font-size: 14px;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.8);
    cursor: default;
    user-select: none;
    transform: translate(-50%, -50%);
    border: 2px solid #f39c12; /* golden border */
    transition: background-color 0.3s ease;
    z-index: 10;
  }

  .player:hover {
    background: #f39c12; /* golden highlight on hover */
    color: #142850;
    box-shadow: 0 0 15px #f39c12;
  }

  button {
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 16px;
    background-color: #f39c12;
    color: #142850;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 0 10px #f39c12;
    transition: background-color 0.3s ease;
  }
  button:hover {
    background-color: #d17d0a;
  }

/* Feature Card Styles */
.feature-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  font-size: 2rem;
  color: #0d6efd;
  margin-bottom: 1rem;
}

.feature-title {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.feature-desc {
  font-size: 0.95rem;
  color: #666;
}

/* Step Card Styles */
.step-card {
  background: #f8f9fa;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.3s ease-in-out;
  border: 1px solid #dee2e6;
}

.step-card:hover {
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.1);
}

.step-icon {
  width: 3rem;
  height: 3rem;
  background-color: #e9f2ff;
  color: #0d6efd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 0.5rem auto;
}

.step-badge {
  position: absolute;
  top: -12px;
  left: -12px;
  background: #0d6efd;
  color: #fff;
  width: 28px;
  height: 28px;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 0 0 3px #fff;
}

.step-title {
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 1rem;
  color: #333;
}

.step-desc {
  font-size: 0.95rem;
  color: #555;
}

/* Section Subtext */
.section-subtext {
  max-width: 700px;
  margin: 0 auto;
  color: #6c757d;
  font-size: 1rem;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .step-card, .feature-card {
    padding: 1.25rem;
  }

  .step-title, .feature-title {
    font-size: 1.1rem;
  }

  .step-desc, .feature-desc {
    font-size: 0.9rem;
  }
}


/*Start Resizing*/
  .floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.5);
    }
    70% {
      transform: scale(1.05);
      box-shadow: 0 0 0 12px rgba(13, 110, 253, 0);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
  }

/*Hide starting reduce*/
  @media (max-width: 576px) {
    #scroll-btn {
      font-size: 0.9rem;
      padding: 0.4rem 1rem;
      bottom: 15px;
      right: 15px;
    }
  }


  