:root {
    --primary: #8B7BB8;
    --accent: #7BC8B8;
    --text: #3D2F50;
    --text-muted: #695A80;
}

/* Full-width content sections */
.calc-section-card {
    max-width: none;
}

/* Form */
.bpf-section-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.bpf-date-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.bpf-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.bpf-field label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bpf-field input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid rgba(139, 123, 184, 0.25);
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Nunito', sans-serif;
    color: var(--text);
    box-sizing: border-box;
}

.bpf-field input[type="number"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 123, 184, 0.12);
}

/* Optional section */
.bpf-optional {
    margin: 16px 0 20px;
    border: 1.5px solid rgba(139, 123, 184, 0.15);
    border-radius: 12px;
    padding: 0;
}

.bpf-optional-summary {
    padding: 14px 18px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    list-style: none;
    user-select: none;
}

.bpf-optional-summary::-webkit-details-marker {
    display: none;
}

.bpf-optional-summary::after {
    content: '▸';
    float: right;
    font-size: 14px;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.bpf-optional[open] .bpf-optional-summary::after {
    transform: rotate(90deg);
}

.bpf-optional-hint {
    font-weight: 400;
    font-size: 13px;
    color: var(--text-muted);
    margin-left: 4px;
}

.bpf-optional-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 18px 18px;
}

.bpf-radio-group {
    background: rgba(139, 123, 184, 0.04);
    border-radius: 10px;
    padding: 12px 14px;
}

.bpf-radio-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.calc-form-card label.bpf-radio,
.bpf-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0;
}

/* Results - Verdict */
.bpf-verdict-text {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.bpf-verdict-result {
    margin-bottom: 16px;
}

.bpf-verdict-gender {
    font-size: 32px;
    font-weight: 800;
}

.bpf-boy {
    color: #3a7bc8;
}

.bpf-girl {
    color: #c84a7a;
}

.bpf-neutral {
    color: var(--primary);
}

/* Percentage bar */
.bpf-pct-bar {
    display: flex;
    width: 100%;
    height: 40px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 8px;
}

.bpf-pct-boy {
    background: linear-gradient(90deg, #6ab4f5, #3a7bc8);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.5s ease;
}

.bpf-pct-girl {
    background: linear-gradient(90deg, #f5a0c4, #c84a7a);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.5s ease;
}

.bpf-pct-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.bpf-pct-label-boy {
    color: #3a7bc8;
    font-weight: 600;
}

.bpf-pct-label-girl {
    color: #c84a7a;
    font-weight: 600;
}

/* Prediction Grid */
.bpf-prediction-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 24px 20px;
}

.bpf-prediction-card {
    border-radius: 12px;
    padding: 14px 16px;
    border-left: 4px solid;
    background: #fff;
}

.bpf-card-boy {
    border-left-color: #3a7bc8;
    background: rgba(58, 123, 200, 0.03);
}

.bpf-card-girl {
    border-left-color: #c84a7a;
    background: rgba(200, 74, 122, 0.03);
}

.bpf-pred-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.bpf-pred-emoji {
    font-size: 20px;
}

.bpf-pred-method {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    flex: 1;
}

.bpf-pred-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 12px;
}

.bpf-badge-boy {
    background: #e3f2fd;
    color: #1565c0;
}

.bpf-badge-girl {
    background: #fce4ec;
    color: #c2185b;
}

.bpf-pred-explanation {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* 2x2 Info Grid */
.bpf-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 16px;
    margin-bottom: 16px;
}

.bpf-info-grid .calc-section-card {
    margin: 0;
}

/* Zodiac */
.bpf-zodiac-content {
    text-align: center;
    padding: 0 24px 20px;
}

.bpf-zodiac-symbol {
    font-size: 36px;
    margin-bottom: 4px;
}

.bpf-zodiac-name {
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
}

.bpf-zodiac-element {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.bpf-zodiac-traits {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Numerology */
.bpf-numerology-content {
    text-align: center;
    padding: 0 24px 20px;
}

.bpf-num-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #a594d0);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.bpf-num-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.bpf-num-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Season */
.bpf-season-content {
    text-align: center;
    padding: 0 24px 20px;
}

.bpf-season-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
}

.bpf-season-traits {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Birthstone */
.bpf-birthstone-content {
    text-align: center;
    padding: 0 24px 20px;
}

.bpf-birthstone-gem {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), inset 0 -2px 6px rgba(255, 255, 255, 0.3);
}

.bpf-birthstone-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.bpf-birthstone-meaning {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* CTA Grid */
.bpf-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 24px 20px;
}

.bpf-cta-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1.5px solid rgba(139, 123, 184, 0.15);
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
}

.bpf-cta-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(61, 47, 80, 0.08);
}

.bpf-cta-emoji {
    font-size: 28px;
}

.bpf-cta-text {
    font-size: 14px;
    font-weight: 600;
}

/* Disclaimer */
.bpf-disclaimer {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    max-width: 560px;
    margin: 16px auto;
    padding: 0 24px;
    line-height: 1.5;
}

/* Mobile */
@media (max-width: 600px) {
    .bpf-date-row {
        grid-template-columns: 1fr;
    }

    .bpf-field-row {
        grid-template-columns: 1fr;
    }

    .bpf-optional-grid {
        grid-template-columns: 1fr;
    }

    .bpf-verdict-gender {
        font-size: 26px;
    }

    .bpf-prediction-grid {
        grid-template-columns: 1fr;
    }

    .bpf-info-grid {
        grid-template-columns: 1fr;
    }

    .bpf-cta-grid {
        grid-template-columns: 1fr;
    }
}
