#mobile-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px 20px 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 15;
    pointer-events: none;
}

.mc-btn {
    pointer-events: all;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.7);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mc-btn:active, .mc-btn.pressed {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.mc-jump {
    width: 100px;
    height: 80px;
    border-radius: 20px;
    font-size: 1rem;
    letter-spacing: 2px;
}

.mc-dash {
    width: 60px;
    height: 60px;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .game-title {
        font-size: 2rem;
    }

    .screen-title {
        font-size: 1.6rem;
    }

    .menu-btn {
        width: 200px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .hud-value {
        font-size: 1.1rem;
    }

    .hud-label {
        font-size: 0.55rem;
    }
}

@media (max-width: 480px) {
    .game-title {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }

    .game-subtitle {
        font-size: 0.7rem;
        letter-spacing: 3px;
    }

    .screen-content {
        padding: 20px 12px;
    }

    .menu-btn {
        width: 180px;
        padding: 11px 16px;
        font-size: 0.8rem;
    }

    .mc-btn {
        width: 62px;
        height: 62px;
        font-size: 1.3rem;
    }

    .mc-jump {
        width: 88px;
        height: 70px;
    }

    .mc-dash {
        width: 52px;
        height: 52px;
    }
}

@media (min-width: 769px) {
    #mobile-controls {
        display: none !important;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    .screen-content {
        padding: 10px;
    }

    .screen-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .menu-btn {
        width: 180px;
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .title-box {
        width: 40px;
        height: 40px;
    }

    .game-title {
        font-size: 1.8rem;
    }

    .menu-buttons {
        gap: 6px;
    }
}
