/* Pong Game Styles - Black & White Minimal Design */

.location-selection {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    font-family: 'InstrumentSerif', serif;
}

.location-selection.hidden {
    display: none;
}

.location-selection-content {
    text-align: center;
    padding: 40px;
}

.location-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.location-btn {
    padding: 30px 50px;
    background: unset;
    border: 0;
    border-color: rgba(0, 0, 0, 0);
    border-style: none;
    color: #1E1E1E;
    font-family: 'InstrumentSerif', serif;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    min-width: 150px;
}

.location-btn:hover {
    opacity: 0.7;
}

.game-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'InstrumentSerif', serif;
}

.game-container.hidden {
    display: none;
}

#pongCanvas {
    width: 100%;
    height: calc(100vh - 200px);
    max-width: 100vw;
    max-height: calc(100vh - 200px);
    background: #FFFFFF;
    touch-action: none;
}

/* Paddle Text (Live Text) */
.paddle-text {
    position: absolute;
    font-family: 'InstrumentSerif', serif;
    font-size: 16px;
    font-weight: bold;
    text-transform: lowercase;
    pointer-events: none;
    z-index: 200;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 16px;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.paddle-left,
.paddle-right {
    color: #1E1E1E;
}

/* Top: Line 89 */
.bus-line-top {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    padding: 0;
    text-align: center;
    z-index: 100;
    pointer-events: none;
    font-size: 14px;
    opacity: 0.8;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    font-family: 'InstrumentSerif', serif;
    color: #1E1E1E;
}


/* Center: Bus Time */
.bus-time-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    padding: 0;
    text-align: center;
    z-index: 100;
    pointer-events: none;
    font-size: 48px;
    font-weight: normal;
    font-family: 'InstrumentSerif', serif;
    color: #1E1E1E;
    text-transform: lowercase;
}


/* Bottom: High Score and Destination */
.bus-info-bottom {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    padding: 0;
    text-align: center;
    z-index: 100;
    pointer-events: none;
    font-size: 14px;
    font-family: 'InstrumentSerif', serif;
    color: #1E1E1E;
    text-transform: lowercase;
}



/* Dark Mode Override: Pong always uses light mode */
body.dark-mode .game-container {
    background: #FFFFFF;
}

body.dark-mode #pongCanvas {
    background: #FFFFFF;
}

body.dark-mode .game-container .paddle-left,
body.dark-mode .game-container .paddle-right,
body.dark-mode .game-container .bus-line-top,
body.dark-mode .game-container .bus-time-center,
body.dark-mode .game-container .bus-info-bottom {
    color: #1E1E1E;
}

/* Home Button - light mode only */
.home-button {
    position: fixed;
    bottom: 20px;
    right: 40px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #1E1E1E;
    background-color: #1E1E1E;
    cursor: pointer;
    z-index: 3000;
    padding: 0;
    transition: all 0.3s ease, transform 0.2s ease;
    display: block;
    text-decoration: none;
}

.home-button:hover {
    transform: scale(1.2);
    background-color: #1E1E1E;
    border-color: #1E1E1E;
}

/* Responsive */
@media (max-width: 768px) {
    .location-btn {
        padding: 20px 30px;
        font-size: 16px;
        min-width: 120px;
    }

    .bus-info {
        top: 10px;
        padding: 10px 20px;
    }

    .bus-time {
        font-size: 28px;
    }
    
    .home-button {
        bottom: 10px;
        right: 10px;
    }

    .quote-display {
        bottom: 10px;
        padding: 10px 15px;
    }

    .quote-text {
        font-size: 12px;
    }
}
