/* ============================================
   WEDDING INVITATION - PREMIUM UI/UX DESIGN
   Phong cách: Lãng mạn - Thanh lịch - Hiện đại
   Mobile-first approach
   ============================================ */

/* ========== FAIRYTALE OPENING SCREEN ========== */
.fairytale-opening {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile browsers */
    z-index: 10000;
    background-image: 
        linear-gradient(135deg, rgba(26, 26, 46, 0.4) 0%, rgba(22, 33, 62, 0.3) 50%, rgba(15, 52, 96, 0.4) 100%),
        url('Image/thien-duong-giai-tri-disneyland-thuong-hai-01-1718582301.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1.5s ease, transform 1.5s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fairytale-opening.opening-transition {
    opacity: 0;
    transform: scale(1.2);
    pointer-events: none;
}

.fairytale-opening.hidden {
    display: none;
}

/* Background Overlay */
.opening-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
        transparent 0%, 
        rgba(0, 0, 0, 0.3) 50%, 
        rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

/* Magical Fireflies */
.magic-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.firefly {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #FFD700;
    border-radius: 50%;
    box-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFA500;
    animation: flyFirefly 15s infinite ease-in-out;
    opacity: 0;
}

.firefly:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.firefly:nth-child(2) {
    left: 80%;
    top: 30%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.firefly:nth-child(3) {
    left: 30%;
    top: 70%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.firefly:nth-child(4) {
    left: 70%;
    top: 60%;
    animation-delay: 1s;
    animation-duration: 14s;
}

.firefly:nth-child(5) {
    left: 50%;
    top: 40%;
    animation-delay: 3s;
    animation-duration: 16s;
}

.firefly:nth-child(6) {
    left: 20%;
    top: 80%;
    animation-delay: 5s;
    animation-duration: 13s;
}

@keyframes flyFirefly {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    25% {
        transform: translate(30px, -40px);
        opacity: 0.8;
    }
    50% {
        transform: translate(-20px, -80px);
        opacity: 1;
    }
    75% {
        transform: translate(40px, -120px);
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
}

/* Falling Petals */
.falling-petals {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.petal {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #FFB6C1 0%, #FFC0CB 100%);
    border-radius: 50% 0 50% 0;
    top: -20px;
    opacity: 0.7;
    animation: fallPetal 12s infinite linear;
}

.petal:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 10s;
}

.petal:nth-child(2) {
    left: 25%;
    animation-delay: 2s;
    animation-duration: 12s;
}

.petal:nth-child(3) {
    left: 40%;
    animation-delay: 4s;
    animation-duration: 11s;
}

.petal:nth-child(4) {
    left: 55%;
    animation-delay: 1s;
    animation-duration: 13s;
}

.petal:nth-child(5) {
    left: 70%;
    animation-delay: 3s;
    animation-duration: 10s;
}

.petal:nth-child(6) {
    left: 85%;
    animation-delay: 5s;
    animation-duration: 12s;
}

.petal:nth-child(7) {
    left: 15%;
    animation-delay: 6s;
    animation-duration: 11s;
}

.petal:nth-child(8) {
    left: 90%;
    animation-delay: 7s;
    animation-duration: 13s;
}

@keyframes fallPetal {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

/* Opening Content */
.opening-content {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 4;
    animation: contentFadeIn 2.5s ease-out;
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.opening-subtitle {
    font-family: 'Great Vibes', 'Dancing Script', cursive;
    font-size: 28px;
    color: #FFD700;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

.couple-names-opening {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.bride-name-opening,
.groom-name-opening {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 215, 0, 0.6),
        0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.heart-divider-opening {
    color: #FFB6C1;
    font-size: 32px;
    animation: heartBeatOpening 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 10px #FFB6C1);
}

@keyframes heartBeatOpening {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1);
    }
}

.love-story-text {
    font-family: 'Great Vibes', 'Dancing Script', cursive;
    font-size: 24px;
    color: #FFC0CB;
    margin-bottom: 35px;
    text-shadow: 0 0 15px rgba(255, 192, 203, 0.8);
}

/* Open Fairytale Button */
.open-fairytale-btn {
    position: relative;
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: 3px solid #FFFFFF;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.6),
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    animation: buttonPulse 2s ease-in-out infinite;
    letter-spacing: 2px;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(255, 215, 0, 0.6),
            0 10px 30px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
    50% {
        box-shadow: 
            0 0 40px rgba(255, 215, 0, 1),
            0 10px 30px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
}

/* Hover only for devices with mouse */
@media (hover: hover) and (pointer: fine) {
    .open-fairytale-btn:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 
            0 0 50px rgba(255, 215, 0, 1),
            0 15px 40px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.7);
    }
}

.open-fairytale-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Touch feedback for mobile */
@media (hover: none) and (pointer: coarse) {
    .open-fairytale-btn:active {
        transform: scale(0.98);
        box-shadow: 
            0 0 30px rgba(255, 215, 0, 0.8),
            0 5px 20px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
}

.btn-sparkle-left,
.btn-sparkle-right {
    font-size: 20px;
    animation: sparkleRotate 2s linear infinite;
}

.btn-sparkle-right {
    animation-delay: 1s;
}

@keyframes sparkleRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.3);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.enter-story-hint {
    margin-top: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: fadeInOut 3s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}

/* Light Rays */
.light-rays-opening {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.ray {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 200%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.15) 50%, 
        transparent 100%);
    transform-origin: top center;
    animation: rotateRayOpening 20s linear infinite;
}

.ray-1 {
    animation-delay: 0s;
}

.ray-2 {
    animation-delay: 6.67s;
}

.ray-3 {
    animation-delay: 13.33s;
}

@keyframes rotateRayOpening {
    0% {
        transform: rotate(0deg);
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: rotate(360deg);
        opacity: 0.3;
    }
}

/* Opening Transition Effect */
.fairytale-opening.opening-transition .opening-content {
    animation: contentFadeOut 1s ease-out forwards;
}

@keyframes contentFadeOut {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px);
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .opening-content {
        bottom: 12%;
    }
}

@media (max-width: 768px) {
    .bride-name-opening,
    .groom-name-opening {
        font-size: 36px;
    }
    
    .opening-subtitle {
        font-size: 22px;
    }
    
    .love-story-text {
        font-size: 18px;
    }
    
    .open-fairytale-btn {
        padding: 15px 40px;
        font-size: 16px;
    }
    
    .opening-content {
        bottom: 8%;
    }
}

@media (max-width: 480px) {
    .fairytale-opening {
        background-attachment: scroll; /* Better performance on mobile */
    }
    
    .bride-name-opening,
    .groom-name-opening {
        font-size: 32px; /* Larger for better readability */
    }
    
    .couple-names-opening {
        gap: 12px;
        flex-direction: column;
    }
    
    .heart-divider-opening {
        font-size: 28px;
    }
    
    .heart-divider-opening svg {
        width: 32px;
        height: 32px;
    }
    
    .opening-subtitle {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .love-story-text {
        font-size: 18px;
        margin-bottom: 30px;
    }
    
    .open-fairytale-btn {
        padding: 16px 40px; /* Bigger tap target */
        font-size: 16px;
        gap: 12px;
        min-width: 280px; /* Easier to tap */
        touch-action: manipulation; /* Disable double-tap zoom */
    }
    
    .btn-sparkle-left,
    .btn-sparkle-right {
        font-size: 18px;
    }
    
    .enter-story-hint {
        font-size: 12px;
        letter-spacing: 2px;
    }
    
    .opening-content {
        padding: 0 20px;
        bottom: 10%;
    }
    
    /* Reduce particles for better mobile performance */
    .firefly:nth-child(n+5) {
        display: none;
    }
    
    .petal:nth-child(n+5) {
        display: none;
    }
    
    .ray-3 {
        display: none;
    }
}

/* Extra Small Mobile (< 360px) */
@media (max-width: 360px) {
    .bride-name-opening,
    .groom-name-opening {
        font-size: 28px;
    }
    
    .open-fairytale-btn {
        padding: 14px 32px;
        font-size: 14px;
        min-width: 240px;
    }
    
    .opening-subtitle {
        font-size: 18px;
    }
    
    .love-story-text {
        font-size: 16px;
    }
}

/* ========== RESET & BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Bảng màu lãng mạn - Kem, Hồng Pastel, Be, Champagne */
    --cream-light: #FFF8F0;
    --cream: #F5F1E8;
    --cream-warm: #F0E8D8;
    --be-light: #E8DCC6;
    --be: #D4C4A8;
    --be-dark: #C9A982;
    --pink-pastel-light: #F4D1D1;
    --pink-pastel: #E8C4C4;
    --pink-pastel-dark: #D9A8A8;
    --champagne-light: #E8DDD0;
    --champagne: #D4C4A8;
    --champagne-dark: #C9A982;
    
    /* Màu text */
    --text-dark: #5D4E37;
    --text-medium: #8B7355;
    --text-light: #A89B8A;
    
    /* Shadows mềm mại */
    --shadow-soft: 0 4px 20px rgba(93, 78, 55, 0.08);
    --shadow-medium: 0 8px 30px rgba(93, 78, 55, 0.12);
    --shadow-strong: 0 12px 40px rgba(93, 78, 55, 0.15);
    --shadow-glow: 0 0 30px rgba(244, 209, 209, 0.3);
    
    /* Transitions mượt mà - Chậm hơn để lãng mạn hơn */
    --transition-slow: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Glow effects - Ánh sáng nhẹ */
    --glow-soft: 0 0 20px rgba(244, 209, 209, 0.4);
    --glow-medium: 0 0 30px rgba(244, 209, 209, 0.5);
    --glow-strong: 0 0 40px rgba(244, 209, 209, 0.6);
    --glow-pink: 0 0 25px rgba(232, 196, 196, 0.5);
    
    /* Border radius mềm mại */
    --radius-small: 12px;
    --radius-medium: 20px;
    --radius-large: 28px;
    --radius-round: 50px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 50%, var(--cream-warm) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(255, 248, 240, 0.4) 0%, 
        rgba(244, 209, 209, 0.25) 50%,
        rgba(232, 220, 198, 0.3) 100%),
        url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1920') center/cover no-repeat;
    color: var(--text-dark);
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, 
        rgba(255, 248, 240, 0.3) 0%, 
        rgba(244, 209, 209, 0.2) 40%,
        rgba(232, 220, 198, 0.25) 80%,
        transparent 100%);
    z-index: 1;
    animation: shimmer 12s ease-in-out infinite;
    filter: blur(1px);
}

.hero::after {
    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: rotateLight 20s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes shimmer {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.85; 
        transform: scale(1.05);
    }
}

@keyframes rotateLight {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(255, 248, 240, 0.25) 0%, 
        rgba(244, 209, 209, 0.2) 50%,
        rgba(232, 220, 198, 0.25) 100%);
    z-index: 1;
    backdrop-filter: blur(0.5px);
    -webkit-backdrop-filter: blur(0.5px);
}

/* ========== FLOATING HEARTS ANIMATION - TRONG MỖI SECTION ========== */
.floating-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 4;
    pointer-events: none;
    overflow: visible;
}

.heart {
    position: absolute;
    animation: floatHeartRandom 35s infinite ease-in-out;
    opacity: 0;
    user-select: none;
    will-change: transform, opacity;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Trái tim CSS - Tạo bằng CSS thay vì GIF */
.heart-shape {
    position: relative;
    width: 100%;
    height: 100%;
    transform: rotate(-45deg);
    animation: heartBeat 1.2s infinite ease-in-out;
}

.heart-shape::before,
.heart-shape::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 80%;
    background: linear-gradient(135deg, 
        rgba(255, 105, 180, 0.95) 0%,
        rgba(255, 182, 193, 0.9) 50%,
        rgba(255, 20, 147, 0.95) 100%);
    border-radius: 50% 50% 0 0;
    box-shadow: 
        0 0 15px rgba(255, 105, 180, 0.6),
        inset 0 0 20px rgba(255, 255, 255, 0.4),
        inset -3px -3px 8px rgba(255, 20, 147, 0.3);
    filter: drop-shadow(0 2px 6px rgba(255, 105, 180, 0.5))
            drop-shadow(0 0 12px rgba(255, 182, 193, 0.4));
}

.heart-shape::before {
    left: 0;
    transform: rotate(-45deg);
    transform-origin: 100% 100%;
}

.heart-shape::after {
    right: 0;
    transform: rotate(45deg);
    transform-origin: 0 100%;
}

/* Thêm điểm sáng trên trái tim */
.heart-shape::before::after,
.heart-shape::after::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 25%;
    left: 30%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Animation đập trái tim */
@keyframes heartBeat {
    0%, 100% {
        transform: rotate(-45deg) scale(1);
    }
    10% {
        transform: rotate(-45deg) scale(1.1);
    }
    20% {
        transform: rotate(-45deg) scale(1);
    }
    30% {
        transform: rotate(-45deg) scale(1.15);
    }
    40% {
        transform: rotate(-45deg) scale(1);
    }
    50% {
        transform: rotate(-45deg) scale(1.1);
    }
    60% {
        transform: rotate(-45deg) scale(1);
    }
}

/* Hearts trong mỗi section - vị trí ngẫu nhiên */
.heart:nth-child(1) { 
    left: 10%; 
    top: 20%;
    animation-delay: 0s; 
    animation-duration: 20s;
    width: 25px;
    height: 25px;
}
.heart:nth-child(2) { 
    left: 30%; 
    top: 60%;
    animation-delay: 3s; 
    animation-duration: 28s;
    width: 30px;
    height: 30px;
}
.heart:nth-child(3) { 
    left: 50%; 
    top: 10%;
    animation-delay: 6s; 
    animation-duration: 22s;
    width: 28px;
    height: 28px;
}

@keyframes floatHeartRandom {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(0.7);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    25% {
        transform: translate(50px, -60px) rotate(90deg) scale(1);
        opacity: 0.9;
    }
    50% {
        transform: translate(-40px, -120px) rotate(180deg) scale(1.1);
        opacity: 1;
    }
    75% {
        transform: translate(60px, -180px) rotate(270deg) scale(0.9);
        opacity: 0.8;
    }
    95% {
        opacity: 0.6;
    }
    100% {
        transform: translate(-50px, -240px) rotate(360deg) scale(0.7);
        opacity: 0;
    }
}

/* ========== BUTTERFLIES ANIMATION - TRONG MỖI SECTION ========== */
.butterflies-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 4;
    pointer-events: none;
    overflow: visible;
}

.butterfly {
    position: absolute;
    animation: flyButterflyRandom 30s infinite ease-in-out;
    opacity: 0;
    user-select: none;
    will-change: transform, opacity;
    transform-origin: center center;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bướm CSS - Tạo bằng CSS thay vì GIF */
.butterfly-body {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.butterfly-wing {
    position: absolute;
    width: 20px;
    height: 25px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: linear-gradient(135deg, 
        rgba(255, 182, 193, 0.9) 0%,
        rgba(255, 192, 203, 0.8) 30%,
        rgba(255, 215, 0, 0.7) 60%,
        rgba(255, 182, 193, 0.9) 100%);
    box-shadow: 
        0 0 10px rgba(255, 182, 193, 0.6),
        inset 0 0 15px rgba(255, 255, 255, 0.4),
        inset -2px -2px 5px rgba(255, 192, 203, 0.5);
    filter: drop-shadow(0 2px 6px rgba(244, 209, 209, 0.5))
            drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.butterfly-wing.left-wing {
    left: 8px;
    transform-origin: right center;
    animation: flapLeft 0.4s infinite ease-in-out;
}

.butterfly-wing.right-wing {
    right: 8px;
    transform-origin: left center;
    animation: flapRight 0.4s infinite ease-in-out;
}

/* Thêm điểm trang trí trên cánh */
.butterfly-wing::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    top: 30%;
    left: 25%;
    box-shadow: 
        2px 2px 0 rgba(255, 192, 203, 0.6),
        -2px -2px 0 rgba(255, 215, 0, 0.4);
}

.butterfly-wing::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 215, 0, 0.9);
    border-radius: 50%;
    top: 50%;
    right: 20%;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
}

/* Animation đập cánh */
@keyframes flapLeft {
    0%, 100% {
        transform: rotateY(0deg) rotateZ(-5deg);
    }
    50% {
        transform: rotateY(60deg) rotateZ(5deg);
    }
}

@keyframes flapRight {
    0%, 100% {
        transform: rotateY(0deg) rotateZ(5deg);
    }
    50% {
        transform: rotateY(-60deg) rotateZ(-5deg);
    }
}

/* Container cho hiệu ứng lấp lánh phía sau bướm */
.butterfly::before,
.butterfly::after {
    content: '✨';
    position: absolute;
    font-size: 10px;
    opacity: 0;
    pointer-events: none;
    animation: sparkleTrail 1.5s infinite ease-out;
    color: rgba(255, 215, 0, 0.9);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.8),
                 0 0 12px rgba(255, 255, 255, 0.6);
}

.butterfly::before {
    left: -18px;
    top: -8px;
    animation-delay: 0s;
}

.butterfly::after {
    left: -25px;
    top: 8px;
    animation-delay: 0.4s;
    font-size: 8px;
}

/* Thêm sparkle elements cho mỗi bướm */
.butterfly-sparkles {
    position: absolute;
    width: 60px;
    height: 60px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

.butterfly-sparkle {
    position: absolute;
    font-size: 8px;
    color: rgba(255, 215, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    animation: sparkleTrail 2s infinite ease-out;
    text-shadow: 0 0 8px rgba(255, 215, 0, 1),
                 0 0 12px rgba(255, 255, 255, 0.8),
                 0 0 18px rgba(255, 215, 0, 0.6);
    left: 50%;
    top: 50%;
    transform-origin: center center;
}

.butterfly-sparkle:nth-child(1) {
    animation-delay: 0s;
    font-size: 11px;
    left: 45%;
    top: 45%;
}

.butterfly-sparkle:nth-child(2) {
    animation-delay: 0.25s;
    font-size: 9px;
    left: 50%;
    top: 40%;
}

.butterfly-sparkle:nth-child(3) {
    animation-delay: 0.5s;
    font-size: 10px;
    left: 55%;
    top: 50%;
}

.butterfly-sparkle:nth-child(4) {
    animation-delay: 0.75s;
    font-size: 8px;
    left: 48%;
    top: 55%;
}

.butterfly-sparkle:nth-child(5) {
    animation-delay: 1s;
    font-size: 9px;
    left: 52%;
    top: 45%;
}

/* Animation cho các hạt lấp lánh - di chuyển theo đường cong phía sau bướm */
@keyframes sparkleTrail {
    0% {
        opacity: 0;
        transform: translate(20px, 10px) rotate(0deg) scale(0);
        filter: brightness(1);
    }
    10% {
        opacity: 0;
        transform: translate(15px, 8px) rotate(5deg) scale(0.3);
    }
    20% {
        opacity: 1;
        transform: translate(8px, 4px) rotate(-5deg) scale(1);
        filter: brightness(1.5);
    }
    35% {
        opacity: 0.95;
        transform: translate(-2px, -2px) rotate(-15deg) scale(1.1);
        filter: brightness(1.3);
    }
    50% {
        opacity: 0.85;
        transform: translate(-12px, -8px) rotate(-25deg) scale(1);
        filter: brightness(1.2);
    }
    65% {
        opacity: 0.7;
        transform: translate(-22px, -15px) rotate(-35deg) scale(0.9);
        filter: brightness(1);
    }
    80% {
        opacity: 0.4;
        transform: translate(-32px, -22px) rotate(-45deg) scale(0.6);
        filter: brightness(0.8);
    }
    95% {
        opacity: 0.15;
        transform: translate(-42px, -28px) rotate(-55deg) scale(0.3);
        filter: brightness(0.6);
    }
    100% {
        opacity: 0;
        transform: translate(-50px, -35px) rotate(-65deg) scale(0);
        filter: brightness(0.4);
    }
}

/* Butterflies trong mỗi section - vị trí ngẫu nhiên */
.butterfly:nth-child(1) { 
    left: -80px; 
    top: 25%;
    animation-delay: 0s; 
    animation-duration: 20s;
    width: 45px;
    height: 45px;
}
.butterfly:nth-child(2) { 
    left: -80px; 
    top: 65%;
    animation-delay: 6s; 
    animation-duration: 22s;
    width: 50px;
    height: 50px;
}

@keyframes flyButterflyRandom {
    0% {
        transform: translate(-50px, 0) rotate(-10deg) scale(0.4);
        opacity: 0;
    }
    3% {
        opacity: 1;
    }
    20% {
        transform: translate(150px, -80px) rotate(15deg) scale(0.9);
        opacity: 1;
    }
    40% {
        transform: translate(350px, -180px) rotate(25deg) scale(1);
        opacity: 1;
    }
    60% {
        transform: translate(550px, -280px) rotate(10deg) scale(1.1);
        opacity: 1;
    }
    80% {
        transform: translate(750px, -380px) rotate(-5deg) scale(0.9);
        opacity: 0.8;
    }
    95% {
        transform: translate(900px, -450px) rotate(0deg) scale(0.6);
        opacity: 0.4;
    }
    100% {
        transform: translate(1100px, -550px) rotate(0deg) scale(0.3);
        opacity: 0;
    }
}

/* ========== HERO CONTENT ========== */
.hero-content {
    position: relative;
    z-index: 3;
    animation: fadeInUpSoft 1.2s ease-out;
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-subtitle {
    font-family: 'Great Vibes', 'Dancing Script', cursive;
    font-size: clamp(32px, 6vw, 44px);
    letter-spacing: 3px;
    text-transform: capitalize;
    margin-bottom: 24px;
    background: linear-gradient(90deg, 
        #FFD700 0%, 
        #FFA500 20%, 
        #FF8C00 40%, 
        #FFA500 60%, 
        #FFD700 80%,
        #FFA500 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
    opacity: 0;
    animation: fadeInDown 1s ease-out 0.3s forwards, 
               shimmerText 3s ease-in-out infinite,
               gradientSlide 8s linear infinite;
    filter: drop-shadow(0 3px 10px rgba(255, 215, 0, 0.8))
            drop-shadow(0 0 25px rgba(255, 165, 0, 0.7))
            drop-shadow(0 0 40px rgba(255, 140, 0, 0.5));
}

@keyframes gradientSlide {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes shimmerText {
    0%, 100% {
        filter: drop-shadow(0 3px 10px rgba(255, 215, 0, 0.8))
                drop-shadow(0 0 25px rgba(255, 165, 0, 0.7))
                drop-shadow(0 0 40px rgba(255, 140, 0, 0.5));
    }
    50% {
        filter: drop-shadow(0 4px 14px rgba(255, 215, 0, 1))
                drop-shadow(0 0 35px rgba(255, 165, 0, 1))
                drop-shadow(0 0 50px rgba(255, 140, 0, 0.8));
    }
}

.hero-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(42px, 10vw, 100px);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 32px;
    line-height: 1.3;
    color: var(--text-dark);
    text-shadow: 0 2px 10px rgba(255, 248, 240, 0.6),
                 0 4px 20px rgba(244, 209, 209, 0.3),
                 0 0 30px rgba(244, 209, 209, 0.4);
    opacity: 0;
    animation: fadeInScale 2s ease-out 0.5s forwards;
    filter: drop-shadow(0 0 15px rgba(244, 209, 209, 0.5));
    position: relative;
    word-break: keep-all;
    max-width: 100%;
    padding: 0 20px;
    text-align: center;
}

.hero-title::after {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -30px;
    font-size: 0.4em;
    animation: sparkle 2s ease-in-out infinite;
    opacity: 0.8;
}

.hero-title::before {
    content: '✨';
    position: absolute;
    bottom: -10px;
    left: -30px;
    font-size: 0.4em;
    animation: sparkle 2s ease-in-out infinite 1s;
    opacity: 0.8;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
        filter: blur(3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 1;
    }
}

.hero-date {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 600;
    margin-bottom: 56px;
    letter-spacing: 6px;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFE5E5 30%, #FFB6C1 60%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 0.8s forwards, pulseGlowDate 2.5s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.6))
            drop-shadow(0 0 25px rgba(255, 182, 193, 0.5));
}

@keyframes pulseGlowDate {
    0%, 100% {
        filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.6))
                drop-shadow(0 0 25px rgba(255, 182, 193, 0.5));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 6px 16px rgba(255, 255, 255, 0.9))
                drop-shadow(0 0 35px rgba(255, 182, 193, 0.8));
        transform: scale(1.02);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes fadeInUpSoft {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 1s forwards;
    margin-top: 0;
}

/* ========== BUTTONS ========== */
.btn {
    padding: 16px 40px;
    border: none;
    border-radius: var(--radius-round);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-medium);
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.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;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--pink-pastel-dark) 0%, var(--champagne-dark) 100%);
    color: var(--cream-light);
    box-shadow: var(--shadow-soft),
                0 0 15px rgba(244, 209, 209, 0.3);
    filter: drop-shadow(0 0 10px rgba(244, 209, 209, 0.4));
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium), 
                var(--shadow-glow),
                0 0 25px rgba(244, 209, 209, 0.5);
    background: linear-gradient(135deg, var(--pink-pastel-dark) 0%, var(--be-dark) 100%);
    filter: drop-shadow(0 0 20px rgba(244, 209, 209, 0.6));
}

/* ========== MUSIC TOGGLE BUTTON ========== */
.music-toggle-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    transition: var(--transition-fast);
}

.music-toggle-btn:hover {
    transform: scale(1.1);
}

.music-toggle-btn:active {
    transform: scale(0.95);
}

.music-icon {
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: var(--transition-fast);
}

.music-toggle-btn:hover .music-icon {
    transform: scale(1.1);
}

/* Legacy btn-icon - giữ lại để không break code khác */
.btn-icon {
    background: rgba(255, 248, 240, 0.8);
    color: var(--text-dark);
    padding: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(244, 209, 209, 0.3);
}

.btn-icon:hover {
    background: rgba(255, 248, 240, 0.95);
    transform: scale(1.08);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(244, 209, 209, 0.4);
    color: var(--text-medium);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-medium);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.3px;
    text-align: center;
    position: relative;
    min-width: fit-content;
}

.btn-outline::after {
    content: '📍';
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 1;
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--pink-pastel-dark) 0%, var(--champagne-dark) 100%);
    color: var(--cream-light);
    border-color: var(--pink-pastel-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 209, 209, 0.3);
}

.btn-outline:hover::after {
    transform: scale(1.1);
}

/* ========== SCROLL INDICATOR ========== */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    width: 26px;
    height: 44px;
    border: 2px solid rgba(93, 78, 55, 0.4);
    border-radius: 14px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: rgba(244, 209, 209, 0.6);
    border-radius: 2px;
    animation: scrollSoft 2.5s infinite;
}

@keyframes scrollSoft {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ========== SECTION STYLES ========== */
section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

/* Thêm ánh sáng nhẹ cho các sections */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.5s ease-out;
}

section.visible::before {
    opacity: 1;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(32px, 5.5vw, 48px);
    font-weight: 300;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: 3px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 32px;
    text-shadow: 0 2px 8px rgba(255, 248, 240, 0.4),
                 0 0 20px rgba(244, 209, 209, 0.2);
    filter: drop-shadow(0 0 10px rgba(244, 209, 209, 0.3));
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--pink-pastel), 
        var(--champagne-dark), 
        var(--pink-pastel), 
        transparent);
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--champagne);
    opacity: 0.5;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: clamp(16px, 2.5vw, 18px);
    margin-bottom: 56px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 300;
}

/* ========== COUNTDOWN SECTION ========== */
.countdown-section {
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-light) 100%);
    position: relative;
}

.countdown-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(244, 209, 209, 0.15) 0%, 
        transparent 70%);
    pointer-events: none;
}

.countdown-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(244, 209, 209, 0.3), 
        transparent);
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.countdown-item {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--cream-light) 0%, var(--cream) 100%);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft), 
                inset 0 1px 0 rgba(255, 255, 255, 0.5),
                0 0 20px rgba(244, 209, 209, 0.2);
    transition: var(--transition-slow);
    border: 2px solid rgba(244, 209, 209, 0.25);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.countdown-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--pink-pastel), 
        var(--champagne-dark), 
        var(--pink-pastel));
    opacity: 0;
    transition: var(--transition-medium);
}

.countdown-item::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(244, 209, 209, 0.15);
    border-radius: var(--radius-medium);
    pointer-events: none;
}

.countdown-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium), 
                inset 0 1px 0 rgba(255, 255, 255, 0.6),
                0 0 30px rgba(244, 209, 209, 0.4);
    border-color: rgba(244, 209, 209, 0.4);
    filter: drop-shadow(0 0 15px rgba(244, 209, 209, 0.3));
}

.countdown-item:hover::before {
    opacity: 1;
}

.countdown-number {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(36px, 7vw, 64px);
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 2px;
}

.countdown-label {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
}

/* ========== LOVE STORY SECTION ========== */
.love-story-section {
    background: linear-gradient(180deg, 
        var(--cream-light) 0%, 
        var(--cream) 50%, 
        var(--cream-light) 100%);
    position: relative;
}

.love-story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(244, 209, 209, 0.3), 
        transparent);
}

.timeline {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    padding: 60px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        transparent, 
        var(--champagne-light), 
        transparent);
}

.timeline-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 28px;
    top: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        var(--pink-pastel-dark) 0%, 
        var(--champagne-dark) 100%);
    border: 4px solid var(--cream-light);
    box-shadow: 0 0 0 4px var(--champagne-light), var(--shadow-soft);
    transition: var(--transition-medium);
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2);
    box-shadow: 0 0 0 4px var(--champagne-light), var(--shadow-medium);
}

.timeline-content {
    background: linear-gradient(135deg, 
        var(--cream-light) 0%, 
        var(--cream) 100%);
    padding: 32px 40px;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft), 
                inset 0 1px 0 rgba(255, 255, 255, 0.5),
                0 0 20px rgba(244, 209, 209, 0.2);
    border: 2px solid rgba(244, 209, 209, 0.2);
    transition: var(--transition-slow);
    position: relative;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, 
        var(--pink-pastel-dark), 
        var(--champagne-dark));
    border-radius: var(--radius-medium) 0 0 var(--radius-medium);
    opacity: 0.6;
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium), 
                inset 0 1px 0 rgba(255, 255, 255, 0.6),
                0 0 30px rgba(244, 209, 209, 0.4);
    border-color: rgba(244, 209, 209, 0.35);
    filter: drop-shadow(0 0 15px rgba(244, 209, 209, 0.3));
}

.timeline-content h3 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(24px, 4vw, 28px);
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.timeline-date {
    font-size: 15px;
    color: var(--pink-pastel-dark);
    margin-bottom: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

.timeline-description {
    color: var(--text-light);
    line-height: 1.9;
    font-size: clamp(15px, 2vw, 16px);
}

.code-snippet {
    text-align: center;
    margin-top: 80px;
    padding: 32px;
    background: linear-gradient(135deg, 
        var(--cream) 0%, 
        var(--cream-warm) 100%);
    border-radius: var(--radius-small);
    border: 1px solid rgba(244, 209, 209, 0.2);
    box-shadow: var(--shadow-soft);
}

.code-snippet code {
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: clamp(16px, 2.5vw, 18px);
    color: var(--text-dark);
    letter-spacing: 3px;
    font-weight: 300;
}

/* ========== WEDDING INFO SECTION ========== */
.wedding-info-section {
    background: linear-gradient(180deg, 
        var(--cream) 0%, 
        var(--cream-light) 100%);
    position: relative;
}

.wedding-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(244, 209, 209, 0.3), 
        transparent);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.info-card {
    background: linear-gradient(135deg, 
        var(--cream-light) 0%, 
        var(--cream) 100%);
    padding: 56px 40px;
    border-radius: var(--radius-large);
    text-align: center;
    box-shadow: var(--shadow-soft), 
                inset 0 1px 0 rgba(255, 255, 255, 0.5),
                0 0 20px rgba(244, 209, 209, 0.2);
    transition: var(--transition-slow);
    border: 2px solid rgba(244, 209, 209, 0.25);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.info-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--pink-pastel), 
        var(--champagne-dark), 
        var(--pink-pastel));
    opacity: 0.7;
}

.info-card::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid rgba(244, 209, 209, 0.2);
    border-radius: var(--radius-medium);
    pointer-events: none;
}

.info-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-strong), 
                inset 0 1px 0 rgba(255, 255, 255, 0.6),
                0 0 35px rgba(244, 209, 209, 0.5);
    border-color: rgba(244, 209, 209, 0.4);
    filter: drop-shadow(0 0 20px rgba(244, 209, 209, 0.4));
}

.info-icon {
    font-size: clamp(48px, 8vw, 56px);
    margin-bottom: 28px;
    filter: drop-shadow(0 2px 8px rgba(244, 209, 209, 0.3));
}

.info-card h3 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(28px, 5vw, 32px);
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.info-time {
    font-size: clamp(20px, 3.5vw, 22px);
    color: var(--pink-pastel-dark);
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.info-location {
    font-size: clamp(20px, 3.5vw, 22px);
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.info-address {
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
    font-size: clamp(14px, 2vw, 15px);
}

/* ========== GALLERY SECTION ========== */
.gallery-section {
    background: linear-gradient(180deg, 
        var(--cream-light) 0%, 
        var(--cream) 100%);
    position: relative;
    padding: 140px 0;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--pink-pastel), 
        var(--champagne-dark), 
        var(--pink-pastel), 
        transparent);
    opacity: 0.4;
}

.gallery-section::after {
    content: '❦';
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    color: var(--champagne);
    opacity: 0.3;
}

.gallery-section .section-title {
    margin-bottom: 60px;
    position: relative;
}

.gallery-section .section-title::before,
.gallery-section .section-title::after {
    content: '❦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--pink-pastel-dark);
    opacity: 0.4;
}

.gallery-section .section-title::before {
    left: -60px;
}

.gallery-section .section-title::after {
    right: -60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-small);
    aspect-ratio: 1;
    cursor: pointer;
    background: var(--cream-warm);
    box-shadow: var(--shadow-soft), 0 0 0 1px rgba(244, 209, 209, 0.2);
    transition: var(--transition-slow);
    border: 2px solid rgba(244, 209, 209, 0.2);
    opacity: 0;
    transform: scale(0.9);
}

.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(244, 209, 209, 0.1) 0%, 
        transparent 50%);
    opacity: 0;
    transition: var(--transition-medium);
    z-index: 1;
    pointer-events: none;
}

.gallery-item::after {
    content: '👁️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 32px;
    opacity: 0;
    transition: var(--transition-medium);
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-strong), 
                0 0 0 2px rgba(244, 209, 209, 0.3),
                0 0 30px rgba(244, 209, 209, 0.4);
    border-color: rgba(244, 209, 209, 0.4);
    filter: drop-shadow(0 0 20px rgba(244, 209, 209, 0.5));
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    filter: brightness(0.98) contrast(1.05) saturate(1.1);
}

.gallery-item:hover img {
    transform: scale(1.12);
    filter: brightness(1.05) contrast(1.15) saturate(1.2);
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(93, 78, 55, 0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    margin-top: 5vh;
    object-fit: contain;
    animation: zoomSoft 0.5s ease-out;
    border-radius: var(--radius-small);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

@keyframes zoomSoft {
    from { 
        transform: scale(0.9); 
        opacity: 0; 
    }
    to { 
        transform: scale(1); 
        opacity: 1; 
    }
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--cream-light);
    font-size: 48px;
    font-weight: 300;
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition-medium);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 248, 240, 0.1);
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(255, 248, 240, 0.2);
    transform: rotate(90deg) scale(1.1);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    pointer-events: none;
}

.modal-prev,
.modal-next {
    background: rgba(255, 248, 240, 0.15);
    border: 1px solid rgba(255, 248, 240, 0.2);
    color: var(--cream-light);
    font-size: 48px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-medium);
    pointer-events: all;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-prev:hover,
.modal-next:hover {
    background: rgba(255, 248, 240, 0.25);
    transform: scale(1.1);
    border-color: rgba(255, 248, 240, 0.3);
}

/* ========== RSVP SECTION ========== */
.rsvp-section {
    background: linear-gradient(180deg, 
        var(--cream) 0%, 
        var(--cream-light) 100%);
    position: relative;
}

.rsvp-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(244, 209, 209, 0.3), 
        transparent);
}

.rsvp-form {
    max-width: 650px;
    margin: 0 auto;
    background: linear-gradient(135deg, 
        var(--cream-light) 0%, 
        var(--cream) 100%);
    padding: 56px 48px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium), 
                inset 0 1px 0 rgba(255, 255, 255, 0.5),
                0 0 25px rgba(244, 209, 209, 0.25);
    border: 2px solid rgba(244, 209, 209, 0.25);
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.rsvp-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--pink-pastel), 
        var(--champagne-dark), 
        var(--pink-pastel));
    border-radius: var(--radius-large) var(--radius-large) 0 0;
    opacity: 0.6;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: clamp(14px, 2vw, 15px);
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(244, 209, 209, 0.3);
    border-radius: var(--radius-small);
    font-size: clamp(15px, 2vw, 16px);
    font-family: inherit;
    transition: var(--transition-medium);
    background: var(--cream);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--pink-pastel-dark);
    background: var(--cream-light);
    box-shadow: 0 0 0 4px rgba(244, 209, 209, 0.15), 
                inset 0 1px 3px rgba(244, 209, 209, 0.1),
                0 0 20px rgba(244, 209, 209, 0.3);
    filter: drop-shadow(0 0 10px rgba(244, 209, 209, 0.4));
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.rsvp-form .btn-primary {
    width: 100%;
    margin-top: 12px;
    padding: 18px;
    font-size: clamp(16px, 2.5vw, 17px);
}

.rsvp-success {
    max-width: 650px;
    margin: 40px auto 0;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, 
        var(--cream-light) 0%, 
        var(--cream) 100%);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(244, 209, 209, 0.25);
    position: relative;
}

.rsvp-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--pink-pastel), 
        var(--champagne-dark), 
        var(--pink-pastel));
    border-radius: var(--radius-large) var(--radius-large) 0 0;
    opacity: 0.6;
}

.rsvp-success p {
    font-size: clamp(17px, 2.5vw, 19px);
    color: var(--text-dark);
    line-height: 1.9;
}

/* ========== THANK YOU SECTION ========== */
.thank-you-section {
    background: linear-gradient(180deg, 
        var(--cream-light) 0%, 
        var(--cream) 100%);
    text-align: center;
    position: relative;
    padding: 140px 0;
}

.thank-you-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(244, 209, 209, 0.3), 
        transparent);
}

.thank-you-text {
    font-size: clamp(17px, 2.5vw, 19px);
    color: var(--text-light);
    line-height: 1.9;
    max-width: 750px;
    margin: 0 auto 56px;
    font-weight: 300;
    position: relative;
    padding: 0 20px;
}

.thank-you-text::before,
.thank-you-text::after {
    content: '❦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--champagne);
    opacity: 0.4;
}

.thank-you-text::before {
    left: -40px;
}

.thank-you-text::after {
    right: -40px;
}

.signature {
    margin-top: 80px;
    padding-top: 56px;
    border-top: 2px solid rgba(244, 209, 209, 0.3);
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.signature::before {
    content: '❦';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, 
        var(--cream-light) 0%, 
        var(--cream) 100%);
    padding: 0 24px;
    color: var(--pink-pastel-dark);
    font-size: 28px;
}

.signature::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--champagne), 
        transparent);
}

.signature-names {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(36px, 7vw, 42px);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.signature-date {
    font-size: clamp(16px, 2.5vw, 18px);
    color: var(--text-light);
    letter-spacing: 2px;
    font-weight: 300;
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(180deg, 
        var(--text-dark) 0%, 
        #4a3d2a 100%);
    color: var(--cream);
    text-align: center;
    padding: 40px;
    font-size: clamp(13px, 2vw, 14px);
    letter-spacing: 1px;
}

/* ========== RESPONSIVE DESIGN - MOBILE FIRST ========== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .countdown-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        max-width: 100%;
        padding: 0 8px;
    }

    .countdown-item {
        padding: 20px 8px;
        border-radius: 16px;
    }

    .countdown-number {
        font-size: clamp(24px, 5vw, 32px);
        margin-bottom: 8px;
    }

    .countdown-label {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-marker {
        left: 8px;
        width: 24px;
        height: 24px;
    }

    .timeline-content {
        padding: 24px 28px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .info-card {
        padding: 40px 24px;
    }

    .btn-outline {
        padding: 8px 16px;
        font-size: 13px;
        border-radius: 18px;
        gap: 6px;
    }

    .btn-outline::after {
        font-size: 13px;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 16px;
    }

    .gallery-section {
        padding: 100px 0 80px;
    }

    .gallery-section .section-title {
        margin-bottom: 40px;
    }

    .gallery-item {
        position: relative;
        width: 100%;
        height: 320px;
        border-radius: 12px;
        background: linear-gradient(135deg, #FFF5F5 0%, #FFE8E8 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        overflow: hidden;
    }
    
    /* Tablet: 2 cột, ảnh lớn rõ ràng, không cắt */
    .gallery-item img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 8px;
    }
    
    .gallery-section .section-title::before,
    .gallery-section .section-title::after {
        display: none;
    }
    
    .thank-you-text::before,
    .thank-you-text::after {
        display: none;
    }

    .rsvp-form {
        padding: 40px 32px;
    }

    section {
        padding: 80px 0;
    }

    .section-title {
        margin-bottom: 60px;
        font-size: clamp(28px, 6vw, 36px);
    }

    .modal-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
        width: 48px;
        height: 48px;
    }

    .modal-prev,
    .modal-next {
        width: 52px;
        height: 52px;
        font-size: 40px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 16px;
    }

    .music-toggle-btn {
        top: 16px;
        left: 16px;
    }

    .music-icon {
        font-size: 24px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        padding: 18px 40px;
        font-size: 17px;
    }

    .countdown-item {
        padding: 32px 16px;
    }

    .hero {
        padding: 0;
        min-height: 100vh;
        height: 100vh;
        max-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        padding: 0 20px;
        width: 100%;
        margin-top: -20px;
    }

    .hero-subtitle {
        font-size: clamp(22px, 5vw, 32px);
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .hero-title {
        font-size: clamp(36px, 8.5vw, 48px);
        white-space: normal;
        word-break: keep-all;
        line-height: 1.3;
        padding: 0 12px;
        max-width: 100%;
        display: block;
        margin-bottom: 16px;
    }

    .hero-title::after,
    .hero-title::before {
        display: none;
    }

    .hero-date {
        font-size: clamp(22px, 4.5vw, 32px);
        margin-bottom: 24px;
        letter-spacing: 2px;
    }

    .hero-buttons {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .countdown-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        max-width: 100%;
        padding: 0 4px;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 12px;
    }

    .gallery-section {
        padding: 80px 0 60px;
    }

    .gallery-section .section-title {
        margin-bottom: 30px;
        font-size: clamp(22px, 5vw, 28px);
    }

    .gallery-item {
        position: relative;
        width: 100%;
        height: 240px;
        border-radius: 10px;
        border-width: 1.5px;
        background: linear-gradient(135deg, #FFF5F5 0%, #FFE8E8 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px;
        overflow: hidden;
    }
    
    /* Mobile: 2 cột, ảnh lớn rõ ràng - KHÔNG CẮT */
    .gallery-item img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 8px;
    }

    .hero {
        min-height: 100vh;
        height: 100vh;
        max-height: 100vh;
        padding: 0;
    }

    .hero-content {
        padding: 0 16px;
        width: 100%;
        margin-top: -30px;
    }

    .hero-subtitle {
        font-size: clamp(18px, 4.5vw, 26px);
        letter-spacing: 2px;
        margin-bottom: 10px;
    }

    .hero-title {
        font-size: clamp(30px, 7.5vw, 40px);
        white-space: normal;
        word-break: keep-all;
        line-height: 1.4;
        padding: 0 12px;
        margin-bottom: 12px;
        display: block;
        text-align: center;
    }

    .hero-date {
        font-size: clamp(18px, 4vw, 26px);
        margin-bottom: 20px;
        letter-spacing: 2px;
    }

    .hero-buttons {
        margin-top: 0;
        gap: 12px;
    }

    .scroll-indicator {
        bottom: 15px;
    }
    
    /* Tách tên thành 2 dòng đẹp hơn trên mobile rất nhỏ */
    @media (max-width: 360px) {
        .hero-title {
            font-size: clamp(28px, 7vw, 36px);
            line-height: 1.6;
        }
    }

    .hero-subtitle {
        font-size: clamp(18px, 4.5vw, 26px);
        letter-spacing: 2px;
        margin-bottom: 16px;
    }

    .hero-date {
        font-size: clamp(18px, 4vw, 26px);
        margin-bottom: 32px;
        letter-spacing: 2px;
    }

    .hero-buttons {
        gap: 12px;
        width: 100%;
        padding: 0 16px;
    }

    .music-toggle-btn {
        top: 12px;
        left: 12px;
    }

    .music-icon {
        font-size: 22px;
    }

    .btn {
        width: 100%;
        max-width: 100%;
        padding: 16px 32px;
        font-size: 16px;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-indicator span {
        width: 22px;
        height: 36px;
    }

    .timeline-item {
        padding-left: 45px;
        margin-bottom: 60px;
    }

    .timeline-content {
        padding: 20px 20px;
        border-radius: 16px;
    }

    .timeline-content h3 {
        font-size: 22px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .info-card {
        padding: 28px 16px;
        border-radius: 20px;
    }

    .info-icon {
        font-size: 36px;
        margin-bottom: 16px;
    }

    .info-card h3 {
        font-size: clamp(20px, 4vw, 24px);
    }

    .info-time,
    .info-location {
        font-size: clamp(16px, 3vw, 18px);
    }

    .info-address {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .btn-outline {
        padding: 8px 14px;
        font-size: 12px;
        border-radius: 16px;
        gap: 5px;
    }

    .btn-outline::after {
        font-size: 12px;
    }

    .rsvp-form {
        padding: 32px 20px;
        border-radius: 24px;
    }

    .form-group {
        margin-bottom: 24px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 15px;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: 40px;
        padding-bottom: 24px;
    }

    .section-subtitle {
        font-size: 15px;
        margin-bottom: 40px;
        padding: 0 16px;
    }

    .countdown-item {
        padding: 16px 6px;
        border-radius: 14px;
    }

    .countdown-number {
        font-size: clamp(20px, 4.5vw, 28px);
        margin-bottom: 6px;
        letter-spacing: 1px;
    }

    .countdown-label {
        font-size: 10px;
        letter-spacing: 0.5px;
    }


    .gallery-item {
        border-radius: 12px;
    }

    .signature-names {
        font-size: 28px;
    }

    .signature-date {
        font-size: 15px;
    }
}

/* ========== PERFORMANCE OPTIMIZATION ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
