/* --- 11. RPS MODAL SYSTEM --- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    background: radial-gradient(circle at 50% 20%, #020224, #000000 80%);
    border: 1px solid #000000;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(36, 34, 35, 0.3);
    max-width: 600px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.rps-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    color: #ff6b9d;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    font-family: 'Acme', sans-serif;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-button:hover {
    color: #ffffff;
    transform: scale(1.1);
}
