/* ============================================
   MIDNIGHT LUXE - Premium Romantic Theme
   Deep Navy Gradients & Gold Accents
   ============================================ */

/* ============================================
   CSS Variables - Luxury Color Palette
   ============================================ */
:root {
    /* Gradient Backgrounds */
    --bg-radial-gradient: radial-gradient(circle at 50% 50%, #112240 0%, #020c1b 100%);
    --bg-deep-navy: #112240;
    --bg-void-blue: #020c1b;
    
    /* Gold & Champagne Accents */
    --gold-primary: #FFD700;
    --gold-champagne: #C5A059;
    --gold-light: #FFF4CC;
    --gold-gradient: linear-gradient(135deg, #FFD700 0%, #C5A059 100%);
    
    /* Glassmorphism */
    --glass-bg: rgba(17, 34, 64, 0.7);
    --glass-border: rgba(255, 215, 0, 0.2);
    
    /* Text Colors */
    --text-primary: #e6f1ff;
    --text-secondary: #8892b0;
    --text-gold: #FFD700;
    
    /* Letter Paper */
    --letter-paper: #fffaf0;
    --letter-text: #2c1810;
    
    /* Shadows & Glows */
    --gold-glow: 0 0 20px rgba(255, 215, 0, 0.4),
                 0 0 40px rgba(255, 215, 0, 0.2),
                 0 0 60px rgba(255, 215, 0, 0.1);
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    --lift-shadow: 0 20px 60px rgba(255, 215, 0, 0.3),
                   0 10px 30px rgba(0, 0, 0, 0.6);
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 120px 20px;
    --container-max-width: 1200px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   CSS Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-radial-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Luxury Background Overlay Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(197, 160, 89, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(17, 34, 64, 0.3) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    padding-bottom: 20px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--gold-gradient);
    border-radius: 2px;
    box-shadow: var(--gold-glow);
}

/* ============================================
   NAVBAR - Frosted Glass Luxury
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--gold-primary);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(17, 34, 64, 0.95);
    border-bottom-color: var(--gold-champagne);
    box-shadow: 0 8px 40px rgba(255, 215, 0, 0.2);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 10px 20px;
    border-radius: 8px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--text-gold);
    background: rgba(255, 215, 0, 0.05);
}

.nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-link i {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
}

/* ============================================
   HERO SECTION - Luxury Landing
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px 60px;
    background: 
        radial-gradient(ellipse at top, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(197, 160, 89, 0.1) 0%, transparent 50%),
        var(--bg-radial-gradient);
    background-attachment: fixed;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 1000px;
    position: relative;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 60px rgba(255, 215, 0, 0.4);
    animation: fadeInDown 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Counter - Premium Design */
.counter-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 60px 0;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.counter-box {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 35px 40px;
    border-radius: 20px;
    min-width: 150px;
    border: 2px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.counter-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gold-gradient);
    border-radius: 20px;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.counter-box:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--gold-primary);
    box-shadow: var(--lift-shadow);
}

.counter-box:hover::before {
    opacity: 0.3;
}

.counter-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
}

.counter-label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: var(--text-primary);
    font-style: italic;
    opacity: 0.95;
    font-weight: 300;
    margin-top: 40px;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2.5s infinite;
}

.scroll-indicator i {
    font-size: 2.5rem;
    color: var(--gold-primary);
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
}

/* ============================================
   VIDEO SECTION - Gold Glow Premium
   ============================================ */
.video-section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.video-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 0 60px rgba(255, 215, 0, 0.3),
        var(--card-shadow);
    border: 3px solid var(--glass-border);
    transition: var(--transition-smooth);
    /* Ensure proper aspect ratio container */
    aspect-ratio: 16 / 9;
}

.video-wrapper:hover {
    transform: scale(1.02);
    box-shadow: var(--gold-glow), var(--card-shadow);
    border-color: var(--gold-primary);
}

#youtube-player {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    background: var(--bg-deep-navy);
}

/* YouTube iframe - ensure it fills container */
#youtube-player iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.video-cover-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    pointer-events: all;
    z-index: 10;
}

.video-wrapper.playing .video-cover-layer {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

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

.video-overlay-blue {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 12, 27, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    backdrop-filter: blur(3px);
}

/* LUXURY PLAY BUTTON - Jewelry Style */
.play-button-blue {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gold-gradient);
    border: 4px solid var(--gold-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
    box-shadow: 
        0 0 40px rgba(255, 215, 0, 0.6),
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 -5px 20px rgba(0, 0, 0, 0.3);
    animation: pulseGold 2s infinite;
    position: relative;
    z-index: 3;
}

.play-button-blue::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.3);
    animation: pulseRing 2s infinite;
}

.play-button-blue:hover {
    transform: scale(1.15);
    box-shadow: 
        0 0 60px rgba(255, 215, 0, 0.9),
        0 15px 50px rgba(0, 0, 0, 0.6);
    animation: none;
}

.play-button-blue i {
    font-size: 2.5rem;
    color: var(--bg-void-blue);
    margin-left: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Gold Pulse Animation */
@keyframes pulseGold {
    0%, 100% {
        box-shadow: 
            0 0 40px rgba(255, 215, 0, 0.6),
            0 10px 30px rgba(0, 0, 0, 0.4);
    }
    50% {
        box-shadow: 
            0 0 60px rgba(255, 215, 0, 0.9),
            0 10px 40px rgba(0, 0, 0, 0.5);
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* ============================================
   GALLERY SECTION - Luxury Photo Cards
   ============================================ */
.gallery-section {
    padding: var(--section-padding);
    background: 
        linear-gradient(180deg, transparent 0%, rgba(2, 12, 27, 0.5) 100%),
        var(--bg-radial-gradient);
    position: relative;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    transition: var(--transition-bounce);
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gold-gradient);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: var(--lift-shadow);
    border-color: var(--gold-primary);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(
        to top,
        rgba(2, 12, 27, 0.95) 0%,
        rgba(2, 12, 27, 0.7) 50%,
        transparent 100%
    );
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay p {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-gold);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.map-container {
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 0 40px rgba(255, 215, 0, 0.2),
        var(--card-shadow);
    border: 3px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.map-container:hover {
    border-color: var(--gold-champagne);
    box-shadow: 
        0 0 60px rgba(255, 215, 0, 0.3),
        var(--card-shadow);
}

/* Leaflet Popup Customization */
.leaflet-popup-content-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    color: var(--text-primary);
    border-radius: 15px;
    border: 2px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    padding: 10px;
}

.leaflet-popup-content-wrapper h3 {
    color: var(--text-gold) !important;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.leaflet-popup-tip {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
}

/* ============================================
   LOVE LETTER SECTION - Premium Paper
   ============================================ */
.letter-section {
    padding: var(--section-padding);
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 60%),
        var(--bg-radial-gradient);
    position: relative;
    z-index: 1;
}

.letter-paper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--letter-paper);
    padding: 80px 60px;
    border-radius: 8px;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(255, 215, 0, 0.2),
        inset 0 0 100px rgba(197, 160, 89, 0.1);
    transform: rotate(-0.5deg);
    transition: var(--transition-bounce);
    position: relative;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

/* Luxury Paper Texture */
.letter-paper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            transparent,
            transparent 29px,
            rgba(197, 160, 89, 0.15) 30px
        );
    pointer-events: none;
    border-radius: 8px;
}

.letter-paper::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gold-gradient);
    border-radius: 8px;
    opacity: 0;
    z-index: -1;
    transition: var(--transition-smooth);
    filter: blur(20px);
}

.letter-paper:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(255, 215, 0, 0.4);
}

.letter-paper:hover::after {
    opacity: 0.3;
}

.letter-content {
    position: relative;
    z-index: 2;
}

.letter-greeting {
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
    font-size: 2.2rem;
    color: var(--letter-text);
    margin-bottom: 40px;
    font-weight: 400;
}

.letter-text {
    font-family: 'Georgia', 'Courier New', serif;
    font-size: 1.1rem;
    color: var(--letter-text);
    line-height: 2;
    margin-bottom: 25px;
    text-align: justify;
    text-indent: 40px;
}

.letter-signature {
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
    font-size: 1.5rem;
    color: var(--letter-text);
    margin-top: 50px;
    text-align: right;
    font-weight: 400;
}

.signature-name {
    font-size: 2.2rem;
    display: block;
    margin-top: 15px;
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.letter-decoration {
    position: absolute;
    bottom: 30px;
    right: 40px;
    font-size: 3rem;
    color: #d4342e;
    opacity: 0.2;
    transform: rotate(-15deg);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: rgba(2, 12, 27, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid var(--gold-champagne);
    position: relative;
    z-index: 1;
}

.footer p {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.footer i {
    color: #d4342e;
    animation: heartbeat 1.5s infinite;
    filter: drop-shadow(0 0 10px rgba(212, 52, 46, 0.6));
}

/* ============================================
   HEART CLICK ANIMATION
   ============================================ */
#heartContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
}

.floating-heart {
    position: absolute;
    font-size: 2.5rem;
    color: var(--gold-primary);
    pointer-events: none;
    animation: floatUpGold 2.5s ease-out forwards;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
}

@keyframes floatUpGold {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: translateY(-250px) scale(1.8) rotate(360deg);
    }
}

/* ============================================
   CORE ANIMATIONS
   ============================================ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-30px);
    }
    60% {
        transform: translateX(-50%) translateY(-15px);
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.15);
    }
}

/* ============================================
   RESPONSIVE DESIGN - Mobile First
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 20px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 15px;
    }
    
    .hero-title {
        font-size: 3rem;
        letter-spacing: 2px;
    }
    
    .section-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link {
        padding: 10px 15px;
    }
    
    .counter-container {
        gap: 15px;
    }
    
    .counter-box {
        padding: 25px 30px;
        min-width: 100px;
    }
    
    .counter-value {
        font-size: 2.5rem;
    }
    
    .counter-label {
        font-size: 0.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .letter-paper {
        padding: 50px 30px;
        transform: rotate(0deg);
    }
    
    .letter-greeting {
        font-size: 1.8rem;
    }
    
    .letter-text {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .map-container {
        height: 450px;
    }
    
    /* Mobile Video Fixes */
    .video-wrapper {
        border-radius: 15px;
        border-width: 2px;
        /* Disable hover transform on mobile */
        transform: none !important;
    }
    
    .video-section {
        padding: 60px 10px;
    }
    
    #youtube-player {
        border-radius: 15px;
    }
    
    .play-button-blue {
        width: 100px;
        height: 100px;
        /* Ensure button is tappable on mobile */
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .play-button-blue i {
        font-size: 2rem;
    }
    
    /* Ensure cover layer is clickable on mobile */
    .video-cover-layer {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .nav-brand {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }
    
    .nav-container {
        padding: 15px 20px;
    }
    
    .counter-box {
        padding: 20px 25px;
        min-width: 85px;
    }
    
    .counter-value {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    /* Smaller screens video optimization */
    .video-wrapper {
        border-radius: 12px;
        margin: 0 5px;
    }
    
    .play-button-blue {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }
    
    .play-button-blue i {
        font-size: 1.6rem;
        margin-left: 5px;
    }
    
    /* Ensure poster image scales properly */
    .video-poster {
        object-fit: cover;
        object-position: center;
    }
    
    .letter-paper {
        padding: 40px 20px;
    }
    
    .letter-greeting {
        font-size: 1.5rem;
    }
    
    .letter-text {
        font-size: 0.95rem;
    }
    
    .signature-name {
        font-size: 1.8rem;
    }
}

/* ============================================
   ACCESSIBILITY & PERFORMANCE
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles for Keyboard Navigation */
a:focus,
button:focus,
.nav-link:focus {
    outline: 3px solid var(--gold-primary);
    outline-offset: 4px;
    border-radius: 4px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #ffffff;
        --gold-primary: #FFFF00;
    }
}

/* Dark Mode Enhancement (if needed) */
@media (prefers-color-scheme: dark) {
    body {
        background: var(--bg-radial-gradient);
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-indicator,
    .footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section-title {
        color: black;
    }
}

/* ============================================
   CUSTOM SCROLLBAR - Luxury Gold
   ============================================ */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-void-blue);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-gradient);
    border-radius: 6px;
    border: 2px solid var(--bg-void-blue);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #FFF4CC 0%, #FFD700 100%);
    box-shadow: var(--gold-glow);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--gold-champagne) var(--bg-void-blue);
}

/* ============================================
   LUXURY PASSWORD LOGIN SCREEN
   ============================================ */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(197, 160, 89, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, #112240 0%, #020c1b 100%);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    overflow: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.login-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Blooming Flowers Animation */
.flower {
    position: absolute;
    font-size: 3rem;
    opacity: 0;
    animation: bloom 4s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
}

.flower-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.flower-2 {
    top: 20%;
    right: 15%;
    animation-delay: 0.5s;
}

.flower-3 {
    top: 60%;
    left: 8%;
    animation-delay: 1s;
}

.flower-4 {
    top: 70%;
    right: 12%;
    animation-delay: 1.5s;
}

.flower-5 {
    top: 40%;
    left: 5%;
    animation-delay: 2s;
}

.flower-6 {
    top: 15%;
    right: 8%;
    animation-delay: 2.5s;
}

.flower-7 {
    bottom: 15%;
    left: 15%;
    animation-delay: 3s;
}

.flower-8 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3.5s;
}

@keyframes bloom {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    20% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
    80% {
        opacity: 1;
        transform: scale(1.2) rotate(540deg);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(720deg);
    }
}

/* Login Card - Enlarged & Luxury */
.login-card {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 3px solid var(--glass-border);
    border-radius: 30px;
    padding: 60px 50px;
    max-width: 550px;
    width: 90%;
    box-shadow: 
        0 0 80px rgba(255, 215, 0, 0.3),
        0 30px 90px rgba(0, 0, 0, 0.7),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    animation: loginCardAppear 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.login-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gold-gradient);
    border-radius: 30px;
    opacity: 0.3;
    z-index: -1;
    filter: blur(20px);
    animation: pulseGoldBorder 3s ease-in-out infinite;
}

@keyframes loginCardAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pulseGoldBorder {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Login Header */
.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-icon {
    font-size: 4rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
    margin-bottom: 20px;
    animation: heartbeat 2s ease-in-out infinite;
}

.login-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.login-subtitle {
    font-size: 1.1rem;
    color: var(--text-primary);
    opacity: 0.8;
    font-style: italic;
    font-weight: 300;
}

/* Login Body */
.login-body {
    margin: 40px 0;
}

.login-form {
    width: 100%;
}

.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    color: var(--gold-champagne);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    z-index: 2;
}

.password-input {
    width: 100%;
    padding: 20px 20px 20px 60px;
    font-size: 1.2rem;
    font-family: var(--font-body);
    background: rgba(17, 34, 64, 0.6);
    border: 2px solid var(--glass-border);
    border-radius: 15px;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition-smooth);
    letter-spacing: 2px;
}

.password-input::placeholder {
    color: var(--text-secondary);
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.password-input:focus {
    border-color: var(--gold-primary);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.4),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
    background: rgba(17, 34, 64, 0.8);
}

.password-input.shake {
    animation: shake 0.5s ease;
}

/* Login Button - Luxury Style */
.login-button {
    width: 100%;
    padding: 20px;
    font-size: 1.3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--gold-gradient);
    border: none;
    border-radius: 15px;
    color: var(--bg-void-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: var(--transition-bounce);
    box-shadow: 
        0 0 40px rgba(255, 215, 0, 0.5),
        0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.login-button::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;
}

.login-button:hover::before {
    width: 400px;
    height: 400px;
}

.login-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 0 60px rgba(255, 215, 0, 0.8),
        0 15px 50px rgba(0, 0, 0, 0.5);
}

.login-button:active {
    transform: translateY(0) scale(0.98);
}

.button-text,
.button-icon {
    position: relative;
    z-index: 1;
}

.button-icon {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.login-button:hover .button-icon {
    transform: translateX(5px);
}

/* Hint & Error Messages */
.login-hint {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0.7;
}

.login-hint i {
    color: var(--gold-champagne);
}

.error-message {
    text-align: center;
    color: #ff6b6b;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: 10px;
    animation: shake 0.5s ease;
}

.error-message.show {
    display: flex;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Login Footer */
.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-text i {
    color: #d4342e;
    animation: heartbeat 1.5s ease-in-out infinite;
}

/* Mobile Responsive for Login */
@media (max-width: 768px) {
    .login-card {
        padding: 40px 30px;
        max-width: 450px;
    }
    
    .login-title {
        font-size: 1.6rem;
    }
    
    .login-icon {
        font-size: 3rem;
    }
    
    .password-input {
        padding: 18px 18px 18px 55px;
        font-size: 1.1rem;
    }
    
    .login-button {
        padding: 18px;
        font-size: 1.1rem;
    }
    
    .flower {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 35px 25px;
        border-radius: 20px;
    }
    
    .login-title {
        font-size: 1.4rem;
    }
    
    .login-subtitle {
        font-size: 1rem;
    }
    
    .login-icon {
        font-size: 2.5rem;
    }
    
    .password-input {
        padding: 16px 16px 16px 50px;
        font-size: 1rem;
    }
    
    .login-button {
        padding: 16px;
        font-size: 1rem;
    }
    
    .flower {
        font-size: 2rem;
    }
    
    .login-hint {
        font-size: 0.85rem;
    }
}

/* ============================================
   SELECTION HIGHLIGHT - Gold Theme
   ============================================ */
::selection {
    background: rgba(255, 215, 0, 0.3);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(255, 215, 0, 0.3);
    color: var(--text-primary);
}