:root {
    --rsvp-bg: rgba(255,255,255,0.05);
    --rsvp-text: #ffffff;
    --input-bg: rgba(255,255,255,0.1);
    --input-border: rgba(255,255,255,0.2);
    --input-text: #ffffff;
    --input-placeholder: rgba(255,255,255,0.6);
    --meadow-green: #4d8a5c;
    --meadow-dark: #305f3f;
    --meadow-light: #92bc78;
    --meadow-bg: #f6fbef;
    --meadow-surface: #ffffff;
    --meadow-text: #24402c;
    --meadow-muted: #55705b;
    --meadow-gold: #b5884c;
    --meadow-sky: #7ab8d4;
    --border-meadow: rgba(79,121,72,0.3);
}
/* Theme 19 - Spirited Meadow (Studio Ghibli Inspired) */

@import url('https://fonts.googleapis.com/css2?family=Klee+One:wght@400;600&family=Noto+Sans+JP:wght@300;400;700&display=swap');



body.theme-ghibli {
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--meadow-bg);
    color: var(--meadow-text);
    overflow-x: hidden;
}

#ghibli-elements {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

/* ========== COVER ========== */
body.theme-ghibli .cover-page {
    background: linear-gradient(160deg, #2f5d47 0%, #5a915a 40%, #7fad72 70%, #a9c98a 100%);
}

body.theme-ghibli .cover-page::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200'%3E%3Cpath d='M0 200 Q300 80 600 150 Q900 220 1200 100 L1200 200Z' fill='rgba(246,251,239,0.3)'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}

.scroll-meadow {
    background: rgba(255,255,255,0.92);
    border: 2px solid rgba(79,138,92,0.4);
    border-radius: 20px;
    padding: 50px 36px;
    text-align: center;
    max-width: 460px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(48,95,63,0.3), 0 2px 0 rgba(255,255,255,0.8) inset;
    backdrop-filter: blur(8px);
}

.scroll-meadow::before, .scroll-meadow::after {
    content: '';
    position: absolute;
    width: 50px; height: 50px;
    border: 2px solid var(--meadow-green);
    opacity: 0.5;
}
.scroll-meadow::before { top: 12px; left: 12px; border-right: none; border-bottom: none; border-radius: 8px 0 0 0; }
.scroll-meadow::after { bottom: 12px; right: 12px; border-left: none; border-top: none; border-radius: 0 0 8px 0; }

.meadow-label {
    color: var(--meadow-dark);
    font-family: 'Klee One', cursive;
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.top-deco {
    font-size: 28px;
    margin-bottom: 12px;
    display: block;
    animation: floatLeaf 3s ease-in-out infinite;
}

@keyframes floatLeaf {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
}

body.theme-ghibli .cover-title {
    font-family: 'Klee One', cursive;
    font-size: 44px;
    color: var(--meadow-dark);
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
    margin: 6px 0;
}

body.theme-ghibli .cover-and {
    font-size: 24px;
    margin: 6px 0;
    animation: floatLeaf 2.5s ease-in-out infinite 0.5s;
}

body.theme-ghibli .cover-subtitle {
    color: var(--meadow-muted);
    font-size: 13px;
    line-height: 1.9;
    margin: 20px 0;
}

body.theme-ghibli .cover-guest {
    background: linear-gradient(90deg, transparent, rgba(79,138,92,0.15), transparent);
    padding: 12px;
    border-radius: 10px;
    margin: 16px 0;
}
body.theme-ghibli .cover-guest-label { color: var(--meadow-green); font-size: 11px; letter-spacing: 3px; }
body.theme-ghibli .cover-guest-name { font-family: 'Klee One', cursive; font-size: 20px; color: var(--meadow-dark); }

/* ========== BUTTON ========== */
.btn-meadow {
    background: linear-gradient(135deg, var(--meadow-green), var(--meadow-dark));
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 13px 30px;
    font-family: 'Klee One', cursive;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(77,138,92,0.4);
}
.btn-meadow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(77,138,92,0.5);
}

/* ========== HERO ========== */
.hero-meadow {
    background: linear-gradient(180deg, #2f5d47 0%, #4a7a5a 45%, #6d9e6a 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-meadow::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 120px;
    background: linear-gradient(transparent, var(--meadow-bg));
}

body.theme-ghibli .hero-label { color: rgba(255,255,255,0.9); letter-spacing: 6px; font-size: 14px; }
body.theme-ghibli .hero-names { font-family: 'Klee One', cursive; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
body.theme-ghibli .hero-and { color: rgba(255,255,255,0.8); }
body.theme-ghibli .hero-date { color: rgba(255,255,255,0.85); letter-spacing: 4px; }
body.theme-ghibli .scroll-indicator { color: rgba(255,255,255,0.8); z-index: 1; }

/* ========== SECTION TITLES ========== */
.title-meadow {
    font-family: 'Klee One', cursive;
    color: var(--meadow-dark);
    font-size: 2.2rem;
}

body.theme-ghibli .section-title::after {
    background: linear-gradient(90deg, transparent, var(--meadow-green), transparent);
}

/* ========== CARD ========== */
.card-meadow {
    background: var(--meadow-surface);
    border: 1px solid var(--border-meadow);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 6px 20px rgba(48,95,63,0.1);
    transition: all 0.3s ease;
}
.card-meadow:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(48,95,63,0.2); }

/* ========== COUPLE ========== */
.couple-meadow { background: var(--meadow-bg); }
body.theme-ghibli .couple-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; max-width: 900px; margin: 0 auto; }

.frame-meadow {
    width: 180px; height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 4px solid var(--meadow-green);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(77,138,92,0.3);
}
.frame-meadow .couple-photo { width: 100%; height: 100%; object-fit: cover; }

.role-meadow { color: var(--meadow-green); letter-spacing: 2px; font-size: 12px; text-transform: uppercase; }
.name-meadow { font-family: 'Klee One', cursive; font-size: 1.7rem; color: var(--meadow-dark); }
body.theme-ghibli .couple-child { color: var(--meadow-muted); line-height: 1.8; font-size: 13px; }
body.theme-ghibli .couple-social a {
    background: var(--meadow-green); color: #fff; border-radius: 50%;
    width: 40px; height: 40px; display: flex; justify-content: center; align-items: center;
    text-decoration: none; transition: all 0.3s;
}

/* ========== COUNTDOWN ========== */
.countdown-meadow { background: linear-gradient(180deg, #4d8a5c 0%, #305f3f 100%); color: #fff; }
.countdown-meadow .title-meadow { color: #fff; }
body.theme-ghibli .countdown-item.card-meadow { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }
body.theme-ghibli .countdown-number { font-family: 'Klee One', cursive; color: #fff; font-size: 3rem; }
body.theme-ghibli .countdown-label { color: rgba(255,255,255,0.8); }

/* ========== EVENT ========== */
.event-meadow { background: var(--meadow-surface); }
body.theme-ghibli .event-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--meadow-green), var(--meadow-dark));
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 28px; color: #fff; margin: 0 auto 20px;
}
body.theme-ghibli .event-title { font-family: 'Klee One', cursive; color: var(--meadow-dark); }
body.theme-ghibli .event-date { color: var(--meadow-green); font-weight: 600; }
body.theme-ghibli .event-time, body.theme-ghibli .event-location { color: var(--meadow-muted); }

/* ========== GALLERY ========== */
.gallery-meadow { background: var(--meadow-bg); }
body.theme-ghibli .gallery-item { border: 2px solid var(--border-meadow); }
body.theme-ghibli .gallery-item:hover { box-shadow: 0 0 20px rgba(77,138,92,0.3); }

.gallery-view-all-meadow {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    background: rgba(77,138,92,0.08);
    border: 2px dashed var(--meadow-green);
    border-radius: 16px;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--meadow-green);
    font-size: 14px;
    gap: 10px;
    min-height: 150px;
}
.gallery-view-all-meadow:hover { background: rgba(77,138,92,0.15); }
.gallery-view-all-meadow i { font-size: 2rem; }

/* ========== RSVP ========== */
.rsvp-meadow { background: var(--meadow-surface); }
body.theme-ghibli .rsvp-form { background: rgba(246,251,239,0.8); border: 1px solid var(--border-meadow); }
body.theme-ghibli .form-group label { color: var(--meadow-dark); }
body.theme-ghibli .form-group input,
body.theme-ghibli .form-group textarea {
    background: #fff;
    border-color: var(--border-meadow);
    color: var(--meadow-text);
}
body.theme-ghibli .form-group input:focus,
body.theme-ghibli .form-group textarea:focus {
    border-color: var(--meadow-green);
    box-shadow: 0 0 10px rgba(77,138,92,0.2);
    outline: none;
}
body.theme-ghibli .helper-text { color: var(--meadow-muted); font-size: 12px; }
body.theme-ghibli .comment-name { color: var(--meadow-dark); font-weight: 600; }
body.theme-ghibli .comment-attendance { color: var(--meadow-green); font-size: 12px; }
body.theme-ghibli .comment-message { color: var(--meadow-text); }
body.theme-ghibli .comment-date { color: var(--meadow-muted); font-size: 11px; }

/* ========== GIFT ========== */
.gift-meadow { background: var(--meadow-bg); }
body.theme-ghibli .gift-title { font-family: 'Klee One', cursive; }

/* ========== FOOTER ========== */
.footer-meadow { background: linear-gradient(180deg, var(--meadow-dark) 0%, #1e3d28 100%); color: #fff; text-align: center; padding: 60px 20px; }
.footer-meadow .footer-thanks { font-family: 'Klee One', cursive; color: var(--meadow-light); letter-spacing: 3px; font-size: 14px; }
.footer-meadow .footer-names { font-family: 'Klee One', cursive; font-size: 2rem; color: #fff; margin: 12px 0; }
.footer-meadow .footer-wa-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--meadow-green); color: #fff;
    padding: 10px 20px; border-radius: 30px;
    text-decoration: none; margin-top: 10px;
    transition: all 0.3s;
}
.footer-meadow .footer-copyright { color: rgba(255,255,255,0.6); font-size: 11px; margin-top: 20px; }

/* ========== GHIBLI ELEMENTS CONTAINER ========== */
#ghibli-elements {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

/* ========== MUSIC BTN ========== */
body.theme-ghibli .music-btn { background: var(--meadow-green); color: #fff; border: none; border-radius: 50%; }
body.theme-ghibli .lightbox-close { background: none; border: 2px solid rgba(255,255,255,0.5); color: #fff; border-radius: 50%; }
body.theme-ghibli .scroll-indicator { color: rgba(255,255,255,0.8); }

@media (max-width: 600px) {
    body.theme-ghibli .cover-title { font-size: 34px; }
    body.theme-ghibli .hero-names { font-size: 2rem; }
}


@media (max-width: 768px) {
    .couple-container, .event-container { gap: 20px !important; }
    .hero-names { font-size: 2.5rem !important; }
}