/* Floating Button */
.remote-menu {
    position: fixed;
    bottom: 20px; /* Bottom-right corner for easy thumb access */
    right: 20px;
    z-index: 1000; /* Ensure it stays above everything else */
}

.remote-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #632E9B; /* Match your theme */
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
    z-index: 1001; /* Keeps it above the overlay */
}

.remote-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* Full screen width */
    height: 100vh; /* Full screen height */
    background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)), url('/images/Backgrounds/MobileRemote.png');
    background-size: auto 90%; /* Stretch the image to cover the entire screen */
    background-position: center; /* Center it (not needed since we stretch, but good practice) */
    background-repeat: no-repeat; /* Prevent tiling */
    display: none; /* Hidden by default */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999; /* Below the trigger button */
    animation: fadeIn 0.3s ease-in-out;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8); /* Add depth with shadowing */
}




.remote-overlay.active {
    display: flex; /* Show overlay */
}

/* Steampunk/Cyberpunk Button Styles */
.remote-item {
    width: 120px;
    height: 120px;
    border-radius: 15px; /* Slightly rounded for a modern feel */
    background: linear-gradient(145deg, #353535, #1c1c1c); /* 3D metallic look */
    border: 2px solid #FF8800; /* Steampunk glow border */
    color: #FFFFFF;
    text-align: center;
    line-height: 120px;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.6), inset -2px -2px 5px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease-in-out, background-color 0.3s, transform 0.2s ease-in-out;
}

.remote-item:hover {
    background: linear-gradient(145deg, #FFAA33, #FF8800); /* Hover glow effect */
    transform: translateY(-5px) scale(1.1); /* Lift the button */
    box-shadow: 0px 8px 12px rgba(255, 136, 0, 0.5), inset 0px 0px 10px rgba(255, 255, 255, 0.2);
}

/* Button Press Animation */
.remote-item:active {
    transform: translateY(2px) scale(0.95); /* Button press effect */
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.8);
}

/* Close Button */
.close-remote {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #FF8800; /* Matches the button style */
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.close-remote:hover {
    transform: scale(1.2); /* Subtle hover feedback */
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
