Spaces:
Runtime error
Runtime error
| /* Premium UI/UX Enhancements */ | |
| /* Phase 6: Cutting-edge UI features */ | |
| /* ===================== */ | |
| /* Real-Time Odds Ticker */ | |
| /* ===================== */ | |
| .odds-ticker { | |
| position: fixed; | |
| top: 60px; | |
| left: 0; | |
| right: 0; | |
| height: 40px; | |
| background: linear-gradient(90deg, #1a1a2e, #16213e, #1a1a2e); | |
| border-bottom: 1px solid rgba(255,255,255,0.1); | |
| overflow: hidden; | |
| z-index: 100; | |
| display: flex; | |
| align-items: center; | |
| } | |
| .ticker-content { | |
| display: flex; | |
| animation: ticker-scroll 30s linear infinite; | |
| white-space: nowrap; | |
| } | |
| .ticker-item { | |
| display: inline-flex; | |
| align-items: center; | |
| padding: 0 30px; | |
| color: #fff; | |
| font-size: 0.85rem; | |
| } | |
| .ticker-item .team-names { | |
| color: #a0a0a0; | |
| margin-right: 10px; | |
| } | |
| .ticker-item .odds { | |
| background: rgba(16, 185, 129, 0.2); | |
| padding: 2px 8px; | |
| border-radius: 4px; | |
| color: #10b981; | |
| font-weight: 600; | |
| } | |
| .ticker-item .odds.moving-up { | |
| animation: odds-flash-green 0.5s ease; | |
| } | |
| .ticker-item .odds.moving-down { | |
| animation: odds-flash-red 0.5s ease; | |
| } | |
| @keyframes ticker-scroll { | |
| 0% { transform: translateX(0); } | |
| 100% { transform: translateX(-50%); } | |
| } | |
| @keyframes odds-flash-green { | |
| 0%, 100% { background: rgba(16, 185, 129, 0.2); } | |
| 50% { background: rgba(16, 185, 129, 0.6); } | |
| } | |
| @keyframes odds-flash-red { | |
| 0%, 100% { background: rgba(239, 68, 68, 0.2); } | |
| 50% { background: rgba(239, 68, 68, 0.6); } | |
| } | |
| /* ===================== */ | |
| /* AI Confidence Gauge */ | |
| /* ===================== */ | |
| .confidence-gauge { | |
| position: relative; | |
| width: 120px; | |
| height: 60px; | |
| margin: 0 auto; | |
| } | |
| .gauge-arc { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; | |
| background: conic-gradient( | |
| from 180deg, | |
| #ef4444 0%, | |
| #f59e0b 25%, | |
| #10b981 50%, | |
| transparent 50% | |
| ); | |
| border-radius: 60px 60px 0 0; | |
| mask: radial-gradient( | |
| ellipse at center, | |
| transparent 55%, | |
| black 56%, | |
| black 100% | |
| ); | |
| } | |
| .gauge-needle { | |
| position: absolute; | |
| width: 4px; | |
| height: 45px; | |
| background: linear-gradient(to top, #fff, #6366f1); | |
| bottom: 0; | |
| left: 50%; | |
| transform-origin: bottom center; | |
| transform: translateX(-50%) rotate(-90deg); | |
| transition: transform 1s cubic-bezier(0.68, -0.55, 0.265, 1.55); | |
| border-radius: 2px; | |
| z-index: 2; | |
| } | |
| .gauge-center { | |
| position: absolute; | |
| width: 16px; | |
| height: 16px; | |
| background: #1e1e2e; | |
| border: 3px solid #6366f1; | |
| border-radius: 50%; | |
| bottom: -8px; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| z-index: 3; | |
| } | |
| .gauge-value { | |
| position: absolute; | |
| bottom: -30px; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| font-size: 1.5rem; | |
| font-weight: 700; | |
| color: #fff; | |
| } | |
| .gauge-label { | |
| position: absolute; | |
| bottom: -50px; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| font-size: 0.75rem; | |
| color: #a0a0a0; | |
| text-transform: uppercase; | |
| letter-spacing: 1px; | |
| } | |
| /* ===================== */ | |
| /* Dark/Light Mode */ | |
| /* ===================== */ | |
| :root { | |
| --bg-primary: #0f0f1a; | |
| --bg-secondary: #1a1a2e; | |
| --bg-card: rgba(26, 26, 46, 0.8); | |
| --text-primary: #ffffff; | |
| --text-secondary: #a0a0a0; | |
| --accent-primary: #6366f1; | |
| --accent-success: #10b981; | |
| --accent-warning: #f59e0b; | |
| --accent-danger: #ef4444; | |
| --border-color: rgba(255, 255, 255, 0.1); | |
| } | |
| [data-theme="light"] { | |
| --bg-primary: #f5f5f5; | |
| --bg-secondary: #ffffff; | |
| --bg-card: rgba(255, 255, 255, 0.9); | |
| --text-primary: #1a1a2e; | |
| --text-secondary: #666666; | |
| --border-color: rgba(0, 0, 0, 0.1); | |
| } | |
| .theme-toggle { | |
| position: fixed; | |
| bottom: 20px; | |
| right: 20px; | |
| width: 50px; | |
| height: 50px; | |
| border-radius: 50%; | |
| background: var(--bg-card); | |
| border: 2px solid var(--border-color); | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1.5rem; | |
| transition: all 0.3s ease; | |
| z-index: 1000; | |
| box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); | |
| } | |
| .theme-toggle:hover { | |
| transform: scale(1.1); | |
| background: var(--accent-primary); | |
| } | |
| /* ===================== */ | |
| /* Live Injury Alerts */ | |
| /* ===================== */ | |
| .injury-alert { | |
| position: fixed; | |
| bottom: 80px; | |
| right: 20px; | |
| max-width: 300px; | |
| background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(185, 28, 28, 0.9)); | |
| border-radius: 12px; | |
| padding: 15px 20px; | |
| color: #fff; | |
| box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3); | |
| transform: translateX(350px); | |
| transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); | |
| z-index: 999; | |
| } | |
| .injury-alert.show { | |
| transform: translateX(0); | |
| } | |
| .injury-alert .alert-header { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| margin-bottom: 8px; | |
| font-weight: 600; | |
| } | |
| .injury-alert .alert-icon { | |
| font-size: 1.2rem; | |
| } | |
| .injury-alert .player-name { | |
| font-weight: 700; | |
| } | |
| .injury-alert .injury-details { | |
| font-size: 0.85rem; | |
| opacity: 0.9; | |
| } | |
| /* ===================== */ | |
| /* Streak Indicators */ | |
| /* ===================== */ | |
| .streak-badge { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 4px; | |
| padding: 4px 10px; | |
| border-radius: 20px; | |
| font-size: 0.75rem; | |
| font-weight: 600; | |
| } | |
| .streak-badge.hot { | |
| background: linear-gradient(135deg, #f59e0b, #ef4444); | |
| color: #fff; | |
| animation: pulse 2s infinite; | |
| } | |
| .streak-badge.cold { | |
| background: linear-gradient(135deg, #3b82f6, #1e3a8a); | |
| color: #fff; | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); } | |
| 50% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); } | |
| } | |
| /* ===================== */ | |
| /* Live Score Animation */ | |
| /* ===================== */ | |
| .live-score { | |
| font-size: 1.5rem; | |
| font-weight: 700; | |
| transition: all 0.3s ease; | |
| } | |
| .live-score.score-updated { | |
| animation: score-pop 0.5s ease; | |
| color: #10b981; | |
| } | |
| @keyframes score-pop { | |
| 0%, 100% { transform: scale(1); } | |
| 50% { transform: scale(1.3); } | |
| } | |
| .live-indicator { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 6px; | |
| color: #ef4444; | |
| font-size: 0.75rem; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| } | |
| .live-indicator::before { | |
| content: ''; | |
| width: 8px; | |
| height: 8px; | |
| background: #ef4444; | |
| border-radius: 50%; | |
| animation: live-blink 1s infinite; | |
| } | |
| @keyframes live-blink { | |
| 0%, 100% { opacity: 1; } | |
| 50% { opacity: 0.3; } | |
| } | |
| /* ===================== */ | |
| /* Skeleton Loading */ | |
| /* ===================== */ | |
| .skeleton { | |
| background: linear-gradient( | |
| 90deg, | |
| var(--bg-secondary) 25%, | |
| rgba(255,255,255,0.1) 50%, | |
| var(--bg-secondary) 75% | |
| ); | |
| background-size: 200% 100%; | |
| animation: skeleton-loading 1.5s infinite; | |
| border-radius: 8px; | |
| } | |
| @keyframes skeleton-loading { | |
| 0% { background-position: 200% 0; } | |
| 100% { background-position: -200% 0; } | |
| } | |
| .skeleton-card { | |
| height: 200px; | |
| margin-bottom: 15px; | |
| } | |
| .skeleton-text { | |
| height: 16px; | |
| margin-bottom: 8px; | |
| } | |
| .skeleton-text.short { | |
| width: 60%; | |
| } | |
| /* ===================== */ | |
| /* Glassmorphism Cards */ | |
| /* ===================== */ | |
| .glass-card { | |
| background: rgba(255, 255, 255, 0.05); | |
| backdrop-filter: blur(10px); | |
| -webkit-backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| border-radius: 16px; | |
| box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); | |
| } | |
| /* ===================== */ | |
| /* Micro-Animations */ | |
| /* ===================== */ | |
| .match-card { | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| .match-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2); | |
| } | |
| .btn-predict { | |
| transition: all 0.3s ease; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .btn-predict::after { | |
| content: ''; | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| width: 0; | |
| height: 0; | |
| background: rgba(255, 255, 255, 0.2); | |
| border-radius: 50%; | |
| transform: translate(-50%, -50%); | |
| transition: width 0.6s, height 0.6s; | |
| } | |
| .btn-predict:active::after { | |
| width: 300px; | |
| height: 300px; | |
| } | |
| /* ===================== */ | |
| /* Confidence Sections */ | |
| /* ===================== */ | |
| .confidence-sections { | |
| margin: 30px 0; | |
| padding: 20px; | |
| background: var(--bg-card); | |
| border-radius: 16px; | |
| border: 1px solid var(--border-color); | |
| } | |
| .section-tabs { | |
| display: flex; | |
| gap: 10px; | |
| margin-bottom: 20px; | |
| overflow-x: auto; | |
| padding-bottom: 10px; | |
| } | |
| .tab-btn { | |
| padding: 10px 20px; | |
| background: rgba(99, 102, 241, 0.1); | |
| border: 1px solid rgba(99, 102, 241, 0.3); | |
| border-radius: 25px; | |
| color: #a0a0a0; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| white-space: nowrap; | |
| } | |
| .tab-btn:hover { | |
| background: rgba(99, 102, 241, 0.2); | |
| color: #fff; | |
| } | |
| .tab-btn.active { | |
| background: linear-gradient(135deg, #6366f1, #8b5cf6); | |
| color: #fff; | |
| border-color: transparent; | |
| box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4); | |
| } | |
| .section-content { | |
| display: none; | |
| } | |
| .section-content.active { | |
| display: block; | |
| animation: fadeIn 0.3s ease; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| /* Daily Banker Card */ | |
| .daily-banker-card { | |
| background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 95, 70, 0.1)); | |
| border: 2px solid rgba(16, 185, 129, 0.5); | |
| border-radius: 16px; | |
| padding: 25px; | |
| text-align: center; | |
| } | |
| .banker-header { | |
| margin-bottom: 20px; | |
| } | |
| .banker-badge { | |
| display: inline-block; | |
| background: linear-gradient(135deg, #10b981, #059669); | |
| padding: 8px 20px; | |
| border-radius: 25px; | |
| font-weight: 700; | |
| font-size: 1.1rem; | |
| margin-bottom: 5px; | |
| } | |
| .banker-subtitle { | |
| display: block; | |
| color: #a0a0a0; | |
| font-size: 0.9rem; | |
| } | |
| .banker-match { | |
| padding: 15px 0; | |
| } | |
| .banker-teams { | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| gap: 15px; | |
| font-size: 1.3rem; | |
| font-weight: 600; | |
| margin-bottom: 15px; | |
| } | |
| .banker-teams .vs { | |
| color: #a0a0a0; | |
| font-size: 0.9rem; | |
| } | |
| .banker-prediction { | |
| margin-bottom: 15px; | |
| } | |
| .prediction-label { | |
| color: #a0a0a0; | |
| margin-right: 10px; | |
| } | |
| .prediction-value { | |
| font-size: 1.2rem; | |
| font-weight: 700; | |
| color: #10b981; | |
| } | |
| .banker-confidence { | |
| margin-bottom: 15px; | |
| } | |
| .confidence-bar { | |
| width: 100%; | |
| height: 10px; | |
| background: rgba(255,255,255,0.1); | |
| border-radius: 5px; | |
| overflow: hidden; | |
| margin-bottom: 8px; | |
| } | |
| .confidence-fill { | |
| height: 100%; | |
| background: linear-gradient(90deg, #10b981, #22d3ee); | |
| border-radius: 5px; | |
| transition: width 0.5s ease; | |
| } | |
| .confidence-text { | |
| font-weight: 600; | |
| color: #10b981; | |
| } | |
| .banker-probs { | |
| display: flex; | |
| justify-content: center; | |
| gap: 20px; | |
| flex-wrap: wrap; | |
| } | |
| .prob-item { | |
| background: rgba(255,255,255,0.05); | |
| padding: 5px 12px; | |
| border-radius: 20px; | |
| font-size: 0.85rem; | |
| color: #a0a0a0; | |
| } | |
| /* Picks Grid */ | |
| .picks-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); | |
| gap: 15px; | |
| } | |
| .pick-card { | |
| background: rgba(255,255,255,0.03); | |
| border: 1px solid var(--border-color); | |
| border-radius: 12px; | |
| padding: 20px; | |
| transition: all 0.3s ease; | |
| } | |
| .pick-card:hover { | |
| transform: translateY(-3px); | |
| box-shadow: 0 10px 25px rgba(0,0,0,0.2); | |
| } | |
| .pick-card.sure-win { | |
| border-color: rgba(16, 185, 129, 0.5); | |
| background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), transparent); | |
| } | |
| .pick-card.strong { | |
| border-color: rgba(99, 102, 241, 0.5); | |
| background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), transparent); | |
| } | |
| .pick-card.value { | |
| border-color: rgba(245, 158, 11, 0.5); | |
| background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), transparent); | |
| } | |
| .pick-badge { | |
| display: inline-block; | |
| padding: 4px 12px; | |
| border-radius: 15px; | |
| font-size: 0.75rem; | |
| font-weight: 600; | |
| margin-bottom: 10px; | |
| } | |
| .pick-card.sure-win .pick-badge { | |
| background: rgba(16, 185, 129, 0.2); | |
| color: #10b981; | |
| } | |
| .pick-card.strong .pick-badge { | |
| background: rgba(99, 102, 241, 0.2); | |
| color: #6366f1; | |
| } | |
| .pick-card.value .pick-badge { | |
| background: rgba(245, 158, 11, 0.2); | |
| color: #f59e0b; | |
| } | |
| .pick-match { | |
| font-size: 1.1rem; | |
| font-weight: 600; | |
| margin-bottom: 8px; | |
| } | |
| .pick-prediction { | |
| color: #10b981; | |
| font-weight: 600; | |
| margin-bottom: 5px; | |
| } | |
| .pick-confidence, | |
| .pick-edge { | |
| color: #a0a0a0; | |
| font-size: 0.9rem; | |
| } | |
| .no-data { | |
| text-align: center; | |
| padding: 30px; | |
| color: #a0a0a0; | |
| } | |