.unity-backdrop {
    position: fixed;
    inset: 0;

    z-index: 9998;

    background: rgba(0, 0, 0, 0.35);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    display: none;
}

.unity-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 1280px;
    height: 770px;

    z-index: 9999;

    display: none;
}

.unity-overlay {
    width: 100%;
    height: 100%;

    border: none;
    display: block;
}

/* Close button */
.unity-close {
    position: absolute;
    top: 87%;
    left: 47%;

    width: 75px;
    height: 40px;

    border: none;
    border-radius: 8px;

    background: rgba(0, 0, 0, 0.75);
    color: white;

    font-size: 24px;
    line-height: 40px;

    cursor: pointer;

    z-index: 10000;

    transition: background 0.2s, transform 0.2s;
}

.unity-close:hover {
    background: #e53935;
    transform: scale(1.05);
}

#gameTooltip {
    animation: rgbGlow 4s linear infinite;
}

@keyframes rgbGlow {
    0% {
        box-shadow:
            0 0 8px rgba(255, 0, 0, 0.7),
            0 0 18px rgba(255, 0, 0, 0.4);
    }

    33% {
        box-shadow:
            0 0 8px rgba(0, 255, 0, 0.7),
            0 0 18px rgba(0, 255, 0, 0.4);
    }

    66% {
        box-shadow:
            0 0 8px rgba(0, 100, 255, 0.7),
            0 0 18px rgba(0, 100, 255, 0.4);
    }

    100% {
        box-shadow:
            0 0 8px rgba(255, 0, 0, 0.7),
            0 0 18px rgba(255, 0, 0, 0.4);
    }
}


.game-tooltip-title {
    padding: 6px 12px 10px 12px;
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    border-bottom: 1px solid #444;
    margin-bottom: 4px;
}

.game-tooltip-option {
    display: block !important;
    width: 100%;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    box-sizing: border-box;
}

.game-tooltip-option:hover {
    background: #555;
    color: #fff;
}

.game-tooltip-option:active {
    background: #777;
    transform: scale(0.97);
}

.play-now-option {
    background: #2e7d32;
}

.play-now-option:hover {
    background: #43a047;
}

.play-now-option:active {
    background: #66bb6a;
}

.play-now-option.disabled {
    background: #555;
    color: #aaa;
    cursor: not-allowed;
}

.play-now-option.disabled:hover {
    background: #555;
}

.game-tooltip-option i {
    width: 20px;
    margin-right: 8px;
    text-align: center;
}

.game-tooltip-title i {
    margin-right: 8px;
}


.game-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0px;
}

.game-icon {
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 16px;

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;

    opacity: 0.85;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        opacity 0.18s ease,
        box-shadow 0.18s ease;
}

.game-icon:hover {
    transform: scale(1.18);
    background: rgba(255, 255, 255, 0.16);
    opacity: 1;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
