2025-12-31 16:53:26 +00:00
|
|
|
.game {
|
|
|
|
|
width: 100%;
|
|
|
|
|
max-width: 1400px;
|
|
|
|
|
margin: 0 auto;
|
2025-12-31 17:40:34 +00:00
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
min-height: 0;
|
|
|
|
|
position: relative;
|
2025-12-31 16:53:26 +00:00
|
|
|
}
|
|
|
|
|
|
2025-12-31 17:05:48 +00:00
|
|
|
.game-header {
|
2025-12-31 18:05:29 +00:00
|
|
|
margin-top: clamp(5px, 1vh, 10px);
|
2025-12-31 17:40:34 +00:00
|
|
|
margin-bottom: clamp(5px, 1vh, 15px);
|
2025-12-31 17:05:48 +00:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2025-12-31 17:40:34 +00:00
|
|
|
gap: clamp(5px, 1vh, 10px);
|
2025-12-31 17:05:48 +00:00
|
|
|
align-items: center;
|
2025-12-31 17:40:34 +00:00
|
|
|
flex-shrink: 0;
|
2025-12-31 17:05:48 +00:00
|
|
|
}
|
|
|
|
|
|
2025-12-31 17:40:34 +00:00
|
|
|
.game-content {
|
|
|
|
|
flex: 1;
|
2025-12-31 17:13:24 +00:00
|
|
|
display: flex;
|
2025-12-31 17:40:34 +00:00
|
|
|
flex-direction: column;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
min-height: 0;
|
2025-12-31 17:13:24 +00:00
|
|
|
}
|
|
|
|
|
|
2025-12-31 16:53:26 +00:00
|
|
|
.game-over {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
2025-12-31 17:40:34 +00:00
|
|
|
flex: 1;
|
|
|
|
|
padding: clamp(10px, 2vh, 20px);
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
min-height: 0;
|
2025-12-31 16:53:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.game-over-content {
|
|
|
|
|
text-align: center;
|
|
|
|
|
background: rgba(255, 255, 255, 0.1);
|
|
|
|
|
backdrop-filter: blur(10px);
|
|
|
|
|
border-radius: 20px;
|
2025-12-31 17:40:34 +00:00
|
|
|
padding: clamp(15px, 3vh, 30px) clamp(20px, 3vw, 30px);
|
2025-12-31 16:53:26 +00:00
|
|
|
border: 2px solid rgba(255, 215, 0, 0.3);
|
|
|
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
|
2025-12-31 17:40:34 +00:00
|
|
|
width: 100%;
|
|
|
|
|
max-width: 90%;
|
2025-12-31 16:53:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.game-over-title {
|
2025-12-31 17:40:34 +00:00
|
|
|
font-size: clamp(1.5rem, 4vw, 3rem);
|
2025-12-31 16:53:26 +00:00
|
|
|
color: #ffd700;
|
2025-12-31 17:40:34 +00:00
|
|
|
margin-bottom: clamp(10px, 2vh, 20px);
|
2025-12-31 16:53:26 +00:00
|
|
|
text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.game-over-score {
|
|
|
|
|
font-size: 3.5rem;
|
|
|
|
|
color: #fff;
|
|
|
|
|
margin-bottom: 40px;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.restart-button {
|
|
|
|
|
background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
|
|
|
|
|
color: white;
|
|
|
|
|
border: none;
|
2025-12-31 17:40:34 +00:00
|
|
|
padding: clamp(10px, 2vh, 15px) clamp(30px, 5vw, 50px);
|
|
|
|
|
font-size: clamp(1rem, 2vw, 1.5rem);
|
2025-12-31 16:53:26 +00:00
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
|
2025-12-31 17:05:48 +00:00
|
|
|
.no-players-message {
|
|
|
|
|
text-align: center;
|
2025-12-31 17:40:34 +00:00
|
|
|
padding: clamp(20px, 4vh, 40px) clamp(15px, 2vw, 20px);
|
2025-12-31 17:05:48 +00:00
|
|
|
background: rgba(255, 255, 255, 0.1);
|
|
|
|
|
backdrop-filter: blur(10px);
|
|
|
|
|
border-radius: 20px;
|
|
|
|
|
border: 2px solid rgba(255, 215, 0, 0.3);
|
2025-12-31 17:40:34 +00:00
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
min-height: 0;
|
2025-12-31 17:05:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.no-players-message p {
|
|
|
|
|
color: #fff;
|
2025-12-31 17:40:34 +00:00
|
|
|
font-size: clamp(1rem, 2vw, 1.3rem);
|
2025-12-31 17:05:48 +00:00
|
|
|
margin: 0;
|
|
|
|
|
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.final-scores {
|
|
|
|
|
width: 100%;
|
2025-12-31 17:40:34 +00:00
|
|
|
margin: clamp(10px, 2vh, 20px) 0;
|
|
|
|
|
max-height: 40vh;
|
|
|
|
|
overflow-y: auto;
|
2025-12-31 17:05:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.final-scores-title {
|
|
|
|
|
color: #fff;
|
2025-12-31 17:40:34 +00:00
|
|
|
font-size: clamp(1.2rem, 2.5vw, 1.8rem);
|
|
|
|
|
margin-bottom: clamp(10px, 2vh, 15px);
|
2025-12-31 17:05:48 +00:00
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.final-score-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
2025-12-31 17:40:34 +00:00
|
|
|
padding: clamp(8px, 1.5vh, 12px) clamp(15px, 2vw, 20px);
|
|
|
|
|
margin: clamp(5px, 1vh, 8px) 0;
|
2025-12-31 17:05:48 +00:00
|
|
|
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: #fff;
|
2025-12-31 17:40:34 +00:00
|
|
|
font-size: clamp(1rem, 2vw, 1.3rem);
|
2025-12-31 17:05:48 +00:00
|
|
|
font-weight: 500;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.final-score-value {
|
|
|
|
|
color: #ffd700;
|
2025-12-31 17:40:34 +00:00
|
|
|
font-size: clamp(1rem, 2vw, 1.3rem);
|
2025-12-31 17:05:48 +00:00
|
|
|
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: #ffd700;
|
|
|
|
|
text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
|
|
|
|
|
}
|
|
|
|
|
|
2025-12-31 16:53:26 +00:00
|
|
|
|