 body {
            margin: 0;
            overflow: hidden;
        }

        /* --- HAMBURGER MENU CSS --- */
        #hamburger-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            z-index: 90; /* Below pause menu, above canvas */
            
            width: 50px;
            height: 50px;
            background-color: rgba(0, 0, 0, 0.85);
            border: 1px solid #ffffff;
            border-radius: 0.75rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
            
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 5px;
            
            cursor: pointer;
            transition: background-color 0.2s ease, transform 0.2s ease;
        }

        #hamburger-btn:hover {
            background-color: #475569; /* Slate hover state matching inputs */
            transform: translateY(-2px);
        }

        #hamburger-btn:active {
            transform: translateY(0);
        }

        /* Lines inside the hamburger button */
        .hamburger-line {
            width: 24px;
            height: 3px;
            background-color: #ffffff;
            border-radius: 2px;
        }

        /* --- PAUSE MENU CSS --- */
        #pause-menu {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 100;

            /* Visual styling */
            background-color: rgba(0, 0, 0, 0.85);
            color: white;
            padding: 40px;
            border-radius: 12px;
            font-family: Arial, sans-serif;
            text-align: center;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);

            /* Flexbox to organize the buttons */
            display: flex;
            flex-direction: column;
            gap: 10px;
            min-width: 250px;
            /* Added so the 100% width buttons look good */
        }
        #settings {
             position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 100;

            /* Visual styling */
            background-color: rgba(0, 0, 0, 0.85);
            color: white;
            padding: 40px;
            border-radius: 12px;
            font-family: Arial, sans-serif;
            text-align: center;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);

            /* Flexbox to organize the buttons */
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 10px;
            min-width: 250px;
            /* Added so the 100% width buttons look good */
        }
        .hidden {
            display: none !important;
        }

        /* --- NEW BUTTON CSS --- */
        .btn {
            width: 100%;
            color: #ffffff;
            font-weight: 700;
            font-size: 1.125rem;
            border-radius: 0.75rem;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            transition: background-color 0.2s ease, transform 0.2s ease;
            cursor: pointer;
            border: none;
        }

        .btn-submit {
            background-color: #4f46e5;
            /* indigo-600 */
            padding: 0.75rem 1.5rem;
            margin-top: 0.5rem;
        }

        /* Hover effect to utilize your transition property */
        .btn-submit:hover {
            background-color: #4338ca;
            /* slightly darker indigo */
            transform: translateY(-2px);
            /* slight lift effect */
        }

        .btn-submit:active {
            transform: translateY(0);
            /* pushes back down on click */
        }



        .form-input {
            width: 100%;
            background-color: #475569;
            /* slate-600 */
            color: #ffffff;
            border-radius: 0.75rem;
            padding: 0.5rem 1rem;
            border: 1px solid #ffffff;
            transition: background-color 0.2s ease;
            box-sizing: border-box;
        }

        .form-input:hover {
            background-color: #64748b;
            /* slate-500 */
        }


        .wall-selector {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 10px 0;
}

.wall-option {
    width: 36px;
    height: 36px;
    border: 2px solid #ffffff;
    background-color: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    user-select: none;
    transition: transform 0.1s, border-color 0.1s;
}

.wall-option:hover {
    transform: scale(1.05);
    border-color: #00FFFF;
}

.wall-option.selected {
    border-color: #00FF00;
    box-shadow: 0 0 8px #00FF00;
}


#phoneModeToggle {
  background-color: #4338ca;
  color: #ffffff;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
}

/* Hover effect: slightly lighter shade */
#phoneModeToggle:hover {
  background-color: #4f46e5;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

/* Click/Active effect: slightly darker shade */
#phoneModeToggle:active {
  background-color: #3730a3;
  transform: scale(0.98);
}

/* Focus outline for accessibility */
#phoneModeToggle:focus-visible {
  outline: 2px solid #818cf8;
  outline-offset: 2px;
}
