/* Green Bangla Sports Club - Premium Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Teko:wght@500;600;700&family=Hind+Siliguri:wght@400;600;700&display=swap');

:root {
  --color-gb-green: #046A38;
  --color-gb-dark: #064E3B;
  --color-gb-darker: #022C22;
  --color-gb-gold: #F59E0B;
  --color-gb-gold-light: #FDE68A;
  --color-gb-red: #DC2626;
  --color-gb-accent: #10B981;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #0b131e;
  color: #f1f5f9;
  overflow-x: hidden;
}

.font-teko {
  font-family: 'Teko', sans-serif;
  letter-spacing: 0.05em;
}

.font-bangla {
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #047857;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #10b981;
}

/* Glassmorphism Card Effects */
.glass-panel {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-green {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.4) 0%, rgba(2, 44, 34, 0.7) 100%);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.glass-panel-gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(180, 83, 9, 0.2) 100%);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Glow effects */
.glow-gold {
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.25);
}

.glow-green {
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.25);
}

/* Hero Background Dynamic Mesh */
.hero-gradient-bg {
  background: radial-gradient(circle at 50% 20%, rgba(4, 106, 56, 0.4) 0%, rgba(11, 19, 30, 0.95) 75%),
              radial-gradient(circle at 85% 60%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 15% 70%, rgba(16, 185, 129, 0.18) 0%, transparent 60%);
}

/* Match Ticker Animations */
@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: tickerSlide 40s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

/* 3D Uniform Presentation Cards */
.jersey-card {
  perspective: 1000px;
}

.jersey-inner {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.jersey-card:hover .jersey-inner {
  transform: rotateY(180deg);
}

.jersey-front, .jersey-back {
  backface-visibility: hidden;
}

.jersey-back {
  transform: rotateY(180deg);
}

/* Tournament Bracket Nodes */
.bracket-round {
  position: relative;
}

.bracket-match {
  position: relative;
  transition: all 0.25s ease;
}

.bracket-match:hover {
  transform: translateY(-2px);
  border-color: #10b981;
}

/* Printable Digital ID Card */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-player-card, #printable-player-card * {
    visibility: visible;
  }
  #printable-player-card {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
}

/* Badge Float Animation */
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

.animate-float {
  animation: badgeFloat 4s ease-in-out infinite;
}

/* Pulse Ring Animation */
@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.pulse-ring {
  animation: pulseRing 3s infinite ease-in-out;
}

/* Custom Tab transition */
.tab-active {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

/* Custom Modals Backdrop */
.modal-backdrop {
  background-color: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(8px);
}
