*        /*置中*/
        .btn-center {
            text-align: center;
            padding-top: 40px;     /* 把內容往下推 */
            margin-top: 40px;      /* 再推一層保險 */
            position: relative;    /* 讓它優先顯示在 timeline 上面 */
            z-index: 2;
        }

        .view-more-btn {
            display: inline-block;
            margin: 0 auto;
            padding: 10px 30px;
            background-color: #3498db;
            color: white;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            transition: background-color 0.3s ease;
        }

        .view-more-btn:hover {
            background-color: #2980b9;
        }

        /* 全局樣式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft JhengHei', '微軟正黑體', Arial, sans-serif;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            background-color: #f7f9fc;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        section {
            padding: 250px 0;/* 調整網頁定位高度 */
        }
        
        h1, h2, h3 {
            color: #2c3e50;
            margin-bottom: 20px;
        }
        
        p {
            margin-bottom: 15px;
        }
        
        .btn {
            display: inline-block;
            background-color: #3498db;
            color: white;
            padding: 12px 25px;
            text-decoration: none;
            border-radius: 5px;
            transition: background-color 0.3s;
            margin-top: 20px;
            font-weight: bold;
        }
        /*字卡（ 一）*/
        .view-more-btn {
        display: inline-block;
        margin-top: 10px;
        padding: 11px 15px;
        background-color: #3498db;
        color: white;
        text-decoration: none;
        border-radius: 5px;
        transition: background-color 0.3s;
        font-weight: bold;
        }
        .view-more-btn:hover {
            background-color: #2980b9;
        }
        /*字卡（ 二）*/
        .view-more-PRO {
        display: inline-block;
        margin-top: 10px;
        padding: 20px 30px;
        background-color: #346cdb;
        color: white;
        text-decoration: none;
        border-radius: 5px;
        transition: background-color 0.3s;
        font-weight: bold;
        }
        .view-more-btn:hover {
            background-color: #2980b9;
        }
        

        .glow-btn {
           box-shadow: 0 0 15px rgba(52, 152, 219, 0.8), 0 0 25px rgba(52, 152, 219, 0.6);
           animation: glow 1.5s ease-in-out infinite alternate;
           background-color: #3498db;}

          @keyframes glow {
              0% {
            box-shadow: 0 0 8px rgba(52, 152, 219, 0.5), 0 0 16px rgba(52, 152, 219, 0.3);
             }       
           100% {
            box-shadow: 0 0 20px rgba(52, 152, 219, 0.9), 0 0 30px rgba(52, 152, 219, 0.6);
             }
        } 

        .btn:hover {
            background-color: #2980b9;
        }

        .logo {
          display: flex;
          align-items: center;
          font-size: 20px;
          font-weight: bold;
          color: #333;
          gap: 10px;
        }

        .profile-pic {
          width: 50px;
          height: 50px;
          border-radius: 30%;
          object-fit: cover;
        }

        /* 頂部導航 */
        header {
            background-color: white;
            box-shadow: 0 5px 10px rgba(0, 183, 255, 0.377);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }
        
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
        }
        
        .logo {
            font-size: 24px;
            font-weight: bold;
            color: #3498db;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
        }
        
        .nav-links li {
            margin-left: 25px;
        }
        
        .nav-links a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: color 0.3s;
        }
        
        .nav-links a:hover {
            color: #3498db;
        }
        
        /* 首頁區塊 */
        #home {
            height: 100vh;
            display: flex;
            align-items: center;
            background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('/api/placeholder/1200/800') center/cover;
            margin-top: 60px;
        }
        
        .hero-content {
            max-width: 500px;
        }
        
        .hero-content h1 {
            font-size: 44px;
            margin-bottom: 20px;
        }
        
        .hero-content p {
            font-size: 18px;
            margin-bottom: 30px;
        }
        
        /* 關於我 */
        #about {
        background: linear-gradient(to right, rgb(255, 255, 255), rgba(46, 227, 233, 0.438));
        }
        
        .about-content {
            display: flex;
            align-items: center;
            gap: 50px;
        }
        
        .about-text {
            flex: 1;
        }
        
        .about-image {
          flex: 0.5;
          border-radius: 30px;
          overflow: hidden;
          animation: glowEffect 2s linear infinite;
        }        
        @keyframes glowEffect {
          0% {
            box-shadow: 0 0 10px rgba(173, 216, 230, 0.2); /* 淺藍 LightBlue */
          }
          12.5% {
            box-shadow: 0 0 25px rgba(135, 206, 250, 0.4); /* 天藍 SkyBlue */
          }
          25% {
            box-shadow: 0 0 30px rgba(0, 191, 255, 0.5);   /* 深天藍 DeepSkyBlue */
          }
          37.5% {
            box-shadow: 0 0 35px rgba(30, 144, 255, 0.6);  /* 道奇藍 DodgerBlue */
          }
          50% {
            box-shadow: 0 0 40px rgba(0, 0, 255, 0.7);     /* 純藍 Blue */
          }
          62.5% {
            box-shadow: 0 0 35px rgba(25, 25, 112, 0.6);   /* 午夜藍 MidnightBlue */
          }
          75% {
            box-shadow: 0 0 30px rgba(70, 130, 180, 0.5);  /* 鋼藍 SteelBlue */
          }
          87.5% {
            box-shadow: 0 0 25px rgba(176, 224, 230, 0.4); /* 粉藍 PowderBlue */
          }
          100% {
            box-shadow: 0 0 10px rgba(173, 216, 230, 0.2); /* 回到最淡淺藍 */
          }
        }
              
        .about-image img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        /* 學習成果區塊 */
        .achievements-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .achievement-item {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s;
        }
        
        .achievement-item:hover {
            transform: translateY(-10px);
        }
        
        .achievement-image {
            height: 200px;
            background-color: #eee;
            background-size: cover;
            background-position: center;
        }
        
        .achievement-content {
            padding: 20px;
        }
        
        .achievement-content h3 {
            margin-bottom: 10px;
        }
        
        ::selection {
        background: white;
        color: #ff7f00; /* 更濃的橘色也可以這樣調 */
      }


        /* 核心能力區塊 */
        #skills {
        background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0),
            rgba(112, 188, 227, 0.697),
            rgba(6, 163, 241, 0.976),
            rgba(255, 255, 255, 0)
        );
        }
        
        .skills-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 30px;
        }
        
        .skill-category {
            flex: 1;
            min-width: 250px;
            background-color: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .skill-bar {
            height: 10px;
            background-color: #e9ecef;
            border-radius: 5px;
            margin-bottom: 25px;
            position: relative;
        }
        
        .skill-percentage {
            height: 100%;
            border-radius: 5px;
            background-color: #3498db;
            position: relative;
        }
        
        .skill-name {
            margin-bottom: 10px;
            font-weight: 500;
            display: flex;
            justify-content: space-between;
        }
        
         /* 專案經歷區塊 */
        .timeline {
            position: relative;
            max-width: 800px;
            margin: 40px auto 0;
        }
        
        .timeline::after {
            content: '';
            position: absolute;
            width: 4px;
            background-color: #3498db;
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -2px;
        }
        
        .timeline-item {
            padding: 10px 40px;
            position: relative;
            width: 50%;
            box-sizing: border-box;
        }
        
        .timeline-item:nth-child(odd) {
            left: 0;
        }
        
        .timeline-item:nth-child(even) {
            left: 50%;
        }
        
        .timeline-content {
            padding: 20px;
            background-color: white;
            border-radius: 6px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
         .timeline-date {
            color: #3498db;
            font-weight: bold;
            font-size: 14px;
            margin-bottom: 10px;
            display: inline-block;
            background: linear-gradient(45deg, #3498db, #e74c3c);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .timeline-dot {
            width: 20px;
            height: 20px;
            background-color: #3498db;
            border-radius: 50%;
            position: absolute;
            top: 20px;
            z-index: 1;
        }
        
        .timeline-item:nth-child(odd) .timeline-dot {
            right: -10px;
        }
        
        .timeline-item:nth-child(even) .timeline-dot {
            left: -10px;
        }
        
        /* 聯絡區塊 */
        #contact {
            background-color: white;
        }
        
        .contact-info {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 30px;
            margin-top: 30px;
        }
        
        .contact-item {
            flex: 1;
            min-width: 250px;
            background-color: #f8f9fa;
            padding: 25px;
            border-radius: 10px;
            text-align: center;
            transition: transform 0.3s;
        }
        
        .contact-item:hover {
            transform: translateY(-5px);
        }
        
        .contact-icon {
            width: 50px;
            height: 50px;
            margin: 0 auto 15px;
            background-color: #e9ecef;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #3498db;
        }
        
        /* 頁尾 */
        footer {
            background-color: #2c3e50;
            color: white;
            padding: 30px 0;
            text-align: center;
        }
        
        .social-links {
            margin: 20px 0;
        }
        
        .social-links a {
            display: inline-block;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            margin: 0 10px;
            border-radius: 50%;
            color: white;
            text-decoration: none;
            font-size: 18px;
            line-height: 40px;
            transition: background-color 0.3s;
        }
        
        .social-links a:hover {
            background-color: #3498db;
        }
        
        /* 響應式設計 */
        @media (max-width: 768px) {
            .about-content {
                flex-direction: column;
            }
            
            .timeline::after {
                left: 31px;
            }
            
            .timeline-item {
                width: 100%;
                padding-left: 70px;
                padding-right: 25px;
            }
            
            .timeline-item:nth-child(even) {
                left: 0;
            }
            
            .timeline-item:nth-child(odd) .timeline-dot,
            .timeline-item:nth-child(even) .timeline-dot {
                left: 21px;
            }
            
            .nav-links {
                display: none;
            }
        }
        /*專題進行中動畫*/
        .animated-loading {
            display: inline-flex;
            gap: 3px;
            text-decoration: none;
            font-family: 'Audiowide', sans-serif;
            padding: 11px 15px;
            background-color: #db5034;
            color: rgb(255, 255, 255);
            border-radius: 5px;
            font-weight: bold;
            transition: background-color 0.3s;
        }

        .loading__letter {
            font-size: 20px; /* 修正了你原本打錯的 20x */
            animation-name: bounce;
            animation-duration: 2s;
            animation-iteration-count: infinite;
        }

        .loading__letter:nth-child(1) { animation-delay: 0s; }
        .loading__letter:nth-child(2) { animation-delay: 0.1s; }
        .loading__letter:nth-child(3) { animation-delay: 0.2s; }
        .loading__letter:nth-child(4) { animation-delay: 0.3s; }
        .loading__letter:nth-child(5) { animation-delay: 0.4s; }
        .loading__letter:nth-child(6) { animation-delay: 0.6s; }
        .loading__letter:nth-child(7) { animation-delay: 0.8s; }
        .loading__letter:nth-child(8) { animation-delay: 1.0s; }

        @keyframes bounce {
            0% { transform: translateY(0); }
            40% { transform: translateY(-10px); }
            80%, 100% { transform: translateY(0); }
        }
        .tracking-in-contract-bck-top {
            -webkit-animation: tracking-in-contract-bck-top 1s cubic-bezier(0.950, 0.050, 0.795, 0.035) ;
                    animation: tracking-in-contract-bck-top 1s cubic-bezier(0.950, 0.050, 0.795, 0.035) ;
        }
        @-webkit-keyframes tracking-in-contract-bck-top {
        0% {
            letter-spacing: 1em;
            -webkit-transform: translateZ(400px) translateY(-300px);
                    transform: translateZ(400px) translateY(-300px);
            opacity: 0;
        }
        40% {
            opacity: 0.6;
        }
        100% {
            -webkit-transform: translateZ(0) translateY(0);
                    transform: translateZ(0) translateY(0);
            opacity: 1;
        }
        }
        @keyframes tracking-in-contract-bck-top {
        0% {
            letter-spacing: 1em;
            -webkit-transform: translateZ(400px) translateY(-300px);
                    transform: translateZ(400px) translateY(-300px);
            opacity: 0;
        }
        40% {
            opacity: 0.6;
        }
        100% {
            -webkit-transform: translateZ(0) translateY(0);
                    transform: translateZ(0) translateY(0);
            opacity: 1;
        }
        }
 /* 額外的視覺效果 */
        .floating-shapes {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
            pointer-events: none;
        }

        .shape {
            position: absolute;
            opacity: 0.1;
            animation: float 6s ease-in-out infinite;
        }

        .shape:nth-child(1) {
            left: 10%;
            animation-delay: 0s;
        }
        .shape:nth-child(2) {
            left: 20%;
            animation-delay: 1s;
        }
        .shape:nth-child(3) {
            left: 80%;
            animation-delay: 2s;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0px) rotate(0deg);
            }
            50% {
                transform: translateY(-20px) rotate(180deg);
            }
        }




