/* ============================================
   STADIUM PREMIUM THEME
   Modern baseball draft application
   ============================================ */

   @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&display=swap');

   :root {
     /* Premium Baseball Palette */
     --forest-green: #1a4d2e;
     --field-green: #2d5a3d;
     --warning-track: #ea580c;
     --dirt-orange: #f97316;
     --vintage-cream: #fef3c7;
     --chalk-white: #fafaf9;
     --dugout-gray: #27272a;
     --scoreboard-black: #18181b;
     
     /* Semantic Colors */
     --primary: var(--field-green);
     --primary-hover: var(--forest-green);
     --accent: var(--warning-track);
     --accent-hover: var(--dirt-orange);
     --surface: var(--chalk-white);
     --text-primary: var(--scoreboard-black);
     --text-secondary: #52525b;
     --border: #e4e4e7;
     
     /* Typography */
     --font-display: 'Bebas Neue', sans-serif;
     --font-body: 'Inter', -apple-system, system-ui, sans-serif;
     
     /* Spacing */
     --space-xs: 0.5rem;
     --space-sm: 0.75rem;
     --space-md: 1rem;
     --space-lg: 1.5rem;
     --space-xl: 2rem;
     --space-2xl: 3rem;
     
     /* Effects */
     --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
     --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
     --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
     --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
     
     /* Transitions */
     --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
     --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
     --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
   }
   
   /* ============================================
      BASE STYLES
      ============================================ */
   
   * {
     box-sizing: border-box;
     margin: 0;
     padding: 0;
   }
   
   body {
     font-family: var(--font-body);
     color: var(--text-primary);
     background: linear-gradient(135deg, #f5f5f4 0%, #e7e5e4 100%);
     line-height: 1.6;
     -webkit-font-smoothing: antialiased;
     -moz-osx-font-smoothing: grayscale;
   }
   
   /* ============================================
      TYPOGRAPHY
      ============================================ */
   
   h1, h2, h3, h4, h5, h6 {
     font-family: var(--font-display);
     letter-spacing: 0.02em;
     line-height: 1.2;
     font-weight: 400;
   }
   
   h1 {
     font-size: 3.5rem;
     background: linear-gradient(135deg, var(--field-green), var(--forest-green));
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
   }
   
   h2 {
     font-size: 2.5rem;
     color: var(--text-primary);
   }
   
   h3 {
     font-size: 1.875rem;
     color: var(--text-primary);
   }
   
   /* ============================================
      BASEBALL PATTERN BACKGROUND
      ============================================ */
   
   .baseball-pattern {
     position: relative;
     background: linear-gradient(135deg, #f5f5f4 0%, #e7e5e4 100%);
   }
   
   .baseball-pattern::before {
     content: '';
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background-image: 
       repeating-linear-gradient(
         45deg,
         transparent,
         transparent 50px,
         rgba(26, 77, 46, 0.02) 50px,
         rgba(26, 77, 46, 0.02) 100px
       );
     pointer-events: none;
     z-index: 0;
   }
   
   .baseball-pattern > * {
     position: relative;
     z-index: 1;
   }
   
   /* ============================================
      CARDS & SURFACES
      ============================================ */
   
   .card-shadow {
     background: white;
     border-radius: 16px;
     box-shadow: 
       var(--shadow-sm),
       0 0 0 1px rgba(0, 0, 0, 0.05);
     transition: all var(--transition-base);
     border: 1px solid var(--border);
   }
   
   .card-shadow:hover {
     box-shadow: var(--shadow-lg);
     transform: translateY(-2px);
   }
   
   /* ============================================
      BUTTONS
      ============================================ */
   
   button, .btn {
     font-family: var(--font-body);
     font-weight: 600;
     border: none;
     cursor: pointer;
     transition: all var(--transition-fast);
     border-radius: 10px;
     position: relative;
     overflow: hidden;
   }
   
   button::before {
     content: '';
     position: absolute;
     top: 50%;
     left: 50%;
     width: 0;
     height: 0;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.3);
     transform: translate(-50%, -50%);
     transition: width var(--transition-base), height var(--transition-base);
   }
   
   button:active::before {
     width: 300px;
     height: 300px;
   }
   
   .baseball-green {
     background: linear-gradient(135deg, var(--field-green), var(--forest-green));
     color: white;
     box-shadow: 0 4px 12px rgba(26, 77, 46, 0.3);
   }
   
   .baseball-green:hover {
     transform: translateY(-2px);
     box-shadow: 0 6px 20px rgba(26, 77, 46, 0.4);
   }
   
   .baseball-green:active {
     transform: translateY(0);
   }
   
   .baseball-red {
     background: linear-gradient(135deg, #dc2626, #b91c1c);
     color: white;
     box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
   }
   
   .baseball-red:hover {
     transform: translateY(-2px);
     box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
   }
   
   /* ============================================
      INPUTS
      ============================================ */
   
   input, select, textarea {
     font-family: var(--font-body);
     border: 2px solid var(--border);
     border-radius: 10px;
     transition: all var(--transition-fast);
     background: white;
     color: var(--text-primary);
   }
   
   input:focus, select:focus, textarea:focus {
     outline: none;
     border-color: var(--field-green);
     box-shadow: 0 0 0 3px rgba(26, 77, 46, 0.1);
   }
   
   input:hover, select:hover, textarea:hover {
     border-color: var(--text-secondary);
   }
   
   /* ============================================
      NAVIGATION
      ============================================ */
   
   nav button {
     position: relative;
     font-weight: 600;
     letter-spacing: 0.02em;
     transition: all var(--transition-fast);
   }
   
   nav button::after {
     content: '';
     position: absolute;
     bottom: -2px;
     left: 50%;
     width: 0;
     height: 3px;
     background: var(--field-green);
     transform: translateX(-50%);
     transition: width var(--transition-base);
     border-radius: 2px;
   }
   
   nav button:hover::after,
   nav button.active::after {
     width: 80%;
   }
   
   /* ============================================
      TABLES
      ============================================ */
   
   table {
     border-collapse: separate;
     border-spacing: 0;
   }
   
   thead {
     background: linear-gradient(135deg, var(--warning-track), var(--dirt-orange));
   }
   
   tbody tr {
     transition: all var(--transition-fast);
   }
   
   tbody tr:hover {
     background: rgba(26, 77, 46, 0.05);
     transform: scale(1.01);
   }
   
   tbody tr:nth-child(even) {
     background: rgba(0, 0, 0, 0.02);
   }
   
   /* ============================================
      ON THE CLOCK SECTION
      ============================================ */
   
   .on-the-clock {
     background: linear-gradient(135deg, 
       rgba(26, 77, 46, 0.05) 0%, 
       rgba(45, 90, 61, 0.1) 100%
     );
     border: 3px solid var(--field-green);
     position: relative;
     overflow: hidden;
   }
   
   .on-the-clock::before {
     content: '';
     position: absolute;
     top: -50%;
     right: -50%;
     width: 200%;
     height: 200%;
     background: radial-gradient(
       circle,
       rgba(234, 88, 12, 0.1) 0%,
       transparent 70%
     );
     animation: pulse 3s ease-in-out infinite;
   }
   
   @keyframes pulse {
     0%, 100% { transform: scale(1); opacity: 0.5; }
     50% { transform: scale(1.1); opacity: 0.8; }
   }
   
   /* ============================================
      TIMER DISPLAY
      ============================================ */
   
   .timer-display {
     font-family: var(--font-display);
     font-size: 3rem;
     background: linear-gradient(135deg, var(--field-green), var(--warning-track));
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
   }
   
   /* ============================================
      BADGES & TAGS
      ============================================ */
   
   .badge {
     display: inline-block;
     padding: 0.25rem 0.75rem;
     border-radius: 20px;
     font-size: 0.75rem;
     font-weight: 600;
     letter-spacing: 0.05em;
     text-transform: uppercase;
   }
   
   .badge-green {
     background: linear-gradient(135deg, rgba(26, 77, 46, 0.1), rgba(45, 90, 61, 0.15));
     color: var(--forest-green);
     border: 1px solid var(--field-green);
   }
   
   .badge-orange {
     background: linear-gradient(135deg, rgba(234, 88, 12, 0.1), rgba(249, 115, 22, 0.15));
     color: var(--warning-track);
     border: 1px solid var(--warning-track);
   }
   
   .badge-red {
     background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(185, 28, 28, 0.15));
     color: #dc2626;
     border: 1px solid #dc2626;
   }
   
   /* ============================================
      ANIMATIONS
      ============================================ */
   
   @keyframes fadeIn {
     from {
       opacity: 0;
       transform: translateY(10px);
     }
     to {
       opacity: 1;
       transform: translateY(0);
     }
   }
   
   @keyframes slideIn {
     from {
       opacity: 0;
       transform: translateX(-20px);
     }
     to {
       opacity: 1;
       transform: translateX(0);
     }
   }
   
   .fade-in {
     animation: fadeIn var(--transition-base) ease-out;
   }
   
   .slide-in {
     animation: slideIn var(--transition-base) ease-out;
   }
   
   /* Stagger children animations */
   .stagger-children > * {
     animation: fadeIn var(--transition-base) ease-out;
   }
   
   .stagger-children > *:nth-child(1) { animation-delay: 0ms; }
   .stagger-children > *:nth-child(2) { animation-delay: 50ms; }
   .stagger-children > *:nth-child(3) { animation-delay: 100ms; }
   .stagger-children > *:nth-child(4) { animation-delay: 150ms; }
   .stagger-children > *:nth-child(5) { animation-delay: 200ms; }
   
   /* ============================================
      UTILITY CLASSES
      ============================================ */
   
   .text-gradient {
     background: linear-gradient(135deg, var(--field-green), var(--warning-track));
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
   }
   
   .glass {
     background: rgba(255, 255, 255, 0.7);
     backdrop-filter: blur(10px);
     border: 1px solid rgba(255, 255, 255, 0.3);
   }
   
   .shimmer {
     position: relative;
     overflow: hidden;
   }
   
   .shimmer::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(
       90deg,
       transparent,
       rgba(255, 255, 255, 0.3),
       transparent
     );
     animation: shimmer 2s infinite;
   }
   
   @keyframes shimmer {
     100% { left: 100%; }
   }
   
   /* ============================================
      RESPONSIVE
      ============================================ */
   
   /* Sticky Navigation */
   .sticky {
     position: sticky;
     backdrop-filter: blur(8px);
   }
   
   /* Grid Layout Utilities */
   .grid {
     display: grid;
   }
   
   .grid-cols-1 {
     grid-template-columns: repeat(1, minmax(0, 1fr));
   }
   
   .gap-6 {
     gap: 1.5rem;
   }
   
   .space-y-6 > * + * {
     margin-top: 1.5rem;
   }
   
   .space-y-4 > * + * {
     margin-top: 1rem;
   }
   
   @media (min-width: 1024px) {
     .lg\:col-span-1 {
       grid-column: span 1 / span 1;
     }
     
     .lg\:col-span-2 {
       grid-column: span 2 / span 2;
     }
     
     .lg\:grid-cols-3 {
       grid-template-columns: repeat(3, minmax(0, 1fr));
     }
   }
   
   @media (max-width: 768px) {
     h1 { font-size: 2.5rem; }
     h2 { font-size: 2rem; }
     h3 { font-size: 1.5rem; }
     
     .timer-display { font-size: 2rem; }
   }