/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --text-primary: #e8e6f0;
    --text-secondary: #9896a8;
    --text-muted: #6b6980;
    --accent: #7c6aef;
    --accent-light: #9d8df7;
    --accent-glow: rgba(124, 106, 239, 0.3);
    --gold: #f0c860;
    --gold-glow: rgba(240, 200, 96, 0.2);
    --red: #ef6a6a;
    --red-glow: rgba(239, 106, 106, 0.15);
    --border: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(124, 106, 239, 0.25);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

#particles {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none; opacity: 0.5;
}

/* ===== ORBS ===== */
.orb {
    position: fixed; border-radius: 50%; filter: blur(80px);
    pointer-events: none; z-index: 0; opacity: 0.4;
}
.orb-1 { width: 400px; height: 400px; background: var(--accent); top: -100px; right: -100px; animation: orbFloat1 20s ease-in-out infinite; }
.orb-2 { width: 300px; height: 300px; background: #ef6a9d; bottom: 10%; left: -80px; animation: orbFloat2 25s ease-in-out infinite; }
.orb-3 { width: 250px; height: 250px; background: var(--gold); top: 50%; right: 10%; animation: orbFloat3 18s ease-in-out infinite; opacity: 0.2; }

@keyframes orbFloat1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-60px, 80px); } }
@keyframes orbFloat2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(50px, -60px); } }
@keyframes orbFloat3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, -50px); } }

/* ===== CONTAINER ===== */
.container {
    position: relative; z-index: 1;
    max-width: 800px; margin: 0 auto;
    padding: 40px 24px 60px;
}

/* ===== HEADER ===== */
.header {
    display: flex; flex-direction: column; align-items: center;
    gap: 24px; padding: 40px 0 20px;
    animation: fadeInDown 1s ease-out;
}
.logo-wrapper { position: relative; }
.logo {
    width: auto; max-width: 280px; height: auto; max-height: 100px;
    border-radius: var(--radius-sm);
    border: none;
    filter: drop-shadow(0 0 30px var(--accent-glow)) drop-shadow(0 0 60px rgba(124, 106, 239, 0.15));
    object-fit: contain;
    animation: logoPulse 4s ease-in-out infinite;
}
@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 30px var(--accent-glow)) drop-shadow(0 0 60px rgba(124, 106, 239, 0.15)); }
    50% { filter: drop-shadow(0 0 45px var(--accent-glow)) drop-shadow(0 0 80px rgba(124, 106, 239, 0.25)); }
}
.status-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; border-radius: 50px;
    background: rgba(239, 106, 106, 0.1);
    border: 1px solid rgba(239, 106, 106, 0.25);
    color: var(--red); font-size: 0.75rem;
    font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase;
}
.status-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--red);
    animation: statusBlink 2s ease-in-out infinite;
}
@keyframes statusBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ===== ANNOUNCEMENT ===== */
.announcement-section {
    text-align: center; padding: 40px 0;
    animation: fadeInUp 1s ease-out 0.2s both;
}
.title { display: flex; flex-direction: column; gap: 4px; }
.title-line {
    font-size: 2.5rem; font-weight: 800;
    letter-spacing: -1px; line-height: 1.2;
}
.title-line-1 { color: var(--text-secondary); font-size: 1.6rem; font-weight: 500; }
.title-line-2 {
    background: linear-gradient(135deg, var(--accent-light), var(--red), var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.divider {
    display: flex; align-items: center; gap: 16px;
    margin-top: 32px; justify-content: center;
}
.divider-line { flex: 1; max-width: 120px; height: 1px; background: linear-gradient(90deg, transparent, var(--border-accent), transparent); }
.divider-icon { color: var(--accent); opacity: 0.6; display: flex; animation: spinSlow 10s linear infinite; }
@keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ===== LETTER ===== */
.letter-section { animation: fadeInUp 1s ease-out 0.4s both; }
.letter-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 36px;
    box-shadow: var(--shadow);
    position: relative; overflow: hidden;
}
.letter-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--red), var(--gold));
}
.letter-header { margin-bottom: 28px; }
.letter-date {
    display: flex; align-items: center; gap: 10px;
    color: var(--text-muted); font-size: 0.85rem;
    font-style: italic;
}
.letter-body p { margin-bottom: 16px; color: var(--text-secondary); font-size: 0.95rem; }
.letter-greeting { color: var(--text-primary) !important; font-weight: 600; font-size: 1rem !important; margin-bottom: 24px !important; }
.letter-body strong { color: var(--text-primary); font-weight: 600; }

.highlight-box {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--red-glow);
    border: 1px solid rgba(239, 106, 106, 0.2);
    border-radius: var(--radius-sm);
    padding: 20px 24px; margin-top: 24px;
}
.highlight-icon { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.highlight-box p { margin: 0 !important; color: var(--text-primary) !important; font-size: 0.9rem !important; }

/* ===== TIMELINE ===== */
.timeline-section { padding: 60px 0 20px; animation: fadeInUp 1s ease-out 0.6s both; }
.section-title {
    display: flex; align-items: center; gap: 12px;
    font-size: 1.3rem; font-weight: 700; color: var(--text-primary);
    margin-bottom: 36px; padding-left: 4px;
}
.section-title svg { color: var(--accent); }
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
    content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--red));
    border-radius: 2px;
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
    position: absolute; left: -29px; top: 6px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--accent);
    z-index: 1; transition: var(--transition);
}
.timeline-item-final .timeline-marker {
    border-color: var(--red);
    box-shadow: 0 0 12px var(--red-glow);
    background: var(--red);
}
.timeline-content {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 20px 24px;
    transition: var(--transition);
}
.timeline-content:hover { background: var(--bg-card-hover); border-color: var(--border-accent); transform: translateX(4px); }
.timeline-date { font-size: 0.75rem; color: var(--accent-light); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.timeline-content h3 { font-size: 1.05rem; margin: 6px 0 8px; color: var(--text-primary); font-weight: 700; }
.timeline-content p { font-size: 0.88rem; color: var(--text-secondary); margin: 0; line-height: 1.6; }

/* ===== MESSAGE / GRATITUDE ===== */
.message-section { padding: 40px 0; animation: fadeInUp 1s ease-out 0.8s both; }
.message-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 48px 36px;
    text-align: center; position: relative; overflow: hidden;
    box-shadow: var(--shadow);
}
.message-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center top, var(--accent-glow), transparent 70%);
    pointer-events: none;
}
.message-icon { color: var(--red); margin-bottom: 16px; animation: heartbeat 2s ease-in-out infinite; position: relative; }
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10% { transform: scale(1.15); }
    20% { transform: scale(1); }
    30% { transform: scale(1.1); }
    40% { transform: scale(1); }
}
.message-title {
    font-size: 1.5rem; font-weight: 800; margin-bottom: 24px;
    background: linear-gradient(135deg, var(--gold), var(--accent-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    position: relative;
}
.message-body { text-align: left; position: relative; }
.message-body p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 16px; }
.message-body strong { color: var(--text-primary); }
.message-highlight {
    background: var(--gold-glow); border-left: 3px solid var(--gold);
    padding: 20px 24px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 24px 0 !important;
}
.message-highlight em { color: var(--gold); font-style: italic; line-height: 1.8; }

/* ===== DISCLAIMER ===== */
.disclaimer-section { padding: 20px 0; animation: fadeInUp 1s ease-out 1s both; }
.disclaimer-card {
    background: rgba(239, 106, 106, 0.04);
    border: 1px solid rgba(239, 106, 106, 0.15);
    border-radius: var(--radius); padding: 36px;
}
.disclaimer-header {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 20px; color: var(--red);
}
.disclaimer-header h2 { font-size: 1.15rem; font-weight: 700; color: var(--red); }
.disclaimer-body p { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 20px; }
.disclaimer-body strong { color: var(--text-primary); }
.disclaimer-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.disclaimer-list li {
    display: flex; align-items: flex-start; gap: 12px;
    color: var(--text-secondary); font-size: 0.9rem;
    padding: 12px 16px; background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm); border: 1px solid var(--border);
}
.disclaimer-list li svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.disclaimer-list li strong { color: var(--text-primary); }

/* ===== COUNTER ===== */
.counter-section { padding: 40px 0; animation: fadeInUp 1s ease-out 1.2s both; }
.counter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.counter-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px 20px;
    text-align: center; transition: var(--transition);
}
.counter-card:hover { border-color: var(--border-accent); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.counter-number {
    font-size: 2.8rem; font-weight: 800; line-height: 1;
    background: linear-gradient(135deg, var(--accent-light), var(--text-primary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.counter-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.counter-card-highlight {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(124, 106, 239, 0.08), rgba(240, 200, 96, 0.06));
    border-color: var(--border-accent);
}
.counter-card-highlight .counter-number {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--gold), var(--accent-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0 40px; text-align: center;
    animation: fadeInUp 1s ease-out 1.4s both;
}
.footer-signature { margin-bottom: 32px; }
.footer-role { color: var(--text-muted); font-size: 0.9rem; font-style: italic; }
.footer-name { color: var(--text-primary); font-size: 1.1rem; font-weight: 700; margin-top: 4px; }
.footer-period {
    font-size: 0.85rem; color: var(--accent); font-weight: 600;
    margin-top: 8px; letter-spacing: 3px;
}
.footer-divider { width: 60px; height: 1px; background: var(--border-accent); margin: 0 auto 24px; }
.footer-note { color: var(--text-muted); font-size: 0.8rem; line-height: 1.8; }

/* ===== CANDLE ===== */
.footer-candle { margin-top: 40px; display: flex; justify-content: center; }
.candle { display: flex; flex-direction: column; align-items: center; }
.flame { position: relative; width: 14px; height: 24px; margin-bottom: -2px; }
.flame-inner {
    width: 14px; height: 24px;
    background: radial-gradient(ellipse at bottom, var(--gold), #ff8c00, transparent);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flicker 1.5s ease-in-out infinite alternate;
    filter: blur(0.5px);
    box-shadow: 0 0 15px var(--gold), 0 0 30px rgba(240, 200, 96, 0.3);
}
@keyframes flicker {
    0% { transform: scaleY(1) scaleX(1) rotate(-1deg); opacity: 1; }
    50% { transform: scaleY(1.1) scaleX(0.9) rotate(1deg); opacity: 0.9; }
    100% { transform: scaleY(0.95) scaleX(1.05) rotate(-0.5deg); opacity: 1; }
}
.candle-body { width: 8px; height: 40px; background: linear-gradient(180deg, #d4c5a0, #b8a880); border-radius: 0 0 3px 3px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .container { padding: 24px 16px 40px; }
    .title-line { font-size: 1.8rem; }
    .title-line-1 { font-size: 1.2rem; }
    .letter-card, .message-card, .disclaimer-card { padding: 28px 20px; }
    .counter-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .counter-number { font-size: 2rem; }
    .counter-card-highlight .counter-number { font-size: 2.5rem; }
    .counter-card { padding: 20px 12px; }
    .orb-1 { width: 250px; height: 250px; }
    .orb-2 { width: 180px; height: 180px; }
    .orb-3 { display: none; }
}
