*   
{
      --primary-cyan: #00f5ff;
      --primary-purple: #8b5cf6;
      --primary-pink: #ec4899;
      --dark-bg: #0a0a0f;
      --card-bg: rgba(15, 23, 42, 0.8);
    }

    ::selection {
      background: #222831; /* 深灰藍黑 */
      color: #00f7ff;      /* 高飽和青藍色 */
    }

    * {
      scroll-behavior: smooth;
    }
    
    body {
      font-family: 'Noto Sans TC', 'Inter', sans-serif;
      background: var(--dark-bg);
      background-image: 
        radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
      color: #e2e8f0;
      overflow-x: hidden;
    }

    /* 粒子背景效果 */
    .particles {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
    }

    .particle {
      position: absolute;
      width: 2px;
      height: 2px;
      background: rgba(0, 245, 255, 0.6);
      border-radius: 50%;
      animation: float 20s infinite linear;
    }

    @keyframes float {
      0% { transform: translateY(100vh) translateX(0px); opacity: 0; }
      10% { opacity: 1; }
      90% { opacity: 1; }
      100% { transform: translateY(-100px) translateX(100px); opacity: 0; }
    }

    /* 動畫效果 */
    .fade-in-up {
      opacity: 0;
      transform: translateY(50px);
      animation: fadeInUp 1s ease forwards;
    }

    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .fade-in-left {
      opacity: 0;
      transform: translateX(-50px);
      animation: fadeInLeft 1s ease forwards;
    }

    @keyframes fadeInLeft {
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    .fade-in-right {
      opacity: 0;
      transform: translateX(50px);
      animation: fadeInRight 1s ease forwards;
    }

    @keyframes fadeInRight {
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    /* 高級RGB漸變文字 */
    .premium-gradient-text {
      background: linear-gradient(45deg, var(--primary-cyan), var(--primary-purple), var(--primary-pink), var(--primary-cyan));
      background-size: 300% 300%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: gradientShift 4s ease-in-out infinite;
    }

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

    /* 玻璃擬態效果 */
    .glass-card {
      background: rgba(15, 23, 42, 0.4);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .glass-card:hover {
      background: rgba(15, 23, 42, 0.6);
      border-color: rgba(0, 245, 255, 0.4);
      transform: translateY(-10px) scale(1.02);
      box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 245, 255, 0.2);
    }

    /* 高級按鈕效果 */
    .premium-btn {
      position: relative;
      background: linear-gradient(45deg, var(--primary-cyan), var(--primary-purple));
      border: none;
      padding: 15px 35px;
      border-radius: 50px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .premium-btn:before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
      transition: left 0.5s;
    }

    .premium-btn:hover:before {
      left: 100%;
    }

    .premium-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 30px rgba(0, 245, 255, 0.4);
    }

    /* 導航欄效果 */
    .nav-blur {
      backdrop-filter: blur(20px);
      background: rgba(10, 10, 15, 0.8);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
      position: relative;
      transition: all 0.3s ease;
    }

    .nav-link:after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--primary-cyan), var(--primary-pink));
      transition: width 0.3s ease;
    }

    .nav-link:hover:after {
      width: 100%;
    }

    /* 技能條動畫 */
    .skill-bar {
      width: 100%;
      height: 8px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      overflow: hidden;
      position: relative;
    }

    .skill-progress {
      height: 100%;
      background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
      border-radius: 10px;
      position: relative;
      animation: skillLoad 2s ease-in-out forwards;
      transform-origin: left;
      transform: scaleX(0);
    }

    @keyframes skillLoad {
      to { transform: scaleX(1); }
    }

    .skill-progress:after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
      animation: shimmer 2s infinite;
    }

    @keyframes shimmer {
      0% { transform: translateX(-100%); }
      100% { transform: translateX(100%); }
    }

    /* 社交媒體圖標效果 */
    .social-icon {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      transition: all 0.3s ease;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .social-icon:hover {
      transform: translateY(-5px) rotate(10deg);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

    /* 響應式字體 */
    @media (max-width: 768px) {
      .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
      }
    }

    /* 裝飾元素 */
    .decoration {
      position: absolute;
      width: 200px;
      height: 200px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(0, 245, 255, 0.1) 0%, transparent 70%);
      animation: float-decoration 6s ease-in-out infinite;
    }

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

    /* 滾動提示 */
    .scroll-indicator {
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      animation: bounce 2s infinite;
    }

    @keyframes bounce {
      0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
      40% { transform: translateX(-50%) translateY(-10px); }
      60% { transform: translateX(-50%) translateY(-5px); }
    }