/* --- 1. 全域樣式與配色 --- */
:root {
    --color-dark: #1A1A1A;
    --color-darker: #050505;
    --color-accent: #F58600;
    --color-text-light: #FFFFFF;
    --color-text-dim: #CCCCCC;
    --font-main: 'Inter', sans-serif;
    --font-title: 'Orbitron', sans-serif;
    --font-hero: 'Zen Antique', serif; 
    --header-height: 100px; 
    --header-height-scrolled: 60px; 
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: none; /* 隱藏系統預設游標 */
}

a, button, .cta-button, .pagination-btn, .nav-arrow, .dot, .hero-arrow, .hero-dot {
    cursor: none;
}

body {
    background-color: var(--color-dark);
    color: var(--color-text-light);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--color-accent);
    transition: color 0.3s;
}

a:hover {
    color: #FF9933;
}

.section {
    padding: 80px 5%;
    width: 100%;
    text-align: center;
}

h2 {
    font-family: var(--font-title);
    font-size: 2.8em;
    color: var(--color-text-light);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title-line {
    display: inline-block;
    border-bottom: 4px solid var(--color-accent);
    padding-bottom: 10px;
    margin-bottom: 60px;
    text-shadow: 0 0 10px rgba(245, 134, 0, 0.3);
}

/* --- 2. 導航列與標頭 --- */
.header {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 25px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--color-accent);
    height: var(--header-height);
    transition: height 0.3s ease, background-color 0.3s ease;
}

.header.scrolled {
    height: var(--header-height-scrolled);
    background-color: rgba(0, 0, 0, 0.98);
}

.logo img {
    max-height: 70px;
    width: auto;
    transition: max-height 0.3s ease;
    position: relative; 
    top: 5px; /* 向下移動 3 像素 (您可以根據需要調整 3px) */
}

.header.scrolled .logo img {
    max-height: 40px;
}

.nav a {
    color: var(--color-text-light);
    margin-left: 25px;
    font-weight: 600;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav a:hover {
    color: var(--color-accent);
    text-shadow: 0 0 5px var(--color-accent);
}

/* --- 3. 英雄區塊 (Hero) --- */
.hero {
    height: 95vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), 
        url('https://i.imgur.com/tZEbMGS.jpeg') no-repeat center center/cover;
    background-position: center center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden; 
    transition: background-image 0.5s ease-in-out;
}

.hero-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none; 
}

.hero-arrow {
    pointer-events: auto;
    background: rgba(0,0,0,0.5);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    transition: all 0.3s;
    border: 1px solid var(--color-accent);
}

.hero-arrow:hover {
    background: var(--color-accent);
    transform: scale(1.1);
}

.hero-dots-container {
    position: relative; 
    margin-top: 30px;   
    display: flex;
    gap: 15px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.hero-dot:hover { background-color: rgba(255,255,255,0.8); }
.hero-dot.active { 
    background-color: var(--color-accent); 
    box-shadow: 0 0 10px var(--color-accent);
    transform: scale(1.2);
}

.hero-animation-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    pointer-events: none;
    animation: hero-sequence-animation 1s infinite steps(4); 
}

@keyframes hero-sequence-animation {
    0% { 
        filter: hue-rotate(0deg) saturate(200%); 
        opacity: 0.95;
        background: linear-gradient(rgba(255, 0, 255, 0.7) 0px, rgba(0, 255, 255, 0.7) 5px);
        background-size: 100% 8px;
    }
    25% { opacity: 0; filter: none; background: none; }
    50% { opacity: 0; filter: none; background: none; }
    75% { opacity: 0; filter: none; background: none; }
    100% { opacity: 0; }
}

.hero > * { position: relative; z-index: 2; }

/* --- 4. 修改功能: Text Flip Animation (DotGothic16, 6em, 邁進) --- */
#container {
    font-family: var(--font-hero); /* 使用 DotGothic16 變數 */
    color: #fff;
    text-transform: uppercase;
    font-size: 6em; /* 設置為 6em */
    font-weight: 400; 
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    position: relative; 
    z-index: 5;
    text-shadow: 0 0 25px rgba(0,0,0,0.9);
    
    /* 位置調整 */
    margin-top: -60px;  
    margin-bottom: 50px; 
}

.anim-line-1 {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 翻轉容器調整 */
#flip {
    height: 1.1em; /* 配合字體高度 */
    overflow: hidden;
}

#flip > div > div {
    color: var(--color-accent); 
    padding: 0;
    height: 1.1em;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none; 
    border: none;
}

/* 文字顏色輪換 */
#flip > div > div:nth-child(odd) { color: var(--color-accent); }
#flip > div > div:nth-child(even) { color: #fff; }

#flip > div {
    animation: showFlip 12s steps(20) infinite; 
}

@keyframes showFlip {
    0% { margin-top: 0px; }
    100% { margin-top: -22em; } 
}

/* 第二行：不斷突破 + 呼吸燈 + 底線 */
.anim-line-2 {
    display: flex;
    gap: 15px;
}

.neon-breathing {
    color: #fff; 
    position: relative;
    /* 模擬答案底線效果 */
    border-bottom: 6px solid var(--color-accent); 
    padding-bottom: 5px; 
    display: inline-block;
    line-height: 1; 
    
    animation: neonPulse 1.5s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    from {
        text-shadow: 0 0 10px var(--color-accent), 0 0 20px var(--color-accent);
        box-shadow: 0 10px 10px -10px rgba(245, 134, 0, 0.5); 
        border-bottom-color: rgba(245, 134, 0, 0.7);
    }
    to {
        text-shadow: 0 0 20px var(--color-accent), 0 0 40px var(--color-accent), 0 0 60px #FFD700;
        box-shadow: 0 15px 15px -10px rgba(245, 134, 0, 1);
        border-bottom-color: var(--color-accent);
    }
}

/* ------------------------------------------- */

.hero-title-container {
    margin-bottom: 30px;
    margin-top: 10px;
    transform-origin: center center;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    will-change: transform, opacity;
}

.hero h1 {
    font-family: var(--font-title);
    font-size: 3.8em; 
    color: var(--color-accent);
    text-shadow: 0 0 30px rgba(245, 134, 0, 0.7);
    line-height: 1.2;
    text-transform: uppercase;
    cursor: pointer;
}

.hero h1 span { display: block; }

.hero-text-container {
    max-width: 1000px;
    margin-bottom: 10px; 
    text-align: center;
    font-size: 1.2em;
    color: var(--color-text-dim);
    min-height: 4em; 
}

.typewriter-line {
    display: block;
    margin-bottom: 5px;
}

/* Matrix CTA Button */
.cta-button {
    position: relative;
    background-color: #000; 
    color: var(--color-accent); 
    border: 2px solid var(--color-accent); 
    padding: 15px 40px;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(245, 134, 0, 0.2);
    display: inline-block;
    overflow: hidden; 
    text-transform: uppercase;
    z-index: 5;
    margin-top: 20px;
}

.cta-button:hover {
    box-shadow: 0 0 25px var(--color-accent);
    color: #fff; 
    transform: scale(1.05);
    text-shadow: 0 0 8px var(--color-accent);
}

.btn-code-rain {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(245, 134, 0, 0) 0%,
        rgba(245, 134, 0, 0.4) 50%, 
        rgba(245, 134, 0, 0) 100%
    );
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

.cta-button:hover .btn-code-rain {
    opacity: 1;
    animation: btn-rain-anim 1s linear infinite;
}

@keyframes btn-rain-anim {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* --- 4. 關於我們 (ABOUT US - 改版) --- */
.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    align-items: center; 
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.about-text { flex: 1; min-width: 300px; }

/* 雙層圖片容器樣式 */
.about-image-container {
    flex: 1;
    min-width: 300px;
    position: relative;
    height: 400px; 
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    cursor: none;
}

.about-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); 
    transition: all 0.8s ease; 
}

.about-logo-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%; 
    height: auto;
    opacity: 1;
    transition: all 0.5s ease;
    z-index: 2;
}

.about-image-container:hover .about-bg-img {
    filter: brightness(1); 
    transform: scale(1.1); 
}

.about-image-container:hover .about-logo-img {
    opacity: 0.3; 
    transform: translate(-50%, -50%) scale(0.8); 
}

.about-text h3 {
    font-size: 1.8em;
    color: var(--color-text-light);
    margin-bottom: 15px;
    border-left: 5px solid var(--color-accent);
    padding-left: 15px;
}

.about-text p {
    color: var(--color-text-dim);
    margin-bottom: 20px;
    font-size: 1.1em;
}

/* 新增的 About 清單樣式 */
.about-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.about-list li {
    font-size: 1.1em;
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.about-list li::before {
    content: '\2714'; 
    color: var(--color-accent);
    margin-right: 10px;
    font-weight: bold;
    font-size: 1.2em;
}

/* --- 5. 服務區塊 (CORE SERVICES - 互動增強修改) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: #222222;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(245, 134, 0, 0.3); 
    transition: all 0.4s ease; 
    text-align: center;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden; 
}

.service-card:hover {
    border-color: #fff; 
    box-shadow: 0 10px 40px rgba(245, 134, 0, 0.15);
    background-color: #2a2a2a;
}

.service-card .icon {
    font-size: 3em;
    color: var(--color-accent);
    margin-bottom: 15px;
    transform: translateZ(20px);
    transition: all 0.4s ease; 
}

.service-card:hover .icon {
    transform: translateZ(30px) scale(0.5) translateY(-40px);
    color: #fff;
}

.service-card h3 {
    font-family: var(--font-title);
    font-size: 1.3em;
    margin-bottom: 10px;
    transform: translateZ(10px);
    line-height: 1.4;
    transition: all 0.4s ease;
}

.service-card:hover h3 {
    color: var(--color-accent);
    transform: translateZ(30px) translateY(-30px);
}

.service-card p {
    color: #ddd;
    font-size: 0.95em;
    transition: all 0.4s ease;
    transform: translateZ(10px);
}

.service-card:hover p {
    transform: translateZ(30px) translateY(-30px);
}

/* --- 6. 統計數據 (OUR RECORD - Pop-up 修正) --- */
.stats-section {
    background-color: var(--color-darker);
    border-top: 1px solid rgba(245, 134, 0, 0.2);
    border-bottom: 1px solid rgba(245, 134, 0, 0.2);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    max-width: 900px;
    margin: 40px auto;
}

.stat-card {
    flex: 1;
    padding: 30px 10px;
    border-radius: 8px;
    background-color: #111111; 
    border: 1px solid rgba(245, 134, 0, 0.1);
}

.stat-card .number {
    font-family: var(--font-title);
    font-size: 4em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(245, 134, 0, 0.4);
}

.stat-card .label {
    font-size: 1.1em;
    color: var(--color-text-dim);
    font-weight: 600;
    text-transform: uppercase;
}

/* 獎項彈窗容器 */
.award-info {
    margin-top: 50px;
    position: relative; 
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
}

.award-icon {
    font-size: 2.5em; 
    color: #FFD700;
    margin-bottom: 0; 
    transition: transform 0.3s;
}

.award-text {
    font-weight: 700;
    font-size: 1.2em;
    color: var(--color-text-light);
    text-decoration: underline; 
    text-underline-offset: 5px;
}

.award-popup {
    position: absolute;
    bottom: 120%; 
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 800px; 
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    pointer-events: none; 
}

.award-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.award-popup img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.award-info:hover .award-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto; 
}

.award-info:hover .award-icon {
    transform: scale(1.2);
}

/* --- 7. 案例區塊 (SHOWCASE) --- */
.showcases-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    width: 100%;
    margin: 0 20px;
    min-height: 400px;
}

.showcase-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid var(--color-accent); 
    box-shadow: 0 0 15px rgba(245, 134, 0, 0.3);
    transition: transform 0.1s, box-shadow 0.3s;
    cursor: none; 
    transform-style: preserve-3d;
    transform: perspective(1000px);
    aspect-ratio: 16 / 9;
}

.showcase-item:hover {
    box-shadow: 0 0 25px var(--color-accent);
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s;
}

.showcase-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    align-items: flex-start; 
    opacity: 0;
    transition: opacity 0.3s;
    padding: 30px;
    text-align: left; 
    transform: translateZ(30px);
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
}

.showcase-overlay h3 {
    font-family: var(--font-title);
    font-size: 1.2em;
    color: var(--color-accent);
    margin-bottom: 2px;
}
/* 確保工作內容與地點之間的距離縮短 */
.showcase-overlay p:first-of-type {
    margin-bottom: 1px; /* 假設這是工作內容段落，縮短其底部間距 */
}
/* 調整地點的上邊距，並覆蓋 JS 中的行內樣式 */
.showcase-overlay p:last-child {
    margin-top: 0px !important; 
    margin-bottom: 0 !important;
}

.nav-arrow {
    background: rgba(0,0,0,0.5);
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    z-index: 10;
}

.nav-arrow:hover {
    background: var(--color-accent);
    color: #fff;
    transform: scale(1.1);
}

.nav-arrow.disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.pagination-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #333;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.dot:hover { background-color: #555; }
.dot.active { background-color: var(--color-accent); box-shadow: 0 0 10px var(--color-accent); }

/* --- 8. 夥伴跑馬燈 (OUR PARTNER) --- */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    /* 修改這裡: 上方間距改為 20px，下方間距保持 40px (可以根據需要調整) */
    margin: 20px auto 20px auto; 
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.marquee-content {
    display: inline-block;
    animation: marquee 160s linear infinite; 
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

.partner-logo {
    display: inline-block;
    margin: 0 30px;
    opacity: 1; 
    transition: transform 0.3s ease; 
}

.partner-logo:hover { 
    transform: scale(1.4); 
}

.partner-logo img { height: 60px; width: auto; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* --- 9. 頁腳 (CONTACT US) --- */
.footer {
    background-color: var(--color-darker);
    padding: 60px 5%;
    text-align: center;
}

@keyframes blink-text {
    0%, 100% { opacity: 1; text-shadow: 0 0 10px rgba(255, 255, 255, 0.2); }
    50% { opacity: 0.7; text-shadow: 0 0 20px rgba(245, 134, 0, 0.6); color: #fff; }
}

.footer h2 {
    font-size: 2em; 
    color: var(--color-text-light); 
    margin-bottom: 30px;
    text-decoration: underline; 
    text-underline-offset: 8px;
    text-decoration-color: var(--color-accent);
    animation: blink-text 2s infinite ease-in-out; 
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
    color: var(--color-text-dim);
    font-size: 1.1em;
}

.contact-info a {
    color: var(--color-text-light);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-info a:hover {
    color: var(--color-accent);
}

/* --- 10. 互動元素 - 十字準星游標 --- */
.cursor-dot {
    position: fixed;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.cursor-outline {
    position: fixed;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
    width: 40px;
    height: 40px;
    background: 
        linear-gradient(to bottom, var(--color-accent) 0%, var(--color-accent) 100%) top center / 2px 10px no-repeat,
        linear-gradient(to bottom, var(--color-accent) 0%, var(--color-accent) 100%) bottom center / 2px 10px no-repeat,
        linear-gradient(to right, var(--color-accent) 0%, var(--color-accent) 100%) left center / 10px 2px no-repeat,
        linear-gradient(to right, var(--color-accent) 0%, var(--color-accent) 100%) right center / 10px 2px no-repeat;
    
    transition: all 0.15s ease-out;
}

/* 懸停時準星變大且旋轉 (瞄準效果) */
body.hovering .cursor-outline {
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%) rotate(45deg);
    background: 
        linear-gradient(to bottom, #fff 0%, #fff 100%) top center / 2px 12px no-repeat,
        linear-gradient(to bottom, #fff 0%, #fff 100%) bottom center / 2px 12px no-repeat,
        linear-gradient(to right, #fff 0%, #fff 100%) left center / 12px 2px no-repeat,
        linear-gradient(to right, #fff 0%, #fff 100%) right center / 12px 2px no-repeat;
}

.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-accent);
    color: var(--color-darker);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 900;
    box-shadow: 0 0 15px rgba(245, 134, 0, 0.5);
}

#backToTop.show { opacity: 1; visibility: visible; }
#backToTop:hover { background-color: #fff; transform: translateY(-5px); }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5em; }
    .services-grid, .showcases-grid, .stats-grid, .contact-info, .about-content { display: block; }
    .about-image-container { height: 250px; margin-top: 20px; }
    .service-card { margin-bottom: 20px; }
    .stat-card { padding: 15px 0; margin-bottom: 15px; }
    .showcases-container { display: block; }
    .showcases-grid { margin: 20px 0; }
    .nav-arrow { display: none; }
    .pagination-dots { display: flex; }
    * { cursor: auto; }
    .cursor-dot, .cursor-outline { display: none; }
    .award-popup { width: 90vw; } 
    
    /* Mobile adjustment for flip text */
    #container { font-size: 3em; flex-direction: column; gap: 5px; margin-top: 0; }
}

.about-list {
    list-style: none;
    padding-left: 0; 
    margin-top: 20px; /* 增加頂部間距以區分段落 */
}

.about-list li {
    position: relative;
    /* 為 > 符號在左側預留空間 */
    padding-left: 25px; 
    /* 保持行高和項目間距 */
    margin-bottom: 15px; 
    line-height: 1.6;
}

/* 使用 ::before 偽元素來建立 "滑動的 > 符號" 效果 (無圓圈) */
.about-list li::before {
    content: '►'; 
    
    color: var(--color-accent, #F58600); 
    font-size: 1.1em;
    font-weight: 700;
    
    display: inline-block; 
    width: auto; 
    height: auto; 
    
    position: absolute;
    left: 0;
    
    /* *** 關鍵修正：使用 Transform 實現精確垂直居中 *** */
    top: 45%; /* 將上邊緣移到父元素高度的 50% 處 */
    transform: translateY(-50%); /* 將符號本身往上移動自身高度的 50% */
}