        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Georgia', serif;
            background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
            color: #5a4a42;
            overflow-x: hidden;
        }

        .hero-section {
            height: auto; 
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 100px 20px;
            position: relative;
            background: linear-gradient(135deg, rgba(255, 236, 210, 0.9) 0%, rgba(252, 182, 159, 0.9) 100%);
            min-height: 100vh; /* Changed from height to min-height */
    
        }

        .hero-section::before {
            content: '♥';
            position: absolute;
            top: 15%;
            left: 50%;
            transform: translateX(-50%);
            font-size: 80px;
            color: rgba(255, 255, 255, 0.5);
            animation: heartbeat 2s ease-in-out infinite;
        }

        .hero-section::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
            pointer-events: none;
            animation: shimmer 8s ease-in-out infinite;
        }

        @keyframes shimmer {
            0%, 100% { opacity: 0.3; }
            50% { opacity: 0.6; }
        }

        @keyframes heartbeat {
            0%, 100% { transform: translateX(-50%) scale(1); }
            50% { transform: translateX(-50%) scale(1.15); }
        }

        h1 {
            font-size: clamp(2.5rem, 8vw, 5rem);
            color: #8b4c3e;
            margin-bottom: 20px;
            text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.15);
            letter-spacing: 3px;
            z-index: 1;
            white-space: normal;
            overflow: visible;
            line-height: 1.3;
            word-wrap: break-word;
        }

        h1 .letter {
            display: inline-block;
            opacity: 0;
            animation: fadeInLetter 0.1s ease-in forwards;
        }

        @keyframes fadeInLetter {
            to {
                opacity: 1;
            }
        }

        h1 .cursor {
            display: inline-block;
            width: 3px;
            height: 1em;
            background-color: #8b4c3e;
            margin-left: 4px;
            animation: blink 0.7s step-end infinite;
            vertical-align: text-bottom;
        }

        h1 .cursor.hide {
            animation: none;
            opacity: 0;
        }

        @keyframes blink {
            50% { opacity: 0; }
        }

        .subtitle {
            font-size: clamp(1.1rem, 3vw, 1.6rem);
            color: #a0756f;
            font-style: italic;
            margin-bottom: 40px;
            z-index: 1;
            opacity: 0;
        }

        .subtitle.show {
            animation: fadeInUp 1s ease-out forwards;
        }

        .days-counter {
            display: block;
            font-size: clamp(0.85rem, 2vw, 1.1rem);
            margin-top: 8px;
            color: #b08880;
            opacity: 0;
        }

        .days-counter.show {
            animation: fadeInUp 1s ease-out 0.3s forwards;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .scroll-indicator {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            animation: bounce 2s infinite;
            cursor: pointer;
            z-index: 1;
            transition: all 0.3s ease;
        }

        .scroll-indicator:hover {
            transform: translateX(-50%) scale(1.2);
        }

        .scroll-indicator::after {
            content: '↓';
            font-size: 2.5rem;
            color: #8b4c3e;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
        }

        @keyframes bounce {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(15px); }
        }

        .gallery-section {
            min-height: 100vh;
            padding: clamp(40px, 8vw, 80px) 20px;
            background: linear-gradient(135deg, #fef5f1 0%, #fdeee8 100%);
            position: relative;
        }

        .gallery-title {
            text-align: center;
            font-size: clamp(2rem, 5vw, 3.5rem);
            color: #8b4c3e;
            margin-bottom: clamp(40px, 6vw, 70px);
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
            animation: fadeIn 1s ease-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .gallery-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .gallery-item {
            margin-bottom: clamp(50px, 8vw, 80px);
            background: rgb(242, 146, 229);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(139, 76, 62, 0.15);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid rgba(139, 76, 62, 0.1);
            position: relative;
        }

        .gallery-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
            pointer-events: none;
            z-index: 1;
        }

        .gallery-item:hover {
            transform: translateY(-10px) scale(1.01); 
            box-shadow: 0 20px 50px rgba(139, 76, 62, 0.25);
        }

        .gallery-item:hover::before {
            opacity: 0.2; 
        }

        .gallery-image {
            width: 100%;
            aspect-ratio: 16 / 10;
            background: linear-gradient(135deg, #e8d5d0 0%, #d4b5ae 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            position: relative;
        }

        .gallery-image::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
            pointer-events: none;
        }

        .gallery-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .gallery-item:hover .gallery-image img {
            transform: scale(1.04);
        }

        .gallery-image .placeholder {
            font-size: clamp(1rem, 2vw, 1.3rem);
            color: white;
            text-align: center;
            padding: 20px;
            z-index: 1;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .gallery-caption {
            padding: clamp(20px, 4vw, 30px) clamp(20px, 4vw, 35px) clamp(25px, 5vw, 40px);
            line-height: 1.8;
            font-size: clamp(0.95rem, 2vw, 1.1rem);
            color: #5a4a42;
            text-align: justify;
            background: linear-gradient(to bottom, white 0%, rgba(254, 249, 246, 0.5) 100%);
        }

        .footer {
            text-align: center;
            padding: clamp(30px, 5vw, 50px) 20px;
            background: linear-gradient(135deg, #fc8e91 0%, #f9c1e7 100%);
            color: white;
            font-size: clamp(1rem, 2vw, 1.2rem);
            position: relative;
            overflow: hidden;
        }

        .footer::before {
            content: '♥';
            display: block;
            font-size: clamp(1.8rem, 4vw, 2.5rem);
            margin-bottom: 15px;
            animation: heartPulse 2s ease-in-out infinite;
        }

        @keyframes heartPulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        .footer::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: rotate 20s linear infinite;
        }

        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .upload-hint {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(139, 76, 62, 0.9);
            color: white;
            padding: 12px 24px;
            border-radius: 30px;
            font-size: 0.9rem;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            z-index: 2;
            white-space: nowrap;
        }

        .gallery-image:hover .upload-hint {
            opacity: 1;
        }

        @media (max-width: 768px) {
            .hero-section::before {
                font-size: 50px;
                top: 12%;
            }

            .gallery-image {
                aspect-ratio: 4 / 3;
            }

            .gallery-caption {
                text-align: left;
            }

            h1 {
                letter-spacing: 1px;
            }
        }

        @media (max-width: 480px) {
            .gallery-container {
                padding: 0 10px;
            }

            .gallery-item {
                border-radius: 15px;
            }
        }

        @media (min-width: 1400px) {
            .gallery-container {
                max-width: 1000px;
            }
        }

        h1 span {
            display: inline-block;
            vertical-align: middle;
        }

        .hero-section::before {
            z-index: 0; 
        }

        @media (max-width: 480px) {
            .hero-section {
                padding: 40px 10px !important;
        }

        h1 {
            font-size: 1.7rem !important; 
            letter-spacing: 0px !important; 
            line-height: 1.1 !important;
            white-space: normal !important;
            word-break: keep-all !important;
            display: block !important;
            width: 100% !important;
        }

        h1 .letter {
            display: inline !important; 
        }

        .subtitle {
            font-size: 1.1rem !important;
            padding: 0 10px;
        }
        }