 
        body {
            background-color: #050505;
            background-image: 
                radial-gradient(circle at 50% 0%, #2a0a0a 0%, transparent 60%),
                repeating-linear-gradient(45deg, rgba(212, 175, 55, 0.03) 0px, rgba(212, 175, 55, 0.03) 1px, transparent 1px, transparent 10px),
                linear-gradient(to bottom, #000000, #0a0a0a);
            color: #fff;
            overflow-x: hidden;
        }

        /* Gold Text Effect */
        .text-gradient-gold {
            background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0px 2px 4px rgba(0,0,0,0.5);
        }

        /* Metallic Borders */
        .border-gold-gradient {
            border: 1px solid transparent;
            background: linear-gradient(#151515, #151515) padding-box,
                        linear-gradient(to bottom, #d4af37, #7a6218) border-box;
        }

        /* 3D Door Container */
        .door-scene {
            perspective: 1200px;
            width: 100%;
            height: 260px;
            display: flex;
            justify-content: center;
            align-items: flex-end;
        }

        /* Luxury Door Frame */
        .door-frame {
            position: relative;
            width: 150px;
            height: 240px;
            background: #1a1a1a;
            /* Gold Metallic Frame */
            border: 6px solid #b38728;
            border-image: linear-gradient(to bottom, #fcf6ba, #aa771c) 1;
            box-shadow: 
                0 0 20px rgba(0,0,0,0.8),
                inset 0 0 20px rgba(0,0,0,0.8);
            margin: 0 auto;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            transform-style: preserve-3d;
        }

        .door-frame:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
        }

        .door-frame.selected {
            box-shadow: 0 0 30px rgba(255, 215, 0, 0.5), 0 0 10px #fff;
            border-color: #fff;
        }

        .door-frame.disabled {
            cursor: not-allowed;
            filter: grayscale(0.8) brightness(0.7);
        }

        /* The Moving Door */
        .door {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* Rich Wood Texture */
            background: 
                linear-gradient(to right, rgba(0,0,0,0.6), transparent),
                linear-gradient(to bottom, #5c2828, #380e0e);
            transform-origin: left;
            transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
            backface-visibility: visible;
            border: 1px solid #3a1515;
        }

        /* Door Handle & Details */
        .door::before { /* Inset panel */
            content: '';
            position: absolute;
            top: 20px; bottom: 20px; left: 20px; right: 20px;
            border: 2px solid rgba(255,215,0,0.3);
            box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
        }

        .door::after { /* Handle */
            content: '';
            position: absolute;
            right: 15px;
            top: 50%;
            width: 14px;
            height: 14px;
            background: radial-gradient(circle at 30% 30%, #ffd700, #b8860b);
            border-radius: 50%;
            box-shadow: 2px 2px 5px rgba(0,0,0,0.6);
        }

        /* Door Number */
        .door-number {
            font-family: 'Cinzel', serif;
            font-size: 3rem;
            color: rgba(255, 215, 0, 0.2);
            font-weight: 900;
        }

        /* States */
        .door-frame.open .door {
            transform: rotateY(-100deg);
        }

        /* Content Behind */
        .door-content {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: radial-gradient(circle, #2a2a2a, #000);
            z-index: 1;
            box-shadow: inset 0 0 20px #000;
        }
        
        .door-content img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Animations */
        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            10%, 30%, 50%, 70%, 90% { transform: translateX(-2px) rotateY(-2deg); }
            20%, 40%, 60%, 80% { transform: translateX(2px) rotateY(2deg); }
        }
        .shaking { animation: shake 0.6s cubic-bezier(.36,.07,.19,.97) both infinite; }

        .glow-danger { animation: pulse-red 1s infinite; }
        @keyframes pulse-red {
            50% { box-shadow: 0 0 30px rgba(196, 30, 58, 0.6); }
        }

        /* Vertical Scrollbar for History */
        .scrollbar-hide::-webkit-scrollbar { display: none; }
        .custom-scrollbar::-webkit-scrollbar { width: 6px; }
        .custom-scrollbar::-webkit-scrollbar-track { background: #1a1a1a; }
        .custom-scrollbar::-webkit-scrollbar-thumb { background: #444; border-radius: 3px; }
        .custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #d4af37; }

        /* Modal */
        .modal { transition: all 0.3s; opacity: 0; visibility: hidden; }
        .modal.active { opacity: 1; visibility: visible; }