* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Kalameh';
    src: url('/fonts/Kalameh-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kalameh';
    src: url('/fonts/Kalameh-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kalameh';
    src: url('/fonts/Kalameh-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kalameh';
    src: url('/fonts/Kalameh-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kalameh';
    src: url('/fonts/Kalameh-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kalameh';
    src: url('/fonts/Kalameh-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --olive-dark: #4a5240;
    --olive-medium: #6b7455;
    --olive-light: #8b9475;
    --beige: #e8e3d5;
    --cream: #f5f3ed;
    --gold: #c9a961;
    --text-dark: #2c2c2c;
    --text-light: #666;
}

body {
    font-family: 'Kalameh', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--cream);
    overflow-x: hidden;
}

body:not(.intro-complete) {
    overflow: hidden;
}

body.no-scroll {
    overflow: hidden;
    touch-action: none;
}

body:not(.intro-complete) .hero {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.intro-complete .hero {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease;
}

body:not(.intro-complete) .hero-content,
body:not(.intro-complete) .hero-content * {
    opacity: 0;
    animation: none;
}

.vpn-warning {
    position: fixed;
    inset: 0;
    background: rgba(245, 243, 237, 0.98);
    color: var(--text-dark);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    text-align: center;
    padding: 24px;
}

.vpn-warning.show {
    display: flex;
}

.vpn-warning-content {
    background: white;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    font-size: 1.1rem;
    line-height: 1.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Intro GIF Section */
.intro-gif {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10000;
    background: var(--olive-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro-gif.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-gif.playing {
    cursor: default;
}

.gif-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-gif img,
.intro-gif video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: pulse 2s ease-in-out infinite;
}

.play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: white;
}

.play-icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 25px 0 25px 45px;
    border-color: transparent transparent transparent var(--olive-dark);
    margin-left: 10px;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
    50% { box-shadow: 0 10px 60px rgba(201, 169, 97, 0.5); }
}

.tap-to-play {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    text-align: center;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.skip-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.skip-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%) scale(1.05);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--olive-dark) 0%, var(--olive-medium) 100%);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero-static {
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.12), transparent 34%),
        linear-gradient(155deg, #566047 0%, var(--olive-dark) 55%, #3f4738 100%);
}

.hero-static::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.45), transparent 80%);
    z-index: 0;
}

.hero-botanical {
    position: absolute;
    z-index: 1;
    width: min(48vw, 420px);
    height: auto;
    opacity: 0.24;
    pointer-events: none;
    filter: sepia(0.2) brightness(1.25);
}

.hero-botanical-top {
    top: -3%;
    right: -5%;
}

.hero-botanical-bottom {
    bottom: -4%;
    left: -6%;
}

.hero-static .hero-content {
    max-width: 960px;
    width: 100%;
}

.hero-static .hero-subtitle {
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.86);
}

.hero-static .names-container {
    flex-direction: column;
    gap: 15px;
}

.hero-static .bride-name,
.hero-static .groom-name {
    font-size: clamp(2.8rem, 8vw, 5rem);
    line-height: 1.2;
}

.hero-static .ampersand {
    font-size: 2.4rem;
}

.hero-static .event-date {
    line-height: 1.9;
    color: rgba(255,255,255,0.9);
}

@media (max-width: 600px) {
    .hero-static .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 24px;
    }

    .hero-static .bride-name,
    .hero-static .groom-name {
        font-size: 2.5rem;
    }

    .hero-static .event-date {
        font-size: 1.15rem;
    }

    .hero-botanical {
        width: 68vw;
        opacity: 0.18;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(74, 82, 64, 0.3) 0%, rgba(74, 82, 64, 0.2) 100%);
}

.decoration-left {
    position: absolute;
    left: 50px;
    top: 0;
    height: 100%;
    opacity: 0.3;
    color: var(--beige);
    z-index: 1;
    animation: sway 10s ease-in-out infinite;
}

@keyframes sway {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(10px) rotate(2deg); }
}

.branch-svg {
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInDown 1s ease 0.3s forwards;
}

.names-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.bride-name,
.groom-name {
    font-family: 'Kalameh', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    line-height: 1;
}

.bride-name {
    animation: slideInRight 1s ease 0.6s forwards;
}

.groom-name {
    animation: slideInLeft 1s ease 0.6s forwards;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
}

.heart-divider {
    font-size: 3rem;
    opacity: 0;
    animation: scaleIn 0.6s ease 1.2s forwards;
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0); }
    to { opacity: 1; transform: scale(1); }
}

.ampersand {
    display: inline-block;
    font-family: 'Kalameh', sans-serif;
    font-size: 4rem;
    color: var(--gold);
    animation: heartbeat 2s ease-in-out infinite;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
    20%, 40% { transform: scale(1); }
}

.event-date {
    font-size: 1.5rem;
    margin-top: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    margin: 0 auto;
    transform: none;
    text-align: center;
    color: white;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1s ease 2s forwards, bounce 2s infinite 2.6s;
    cursor: pointer;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.scroll-indicator p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.arrow-down {
    display: block;
    width: 24px;
    height: 24px;
    animation: bounce 2s infinite 2.6s;
    filter: none;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Personalized Guest Dedication */
.guest-dedication-section {
    position: relative;
    background: var(--cream);
    padding: 46px 20px 42px;
    text-align: center;
    overflow: hidden;
}

.guest-dedication-section::before,
.guest-dedication-section::after {
    content: '';
    position: absolute;
    top: 50%;
    width: min(18vw, 190px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.75));
}

.guest-dedication-section::before {
    right: 5%;
}

.guest-dedication-section::after {
    left: 5%;
    transform: rotate(180deg);
}

.guest-dedication-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.guest-dedication-kicker,
.guest-dedication-caption {
    color: var(--olive-medium);
    font-size: 0.98rem;
    font-weight: 300;
}

.guest-dedication-name {
    color: var(--olive-dark);
    font-size: clamp(1.65rem, 4.5vw, 2.45rem);
    font-weight: 700;
    line-height: 1.55;
    padding: 2px 18px;
}

.guest-dedication-name::after {
    content: '';
    display: block;
    width: 44px;
    height: 1px;
    margin: 10px auto 0;
    background: var(--gold);
}

@media (max-width: 600px) {
    .guest-dedication-section {
        padding: 34px 18px 32px;
    }

    .guest-dedication-section::before,
    .guest-dedication-section::after {
        width: 12vw;
    }

    .guest-dedication-kicker,
    .guest-dedication-caption {
        font-size: 0.9rem;
    }
}

/* Fade In Sections */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.countdown-section.fade-in-section {
    opacity: 1;
    transform: none;
    transition: none;
}

/* Countdown Section */
.countdown-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 16px;
    background: linear-gradient(135deg, var(--olive-light) 0%, var(--olive-medium) 100%);
    color: white;
    box-sizing: border-box;
    overflow: hidden;
}

.countdown-section::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -10px;
    width: 260px;
    height: 260px;
    background-image: url('/images/wheat.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

.countdown-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1rem, 2.5vh, 2rem);
    height: 100%;
    position: relative;
    z-index: 1;
}

.countdown-header {
    text-align: center;
    margin-bottom: 0.5rem;
}

.countdown-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
}

.countdown {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-bottom: 0;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.18);
    padding: 0;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 0;
    flex: 1 1 0;
    aspect-ratio: 1 / 1;
    animation: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-section.visible .countdown-item {
    animation: countdownPop 0.7s ease both;
}

.countdown-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.countdown-item:nth-child(1) { animation-delay: 0.1s; }
.countdown-item:nth-child(2) { animation-delay: 0.2s; }
.countdown-item:nth-child(3) { animation-delay: 0.3s; }
.countdown-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes countdownPop {
    0% { opacity: 0; transform: translateY(18px) scale(0.88) rotateX(12deg); filter: blur(2px); }
    60% { opacity: 1; transform: translateY(-6px) scale(1.03) rotateX(0deg); filter: blur(0); }
    100% { opacity: 1; transform: translateY(0) scale(1) rotateX(0deg); filter: blur(0); }
}

.countdown-number {
    display: block;
    font-size: clamp(3.2rem, 9vw, 5.2rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.countdown-label {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

.countdown-slider {
    width: 100%;
    max-width: min(600px, 85vw);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    background: #fff;
    aspect-ratio: 3/4;
    min-height: 450px;
}

.slider-track {
    position: relative;
    height: 100%;
    width: 100%;
}

.slider-track img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slider-track img.active {
    opacity: 1;
}


/* Editorial Photo Slider */
.photo-slider-shell {
    width: 100%;
    max-width: min(610px, 88vw);
    margin: 8px auto 0;
}

.photo-slider-frame {
    position: relative;
    aspect-ratio: 9 / 16;
    padding: 8px;
    overflow: hidden;
    background: rgba(245, 243, 237, 0.95);
    border: 1px solid rgba(201, 169, 97, 0.74);
    border-radius: 44% 44% 26px 26px / 14% 14% 26px 26px;
    box-shadow: 0 26px 70px rgba(37, 42, 31, 0.22);
}

.photo-slider-frame::before {
    content: '';
    position: absolute;
    inset: 14px;
    z-index: 3;
    border: 1px solid rgba(245, 243, 237, 0.5);
    border-radius: 43% 43% 20px 20px / 13% 13% 20px 20px;
    pointer-events: none;
}

.photo-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #191a17;
    border-radius: 43% 43% 20px 20px / 13% 13% 20px 20px;
    touch-action: pan-y;
}

.photo-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.035);
    transition: opacity 1.15s ease, transform 5.5s ease;
    filter: saturate(0.93) contrast(1.02) brightness(0.98);
}

.photo-slider img.active {
    opacity: 1;
    transform: scale(1);
}

.photo-slider-vignette {
    position: absolute;
    inset: 8px;
    z-index: 2;
    border-radius: 43% 43% 20px 20px / 13% 13% 20px 20px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(20,24,18,0.02), transparent 48%, rgba(20,24,18,0.16));
}

.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
}

.slider-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.68);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    transition: width 0.35s ease, background 0.35s ease, opacity 0.35s ease;
    opacity: 0.7;
}

.slider-dot.active {
    width: 30px;
    background: rgba(255,255,255,0.92);
    opacity: 1;
}

/* Spiritual full portrait */
.spiritual-photo-section {
    background: var(--cream);
    padding: 26px 20px 68px;
}

.spiritual-photo-frame {
    position: relative;
    width: min(520px, 88vw);
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    padding: 9px;
    border: 1px solid rgba(107, 116, 85, 0.52);
    background: #eee9dc;
    border-radius: 48% 48% 24px 24px / 15% 15% 24px 24px;
    box-shadow: 0 22px 52px rgba(50, 52, 44, 0.13);
}

.spiritual-photo-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 47% 47% 18px 18px / 14% 14% 18px 18px;
    filter: saturate(0.88) contrast(1.03);
}

.frame-corner {
    position: absolute;
    width: 42px;
    height: 42px;
    border-color: rgba(201, 169, 97, 0.82);
    pointer-events: none;
}

.frame-corner-top {
    top: -5px;
    right: -5px;
    border-top: 1px solid;
    border-right: 1px solid;
}

.frame-corner-bottom {
    left: -5px;
    bottom: -5px;
    border-left: 1px solid;
    border-bottom: 1px solid;
}

/* Editorial pair */
.editorial-pair-section {
    padding: 22px 20px 68px;
    background: var(--cream);
    overflow: hidden;
}

.editorial-pair {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 24px;
}

.editorial-photo-card {
    margin: 0;
    background: #f8f5ed;
    border: 1px solid rgba(201, 169, 97, 0.56);
    padding: 8px;
    box-shadow: 0 18px 44px rgba(44, 44, 44, 0.11);
}

.editorial-photo-card-first {
    border-radius: 22px 22px 22px 88px;
}

.editorial-photo-card-second {
    transform: translateY(34px);
    border-radius: 88px 22px 22px 22px;
}

.editorial-photo-inner {
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: inherit;
}

.editorial-photo-inner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(0.92) contrast(1.015);
}

@media (prefers-reduced-motion: reduce) {
    .photo-slider img {
        transition: opacity 0.25s linear;
        transform: none;
    }
}

/* Invitation Text */
.invitation-text-section {
    padding: 64px 20px;
    background: var(--cream);
    text-align: center;
}

.invitation-copy {
    max-width: 680px;
    margin: 0 auto;
    color: var(--olive-dark);
    font-family: 'Kalameh', sans-serif;
    font-size: 1.18rem;
    line-height: 2.05;
}

.invitation-copy p {
    margin: 0 0 28px;
}

.symbol-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0 auto 28px;
    width: min(100%, 420px);
}

.symbol-mark img {
    width: 86px;
    height: 86px;
    display: block;
    flex: 0 0 auto;
    filter: drop-shadow(0 10px 22px rgba(74, 82, 64, 0.08));
}

.symbol-line {
    height: 1px;
    flex: 1 1 auto;
    background: linear-gradient(90deg, rgba(107, 116, 85, 0), rgba(107, 116, 85, 0.5), rgba(107, 116, 85, 0));
}

.invitation-copy .invocation {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.invitation-copy .invitation-quote {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 38px;
}

.invitation-copy .invitation-date {
    margin-top: 42px;
    margin-bottom: 8px;
    font-size: 1.3rem;
    font-weight: 700;
}

.invitation-copy .invitation-venue {
    margin-bottom: 0;
    font-size: 1.35rem;
    font-weight: 700;
}

@media (max-width: 600px) {
    .photo-slider-shell {
        max-width: 94vw;
    }

    .photo-slider-frame {
        padding: 6px;
        border-radius: 44% 44% 22px 22px / 13% 13% 22px 22px;
    }

    .spiritual-photo-section,
    .editorial-pair-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .spiritual-photo-frame {
        width: min(540px, 92vw);
    }

    .editorial-pair {
        gap: 10px;
    }

    .editorial-photo-card {
        padding: 5px;
    }

    .editorial-photo-card-first {
        border-radius: 16px 16px 16px 48px;
    }

    .editorial-photo-card-second {
        transform: translateY(22px);
        border-radius: 48px 16px 16px 16px;
    }

    .invitation-text-section {
        padding: 52px 20px;
    }

    .invitation-copy {
        font-size: 1.04rem;
        line-height: 2;
    }

    .symbol-mark {
        gap: 12px;
        margin-bottom: 24px;
    }

    .symbol-mark img {
        width: 72px;
        height: 72px;
    }

    .invitation-copy .invocation {
        font-size: 1.3rem;
    }

    .invitation-copy .invitation-quote {
        font-size: 1.2rem;
    }

    .invitation-copy .invitation-date,
    .invitation-copy .invitation-venue {
        font-size: 1.15rem;
    }
}

/* Divider Ornament */
.divider-ornament {
    text-align: center;
    padding: 40px 0;
    background: var(--cream);
}

.ornament {
    font-size: 2rem;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 18px;
}

.ornament::before,
.ornament::after {
    content: '';
    width: 70px;
    height: 1px;
    background: rgba(107, 116, 85, 0.6);
    display: block;
}

@keyframes rotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

/* Details Section */
.details-section {
    padding: 50px 20px;
    background: var(--beige);
    text-align: center;
}

.details-section .section-title {
    color: var(--olive-dark);
}

.details-section .section-subtitle {
    color: var(--text-light);
}

.detail-card-main {
    max-width: 800px;
    margin: 50px auto 0;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.detail-card-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.detail-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #d6d8c7;
    color: var(--olive-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.detail-icon img,
.faq-icon img {
    width: 28px;
    height: 28px;
    display: block;
}

.icon-svg {
    filter: none;
}

.icon-fallback {
    display: none;
    font-size: 1.4rem;
    line-height: 1;
}

@keyframes swing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}

.detail-title {
    font-size: 1.8rem;
    color: var(--olive-dark);
    margin-bottom: 15px;
    font-family: 'Kalameh', sans-serif;
}

.venue-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.venue-time {
    color: var(--text-light);
    margin-bottom: 30px;
}

.venue-image {
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.venue-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.3));
    z-index: 1;
}

.venue-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.venue-image:hover img {
    transform: scale(1.05);
}

.venue-map {
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.venue-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 30px;
    border-radius: 30px;
    font-family: 'Kalameh', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--olive-dark);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--olive-medium);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(74, 82, 64, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--olive-dark);
    border: 2px solid var(--olive-dark);
}

.btn-secondary:hover {
    background: var(--olive-dark);
    color: white;
    transform: translateY(-3px);
}

/* Timeline Section */
.timeline-section {
    padding: 100px 20px;
    background: var(--cream);
}

.timeline-section .section-title {
    color: var(--olive-dark);
    text-align: center;
}

.timeline-section .section-subtitle {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 60px;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    right: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--olive-light), var(--gold));
    transform: translateX(50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    animation: slideInTimeline 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }
.timeline-item:nth-child(7) { animation-delay: 0.7s; }

@keyframes slideInTimeline {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.timeline-time {
    background: var(--olive-dark);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-time {
    transform: scale(1.1);
    background: var(--gold);
}

.timeline-icon {
    font-size: 2rem;
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--olive-light);
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    transform: rotate(360deg) scale(1.2);
    border-color: var(--gold);
}

.timeline-content {
    background: white;
    padding: 20px 30px;
    border-radius: 15px;
    flex: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
    color: var(--olive-dark);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Accommodation Section */
.accommodation-section {
    padding: 100px 20px;
    background: var(--beige);
    text-align: center;
}

.accommodation-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

.accommodation-section .section-title {
    color: var(--olive-dark);
}

.accommodation-section .section-subtitle {
    color: var(--text-light);
    margin-bottom: 50px;
}

.hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.hotel-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.hotel-card::before {
    content: '🏨';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 120px;
    opacity: 0.05;
}

.hotel-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.hotel-card h3 {
    color: var(--olive-dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.hotel-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.btn-link {
    color: var(--olive-dark);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--olive-dark);
    transition: all 0.3s ease;
    position: relative;
}

.btn-link:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* FAQ Section */
.faq-section {
    padding: 50px 20px;
    background: var(--cream);
    text-align: center;
}

.faq-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 2px solid var(--olive-dark);
    color: var(--olive-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.faq-section .section-title {
    color: var(--olive-dark);
    margin-bottom: 60px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 20px 30px;
    text-align: right;
    background: white;
    border: none;
    font-family: 'Kalameh', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--olive-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--beige);
}

.faq-toggle {
    width: 18px;
    height: 18px;
    display: block;
    filter: brightness(0);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    background: var(--olive-light);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 20px 30px;
}

.faq-answer p {
    color: var(--text-light);
    text-align: right;
    animation: fadeIn 0.5s ease;
}

/* Gift Section */
.gift-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--beige) 0%, var(--cream) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gift-section::before {
    content: '🎁';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    opacity: 0.1;
}

.gift-section::after {
    content: '💝';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 80px;
    opacity: 0.1;
}

.gift-section .section-title {
    color: var(--olive-dark);
    margin-bottom: 30px;
}

.gift-text {
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-light);
    line-height: 1.8;
}

.gift-details {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.gift-details:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.gift-details summary {
    padding: 20px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--olive-dark);
    cursor: pointer;
    list-style: none;
    transition: all 0.3s ease;
}

.gift-details summary::-webkit-details-marker {
    display: none;
}

.gift-details summary:hover {
    background: var(--beige);
}

.gift-details[open] summary {
    background: var(--olive-light);
    color: white;
}

.gift-content {
    padding: 0 30px 30px;
    color: var(--text-light);
    animation: fadeIn 0.5s ease;
}

.account-number {
    background: var(--beige);
    padding: 15px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 1.1rem;
    margin-top: 15px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.account-number:hover {
    background: var(--gold);
    color: white;
    transform: scale(1.05);
}

/* RSVP Section */
.rsvp-section {
    padding: 50px 20px;
    background: var(--cream);
}

.rsvp-section .section-title {
    color: var(--olive-dark);
    text-align: center;
}

.rsvp-section .section-subtitle {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 50px;
}

.rsvp-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 30px;
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-dark);
}

.rsvp-message-label {
    font-family: 'Kalameh', sans-serif;
    white-space: pre-line;
    font-weight: 300 !important;
    padding: 0px 0px 10px 0px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--beige);
    border-radius: 10px;
    font-family: 'Kalameh', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.prefill-name {
    padding: 0;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--olive-dark);
    box-shadow: 0 0 0 3px rgba(74, 82, 64, 0.1);
    transform: translateY(-2px);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.radio-label {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: var(--beige);
    border: 2px solid var(--beige);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-label:hover {
    border-color: var(--olive-dark);
    transform: translateX(-5px);
}

.radio-label input[type="radio"] {
    margin-left: 15px;
    width: 20px;
    height: 20px;
}

.radio-label input[type="radio"]:checked + span {
    color: var(--olive-dark);
    font-weight: 600;
}

.radio-label:has(input:checked) {
    background: var(--olive-light);
    color: white;
    border-color: var(--olive-dark);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--olive-dark);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Kalameh', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
    width: 400px;
    height: 400px;
}

.submit-btn:hover {
    background: var(--olive-medium);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 82, 64, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.success-message {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    animation: slideInUp 0.5s ease;
    box-shadow: 0 5px 20px rgba(21, 87, 36, 0.2);
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.footer {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--olive-dark) 0%, var(--olive-medium) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::after {
    content: '';
    position: absolute;
    top: -70px;
    left: 20px;
    width: 260px;
    height: 260px;
    background-image: url('/images/wheat-down.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

.footer .container {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.footer-signature {
    width: min(620px, 92vw);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #fff;
    position: relative;
    z-index: 1;
    direction: ltr;
}

.footer-heart {
    width: 104px;
    height: auto;
    color: rgba(255, 255, 255, 0.96);
    margin-bottom: 4px;
}

.footer-names-en {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 6vw, 3.7rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.04em;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
}

.footer-names-en span {
    color: var(--gold);
    padding: 0 0.12em;
    font-style: normal;
}

.footer-date-en {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1rem, 2.8vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 600px) {
    .footer-signature {
        gap: 10px;
    }

    .footer-heart {
        width: 82px;
    }

    .footer-names-en {
        font-size: clamp(1.9rem, 9vw, 2.8rem);
    }

    .footer-date-en {
        font-size: 0.95rem;
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* Sound Toggle */
.sound-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--olive-dark);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sound-icon {
    width: 24px;
    height: 24px;
    display: block;
    filter: brightness(0) invert(1);
}

.sound-toggle:hover {
    background: var(--olive-medium);
}

/* Responsive */
@media (max-width: 768px) {
    .bride-name,
    .groom-name {
        font-size: 3rem;
    }

    .ampersand {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .countdown-item {
        padding: 12px 8px;
        min-width: 0;
    }

    .countdown-number {
        font-size: 2.4rem;
    }

    .slider-track {
        height: 100%;
    }

    .rsvp-form {
        padding: 30px 20px;
    }

    .timeline::before {
        right: 30px;
        transform: none;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-right: 60px;
    }

    .timeline-icon {
        position: absolute;
        right: 0;
    }

    .detail-card-main {
        padding: 30px 20px;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .hotel-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }

    .intro-gif img,
    .intro-gif video {
        object-fit: cover;
    }

    .play-overlay {
        width: 90px;
        height: 90px;
    }

    .play-icon {
        border-width: 18px 0 18px 32px;
    }

    .tap-to-play {
        font-size: 1rem;
        bottom: 60px;
    }

    .skip-btn {
        bottom: 20px;
        padding: 10px 22px;
        font-size: 0.9rem;
    }

    .hero {
        height: 100vh;
    }

    .decoration-left {
        display: none;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
        margin-bottom: 20px;
    }

    .bride-name,
    .groom-name {
        font-size: 2.2rem;
    }

    .ampersand {
        font-size: 2rem;
    }

    .event-date {
        font-size: 1.1rem;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .countdown-section,
    .details-section,
    .timeline-section,
    .accommodation-section,
    .faq-section,
    .gift-section,
    .rsvp-section {
        padding: 48px 16px;
    }

    .details-section,
    .faq-section,
    .rsvp-section {
        padding: 40px 16px;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 35px;
    }

    .countdown {
        gap: 6px;
    }

    .countdown-item {
        padding: 8px 6px;
        border-radius: 14px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.85rem;
    }

    .slider-track {
        height: 100%;
    }

    .detail-card-main {
        margin: 30px auto 0;
        padding: 25px 18px;
    }

    .venue-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .timeline-item {
        padding-right: 40px;
    }

    .timeline-content {
        width: 100%;
    }

    .hotel-card {
        padding: 25px;
    }

    .faq-question {
        padding: 16px 20px;
        font-size: 1rem;
    }

    .gift-text {
        margin: 0 auto 30px;
    }

    .rsvp-form {
        padding: 24px 16px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .sound-toggle {
        bottom: 20px;
        left: 20px;
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }
}

@media (max-width: 420px) {
    .countdown {
        gap: 4px;
    }

    .countdown-item {
        padding: 6px 4px;
    }

    .countdown-number {
        font-size: clamp(1.2rem, 5.5vw, 1.6rem);
    }

    .countdown-label {
        font-size: clamp(0.6rem, 2.2vw, 0.75rem);
    }

    .account-number {
        word-break: break-all;
        letter-spacing: 1px;
        font-size: 0.95rem;
    }

    .names-container {
        gap: 15px;
    }
}
