/**
 * 森林主題 (Forest)
 * 深綠色系，自然療癒
 * 適合：平靜、回歸自然的紀念氛圍
 */

.theme-forest {
    --theme-primary: #276749;
    --theme-secondary: #2f855a;
    --theme-accent: #68d391;
    --theme-bg-start: #1a202c;
    --theme-bg-end: #276749;
    --theme-text: #f0fff4;
    --theme-text-light: #9ae6b4;
}

.theme-forest .memorial-view-page {
    background: linear-gradient(180deg,
        #1a202c 0%,
        #234e3e 30%,
        #276749 60%,
        #38a169 100%
    );
    min-height: 100vh;
}

/* 樹葉飄落效果 */
.theme-forest .memorial-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%2368d391' opacity='0.3'%3E%3Cpath d='M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 60px 60px;
    animation: leafFall 20s linear infinite;
    opacity: 0.15;
}

@keyframes leafFall {
    0% { background-position: 0 0; }
    100% { background-position: 60px 120px; }
}

/* Hero 遮罩底部邊框顏色 - 與波浪一致 */
.theme-forest .hero-cover-overlay {
    border-bottom-color: #0a1a0a;
}

.theme-forest .memorial-cover {
    background: linear-gradient(180deg,
        #1a202c 0%,
        #234e3e 40%,
        #276749 70%,
        #38a169 100%
    );
}

.theme-forest .memorial-profile-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(104, 211, 145, 0.2);
    border-top-color: #0a1a0a;  /* 頂部邊框使用波浪顏色 */
}

.theme-forest .memorial-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.theme-forest .memorial-tribute-section {
    background: linear-gradient(135deg, rgba(39, 103, 73, 0.1) 0%, rgba(104, 211, 145, 0.1) 100%);
}

/* 蠟燭特效 - 森林綠光 */
.theme-forest .memorial-tribute-btn[data-type="candle"].active .memorial-tribute-icon {
    animation: forestGlow 2s ease-in-out infinite;
}

@keyframes forestGlow {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 5px #68d391);
    }
    50% {
        filter: brightness(1.2) drop-shadow(0 0 12px #38a169);
    }
}

/* 花朵特效 */
.theme-forest .memorial-tribute-btn[data-type="flower"].active .memorial-tribute-icon {
    animation: flowerBloom 1s ease-out;
}

@keyframes flowerBloom {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* 時間軸特色 */
.theme-forest .memorial-timeline-dot {
    background: linear-gradient(135deg, #276749, #68d391);
}

.theme-forest .memorial-timeline-line {
    background: linear-gradient(180deg, #276749, #68d391);
}

/* 卡片邊框 */
.theme-forest .memorial-message-card {
    border-left: 3px solid #68d391;
}
