/* ===== ROOT VARIABLES ===== */
:root {
    --cream: #f6eedf;
    --orange: #ff8a3d;
    --yellow: #fbd25d;
    --pink: #ff9ecb;
    --brown: #222;
    --round: 22px;
}

/* ===== BASE STYLES ===== */
html, body {
    height: 100%;
}

body {
    margin: 0;
    background: var(--cream);
    font-family: 'DM Sans', sans-serif;
    color: var(--brown);
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    cursor: pointer;
}

.header .brand {
    font-family: 'Fredoka One';
    font-size: 32px;
    color: var(--orange);
}

.header nav a {
    color: var(--brown);
    font-weight: 600;
    text-decoration: none;
    font-size: 18px;
}

.container {
    max-width: 720px;
    margin: auto;
    padding: 30px;
    text-align: center;
    flex: 1;
}

h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 56px;
    margin-bottom: 10px;
}

p.sub {
    font-size: 18px;
    opacity: 0.75;
    margin-bottom: 30px;
}

/* ===== BREATHING BALL ===== */
.ball {
    width: 160px;
    height: 160px;
    margin: 40px auto;
    border-radius: 50%;
    background: radial-gradient(circle, var(--yellow), var(--orange));
    animation: breathe 4s ease-in-out infinite;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(255, 150, 50, 0.4);
}

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

/* ===== QUESTION CARDS ===== */
.card {
    background: white;
    padding: 30px;
    border-radius: var(--round);
    max-width: 600px;
    margin: 50px auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: none;
}

.card h2 {
    font-family: 'Fredoka One';
    margin-bottom: 20px;
}

/* ===== MULTI-SELECT CHOICES ===== */
.choice {
    background: var(--pink);
    margin: 12px 0;
    padding: 14px 18px;
    border-radius: var(--round);
    cursor: pointer;
    font-weight: 700;
    border: 3px solid transparent;
    transition: 0.2s;
}

.choice:hover {
    background: var(--orange);
    color: white;
}

.choice.selected {
    background: var(--orange);
    color: white;
}

/* ===== BACK/NEXT BUTTONS ===== */
.navBtns {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
}

.backBtn, .nextBtn {
    padding: 12px 24px;
    border-radius: var(--round);
    background: var(--brown);
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    display: none;
    transition: 0.2s;
}

.backBtn:hover, .nextBtn:hover {
    background: var(--orange);
}

/* ===== RESULT CARD ===== */
.result {
    display: none;
    background: white;
    padding: 30px;
    border-radius: var(--round);
    max-width: 600px;
    margin: 20px auto;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    text-align: left;
}

#primaryTactic {
    margin-bottom: 25px;
}

#primaryTactic h2 {
    font-family: 'Fredoka One';
    font-size: 44px;
    margin: 0 0 10px 0;
}

#primaryTactic p.tagline {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 12px;
}

#primaryTactic p.description {
    line-height: 1.5;
    margin-bottom: 25px;
}

/* ===== ACCORDION SECTIONS ===== */
.accordion {
    margin-top: 20px;
}

.acc-section {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.acc-header {
    width: 100%;
    background: none;
    border: none;
    font-weight: 700;
    font-size: 18px;
    text-align: left;
    padding: 10px 0;
    cursor: pointer;
    position: relative;
}

.acc-header::after {
    content: "▼";
    position: absolute;
    right: 0;
    top: 10px;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.acc-section.open .acc-header::after {
    transform: rotate(-180deg);
}

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    line-height: 1.55;
    padding-right: 10px;
    color: #333;
}

.acc-section.open .acc-body {
    max-height: 500px; /* big enough to show content */
}

footer {
    text-align: center;
    padding: 20px 0 40px;
    opacity: 0.7;
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    h1 {
        font-size: 42px;
    }

    .ball {
        width: 130px;
        height: 130px;
    }

    .card, .result {
        padding: 24px;
    }

    .acc-header {
        font-size: 16px;
    }
}
