/* ============================================================
   TEQBALL PARTIZAN — Premium Enhancements
   Added: scroll animations, depth, gradient titles, counters
   ============================================================ */

/* --- Scroll Reveal Animations --- */
[data-aos] {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos="fade-up"] { transform: none; }
[data-aos="fade-up"].aos-animate { transform: translateY(0); }
[data-aos="fade-left"] { transform: none; }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }
[data-aos="fade-right"] { transform: none; }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="zoom-in"] { transform: none; opacity: 1; }
[data-aos="zoom-in"].aos-animate { transform: scale(1); opacity: 1; }

/* --- Premium Card Depth --- */
.glass-card,
.player-card,
.news-card,
.training-card,
.contact-info-item {
  box-shadow: 0 4px 24px rgba(0,0,0,0.4),
              0 1px 4px rgba(255,255,255,0.04);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}

.glass-card:hover,
.player-card:hover,
.training-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 48px rgba(0,212,255,0.12),
              0 4px 16px rgba(0,0,0,0.5);
  border-color: rgba(0,212,255,0.3);
}

/* --- Gradient Section Titles (all pages) --- */
.section-title.gradient-title {
  background: var(--neon-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  width: 100%;
  text-align: center;
}
.section-title.gradient-title::after {
  background: var(--neon-gradient);
  box-shadow: 0 0 20px rgba(0,212,255,0.4);
}

/* --- Hero Glow Enhancement --- */
.hero-glow {
  opacity: 0.2;
  animation: premiumPulse 8s ease-in-out infinite alternate;
}
.hero-glow-1 {
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
}
.hero-glow-2 {
  background: radial-gradient(circle, var(--red) 0%, transparent 70%);
  bottom: -200px;
  left: -200px;
  width: 700px;
  height: 700px;
}

@keyframes premiumPulse {
  0% { opacity: 0.15; transform: scale(1); }
  100% { opacity: 0.3; transform: scale(1.2); }
}

/* --- Statistics Counters --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--neon-gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,212,255,0.1);
  border-color: rgba(0,212,255,0.2);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--neon-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--white-50);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Timeline Premium --- */
.timeline-content {
  position: relative;
  overflow: hidden;
}

.timeline-content::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--neon-gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.timeline-content:hover::after {
  opacity: 1;
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,212,255,0.12);
}

.timeline-year {
  font-size: 2.4rem;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-width: 4px;
  box-shadow: 0 0 24px rgba(0,212,255,0.5);
  transition: all 0.4s ease;
}

.timeline-item:hover .timeline-dot {
  transform: translateX(-50%) scale(1.3);
  box-shadow: 0 0 40px rgba(0,212,255,0.7);
}

.timeline-item:nth-child(even):hover .timeline-dot {
  box-shadow: 0 0 40px rgba(255,215,0,0.7);
}

/* --- Better glass border --- */
.glass-card { border-radius: 20px; }
.player-card { border-radius: 20px; padding: 36px 24px; }
.news-card { border-radius: 20px; overflow: hidden; }

/* --- Timeline list styling --- */
.timeline-content ul {
  list-style: none;
  padding: 0;
  margin-top: 8px;
}
.timeline-content ul li {
  color: var(--white-50);
  font-size: 0.85rem;
  padding: 2px 0;
  position: relative;
  padding-left: 16px;
}
.timeline-content ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 0.8rem;
}

/* --- Info section header improvement --- */
.info-section {
  position: relative;
}
.info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

/* --- Better button hover states --- */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::after {
  opacity: 1;
}

/* --- Hero badge premium --- */
.hero-badge {
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,212,255,0.3);
  padding: 8px 24px;
  letter-spacing: 0.15em;
}

/* --- Partner cards radius --- */
.partner-item {
  border-radius: 16px;
}

/* --- Navbar subtle glow on scroll --- */
.navbar.scrolled {
  border-bottom-color: rgba(0,212,255,0.15);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

/* --- Button CTA premium --- */
.btn-primary {
  box-shadow: 0 4px 24px rgba(0,212,255,0.25);
}
.btn-primary:hover {
  box-shadow: 0 8px 40px rgba(0,212,255,0.4);
  transform: translateY(-3px) scale(1.02);
}

.btn-secondary {
  backdrop-filter: blur(8px);
  background: rgba(220,38,38,0.08);
}

.btn-secondary:hover {
  box-shadow: 0 8px 32px rgba(220,38,38,0.3);
  transform: translateY(-3px);
}

.btn-cyan {
  backdrop-filter: blur(8px);
  background: rgba(0,212,255,0.08);
}

.btn-cyan:hover {
  box-shadow: 0 8px 32px rgba(0,212,255,0.3);
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-item { padding: 20px 12px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}
