:root {
    --rsvp-bg: #ffffff;
    --rsvp-text: var(--toon-dark);
    --input-bg: #f9f9f9;
    --input-border: rgba(0,0,0,0.15);
    --input-text: var(--toon-dark);
    --input-placeholder: rgba(0,0,0,0.4);
    --cover-bg: var(--toon-bg);
    --hero-bg: var(--toon-bg);
    --toon-yellow: #fdd835;
    --toon-blue: #039be5;
    --toon-red: #e53935;
    --toon-white: #ffffff;
    --toon-dark: #212121;
    --toon-bg: #e1f5fe;
}
body.theme-toon {
    font-family: 'Comic Neue', cursive;
    background-color: var(--toon-bg);
    color: var(--toon-dark);
}

.bg-toon-pattern {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><circle cx="20" cy="20" r="15" fill="%23b3e5fc" opacity="0.5"/></svg>');
}

.theme-toon h1, .theme-toon h2, .theme-toon h3, .theme-toon .cover-title, .cover-title {
    font-family: 'Chewy', cursive;
    font-size: 60px;
    color: var(--toon-red);
    text-shadow: 2px 2px 0 var(--toon-white), 4px 4px 0 var(--toon-dark);
    letter-spacing: 2px;
}

.cover-label, .cover-subtitle, .cover-guest-label, .cover-guest-name {
    color: var(--toon-dark) !important;
}

.scroll-toon {
    background: var(--toon-white);
    border: 8px solid var(--toon-blue);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 10px 10px 0 var(--toon-dark);
    max-width: 450px;
    margin: 0 auto;
    position: relative;
}

.btn-toon {
    background: var(--toon-yellow);
    color: var(--toon-dark);
    border: 4px solid var(--toon-dark);
    padding: 15px 30px;
    font-family: 'Chewy', cursive;
    font-size: 24px;
    cursor: pointer;
    border-radius: 30px;
    transition: transform 0.1s;
    box-shadow: 5px 5px 0 var(--toon-dark);
}

.btn-toon:hover {
    transform: scale(1.1);
    background: var(--toon-blue);
    color: var(--toon-white);
}

.btn-toon:active {
    transform: scale(0.9) translate(5px, 5px);
    box-shadow: 0 0 0 var(--toon-dark);
}

.card-toon, .container-toon {
    background: var(--toon-white);
    border: 4px solid var(--toon-dark);
    box-shadow: 8px 8px 0 var(--toon-blue);
    border-radius: 20px;
    padding: 20px;
    position: relative;
}

.card-toon::before {
    content: '💥';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 40px;
    transform: rotate(15deg);
    z-index: 10;
}

.toon-photo-frame {
    width: 150px;
    height: 150px;
    border: 6px solid var(--toon-yellow);
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 5px 5px 0 var(--toon-dark);
    background: var(--toon-bg);
}

.toon-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.toon-star {
    position: absolute;
    bottom: -10px;
    right: 0;
    font-size: 30px;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.name-toon {
    font-size: 2rem;
    color: var(--toon-blue) !important;
    text-shadow: 2px 2px 0 var(--toon-dark) !important;
}

.role-toon {
    background: var(--toon-red);
    color: var(--toon-white);
    border: 2px solid var(--toon-dark);
    border-radius: 10px;
    padding: 5px 15px;
    font-family: 'Chewy', cursive;
    display: inline-block;
    transform: rotate(-5deg);
}

/* Chase Animation */
#toon-animation-container {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.toon-chase {
    position: absolute;
    display: flex;
    gap: 50px;
    font-size: 50px;
    left: -200px;
    top: 50px;
    animation: chase 10s linear infinite;
}

.toon-chase .toon-tom, .toon-chase .toon-jerry {
    filter: drop-shadow(2px 2px 0 var(--toon-dark));
}

@keyframes chase {
    0% { transform: translateX(0); }
    45% { transform: translateX(120vw); }
    50% { transform: translateX(120vw) scaleX(-1); }
    95% { transform: translateX(0) scaleX(-1); }
    100% { transform: translateX(0); }
}

/* Custom inputs */
.theme-toon .form-group input, .theme-toon .form-group textarea {
    background: var(--toon-bg);
    border: 3px solid var(--toon-dark);
    border-radius: 10px;
    font-family: 'Comic Neue', cursive;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
}

.theme-toon .form-group input:focus, .theme-toon .form-group textarea:focus {
    outline: none;
    border-color: var(--toon-red);
    box-shadow: 4px 4px 0 var(--toon-yellow);
}

.footer-toon {
    background: var(--toon-dark);
    color: var(--toon-white);
    border-top: 5px dashed var(--toon-yellow);
}
}

@media (max-width: 600px) {
    /* Gallery grid removed for Swiper */
}


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

.cover-label, .cover-subtitle, .cover-guest-label, .cover-guest-name { color: var(--rsvp-text) !important; }