/* ==========================================================================
   1. 基本設定與全局重置
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #FFFFFF;
    color: #2C3E50;
    line-height: 1.6;
}

/* ==========================================================================
   導航滾動偏移 - 確保標題不被導航欄遮擋
   ========================================================================== */
#home,
#about,
#portfolio,
#publications,
#awards,
#blog {
    scroll-margin-top: 90px;
}

/* ==========================================================================
   2. 導航欄
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(10, 29, 55, 0.05);
    box-shadow: 0 4px 30px rgba(10, 29, 55, 0.01);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 20px;
}

.nav-logo {
    font-size: 22px;
    font-weight: 800;
    color: #0A1D37;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-link {
    color: #2C3E50;
    text-decoration: none;
    padding: 8px 18px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #0066FF;
    background-color: rgba(0, 102, 255, 0.05);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #0A1D37;
    transition: 0.3s;
    border-radius: 2px;
}

/* ==========================================================================
   3. Hero 首頁區塊
   ========================================================================== */
@keyframes thmLiquidFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    max-width: 100% !important;
    background: linear-gradient(-45deg, #ffffff, #f0f9ff, #e0f2fe, #bae6fd, #ffffff);
    background-size: 400% 400% !important;
    animation: thmLiquidFlow 14s ease-in-out infinite !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 75%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: blur(60px);
    z-index: 1;
}

.hero-content {
    max-width: 950px;
    text-align: center;
    z-index: 2;
}

.hero-tagline {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #0066FF;
    background: rgba(0, 102, 255, 0.05);
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.hero-name {
    font-size: 80px;
    font-weight: 900;
    letter-spacing: -2px;
    color: #0A1D37;
    line-height: 1.1;
    margin-bottom: 10px;
}

.hero-job {
    font-size: 32px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.text-gradient {
    background: linear-gradient(135deg, #0A1D37 0%, #0066FF 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.cursor {
    font-size: 80px;
    color: #0A1D37;
    font-weight: 200;
    margin-left: 8px;
}

.hero-content p {
    font-size: 19px;
    color: #2C3E50;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 45px auto;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-content .btn {
    padding: 15px 36px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: #0066FF;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.15);
    border: none;
}

.btn-primary:hover {
    background: #0052cc;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.3);
}

.btn-secondary {
    background: #ffffff;
    color: #0A1D37;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-3px);
}

/* ==========================================================================
   4. About Me 區塊
   ========================================================================== */
#about.premium-global-aligned-section {
    width: 100% !important;
    max-width: 1225px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 5px !important;
    margin-bottom: 0px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 0px !important;
    box-sizing: border-box !important;
}

#about.premium-global-aligned-section .profile-panel-inner {
    background-color: #ffffff !important;
    border-radius: 28px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 45px 30px !important;
    padding-bottom: 30px !important;
    box-shadow: 0 15px 40px rgba(10, 29, 55, 0.012) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
                border-color 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

#about.premium-global-aligned-section .profile-panel-inner:hover {
    transform: translateY(-4px) !important;
    border-color: #0066FF !important;
    box-shadow: 0 30px 60px rgba(0, 102, 255, 0.05), 0 0 0 1px rgba(0, 102, 255, 0.02) !important;
}

#about.premium-global-aligned-section .profile-panel-header,
#about.premium-global-aligned-section .profile-main-grid,
#about.premium-global-aligned-section .profile-action-area {
    padding-left: 32px !important;
    padding-right: 32px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

#about.premium-global-aligned-section .profile-panel-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    margin-bottom: 35px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 20px !important;
}

#about.premium-global-aligned-section .profile-panel-inner .profile-panel-title,
#about.premium-global-aligned-section .profile-panel-inner .block-sub-title {
    transition: color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

#about.premium-global-aligned-section .profile-panel-inner:hover .profile-panel-title,
#about.premium-global-aligned-section .profile-panel-inner:hover .block-sub-title {
    color: #0066FF !important;
}

#about.premium-global-aligned-section .profile-main-grid {
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 45px !important;
    align-items: start !important;
}

#about.premium-global-aligned-section .block-sub-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0A1D37;
    margin: 0 0 20px 0 !important;
    position: relative !important;
    padding-left: 12px !important;
}

#about.premium-global-aligned-section .block-sub-title::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 3px !important;
    width: 4px !important;
    height: 16px !important;
    background-color: #0066FF !important;
    border-radius: 2px !important;
}

.profile-photo-wrapper {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 20px auto;
    border-radius: 50% !important;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 29, 55, 0.08);
    border: 4px solid #ffffff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    aspect-ratio: 1 / 1;
    background: #f0f4f8;
    position: relative;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.profile-photo-wrapper:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.2);
    border-color: rgba(0, 102, 255, 0.3);
}

.profile-photo-wrapper:hover .profile-photo {
    transform: scale(1.05);
}

.profile-photo-wrapper::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.profile-photo-wrapper:hover::after {
    opacity: 1;
}

#about.premium-global-aligned-section .bio-card .bio-text {
    font-size: 14.5px !important;
    color: #334155 !important;
    line-height: 1.8 !important;
    margin: 0 0 30px 0 !important;
    text-align: justify !important;
    text-justify: inter-word !important;
}

#about.premium-global-aligned-section .cert-badges-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

#about.premium-global-aligned-section .tech-badge-item {
    background: rgba(0, 102, 255, 0.05) !important;
    color: #0066FF !important;
    border: 1px solid rgba(0, 102, 255, 0.12) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 6px 14px !important;
    border-radius: 10px !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
}

#about.premium-global-aligned-section .tech-badge-item:hover {
    background: #0066FF !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2) !important;
    transform: translateY(-2px) !important;
}

#about.premium-global-aligned-section .timeline-wrapper {
    border-left: 2px solid #e2e8f0 !important;
    padding-left: 20px !important;
    margin-left: 5px !important;
}

#about.premium-global-aligned-section .timeline-item {
    position: relative !important;
    margin-bottom: 25px !important;
}

#about.premium-global-aligned-section .timeline-item::before {
    content: '' !important;
    position: absolute !important;
    left: -27px !important;
    top: 5px !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    border: 2px solid #0066FF !important;
    transition: background-color 0.3s ease !important;
}

#about.premium-global-aligned-section .timeline-item:hover::before {
    background-color: #0066FF !important;
}

#about.premium-global-aligned-section .timeline-date {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #0066FF !important;
    margin-bottom: 5px !important;
    text-transform: uppercase !important;
}

#about.premium-global-aligned-section .timeline-job-title {
    font-size: 15.5px !important;
    font-weight: 800 !important;
    color: #0A1D37 !important;
    margin: 0 0 8px 0 !important;
}

#about.premium-global-aligned-section .company-anon {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #5A738E !important;
}

#about.premium-global-aligned-section .timeline-job-desc {
    font-size: 14.5px !important;
    color: #5A738E !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    text-align: justify !important;
    text-justify: inter-word !important;
}

#about.premium-global-aligned-section .profile-action-area {
    text-align: center !important;
    margin-top: 40px !important;
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 30px !important;
}

#about.premium-global-aligned-section .premium-pdf-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #0A1D37 !important;
    color: #ffffff !important;
    padding: 12px 32px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(10, 29, 55, 0.15) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

#about.premium-global-aligned-section .premium-pdf-btn:hover {
    background: #0066FF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.25) !important;
}

/* ==========================================================================
   5. CV Modal
   ========================================================================== */
.cv-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    animation: cvModalFadeIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cv-modal.active {
    display: flex;
}

.cv-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 29, 55, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cv-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 28px;
    max-width: 560px;
    width: 92%;
    padding: 45px 40px 35px 40px;
    box-shadow: 0 40px 80px rgba(10, 29, 55, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: cvModalSlideUp 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.cv-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 10px;
    border-radius: 8px;
}

.cv-modal-close:hover {
    color: #0A1D37;
    background: #f1f5f9;
    transform: rotate(90deg);
}

.cv-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.cv-modal-icon {
    font-size: 42px;
    display: block;
    margin-bottom: 10px;
}

.cv-modal-header h2 {
    font-size: 26px;
    font-weight: 800;
    color: #0A1D37;
    margin: 0 0 8px 0;
}

.cv-modal-header p {
    font-size: 15px;
    color: #5A738E;
    line-height: 1.6;
    margin: 0;
}

.cv-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.cv-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    border-radius: 14px;
    padding: 16px 20px;
    text-decoration: none;
    border: 1px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    position: relative;
}

.cv-contact-item:hover {
    background: #ffffff;
    border-color: rgba(0, 102, 255, 0.15);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.04);
    transform: translateX(4px);
}

.cv-contact-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 44px;
    text-align: center;
}

.cv-contact-info {
    flex: 1;
}

.cv-contact-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0A1D37;
    margin: 0 0 2px 0;
}

.cv-contact-info p {
    font-size: 13px;
    color: #5A738E;
    margin: 0;
}

.cv-contact-arrow {
    font-size: 18px;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.cv-contact-item:hover .cv-contact-arrow {
    color: #0066FF;
    transform: translateX(4px);
}

.cv-email-request {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px;
    cursor: default;
}

.cv-email-request:hover {
    transform: none;
    box-shadow: none;
}

.cv-email-request .cv-contact-info {
    margin-bottom: 12px;
}

.cv-email-form {
    display: flex;
    gap: 10px;
    width: 100%;
}

.cv-email-form input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #0A1D37;
}

.cv-email-form input:focus {
    border-color: #0066FF;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.06);
}

.cv-email-form button {
    padding: 10px 22px;
    background: #0066FF;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cv-email-form button:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.cv-modal-footer {
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    margin: 16px 0 0 0;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

@keyframes cvModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes cvModalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ==========================================================================
   6. Brand Showcase / 跑馬燈
   ========================================================================== */
.brand-showcase-container {
    width: 100%;
    max-width: 100% !important;
    background-color: #ffffff;
    padding: 40px 0 30px 0 !important;
    border-top: 1px solid rgba(10, 29, 55, 0.04);
    border-bottom: 1px solid rgba(10, 29, 55, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.brand-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #0A1D37;
    opacity: 0.5;
    margin-bottom: 35px;
    text-transform: uppercase;
}

.brand-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.brand-slider-wrapper::before,
.brand-slider-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brand-slider-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.brand-slider-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

.brand-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 100px;
    animation: thmBrandScroll 22s linear infinite;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    transition: all 0.4s ease;
    filter: grayscale(100%) contrast(85%);
    opacity: 0.45;
}

.brand-item:hover {
    filter: grayscale(0%) contrast(100%);
    opacity: 1;
    transform: scale(1.08);
}

.brand-item img {
    height: 100%;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.brand-slider-wrapper:hover .brand-track {
    animation-play-state: paused;
}

.brand-grammarly {
    height: 120% !important;
    max-width: 180px !important;
}

.brand-reddit {
    height: 150% !important;
    max-width: 210px !important;
}

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

/* ==========================================================================
   7. 3D 徽章牆
   ========================================================================== */
.premium-3d-logo-section {
    max-width: 1100px;
    margin: 35px auto 50px auto !important;
    padding: 0 20px;
    width: 100%;
    pointer-events: auto !important;
}

.logo-grid-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 75px;
    width: 100%;
    position: relative;
    padding: 30px 0;
}

.logo-grid-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    max-width: 580px;
    height: 70%;
    max-height: 140px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 102, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transition: border-color 0.6s ease, box-shadow 0.6s ease;
}

.logo-grid-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 88%;
    max-width: 700px;
    height: 88%;
    max-height: 170px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 102, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transition: border-color 0.6s ease 0.1s;
}

.logo-grid-container:hover::before {
    border-color: rgba(0, 102, 255, 0.18);
    box-shadow: 0 0 50px rgba(0, 102, 255, 0.03);
}

.logo-grid-container:hover::after {
    border-color: rgba(0, 102, 255, 0.08);
}

.interactive-3d-logo-item {
    background-color: #ffffff;
    width: 140px;
    height: 140px;
    border-radius: 50% !important;
    border: 1px solid #eef2f6;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: visible !important;
    pointer-events: auto !important;
    box-shadow: 0 10px 30px rgba(10, 29, 55, 0.015);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
                border-color 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.interactive-3d-logo-item::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), transparent 50%);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
    z-index: 0;
}

.interactive-3d-logo-item:hover::before {
    opacity: 1;
}

.interactive-3d-logo-item:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 102, 255, 0.22);
    box-shadow: 0 25px 50px rgba(0, 102, 255, 0.08);
}

.logo-3d-stage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    color: #0066FF;
    font-size: 32px;
    background-color: #ffffff;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.badge-main-img-3d {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain;
    transition: transform 0.85s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-style: preserve-3d;
}

.badge-github-large {
    width: 100px !important;
    height: 100px !important;
}

.interactive-3d-logo-item:hover .badge-main-img-3d {
    transform: rotateY(360deg) scale(1.05) !important;
}

.badge-laser-guide {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    width: max-content;
}

.laser-vertical-line {
    width: 1px;
    height: 0px;
    background: linear-gradient(to bottom, #0066FF, rgba(0, 102, 255, 0.1));
    transition: height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.interactive-3d-logo-item:hover .laser-vertical-line {
    height: 35px;
}

.badge-tooltip-text {
    font-size: 12.5px;
    font-weight: 700;
    color: #5A738E;
    background-color: #ffffff;
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 15px rgba(10, 29, 55, 0.02);
    opacity: 0;
    transform: translateY(-5px);
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: opacity 0.35s ease 0.15s, transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1) 0.15s;
}

.interactive-3d-logo-item:hover .badge-tooltip-text {
    opacity: 1;
    transform: translateY(0);
}

.interactive-3d-logo-item:hover .badge-tooltip-text:hover i {
    transform: translateX(3px);
}

@media (max-width: 600px) {
    .logo-grid-container {
        flex-direction: column;
        gap: 40px;
    }
    .premium-3d-logo-section {
        margin-bottom: 60px !important;
    }
    .laser-vertical-line {
        display: none !important;
    }
    .badge-tooltip-text {
        opacity: 1 !important;
        transform: translateY(0) !important;
        position: relative;
        margin-top: 10px;
        box-shadow: none;
        border: none;
        padding: 0;
        background: none;
    }
}

/* ==========================================================================
   8. Publications & CVE 共用卡片樣式
   ========================================================================== */
.scholar-hologram-publications-section {
    max-width: 1100px;
    margin: 20px auto 30px auto !important;
    padding: 0 20px;
    width: 100%;
}

#portfolio.premium-global-aligned-section {
    width: 100% !important;
    max-width: 1100px !important;
    margin: 60px auto 50px auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

.hologram-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.hologram-section-tag,
.video-panel-tag {
    font-size: 11px;
    font-weight: 800;
    color: #0066FF;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
}

.hologram-section-title {
    font-size: 23px;
    font-weight: 800;
    color: #0A1D37;
    margin: 0;
}

.hologram-sort-box {
    font-size: 13.5px;
    color: #5A738E;
    font-weight: 700;
}

.hologram-select-menu {
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background-color: #ffffff;
    color: #0A1D37;
    font-size: 13px;
    font-weight: 700;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hologram-select-menu:focus {
    border-color: #0066FF;
}

.hologram-list-wrapper,
.dynamic-accordion-stage {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ==========================================================================
   9. 卡片樣式
   ========================================================================== */
/* ==========================================================================
   卡片樣式 - 固定高度（學術論文 + CVE）
   ========================================================================== */

.new-hologram-item {
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid #eef2f6;
    padding: 22px 35px 22px 40px;
    cursor: pointer;
    position: relative;
    overflow: hidden !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    flex-shrink: 0;
    
    /* 🌟 新增：固定高度 */
    height: 120px !important;          /* 卡片收縮時的高度 */
    min-height: 120px !important;
    max-height: 120px !important;
    transition: height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* 🌟 展開時自動調整高度 */
.new-hologram-item.active {
    height: auto !important;           /* 展開時自動適應內容 */
    min-height: 120px !important;
    max-height: none !important;
    border-color: #0066FF !important;
    background-color: #fbfdff;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12), 0 20px 40px rgba(0, 102, 255, 0.04) !important;
}
/* 左側漸變線條 */
.new-hologram-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #0A1D37, #0066FF);
    opacity: 0.3;
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
    border-radius: 20px 0 0 20px;
}

.new-hologram-item.active::before {
    width: 8px;
    opacity: 1;
}

.hologram-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hologram-item-title {
    font-size: 18px;
    font-weight: 800;
    color: #0A1D37 !important;
    margin: 0;
    transition: color 0.3s ease;
}

.new-hologram-item:hover .hologram-item-title {
    color: #0066FF !important;
}

.hologram-item-capsule {
    font-size: 12px;
    font-weight: 700;
    color: #5A738E;
    background-color: #f4f8fb;
    padding: 5px 14px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(0, 102, 255, 0.02);
    transition: all 0.4s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.new-hologram-item.active .hologram-item-capsule {
    background-color: #0066FF;
    color: #ffffff;
}

/* 展開內容 - 使用 max-height 控制 */
.hologram-expand-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.165, 0.84, 0.44, 1),
                opacity 0.35s ease,
                margin-top 0.35s ease,
                padding-top 0.35s ease;
}

.new-hologram-item.active .hologram-expand-body {
    max-height: 400px;
    opacity: 1;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed #e2e8f0;
}

/* ==========================================================================
   學術論文卡片 - 按鈕懸浮效果 + 圖片無框
   ========================================================================== */
/* 雙欄佈局 */
.hologram-inner-layout {
    display: grid !important;
    grid-template-columns: 1.6fr 0.6fr !important;
    gap: 30px !important;
    align-items: stretch !important;
}

.hologram-item-desc {
    font-size: 14.5px;
    color: #2C3E50 !important;
    line-height: 1.8;
    margin: 0 0 16px 0;
    text-align: justify;
}

.hologram-item-desc strong {
    color: #0A1D37 !important;
}

/* 🌟 按鈕樣式 - 懸浮時藍色背景 + 白色文字 */
.hologram-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #5A738E !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    background-color: #ffffff !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    border: 1px solid #e5e7eb !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    cursor: pointer !important;
    margin-top: 4px !important;
}

.new-hologram-item:hover .hologram-action-btn {
    border-color: #0066FF !important;
    color: #0066FF !important;
}

/* 🌟 懸浮時：藍色背景 + 白色文字 */
.hologram-action-btn:hover {
    background-color: #0066FF !important;
    color: #ffffff !important;
    border-color: #0066FF !important;
    box-shadow: 0 6px 15px rgba(0, 102, 255, 0.18) !important;
    transform: translateY(-2px) !important;
}

.hologram-action-btn:hover * {
    color: #ffffff !important;
}

.hologram-action-btn:hover i {
    color: #ffffff !important;
    transform: translate(3px, -3px) !important;
}

.hologram-action-btn i {
    font-size: 11px !important;
    transition: transform 0.3s ease !important;
}

/* 圖片框 - 無邊框無底色 */
.hologram-visual-box {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 0 !important;
    box-shadow: none !important;
}

.hologram-visual-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0 !important;
    padding: 0 !important;
}

.hologram-visual-box i {
    font-size: 50px;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: rgba(10, 29, 55, 0.1);
}

.new-hologram-item:hover .hologram-visual-box i {
    transform: scale(1.1) rotate(3deg);
    color: rgba(0, 102, 255, 0.2);
}

/* 手機版 */
@media (max-width: 768px) {
    .hologram-inner-layout {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .hologram-visual-box {
        height: 160px !important;
        min-height: 160px !important;
        max-height: 160px !important;
        order: -1;
    }
    .hologram-action-btn {
        width: 100% !important;
        justify-content: center !important;
    }
}
/* ==========================================================================
   10. CVE & Publications 分頁按鈕 - 固定底部（最終版）
   ========================================================================== */

/* CVE 和 Publications 使用 flex 佈局 */
#portfolio .panel-inner-container,
.scholar-hologram-publications-section .hologram-container {
    display: flex !important;
    flex-direction: column !important;
    min-height: 600px !important;
    position: relative !important;
}

/* 列表容器 - 固定高度，內容滾動 */
#portfolio .dynamic-accordion-stage,
#dynamic-hologram-scholar-list {
    flex: 0 0 auto !important;
    height: 420px !important;
    max-height: 420px !important;
    min-height: 420px !important;
    overflow-y: auto !important;
    padding-right: 8px !important;
    margin-bottom: 0 !important;
}

/* 列表容器滾動條美化 */
#portfolio .dynamic-accordion-stage::-webkit-scrollbar,
#dynamic-hologram-scholar-list::-webkit-scrollbar {
    width: 4px;
}

#portfolio .dynamic-accordion-stage::-webkit-scrollbar-track,
#dynamic-hologram-scholar-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

#portfolio .dynamic-accordion-stage::-webkit-scrollbar-thumb,
#dynamic-hologram-scholar-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* 分頁按鈕容器 - 永遠固定在底部 */
#portfolio .smart-pagination-container,
#scholar-pagination {
    flex-shrink: 0 !important;
    margin-top: 0 !important;
    padding: 15px 0 10px 0 !important;
    min-height: 60px !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    background: #ffffff !important;
    position: relative !important;
    z-index: 5 !important;
    width: 100% !important;
}

/* 只有一頁時保持佔位 */
#cve-pagination:empty,
#scholar-pagination:empty {
    min-height: 60px !important;
}

/* 分頁按鈕樣式 */
#portfolio .cve-page-btn,
#scholar-pagination .scholar-page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    color: #2C3E50;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

#portfolio .cve-page-btn:hover,
#scholar-pagination .scholar-page-btn:hover {
    border-color: #0066FF;
    color: #0066FF;
    transform: translateY(-2px);
}

#portfolio .cve-page-btn.active,
#scholar-pagination .scholar-page-btn.active {
    background: #0066FF;
    border-color: #0066FF;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.15);
}

/* ==========================================================================
   11. CVE 標題顏色控制
   ========================================================================== */
#dynamic-cve-list .cve-title {
    color: #0A1D37 !important;
    transition: color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

#dynamic-cve-list .new-hologram-item:hover .cve-title {
    color: #0066FF !important;
}

#dynamic-cve-list .new-hologram-item.active .cve-title {
    color: #0066FF !important;
}

#dynamic-cve-list .hologram-title-group {
    flex: 1;
    min-width: 0;
}

#dynamic-cve-list .cve-title {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 800;
    margin: 0;
}

#dynamic-cve-list .cve-title i {
    margin-right: 10px;
    color: #0066FF;
}

/* ==========================================================================
   手機版
   ========================================================================== */

@media (max-width: 768px) {
    #portfolio .panel-inner-container,
    .scholar-hologram-publications-section .hologram-container {
        min-height: 480px !important;
    }
    
    #portfolio .dynamic-accordion-stage,
    #dynamic-hologram-scholar-list {
        height: 320px !important;
        max-height: 320px !important;
        min-height: 320px !important;
    }
    
    #portfolio .new-hologram-item,
    .scholar-hologram-publications-section .new-hologram-item {
        padding: 16px 20px 16px 25px !important;
    }
    
    #portfolio .cve-page-btn,
    #scholar-pagination .scholar-page-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}
/* ==========================================================================
   CVE 專用 - 單欄佈局（沒有圖片）
   ========================================================================== */

#dynamic-cve-list .cve-single-column {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
}

#dynamic-cve-list .cve-single-column .hologram-item-desc {
    font-size: 14.5px;
    color: #2C3E50 !important;
    line-height: 1.8;
    margin: 0 0 16px 0;
    text-align: justify;
}

#dynamic-cve-list .cve-single-column .hologram-item-desc strong {
    color: #0A1D37 !important;
}

#dynamic-cve-list .cve-single-column .hologram-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5A738E;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    background-color: #ffffff;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#dynamic-cve-list .cve-single-column .hologram-action-btn:hover {
    background-color: #0066FF;
    color: #ffffff !important;
    box-shadow: 0 6px 15px rgba(0, 102, 255, 0.18);
}
/* ==========================================================================
   12. Awards 區塊
   ========================================================================== */
.awards-section {
    max-width: 1100px;
    margin: 30px auto 40px auto !important;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.awards-container {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #f1f5f9;
    padding: 45px 40px 50px 40px;
    box-shadow: 0 15px 40px rgba(10, 29, 55, 0.012);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
                border-color 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.awards-container:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 102, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0, 102, 255, 0.04);
}

.awards-header {
    text-align: center;
    margin-bottom: 30px;
}

.awards-tag {
    font-size: 11px;
    font-weight: 800;
    color: #0066FF;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.awards-title {
    font-size: 28px;
    font-weight: 800;
    color: #0A1D37;
    margin: 0;
}

.awards-grid-single {
    display: flex;
    justify-content: center;
    align-items: center;
}

.award-card-single {
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    max-width: 820px;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
    overflow: hidden;
}

.award-card-single:hover {
    background: #ffffff;
    border-color: rgba(0, 102, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.04);
    transform: translateY(-3px);
}

.award-content-single {
    width: 100%;
    padding: 24px 28px 16px 28px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.award-icon-single {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 6px;
}

.award-name-single {
    font-size: 18px;
    font-weight: 800;
    color: #0A1D37;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.award-org-single {
    font-size: 13px;
    font-weight: 600;
    color: #5A738E;
    margin: 0 0 10px 0;
}

.award-desc-single {
    font-size: 14px;
    color: #2C3E50;
    line-height: 1.7;
    margin: 0 0 14px 0;
    opacity: 0.85;
}

.award-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.award-year-single {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #0066FF;
    background: rgba(0, 102, 255, 0.08);
    padding: 3px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.award-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #0066FF;
    text-decoration: none;
    padding: 6px 16px;
    border: 1px solid rgba(0, 102, 255, 0.15);
    border-radius: 20px;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.award-link-btn:hover {
    background: #0066FF;
    color: #ffffff;
    border-color: #0066FF;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
    transform: translateY(-2px);
}

.award-link-btn i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.award-link-btn:hover i {
    transform: translate(2px, -2px);
}

/* ==========================================================================
   獎項卡片 - 圖片完整顯示（不裁剪，不變形）
   ========================================================================== */

/* 圖片容器 */
.award-image-bottom {
    width: 100%;
    max-height: 300px;          /* 增加最大高度 */
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 12px 20px;         /* 加入內邊距，讓圖片有呼吸空間 */
    border-top: 1px solid #f1f5f9;
}

/* 🌟 圖片 - 完整顯示，不裁剪 */
.award-image-bottom img {
    width: auto !important;      /* 自動寬度 */
    height: auto !important;     /* 自動高度 */
    max-width: 90% !important;   /* 最大寬度 90%，保留邊距 */
    max-height: 260px !important; /* 最大高度 */
    object-fit: contain !important; /* 完整顯示，不裁剪 */
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(10, 29, 55, 0.04);
}

/* 懸浮效果 - 輕微放大 */
.award-card-single:hover .award-image-bottom img {
    transform: scale(1.02);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (max-width: 768px) {
    .awards-container {
        padding: 30px 20px;
        border-radius: 20px;
    }
    .award-content-single {
        padding: 18px 20px 12px 20px;
    }
    .award-image-bottom {
        max-height: 150px;
    }
    .award-image-bottom img {
        max-height: 150px;
    }
    .award-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .award-link-btn {
        width: 100%;
        justify-content: center;
        padding: 8px 16px;
    }
    .award-name-single {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .award-content-single {
        padding: 14px 16px 10px 16px;
    }
    .award-image-bottom {
        max-height: 120px;
    }
    .award-image-bottom img {
        max-height: 120px;
    }
    .award-name-single {
        font-size: 15px;
    }
    .award-desc-single {
        font-size: 13px;
    }
}

/* ==========================================================================
   13. 統計數據區塊
   ========================================================================== */
.stats-section {
    max-width: 1100px;
    margin: 30px auto 5px auto !important;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 30px 0 20px 0;
    box-shadow: none;
    box-sizing: border-box;
    width: 100%;
    position: relative;
}

.stats-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, #0066FF, transparent);
    opacity: 0.15;
}

.stat-item {
    text-align: center;
    padding: 10px 0;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 15%;
    height: 70%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, #e2e8f0, transparent);
}

.stat-number {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 6px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0A1D37 0%, #0066FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number::after {
    content: '+';
    font-size: 30px;
    font-weight: 300;
    color: #0066FF;
    -webkit-text-fill-color: #0066FF;
    margin-left: 2px;
}

.stat-label {
    font-size: 14px;
    font-weight: 700;
    color: #5A738E;
    line-height: 1.5;
}

.stat-label span {
    font-weight: 400;
    font-size: 12px;
    color: #94a3b8;
    display: block;
    margin-top: 2px;
}

.stat-item:hover .stat-number {
    background: linear-gradient(135deg, #0066FF 0%, #0044CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px 0 15px 0;
    }
    .stat-item::after {
        display: none !important;
    }
    .stat-number {
        font-size: 38px;
    }
    .stat-number::after {
        font-size: 22px;
    }
    .stat-label {
        font-size: 13px;
    }
    .stat-label span {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .stats-container {
        gap: 10px;
        padding: 15px 0 10px 0;
    }
    .stat-number {
        font-size: 30px;
    }
    .stat-number::after {
        font-size: 18px;
    }
    .stat-label {
        font-size: 12px;
    }
    .stat-label span {
        font-size: 10px;
    }
}

/* ==========================================================================
   14. Blog 區塊 - 統一風格
   ========================================================================== */

.blog-section {
    background-color: #ffffff;
    border-radius: 32px;
    max-width: 100%;
    padding: 60px 40px 50px 40px !important;
    box-shadow: 0 20px 80px rgba(10, 29, 55, 0.015);
    border: 1px solid rgba(10, 29, 55, 0.04);
}

.blog-header-container {
    max-width: 1100px;
    margin: 0 auto 45px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Blog 標題 - 靠左 */
.blog-section .section-title {
    text-align: left !important;
    font-size: 32px;
    font-weight: 800;
    color: #0A1D37;
    margin-bottom: 0;
    position: relative;
}

.blog-section .section-title::after {
    margin: 10px 0 0 0 !important;
}

/* 日期排序下拉選單 */
.sort-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #5A738E;
    font-weight: 700;
}

.sort-select {
    padding: 10px 22px;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    background-color: #ffffff;
    color: #0A1D37;
    font-size: 14px;
    font-weight: 700;
    outline: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.sort-select:focus,
.sort-select:hover {
    border-color: #0066FF;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.05);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-card {
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
                border-color 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 102, 255, 0.06), 0 0 0 1px rgba(0, 102, 255, 0.03);
}

.blog-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background-color: #0066FF;
    transition: height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 3;
}

.blog-card:hover::before {
    height: 100%;
}

.blog-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    position: relative;
    background-color: #0A1D37;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 13px;
    color: #5A738E;
    margin-bottom: 12px;
    display: block;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.blog-title-link {
    color: #0A1D37;
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 14px;
    display: block;
    transition: color 0.3s ease;
}

.blog-title-link:hover {
    color: #0066FF;
}

.blog-content p {
    color: #2C3E50;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
    opacity: 0.85;
}

.read-more {
    color: #0066FF;
    text-decoration: none;
    font-weight: 700;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more i {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.read-more:hover i {
    transform: translateX(6px);
}

.blog-btn-container {
    text-align: center;
    margin-top: 55px;
}

#load-all-blog-btn {
    background-color: transparent;
    color: #0066FF;
    border: 2px solid #0066FF;
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#load-all-blog-btn:hover {
    background-color: #0066FF;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.12);
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 55px;
}

.page-btn {
    width: 44px;
    height: 44px;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    color: #2C3E50;
    font-weight: 700;
    font-size: 15px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.page-btn:hover {
    border-color: #0066FF;
    color: #0066FF;
    transform: translateY(-2px);
}

.page-btn.active {
    background: #0066FF;
    border-color: #0066FF;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.15);
}

.blog-card.fade-in {
    animation: blogCardFade 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

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

/* ==========================================================================
   手機版 Blog
   ========================================================================== */

@media (max-width: 768px) {
    .blog-section {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .blog-header-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sort-container {
        width: 100%;
    }
    
    .sort-select {
        width: 100%;
        padding: 12px 16px;
    }
    
    #load-all-blog-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
}
/* ==========================================================================
   15. Language / Certificate 區塊
   ========================================================================== */
.premium-cinema-video-section {
    max-width: 1200px;
    margin: 5px auto 50px auto !important;
    padding: 0 20px;
    width: 100%;
    pointer-events: auto !important;
}

.video-panel-inner {
    background-color: #ffffff;
    border-radius: 28px;
    border: 1px solid #f1f5f9;
    padding: 45px 50px;
    box-shadow: 0 15px 40px rgba(10, 29, 55, 0.012);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
                border-color 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.video-panel-inner:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 102, 255, 0.05), 0 0 0 1px rgba(0, 102, 255, 0.02) !important;
}

.video-panel-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 25px;
}

.video-panel-title {
    font-size: 22px;
    font-weight: 800;
    color: #0A1D37;
    margin: 0 0 12px 0;
}

.video-panel-desc {
    font-size: 14.5px;
    color: #5A738E;
    line-height: 1.6;
    margin: 0;
    text-align: justify;
}

.cinema-tab-control {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
}

.tab-toggle-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #5A738E;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tab-toggle-btn:hover {
    background: #f1f5f9;
    color: #0A1D37;
}

.tab-toggle-btn.active {
    background: #0A1D37;
    border-color: #0A1D37;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(10, 29, 55, 0.15);
}

.cinema-stage-item {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.cinema-stage-item.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.video-responsive-stage {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(10, 29, 55, 0.03);
    background-color: #0A1D37;
}

.video-responsive-stage iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
}

.video-slider-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.slider-window {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.video-track {
    position: relative;
    width: 100%;
    height: auto;
}

.video-slide {
    display: none;
    opacity: 0;
    width: 100%;
    transition: opacity 0.5s ease-in-out;
}

.video-slide.active {
    display: block;
    opacity: 1;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 29, 55, 0.7);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(4px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.slider-arrow:hover {
    background: #0066FF;
    border-color: #0066FF;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.prev-arrow { left: 15px; }
.next-arrow { right: 15px; }

@media (max-width: 768px) {
    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
    .prev-arrow { left: 8px; }
    .next-arrow { right: 8px; }
}

/* ==========================================================================
   16. Certificate Cards
   ========================================================================== */
.certs-grid-stage {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.cert-card.horizontal-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cert-card.horizontal-layout:hover {
    background-color: #ffffff;
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 102, 255, 0.04);
}

.cert-left-visual {
    flex-shrink: 0;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cert-right-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.cert-badge {
    display: inline-block;
    background: rgba(0, 102, 255, 0.08);
    color: #0066FF;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cert-right-content h4 {
    font-size: 18px;
    font-weight: 800;
    color: #0A1D37;
    margin: 8px 0 6px 0;
}

.cert-right-content p {
    font-size: 14px;
    color: #5A738E;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.view-cert-hint {
    margin-top: auto;
    padding-top: 15px;
    font-size: 12px;
    font-weight: 700;
    color: #0066FF;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.cert-card:hover .view-cert-hint {
    opacity: 1;
}

.cert-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cert-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}


.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 29, 55, 0.85);
    backdrop-filter: blur(12px);
}




/* ==========================================================================
   Lightbox 燈箱 - 可滾動查看圖片
   ========================================================================== */

.cert-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cert-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

/* 遮罩層 */
.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 29, 55, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* 🌟 圖片容器 - 可滾動 */
.lightbox-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    z-index: 10;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
}

/* 滾動條美化 */
.lightbox-content-wrapper::-webkit-scrollbar {
    width: 6px;
}

.lightbox-content-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.lightbox-content-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.lightbox-content-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.cert-lightbox.active .lightbox-content-wrapper {
    transform: scale(1);
}

/* 🌟 圖片 - 高度自動，不裁剪 */
.lightbox-content-wrapper img {
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    background: #ffffff;
    display: block;
    margin: 0 auto;
}

/* 關閉按鈕 - 固定在右上角 */
.lightbox-close-btn {
    position: sticky;
    top: 10px;
    float: right;
    background: #ffffff;
    color: #0A1D37;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 20;
    margin-bottom: 12px;
}

.lightbox-close-btn:hover {
    background: #0066FF;
    color: #ffffff;
    transform: scale(1.1) rotate(90deg);
}

/* ==========================================================================
   手機版
   ========================================================================== */

@media (max-width: 768px) {
    .lightbox-content-wrapper {
        max-width: 95%;
        max-height: 95vh;
        padding: 12px;
    }
    
    .lightbox-close-btn {
        top: 6px;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* ==========================================================================
   17. Contact 區塊
   ========================================================================== */
/* ==========================================================================
   8. 聯絡我區塊與表單
   ========================================================================== */
.contact-section {
    padding-top: 20px !important;
    margin-top: 0px !important;
}

/* 🌟 聯絡標題 - 置中 + 藍色裝飾線 + 字體加粗 */
.contact-section .section-title {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    font-weight: 800 !important;
    font-size: 32px !important;
    color: #0A1D37 !important;
    margin-bottom: 40px !important;
    position: relative !important;
}

/* 🌟 藍色裝飾線 - 置中 */
.contact-section .section-title::after {
    content: '' !important;
    display: block !important;
    width: 40px !important;
    height: 4px !important;
    background-color: #0066FF !important;
    margin: 10px auto 0 auto !important;  /* 置中 */
    border-radius: 2px !important;
}

.contact-wrapper {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
    border: 1px solid #e5e7eb;
}

/* ... 其餘聯絡區塊樣式保持不變 ... */
.contact-form-container {
    flex: 1.2;
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #0A1D37;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    background-color: #f9fafb;
    transition: all 0.3s ease;
    outline: none;
    color: #0A1D37;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0066FF;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.04);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    align-self: flex-start;
    padding: 12px 28px;
    background-color: #0066FF;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.submit-btn:hover {
    background-color: #0052cc;
    transform: translateY(-1px);
}

.contact-info-container {
    flex: 1;
    background: #0A1D37;
    color: #ffffff;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.contact-info-container h3 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #ffffff;
}

.contact-info-container h3:nth-of-type(2) {
    margin-top: 40px;
}

.contact-desc {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.85;
    color: #5A738E;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 15px;
    color: #ffffff;
}

.info-item i {
    font-size: 18px;
    width: 24px;
    color: #0066FF;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #ffffff;
    color: #0A1D37;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
    .contact-form-container,
    .contact-info-container {
        padding: 30px 20px;
    }
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   18. Footer
   ========================================================================== */
.footer {
    background-color: #0A1D37;
    color: #5A738E;
    text-align: center;
    padding: 25px;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   19. Scroll Animation
   ========================================================================== */
@keyframes thmFluidSlide {
    from { opacity: 0; transform: translateY(-80px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.thm-reveal {
    animation: thmFluidSlide linear both;
    animation-timeline: view();
    animation-range: entry 10% entry 45%;
}

.thm-reveal .section-title {
    transform: translateY(-10px);
}

/* ==========================================================================
   20. Responsive General
   ========================================================================== */
@media (max-width: 900px) {
    #about.premium-global-aligned-section .profile-panel-inner {
        padding: 30px 20px !important;
    }
    #about.premium-global-aligned-section .profile-panel-header,
    #about.premium-global-aligned-section .profile-main-grid,
    #about.premium-global-aligned-section .profile-action-area {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    #about.premium-global-aligned-section .profile-main-grid {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
    }
    #about.premium-global-aligned-section .bio-card .bio-text,
    #about.premium-global-aligned-section .timeline-job-desc {
        text-align: left !important;
    }
    .profile-photo-wrapper {
        max-width: 200px !important;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        height: calc(100vh - 60px);
        text-align: center;
        padding-top: 40px;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        border-top: 1px solid rgba(10, 29, 55, 0.05);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-link {
        display: block;
        padding: 24px;
        font-size: 18px;
        color: #0A1D37;
        border-radius: 0;
    }

    .hero-name {
        font-size: 44px;
        letter-spacing: -1px;
    }
    .cursor {
        font-size: 44px;
    }
    .hero-job {
        font-size: 22px;
        margin-bottom: 20px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .hero-cta-group {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    .hero-content .btn {
        width: 100%;
        justify-content: center;
    }

    .blog-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    .blog-header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    #portfolio .hologram-header-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    #portfolio .hologram-sort-box {
        margin-left: 0 !important;
        text-align: left !important;
        width: 100%;
    }
    #portfolio .new-hologram-item {
        padding: 18px 22px !important;
    }
    #portfolio .cve-title {
        font-size: 16px !important;
    }
    #portfolio .cve-page-btn,
    #scholar-pagination .scholar-page-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
    #portfolio .panel-inner-container,
    .scholar-hologram-publications-section .hologram-container {
        min-height: 430px !important;
    }
}

@media (max-width: 600px) {
    .cv-modal-content {
        padding: 30px 20px 25px 20px;
        border-radius: 20px;
    }
    .cv-modal-header h2 {
        font-size: 20px;
    }
    .cv-contact-item {
        padding: 14px 16px;
    }
    .cv-email-form {
        flex-direction: column;
    }
    .cv-email-form button {
        width: 100%;
        justify-content: center;
    }
    .profile-photo-wrapper {
        max-width: 160px !important;
    }
}


/* ==========================================================================
   按鈕懸浮測試 - 紅色（診斷用）
   ========================================================================== */

.hologram-action-btn:hover {
    background-color: #0066FF !important;
    color: #ffffff !important;
    border-color: #0066ff !important;
    box-shadow: 0 6px 15px rgba(0, 102, 255, 0.18) !important;
    transform: translateY(-2px) !important;
}

.hologram-action-btn:hover * {
    color: #ffffff !important;
}

.hologram-action-btn:hover i {
    color: #ffffff !important;
}

/* ==========================================================================
   📱 手機版 - 完整優化（只影響手機，不影響電腦）
   ========================================================================== */

@media (max-width: 768px) {

    /* ===== 1. 首頁歡迎區塊 ===== */
    .hero-section {
        height: auto !important;
        min-height: 100vh !important;
        padding: 100px 16px 40px 16px !important;
    }

    .hero-name {
        font-size: 28px !important;
        letter-spacing: -1px !important;
    }

    .cursor {
        font-size: 28px !important;
    }

    .hero-job {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }

    .hero-content p {
        font-size: 14px !important;
        max-width: 100% !important;
        margin: 0 auto 24px auto !important;
        padding: 0 4px !important;
    }

    .hero-cta-group {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-content .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 16px !important;
        font-size: 13px !important;
    }

    .hero-tagline {
        font-size: 10px !important;
        padding: 4px 12px !important;
        margin-bottom: 14px !important;
    }

    /* ===== 2. 關於我 ===== */
    #about.premium-global-aligned-section .profile-panel-inner {
        padding: 24px 16px !important;
        border-radius: 20px !important;
    }

    #about.premium-global-aligned-section .profile-main-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #about.premium-global-aligned-section .profile-panel-title {
        font-size: 20px !important;
    }

    #about.premium-global-aligned-section .profile-panel-desc {
        font-size: 13px !important;
    }

    #about.premium-global-aligned-section .bio-card .bio-text {
        font-size: 13.5px !important;
        text-align: left !important;
    }

    #about.premium-global-aligned-section .block-sub-title {
        font-size: 15px !important;
    }

    #about.premium-global-aligned-section .timeline-job-desc {
        font-size: 13px !important;
        text-align: left !important;
    }

    #about.premium-global-aligned-section .timeline-date {
        font-size: 11px !important;
    }

    #about.premium-global-aligned-section .timeline-job-title {
        font-size: 14px !important;
    }

    .profile-photo-wrapper {
        max-width: 150px !important;
    }

    /* ===== 3. 3D 徽章牆 - 垂直排列 ===== */
    .logo-grid-container {
        flex-direction: column !important;
        gap: 25px !important;
        padding: 10px 0 !important;
        align-items: center !important;
        overflow: visible !important;
        scroll-snap-type: none !important;
    }

    .logo-grid-container::before,
    .logo-grid-container::after {
        display: none !important;
    }

    .interactive-3d-logo-item {
        flex-shrink: 0 !important;
        scroll-snap-align: none !important;
        width: 90px !important;
        height: 90px !important;
    }

    .badge-main-img-3d {
        width: 40px !important;
        height: 40px !important;
    }

    .badge-github-large {
        width: 55px !important;
        height: 55px !important;
    }

    .laser-vertical-line {
        display: none !important;
    }

    .badge-tooltip-text {
        opacity: 1 !important;
        transform: translateY(0) !important;
        position: relative !important;
        margin-top: 6px !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        background: none !important;
        font-size: 9px !important;
        white-space: normal !important;
        text-align: center !important;
        max-width: 100px !important;
    }

    .premium-3d-logo-section {
        margin-bottom: 40px !important;
        margin-top: 20px !important;
    }

    .badge-laser-guide {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        margin-top: 4px !important;
    }

    /* ===== 4. CVE 頂部標題 ===== */
    #portfolio .video-panel-tag {
        font-size: 9px !important;
        letter-spacing: 1px !important;
        margin-bottom: 4px !important;
    }

    #portfolio .profile-panel-title {
        font-size: 16px !important;
        font-weight: 700 !important;
    }

    #portfolio .hologram-header-row {
        gap: 8px !important;
        margin-bottom: 16px !important;
    }

    #portfolio .hologram-sort-box {
        font-size: 11px !important;
    }

    #portfolio .hologram-select-menu {
        font-size: 11px !important;
        padding: 4px 10px !important;
    }

    /* ===== 5. CVE 卡片 ===== */
    #portfolio .panel-inner-container {
        min-height: 420px !important;
    }

    #portfolio .dynamic-accordion-stage {
        height: 380px !important;
        max-height: 380px !important;
        min-height: 380px !important;
    }

    #portfolio .new-hologram-item {
        padding: 10px 12px 10px 16px !important;
        height: auto !important;
        min-height: 70px !important;
        max-height: 70px !important;
        border-radius: 10px !important;
        margin-bottom: 8px !important;
    }

    #portfolio .new-hologram-item.active {
        max-height: none !important;
        min-height: 70px !important;
    }

    #portfolio .cve-title {
        font-size: 10px !important;
        font-weight: 700 !important;
    }

    #portfolio .cve-title i {
        font-size: 10px !important;
        margin-right: 4px !important;
    }

    #portfolio .hologram-title-group > div {
        font-size: 8px !important;
        margin-top: 1px !important;
        line-height: 1.2 !important;
    }

    #portfolio .hologram-item-capsule {
        font-size: 7px !important;
        padding: 1px 5px !important;
        letter-spacing: 0.3px !important;
    }

    #portfolio .hologram-item-header {
        gap: 4px !important;
        align-items: center !important;
    }

    #portfolio .hologram-title-group {
        flex: 1 !important;
        min-width: 0 !important;
    }

    #portfolio .hologram-item-desc {
        font-size: 10px !important;
        line-height: 1.5 !important;
    }

    #portfolio .hologram-item-desc strong {
        font-size: 10px !important;
    }

    #portfolio .hologram-action-btn {
        font-size: 9px !important;
        padding: 4px 10px !important;
        min-height: 28px !important;
    }

    #portfolio .hologram-action-btn i {
        font-size: 9px !important;
    }

    #portfolio .hologram-expand-body {
        max-height: 0 !important;
    }

    #portfolio .new-hologram-item.active .hologram-expand-body {
        max-height: 800px !important;
    }

    /* ===== 6. CVE 分頁按鈕 - 向上移動 ===== */
    #portfolio .smart-pagination-container {
        padding: 6px 0 !important;
        min-height: 36px !important;
        gap: 5px !important;
        margin-top: 6px !important;
    }

    #portfolio .cve-page-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 11px !important;
    }

    /* ===== 7. 學術論文頂部標題 ===== */
    .scholar-hologram-publications-section .hologram-section-tag {
        font-size: 9px !important;
        letter-spacing: 1px !important;
        margin-bottom: 4px !important;
    }

    .scholar-hologram-publications-section .hologram-section-title {
        font-size: 16px !important;
        font-weight: 700 !important;
    }

    .scholar-hologram-publications-section .hologram-header-row {
        gap: 8px !important;
        margin-bottom: 16px !important;
    }

    .scholar-hologram-publications-section .hologram-sort-box {
        font-size: 11px !important;
    }

    .scholar-hologram-publications-section .hologram-select-menu {
        font-size: 11px !important;
        padding: 4px 10px !important;
    }

    /* ===== 8. 學術論文卡片 - 文字再縮小 ===== */
    .scholar-hologram-publications-section .hologram-container {
        min-height: 520px !important;
    }

    #dynamic-hologram-scholar-list {
        height: 480px !important;
        max-height: 480px !important;
        min-height: 480px !important;
    }

    .scholar-hologram-publications-section .new-hologram-item {
        padding: 8px 10px 8px 14px !important;
        height: auto !important;
        min-height: 70px !important;
        max-height: 70px !important;
        border-radius: 10px !important;
        margin-bottom: 6px !important;
    }

    .scholar-hologram-publications-section .new-hologram-item.active {
        max-height: none !important;
        min-height: 70px !important;
    }

    .scholar-hologram-publications-section .hologram-item-title {
        font-size: 9px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
    }

    .scholar-hologram-publications-section .hologram-title-group > div {
        font-size: 7px !important;
        margin-top: 1px !important;
        line-height: 1.2 !important;
    }

    .scholar-hologram-publications-section .hologram-item-capsule {
        font-size: 6.5px !important;
        padding: 1px 4px !important;
        letter-spacing: 0.2px !important;
    }

    .scholar-hologram-publications-section .hologram-item-header {
        gap: 3px !important;
        align-items: center !important;
    }

    .scholar-hologram-publications-section .hologram-title-group {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .scholar-hologram-publications-section .hologram-item-desc {
        font-size: 9px !important;
        line-height: 1.4 !important;
    }

    .scholar-hologram-publications-section .hologram-item-desc strong {
        font-size: 9px !important;
    }

    .scholar-hologram-publications-section .hologram-action-btn {
        font-size: 8px !important;
        padding: 3px 8px !important;
        min-height: 24px !important;
    }

    .scholar-hologram-publications-section .hologram-action-btn i {
        font-size: 8px !important;
    }

    .scholar-hologram-publications-section .hologram-visual-box {
        height: 70px !important;
        min-height: 70px !important;
        max-height: 70px !important;
    }

    .scholar-hologram-publications-section .hologram-expand-body {
        max-height: 0 !important;
    }

    .scholar-hologram-publications-section .new-hologram-item.active .hologram-expand-body {
        max-height: 800px !important;
    }

    /* ===== 9. 學術論文分頁按鈕 - 向上移動 ===== */
    #scholar-pagination {
        padding: 6px 0 !important;
        min-height: 36px !important;
        gap: 5px !important;
        margin-top: 6px !important;
    }

    #scholar-pagination .scholar-page-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 11px !important;
    }

    /* ===== 10. 多聲道語言實力 ===== */
    .premium-cinema-video-section {
        margin: 10px auto 30px auto !important;
        padding: 0 12px !important;
    }

    .video-panel-inner {
        padding: 18px 14px 22px 14px !important;
        border-radius: 18px !important;
        box-shadow: 0 8px 30px rgba(10, 29, 55, 0.02) !important;
    }

    .video-panel-tag {
        font-size: 8px !important;
        margin-bottom: 4px !important;
        letter-spacing: 0.8px !important;
    }

    .video-panel-title {
        font-size: 15px !important;
        margin-bottom: 6px !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
    }

    .video-panel-desc {
        font-size: 11px !important;
        line-height: 1.4 !important;
        text-align: left !important;
    }

    .cinema-tab-control {
        flex-direction: row !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
        margin-bottom: 14px !important;
        padding-bottom: 10px !important;
    }

    .tab-toggle-btn {
        flex: 1 !important;
        justify-content: center !important;
        padding: 6px 8px !important;
        font-size: 10px !important;
        min-width: 0 !important;
        border-radius: 8px !important;
        gap: 3px !important;
    }

    .tab-toggle-btn .tab-icon {
        font-size: 12px !important;
    }

    .slider-arrow {
        width: 28px !important;
        height: 28px !important;
        font-size: 10px !important;
    }

    .prev-arrow {
        left: 3px !important;
    }

    .next-arrow {
        right: 3px !important;
    }

    .video-responsive-stage {
        border-radius: 12px !important;
    }

    /* 證書卡片 */
    .certs-grid-stage {
        gap: 12px !important;
    }

    .cert-card.horizontal-layout {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        padding: 14px 12px !important;
        border-radius: 12px !important;
        border: 1px solid #e2e8f0 !important;
        background-color: #f8fafc !important;
    }

    .cert-card.horizontal-layout:hover {
        background-color: #ffffff !important;
        border-color: rgba(0, 102, 255, 0.15) !important;
        box-shadow: 0 4px 16px rgba(0, 102, 255, 0.04) !important;
    }

    .cert-left-visual {
        width: 50px !important;
        height: 50px !important;
        flex-shrink: 0 !important;
        align-self: center !important;
        border-radius: 50% !important;
        overflow: hidden !important;
        background: #f0f4f8 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .cert-left-visual .interactive-3d-logo-item {
        width: 46px !important;
        height: 46px !important;
        border-radius: 50% !important;
        border: 2px solid #eef2f6 !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #ffffff !important;
    }

    .cert-left-visual .badge-main-img-3d {
        width: 30px !important;
        height: 30px !important;
        object-fit: contain !important;
        border-radius: 50% !important;
    }

    .cert-left-visual .logo-3d-stage {
        border-radius: 50% !important;
        background: transparent !important;
    }

    .cert-left-visual .interactive-3d-logo-item:hover .badge-main-img-3d {
        transform: none !important;
    }

    .cert-left-visual .interactive-3d-logo-item::before {
        display: none !important;
    }

    .cert-badge {
        font-size: 8px !important;
        padding: 2px 6px !important;
        margin-bottom: 6px !important;
    }

    .cert-right-content h4 {
        font-size: 14px !important;
        margin: 0 0 3px 0 !important;
    }

    .cert-right-content p {
        font-size: 11.5px !important;
        margin: 0 0 6px 0 !important;
        line-height: 1.4 !important;
    }

    .view-cert-hint {
        font-size: 9.5px !important;
        padding-top: 6px !important;
    }

    /* Lightbox */
    .cert-lightbox .lightbox-content-wrapper {
        max-width: 95% !important;
        max-height: 90vh !important;
        padding: 6px !important;
    }

    .cert-lightbox .lightbox-content-wrapper img {
        max-height: 75vh !important;
    }

    .cert-lightbox .lightbox-close-btn {
        top: 4px !important;
        right: 4px !important;
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
    }

    /* ===== 11. Awards 比賽得獎 - 標題縮小 ===== */
    .awards-container {
        padding: 24px 16px 30px 16px !important;
        border-radius: 20px !important;
    }

    .awards-tag {
        font-size: 8px !important;
        letter-spacing: 1px !important;
        margin-bottom: 4px !important;
    }

    .awards-title {
        font-size: 18px !important;
        font-weight: 700 !important;
    }

    .award-card-single {
        padding: 16px !important;
        border-radius: 14px !important;
    }

    .award-content-single {
        padding: 12px 0 8px 0 !important;
    }

    .award-icon-single {
        font-size: 28px !important;
    }

    .award-name-single {
        font-size: 15px !important;
        font-weight: 700 !important;
    }

    .award-org-single {
        font-size: 11px !important;
    }

    .award-desc-single {
        font-size: 12.5px !important;
        line-height: 1.5 !important;
    }

    .award-image-bottom {
        max-height: 130px !important;
        padding: 6px 10px !important;
    }

    .award-image-bottom img {
        max-width: 90% !important;
        max-height: 110px !important;
    }

    .award-footer {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }

    .award-year-single {
        font-size: 10px !important;
        padding: 2px 10px !important;
    }

    .award-link-btn {
        font-size: 11px !important;
        padding: 5px 12px !important;
    }

    /* ===== 12. Blog 文章 - 標題縮小 ===== */
    .blog-section {
        padding: 30px 16px 30px 16px !important;
        border-radius: 20px !important;
    }

    .blog-header-container {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        margin-bottom: 24px !important;
    }

    .blog-section .section-title {
        font-size: 18px !important;
        font-weight: 700 !important;
    }

    .blog-section .section-title::after {
        width: 30px !important;
        height: 3px !important;
    }

    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .blog-card {
        border-radius: 14px !important;
    }

    .blog-image {
        height: 140px !important;
    }

    .blog-content {
        padding: 16px 18px 18px 18px !important;
    }

    .blog-date {
        font-size: 11px !important;
        margin-bottom: 8px !important;
    }

    .blog-title-link {
        font-size: 16px !important;
        font-weight: 700 !important;
        margin-bottom: 8px !important;
    }

    .blog-content p {
        font-size: 13px !important;
        margin-bottom: 14px !important;
    }

    .read-more {
        font-size: 12px !important;
    }

    .blog-btn-container {
        margin-top: 28px !important;
    }

    #load-all-blog-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 10px 18px !important;
        font-size: 13px !important;
    }

    .sort-container {
        width: 100% !important;
    }

    .sort-select {
        width: 100% !important;
        padding: 8px 12px !important;
        font-size: 12px !important;
    }

    .pagination-container {
        gap: 6px !important;
        margin-top: 28px !important;
    }

    .page-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 12px !important;
    }

    /* ===== 13. 統計數據 ===== */
    .stats-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 20px 0 12px 0 !important;
    }

    .stat-item::after {
        display: none !important;
    }

    .stat-number {
        font-size: 30px !important;
    }

    .stat-number::after {
        font-size: 16px !important;
    }

    .stat-label {
        font-size: 12px !important;
    }

    .stat-label span {
        font-size: 10px !important;
    }

    .stats-section {
        margin: 20px auto 10px auto !important;
    }

    /* ===== 14. 聯絡表單 ===== */
    .contact-wrapper {
        flex-direction: column !important;
        border-radius: 14px !important;
    }

    .contact-form-container {
        padding: 24px 20px !important;
    }

    .contact-info-container {
        padding: 24px 20px !important;
    }

    .contact-info-container h3 {
        font-size: 18px !important;
    }

    .contact-desc {
        font-size: 13px !important;
    }

    .form-group label {
        font-size: 13px !important;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 14px !important;
        font-size: 14px !important;
    }

    .submit-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
    }

    .info-item {
        font-size: 13px !important;
    }

    .social-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
    }

    /* ===== 15. CV Modal ===== */
    .cv-modal-content {
        padding: 28px 20px 24px 20px !important;
        border-radius: 20px !important;
        max-width: 95% !important;
        margin: 16px !important;
        max-height: 92vh !important;
    }

    .cv-modal-header h2 {
        font-size: 20px !important;
    }

    .cv-modal-header p {
        font-size: 13px !important;
    }

    .cv-contact-item {
        padding: 12px 14px !important;
        gap: 12px !important;
    }

    .cv-contact-icon {
        font-size: 24px !important;
        width: 36px !important;
    }

    .cv-contact-info h4 {
        font-size: 14px !important;
    }

    .cv-contact-info p {
        font-size: 12px !important;
    }

    .cv-email-form {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .cv-email-form input {
        font-size: 14px !important;
        padding: 10px 14px !important;
    }

    .cv-email-form button {
        width: 100% !important;
        justify-content: center !important;
        padding: 10px !important;
    }

    .cv-modal-close {
        top: 12px !important;
        right: 14px !important;
        font-size: 20px !important;
    }

    /* ===== 16. 導航欄 ===== */
    .nav-container {
        padding: 10px 16px !important;
    }

    .nav-logo {
        font-size: 17px !important;
    }

    .hamburger {
        display: block !important;
        z-index: 1001 !important;
    }

    .hamburger .bar {
        width: 22px !important;
        height: 2.5px !important;
        margin: 4.5px auto !important;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0 !important;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
    }

    .nav-menu {
        position: fixed !important;
        left: -100% !important;
        top: 0 !important;
        flex-direction: column !important;
        background-color: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        width: 100% !important;
        height: 100vh !important;
        text-align: center !important;
        padding-top: 70px !important;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        border-top: none !important;
        gap: 0 !important;
        overflow-y: auto !important;
        z-index: 1000 !important;
    }

    .nav-menu.active {
        left: 0 !important;
    }

    .nav-link {
        display: block !important;
        padding: 14px 20px !important;
        font-size: 16px !important;
        color: #0A1D37 !important;
        border-radius: 0 !important;
        border-bottom: 1px solid rgba(10, 29, 55, 0.04) !important;
    }

    /* ===== 17. Footer ===== */
    .footer {
        padding: 20px 16px !important;
        font-size: 12px !important;
    }
}

/* ==========================================================================
   📱 小型手機 (480px 以下)
   ========================================================================== */

@media (max-width: 480px) {

    .hero-name {
        font-size: 22px !important;
    }

    .hero-job {
        font-size: 14px !important;
    }

    .hero-content p {
        font-size: 12.5px !important;
    }

    .hero-content .btn {
        font-size: 12px !important;
        padding: 10px 14px !important;
    }

    /* CVE 更小 */
    #portfolio .dynamic-accordion-stage {
        height: 320px !important;
        max-height: 320px !important;
        min-height: 320px !important;
    }

    #portfolio .new-hologram-item {
        min-height: 60px !important;
        max-height: 60px !important;
        padding: 8px 10px 8px 14px !important;
    }

    #portfolio .new-hologram-item.active {
        max-height: none !important;
        min-height: 60px !important;
    }

    #portfolio .cve-title {
        font-size: 9px !important;
    }

    #portfolio .hologram-title-group > div {
        font-size: 7.5px !important;
    }

    #portfolio .hologram-item-capsule {
        font-size: 6.5px !important;
        padding: 1px 4px !important;
    }

    #portfolio .hologram-item-desc {
        font-size: 9px !important;
    }

    #portfolio .hologram-action-btn {
        font-size: 8px !important;
        padding: 3px 8px !important;
        min-height: 24px !important;
    }

    #portfolio .cve-page-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 10px !important;
    }

    /* 頂部標題更小 */
    .scholar-hologram-publications-section .hologram-section-title,
    #portfolio .profile-panel-title {
        font-size: 14px !important;
    }

    .scholar-hologram-publications-section .hologram-section-tag,
    #portfolio .video-panel-tag {
        font-size: 8px !important;
    }

    /* 學術論文更小 */
    .scholar-hologram-publications-section .new-hologram-item {
        min-height: 60px !important;
        max-height: 60px !important;
        padding: 6px 8px 6px 12px !important;
    }

    .scholar-hologram-publications-section .new-hologram-item.active {
        max-height: none !important;
        min-height: 60px !important;
    }

    .scholar-hologram-publications-section .hologram-item-title {
        font-size: 8px !important;
    }

    .scholar-hologram-publications-section .hologram-title-group > div {
        font-size: 6.5px !important;
    }

    .scholar-hologram-publications-section .hologram-item-capsule {
        font-size: 6px !important;
        padding: 1px 3px !important;
    }

    .scholar-hologram-publications-section .hologram-item-desc {
        font-size: 8px !important;
    }

    .scholar-hologram-publications-section .hologram-action-btn {
        font-size: 7px !important;
        padding: 2px 6px !important;
        min-height: 20px !important;
    }

    #dynamic-hologram-scholar-list {
        height: 380px !important;
        max-height: 380px !important;
        min-height: 380px !important;
    }

    #scholar-pagination .scholar-page-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 10px !important;
    }

    /* 語言影片 */
    .video-panel-title {
        font-size: 14px !important;
    }

    .video-panel-desc {
        font-size: 10.5px !important;
    }

    .tab-toggle-btn {
        font-size: 9px !important;
        padding: 5px 6px !important;
    }

    /* 證書 */
    .cert-right-content h4 {
        font-size: 12px !important;
    }

    .cert-right-content p {
        font-size: 10.5px !important;
    }

    /* Awards 更小 */
    .awards-tag {
        font-size: 7px !important;
    }

    .awards-title {
        font-size: 16px !important;
    }

    .award-name-single {
        font-size: 14px !important;
    }

    .award-desc-single {
        font-size: 11.5px !important;
    }

    /* Blog 更小 */
    .blog-section .section-title {
        font-size: 16px !important;
    }

    .blog-title-link {
        font-size: 14px !important;
    }

    .blog-content p {
        font-size: 12px !important;
    }
}