/**
 * Spring Dermot Game Styles
 */

.spring-dermot-game-container {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    font-family: 'Press Start 2P', 'Courier New', monospace;
}

#spring-dermot-game-canvas {
    background-color: #F5F5F5; /* Light gray background */
    border: 4px solid #333;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    image-rendering: pixelated; /* For retro pixel art look */
    image-rendering: crisp-edges;
}

.spring-dermot-game-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #333;
    color: white;
    border-radius: 5px 5px 0 0;
}

.spring-dermot-game-score,
.spring-dermot-game-celebrities {
    font-size: 18px;
}

.spring-dermot-game-controls {
    margin-top: 15px;
}

#spring-dermot-start-button,
#spring-dermot-restart-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    font-family: 'Press Start 2P', 'Courier New', monospace;
}

#spring-dermot-start-button:hover,
#spring-dermot-restart-button:hover {
    background-color: #45a049;
}

.spring-dermot-game-instructions {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 5px;
    text-align: left;
}

.spring-dermot-game-instructions p {
    margin: 5px 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

/* Game Over Message */
.spring-dermot-game-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: red;
    text-shadow: 2px 2px 0 #000;
    display: none;
}

/* Mobile controls for touch devices */
.spring-dermot-mobile-controls {
    display: none;
    margin-top: 10px;
    justify-content: center;
}

.spring-dermot-mobile-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 20px;
    margin: 0 5px;
    font-size: 24px;
    border-radius: 10px;
    width: 60px;
    height: 60px;
}

.spring-dermot-mobile-button.celebrity {
    background-color: rgba(255, 0, 0, 0.5);
}

/* Show mobile controls on touch devices */
@media (hover: none) and (pointer: coarse) {
    .spring-dermot-mobile-controls {
        display: flex;
    }
}
