/* --- GOPHER JUMP ANIMATION --- */
.gopher-character {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 60px;
    height: 60px;
    cursor: pointer;
    /* JS controls transform for positioning */
}

.gopher-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}

.gopher-character:hover .gopher-img {
    transform: scale(1.1) rotate(5deg);
}

.gopher-dialog {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.9);
    background: rgba(13, 18, 28, 0.95);
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    color: var(--text-bright);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    width: max-content;
    max-width: 250px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 11;
}

.gopher-dialog::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: var(--neon-cyan) transparent transparent transparent;
}

.gopher-character:hover .gopher-dialog {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}
