/* TUG-OF-WAR ENGINE CSS */
.gp-tug-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.gp-tug-arena {
    width: 100%;
    background: rgba(10, 15, 25, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    margin-bottom: 20px;
}

.gp-tug-bar-container {
    width: 100%;
    height: 40px;
    background: #ff0055; /* Bot side */
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5) inset;
    margin-bottom: 20px;
}

.gp-tug-bar-player {
    height: 100%;
    background: #00ffff; /* Player side */
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    transition: width 0.1s linear;
    box-shadow: -5px 0 15px rgba(0, 255, 255, 0.5);
}

.gp-tug-marker {
    position: absolute;
    top: -5px;
    bottom: -5px;
    width: 4px;
    background: #fff;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px #fff;
    z-index: 10;
}

.gp-tug-avatars {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0 10px;
}

.gp-tug-bot-label {
    color: #ff0055;
    text-shadow: 0 0 10px #ff0055;
}

.gp-tug-player-label {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.gp-tug-board {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
    min-height: 150px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    justify-content: center;
    align-content: center;
    text-transform: uppercase;
}

.gp-tug-board:focus {
    outline: none;
    box-shadow: inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.gp-tug-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}

.gp-tug-overlay.active {
    display: flex;
}

.gp-tug-result-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.gp-tug-result-title.win {
    color: #00ffff;
    text-shadow: 0 0 20px #00ffff;
}

.gp-tug-result-title.lose {
    color: #ff0055;
    text-shadow: 0 0 20px #ff0055;
}
