         /* ===== iPhone Hover START ===== */

        .iphone-icon { background: linear-gradient(135deg, #e8b4cb 0%, #f7d794 50%, #d4a574 100%); }
        .iphone-bar { 
            background: linear-gradient(135deg, #e8b4cb 0%, #f7d794 50%, #d4a574 100%); 
            left: var(--iphone-position); 
            width: var(--iphone-duration); 
        }


        .iphone-animation-popup { 
            width: 500px;
            height: 350px;
            background: linear-gradient(135deg, #1c1c1e 0%, #000000 100%);
            border-radius: 20px;
            overflow: hidden;
            position: absolute; /* 確保是絕對定位 */
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
            /* 針對 iPhone 位置調整 - 使用 bottom 避免下方被截斷 */
            z-index: 1001 !important;
            bottom: 100% !important;
            top: auto !important;
            left: 100% !important;
            margin-bottom: 10px !important; /* 增加一些間距避免貼邊 */
            transform: translateX(10px) scale(0.9) !important;
        }
        
        /* 當滑鼠懸停時調整位置 */
        .timeline-bar:hover + .iphone-animation-popup {
            transform: translateX(0) scale(1) !important;
        }
        .iphone-animation-popup .stars {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 1;
        }
        
        .iphone-animation-popup .star {
            position: absolute;
            width: 3px;
            height: 3px;
            background: #ffffff;
            border-radius: 50%;
            animation: iph-starTwinkle 4s ease-in-out infinite;
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
        }
        
        .iphone-animation-popup .star:nth-child(1) { top: 15%; left: 20%; animation-delay: 0s; }
        .iphone-animation-popup .star:nth-child(2) { top: 30%; left: 80%; animation-delay: 1s; }
        .iphone-animation-popup .star:nth-child(3) { top: 20%; left: 60%; animation-delay: 2s; }
        .iphone-animation-popup .star:nth-child(4) { top: 70%; left: 25%; animation-delay: 3s; }
        .iphone-animation-popup .star:nth-child(5) { top: 80%; left: 75%; animation-delay: 4s; }
        
        @keyframes iph-starTwinkle {
            0%, 100% { opacity: 0.3; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.5); }
        }
        
        .iphone-animation-popup .glow-effect {
            position: absolute;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(135, 206, 250, 0.05) 60%, transparent 80%);
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            animation: iph-glowPulse 6s ease-in-out infinite;
            z-index: 1;
        }
        
        @keyframes iph-glowPulse {
            0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
            50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
        }
        .iphone-animation-popup .iphone-container {
            text-align: center;
            z-index: 10;
            position: relative;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }
        
        .iphone-animation-popup .iphone-logo {
            font-size: 4rem;
            margin-bottom: 1rem;
            opacity: 0;
            animation: iph-logoAppear 2s ease-out forwards;
            position: relative;
            filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
        }
        
        .iphone-animation-popup .iphone-icon-large {
            background: linear-gradient(135deg, #ffffff 0%, #87ceeb 50%, #4169e1 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: iph-iconFloat 4s ease-in-out infinite;
            display: inline-block;
        }
        
        @keyframes iph-logoAppear {
            0% { opacity: 0; transform: scale(0.5) rotateY(-90deg); }
            100% { opacity: 1; transform: scale(1) rotateY(0deg); }
        }
        
        @keyframes iph-iconFloat {
            0%, 100% { transform: translateY(0px) rotateY(0deg); }
            50% { transform: translateY(-10px) rotateY(180deg); }
        }
        
        .iphone-animation-popup .iphone-text {
            font-size: 2.5rem;
            font-weight: 300;
            background: linear-gradient(135deg, #ffffff 0%, #87ceeb 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.8rem;
            opacity: 0;
            animation: iph-textSlideIn 1.5s ease-out 1s forwards;
            filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
        }
        
        @keyframes iph-textSlideIn {
            0% { opacity: 0; transform: translateX(-50px); }
            100% { opacity: 1; transform: translateX(0); }
        }
        
        .iphone-animation-popup .subtitle {
            font-size: 1.1rem;
            font-weight: 200;
            color: #87ceeb;
            margin-bottom: 1.5rem;
            opacity: 0;
            animation: iph-subtitleFadeIn 1.5s ease-out 2s forwards;
            filter: drop-shadow(0 0 10px rgba(135, 206, 250, 0.3));
        }
        
        @keyframes iph-subtitleFadeIn {
            0% { opacity: 0; transform: translateY(20px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        .iphone-animation-popup .floating-particles {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 2;
        }
        
        .iphone-animation-popup .particle {
            position: absolute;
            width: 3px;
            height: 3px;
            background: #87ceeb;
            border-radius: 50%;
            animation: iph-particleFloat 8s ease-in-out infinite;
            box-shadow: 0 0 6px rgba(135, 206, 250, 0.6);
        }
        
        .iphone-animation-popup .particle:nth-child(1) { left: 15%; animation-delay: 0s; }
        .iphone-animation-popup .particle:nth-child(2) { left: 35%; animation-delay: 2s; }
        .iphone-animation-popup .particle:nth-child(3) { left: 65%; animation-delay: 4s; }
        .iphone-animation-popup .particle:nth-child(4) { left: 85%; animation-delay: 6s; }
        
        @keyframes iph-particleFloat {
            0% { transform: translateY(100%) scale(0) rotate(0deg); opacity: 0; }
            20% { opacity: 1; transform: translateY(80%) scale(1) rotate(90deg); }
            80% { opacity: 1; transform: translateY(20%) scale(1) rotate(270deg); }
            100% { transform: translateY(0%) scale(0) rotate(360deg); opacity: 0; }
        }
        
        .iphone-animation-popup .loading-bar {
            position: absolute;
            bottom: 20%;
            left: 50%;
            transform: translateX(-50%);
            width: 180px;
            height: 4px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 2px;
            overflow: hidden;
            opacity: 0;
            animation: iph-loadingBarAppear 1s ease-out 3s forwards;
        }
        
        .iphone-animation-popup .loading-progress {
            height: 100%;
            background: linear-gradient(90deg, #4169e1 0%, #87ceeb 50%, #ffffff 100%);
            border-radius: 2px;
            animation: iph-loadingFlow 3s ease-in-out 4s infinite;
            transform: translateX(-100%);
            box-shadow: 0 0 10px rgba(135, 206, 250, 0.5);
        }
        
        @keyframes iph-loadingBarAppear {
            0% { opacity: 0; }
            100% { opacity: 1; }
        }
        
        @keyframes iph-loadingFlow {
            0% { transform: translateX(-100%); }
            50% { transform: translateX(0%); }
            100% { transform: translateX(100%); }
        }
        /* ===== iPhone Hover END ===== */