    .scene-container {
        width: 550px;
        height: 550px;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* --- 圖層與初始狀態 --- */

    .scene-bg {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
        opacity: 0;
    }

    #particles-js {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 2;
        opacity: 0;
        transition: opacity 1.2s ease;
    }

    #particles-js.visible {
        opacity: 1;
    }

    .implant-main {
        position: relative;
        z-index: 3;
        width: 60%;
        opacity: 0;
        /* 初始狀態為透明 */
    }

    /* --- 動畫觸發 Class --- */
    .animate-bg-in {
        animation: bg-fade-in-scale-up 1.5s ease-out forwards;
    }

    .animate-implant-in {
        animation: implant-spin-in 1s ease-out forwards;
    }

    /* 懸浮動畫 Class (已修正) */
    .animate-implant-loop {
        opacity: 1;
        /* 關鍵修正：確保在循環動畫時，元素保持可見 */
        animation: float-subtle 4s ease-in-out infinite;
    }

    /* --- Keyframes 定義 --- */

    /* 背景進場 */
    @keyframes bg-fade-in-scale-up {
        from {
            transform: scale(0.8);
            opacity: 0;
        }

        to {
            transform: scale(1);
            opacity: 1;
        }
    }

    /* 植體進場 */
    @keyframes implant-spin-in {
        from {
            transform: scale(0.1) rotate(-180deg);
            opacity: 0;
        }

        to {
            transform: scale(1) rotate(0deg);
            opacity: 1;
        }
    }

    /* 植體持續懸浮 */
    @keyframes float-subtle {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-15px);
        }
    }

    @media screen and (min-width: 991px) and (max-width: 1200px) {
        .scene-container {
            width: 420px;
            height: 420px;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .hero .hero_item {
            width: 320px;
        }
    }
    @media only screen and (max-width : 991px) {
        .scene-container {
            width: 320px;
            height: 320px;
            max-width: 100%;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .scene-container img,
        .scene-container canvas{
            max-width: 320px;
            height: 320px!important;;
        }
        .hero .hero_item {
            width: 100%;
            height: auto;
            max-width: 320px;
            padding-top: 0px;
            left: 0;
        }
    }