/* 基礎重置與全域設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #030508; /* 深邃科技黑 */
    /* 全域字體設定為標楷體，提供一致的美學與易讀性 */
    font-family: 'BiauKai', 'DFKai-SB', '標楷體', serif;
    overflow: hidden; /* 隱藏捲動軸，確保 3D 場景沉浸感 */
    color: #ffffff;
}

/* 3D 畫布層：置於最底層 */
#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* UI 容器層：置於 3D 畫布之上 */
.hero-container {
    position: relative;
    z-index: 2;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* 讓滑鼠事件穿透到背景，除非是可互動元素 */
}

/* 內容區塊玻璃擬物化 (Glassmorphism) */
.content-wrapper {
    text-align: center;
    padding: 4rem 6rem;
    background: rgba(10, 15, 30, 0.4);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.05);
    animation: fadeIn 2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto; /* 恢復內容區塊的互動性 */
}

/* 標題霓虹發光效果 */
.title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 0.5rem;
    margin-bottom: 1rem;
    color: #e0ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5),
                 0 0 20px rgba(0, 255, 255, 0.3),
                 0 0 40px rgba(0, 150, 255, 0.2);
}

.subtitle {
    font-size: 1.2rem;
    color: #8ab4f8;
    letter-spacing: 0.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

/* 連結按鈕群組：確保模組化排列與低耦合，各按鈕具備適當間距 */
.action-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* 商用級導航按鈕設計 */
.link-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.1rem;
    color: #030508;
    background: linear-gradient(135deg, #00ffff, #0077ff);
    text-decoration: none; /* 去除超連結底線，維持視覺整齊 */
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

/* 互動回饋：增加商用級 UX 質感 */
.link-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.7);
}

/* 進場動畫 */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(30px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}