/* ============================================
   CUSTOM PROPERTIES & RESET
   ============================================ */
:root {
    --bg-deep: #0a0812;
    --bg-warm: #0f0c18;
    --bg-card: rgba(255, 255, 255, 0.035);
    --bg-card-hover: rgba(255, 255, 255, 0.06);

    --ivory: #fef8ef;
    --parchment: #f5e6c8;
    --gold: #e8b84b;
    --gold-soft: rgba(232, 184, 75, 0.12);
    --rose: #d4728c;
    --rose-soft: rgba(212, 114, 140, 0.12);
    --blush: #f0b8c4;
    --lavender: #b8a9d4;
    --sage: #a8c5a0;

    --text-light: #f0e8db;
    --text-mid: rgba(240, 232, 219, 0.65);
    --text-dim: rgba(240, 232, 219, 0.35);

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Quicksand', 'Segoe UI', sans-serif;
    --font-script: 'Great Vibes', cursive;

    --postcard-w: min(520px, 88vw);
    --postcard-h: min(400px, 70vw);

    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   CANVAS & AMBIENT
   ============================================ */
#sakura-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.ambient-orbs {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 114, 140, 0.3) 0%, transparent 70%);
    top: -10%;
    right: -10%;
    animation: orbDrift1 25s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 184, 75, 0.2) 0%, transparent 70%);
    bottom: 10%;
    left: -8%;
    animation: orbDrift2 30s ease-in-out infinite;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(184, 169, 212, 0.2) 0%, transparent 70%);
    top: 40%;
    right: 20%;
    animation: orbDrift3 20s ease-in-out infinite;
}

@keyframes orbDrift1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-60px, 40px); }
    66% { transform: translate(30px, -30px); }
}

@keyframes orbDrift2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, -40px); }
}

@keyframes orbDrift3 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(40px, 30px); }
    66% { transform: translate(-30px, -50px); }
}

/* ============================================
   REVEAL SYSTEM
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    gap: 3rem;
}

.hero-intro {
    text-align: center;
    animation: fadeSlideDown 1s var(--ease-smooth) 0.3s both;
}

.intro-whisper {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-dim);
    letter-spacing: 2px;
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   3D POSTCARD
   ============================================ */
.postcard-scene {
    perspective: 1800px;
    perspective-origin: 50% 50%;
    width: var(--postcard-w);
    height: var(--postcard-h);
    animation: postcardEnter 1.2s var(--ease-out-back) 0.6s both;
    flex-shrink: 0;
}

@keyframes postcardEnter {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(40px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.postcard {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform-origin: 50% 50%;
    cursor: pointer;
}

/* Shadow deepens when tilting for depth feel */
.postcard.tilting .postcard-face {
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.postcard-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ---------- FRONT FACE ---------- */
.postcard-front {
    background:
        linear-gradient(145deg, #1c1526 0%, #16101f 40%, #1a1228 100%);
    display: flex;
    flex-direction: column;
    position: relative;
}

.postcard-front::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(232, 184, 75, 0.12);
    border-radius: 10px;
    pointer-events: none;
}

/* Stamp & Postmark */
.stamp-area {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.stamp {
    width: 52px;
    height: 62px;
    background: linear-gradient(135deg, var(--rose), #c4506e);
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 2px 8px rgba(212, 114, 140, 0.3);
    /* Perforated edge look */
    outline: 3px dotted rgba(255, 255, 255, 0.1);
    outline-offset: 3px;
}

.stamp-heart {
    font-size: 1.4rem;
    color: white;
    animation: stampPulse 2s ease-in-out infinite;
}

@keyframes stampPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.stamp-text {
    font-size: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.postmark {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
}

.postmark-circle {
    position: absolute;
    inset: 0;
    border: 1.5px solid var(--text-light);
    border-radius: 50%;
}

.postmark-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -4px;
    right: -4px;
    height: 1.5px;
    background: var(--text-light);
    transform: translateY(-50%);
}

.postmark-date {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.postmark-place {
    font-size: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
    margin-top: 1px;
}

/* Front content */
.front-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.front-decoration {
    position: absolute;
    font-size: 1.2rem;
    color: rgba(232, 184, 75, 0.15);
    animation: decoSpin 20s linear infinite;
}

.front-decoration.top-left { top: 20px; left: 20px; }
.front-decoration.top-right { top: 20px; right: 20px; animation-direction: reverse; }
.front-decoration.bottom-left { bottom: 20px; left: 20px; animation-direction: reverse; }
.front-decoration.bottom-right { bottom: 20px; right: 20px; }

@keyframes decoSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.front-to {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-mid);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.front-name {
    font-family: var(--font-script);
    font-size: clamp(3.5rem, 10vw, 5rem);
    color: var(--gold);
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(232, 184, 75, 0.2);
    animation: nameGlow 4s ease-in-out infinite;
}

@keyframes nameGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(232, 184, 75, 0.15); }
    50% { text-shadow: 0 0 40px rgba(232, 184, 75, 0.3), 0 0 80px rgba(232, 184, 75, 0.1); }
}

.front-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 1rem 0;
    width: 60%;
    max-width: 200px;
}

.front-divider span:first-child,
.front-divider span:last-child {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 184, 75, 0.3), transparent);
}

.divider-heart {
    color: var(--rose);
    font-size: 0.8rem;
    animation: stampPulse 2s ease-in-out infinite;
}

.front-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(0.8rem, 1.8vw, 1rem);
    color: var(--text-mid);
    text-align: center;
    line-height: 1.6;
}

.front-sub {
    font-family: var(--font-script);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--blush);
    margin-top: 0.8rem;
}

.flip-hint {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: hintPulse 3s ease-in-out infinite;
}

.flip-icon {
    font-size: 0.9rem;
    display: inline-block;
    animation: flipIconSpin 3s ease-in-out infinite;
}

@keyframes flipIconSpin {
    0%, 70%, 100% { transform: rotate(0deg); }
    80% { transform: rotate(180deg); }
}

@keyframes hintPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* ---------- BACK FACE ---------- */
.postcard-back {
    background: linear-gradient(160deg, #1e1729 0%, #16101f 100%);
    transform: rotateY(180deg);
    display: flex;
    position: relative;
}

.postcard-back::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(232, 184, 75, 0.08);
    border-radius: 10px;
    pointer-events: none;
}

/* Faint ruled lines */
.back-lines {
    position: absolute;
    inset: 30px;
    background: repeating-linear-gradient(
        180deg,
        transparent 0px,
        transparent 28px,
        rgba(255, 255, 255, 0.025) 28px,
        rgba(255, 255, 255, 0.025) 29px
    );
    pointer-events: none;
}

.back-content {
    flex: 1;
    padding: 1.5rem 1.8rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow-y: auto;
    scrollbar-width: none;
}

.back-content::-webkit-scrollbar {
    display: none;
}

.back-greeting {
    font-family: var(--font-script);
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.back-body {
    font-size: clamp(0.72rem, 1.5vw, 0.85rem);
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 0.6rem;
}

.back-sign {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.6rem;
}

.back-name {
    font-family: var(--font-script);
    font-size: 1.4rem;
    color: var(--rose);
}

/* ---------- SCROLL CUE ---------- */
.scroll-cue {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    animation: fadeSlideDown 1s var(--ease-smooth) 2s both;
}

.scroll-cue span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-dim);
}

.scroll-chevron {
    width: 16px;
    height: 16px;
    border-right: 1.5px solid var(--gold);
    border-bottom: 1.5px solid var(--gold);
    transform: rotate(45deg);
    opacity: 0.5;
    animation: chevronBounce 2.5s ease-in-out infinite;
}

@keyframes chevronBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
    50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* ============================================
   CONTENT SECTIONS — SHARED
   ============================================ */
.content-section {
    position: relative;
    z-index: 1;
    padding: 100px 20px;
}

.container {
    max-width: 850px;
    margin: 0 auto;
    width: 100%;
}

.section-badge {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rose);
    border: 1px solid rgba(212, 114, 140, 0.2);
    padding: 0.45rem 1.4rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5.5vw, 3.5rem);
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.25;
    text-align: center;
}

/* ============================================
   GRATITUDE GRID
   ============================================ */
.section-gratitude {
    text-align: center;
}

.gratitude-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.gratitude-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.4s var(--ease-smooth), border-color 0.4s, background 0.4s;
}

.gratitude-card:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 184, 75, 0.15);
    background: var(--bg-card-hover);
}

.g-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.gratitude-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.gratitude-card p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* ============================================
   TIMELINE
   ============================================ */
.section-journey {
    background: radial-gradient(ellipse at 50% 50%, rgba(184, 169, 212, 0.04) 0%, transparent 60%);
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(232, 184, 75, 0.05), rgba(232, 184, 75, 0.2) 30%, rgba(212, 114, 140, 0.2) 70%, rgba(184, 169, 212, 0.1));
}

.timeline-item {
    position: relative;
    padding-left: 56px;
    margin-bottom: 2.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 13px;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-deep);
    border: 2px solid var(--gold);
    z-index: 1;
    transition: background 0.3s, box-shadow 0.3s;
}

.timeline-item:hover .timeline-dot {
    background: var(--gold);
    box-shadow: 0 0 12px rgba(232, 184, 75, 0.4);
}

.dot-future {
    border-color: var(--rose);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 114, 140, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(212, 114, 140, 0); }
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 1.5rem 1.8rem;
    transition: border-color 0.4s;
}

.timeline-item:hover .timeline-card {
    border-color: rgba(232, 184, 75, 0.12);
}

.card-future {
    border-color: rgba(212, 114, 140, 0.15);
    background: linear-gradient(135deg, rgba(212, 114, 140, 0.06), var(--bg-card));
}

.timeline-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.6rem;
}

.card-future .timeline-label {
    color: var(--rose);
}

.timeline-card p {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.8;
}

/* ============================================
   LEARN TOGETHER
   ============================================ */
.section-learn {
    background: radial-gradient(ellipse at 50% 30%, rgba(168, 197, 160, 0.04) 0%, transparent 55%);
}

.learn-content {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.learn-block {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 2rem;
    transition: transform 0.4s var(--ease-smooth), border-color 0.4s;
}

.learn-block:hover {
    transform: translateY(-3px);
    border-color: rgba(168, 197, 160, 0.15);
}

.learn-icon {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.learn-block h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--sage);
    margin-bottom: 0.7rem;
}

.learn-block p {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.8;
}

.learn-highlight {
    position: relative;
    background: linear-gradient(135deg, rgba(168, 197, 160, 0.08), rgba(232, 184, 75, 0.06));
    border: 1px solid rgba(168, 197, 160, 0.12);
    border-radius: 18px;
    padding: 2.2rem 2.5rem;
    text-align: center;
    margin-top: 0.5rem;
}

.highlight-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--sage), var(--gold));
    border-radius: 4px 0 0 4px;
}

.highlight-main {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0.3rem;
}

.highlight-main em {
    color: var(--gold);
    font-style: italic;
    font-weight: 600;
}

.highlight-sub {
    font-size: 0.95rem;
    color: var(--text-mid);
    margin-top: 1rem;
    line-height: 1.7;
}

/* ============================================
   THE WISH
   ============================================ */
.section-wish {
    background: radial-gradient(ellipse at 50% 50%, rgba(232, 184, 75, 0.04) 0%, transparent 50%);
    padding: 120px 20px;
}

.wish-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.wish-quote {
    position: relative;
    margin-bottom: 3rem;
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 4rem;
    color: rgba(232, 184, 75, 0.2);
    line-height: 1;
    display: block;
}

.quote-mark.close {
    text-align: right;
}

.wish-quote p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.1rem, 2.8vw, 1.4rem);
    color: var(--text-light);
    line-height: 1.9;
    padding: 0 1rem;
}

.wish-message p {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.wish-message p:last-child {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--gold);
    font-style: italic;
}

/* ============================================
   SIGN-OFF
   ============================================ */
.section-signoff {
    padding: 80px 20px 120px;
    position: relative;
    overflow: hidden;
}

.signoff-card {
    position: relative;
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    overflow: hidden;
}

.signoff-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(232, 184, 75, 0.03),
        transparent,
        rgba(212, 114, 140, 0.03),
        transparent
    );
    animation: cardShine 12s linear infinite;
    pointer-events: none;
}

@keyframes cardShine {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.signoff-hearts {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.signoff-float-heart {
    position: absolute;
    bottom: -30px;
    animation: signoffFloat var(--dur) var(--del) ease-out infinite;
    pointer-events: none;
}

@keyframes signoffFloat {
    0% {
        transform: translateY(0) scale(var(--sc));
        opacity: 0;
    }
    15% { opacity: var(--op); }
    85% { opacity: var(--op); }
    100% {
        transform: translateY(-500px) scale(var(--sc)) rotate(var(--rot));
        opacity: 0;
    }
}

.signoff-small {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.signoff-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 2rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
    animation: titleBreath 5s ease-in-out infinite;
}

@keyframes titleBreath {
    0%, 100% { text-shadow: 0 0 10px rgba(232, 184, 75, 0.1); }
    50% { text-shadow: 0 0 30px rgba(232, 184, 75, 0.25); }
}

.signoff-body {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto 1.2rem;
    position: relative;
    z-index: 1;
}

.signoff-signature {
    margin-top: 2.5rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
}

.sig-text {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    color: var(--text-dim);
    margin-bottom: 0.4rem;
}

.sig-name {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--gold);
    animation: titleBreath 4s ease-in-out infinite;
}

.sig-hearts {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 1.3rem;
}

.sig-hearts span {
    animation: sigHeartFloat 3s ease-in-out infinite;
}

.sig-hearts span:nth-child(2) { animation-delay: 0.4s; }
.sig-hearts span:nth-child(3) { animation-delay: 0.8s; }

@keyframes sigHeartFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    background: var(--bg-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.site-footer p {
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 1px;
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 768px) {
    .content-section {
        padding: 80px 16px;
    }

    .gratitude-grid {
        grid-template-columns: 1fr;
    }

    .signoff-card {
        padding: 2.5rem 1.8rem;
    }

    .orb-1 { width: 300px; height: 300px; }
    .orb-2 { width: 250px; height: 250px; }
    .orb-3 { width: 200px; height: 200px; }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 480px) {
    :root {
        --postcard-w: 92vw;
        --postcard-h: 75vw;
    }

    .hero-section {
        padding: 30px 14px;
        gap: 2rem;
    }

    .content-section {
        padding: 60px 14px;
    }

    .section-heading {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .learn-block {
        padding: 1.5rem;
    }

    .learn-block h3 {
        font-size: 1.1rem;
    }

    .learn-block p {
        font-size: 0.85rem;
    }

    .learn-highlight {
        padding: 1.5rem 1.3rem;
    }

    .highlight-main {
        font-size: 1.2rem;
    }

    .stamp-area {
        top: 10px;
        right: 10px;
        gap: 6px;
    }

    .stamp {
        width: 40px;
        height: 48px;
    }

    .stamp-heart { font-size: 1rem; }
    .stamp-text { font-size: 0.35rem; }

    .postmark {
        width: 45px;
        height: 45px;
    }

    .postmark-date { font-size: 0.5rem; }
    .postmark-place { font-size: 0.28rem; }

    .front-content {
        padding: 1.5rem 1rem;
    }

    .front-name {
        font-size: 2.8rem;
    }

    .front-decoration {
        font-size: 0.9rem;
    }

    .back-content {
        padding: 1.2rem 1.2rem 2.2rem;
    }

    .back-greeting {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .back-body {
        font-size: 0.7rem;
        margin-bottom: 0.35rem;
        line-height: 1.55;
    }

    .back-sign {
        font-size: 0.7rem;
        margin-top: 0.4rem;
    }

    .back-name {
        font-size: 1.1rem;
    }

    .gratitude-card {
        padding: 1.5rem 1.2rem;
    }

    .gratitude-card h3 {
        font-size: 1.1rem;
    }

    .gratitude-card p {
        font-size: 0.85rem;
    }

    .timeline-item {
        padding-left: 46px;
    }

    .timeline-card {
        padding: 1.2rem 1.3rem;
    }

    .wish-quote p {
        font-size: 1rem;
    }

    .quote-mark {
        font-size: 2.5rem;
    }

    .signoff-card {
        padding: 2rem 1.4rem;
        border-radius: 18px;
    }

    .signoff-title {
        font-size: 1.7rem;
    }

    .sig-name {
        font-size: 2rem;
    }
}

/* ============================================
   SELECTION & SCROLLBAR
   ============================================ */
::selection {
    background: rgba(232, 184, 75, 0.25);
    color: var(--text-light);
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 114, 140, 0.2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 114, 140, 0.4);
}