/* 貪.tw - 數位禪院視覺風格 */

/* === 全域重置與基礎設定 === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === 數位禪院配色變數 === */
:root {
    /* 主配色 */
    --void-black: #000000;          /* 純黑背景 - 虛空的寧靜 */
    --charcoal-black: #121212;      /* 炭黑 - 禪院的陰影 */
    --zen-gray: #888888;            /* 中灰文字 - 禪師的低語 */
    --muted-gray: #666666;          /* 更暗的灰色 - 次要文字 */
    --blood-red: #B71C1C;           /* 血紅色 - 警醒與覺悟 */
    --old-gold: #BFA45F;            /* 舊金色 - 古老的智慧 */
    --highlight-gray: #CCCCCC;      /* 高亮灰色 - 連結與引用 */
    --merit-gold: #FFD700;          /* 功德金色 - 修行的成果 */
    
    /* 字體設定 */
    --title-font: 'Noto Serif TC', 'Times New Roman', serif;     /* 源樣明體 - 古典襯線 */
    --body-font: 'Noto Sans TC', 'Arial', sans-serif;            /* 源石黑體替代 - 理性無襯線 */
    --mono-font: 'JetBrains Mono', 'Courier New', monospace;     /* 打字機字體 - 復古科技 */
}

/* === 深淵載入提示樣式 === */
.abyss-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, var(--void-black) 0%, var(--charcoal-black) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease-out;
}

.abyss-loading.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: var(--zen-gray);
    font-family: var(--title-font);
}

.loading-symbol {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.loading-text {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.loading-subtext {
    font-size: 1rem;
    color: var(--muted-gray);
    margin-bottom: 2rem;
    font-family: var(--body-font);
}

.version-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.version-label {
    font-size: 0.9rem;
    color: var(--muted-gray);
    font-family: var(--body-font);
}

.version-number {
    font-size: 1.1rem;
    color: var(--old-gold);
    font-weight: 600;
    font-family: var(--mono-font);
}

.version-desc {
    font-size: 0.8rem;
    color: var(--zen-gray);
    font-family: var(--body-font);
}

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



/* === 基礎元素樣式 === */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--void-black);
    color: var(--zen-gray);
    font-family: var(--body-font);
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.02em;

    /* 防止文字選取時的刺眼高亮 */
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* 自定義選取顏色 */
::selection {
    background-color: var(--blood-red);
    color: var(--highlight-gray);
}

::-moz-selection {
    background-color: var(--blood-red);
    color: var(--highlight-gray);
}

/* === 虛無容器 - 創造窺視感 === */
.void-container {
    min-height: 100vh;
    max-width: 800px;           /* 收窄內容區域 */
    margin: 0 auto;
    padding: 0 2rem;
    
    /* 在兩側留出大面積黑色，創造窺視感 */
    position: relative;
}

/* === 網站標題區域 === */
.site-header {
    text-align: center;
    padding: 4rem 0 3rem 0;
    border-bottom: 1px solid var(--muted-gray);
    margin-bottom: 3rem;
    position: relative;
}

.site-title {
    font-family: var(--title-font);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--blood-red);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
    
    /* 添加微妙的陰影效果 */
    text-shadow: 0 0 10px rgba(183, 28, 28, 0.3);
}

.site-subtitle {
    font-family: var(--mono-font);
    font-size: 1rem;
    color: var(--muted-gray);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.site-motto {
    font-family: var(--title-font);
    font-size: 1.1rem;
    color: var(--old-gold);
    font-style: italic;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/* === 電子木魚儀式區域 === */
.wooden-fish-ritual {
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(136, 136, 136, 0.2);
}

.ritual-container {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.wooden-fish {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem auto;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(191, 164, 95, 0.1), transparent);
    /* 確保點擊區域足夠大 */
    min-width: 120px;
    min-height: 120px;
    /* 響應式尺寸調整時的平滑過渡 */
    transition: width 0.3s ease, height 0.3s ease, transform 0.3s ease, background 0.3s ease;
    /* 確保容器保持圓形 */
    aspect-ratio: 1 / 1;
}

.wooden-fish:hover {
    transform: scale(1.05);
}

.wooden-fish:active {
    transform: scale(0.95);
}

.wooden-fish.clicked {
    animation: muyu-click 0.3s ease-out;
}

@keyframes muyu-click {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.8);
    }
    100% {
        transform: scale(1);
    }
}

/* === 驚喜發現型自動外掛控制器 === */
.auto-controller {
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 10;
    display: flex;
    gap: 4px;
    align-items: center;
}

.controller-toggle {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, rgba(191, 164, 95, 0.1), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(191, 164, 95, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.4;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.controller-toggle:hover {
    opacity: 0.8;
    background: linear-gradient(135deg, rgba(191, 164, 95, 0.2), rgba(255, 215, 0, 0.1));
    border-color: var(--old-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(191, 164, 95, 0.2);
}

.controller-toggle.active {
    opacity: 1;
    background: linear-gradient(135deg, rgba(183, 28, 28, 0.2), rgba(220, 50, 50, 0.1));
    border-color: var(--blood-red);
    animation: hack-pulse 2s ease-in-out infinite;
}

@keyframes hack-pulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(183, 28, 28, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 12px rgba(183, 28, 28, 0.5);
        transform: scale(1.05);
    }
}

.toggle-icon {
    font-size: 12px;
    color: var(--old-gold);
    transition: all 0.3s ease;
    text-shadow: 0 0 3px rgba(191, 164, 95, 0.3);
}

.controller-toggle:hover .toggle-icon {
    color: var(--merit-gold);
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
}

.controller-toggle.active .toggle-icon {
    color: var(--blood-red);
    text-shadow: 0 0 8px rgba(183, 28, 28, 0.8), 0 0 12px rgba(183, 28, 28, 0.4);
    animation: icon-spin 3s linear infinite;
    filter: drop-shadow(0 0 4px rgba(183, 28, 28, 0.6));
}

@keyframes icon-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.toggle-status {
    display: none; /* 完全隱藏氣泡狀態指示 */
}

.toggle-status.online {
    display: none; /* 完全隱藏氣泡狀態指示 */
}

.controller-panel {
    position: absolute;
    top: 35px;
    right: 0;
    width: 180px;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.95), rgba(0, 0, 0, 0.9));
    border: 1px solid rgba(191, 164, 95, 0.3);
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(191, 164, 95, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(12px);
    border-top: 2px solid rgba(191, 164, 95, 0.5);
}

.controller-panel.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    animation: panel-glow 0.5s ease-out;
}

@keyframes panel-glow {
    0% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(191, 164, 95, 0.1); }
    50% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 30px rgba(191, 164, 95, 0.3); }
    100% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(191, 164, 95, 0.1); }
}

.panel-header {
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(191, 164, 95, 0.2);
    position: relative;
}

.panel-title {
    font-family: var(--mono-font);
    font-size: 0.8rem;
    color: var(--old-gold);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-shadow: 0 0 5px rgba(191, 164, 95, 0.3);
    animation: title-flicker 3s ease-in-out infinite;
}

@keyframes title-flicker {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.speed-select {
    width: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(18, 18, 18, 0.8));
    color: var(--zen-gray);
    border: 1px solid rgba(191, 164, 95, 0.3);
    border-radius: 4px;
    padding: 6px 8px;
    font-family: var(--mono-font);
    font-size: 0.75rem;
    margin-bottom: 10px;
    outline: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.speed-select:focus {
    border-color: var(--old-gold);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(18, 18, 18, 0.9));
    box-shadow: 0 0 8px rgba(191, 164, 95, 0.3);
}

.speed-select:hover {
    border-color: rgba(191, 164, 95, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.stat-box {
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(18, 18, 18, 0.3));
    border-radius: 4px;
    padding: 6px 4px;
    border: 1px solid rgba(191, 164, 95, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-box:hover {
    border-color: rgba(191, 164, 95, 0.4);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(18, 18, 18, 0.4));
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(191, 164, 95, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-box:hover::before {
    left: 100%;
}

.stat-value {
    display: block;
    font-family: var(--mono-font);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--merit-gold);
    line-height: 1.2;
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.stat-box:hover .stat-value {
    color: var(--old-gold);
    text-shadow: 0 0 6px rgba(191, 164, 95, 0.5);
}

.stat-label {
    display: block;
    font-size: 0.6rem;
    color: var(--muted-gray);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.stat-box:hover .stat-label {
    opacity: 1;
}

.fish-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(191, 164, 95, 0.3), transparent);
    transform: translate(-50%, -50%);
    animation: breathing-glow 4s ease-in-out infinite;
}

.fish-symbol {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fish-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: sepia(0.3) brightness(1.1) contrast(1.1);
    transition: all 0.3s ease;
    border-radius: 50%;
    /* 確保圖片在容器中居中 */
    display: block;
    margin: 0 auto;
    /* 響應式尺寸調整時的平滑過渡 */
    transition: width 0.3s ease, height 0.3s ease, filter 0.3s ease;
    /* 防止圖片變形 */
    aspect-ratio: 1 / 1;
    /* 優化圖片載入 */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.ritual-instruction {
    font-family: var(--title-font);
    font-size: 1.1rem;
    color: var(--old-gold);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.merit-counter {
    font-family: var(--mono-font);
    font-size: 1rem;
    color: var(--zen-gray);
    margin-bottom: 2rem;
}

.merit-text {
    color: var(--muted-gray);
}

.merit-count {
    color: var(--merit-gold);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* === 戒斷次數清除按鈕樣式 === */

.reset-button {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, rgba(191, 164, 95, 0.1), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(191, 164, 95, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.reset-button:hover {
    opacity: 0.8;
    background: linear-gradient(135deg, rgba(191, 164, 95, 0.2), rgba(255, 215, 0, 0.1));
    border-color: var(--old-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(191, 164, 95, 0.2);
}

.reset-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(183, 28, 28, 0.3);
}

.reset-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: var(--old-gold);
    opacity: 0.8;
}

.reset-button:hover .reset-icon {
    transform: scale(1.1);
    opacity: 1;
}

/* 點擊動畫效果 */
.reset-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(183, 28, 28, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.reset-button.clicked::before {
    width: 100px;
    height: 100px;
}



.sutra-display {
    min-height: 60px;
    font-family: var(--title-font);
    font-size: 1.2rem;
    color: var(--highlight-gray);
    font-style: italic;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.sutra-display.show {
    opacity: 1;
}



@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes breathing-glow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* === 內容區域 === */
.content-area {
    margin-bottom: 4rem;
}

/* === 文章樣式 === */
.post {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(136, 136, 136, 0.2);
}

.post:last-child {
    border-bottom: none;
}

/* === 文章標題區域 === */
.post-header {
    margin-bottom: 2rem;
}

.post-title {
    font-family: var(--title-font);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--blood-red);
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--mono-font);
    font-size: 0.85rem;
    color: var(--muted-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.post-date {
    color: var(--zen-gray);
}

.classification {
    color: var(--old-gold);
    font-weight: 500;
}

/* === 文章內容 === */
.post-content {
    font-size: 1.1rem;
    line-height: 1.9;
}

.post-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.lead-paragraph {
    font-size: 1.25rem !important;
    color: var(--highlight-gray) !important;
    font-weight: 500;
    margin-bottom: 2rem !important;
    line-height: 1.7;
}

/* === 標題層級 === */
.post-content h3 {
    font-family: var(--title-font);
    font-size: 1.5rem;
    color: var(--old-gold);
    margin: 2.5rem 0 1.5rem 0;
    font-weight: 600;
}

/* === 禪意引用區塊 === */
.zen-quote {
    background-color: var(--charcoal-black);
    border-left: 4px solid var(--old-gold);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--highlight-gray);
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
    text-align: center;
}



/* 保持舊的dark-quote樣式以防需要 */
.dark-quote {
    background-color: var(--charcoal-black);
    border-left: 4px solid var(--blood-red);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--highlight-gray);
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
}

.dark-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--blood-red);
    position: absolute;
    top: -0.5rem;
    left: 0.5rem;
    font-family: var(--title-font);
    opacity: 0.3;
}

/* === 連結樣式 === */
a {
    color: var(--highlight-gray);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--old-gold);
    border-bottom-color: var(--old-gold);
}

/* === 頁腳 === */
.site-footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--muted-gray);
    margin-top: 4rem;
}

.footer-text {
    font-family: var(--mono-font);
    font-size: 0.85rem;
    color: var(--muted-gray);
    letter-spacing: 0.05em;
}

/* === 創作者印記 - Ouroboros === */
.ouroboros-mark {
    font-size: 0.7rem;
    color: #333333;  /* 幾乎與背景融為一體的深灰 */
    text-decoration: none;
    margin-left: 0.5rem;
    font-family: var(--title-font);
    font-style: italic;
    opacity: 0.3;
    transition: all 0.5s ease;
    border-bottom: none;
    position: relative;

    /* 微妙的文字陰影，增加神秘感 */
    text-shadow: 0 0 2px rgba(51, 51, 51, 0.5);
}

.ouroboros-mark:hover {
    color: var(--old-gold);
    opacity: 0.8;
    text-shadow: 0 0 8px rgba(191, 164, 95, 0.4);
    transform: scale(1.05);
}

.ouroboros-mark:active {
    color: var(--blood-red);
    text-shadow: 0 0 10px rgba(183, 28, 28, 0.6);
}

/* 為 Ouroboros 添加微妙的脈動效果 */
.ouroboros-mark::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(191, 164, 95, 0.1), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: -1;
}

.ouroboros-mark:hover::before {
    width: 30px;
    height: 30px;
}

/* === 響應式設計 === */
@media (max-width: 768px) {
    .void-container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .site-title {
        font-size: 2.5rem;
    }
    
    .post-title {
        font-size: 1.8rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .post-content {
        font-size: 1rem;
    }
    
    .lead-paragraph {
        font-size: 1.1rem !important;
    }

    /* 自動控制器響應式 - 平衡可見性 */
    .auto-controller {
        top: -6px;
        right: -6px;
    }

    .controller-panel {
        width: 160px;
        right: -20px;
    }

    .controller-toggle {
        width: 24px;
        height: 24px;
        opacity: 0.6; /* 移動端稍微提高可見性 */
    }

    .toggle-icon {
        font-size: 10px;
    }

    .stat-box {
        padding: 8px 4px;
    }

    /* 行動版木魚放大 */
    .wooden-fish {
        width: 180px;
        height: 180px;
        margin: 0 auto 2.5rem auto;
    }

    .fish-image {
        width: 140px;
        height: 140px;
    }

    .fish-symbol {
        font-size: 5rem; /* 木魚符號更大 */
    }
}

/* === 平板尺寸優化 (768px - 1024px) === */
@media (min-width: 768px) and (max-width: 1024px) {
    .wooden-fish {
        width: 160px;
        height: 160px;
        margin: 0 auto 2.5rem auto;
    }

    .fish-image {
        width: 120px;
        height: 120px;
    }

    .fish-symbol {
        font-size: 4.5rem;
    }
}

/* === 大螢幕優化 (1200px+) === */
@media (min-width: 1200px) {
    .wooden-fish {
        width: 160px;
        height: 160px;
        margin: 0 auto 2.5rem auto;
    }

    .fish-image {
        width: 120px;
        height: 120px;
    }

    .wooden-fish:hover {
        transform: scale(1.08);
    }
}

/* === 超小螢幕優化 (320px - 480px) === */
@media (max-width: 480px) {
    .wooden-fish {
        width: 160px;
        height: 160px;
        margin: 0 auto 2rem auto;
    }

    .fish-image {
        width: 120px;
        height: 120px;
    }

    .fish-symbol {
        font-size: 4.5rem;
    }
}

/* === 極小螢幕優化 (< 320px) === */
@media (max-width: 320px) {
    .wooden-fish {
        width: 140px;
        height: 140px;
        margin: 0 auto 1.5rem auto;
    }

    .fish-image {
        width: 100px;
        height: 100px;
    }

    .fish-symbol {
        font-size: 4rem;
    }
}

/* === 滾動條自定義（Webkit） === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--void-black);
}

::-webkit-scrollbar-thumb {
    background: var(--muted-gray);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--archive-gray);
}

/* === 高級視覺效果 === */

/* 文章淡入動畫 */
.post {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.post.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* 標題發光效果 */
.site-title {
    animation: subtle-glow 4s ease-in-out infinite alternate;
}

@keyframes subtle-glow {
    from {
        text-shadow: 0 0 10px rgba(183, 28, 28, 0.3);
    }
    to {
        text-shadow: 0 0 20px rgba(183, 28, 28, 0.5), 0 0 30px rgba(183, 28, 28, 0.2);
    }
}

/* 引用區塊的呼吸效果 */
.dark-quote {
    animation: breathing 6s ease-in-out infinite;
}

@keyframes breathing {
    0%, 100% {
        border-left-width: 4px;
    }
    50% {
        border-left-width: 6px;
    }
}

/* 分類標籤的閃爍效果 */
.classification {
    animation: classification-blink 3s ease-in-out infinite;
}

@keyframes classification-blink {
    0%, 90%, 100% {
        opacity: 1;
    }
    95% {
        opacity: 0.7;
    }
}

/* 滑鼠懸停時的文字陰影增強 */
.post-title:hover {
    text-shadow: 0 0 15px rgba(183, 28, 28, 0.6);
    transition: text-shadow 0.3s ease;
}

/* 頁面載入時的整體淡入 */
body {
    animation: page-fade-in 1.5s ease-out;
}

@keyframes page-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 連結的微妙動畫 */
a {
    position: relative;
    overflow: hidden;
}

a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: var(--old-gold);
    transition: left 0.3s ease;
}

a:hover::after {
    left: 0;
}

/* 文字選取時的特殊效果 */
.post-content p::selection {
    background: linear-gradient(90deg, var(--blood-red), var(--old-gold));
    color: var(--void-black);
}

/* 深度陰影效果 */
.void-container {
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
}

/* 微妙的邊框動畫 */
.site-header {
    position: relative;
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--muted-gray), transparent);
    animation: border-expand 2s ease-out 1s forwards;
}

@keyframes border-expand {
    to {
        width: 100%;
        left: 0;
    }
}

/* 煉金術爆發效果 */
@keyframes alchemical-burst {
    0% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.5) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(2) rotate(360deg) translateY(-20px);
    }
}

/* === 極簡功德箱 === */
.donation-section {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(136, 136, 136, 0.2);
}

.donation-box {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(18, 18, 18, 0.4);
    border: 1px solid rgba(136, 136, 136, 0.3);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.donation-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.donation-header:hover {
    background-color: rgba(191, 164, 95, 0.05);
}

.donation-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.donation-info {
    flex: 1;
}

.expand-indicator {
    font-size: 1.2rem;
    color: var(--old-gold);
    transition: transform 0.3s ease;
    margin-left: auto;
    user-select: none;
}

.donation-title {
    font-family: var(--title-font);
    font-size: 1.5rem;
    color: var(--old-gold);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.donation-desc {
    font-size: 0.9rem;
    color: var(--zen-gray);
    margin: 0;
    line-height: 1.5;
}

.crypto-list {
    margin-bottom: 2rem;
}

.crypto-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    border: 1px solid rgba(136, 136, 136, 0.2);
}

.crypto-symbol {
    font-size: 1.2rem;
    color: var(--old-gold);
    min-width: 24px;
    text-align: center;
    font-weight: 600;
}

.crypto-name {
    font-family: var(--title-font);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--old-gold);
    min-width: 50px;
    text-align: left;
}

.crypto-input {
    flex: 1;
    padding: 0.6rem;
    background: var(--void-black);
    border: 1px solid rgba(136, 136, 136, 0.3);
    border-radius: 4px;
    color: var(--zen-gray);
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.crypto-input:focus {
    border-color: var(--old-gold);
}

.crypto-input::placeholder {
    color: rgba(136, 136, 136, 0.5);
    font-style: italic;
}

.copy-button {
    padding: 0.6rem 1rem;
    background: var(--old-gold);
    color: var(--void-black);
    border: none;
    border-radius: 4px;
    font-family: var(--title-font);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-button:hover {
    background: var(--merit-gold);
    transform: translateY(-1px);
}

.copy-button:active {
    transform: translateY(0);
}

.donation-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(136, 136, 136, 0.2);
}

.share-button {
    font-family: var(--title-font);
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: var(--zen-gray);
    border: 1px solid rgba(136, 136, 136, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.share-button:hover {
    background: rgba(136, 136, 136, 0.1);
    color: var(--old-gold);
    border-color: var(--old-gold);
    transform: translateY(-1px);
}

.box-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(191, 164, 95, 0.3);
}

.box-image {
    text-align: center;
    margin-bottom: 2rem;
}

.merit-box-image {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.merit-box-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(191, 164, 95, 0.2);
}

.box-title {
    font-family: var(--title-font);
    font-size: 2rem;
    color: var(--old-gold);
    margin: 0;
    font-weight: 600;
}

.incense-icon {
    font-size: 2rem;
    filter: sepia(1) hue-rotate(30deg) brightness(1.2);
    animation: flicker 2s ease-in-out infinite alternate;
}

.box-content {
    width: 100%;
    overflow: visible;
    display: block;
}

.box-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--zen-gray);
    margin-bottom: 2.5rem;
    text-align: justify;
    width: 100%;
    overflow: visible;
    white-space: normal;
    word-wrap: break-word;
}

/* === 加密貨幣地址樣式 === */
.crypto-addresses {
    margin-bottom: 2.5rem;
}

.address-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.crypto-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(18, 18, 18, 0.6);
    border: 1px solid rgba(191, 164, 95, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.crypto-item:hover {
    border-color: var(--old-gold);
    box-shadow: 0 4px 15px rgba(191, 164, 95, 0.1);
}

.crypto-symbol {
    font-family: var(--title-font);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--old-gold);
    min-width: 80px;
    text-align: center;
}

.address-container {
    display: flex;
    flex: 1;
    gap: 0.5rem;
}

.crypto-address {
    flex: 1;
    padding: 0.8rem;
    background: var(--void-black);
    border: 1px solid rgba(136, 136, 136, 0.3);
    border-radius: 6px;
    color: var(--zen-gray);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.crypto-address:focus {
    border-color: var(--old-gold);
}

.copy-btn {
    padding: 0.8rem 1.2rem;
    background: var(--old-gold);
    color: var(--void-black);
    border: none;
    border-radius: 6px;
    font-family: var(--title-font);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    background: var(--merit-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(191, 164, 95, 0.3);
}

.copy-btn:active {
    transform: translateY(0);
}

.merit-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.donation-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.donation-btn {
    font-family: var(--title-font);
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.donation-btn.primary {
    background: linear-gradient(135deg, var(--old-gold), var(--merit-gold));
    color: var(--void-black);
    box-shadow: 0 4px 15px rgba(191, 164, 95, 0.3);
}

.donation-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(191, 164, 95, 0.4);
}

.donation-btn.secondary {
    background: transparent;
    color: var(--old-gold);
    border: 2px solid var(--old-gold);
}

.donation-btn.secondary:hover {
    background: var(--old-gold);
    color: var(--void-black);
    transform: translateY(-2px);
}

/* === 功德按鈕樣式 === */
.merit-btn {
    font-family: var(--title-font);
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.merit-btn.primary {
    background: linear-gradient(135deg, var(--old-gold), var(--merit-gold));
    color: var(--void-black);
    box-shadow: 0 4px 15px rgba(191, 164, 95, 0.3);
}

.merit-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(191, 164, 95, 0.4);
}

.merit-btn.secondary {
    background: transparent;
    color: var(--old-gold);
    border: 2px solid var(--old-gold);
}

.merit-btn.secondary:hover {
    background: var(--old-gold);
    color: var(--void-black);
    transform: translateY(-2px);
}

.alternative-merit {
    font-size: 0.9rem;
    color: var(--muted-gray);
    font-style: italic;
    line-height: 1.5;
}

@keyframes border-glow {
    from {
        opacity: 0.2;
    }
    to {
        opacity: 0.5;
    }
}

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

/* === 功德箱響應式設計 === */
@media (max-width: 768px) {
    .merit-box-image {
        max-width: 180px;
    }

    .crypto-item {
        flex-direction: column;
        gap: 0.8rem;
        align-items: stretch;
    }

    .crypto-symbol {
        min-width: auto;
        text-align: left;
        font-size: 1.1rem;
    }

    .address-container {
        flex-direction: column;
        gap: 0.8rem;
    }

    .crypto-address {
        font-size: 0.8rem;
        word-break: break-all;
    }

    .copy-btn {
        align-self: stretch;
        text-align: center;
    }

    .merit-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .merit-btn {
        width: 100%;
        padding: 1.2rem;
    }
}

/* === 提示動畫 === */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* === 極簡功德箱響應式設計 === */
@media (max-width: 768px) {
    .donation-box {
        margin: 0 1rem;
        padding: 1.5rem;
    }

    .donation-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .donation-image {
        width: 60px;
        height: 60px;
    }

    .expand-indicator {
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 1.5rem;
    }

    .crypto-row {
        flex-direction: column;
        gap: 0.8rem;
        align-items: stretch;
    }

    .crypto-symbol {
        font-size: 1.5rem;
    }

    .crypto-name {
        min-width: auto;
        text-align: center;
        font-size: 1rem;
    }

    .crypto-input {
        font-size: 0.9rem;
        text-align: center;
    }

    .copy-button {
        width: 100%;
        padding: 0.8rem;
    }

    .share-button {
        width: 100%;
        padding: 1rem;
    }
}
