body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #000; 
}

#app {
    display: flex;
    width: 100vw;
    height: 100dvh;
    font-family: 'Press Start 2P', cursive;
    font-weight: normal;
}
.click-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column; 
    align-items: center;    
    justify-content: center; 
    background: #950000;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background 0.1s ease-in;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.game-title{
    font-size: 64px;
    color: #ffd700;
    text-shadow: 6px 6px 0px #000;
    margin-bottom: 30px;
    text-align: center;
}
.display-text {
   padding: 24px;
   width: 80%;
   text-align: center;
   font-size: 20px;
   color: #ffffff; 
   line-height: 1.6;
   text-shadow: 4px 4px 0px #000000;
   background: rgba(0, 0, 0, 0.5);
   border-radius: 10px;
   z-index: 10;
}
.display-text.pulse{
    animation: pulse-text 1.5s infinite;
}
@keyframes pulse-text{
    0% {opacity: 1;}
    50% {opacity: 0.4;}
    100% {opacity: 1;}
}
.recent-scores {
    display: flex;
    flex-direction: column;
    width: 25%;
    min-width: 100px;
    flex-shrink: 0;
    z-index: 20;
    background: #fff; 
    overflow-y: auto;
}
.score {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    padding: 16px;
    font-size: 1.5vw;
    border-bottom: 4px solid rgba(0, 0, 0, 0.1);
}
.score:nth-child(odd) {
    background: #eeeeee;
}

#rotate-message {
    display: none; 
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #000; color: #fff; z-index: 100;
    text-align: center; justify-content: center; align-items: center;
    font-family: 'Press Start 2P', cursive;
    padding: 20px;
}

@media (orientation: portrait) {
    #rotate-message { display: flex; }
    #app { display: none; }
}
@media (max-height: 500px) {
    .score {
        padding: 8px;    
        font-size: 12px;   
    }
    .display-text {
        font-size: 16px;   
        padding: 15px;
    }
}
@media(max-height: 500px){
    .game-title{
        font-size: 32px;
        margin-bottom: 10px;
    }
}
