/* psychologue-personnalite.css — styles dédiés au jeu */

/* Boutons réponses */
.psy-answer-btn {
    background: var(--bs-body-bg, #fff);
    border: 2px solid var(--bs-border-color, #dee2e6);
    border-radius: 12px;
    padding: 14px 16px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all .15s ease;
    color: inherit;
}
.psy-answer-btn:hover {
    border-color: var(--bs-primary, #0d6efd);
    background: rgba(13, 110, 253, .04);
    transform: translateY(-1px);
}
.psy-answer-btn.is-selected {
    border-color: var(--bs-primary, #0d6efd);
    background: rgba(13, 110, 253, .10);
    box-shadow: 0 4px 14px rgba(13, 110, 253, .15);
}
.psy-answer-key {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--bs-secondary-bg, #e9ecef);
    color: var(--bs-secondary, #6c757d);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
}
.psy-answer-btn.is-selected .psy-answer-key {
    background: var(--bs-primary, #0d6efd);
    color: #fff;
}
.psy-answer-label {
    flex: 1;
    line-height: 1.4;
    font-weight: 500;
}

/* Question */
.psy-question {
    font-size: 1.15rem;
    line-height: 1.45;
    min-height: 3.2em;
}

/* Result block */
.psy-result-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, .08), rgba(236, 72, 153, .06));
    border: 1px solid rgba(124, 58, 237, .18);
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
}
.psy-result-emoji {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 8px;
    animation: psy-pop .55s cubic-bezier(.34, 1.56, .64, 1);
}
.psy-result-name {
    font-size: 1.85rem;
    font-weight: 800;
    margin: 6px 0 8px;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.psy-section-title {
    font-weight: 700;
    margin: 20px 0 10px;
    font-size: 1.05rem;
}
.psy-alt-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.psy-alt-list li {
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--bs-secondary-bg, #f1f3f5);
    margin-bottom: 6px;
}

@keyframes psy-pop {
    0%   { transform: scale(.6); opacity: 0; }
    60%  { transform: scale(1.12); opacity: 1; }
    100% { transform: scale(1); }
}

/* Mobile */
@media (max-width: 575.98px) {
    .psy-question { font-size: 1.05rem; }
    .psy-result-emoji { font-size: 3.2rem; }
    .psy-result-name { font-size: 1.5rem; }
}

/* Dark mode tweaks */
[data-theme="dark"] .psy-answer-btn {
    background: rgba(255, 255, 255, .03);
    border-color: rgba(255, 255, 255, .12);
}
[data-theme="dark"] .psy-answer-btn:hover {
    background: rgba(124, 58, 237, .10);
}
[data-theme="dark"] .psy-answer-btn.is-selected {
    background: rgba(124, 58, 237, .18);
    border-color: #a78bfa;
}
[data-theme="dark"] .psy-result-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, .14), rgba(236, 72, 153, .10));
    border-color: rgba(167, 139, 250, .25);
}
