@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,600&family=Outfit:wght@300;400;500&display=swap');

:root {
    --bg: #0d0c12;
    --text: rgba(255,255,255,0.92);
    --muted: rgba(255,255,255,0.42);
    --border: rgba(229, 152, 155, 0.1);
    --accent: #e5989b;
    --accent-warm: #fca5a5;
    --accent-glow: rgba(229, 152, 155, 0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Outfit', sans-serif; overflow-x: hidden; }

/* Particles */
.sky-particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.star-particle {
    position: absolute; top: -10px;
    background: white; border-radius: 50%;
    animation: fallStar linear infinite; opacity: 0.2;
}
@keyframes fallStar {
    0%   { transform: translateY(0) scale(1); opacity: 0; }
    10%  { opacity: 0.35; }
    90%  { opacity: 0.15; }
    100% { transform: translateY(105vh) scale(0.6); opacity: 0; }
}

/* Nav */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    padding: 1rem 2rem; z-index: 100;
    background: rgba(13,12,18,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-back {
    font-size: 0.78rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent);
    text-decoration: none; opacity: 0.7; transition: opacity 0.2s;
}
.nav-back:hover { opacity: 1; }

/* Hero */
.hero {
    min-height: 85vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 7rem 1.5rem 2rem;
    position: relative; z-index: 1;
}
.hero-glow {
    position: absolute; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(229,152,155,0.05), transparent 70%);
    pointer-events: none;
}
.hero-eyebrow {
    font-size: 0.8rem; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem;
}
.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 400; line-height: 1.1; margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-sub {
    color: var(--muted); font-size: 1.05rem;
    font-weight: 300; max-width: 500px; line-height: 1.75;
}

/* Timeline of the day */
.timeline-section {
    max-width: 680px; margin: 0 auto 0;
    padding: 0 1.5rem; position: relative; z-index: 1;
}
.timeline-label {
    font-size: 0.72rem; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--accent);
    text-align: center; margin-bottom: 2rem; opacity: 0.7;
}
.timeline {
    display: flex; flex-direction: column; gap: 0;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute; left: 28px; top: 0; bottom: 0;
    width: 1px; background: rgba(229,152,155,0.15);
}
.tl-item {
    display: flex; gap: 1.5rem; align-items: flex-start;
    padding: 0 0 2.5rem 0;
    opacity: 0;
    animation: tlAppear 0.5s ease forwards;
}
.tl-dot {
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--accent);
    flex-shrink: 0; margin-top: 4px;
    position: relative; z-index: 1;
    box-shadow: 0 0 10px rgba(229,152,155,0.3);
    margin-left: 22px;
}
.tl-dot.sad { border-color: var(--accent-warm); box-shadow: 0 0 10px rgba(252,165,165,0.3); }
.tl-time {
    font-size: 0.72rem; letter-spacing: 0.1em;
    color: var(--accent); opacity: 0.6;
    margin-bottom: 0.3rem; display: block;
}
.tl-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem; font-weight: 400;
    color: var(--text); margin-bottom: 0.4rem;
}
.tl-desc {
    font-size: 0.88rem; font-weight: 300;
    color: var(--muted); line-height: 1.7;
}
.tl-quote {
    display: inline-block; margin-top: 0.6rem;
    font-style: italic; font-size: 0.85rem;
    color: rgba(229,152,155,0.7);
    border-left: 2px solid rgba(229,152,155,0.3);
    padding-left: 0.8rem;
}
@keyframes tlAppear {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Main */
.sorry-main {
    max-width: 680px; margin: 0 auto;
    padding: 3rem 1.5rem 4rem; position: relative; z-index: 1;
}

/* Glass Panel */
.glass-panel {
    background: rgba(255,255,255,0.015);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    border-radius: 28px;
}

/* Letter Card */
.letter-card {
    padding: 3.5rem 2.5rem;
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
    margin-bottom: 3rem;
}
.letter-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem; font-weight: 400;
    color: var(--accent); margin-bottom: 2rem;
    border-bottom: 1px solid rgba(229,152,155,0.15);
    padding-bottom: 0.8rem;
}
.letter-text p {
    font-size: 0.97rem; font-weight: 300;
    color: rgba(255,255,255,0.72);
    line-height: 1.95; margin-bottom: 1.5rem;
}
.letter-text strong { color: var(--accent); font-weight: 400; }
.letter-text .highlight {
    display: block;
    border-left: 3px solid rgba(229,152,155,0.4);
    padding: 0.8rem 1.2rem;
    margin: 1.5rem 0;
    background: rgba(229,152,155,0.03);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: rgba(255,255,255,0.55);
    font-size: 0.92rem; line-height: 1.7;
}

/* Promise box */
.promise-box {
    margin-top: 2.5rem; padding: 2rem 1.8rem;
    border: 1px solid rgba(229,152,155,0.2);
    border-radius: 20px;
    background: rgba(229,152,155,0.03);
}
.promise-box h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem; color: var(--accent);
    margin-bottom: 1.4rem; font-weight: 400;
}
.promise-list { list-style: none; }
.promise-list li {
    font-size: 0.9rem; font-weight: 300;
    color: rgba(255,255,255,0.65);
    line-height: 1.8; padding-left: 1.6rem;
    position: relative; margin-bottom: 0.4rem;
}
.promise-list li::before {
    content: '✦'; position: absolute; left: 0;
    color: var(--accent); font-size: 0.6rem; top: 0.35rem;
}

/* Forgive Section */
.forgive-section { text-align: center; padding: 2rem 0 3rem; }
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem; font-weight: 400; margin-bottom: 0.4rem;
}
.section-sub {
    font-size: 0.9rem; color: var(--muted);
    font-weight: 300; margin-bottom: 2.5rem;
}
.btn-group {
    display: flex; justify-content: center;
    gap: 1.5rem; align-items: center;
    flex-wrap: wrap; min-height: 60px;
}
.forgive-btn {
    padding: 0.8rem 2.2rem; border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem; cursor: pointer; transition: all 0.3s;
}
.forgive-btn.accept {
    background: #68d391; color: #0d0c12; border: none;
    box-shadow: 0 4px 15px rgba(104,211,145,0.3);
}
.forgive-btn.accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(104,211,145,0.5);
}
.forgive-btn.decline {
    background: none; border: 1px solid var(--accent);
    color: var(--accent);
    transition: all 0.2s ease;
}

/* Footer */
.footer {
    text-align: center; padding: 5rem 1rem 4rem;
    position: relative; z-index: 1;
    border-top: 1px solid var(--border);
}
.footer-line {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem; line-height: 1.7;
    margin-bottom: 2rem; color: rgba(255,255,255,0.55);
}
.footer-line em { color: var(--accent); font-style: italic; }
.footer-back {
    font-size: 0.78rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent);
    text-decoration: none; opacity: 0.6; transition: opacity 0.2s;
}
.footer-back:hover { opacity: 1; }

@media (max-width: 600px) {
    .letter-card { padding: 2rem 1.5rem; }
    .btn-group { flex-direction: column; width: 100%; gap: 1rem; }
    .forgive-btn { width: 100%; max-width: 280px; }
    .timeline::before { left: 20px; }
    .tl-dot { margin-left: 14px; }
}
