.mobile-touch-key-info {
    position: fixed;
    z-index: 1200;
    width: min(560px, 92vw);
    padding: 26px;
    border: 4px solid rgba(255, 204, 0, 0.7);
    border-radius: 14px;
    background: linear-gradient(180deg, rgb(130 94 58 / 83%) 0%, rgba(24, 14, 3, 0.97) 100%);
    box-shadow: inset 0px 20px 20px 0px rgba(0, 0, 0, 0.5);
}

.mobile-touch-info-btn {
    display: block;
    justify-self: flex-end;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 900;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(180deg, #ffd24d 0%, #ffb300 100%);
    color: #331d00;
    font-family: 'Arimo', sans-serif;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.mobile-control-label {
    color: #ffffff;
    font-family: 'Midnight Crimson', sans-serif;
    text-align: center;
    font-size: 22px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 200px;
}

.mobile-controls-left,
.mobile-controls-right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    pointer-events: auto;
}

.mobile-control-button {
    width: 58px;
    height: 58px;
    border: 3px solid rgba(255, 204, 0, 0.8);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #ffcc00;
    font-family: 'Midnight Crimson', sans-serif;
    font-size: 38px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.jump-img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 204, 0, 0.8);
    object-fit: cover;
    display: block;
    transform: rotate(-70deg);
}

.throw-img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 204, 0, 0.8);
    object-fit: cover;
    display: block;
    transform: rotate(45deg);
}

.keyboard-info {
    height: 82px;
    display: block;
    background: transparent;
    border: none;
}

@keyframes rotateScale {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.keyboard-info:hover {
    transition: transform 0.2s ease-in-out;
    transform-origin: center;
    animation: rotateScale 0.5s ease-in-out;
    filter: drop-shadow(0 6px 4px rgba(0, 0, 0, 0.35));
}

.game-info-trigger,
.help-me-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
    cursor: pointer;
    z-index: 1000;
    pointer-events: auto;
    top: 0px;
}

.game-info-trigger-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.game-help-container {
    display: flex;
    flex-direction: column;
}

.keyboard-info-screen {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.72);
}

.keyboard-info-screen img {
    width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

.game-info-card {
    width: min(560px, 92vw);
    padding: 26px;
    border: 4px solid rgba(255, 204, 0, 0.7);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(59, 31, 4, 0.97) 0%, rgba(24, 14, 3, 0.97) 100%);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.game-info-icon {
    width: clamp(82px, 16vw, 122px);
    height: auto;
    display: block;
    margin: 0 auto 10px;
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.35));
}

.game-info-card h2 {
    margin: 0 0 14px;
    color: #ffcc00;
    font-family: 'Midnight Crimson', sans-serif;
    font-size: 38px;
    letter-spacing: 2px;
}

.game-info-card p {
    margin: 0 0 20px;
    color: #ffffff;
    font-family: 'Arimo', sans-serif;
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: 1px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

.keyboard-left,
.keyboard-right,
.keyboard-jump,
.keyboard-throw {
    color: #ffcc00;
    font-family: 'Midnight Crimson', sans-serif;
    text-align: center;
    font-size: 28px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.keyboard-left-arrow,
.keyboard-right-arrow,
.keyboard-jump-arrow,
.keyboard-throw-key {
    color: #ffcc00;
    font-family: 'Midnight Crimson', sans-serif;
    text-align: center;
    font-size: 22px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
    padding: 4px 12px;
    border: 2px solid rgba(255, 204, 0, 0.8);
    border-radius: 6px;
}

.keyboard-left-container,
.keyboard-right-container,
.keyboard-jump-container,
.keyboard-throw-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 240px;
}

.close-button {
    padding: 10px 28px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffd24d 0%, #ffb300 100%);
    color: #331d00;
    font-family: 'Midnight Crimson', sans-serif;
    font-size: 24px;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.help-me-mobile {
    display: none;
    position: fixed;
    top: 28px;
    right: 120px;
    z-index: 1000;
    cursor: pointer;
}