/* ============================================
   ARENA PRO - STYLE SYSTEM
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #050b07;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

::selection {
  background-color: #13ec6a;
  color: #050b07;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.2);
}

/* --- Pitch Grid Background --- */
.pitch-grid {
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 24px 24px;
}

/* --- Glass Panel --- */
.glass-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Neon Glow --- */
.neon-glow {
  box-shadow: 0 0 20px rgba(19,236,106,0.4);
}

/* --- Animations --- */

/* Fade In */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Zoom In */
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* Slide In From Bottom */
@keyframes slideInFromBottom {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Slide In From Right */
@keyframes slideInFromRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Slide In From Top */
@keyframes slideInFromTop {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Bounce Soccer */
@keyframes bounceSoccer {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(180deg); }
}

/* Bounce Dots */
@keyframes bounceDots {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1.0); }
}

/* Scan Line */
@keyframes moveDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* Bounce */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Shadow */
@keyframes shadow {
  0%, 100% { transform: translateX(-50%) scaleX(1); opacity: 0.4; }
  50% { transform: translateX(-50%) scaleX(0.5); opacity: 0.1; }
}

/* Spin */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Spin Reverse */
@keyframes spinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Ping */
@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Pulse */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

/* Utility Classes */
.animate-fadeIn {
  animation: fadeIn 0.5s ease-out forwards;
}

.animate-zoomIn {
  animation: zoomIn 0.5s ease-out forwards;
}

.animate-slideInBottom {
  animation: slideInFromBottom 0.4s ease-out forwards;
}

.animate-slideInRight {
  animation: slideInFromRight 0.3s ease-out forwards;
}

.animate-slideInTop {
  animation: slideInFromTop 0.3s ease-out forwards;
}

.animate-bounceSoccer {
  animation: bounceSoccer 1s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.animate-ping {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* --- Hidden Utility --- */
.hidden {
  display: none !important;
}

/* --- Select Fix for Dark Theme --- */
select option {
  background-color: #111;
  color: #fff;
}

/* --- Transitions --- */
.transition-all-fast {
  transition: all 0.2s ease;
}

/* --- Custom Input Styles --- */
input:focus, select:focus {
  outline: none;
}

/* --- Progress Bar Glow --- */
.progress-glow {
  box-shadow: 0 0 15px #13ec6a;
}
