/* ==========================================================================
   SYBERSHOOTER — PAGE-SPECIFIC STYLES
   Styles for the canvas-based typing game.
   ========================================================================== */

.game-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
    border: 1px dashed rgba(0, 255, 204, 0.3);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.game-title {
    font-family: 'Silkscreen', sans-serif;
    color: #ff00ff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px #00ffcc;
    margin-bottom: 20px;
}

#game-wrapper {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
    border: 2px solid #00ffcc;
    border-radius: 12px;
    overflow: hidden;
    background: #0d0d0d;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.2), 4px 4px 0px #ff00ff;
}

#gameCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Overlays (Start and Game Over screens) */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.overlay-content {
    padding: 30px;
    border: 2px solid #ff00ff;
    border-radius: 12px;
    background: rgba(13, 13, 13, 0.9);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.3);
    max-width: 80%;
}

.overlay-content h3 {
    font-family: 'Silkscreen', sans-serif;
    color: #00ffcc;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 2px 2px #ff00ff;
}

.overlay-content p {
    font-family: 'Space Grotesk', sans-serif;
    color: #e0e0e0;
    margin-bottom: 20px;
    font-size: 1rem;
}

/* Syber Button Style */
.syber-btn {
    font-family: 'Silkscreen', sans-serif;
    background: transparent;
    color: #00ffcc;
    border: 2px solid #00ffcc;
    padding: 10px 20px;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0px #ff00ff;
}

.syber-btn:hover {
    background: #00ffcc;
    color: #0d0d0d;
    box-shadow: 6px 6px 0px #ff00ff;
    transform: translate(-2px, -2px);
}

/* Game UI */
.game-ui {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 204, 0.2);
}

.ui-item {
    font-family: 'Silkscreen', sans-serif;
    color: #00ffcc;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.neon-text {
    color: #ff00ff;
    text-shadow: 0 0 5px #ff00ff;
    font-weight: bold;
}

#current-input {
    min-width: 100px;
    display: inline-block;
    border-bottom: 2px solid #ff00ff;
    margin-left: 10px;
    padding: 0 5px;
}
