/* =========================================
   05 Moon & Stars (Baby Shower)
   ========================================= */

:root {
    --night-dark: #0F172A;
    --night-blue: #1E293B;
    --star-gold: #FCD34D;
    --star-yellow: #FDE68A;
    --white: #FFFFFF;
    
    --font-heading: 'Amatic SC', cursive;
    --font-body: 'Nunito', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--night-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.moon-wrapper {
    position: relative;
    width: 100%;
}

/* Stars Background */
.stars {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--night-dark);
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 130px 80px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 160px 120px, #ddd, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    z-index: 0;
}
.twinkling {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: transparent;
    z-index: 1;
    animation: twinkle 5s infinite alternate;
}
@keyframes twinkle {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Hero Section */
.moon-hero {
    position: relative;
    z-index: 2;
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px 100px;
    background: radial-gradient(circle at top right, var(--night-blue) 0%, transparent 70%);
}

.hero-content {
    max-width: 600px;
}

.moon-icon {
    font-size: 6rem;
    color: var(--star-gold);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(252, 211, 77, 0.4));
    animation: swing 4s ease-in-out infinite alternate;
    transform-origin: top center;
}
@keyframes swing {
    0% { transform: rotate(-5deg); }
    100% { transform: rotate(5deg); }
}

.moon-eyebrow {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 5px;
    color: var(--star-yellow);
    margin-bottom: 10px;
}

.names {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.tagline {
    font-size: 1.1rem;
    font-weight: 300;
    color: #CBD5E1;
}

/* Clouds Bottom */
.clouds-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
}

/* Details Section */
.moon-details {
    position: relative;
    z-index: 5;
    padding: 80px 5%;
    background-color: var(--white);
}

.details-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.moon-card {
    flex: 1;
    min-width: 280px;
    background-color: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.moon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 3rem;
    color: var(--star-gold);
    margin-bottom: 15px;
}

.moon-card h2 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #64748B;
    margin-bottom: 10px;
}

.highlight {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--night-blue);
    margin-bottom: 5px;
}

.btn-moon {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    border: 2px solid var(--star-gold);
    color: var(--star-gold);
    text-decoration: none;
    font-weight: 600;
    border-radius: 25px;
    margin-top: 15px;
    transition: all 0.3s ease;
}
.btn-moon:hover {
    background-color: var(--star-gold);
    color: var(--night-dark);
}

/* RSVP Section */
.moon-rsvp {
    position: relative;
    z-index: 5;
    padding: 80px 5% 100px;
    background-color: var(--white);
    display: flex;
    justify-content: center;
}

.rsvp-content {
    background-color: var(--night-dark);
    padding: 50px 40px;
    border-radius: 30px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
    position: relative;
    overflow: hidden;
}
.rsvp-content::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 100px; height: 100px;
    background: radial-gradient(circle, var(--star-yellow) 0%, transparent 70%);
    opacity: 0.2;
}

.rsvp-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--star-gold);
    margin-bottom: 15px;
}
.rsvp-content p {
    font-weight: 300;
    margin-bottom: 30px;
    color: #CBD5E1;
}

.moon-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.moon-form input,
.moon-form select {
    padding: 15px;
    background-color: var(--night-blue);
    border: 1px solid #334155;
    border-radius: 10px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}
.moon-form input:focus,
.moon-form select:focus {
    border-color: var(--star-gold);
}

.btn-moon-solid {
    padding: 15px;
    background-color: var(--star-gold);
    color: var(--night-dark);
    border: none;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}
.btn-moon-solid:hover {
    background-color: var(--star-yellow);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(252, 211, 77, 0.3);
}

.form-message {
    margin-top: 15px;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--star-gold);
}

.moon-footer {
    position: relative;
    z-index: 5;
    background-color: var(--white);
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: #94A3B8;
}
.moon-footer a {
    color: var(--night-blue);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 600px) {
    .names { font-size: 4rem; }
}
