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

:root {
    --primary-color: #6c63ff;
    --secondary-color: #4a47a3;
    --accent-color: #e8eaf6;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #6c63ff 50%, #4a47a3 75%, #2d3436 100%);
    --card-shadow: 0 10px 30px rgba(108, 99, 255, 0.2);
    --hover-shadow: 0 15px 40px rgba(108, 99, 255, 0.3);
}

/* Social Icons */
.social-icons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    display: flex;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #833AB4, #E1306C, #F77737, #FCAF45, #C13584);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 5px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    animation: instagramFloat 3s ease-in-out infinite;
}

@keyframes instagramFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

.social-icon:hover {
    transform: translateY(-10px) scale(1.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    background: linear-gradient(135deg, #E1306C, #833AB4, #F77737, #FCAF45, #C13584);
    animation: instagramGlow 0.5s ease-in-out infinite alternate;
}

.social-icon i {
    font-size: 2.5rem;
    color: white;
    z-index: 2;
    position: relative;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.ig-text {
    display: none;
    font-family: Arial Black, sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
}

/* Fallback if Font Awesome doesn't load */
.social-icon i:not(.fa-instagram) {
    display: none;
}

.social-icon i:not(.fa-instagram) + .ig-text {
    display: block;
}

.instagram-icon {
    background: linear-gradient(135deg, #833AB4, #E1306C);
    animation: instagramGlow 2s ease-in-out infinite alternate;
}

.instagram-icon:hover {
    background: linear-gradient(135deg, #E1306C, #833AB4);
    animation: instagramGlow 0.5s ease-in-out infinite alternate;
}

@keyframes instagramGlow {
    from {
        box-shadow: 0 10px 30px rgba(131, 58, 180, 0.9);
        border-color: rgba(255, 255, 255, 0.9);
    }
    to {
        box-shadow: 0 10px 40px rgba(225, 48, 108, 1);
        border-color: rgba(255, 255, 255, 1);
    }
}

/* Top Right Instagram */
.top-right-instagram {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9998;
    display: flex;
}

.top-ig-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #833AB4, #E1306C, #F77737, #FCAF45, #C13584);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    animation: topIgFloat 3s ease-in-out infinite;
}

@keyframes topIgFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-5px) scale(1.05); }
}

.top-ig-icon:hover {
    transform: translateY(-5px) scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    background: linear-gradient(135deg, #E1306C, #833AB4, #F77737, #FCAF45, #C13584);
    animation: topIgGlow 0.5s ease-in-out infinite alternate;
}

.top-ig-icon i {
    font-size: 1.4rem;
    color: white;
    z-index: 2;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.top-ig-icon .ig-text {
    display: none;
    font-family: Arial Black, sans-serif;
    font-weight: 900;
    font-size: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Fallback if Font Awesome doesn't load */
.top-ig-icon i:not(.fa-instagram) {
    display: none;
}

.top-ig-icon i:not(.fa-instagram) + .ig-text {
    display: block;
}

@keyframes topIgGlow {
    from {
        box-shadow: 0 6px 20px rgba(131, 58, 180, 0.7);
        border-color: rgba(255, 255, 255, 0.7);
    }
    to {
        box-shadow: 0 6px 25px rgba(225, 48, 108, 0.8);
        border-color: rgba(255, 255, 255, 0.8);
    }
}

/* Mobile Top Right Instagram */
@media (max-width: 768px) {
    .top-right-instagram {
        top: 70px;
        right: 15px;
    }
    
    .top-ig-icon {
        width: 40px;
        height: 40px;
    }
    
    .top-ig-icon i {
        font-size: 1.2rem;
    }
    
    .top-ig-icon .ig-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .top-right-instagram {
        top: 60px;
        right: 10px;
    }
    
    .top-ig-icon {
        width: 35px;
        height: 35px;
    }
    
    .top-ig-icon i {
        font-size: 1rem;
    }
    
    .top-ig-icon .ig-text {
        font-size: 0.8rem;
    }
}
@media (max-width: 768px) {
    .social-icons {
        bottom: 15px;
        left: 15px;
        gap: 8px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .social-icons {
        bottom: 10px;
        left: 10px;
        gap: 6px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .social-icon i {
        font-size: 1rem;
    }
}

/* Theme Selector */
.theme-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.theme-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 120px;
}

.theme-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.theme-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.theme-btn.active {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Romantic Theme */
body.romantic-theme {
    --primary-color: #e91e63;
    --secondary-color: #880e4f;
    --accent-color: #fce4ec;
    --text-dark: #4a148c;
    --text-light: #ad1457;
    --background: linear-gradient(135deg, #ffe0ec 0%, #f8bbd9 25%, #e91e63 50%, #880e4f 75%, #4a148c 100%);
    --card-shadow: 0 10px 30px rgba(233, 30, 99, 0.2);
    --hover-shadow: 0 15px 40px rgba(233, 30, 99, 0.3);
}

/* Black & White Theme */
body.bw-theme {
    --primary-color: #212121;
    --secondary-color: #000000;
    --accent-color: #f5f5f5;
    --text-dark: #000000;
    --text-light: #424242;
    --background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 25%, #9e9e9e 50%, #616161 75%, #212121 100%);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Golden Theme */
body.golden-theme {
    --primary-color: #ffd700;
    --secondary-color: #b8860b;
    --accent-color: #fff8dc;
    --text-dark: #8b6914;
    --text-light: #daa520;
    --background: linear-gradient(135deg, #fff8dc 0%, #ffd700 25%, #ffb347 50%, #b8860b 75%, #8b6914 100%);
    --card-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    --hover-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

/* Ocean Theme */
body.ocean-theme {
    --primary-color: #006994;
    --secondary-color: #003f5c;
    --accent-color: #e0f7fa;
    --text-dark: #003f5c;
    --text-light: #006994;
    --background: linear-gradient(135deg, #e0f7fa 0%, #80deea 25%, #00acc1 50%, #006994 75%, #003f5c 100%);
    --card-shadow: 0 10px 30px rgba(0, 105, 148, 0.2);
    --hover-shadow: 0 15px 40px rgba(0, 105, 148, 0.3);
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--background);
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Falling Petals */
#petals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.petal {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #667eea, #764ba2, #6c63ff);
    border-radius: 0 100% 0 100%;
    opacity: 0.6;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    margin: 40px 0;
    backdrop-filter: blur(10px);
    box-shadow: var(--card-shadow);
}

.hero-text h2 {
    font-family: 'Cookie', cursive;
    font-weight: 400;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Countdown Timer */
.countdown-section {
    text-align: center;
    padding: 60px 20px;
    margin: 40px 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    backdrop-filter: blur(20px);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.countdown-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.countdown-title {
    font-family: 'Sacramento', cursive;
    font-weight: 400;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: titlePulse 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes titlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    margin-bottom: 30px;
    flex-wrap: nowrap;
    position: relative;
    z-index: 2;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 15px 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: fit-content;
    margin: 0 auto 30px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 15px 12px;
    min-width: 70px;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 4px 20px rgba(108, 99, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    text-align: center;
}

.countdown-number {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 2.2rem;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    display: block;
    margin-bottom: 4px;
    transition: all 0.3s ease;
    letter-spacing: 2px;
}

.countdown-label {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 0.7rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
}

.countdown-separator {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 2rem;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    margin: 0 5px;
    animation: separatorPulse 1s ease-in-out infinite;
}

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

.countdown-item:hover .countdown-label {
    transform: scale(1.05);
    color: white;
    letter-spacing: 1px;
}

.countdown-message {
    font-size: 1.2rem;
    color: white;
    margin-top: 20px;
    font-style: italic;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    animation: messageFloat 3s ease-in-out infinite;
}

@keyframes messageFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Confetti Animation */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ffd700;
    position: fixed;
    animation: confettiFall 3s linear;
    z-index: 9999;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Floating Hearts */
.heart {
    position: absolute;
    color: rgba(255, 105, 180, 0.8);
    font-size: 20px;
    animation: heartFloat 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes heartFloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Sparkle Effect */
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: sparkle 2s linear infinite;
    pointer-events: none;
    z-index: 3;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Engagement & Wedding Sections */
.engagement-section,
.wedding-section {
    margin: 40px 0;
    padding: 0 20px;
}

.section-content {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.section-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.section-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer 4s infinite;
}

.section-title {
    font-family: 'Parisienne', cursive;
    font-weight: 400;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.section-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    min-width: 120px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.05);
}

.info-item i {
    font-size: 1.5rem;
    color: white;
    opacity: 0.9;
}

.info-item span {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.section-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Mobile Responsive for Sections */
@media (max-width: 768px) {
    .countdown-timer {
        gap: 4px;
        padding: 10px 12px;
        width: calc(100vw - 30px);
        max-width: 100%;
        margin: 0 auto 30px;
        overflow: hidden;
        justify-content: center;
        flex-wrap: nowrap;
    }
    
    .countdown-item {
        flex: 1 1 0;
        min-width: 0;
        padding: 10px 6px;
        flex-shrink: 1;
    }
    
    .countdown-number {
        font-family: 'Kalam', sans-serif;
        font-size: clamp(1.2rem, 5vw, 1.7rem);
    }
    
    .countdown-label {
        font-family: 'Kalam', sans-serif;
        font-size: clamp(0.45rem, 2.6vw, 0.65rem);
    }
    
    .countdown-separator {
        font-family: 'Kalam', sans-serif;
        font-size: clamp(1.1rem, 4.5vw, 1.6rem);
        margin: 0 2px;
    }
}

@media (max-width: 480px) {
    .countdown-timer {
        gap: 2px;
        padding: 8px 8px;
        width: calc(100vw - 20px);
        max-width: 100%;
        overflow: hidden;
    }
    
    .countdown-item {
        flex: 1 1 0;
        min-width: 0;
        padding: 8px 4px;
    }
    
    .countdown-number {
        font-family: 'Kalam', sans-serif;
        font-size: clamp(1.05rem, 5.2vw, 1.45rem);
    }
    
    .countdown-label {
        font-family: 'Kalam', sans-serif;
        font-size: clamp(0.42rem, 2.7vw, 0.58rem);
        letter-spacing: 0.4px;
        white-space: nowrap;
        line-height: 1.1;
    }

    .countdown-separator {
        font-family: 'Kalam', sans-serif;
        font-size: clamp(1rem, 4.5vw, 1.4rem);
        margin: 0 1px;
    }

    .engagement-section,
    .wedding-section {
        margin: 20px 0;
        padding: 0 10px;
    }
    
    .section-content {
        padding: 25px 15px;
    }
    
    .section-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .section-info {
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }
    
    .info-item {
        padding: 10px 15px;
        min-width: 200px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
    }
    
    .info-item i {
        font-size: 1rem;
        min-width: 20px;
    }
    
    .info-item span {
        font-size: 0.85rem;
        text-align: left;
    }
    
    .section-description {
        font-size: 0.9rem;
    }
}
.header {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.9), rgba(74, 71, 163, 0.9));
    color: white;
    backdrop-filter: blur(10px);
}

/* Romantic Theme Header */
body.romantic-theme .header {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.9), rgba(136, 14, 79, 0.9));
}

/* Black & White Theme Header */
body.bw-theme .header {
    background: linear-gradient(135deg, rgba(33, 33, 33, 0.9), rgba(0, 0, 0, 0.9));
}

/* Golden Theme Header */
body.golden-theme .header {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(184, 134, 11, 0.9));
}

/* Ocean Theme Header */
body.ocean-theme .header {
    background: linear-gradient(135deg, rgba(0, 105, 148, 0.9), rgba(0, 63, 92, 0.9));
}

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

.title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 25px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.music-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(108, 99, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 1000;
}

.music-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 
        0 12px 40px rgba(108, 99, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.music-toggle span {
    display: none;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Single Image */
.session-single {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.single-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    max-width: 400px;
}

.single-image:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

.single-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.single-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    text-align: center;
}

.single-date {
    font-family: 'Kalam', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 8px;
}

.single-caption {
    font-family: 'Parisienne', cursive;
    font-weight: 400;
    font-size: 1.1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
}

/* Mobile Single Image */
@media (max-width: 768px) {
    .single-image {
        max-width: 350px;
        height: 250px;
    }
    
    .single-date {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
    
    .single-caption {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .single-image {
        max-width: 300px;
        height: 200px;
    }
    
    .single-date {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
    
    .single-caption {
        font-size: 0.9rem;
    }
}

/* Image Session Section */
.image-session {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    border-radius: 20px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.session-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.session-title {
    font-family: 'Parisienne', cursive;
    font-weight: 400;
    font-size: 2rem;
    color: white;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: titlePulse 2s ease-in-out infinite;
}

.session-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.session-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.session-image:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.session-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.session-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 10px;
    text-align: center;
}

.session-date {
    font-family: 'Kalam', sans-serif;
    font-weight: 300;
    font-size: 0.8rem;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 10px;
    display: inline-block;
}

.session-description {
    font-family: 'Kalam', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Mobile Image Session */
@media (max-width: 768px) {
    .session-gallery {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .session-image {
        height: 180px;
    }
    
    .session-date {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
    
    .session-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .session-gallery {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .session-image {
        height: 150px;
    }
    
    .session-date {
        font-size: 0.6rem;
        padding: 2px 4px;
    }
    
    .session-description {
        font-size: 0.8rem;
    }
}

/* Couple Section */
.couple-section {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 30px 0;
}

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

.couple-image {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.couple-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.couple-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 20px;
    text-align: center;
}

.couple-text h2 {
    font-family: 'Great Vibes', cursive;
    font-weight: 300;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.couple-text p {
    font-family: 'Dancing Script', cursive;
    font-weight: 400;
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin: 0;
    color: white;
}

/* Card Description */
.card-description {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.card-description p {
    font-family: 'Kalam', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* Card Features */
.card-features {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
}

.feature-item i {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.feature-item span {
    font-family: 'Kalam', sans-serif;
    font-weight: 300;
    font-size: 0.7rem;
    white-space: nowrap;
}

/* Gallery Section */

/* Music Player */
.music-player {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 320px;
    max-height: 450px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transform: translateY(120%);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.music-player.active {
    transform: translateY(0);
}

.player-header {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(78, 205, 196, 0.2));
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-header h3 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#close-player {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

#close-player:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.player-controls {
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

#play-pause-btn {
    background: var(--primary-color);
    font-size: 1.4rem;
    min-width: 45px;
    height: 45px;
}

#play-pause-btn:hover {
    background: var(--secondary-color);
}

.progress-container {
    padding: 10px 15px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 20px;
    border-radius: 2px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    width: 0%;
    transition: width 0.1s linear;
}

.time-display {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
}

.playlist-container {
    max-height: 300px;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.playlist-header {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1;
}

.playlist-header h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.search-box {
    width: 100%;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    font-size: 0.85rem;
    outline: none;
}

.search-box::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-box:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.playlist {
    max-height: 250px;
    overflow-y: auto;
}

.playlist-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.playlist-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.playlist-item.active {
    background: rgba(255, 255, 255, 0.15);
    border-left: 3px solid #ff6b6b;
}

.song-number {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 25px;
}

.song-details {
    flex: 1;
    margin-left: 15px;
}

.song-name {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.song-artist-name {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

.song-duration {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Mobile Couple Section */
@media (max-width: 768px) {
    .couple-section {
        padding: 60px 15px;
    }
    
    .couple-image {
        height: 400px;
        border-radius: 15px;
    }
    
    .couple-text h2 {
        font-size: 2rem;
    }
    
    .couple-text p {
        font-size: 1rem;
    }
    
    .couple-overlay {
        padding: 30px 15px 15px;
    }
    
    .footer {
        padding: 25px 15px;
    }
    
    .footer p {
        font-size: 0.9rem;
    }
    
    .floating-music-icon {
        bottom: 15px;
        right: 15px;
    }
    
    .floating-music-btn {
        padding: 12px;
        font-size: 1rem;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .couple-section {
        padding: 40px 10px;
    }
    
    .couple-image {
        height: 300px;
        border-radius: 10px;
    }
    
    .couple-text h2 {
        font-size: 1.5rem;
    }
    
    .couple-text p {
        font-size: 0.9rem;
    }
    
    .couple-overlay {
        padding: 20px 10px 10px;
    }
    
    .footer {
        padding: 25px 15px;
    }
    
    .footer p {
        font-size: 0.9rem;
    }
    
    .floating-music-icon {
        bottom: 10px;
        right: 10px;
    }
    
    .floating-music-btn {
        padding: 10px;
        font-size: 0.9rem;
        width: 35px;
        height: 35px;
    }
}

.music-instructions {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 15px 0;
}

.music-instructions h4 {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.music-instructions ol {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    margin: 0;
    padding-left: 20px;
}

.music-instructions li {
    margin-bottom: 5px;
    line-height: 1.4;
}

.music-instructions code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #4ecdc4;
}

/* Scrollbar Styling */
.playlist::-webkit-scrollbar {
    width: 6px;
}

.playlist::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.playlist::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.playlist::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Music Toggle */
.gallery-section {
    margin: 60px 0;
}

.gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Dancing+Script:wght@400;700&family=Great+Vibes:wght@300;400&family=Pacifico&family=Caveat:wght@400;700&family=Allura&family=Kaushan+Script&family=Sacramento&family=Parisienne&family=Bad+Script&family=Clicker+Script&family=Cookie&family=Kalam:wght@300;400&display=swap');

.gallery-header {
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.gallery-header h2 {
    font-family: 'Allura', cursive;
    font-weight: 400;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid var(--primary-color);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out;
}

.card-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.card-item.hidden {
    display: none;
}

.card-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-item:hover .card-overlay {
    opacity: 1;
}

.download-btn,
.view-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.download-btn::before,
.view-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.download-btn:hover::before,
.view-btn:hover::before {
    left: 100%;
}

.download-btn:hover,
.view-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.download-btn:active,
.view-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.view-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.view-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

.card-info {
    padding: 20px;
}

.header-title {
    font-family: 'Parisienne', cursive;
    font-weight: 400;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.card-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: 5% auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    background: rgba(0, 0, 0, 0.8);
}

#modal-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

.modal-actions {
    padding: 20px;
    text-align: center;
    background: white;
}

.modal-actions .download-btn {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.9), rgba(139, 90, 60, 0.9));
    color: white;
    border: 2px solid rgba(212, 165, 116, 0.3);
    padding: 14px 32px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(212, 165, 116, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.modal-actions .download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.modal-actions .download-btn:hover::before {
    left: 100%;
}

.modal-actions .download-btn:hover {
    background: linear-gradient(135deg, rgba(212, 165, 116, 1), rgba(139, 90, 60, 1));
    border-color: rgba(212, 165, 116, 0.5);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 12px 40px rgba(212, 165, 116, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.modal-actions .download-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    background: rgba(108, 99, 255, 0.9);
    color: white;
    margin-top: 80px;
    position: relative;
    z-index: 5;
}

.footer p {
    font-family: 'Kalam', sans-serif;
    font-weight: 300;
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

/* Floating Music Icon */
.floating-music-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-music-btn {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    border: none;
    color: white;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

.floating-music-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #ff5252, #3db8b3);
}

.floating-music-btn i {
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Romantic Theme Footer */
body.romantic-theme .footer {
    background: rgba(233, 30, 99, 0.9);
}

/* Black & White Theme Footer */
body.bw-theme .footer {
    background: rgba(33, 33, 33, 0.9);
}

/* Golden Theme Footer */
body.golden-theme .footer {
    background: rgba(255, 215, 0, 0.9);
}

/* Ocean Theme Footer */
body.ocean-theme .footer {
    background: rgba(0, 105, 148, 0.9);
}

.footer i {
    color: #ff6b6b;
}

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

@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);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .gallery-header h2 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .music-toggle {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.1rem;
    }
    
    .theme-selector {
        top: 15px;
        right: 15px;
    }
    
    .theme-toggle-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .theme-dropdown {
        top: 55px;
        right: 0;
        min-width: 110px;
        padding: 12px;
    }
    
    .theme-btn {
        font-size: 1.1rem;
        padding: 8px;
        min-height: 35px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .card-image {
        height: 250px;
    }
    
    .countdown-section {
        padding: 40px 15px;
        margin: 20px 0;
    }
    
    .countdown-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .countdown-timer {
        gap: 10px;
        padding: 0 5px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 15px 10px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.5rem;
    }
    
    .hero {
        padding: 40px 15px;
        margin: 20px 0;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .gallery-header {
        margin-bottom: 25px;
    }
    
    .gallery-header h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .filter-buttons {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
        border-radius: 15px;
    }
    
    .header {
        padding: 40px 15px 30px;
    }
    
    .music-toggle {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .theme-selector {
        top: 10px;
        right: 10px;
    }
    
    .theme-toggle-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .theme-dropdown {
        top: 50px;
        right: 0;
        min-width: 100px;
        padding: 10px;
    }
    
    .theme-btn {
        font-size: 1rem;
        padding: 6px;
        min-height: 30px;
    }
    
    .footer {
        padding: 25px 15px;
        font-size: 0.9rem;
    }
}

/* Mobile Touch Interactions */
@media (max-width: 768px) {
    .countdown-item {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
    }
    
    .countdown-section {
        padding: 30px 15px;
        margin: 20px 0;
    }
    
    .countdown-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .countdown-timer {
        gap: 3px;
        padding: 8px 10px;
        max-width: 100%;
        margin: 0 auto 20px;
        overflow-x: auto;
        justify-content: center;
        flex-wrap: nowrap;
    }
    
    .countdown-item {
        min-width: 45px;
        padding: 10px 6px;
        flex-shrink: 0;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.5rem;
    }
    
    .countdown-separator {
        font-size: 1.5rem;
        margin: 0 2px;
    }
}

@media (max-width: 480px) {
    .countdown-section {
        padding: 25px 10px;
        margin: 15px 0;
    }
    
    .countdown-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .countdown-timer {
        gap: 2px;
        padding: 6px 8px;
        max-width: 100%;
        margin: 0 auto 15px;
        overflow-x: auto;
        justify-content: center;
        flex-wrap: nowrap;
    }
    
    .countdown-item {
        min-width: 40px;
        padding: 8px 4px;
        flex-shrink: 0;
    }
    
    .countdown-number {
        font-size: 1.3rem;
    }
    
    .countdown-label {
        font-size: 0.45rem;
    }
    
    .countdown-separator {
        font-size: 1.3rem;
        margin: 0 1px;
    }
}

@media (max-width: 360px) {
    .countdown-timer {
        gap: 1px;
        padding: 5px 6px;
    }
    
    .countdown-item {
        min-width: 35px;
        padding: 6px 3px;
    }
    
    .countdown-number {
        font-size: 1.1rem;
    }
    
    .countdown-label {
        font-size: 0.4rem;
    }
    
    .countdown-separator {
        font-size: 1.1rem;
        margin: 0 1px;
    }
}

@media (max-width: 768px) {
    .countdown-item:active {
        transform: translateY(-5px) scale(1.05);
        background: rgba(255, 255, 255, 0.35);
        box-shadow: 
            0 12px 40px rgba(108, 99, 255, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    
    .card-item {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
    }
    
    .card-item:active {
        transform: translateY(-5px) scale(1.02);
        box-shadow: var(--hover-shadow);
    }
    
    .download-btn,
    .view-btn {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
        transition: all 0.2s ease;
    }
    
    .download-btn:active,
    .view-btn:active {
        transform: translateY(-1px) scale(1.05);
        background: rgba(255, 255, 255, 0.25);
    }
    
    .theme-toggle-btn {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
    }
    
    .theme-toggle-btn:active {
        transform: translateY(-1px) scale(1.05);
        background: rgba(255, 255, 255, 0.3);
    }
    
    .theme-btn {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
    }
    
    .theme-btn:active {
        transform: translateY(-1px) scale(1.05);
        background: rgba(255, 255, 255, 0.35);
    }
    
    .music-toggle {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
    }
    
    .music-toggle:active {
        transform: translateY(-1px) scale(1.05);
        background: rgba(255, 255, 255, 0.3);
    }
    
    .filter-btn {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
    }
    
    .filter-btn:active {
        transform: translateY(-1px) scale(1.05);
    }
}

/* Mobile Swipe Gestures */
@media (max-width: 768px) {
    .countdown-section {
        touch-action: pan-y;
        user-select: none;
        -webkit-user-select: none;
    }
    
    .gallery-grid {
        touch-action: pan-y;
    }
    
    .card-item {
        touch-action: manipulation;
    }
}

/* Mobile Optimizations */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .main-content {
        padding: 0 15px;
    }
    
    /* Reduce animations on mobile for better performance */
    .petal {
        animation-duration: 15s;
    }
    
    .sparkle {
        animation-duration: 1.5s;
    }
    
    .heart {
        animation-duration: 3s;
    }
    
    /* Optimize backdrop filters for mobile */
    .countdown-section,
    .theme-dropdown,
    .theme-toggle-btn,
    .music-toggle {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* Mobile Landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .countdown-section {
        padding: 30px 15px;
    }
    
    .countdown-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .countdown-item {
        padding: 10px 8px;
        min-width: 70px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .header {
        padding: 30px 15px 20px;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 30px 15px;
        margin: 15px 0;
    }
}
