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

:root {
    --pink: #ff6b9d;
    --blue: #4fc3f7;
    --gold: #ffd700;
    --white: #ffffff;
    --cream: #fff8f0;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: linear-gradient(135deg, #fce4ec 0%, #e3f2fd 100%);
    overflow-x: hidden;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #a18cd1 100%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 20px;
}

.balloon-group {
    display: flex;
    gap: 60px;
    justify-content: center;
    margin-bottom: 40px;
}

.balloon {
    width: 90px;
    height: 110px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    animation: float 3s ease-in-out infinite;
    box-shadow: inset -10px -10px 20px rgba(0, 0, 0, 0.1),
                inset 10px 10px 20px rgba(255, 255, 255, 0.4),
                0 15px 30px rgba(0, 0, 0, 0.2);
}

.balloon.pink {
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa7c4 50%, #ff6b9d 100%);
    animation-delay: 0s;
}

.balloon.pink::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 20px;
    width: 25px;
    height: 25px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 50%;
}

.balloon.blue {
    background: linear-gradient(135deg, #4fc3f7 0%, #81d4fa 50%, #4fc3f7 100%);
    animation-delay: 0.5s;
}

.balloon.blue::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 20px;
    width: 25px;
    height: 25px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 50%;
}

.balloon::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid inherit;
}

.balloon.pink::after {
    border-top-color: #ff6b9d;
}

.balloon.blue::after {
    border-top-color: #4fc3f7;
}

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

.hero-title {
    font-family: 'Pacifico', cursive;
    font-size: clamp(3rem, 10vw, 6rem);
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--white);
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.reveal-btn {
    background: linear-gradient(135deg, var(--pink), var(--blue));
    color: var(--white);
    border: none;
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.reveal-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.reveal-result {
    margin-top: 40px;
    font-size: 3rem;
    font-weight: 700;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.reveal-result.show {
    opacity: 1;
    transform: scale(1);
}

/* CONFETTI */
.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--pink);
    animation: confetti-fall 3s linear forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* SECTIONS */
.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.page.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.section-header {
    text-align: center;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Pacifico', cursive;
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    color: var(--pink);
    margin-bottom: 6px;
    font-weight: 600;
}

.title-ornament {
    font-size: 1.2rem;
    margin-top: 5px;
}

.section-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 8px;
    font-weight: 300;
}

/* DETAILS SECTION */
.details-section {
    background: var(--cream);
}

.details-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.detail-card {
    background: var(--white);
    padding: 12px 10px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 107, 157, 0.1);
}

.detail-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--pink);
}

.detail-icon {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.detail-title {
    font-size: 0.95rem;
    color: var(--blue);
    margin-bottom: 5px;
    font-weight: 600;
}

.detail-info {
    font-size: 0.8rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 2px;
}

.detail-subinfo {
    font-size: 0.7rem;
    color: var(--text-light);
}

/* COUNTDOWN SECTION */
.countdown-section {
    background: linear-gradient(135deg, #ffb6d9 0%, #b3e5fc 100%);
    color: var(--text-dark);
}

.countdown-section .section-title {
    color: var(--pink);
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
}

.countdown-display {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    max-width: 480px;
    margin: 0 auto 15px;
}

.countdown-item {
    text-align: center;
    background: var(--white);
    padding: 8px 4px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid rgba(255, 107, 157, 0.1);
}

.countdown-item::before {
    content: '👶';
    font-size: 1.1rem;
    display: block;
    margin-bottom: 4px;
}

.countdown-item:nth-child(1)::before { content: '🍼'; }
.countdown-item:nth-child(2)::before { content: '👶'; }
.countdown-item:nth-child(3)::before { content: '🎀'; }
.countdown-item:nth-child(4)::before { content: '💕'; }

.countdown-number {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pink), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 3px;
}

.countdown-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
    color: var(--text-light);
}

.countdown-footer {
    text-align: center;
    max-width: 480px;
    margin: 15px auto 0;
}

.countdown-text {
    font-size: 0.75rem;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-dark);
}

/* QUOTE SECTION */
.quote-section {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.quote-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 40px;
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--pink);
    line-height: 0.5;
    opacity: 0.3;
}

.quote-text {
    font-size: clamp(1rem, 3vw, 1.3rem);
    font-weight: 300;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 20px 0;
}

.quote-hearts {
    font-size: 1.5rem;
    margin-top: 20px;
}

/* RSVP SECTION */
.rsvp-section {
    background: var(--white);
}

.rsvp-form {
    max-width: 550px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.form-group {
    flex: 1;
}

.form-group.full-width {
    width: 100%;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-size: 0.8rem;
}

.radio-label-main {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.8rem;
}

input[type="text"],
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--pink);
}

textarea {
    resize: vertical;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.3s;
}

.radio-option:hover {
    background: #f8f9fa;
    border-color: var(--pink);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--pink);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--pink);
    border-radius: 50%;
}

.radio-text {
    font-size: 0.85rem;
    color: var(--text-dark);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--pink), var(--blue));
    color: var(--white);
    border: none;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    margin-top: 10px;
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* NAVIGATION DOTS */
.page-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--pink);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.nav-dot:nth-child(even) {
    border-color: var(--blue);
}

.nav-dot:hover {
    transform: scale(1.3);
}

.nav-dot.active {
    transform: scale(1.3);
}

.nav-dot:nth-child(odd).active {
    background: var(--pink);
    border-color: var(--pink);
}

.nav-dot:nth-child(even).active {
    background: var(--blue);
    border-color: var(--blue);
}

/* MUSIC BUTTON */
.music-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--blue));
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: transform 0.3s;
}

.music-btn:hover {
    transform: scale(1.1);
}

.music-icon {
    width: 30px;
    height: 30px;
    stroke: white;
}

.music-btn.playing .music-icon {
    animation: pulse 1s infinite;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .page-nav {
        right: 15px;
    }
    
    .music-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .balloon-group {
        gap: 30px;
    }
    
    .balloon {
        width: 70px;
        height: 85px;
    }
    
    .quote-content {
        padding: 0 20px;
    }
    
    .countdown-display {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        max-width: 90%;
    }
    
    .countdown-item {
        padding: 6px 3px;
    }
    
    .countdown-item::before {
        font-size: 1rem;
        margin-bottom: 2px;
    }
    
    .countdown-number {
        font-size: 1.1rem;
    }
    
    .countdown-label {
        font-size: 0.5rem;
    }
}
