/* ============================================================
   Should I Get Another Dog? — site styles
   Neobrutalist redesign imported from Claude Design.
   Most layout lives as inline styles in templates/content.html.twig;
   this file holds the base reset, fonts, keyframes, and the few
   stateful classes the vanilla JS in public/js/app.js toggles.
   ============================================================ */

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #FFF6E9;
    font-family: 'Nunito', system-ui, sans-serif;
    color: #2B2118;
}

a {
    color: inherit;
}

/* ---- Keyframes ---- */
@keyframes floaty {
    0%, 100% {
        transform: translateY(0) rotate(var(--r, 0deg));
    }
    50% {
        transform: translateY(-18px) rotate(var(--r, 0deg));
    }
}

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

@keyframes pop {
    0% {
        transform: scale(.5) rotate(-8deg);
        opacity: 0;
    }
    70% {
        transform: scale(1.08) rotate(2deg);
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

@keyframes confettiFall {
    0% {
        transform: translateY(-30px) rotate(0);
        opacity: 1;
    }
    100% {
        transform: translateY(360px) rotate(560deg);
        opacity: 0;
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ---- Marquee ---- */
.dc-marquee {
    animation: marquee 22s linear infinite;
}

/* ---- Hero answer toggle pills ---- */
.dc-pill {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 19px;
    padding: 11px 30px;
    border: 3px solid var(--ink, #2B2118);
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 4px 4px 0 var(--ink, #2B2118);
    background: #fff;
    color: #2B2118;
}

.dc-pill.is-active {
    background: var(--accent, #FF6B4A);
    color: #fff;
}

/* ---- Quiz option buttons (created by JS) ---- */
.dc-quiz-option {
    text-align: left;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 17px;
    background: #fff;
    color: var(--ink, #2B2118);
    border: 3px solid var(--ink, #2B2118);
    border-radius: 16px;
    box-shadow: 4px 4px 0 var(--ink, #2B2118);
    padding: 15px 18px;
    cursor: pointer;
}

.dc-quiz-option:hover {
    background: var(--accent, #FF6B4A);
    color: #fff;
}

/* ---- FAQ accordion ---- */
.dc-faq-answer {
    display: none;
}

.dc-faq-item.is-open .dc-faq-answer {
    display: block;
}

/* ---- Confetti pieces (created by JS) ---- */
.dc-confetti-piece {
    position: absolute;
    top: 0;
    width: 11px;
    height: 14px;
    border: 2px solid var(--ink, #2B2118);
    border-radius: 2px;
    animation-name: confettiFall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* ---- Utility ---- */
.dc-hidden {
    display: none !important;
}

/* ---- Generated breed copy (intro/care/faq) ---- */
.dc-prose {
    font-weight: 600;
    font-size: 17px;
    line-height: 1.7;
    color: #3a3128;
}

.dc-prose p {
    margin: 0 0 16px;
}

.dc-prose h3 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 21px;
    color: #2B2118;
    margin: 22px 0 6px;
}

.dc-prose ul {
    margin: 0 0 16px;
    padding-left: 22px;
}

.dc-prose li {
    margin: 0 0 8px;
}

.dc-prose strong {
    color: #2B2118;
}
