/* ============================================
   PONG - GAME-SPECIFIC STYLES
   ============================================
   Only contains overrides for Pong game.
   Common styles are in ../../css/styles.css
   ============================================ */

/* Pong uses cyan as accent color */
:root {
    --accent-color: #00ffff;
    --accent-hover: #00cccc;
}

/* Pong has a smaller canvas (800x600) */
.score-board {
    width: 1030px;
}

/* Match leaderboard height to canvas */
.leaderboard {
    height: 608px;
}

/* Touch Controls for Pong */
.touch-controls {
    display: none;
    margin-top: 15px;
}

.touch-paddle-controls {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.touch-btn {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    border: 3px solid var(--accent-color);
    background: rgba(0, 255, 255, 0.2);
    color: var(--accent-color);
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.touch-btn:active {
    background: rgba(0, 255, 255, 0.5);
    transform: scale(0.95);
}

.touch-btn.start-btn {
    width: 120px;
    font-size: 16px;
    font-weight: bold;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .score-board {
        width: 100%;
        max-width: 600px;
    }

    .leaderboard {
        height: auto;
        width: 100%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .touch-controls {
        display: block;
    }
}

@media (max-width: 480px) {
    .touch-btn {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .touch-btn.start-btn {
        width: 100px;
        font-size: 14px;
    }
}
