/* Reset & Global */
:root {
    --pink-bg: #fff4f7;
    --pink-paper: #fffafb;
    --pink-band: #fff0f4;
    --pink-soft: #f9dce5;
    --pink-mid: #e9a9bc;
    --pink-deep: #b86f86;
    --pink-ink: #4f343d;
    --pink-muted: #8d6874;
    --pink-line: #f2cbd6;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
    background-color: var(--pink-bg);
    color: var(--pink-ink);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    font-size: 16px;
    letter-spacing: -0.02em;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

img,
video {
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
    user-select: none;
    pointer-events: none;
}

.gallery-item,
.all-photo-item {
    touch-action: manipulation;
}

.modal-content,
.photo-img,
.all-photo-item img,
.gallery-item img,
.map-preview img {
    pointer-events: none;
}

h1,
h2,
h3 {
    font-family: 'Gowun Batang', serif;
    font-weight: 700;
    color: var(--pink-ink);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
}

.flower-fall-layer {
    position: fixed;
    inset: 0;
    z-index: 850;
    pointer-events: none;
    overflow: hidden;
}

.floating-flower {
    position: absolute;
    top: -18vh;
    left: var(--start-x);
    width: var(--flower-size);
    height: auto;
    opacity: 0;
    filter: drop-shadow(0 8px 12px rgba(121, 64, 82, 0.08));
    transform: translate3d(0, -20vh, 0) rotate(var(--start-rotate));
    animation: flowerDrift var(--fall-duration) linear var(--fall-delay) infinite;
    will-change: transform, opacity;
}

@keyframes flowerDrift {
    0% {
        opacity: 0;
        transform: translate3d(0, -18vh, 0) rotate(var(--start-rotate));
    }

    10%,
    82% {
        opacity: var(--flower-opacity);
    }

    100% {
        opacity: 0;
        transform: translate3d(var(--drift-x), 118vh, 0) rotate(var(--end-rotate));
    }
}

ul {
    list-style: none;
}

/* Wrapper for Mobile View on Desktop */
.container {
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--pink-paper);
    min-height: 100vh;
    box-shadow: 0 0 24px rgba(184, 111, 134, 0.12);
    position: relative;
    padding-bottom: 60px;
}

/* Music Control */
.music-widget {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 40px;
    height: 40px;
}

.music-control {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 250, 251, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--pink-ink);
    transition: transform 0.3s ease;
    flex: 0 0 auto;
}

.music-guide {
    position: absolute;
    top: 50px;
    right: -6px;
    width: max-content;
    max-width: min(230px, calc(100vw - 36px));
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(184, 111, 134, 0.94);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    font-size: 0.82rem;
    line-height: 1.35;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
    word-break: keep-all;
    white-space: nowrap;
}

.music-guide::after {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 0;
    height: 0;
    background: rgba(184, 111, 134, 0.94);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 7px solid rgba(184, 111, 134, 0.94);
    background: transparent;
}

.music-guide.visible {
    opacity: 1;
    transform: translateY(0);
}

.music-control.playing {
    animation: spin 4s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 40px 20px 60px;
    background-color: var(--pink-paper);
}

.hero-date {
    margin: 0;
    position: absolute;
    top: 18px;
    left: 50%;
    z-index: 3;
    width: min(86%, 410px);
    height: 86px;
    transform: translateX(-50%);
    overflow: visible;
}

.hero-date-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.hero-date-svg text {
    font-family: 'Oooh Baby', cursive;
    font-size: 78px;
    font-weight: 400;
    letter-spacing: 0;
}

.hero-date-stroke {
    fill: none;
    stroke: #ff2d78;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
}

.hero-date-fill {
    fill: #ff2d78;
    opacity: 0;
}

.hero-date.is-writing .hero-date-stroke {
    animation: titleStrokeWrite 5.4s cubic-bezier(0.48, 0.02, 0.12, 1) both;
}

.hero-date.is-writing .hero-date-fill {
    animation: titleFillIn 1.1s ease 4.2s both;
}

@keyframes titleStrokeWrite {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes titleFillIn {
    to {
        opacity: 1;
    }
}

.hero-image-frame {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 0;
    overflow: hidden;
    display: inline-block;
    position: relative;
    aspect-ratio: 3 / 4;
    background: var(--pink-soft);
}

.hero-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero-names {
    margin: 20px 0;
}

.hero-names h1 {
    display: inline-block;
    font-size: 2rem;
    margin: 0 10px;
}

.hero-names .and {
    font-family: 'Gowun Batang', serif;
    font-size: 1.4rem;
    color: var(--pink-deep);
}

.hero-subtext {
    font-size: 0.95rem;
    color: var(--pink-muted);
    letter-spacing: 0.5px;
}

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Invitation Section */
.invitation-section {
    padding: 60px 30px;
    text-align: center;
    background-color: var(--pink-band);
}

.ornament {
    margin-bottom: 20px;
}

.ornament img {
    display: block;
    width: 50px;
    height: auto;
    margin: 0 auto;
}

.invitation-text p {
    margin-bottom: 30px;
    font-size: 1rem;
    word-break: keep-all;
}

.parents-info {
    font-size: 1.1rem;
    margin-top: 40px;
    line-height: 2;
}

.parents-info strong {
    color: var(--pink-ink);
    font-weight: 500;
}

.contact-btn,
.rsvp-btn {
    padding: 12px 24px;
    border: 1px solid #ddd;
    border-radius: 25px;
    background: #fff;
    color: var(--pink-muted);
    font-size: 0.9rem;
    transition: all 0.2s;
    margin: 5px;
}

.rsvp-btn {
    background: var(--pink-deep);
    color: #fff;
    border-color: var(--pink-deep);
}

.contact-btn:hover,
.rsvp-btn:hover {
    opacity: 0.8;
}

/* Calendar Section */
.calendar-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--pink-paper);
}

.calendar-wrapper {
    margin-top: 30px;
    padding: 20px;
    /* border: 1px solid #eee; */
    border-radius: 8px;
    display: inline-block;
    width: 100%;
    max-width: 350px;
}


.calendar-header {
    margin-bottom: 20px;
    font-family: 'Gowun Batang', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pink-ink);
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-table th,
.calendar-table td {
    width: 14.28%;
    padding: 10px 5px;
    text-align: center;
    font-size: 0.95rem;
}

.sun {
    color: #df7f95;
}

.d-day {
    background-color: var(--pink-mid);
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(233, 169, 188, 0.48);
}

.countdown-box {
    margin-top: 34px;
    text-align: center;
}

.countdown-title {
    margin-bottom: 20px;
    color: var(--pink-muted);
    font-size: 1rem;
    word-break: keep-all;
}

.countdown-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 390px;
    margin: 0 auto;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.countdown-item strong {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pink-deep);
    color: #fff;
    font-family: 'Pretendard', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 6px 14px rgba(184, 111, 134, 0.22);
}

.countdown-item span {
    color: #777;
    font-size: 0.75rem;
}

@media (max-width: 360px) {
    .countdown-items {
        gap: 8px;
    }

    .countdown-item strong {
        width: 56px;
        height: 56px;
        font-size: 1rem;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 60px 20px;
    background-color: var(--pink-band);
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 4px;
    background: var(--pink-soft);
}

.gallery-item:nth-child(n + 5) {
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s;
}

.gallery-item img:hover {
    opacity: 0.8;
}

.view-all-photos-btn {
    margin-top: 28px;
    padding: 12px 24px;
    border: 1px solid var(--pink-line);
    border-radius: 999px;
    background: #fff;
    color: var(--pink-deep);
    font-size: 0.92rem;
    font-weight: 600;
}

.all-photos-modal {
    background-color: rgba(0, 0, 0, 0.72);
}

.all-photos-box {
    width: min(100%, 480px);
    height: 100%;
    overflow-y: auto;
    background: #fff;
    padding: 0 18px 40px;
    position: relative;
}

.all-photos-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    margin: 0 -18px 18px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #eee;
}

.all-photos-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.all-photos-header .close-black {
    top: 8px;
    right: 16px;
}

.all-photos-grid {
    column-count: 2;
    column-gap: 8px;
}

.all-photo-item {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    overflow: hidden;
    border-radius: 4px;
    background: #eee;
    break-inside: avoid;
}

.all-photo-item img {
    display: block;
    width: 100%;
    height: auto;
}

.photo-placeholder {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px;
    color: var(--pink-muted);
    background: var(--pink-soft);
    text-align: center;
    line-height: 1.4;
}

.photo-placeholder strong {
    color: var(--pink-ink);
    font-size: 1.05rem;
}

.photo-placeholder span,
.photo-placeholder small {
    color: var(--pink-muted);
    font-size: 0.78rem;
}

.photo-missing .photo-img {
    display: none;
}

.photo-missing .photo-placeholder {
    display: flex;
}

/* Information Section */
.info-section {
    padding: 64px 20px 58px;
    text-align: center;
    background: var(--pink-bg);
}

.info-eyebrow {
    margin-bottom: 34px;
    color: var(--pink-ink);
    font-family: 'Gowun Batang', serif;
    font-size: 2.05rem;
    font-weight: 400;
    letter-spacing: 0.06em;
}

.info-section h2 {
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: var(--pink-ink);
}

.info-intro {
    margin-bottom: 30px;
    color: var(--pink-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.info-card {
    margin: 0 auto 18px;
    padding: 34px 26px 36px;
    border: 1px solid rgba(233, 182, 197, 0.72);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(184, 111, 134, 0.1);
}

.info-card:last-child {
    margin-bottom: 0;
}

.info-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--pink-paper);
    color: var(--pink-deep);
    font-size: 1.15rem;
}

.info-card h3 {
    margin-bottom: 24px;
    color: var(--pink-deep);
    font-size: 1.05rem;
    font-weight: 600;
}

.info-card p {
    color: var(--pink-ink);
    font-size: 0.95rem;
    line-height: 1.95;
    word-break: keep-all;
}

.info-line {
    display: block;
}

/* Location Section */
.location-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--pink-paper);
}

.map-preview {
    display: block;
    position: relative;
    width: 100%;
    margin: 26px 0 18px;
    overflow: hidden;
    border: 1px solid var(--pink-line);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(184, 111, 134, 0.08);
}

.naver-map {
    width: 100%;
    height: 290px;
    min-height: 290px;
}

.map-fallback-message {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 290px;
    padding: 28px;
    color: var(--pink-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    background: var(--pink-paper);
}

.map-preview.is-loaded .map-fallback-message {
    display: none;
}

.map-preview:not(.is-loaded) .naver-map {
    display: none;
}

.naver-info-window {
    padding: 8px 12px;
    border: 1px solid rgba(196, 134, 154, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--pink-ink);
    font-size: 12px;
    line-height: 1.45;
    box-shadow: 0 6px 18px rgba(121, 64, 82, 0.14);
    white-space: nowrap;
}

.map-area {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

.map-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.main-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-zoom-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.map-zoom-controls button {
    width: 32px;
    height: 32px;
    font-size: 20px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.map-zoom-controls hr {
    margin: 0;
    border: none;
    border-top: 1px solid #eee;
}

.map-info-card {
    padding: 15px 20px;
    text-align: left;
    border-top: 1px solid #f0f0f0;
    background-color: #fff;
}

.map-info-card .venue-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.map-info-card .venue-addr {
    font-size: 0.9rem;
    color: #777;
    word-break: keep-all;
}

.map-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
}

.map-btn {
    flex: 1;
    max-width: 130px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--pink-ink);
    background: #fff;
    border: 1px solid var(--pink-line);
    box-shadow: 0 2px 4px rgba(184, 111, 134, 0.05);
    transition: all 0.2s;
    gap: 6px;
}

.map-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
}

.naver-icon {
    background-color: #03C75A;
}

.kakao-icon {
    background-color: #FEE500;
    color: #3C1E1E;
}

.kakao-icon i {
    font-size: 10px;
}

.tmap-icon {
    background-color: #E61E2E;
}

.map-btn:hover {
    background: #fafafa;
    border-color: #ddd;
    transform: translateY(-1px);
}

.transport-info {
    text-align: left;
    margin-top: 30px;
    padding: 0 10px;
}

.trans-item {
    margin-bottom: 20px;
}

.trans-item h4 {
    font-size: 1rem;
    color: var(--pink-deep);
    margin-bottom: 5px;
}

.trans-item p {
    font-size: 0.95rem;
    color: var(--pink-muted);
}

.bus-line.blue {
    color: #2867c7;
}

.bus-line.green {
    color: #1c9b4b;
}

.bus-line.red {
    color: #e53645;
}

/* Account Section */
.account-section {
    padding: 60px 20px;
    background-color: var(--pink-bg);
    text-align: center;
}

.accordion {
    margin-top: 30px;
    text-align: left;
}

.accordion-item {
    background: #fff;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(184, 111, 134, 0.08);
}

.accordion-header {
    width: 100%;
    padding: 15px 20px;
    text-align: left;
    background: #fff;
    font-weight: 500;
    color: var(--pink-ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fafafa;
}

.account-row {
    padding: 15px 20px;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
}

.copy-btn {
    padding: 4px 10px;
    font-size: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

/* Footer */
footer {
    padding: 60px 20px;
    text-align: center;
    background: var(--pink-paper);
}

.share-area {
    margin-bottom: 30px;
}

.share-area button {
    margin: 0 5px;
    padding: 12px 25px;
    background: var(--pink-mid);
    color: #fff;
    border-radius: 30px;
    font-size: 0.9rem;
}

.copyright {
    font-size: 0.8rem;
    color: #d6aeb9;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    /* 수직 가운데 정렬 */
    justify-content: center;
    /* 수평 가운데 정렬 */
}

#imageModal {
    z-index: 5000;
}

.modal-content {
    margin: 0;
    /* 기존 margin: auto 제거 */
    display: block;
    max-width: 95%;
    max-height: 90vh;
    animation: zoom 0.4s;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.contact-modal {
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-content-box {
    background: #fff;
    width: 90%;
    max-width: 320px;
    padding: 30px;
    border-radius: 8px;
    position: relative;
    text-align: center;
}

.close-black {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.contact-list {
    margin-top: 20px;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.contact-row a {
    margin-left: 10px;
    color: #666;
    font-size: 1.2rem;
}

/* RSVP Modal Design */
.rsvp-modal {
    background-color: rgba(0, 0, 0, 0.6);
    /* 모바일에서 가독성을 위해 배경 투명도 조절 */
}

.rsvp-box {
    width: 90%;
    /* 모바일 화면에 맞춰 너비 조정 */
    max-width: 380px;
    padding: 30px 20px;
    border-radius: 20px;
    /* 더 둥글고 세련된 모서리 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.rsvp-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-align: left;
    color: var(--pink-ink);
}

.rsvp-tabs {
    display: flex;
    border: 1px solid var(--pink-line);
    border-radius: 30px;
    background: #fff8fa;
    margin-bottom: 20px;
    overflow: hidden;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    font-size: 0.95rem;
    color: #c795a5;
    transition: all 0.3s;
    border-radius: 28px;
}

.tab-btn.active {
    background: var(--pink-deep);
    color: #fff;
    box-shadow: 0 4px 12px rgba(184, 111, 134, 0.24);
}

.rsvp-form {
    text-align: left;
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--pink-line);
    border-radius: 30px;
    padding: 8px 20px;
    margin-bottom: 15px;
}

.form-help {
    margin: -8px 18px 12px;
    color: #b48796;
    font-size: 0.78rem;
    line-height: 1.4;
}

.form-row label {
    font-size: 0.9rem;
    color: var(--pink-ink);
    white-space: nowrap;
}

.form-row input {
    border: none;
    outline: none;
    text-align: right;
    width: 100%;
    padding: 8px;
    font-size: 0.9rem;
    color: #111;
    font-family: inherit;
}

.form-row input::placeholder {
    color: #d8b8c2;
}

.message-row {
    align-items: flex-start;
    border-radius: 22px;
}

.message-row label {
    padding-top: 8px;
}

.message-row textarea {
    width: 100%;
    min-height: 72px;
    padding: 8px;
    border: none;
    outline: none;
    resize: none;
    color: var(--pink-ink);
    background: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: right;
}

.message-row textarea::placeholder {
    color: #d8b8c2;
}

.toggle-group {
    display: flex;
    gap: 15px;
}

.toggle-btn {
    font-size: 0.9rem;
    color: #d8b8c2;
    transition: color 0.2s;
}

.toggle-btn.active {
    color: var(--pink-deep);
    font-weight: 700;
    position: relative;
}

.toggle-btn.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #f8d7e1;
    z-index: -1;
    left: 0;
    top: 0;
    padding: 5px 15px;
    border-radius: 20px;
    transform: translate(-15px, -5px);
}

.submit-rsvp-btn {
    width: 100%;
    background: var(--pink-deep);
    color: #fff;
    padding: 18px;
    border-radius: 40px;
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 20px;
    letter-spacing: 0.5px;
}

.submit-rsvp-btn:disabled {
    cursor: wait;
    opacity: 0.65;
}

/* RSVP Guide Modal Styles */
.rsvp-guide-box {
    padding: 40px 24px 0;
    /* Bottom padding for footer btn */
    text-align: center;
}

.guide-title {
    font-size: 1.5rem;
    color: var(--pink-ink);
    margin-bottom: 25px;
}

.guide-desc {
    font-size: 0.95rem;
    color: var(--pink-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.guide-divider {
    border-top: 1px dashed var(--pink-line);
    margin: 20px 0;
}

.guide-info {
    margin-bottom: 30px;
}

.guide-info .names {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.2rem;
    color: var(--pink-ink);
    margin-bottom: 20px;
}

.guide-info .heart {
    font-size: 1rem;
}

.event-detail {
    color: var(--pink-muted);
    font-size: 1.1rem;
}

.event-detail .date {
    margin-bottom: 5px;
}

.guide-footer-btn {
    padding: 20px;
    border-top: 1px solid var(--pink-line);
    color: var(--pink-muted);
    cursor: pointer;
    font-size: 1rem;
    margin-top: 20px;
    margin-left: -20px;
    margin-right: -20px;
}

/* Intro Video Modal */
.intro-modal {
    background-color: #fff;
    z-index: 3000;
    /* 모든 것보다 위에 */
    transition: opacity 0.25s ease;
    touch-action: pan-y;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
}

.modal.scroll-fading {
    transition: opacity 0.18s ease;
}

.modal.fade-out {
    opacity: 0;
    pointer-events: none;
}

.intro-video-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

.intro-video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
    /* 비디오 비율 유지 */
}

.intro-sound-guide {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 3002;
    transform: translateX(-50%);
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.56);
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.3;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    animation: soundGuidePulse 1.8s ease-in-out infinite;
}

.intro-sound-guide.hidden {
    display: none;
}

@keyframes soundGuidePulse {
    0%,
    100% {
        opacity: 0.72;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(-3px);
    }
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3002;
    cursor: pointer;
}

.play-icon-box {
    text-align: center;
    color: #fff;
}

.play-icon-box i {
    font-size: 50px;
    margin-bottom: 15px;
}

.play-icon-box p {
    font-size: 1rem;
    font-family: 'Pretendard', sans-serif;
}

.close-intro {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 3001;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}
