.dream-button,
.ghost-button {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-width: 164px;
    padding: 0.95rem 1.45rem;
    border-radius: 999px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.dream-button {
    color: #fff;
    background: linear-gradient(135deg, #d8b48f, #e6c2ce 50%, #cbbde3 100%);
    box-shadow: 0 14px 30px rgba(206, 174, 186, 0.28);
    z-index: 111;
}

.ghost-button {
    border: 1px solid rgba(186, 157, 164, 0.38);
    background: rgba(255, 251, 247, 0.55);
    backdrop-filter: blur(12px);
}

.dream-button:hover,
.ghost-button:hover,
.to-top:hover,
.gallery-button:hover,
.submit-button:hover {
    transform: translateY(-3px);
}

.dream-button:hover {
    box-shadow: 0 18px 38px rgba(204, 171, 190, 0.35);
}

.ghost-button:hover {
    border-color: rgba(186, 157, 164, 0.6);
    box-shadow: var(--shadow-soft);
}

.btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 14px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.35s ease;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #e7b6c5 0%, #cfa6c9 100%);
    box-shadow: 0 14px 28px rgba(218, 178, 194, 0.32);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 32px rgba(218, 178, 194, 0.40);
}

.btn-ghost {
    color: #8e6f78;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(221, 192, 199, 0.75);
    box-shadow: 0 12px 26px rgba(216, 196, 201, 0.16);
}

.btn-ghost:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.88);
}

.hero-card-inner,
.form-card,
.detail-card,
.story-card,
.schedule-card,
.blessing-card,
.detail-note {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 254, 252, 0.74), rgba(255, 248, 250, 0.84));
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-card-inner::before,
.form-card::before,
.detail-card::before,
.story-card::before,
.schedule-card::before,
.blessing-card::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.mini-label,
.story-label,
.schedule-time {
    display: inline-flex;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 3rem;
}

.section-heading.center {
    margin-inline: auto;
    text-align: center;
}

.section-heading h2,
.final-inner h2 {
    font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
    font-weight: 600;
    font-size: clamp(2.5rem, 5.5vw, 3.2rem);
    line-height: 1;
    margin: 0 0 1rem;
    color: #644956;
}

.section-heading p,
.final-inner p {
    color: var(--text-soft);
    margin: 0;
}

.to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 251, 247, 0.84);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.to-top.show {
    opacity: 1;
    visibility: visible;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
    background: rgba(51, 36, 45, 0.72);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-inner {
    max-width: min(900px, 100%);
    max-height: 100%;
}

.lightbox-inner img {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 28px;
    box-shadow: 0 22px 60px rgba(0,0,0,0.2);
}

.lightbox-caption {
    margin-top: 0.9rem;
    text-align: center;
    color: rgba(255,255,255,0.92);
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

.submit-button {
    width: fit-content;
    border: 0;
    cursor: pointer;
}