<style>
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: "微軟正黑體", sans-serif;
    }
    
    .card-background {
      background-color: #f0f7ff;
      padding: 20px 0;
    }
    
    .card-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      padding: 20px;
      width: 100%;
      max-width: 1600px;
      margin: 0 auto;
    }
    
    .card-item {
      width: calc(25% - 20px); /* 預設為4欄 */
      min-height: 280px;
      background: linear-gradient(135deg, #84BDEC, #FFFFFF);
      border-radius: 12px;
      padding: 30px 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      transition: all 0.3s ease;
    }
    
    /* RWD 設定 - 只使用2欄或4欄 */
    @media (max-width: 1024px) {
      .card-item {
        width: calc(50% - 20px); /* 小於1024px時變成2欄 */
        max-width: 320px;
      }
    }
    
    @media (max-width: 768px) {
      .card-item {
        width: 100%; /* 極小螢幕時變成1欄 */
        max-width: 320px;
        max-height: 200px;
      }
    }
    
    .card-item:hover {
      transform: translateY(-10px);
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    }
    
    /* 卡片光暈效果 */
    .card-item:hover::after {
      content: "";
      position: absolute;
      bottom: -15px;
      left: 10%;
      width: 80%;
      height: 15px;
      background: radial-gradient(ellipse at center, rgba(30, 144, 255, 0.6) 0%, rgba(30, 144, 255, 0) 70%);
      border-radius: 50%;
    }
    
    .card-icon {
      background-color: rgba(255, 255, 255, 0.2);
      width: 60px;
      height: 60px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 15px;
    }
    
    .card-icon img {
      max-width: 40px;
      max-height: 40px;
      width: auto;
      height: auto;
      object-fit: contain;
    }
    
    .card-title {
      color: #0037ED;
      font-size: 20px;
      font-weight: bold;
      margin-bottom: 15px;
    }
    
    .card-description {
      color: #0037ED;
      font-size: 14px;
      line-height: 1.5;
    }
    
    /* 游標圖示動畫效果 */
    @keyframes cursorPulse {
      0% { transform: translateY(0); }
      50% { transform: translateY(-3px); }
      100% { transform: translateY(0); }
    }
    
    .cursor-icon {
      position: absolute;
      bottom: 15px;
      right: 15px;
      width: 24px;
      height: 24px;
      opacity: 0.8;
      animation: cursorPulse 1.2s infinite;
    }
  </style>