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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Landing Page */
.landing-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.landing-page.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.landing-content {
    text-align: center;
    padding: 40px;
    animation: fadeInUp 0.8s ease;
}

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

.landing-title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

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

.landing-subtitle {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.reveal-button {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    padding: 20px 50px;
    font-size: 1.5rem;
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 auto;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.reveal-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;
}

.reveal-button:hover::before {
    width: 300px;
    height: 300px;
}

.reveal-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.reveal-button:active {
    transform: translateY(-2px) scale(1.02);
}

.button-emoji {
    font-size: 2rem;
    animation: bounce 1s ease-in-out infinite;
}

#mainContent {
    animation: fadeIn 0.8s ease;
}

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

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.confetti {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.confetti::before,
.confetti::after {
    content: '🎉';
    position: absolute;
    font-size: 30px;
    animation: float 3s ease-in-out infinite;
}

.confetti::before {
    left: 20%;
    animation-delay: 0s;
}

.confetti::after {
    right: 20%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.birthday-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: bounce 1s ease-in-out;
}

.birthday-subtitle {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.balloons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.balloon {
    font-size: 3rem;
    animation: floatBalloon 3s ease-in-out infinite;
}

.balloon1 {
    animation-delay: 0s;
}

.balloon2 {
    animation-delay: 1s;
}

.balloon3 {
    animation-delay: 2s;
}

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

/* Gallery Section */
.gallery-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
    aspect-ratio: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.photo-item:hover img {
    transform: scale(1.1);
}

/* Message Section */
.message-section {
    margin-bottom: 40px;
}

.message-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.message-text {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px;
    color: #fff;
    font-size: 1rem;
}

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

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

.lightbox-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    object-fit: contain;
    margin-top: 50px;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
    }
    to {
        transform: scale(1);
    }
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-lightbox:hover {
    color: #fff;
}

.prev-photo,
.next-photo {
    position: absolute;
    top: 50%;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 16px;
    user-select: none;
    transition: color 0.3s;
}

.prev-photo {
    left: 20px;
}

.next-photo {
    right: 20px;
}

.prev-photo:hover,
.next-photo:hover {
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .landing-title {
        font-size: 2.5rem;
    }

    .landing-subtitle {
        font-size: 1.2rem;
    }

    .reveal-button {
        padding: 18px 40px;
        font-size: 1.2rem;
    }

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

    .birthday-subtitle {
        font-size: 1rem;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        padding: 10px;
    }

    .message-card {
        padding: 25px 20px;
    }

    .message-text {
        font-size: 1rem;
    }

    .balloons {
        gap: 15px;
    }

    .balloon {
        font-size: 2rem;
    }

    .lightbox-content {
        width: 95%;
        margin-top: 30px;
    }

    .close-lightbox {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }

    .prev-photo,
    .next-photo {
        font-size: 30px;
        padding: 10px;
    }

    .prev-photo {
        left: 10px;
    }

    .next-photo {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .landing-title {
        font-size: 2rem;
    }

    .landing-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .reveal-button {
        padding: 15px 30px;
        font-size: 1rem;
        flex-direction: column;
        gap: 10px;
    }

    .hero {
        padding: 40px 15px;
    }

    .birthday-title {
        font-size: 1.5rem;
    }

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

    .gallery {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

