  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }


  :root {
    --bg: #0a0a0c;
    --surface: #111116;
    --border: #1e1e26;
    --border-light: #2a2a36;
    --text-primary: #f0eff5;
    --text-secondary: #8a89a0;
    --text-muted: #4a4960;
    --accent: #4a9eff;
    --accent-dim: rgba(74,158,255,0.12);
    --green: #3dd68c;
  }

  html, body {
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--bg);
    color: var(--text-primary);
    font-family: Arial, 'Noto Sans TC', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    overflow: hidden;
  }

  /* Ambient glow background */
  body::before {
    content: '';
    position: fixed;
    top: -20vh;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(74,158,255,0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
  }

  .bg-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
  }
  #bee-back {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10;
    pointer-events: none;
    display: none;
  }
  #boar-back {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 5;
    pointer-events: none;
    display: none;
  }
  #boar-mid {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 15;
    pointer-events: none;
    display: none;
  }
  #bee-front {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 30;
    pointer-events: none;
    display: none;
  }

  /* 3D Flip Container */
  .card-flip-container {
    position: relative;
    z-index: 20;
    width: calc(100% - 10px);
    max-width: 900px;
    margin: 20px auto;
    perspective: 1000px;
    animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) both;
    cursor: pointer;
  }
  .card-inner {
    position: relative;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
  }
  .card-inner.flipped {
    transform: rotateY(180deg);
  }
  .card {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
  }
  .card-front {
    overflow: hidden;
    border-radius: 20px;
  }
  .card-back {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Top strip */
  .card-header {
    padding: 36px 12px 28px 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }

  .logo-wrap {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    overflow: hidden;
  }

  .logo-wrap img {
    width: 72px;
    height: 72px;
    object-fit: contain;
  }

  .name-block { flex: none; }

  .name-zh {
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 700;
    font-size: 32px;
    letter-spacing: 0.45em;
    margin-right: -0.45em;
    color: var(--text-primary);
    line-height: 1.1;
    white-space: nowrap;
  }

  .name-en {
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    margin-top: 2px;
  }

  .title-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--accent-dim);
    border: 1px solid rgba(74,158,255,0.2);
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.06em;
  }

  .title-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
  }

  /* Company block */
  .company-block {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
  }

  .company-en {
    font-family: Arial, sans-serif;
    font-weight: 600;
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    margin-top: 3px;
    white-space: nowrap;
  }

  .company-zh {
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
    letter-spacing: 0.06em;
  }

  .brand-highlight {
    color: #5292D7;
    font-weight: 900;
    font-size: 26px;
    letter-spacing: 0.1em;
  }

  /* Contact links */
  .links {
    padding: 14px 28px;
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  .link-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 13.5px;
    transition: background 0.2s, color 0.2s;
    margin: 0 -12px;
    animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) both;
  }

  .link-item:nth-child(1) { animation-delay: 0.1s; }
  .link-item:nth-child(2) { animation-delay: 0.15s; }
  .link-item:nth-child(3) { animation-delay: 0.2s; }
  .link-item:nth-child(4) { animation-delay: 0.25s; }
  .link-item:nth-child(5) { animation-delay: 0.3s; }

  .link-item:hover {
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
  }

  .link-item:hover .link-icon { color: var(--accent); }

  .link-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--border);
    color: var(--text-muted);
    transition: color 0.2s;
  }

  .link-icon svg { width: 16px; height: 16px; }

  .link-text { flex: 1; font-family: Arial, 'Noto Sans TC', sans-serif; font-weight: 400; }

  .link-arrow {
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s, transform 0.2s;
    color: var(--text-muted);
    font-size: 16px;
  }

  .link-item:hover .link-arrow {
    opacity: 1;
    transform: translateX(0);
  }

  /* Footer */
  .card-footer {
    padding: 12px 28px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer-domain {
    font-family: Arial, sans-serif;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.08em;
  }

  .footer-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 6px var(--green);
  }

  /* Flip button */
  .flip-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: 'Noto Sans TC', Arial, sans-serif;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 14px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
  }
  .flip-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
  }

  /* card-back positioning handled by .card-back above */

  .back-content {
    padding: 16px 20px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .back-title {
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
    margin: 0 0 10px;
  }
  .back-text {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0 0 6px;
    text-align: justify;
  }
  .back-subtitle {
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
    margin: 0 -20px 6px;
    padding: 16px 20px 0;
    border-top: 1px solid var(--border);
  }
  .back-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .back-list li {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
    padding: 3px 0 3px 16px;
    position: relative;
  }
  .back-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #5292D7;
    font-weight: bold;
  }
  .back-privacy {
    margin: 14px 0 0;
    font-size: 11px;
    text-align: center;
    color: var(--text-secondary);
    opacity: 0.75;
  }
  .back-privacy a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  