* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #0f0c1b;
    background: linear-gradient(135deg, #0f0c1b 0%, #1a102f 50%, #2d0b31 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    color: #e2e8f0;
    padding: 20px 0;
}

.page {
    width: 90%;
    max-width: 600px;
    background: rgba(20, 16, 35, 0.85);
    border: 1px solid rgba(255, 105, 180, 0.25);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(214, 51, 132, 0.15);
    text-align: center;
    transition: all 0.5s ease;
    position: relative;
    z-index: 10;
}

/* Page 1 Styles */
#page1 h1 {
    font-size: 3.5rem;
    color: #ff69b4;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(255, 105, 180, 0.6), 0 0 30px rgba(255, 105, 180, 0.3);
    letter-spacing: 2px;
}

#page1 p {
    font-size: 1.2rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 30px;
}

.next-btn {
    background: linear-gradient(135deg, #d63384, #8a2be2);
    color: white;
    border: none;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(214, 51, 132, 0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}

.next-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(214, 51, 132, 0.8);
}

/* Page 2 Styles */
#page2 {
    display: none;
}

.main-heading {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ff69b4;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.7), 0 0 20px rgba(138, 43, 226, 0.5);
}

/* Photo Slider Styles */
.slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 10px 5px 20px 5px;
    margin-bottom: 20px;
}

.slider-container::-webkit-scrollbar {
    height: 6px;
}

.slider-container::-webkit-scrollbar-thumb {
    background: #ff69b4;
    border-radius: 10px;
}

.slide-img {
    flex: 0 0 160px;
    height: 200px;
    scroll-snap-align: center;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #ff69b4;
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.3);
}

.slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    text-align: left;
    font-size: 1rem;
    color: #f1f5f9;
    margin-bottom: 25px;
    line-height: 1.7;
    background: rgba(255, 105, 180, 0.08);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid #ff69b4;
    box-shadow: inset 0 0 10px rgba(255, 105, 180, 0.05);
}

.gift-btn {
    font-size: 3.2rem;
    cursor: pointer;
    display: inline-block;
    animation: bounce 1.5s infinite;
    filter: drop-shadow(0 0 10px rgba(255, 105, 180, 0.5));
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.modal-content {
    background: #18122b;
    border: 1px solid rgba(255, 105, 180, 0.3);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    max-width: 340px;
    box-shadow: 0 0 30px rgba(214, 51, 132, 0.3);
    animation: popIn 0.3s ease;
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.modal-content h3 {
    color: #ff69b4;
    margin-top: 5px;
}

.teddy {
    font-size: 4rem;
    margin-bottom: 10px;
}

.close-btn {
    margin-top: 18px;
    background: linear-gradient(135deg, #d63384, #8a2be2);
    color: white;
    border: none;
    padding: 9px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(214, 51, 132, 0.4);
}

/* Balloon Shower CSS */
.balloon {
    position: fixed;
    bottom: -100px;
    font-size: 2.5rem;
    z-index: 50;
    pointer-events: none;
    animation: floatUp 4s linear forwards;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-120vh) rotate(360deg);
        opacity: 0;
    }
}