
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Montserrat', sans-serif;
    background-image: url('assets/img/birthday-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    color: #8a1c4a;
    position: relative;
}


body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.45);
    z-index: -1;
}


.countdown-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 240, 245, 0.95);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    text-align: center;
}


.countdown-title {
    font-family: 'Dancing Script', cursive;
    font-size: 50px;
    margin-bottom: 40px;
    color: #d81b60;
}


.countdown-box {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}


.time-box {
    background: white;
    padding: 25px;
    border-radius: 20px;
    min-width: 120px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


.time-box span {
    font-size: 48px;
    font-weight: bold;
    color: #d81b60;
}


.time-box p {
    margin-top: 10px;
    color: #777;
}


/* Welcome Screen */
.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffd1dc, #ffb7c5);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99;
    transition: opacity 0.8s ease;
}


.welcome-message {
    font-family: 'Dancing Script', cursive;
    font-size: 60px;
    color: #d81b60;
    text-align: center;
    animation: float 3s ease-in-out infinite;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 2px;
}

/* Main Content */
.container {
    width: 100%;
    max-width: 900px;
    padding: 20px;
    margin-top: 50px;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}


.tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.6);
    color: #8a1c4a;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.25s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}


.tab:hover {
    background: #ffd1dc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);

}


.tab.active {
    background: #d81b60;
    color: white;
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(216, 27, 96, 0.25);
}


.tab.active:hover {
    transform: translateY(0);
}

.content-area {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: white;
    border-radius: 20px;
    padding: 30px;
    min-height: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}


.tab-content {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}


.tab-content h2 {
    margin-bottom: 15px;
}


.tab-content.active {
    display: block;
}


/* Letter Tab */
.letter {
    padding: 20px;
    background: #fff5f7;
    border-radius: 15px;
    border: 2px dashed #ffb7c5;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.letter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.letter h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 28px;
    color: #d81b60;
}

.letter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.letter.expanded .letter-content {
    max-height: 500px;
}


/* Music Tab */
.song {
    background: #f8e8ee;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}


.song-icon {
    font-size: 24px;
    color: #d81b60;
}


.song-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}


.song-info p {
    color: #888;
    font-size: 14px;
}

        
.song button {
    margin-right: 8px;
    margin-top: 8px;
    padding: 6px 12px;
    border: none;
    border-radius: 20px;
    background: #d81b60;
    color: white;
    cursor: pointer;
    font-size: 14px;
}


.song button:hover {
    background: #b71550;
}


.slideshow-container {
    width: 100%;

    max-width: 700px;

    margin: 30px auto;

    border-radius: 25px;

    overflow: hidden;

    box-shadow: 0 8px 25px rgba(0,0,0,0.15);

    position: relative;
}

.slideshow-container img {
    width: 100%;

    height: 500px;

    object-fit: cover;

    transition: opacity 1s ease-in-out;

    display: block;
}

        
/* Animations */
@keyframes bounceIn {
    0% { transform: scale(0.8); opacity: 0; }
    60% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}


@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}


@keyframes floatBackground {
    from {
        transform: rotate(-15deg) translateY(0);
    }

    to {
        transform: rotate(-15deg) translateY(-200px);
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .welcome-message {
        font-size: 36px;
    }
    
    .tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab {
        width: 100%;
        justify-content: center;
    }
    
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}