
        body::before {
            content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.5); z-index: 0;
        }

        h1 {margin-bottom:50px;text-shadow: 2px 2px 10px rgba(0,0,0,0.8); color: #ffcc00; z-index: 1; font-size: clamp(1.5rem, 5vw, 2.5rem);
            text-align: center; }
        
        .wheel-container { 
            position: relative; 
            width: clamp(280px, 85vw, 380px); 
            /* Remove the height clamp and use aspect-ratio instead to force a perfect circle */
            aspect-ratio: 1 / 1; 
            z-index: 1; 
            margin: 0 auto; /* Centers the whole container on the page */
        }
        
        .pointer {
            position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
            width: 0; height: 0; border-left: clamp(15px, 4vw, 20px) solid transparent; 
            border-right: clamp(15px, 4vw, 20px) solid transparent;
            border-top: clamp(30px, 8vw, 40px) solid #ffcc00; z-index: 100;
        }
        
        .outer-glow {
            width: 100%; height: 100%; border-radius: 50%; border: 8px solid #d4af37;
            box-shadow: 0 0 30px #ff4500; display: flex; align-items: center; justify-content: center;
            background: #d4af37; position: relative;
        }

        canvas { 
            width: 100%; 
            height: 100%; 
            border-radius: 50%;
            object-fit: contain;
        }

        .center-logo {
            position: absolute; top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            width: 75px; height: 75px;
            background: white; border-radius: 50%;
            border: 4px solid #ffcc00; z-index: 10;
            display: flex; align-items: center; justify-content: center;
            overflow: hidden; box-shadow: 0 0 15px rgba(0,0,0,0.5);
        }
        .center-logo img { width: 100%; height: 100%; object-fit: contain; }

        .spin-btn {
            margin-top: 85px; padding: 15px 50px; font-size: clamp(18px, 4vw, 22px); font-weight: bold;
            color: #440000; background: linear-gradient(#ffea00, #ff9500);
            border: none; border-radius: 50px; cursor: pointer; 
            box-shadow: 0 6px 0 #b36b00; z-index: 1; transition: 0.2s;
			width: clamp(200px, 60vw, 300px);
        }
        .spin-btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #b36b00; }
        .spin-btn:disabled { background: #666; box-shadow: 0 4px 0 #333; cursor: not-allowed; }

        .modal-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.85); display: none;
            justify-content: center; align-items: center; z-index: 1000;
        }
        .modal {
            background: #fff; color: #333; padding: 30px; border-radius: 20px;
            text-align: center; width: 85%; max-width: 320px;
            box-shadow: 0 10px 30px rgba(255, 204, 0, 0.3);
            transform: scale(0.7); opacity: 0; transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .modal.active { transform: scale(1); opacity: 1; }
        .modal h2 { color: #d44737; margin-top: 0; font-size: 24px; }
        .modal p { font-size: 18px; margin: 15px 0; font-weight: bold; }
        .modal .prize-text { color: #b36b00; font-size: 20px; display: block; margin-top: 5px; }
        .close-btn {
            background: linear-gradient(#ffea00, #ff9500); border: none;
            padding: 10px 30px; font-size: 16px; font-weight: bold;
            border-radius: 25px; cursor: pointer; color: #440000;
            box-shadow: 0 4px 0 #b36b00; margin-top: 15px;
        }

		.bulb-ring {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%); /* This perfectly centers the oversized ring */
            width: 108%; /* Slightly increased to ensure bulbs clear the wheel edge */
            height: 108%;
            border-radius: 50%;
            pointer-events: none;
            transition: opacity 0.15s linear, background 0.2s;
            z-index: 0; /* Keep it behind the pointer/center logo */
        }

		.bulb {
			position: absolute;
			width: 12px;
			height: 12px;
			background: #fff;
			border-radius: 50%;
			box-shadow: 0 0 8px #fff, 0 0 15px #ffcc00;
			transition: 0.2s;
		}

		.bulb.off {
			background: #444;
			box-shadow: none;
		}

		#statsPanel {
			position: absolute;
			right: 20px;
			top: 20px;
			max-height: 80vh;
			overflow-y: auto;
			background: rgba(0,0,0,0.75);
			padding: 15px;
			border-radius: 12px;
			font-size: 14px;
			z-index: 2;
		}

		.side-panels { width: 400px; display: flex; flex-direction: column; gap: 20px; }
        .panel { background: rgba(0,0,0,0.85); padding: 15px; border-radius: 12px; border: 1px solid #444; }
        .panel h3 { margin-top: 0; color: #ffcc00; border-bottom: 1px solid #444; padding-bottom: 8px; font-size: 16px; }

        /* Inventory Manager UI */
        .inventory-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; }
        .inventory-row input { width: 60px; background: #222; border: 1px solid #555; color: #fff; padding: 4px; border-radius: 4px; text-align: center; }
        .stock-status { font-size: 10px; padding: 2px 5px; border-radius: 3px; font-weight: bold; }
        .in-stock { background: #2e7d32; }
        .out-stock { background: #c62828; }

		.stat-row {
			margin: 6px 0;
		}

		.stat-bar {
			height: 6px;
			background: #ffcc00;
			border-radius: 3px;
		}

		/* MOBILE OVERRIDES */
        @media (max-width: 900px) {
            #statsPanel {
                position: relative;
                right: auto; top: auto;
                width: 100%;
                max-width: 400px;
                margin-top: 40px;
                max-height: none;
            }
            body { justify-content: flex-start; padding-top: 40px; }
        }