@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; /* Soothing Rose Gold */
    --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; }

/* Star 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.25;
}
@keyframes fallStar {
    0%   { transform: translateY(0) scale(1); opacity: 0; }
    10%  { opacity: 0.4; }
    90%  { opacity: 0.2; }
    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: 90vh;
    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.06), 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; }

/* Main Section Layout */
.sorry-main { max-width: 680px; margin: 0 auto; padding: 0 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: 4rem;
}
.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.98rem;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}
.letter-text strong {
    color: var(--accent);
    font-weight: 400;
}

/* Shatter Box Zone */
.shatter-zone {
    margin-top: 3rem;
    padding: 2.2rem 2rem;
    border: 1px dashed rgba(229,152,155,0.3);
    border-radius: 20px;
    background: rgba(229,152,155,0.02);
    text-align: center;
    transition: all 0.4s ease;
}
.shatter-zone h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.shatter-desc {
    font-size: 0.88rem;
    font-style: italic;
    color: var(--muted);
    margin-bottom: 1.8rem;
}
.shatter-btn {
    padding: 0.8rem 2.2rem;
    border: none;
    border-radius: 100px;
    background: var(--accent);
    color: #0d0c12;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(229,152,155,0.35);
    transition: all 0.3s;
}
.shatter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229,152,155,0.55);
}

/* Shatter Success Slide */
.shatter-success {
    display: none;
    opacity: 0;
    transform: scale(0.95);
    margin-top: 3rem;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(72,187,120,0.25);
    background: rgba(72,187,120,0.02);
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.success-icon { font-size: 3rem; display: block; margin-bottom: 1rem; }
.shatter-success h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    color: #68d391;
    margin-bottom: 0.6rem;
}
.shatter-success p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.new-promise {
    font-size: 0.85rem;
    background: rgba(72,187,120,0.1);
    color: #68d391;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid rgba(72,187,120,0.15);
}

/* Forgive Section */
.forgive-section {
    text-align: center;
    padding: 2rem 0;
}
.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, transform 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

/* Comments Custom Section */
.comments-wrapper {
    max-width: 680px;
    margin: 4rem auto 0;
    padding: 4rem 1.5rem 0;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}
.comments-header {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    text-align: center;
    color: var(--accent);
    margin-bottom: 0.3rem;
}
.comments-subheader {
    font-size: 0.85rem;
    text-align: center;
    color: var(--muted);
    margin-bottom: 2.5rem;
}

/* Footer */
.footer { text-align: center; padding: 6rem 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.6); }
.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; }
}
