/* ============================================
   GOAL COUNTER WIDGET
   ============================================ */
/* Prominent display of current season goals */

.goal-counter {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, 
    rgba(28, 44, 91, 0.95) 0%, 
    rgba(108, 171, 221, 0.2) 50%,
    rgba(28, 44, 91, 0.95) 100%
  );
  position: relative;
  overflow: hidden;
}

.goal-counter::before {
  content: '⚽';
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  font-size: 15rem;
  opacity: 0.03;
  pointer-events: none;
}

.goal-counter::after {
  content: '⚽';
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  font-size: 15rem;
  opacity: 0.03;
  pointer-events: none;
}

.goal-counter-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.goal-counter-header {
  margin-bottom: 1.5rem;
}

.goal-counter-season {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  border-radius: 2rem;
  margin-bottom: 0.5rem;
}

.goal-counter-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin: 0;
}

.goal-counter-main {
  margin: 2rem 0;
}

.goal-counter-total {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.goal-counter-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 8rem;
  line-height: 1;
  background: linear-gradient(180deg, var(--gold) 0%, #f0c050 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 60px rgba(212, 175, 55, 0.4);
  position: relative;
}

.goal-counter-number::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}

.goal-counter-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.goal-counter-breakdown {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
  border: 1px solid rgba(108, 171, 221, 0.2);
}

.goal-counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
}

.goal-counter-comp-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--city-blue);
}

.goal-counter-comp-name {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.goal-counter-footer {
  margin-top: 1.5rem;
}

.goal-counter-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  border: 2px solid var(--gold);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.goal-counter-link:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

/* Light theme overrides */
[data-theme="light"] .goal-counter {
  background: linear-gradient(135deg, 
    rgba(248, 250, 252, 0.98) 0%, 
    rgba(108, 171, 221, 0.15) 50%,
    rgba(248, 250, 252, 0.98) 100%
  );
}

[data-theme="light"] .goal-counter-number {
  background: linear-gradient(180deg, var(--navy) 0%, var(--city-blue) 50%, var(--navy) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

[data-theme="light"] .goal-counter-breakdown {
  background: rgba(28, 44, 91, 0.05);
  border-color: var(--border-color);
}

[data-theme="light"] .goal-counter-link {
  color: var(--navy);
  border-color: var(--navy);
}

[data-theme="light"] .goal-counter-link:hover {
  background: var(--navy);
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .goal-counter {
    padding: 3rem 1.5rem;
  }
  
  .goal-counter::before,
  .goal-counter::after {
    font-size: 8rem;
    opacity: 0.02;
  }
  
  .goal-counter-number {
    font-size: 6rem;
  }
  
  .goal-counter-breakdown {
    gap: 1.5rem;
    padding: 1rem;
  }
  
  .goal-counter-item {
    min-width: 100px;
  }
  
  .goal-counter-comp-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .goal-counter {
    padding: 2.5rem 1rem;
  }
  
  .goal-counter-number {
    font-size: 5rem;
  }
  
  .goal-counter-title {
    font-size: 1.2rem;
  }
  
  .goal-counter-breakdown {
    gap: 1rem;
  }
  
  .goal-counter-item {
    min-width: 80px;
  }
  
  .goal-counter-comp-number {
    font-size: 2rem;
  }
  
  .goal-counter-comp-name {
    font-size: 0.7rem;
  }
}

