        .stage > * {
            opacity: 0;
            animation: fadeIn 10s linear forwards;
        }

        /* Stage Animations */
        .stage > *:nth-child(1) { animation-delay: 0s; }
        .stage > *:nth-child(2) { animation-delay: 3s; }
        .stage > *:nth-child(3) { animation-delay: 5s; }

        /* Post-Stage Animations */
        .post-stage {
            position: fixed;
            inset: 0;
            z-index: 20;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: white;
            font-size: 2rem;
        }

        .post-stage > * {
            position: absolute;
            opacity: 0;
            animation: flashText 4s ease-in-out forwards;
        }

        .post-stage > *:nth-child(1) { animation-delay: 16.5s; }
        .post-stage > *:nth-child(2) { animation-delay: 20.5s; }
        .post-stage > *:nth-child(3) { animation-delay: 24.5s; }
        .post-stage > *:nth-child(4) { animation-delay: 28.5s; }
        .post-stage > *:nth-child(5) { 
            animation-name: cutInHold;
            animation-duration: 2s;
            animation-delay: 32.5s; 
        }

        /* Special Effects */
        .rainbow {
            background: linear-gradient(90deg, red, orange, yellow, green, cyan, blue, violet, red);
            background-size: 300% 100%;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            animation: rainbowShift 4s linear infinite, flashText 4s ease-in-out forwards;
        }

        .gif-row {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .gif-row img {
            width: 120px;
            height: auto;
        }

        .stage {
            transform-origin: center center;
            animation: kaboom 0.8s ease-in forwards;
            animation-delay: 15s; /* after last fadeIn (0-10, 3-13, 5-15) */
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .overlay {
            position: fixed;
            inset: 0;
            background: #000;
            pointer-events: none;
            opacity: 0;
            animation: fadeBlack 0.6s linear forwards;
            animation-delay: 15.6s; /* slightly after kaboom */
        }

        /* Missing Keyframes Added Here */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }   

        @keyframes kaboom {
            0% { transform: scale(1) translateZ(0); opacity: 1; filter: none; }
            60% { transform: scale(2.5) translateZ(0); opacity: 0.6; filter: blur(2px); }
            100% { transform: scale(6) translateZ(0); opacity: 0; filter: blur(10px); display: none; }
        }

        @keyframes fadeBlack {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes rainbowShift {
            0% { background-position: 0% 50%; }
            100% { background-position: 100% 50%; }
        }

        @keyframes flashText {
            0% { opacity: 0; }
            1% { opacity: 1; }
            75% { opacity: 1; } /* stays visible for ~3s */
            76% { opacity: 0; }
            100% { opacity: 0; }
        }

        @keyframes cutInHold {
            0% { opacity: 0; }
            1% { opacity: 1; }
            100% { opacity: 1; }
        }

        /* Explosion Spawning Styles */
        .spawned-explosion {
            position: fixed;
            pointer-events: none;
            z-index: 50;
            transform: translate(-50%, -50%);
        }

        /* Wii Styles */
        body.wii-mode {
            cursor: url('assets/wii%20pointer.png') 16 16, auto !important;
        }

        #wii-container {
            display: none;
            position: fixed;
            inset: 0;
            background: linear-gradient(135deg, #d4d4d4 0%, #f4f4f4 50%, #d4d4d4 100%);
            z-index: 10000;
            padding: 3vw 5vw;
            box-sizing: border-box;
            flex-direction: column;
            font-family: 'Trebuchet MS', Arial, sans-serif;
        }

        .wii-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: repeat(3, 1fr);
            gap: 1.5vw;
            flex-grow: 1;
        }

        .wii-channel {
            background: #fff;
            border-radius: 12px;
            border: 3px solid #ccc;
            box-shadow: inset 0 0 10px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            font-size: 1.2vw;
            color: #888;
            transition: all 0.2s;
            cursor: inherit;
            position: relative;
            overflow: hidden;
        }

        .wii-channel video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.8;
            z-index: 1;
        }

        .wii-channel span {
            position: relative;
            z-index: 2;
            background: rgba(255, 255, 255, 0.8);
            padding: 0.5vw 1vw;
            border-radius: 8px;
            pointer-events: none;
            text-shadow: 0 0 5px #fff;
        }

        .wii-channel:hover {
            transform: scale(1.05);
            border-color: #00ccff;
            box-shadow: inset 0 0 20px rgba(0,204,255,0.2), 0 8px 20px rgba(0,0,0,0.3);
            z-index: 10;
        }

        /* Slider Styles */
        .wii-slider-container {
            flex-grow: 1;
            position: relative;
            width: 100%;
            display: flex;
            align-items: center;
        }

        .wii-slider-viewport {
            width: 100%;
            height: 100%;
            overflow: hidden;
            border-radius: 12px;
        }

        .wii-slider {
            display: flex;
            width: 400%; /* For 4 pages */
            height: 100%;
            transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .wii-page {
            width: 25%; /* 100 / 400 */
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: repeat(3, 1fr);
            gap: 1.5vw;
            padding: 0 4vw;
            box-sizing: border-box;
            height: 100%;
        }

        .wii-arrow {
            position: absolute;
            background: rgba(255,255,255,0.7);
            border: 2px solid #ccc;
            border-radius: 50%;
            width: 3.5vw;
            height: 3.5vw;
            font-size: 1.5vw;
            color: #666;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 100;
            top: 50%;
            transform: translateY(-50%);
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            cursor: inherit;
            transition: all 0.2s;
        }
        .wii-arrow:hover { border-color: #00ccff; background: #fff; transform: translateY(-50%) scale(1.1); }
        .arrow-left { left: 0; }
        .arrow-right { right: 0; }

        /* Detail View Styles */
        #wii-channel-detail {
            display: none;
            position: fixed;
            inset: 0;
            background: #e0e0e0;
            z-index: 20000;
            flex-direction: column;
            animation: fadeInDetail 0.4s ease-out;
            font-family: 'Trebuchet MS', Arial, sans-serif;
            cursor: inherit;
        }

        .detail-video {
            flex-grow: 1;
            width: 100%;
            background: #000;
            overflow: hidden;
            position: relative;
        }

        .detail-video video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .detail-footer {
            height: 12vh;
            background: linear-gradient(180deg, #f0f0f0 0%, #d4d4d4 100%);
            border-top: 2px solid #fff;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 6vw;
            box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
        }

        .detail-btn {
            background: #fff;
            border: 2px solid #ccc;
            border-radius: 50px;
            padding: 1.5vh 4vw;
            font-weight: bold;
            font-size: 1.5vw;
            color: #666;
            box-shadow: inset 0 -2px 5px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.1);
            cursor: inherit;
            transition: all 0.2s;
        }
        .detail-btn:hover { transform: scale(1.05); border-color: #00ccff; }

        @keyframes fadeInDetail {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        @keyframes channelSelect {
            0% { transform: scale(1.05); z-index: 100; box-shadow: 0 0 0 4px #00ccff; }
            50% { transform: scale(1.3); opacity: 1; z-index: 100; background: #fff; }
            100% { transform: scale(4); opacity: 0; z-index: 100; background: #fff; }
        }

        .wii-footer {
            height: 8vh;
            margin-top: 2vh;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 4vh;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2vw;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }

        .wii-btn {
            background: #fff;
            border: 2px solid #ccc;
            border-radius: 50px;
            padding: 1vh 2vw;
            font-weight: bold;
            color: #666;
            box-shadow: inset 0 -2px 5px rgba(0,0,0,0.1);
        }

        /* Mobile Adjustments */
        @media (max-width: 768px) {
            .post-stage {
                font-size: 1.2rem;
            }
            .gif-row img {
                width: 80px;
            }
            .wii-page {
                grid-template-columns: repeat(2, 1fr);
                grid-template-rows: repeat(6, 1fr);
                gap: 3vw;
                padding: 0 5vw;
            }
            .wii-channel {
                border-radius: 8px;
                font-size: 3.5vw;
            }
            .wii-channel span {
                font-size: 3vw;
                padding: 1vw 2vw;
            }
            .wii-arrow {
                width: 10vw;
                height: 10vw;
                font-size: 5vw;
            }
            .wii-footer {
                height: 10vh;
                border-radius: 5vh;
                padding: 0 4vw;
            }
            .wii-btn {
                padding: 1.5vh 4vw;
                font-size: 3.5vw;
            }
            .detail-btn {
                padding: 2vh 6vw;
                font-size: 4vw;
            }
            .detail-footer {
                height: 12vh;
                padding: 0 4vw;
            }
            #wii-container {
                padding: 5vw 4vw;
            }
        }