.game { width: 100%; max-width: 1400px; margin: 0 auto; flex: 1; display: flex; flex-direction: column; overflow: hidden; min-height: 0; position: relative; } .game-header { margin-top: clamp(5px, 1vh, 10px); margin-bottom: clamp(5px, 1vh, 15px); display: flex; flex-direction: row; flex-wrap: wrap; gap: clamp(5px, 1vh, 10px); align-items: center; flex-shrink: 0; } .game-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-height: 0; } .game-over { display: flex; justify-content: center; align-items: center; flex: 1; padding: clamp(10px, 2vh, 20px); overflow-y: auto; min-height: 0; } .game-over-content { text-align: center; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border-radius: 20px; padding: clamp(15px, 3vh, 30px) clamp(20px, 3vw, 30px); border: 2px solid rgba(255, 215, 0, 0.3); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); width: 100%; max-width: 90%; } .game-over-title { font-size: clamp(1.5rem, 4vw, 3rem); color: var(--accent-primary); margin-bottom: clamp(10px, 2vh, 20px); text-shadow: 0 0 20px rgba(255, 215, 0, 0.8); } .game-over-score { font-size: 3.5rem; color: var(--text-primary); margin-bottom: 40px; font-weight: bold; } .restart-button { background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%); color: var(--text-primary); border: none; padding: clamp(10px, 2vh, 15px) clamp(30px, 5vw, 50px); font-size: clamp(1rem, 2vw, 1.5rem); border-radius: 35px; cursor: pointer; font-weight: bold; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4); } .restart-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6); } .restart-button:active { transform: translateY(0); } .no-players-message { text-align: center; padding: clamp(20px, 4vh, 40px) clamp(15px, 2vw, 20px); background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border-radius: 20px; border: 2px solid rgba(255, 215, 0, 0.3); flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; } .no-players-message p { color: var(--text-primary); font-size: clamp(1rem, 2vw, 1.3rem); margin: 0; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); } .final-scores { width: 100%; margin: clamp(10px, 2vh, 20px) 0; max-height: 40vh; overflow-y: auto; } .final-scores-title { color: var(--text-primary); font-size: clamp(1.2rem, 2.5vw, 1.8rem); margin-bottom: clamp(10px, 2vh, 15px); text-align: center; } .final-score-item { display: flex; justify-content: space-between; align-items: center; padding: clamp(8px, 1.5vh, 12px) clamp(15px, 2vw, 20px); margin: clamp(5px, 1vh, 8px) 0; background: rgba(255, 255, 255, 0.1); border-radius: 12px; border: 2px solid rgba(255, 255, 255, 0.2); transition: all 0.3s ease; } .final-score-item.final-score-winner { background: rgba(255, 215, 0, 0.2); border-color: #ffd700; box-shadow: 0 0 20px rgba(255, 215, 0, 0.5); } .final-score-name { color: var(--text-primary); font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 500; } .final-score-value { color: var(--accent-primary); font-size: clamp(1rem, 2vw, 1.3rem); font-weight: bold; text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); } .final-score-winner .final-score-name, .final-score-winner .final-score-value { color: var(--accent-primary); text-shadow: 0 0 15px rgba(255, 215, 0, 0.8); }