/* Leaderboard_Components.css */ /* Back Button */ .btn-back { position: fixed; top: 30px; left: 30px; z-index: 100; width: 50px; height: 50px; border-radius: 50%; background: rgba(30, 0, 50, 0.8); border: 2px solid rgba(0, 255, 255, 0.4); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 0 20px rgba(0, 255, 255, 0.3); } .btn-back:hover { background: rgba(0, 234, 255, 0.2); border-color: rgba(0, 255, 255, 0.8); box-shadow: 0 0 30px rgba(0, 255, 255, 0.6); transform: translateX(-5px); } .btn-back svg { width: 24px; height: 24px; fill: #00eaff; filter: drop-shadow(0 0 5px rgba(0, 234, 255, 0.8)); } /* Stat Box Component */ .stat-box { background: rgba(30, 0, 50, 0.5); border: 1px solid rgba(0, 255, 255, 0.2); border-radius: 12px; padding: 16px 12px; text-align: center; transition: all 0.3s ease; } .stat-box:hover { border-color: rgba(0, 255, 255, 0.5); box-shadow: 0 0 15px rgba(0, 255, 255, 0.3); } .stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: rgba(200, 200, 255, 0.6); margin-bottom: 6px; } .stat-value { font-size: 22px; font-weight: bold; color: #00eaff; text-shadow: 0 0 10px rgba(0, 234, 255, 0.6); } /* Player Components Base Styles */ .player-info { flex: 1; display: flex; align-items: center; min-width: 0; } .player-name { font-weight: 700; font-size: 20px; color: #e1e8ff; text-shadow: 0 0 8px rgba(0, 234, 255, 0.3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .player-score { font-weight: 700; font-size: 18px; color: #00eaff; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex-shrink: 0; } .score-value { font-size: 22px; } .score-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: rgba(200, 200, 255, 0.5); } .rank-badge { width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: bold; flex-shrink: 0; } /* Animations */ @keyframes pulseBadge { 0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(0, 234, 255, 0.8); } 50% { transform: scale(1.1); box-shadow: 0 0 30px rgba(0, 234, 255, 1); } }