/* ===== CONTENEUR CENTRÉ ===== */
.fleur-widget-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    margin: 0 auto;
}

/* ===== WIDGET COMPACT 310×400px ===== */
.fleur-karmique-widget {
    width: 310px;
    height: 400px;
    background: #f5efe8;
    border: 3px solid #9a624a;
    border-radius: 15px;
    padding: 20px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Georgia', serif;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fleur-karmique-widget:hover {
    box-shadow: 0 0 20px rgba(154, 98, 74, 0.4),
                0 0 40px rgba(154, 98, 74, 0.2),
                0 4px 6px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Header */
.fleur-header {
    text-align: center;
    margin-bottom: 5px;
}

.fleur-header h3 {
    color: #6e4636;
    font-size: 20px;
    margin: 0 0 3px 0;
    font-weight: bold;
}

.fleur-subtitle {
    font-size: 10px;
    color: #6e4636;
    margin: 0;
    font-style: italic;
    opacity: 0.7;
}

/* Jardin mini */
.fleur-jardin-mini {
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}

.fleurs-dansantes-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
}

.fleur-mini {
    font-size: 36px;
    text-align: center;
    animation: fleurDanse 3s ease-in-out infinite;
    filter: drop-shadow(0 3px 6px rgba(154, 98, 74, 0.3));
}

.fleur-mini:nth-child(1) { animation-delay: 0s; }
.fleur-mini:nth-child(2) { animation-delay: 0.3s; }
.fleur-mini:nth-child(3) { animation-delay: 0.6s; }
.fleur-mini:nth-child(4) { animation-delay: 0.9s; }
.fleur-mini:nth-child(5) { animation-delay: 1.2s; }
.fleur-mini:nth-child(6) { animation-delay: 1.5s; }

@keyframes fleurDanse {
    0%, 100% { 
        transform: rotate(-5deg) translateY(0) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: rotate(5deg) translateY(-8px) scale(1.1);
        opacity: 1;
    }
}

/* Description */
.fleur-description {
    text-align: center;
    font-size: 12px;
    color: #6e4636;
    margin: 10px 0;
    font-style: italic;
}

/* Bouton */
.fleur-button {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #9a624a 0%, #b8856a 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(154, 98, 74, 0.3);
    font-family: 'Arial', sans-serif;
    text-align: center;
    text-decoration: none;
    margin: 10px 0;
}

.fleur-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(154, 98, 74, 0.5);
    background: linear-gradient(135deg, #b8856a 0%, #9a624a 100%);
    color: white;
}

.fleur-info {
    text-align: center;
    font-size: 9px;
    color: #6e4636;
    margin: 5px 0 0 0;
    font-style: italic;
    opacity: 0.7;
}

/* ===== PAGE ORACLE COMPLÈTE ===== */
.fleur-oracle-page {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    font-family: 'Georgia', serif;
}

.oracle-container {
    background: #FFFFFF;
    border: 3px solid #9a624a;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(154, 98, 74, 0.2);
}

.oracle-section {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.oracle-section.active {
    display: block;
    opacity: 1;
}

/* Header oracle */
.oracle-header {
    text-align: center;
    margin-bottom: 40px;
}

.oracle-header h2 {
    font-size: 2.5rem;
    color: #9a624a;
    margin-bottom: 10px;
    font-weight: 400;
}

.oracle-subtitle {
    font-size: 1rem;
    color: #6e4636;
    font-style: italic;
    opacity: 0.8;
}

/* Jardin grand */
.jardin-complet {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f5efe8, #faf6f0);
    border-radius: 15px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fleurs-jardin-grand {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    width: 100%;
}

.fleur-grande {
    font-size: 3rem;
    text-align: center;
    animation: fleurDanse 4s ease-in-out infinite;
    filter: drop-shadow(0 5px 10px rgba(154, 98, 74, 0.3));
}

.fleur-grande:nth-child(1) { animation-delay: 0s; }
.fleur-grande:nth-child(2) { animation-delay: 0.2s; }
.fleur-grande:nth-child(3) { animation-delay: 0.4s; }
.fleur-grande:nth-child(4) { animation-delay: 0.6s; }
.fleur-grande:nth-child(5) { animation-delay: 0.8s; }
.fleur-grande:nth-child(6) { animation-delay: 1s; }
.fleur-grande:nth-child(7) { animation-delay: 1.2s; }
.fleur-grande:nth-child(8) { animation-delay: 1.4s; }
.fleur-grande:nth-child(9) { animation-delay: 1.6s; }
.fleur-grande:nth-child(10) { animation-delay: 1.8s; }
.fleur-grande:nth-child(11) { animation-delay: 2s; }
.fleur-grande:nth-child(12) { animation-delay: 2.2s; }

/* Invitation */
.invitation-text {
    text-align: center;
    font-size: 1.3rem;
    color: #6e4636;
    margin: 30px 0;
    font-style: italic;
}

/* Bouton tirage */
.btn-tirer-fleur {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 30px auto;
    padding: 18px 32px;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #9a624a, #b8856a);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(154, 98, 74, 0.3);
    font-family: 'Georgia', serif;
}

.btn-tirer-fleur:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(154, 98, 74, 0.5);
}

/* Stats */
.oracle-stats {
    text-align: center;
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
    margin-top: 20px;
}

/* Loading */
.loading-animation {
    text-align: center;
    padding: 60px 20px;
}

.fleur-pousse {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    position: relative;
}

.tige-pousse {
    width: 6px;
    height: 120px;
    background: linear-gradient(180deg, #9a624a, #b8856a);
    border-radius: 3px;
    margin: 0 auto;
    animation: tigeCroissance 2s ease-out infinite;
}

.bourgeon-pousse {
    font-size: 4rem;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bourgeonEclot 2s ease-out infinite;
}

@keyframes tigeCroissance {
    0% { height: 0; }
    100% { height: 120px; }
}

@keyframes bourgeonEclot {
    0%, 50% { transform: translateX(-50%) scale(0); opacity: 0; }
    100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

/* Carte résultat */
.fleur-resultat-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
}

.resultat-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 3px solid #9a624a;
    background: linear-gradient(135deg, #f5efe8, #faf6f0);
    margin: -40px -40px 30px -40px;
    padding: 40px;
    border-radius: 17px 17px 0 0;
}

.fleur-emoji-grand {
    font-size: 90px;
    margin-bottom: 20px;
    animation: fleurApparait 1s ease-out;
    filter: drop-shadow(0 0 20px rgba(154, 98, 74, 0.3));
}

@keyframes fleurApparait {
    from { opacity: 0; transform: scale(0) rotate(-180deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}

.fleur-nom-grand {
    font-size: 2.5rem;
    color: #6e4636;
    margin: 15px 0 10px;
    font-weight: 400;
}

.fleur-latin-text {
    font-size: 1rem;
    color: #999;
    font-style: italic;
    margin-bottom: 20px;
}

.fleur-titre-text {
    font-size: 1.5rem;
    color: #9a624a;
    font-style: italic;
    margin-top: 15px;
}

/* Badges */
.fleur-badges-info {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 25px 0;
}

.badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-couleur {
    background: rgba(154, 98, 74, 0.2);
    color: #9a624a;
}

.badge-saison {
    background: rgba(110, 70, 54, 0.2);
    color: #6e4636;
}

.badge-element {
    background: rgba(184, 133, 106, 0.2);
    color: #b8856a;
}

.badge-motcle {
    background: linear-gradient(135deg, #9a624a, #b8856a);
    color: white;
}

/* Sections box */
.fleur-section-box {
    margin: 25px 0;
    padding: 25px;
    background: #FAFAFA;
    border-left: 5px solid #9a624a;
    border-radius: 10px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.fleur-section-box:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: #FFFFFF;
}

.fleur-section-box h4 {
    color: #6e4636;
    font-size: 1.3rem;
    margin: 0 0 15px 0;
    font-weight: bold;
}

.message-content,
.fleur-section-box p {
    font-size: 1rem;
    line-height: 1.8;
    color: #2F2F2F;
    white-space: pre-line;
}

/* Affirmation - style spécial */
.affirmation-box {
    background: linear-gradient(135deg, #9a624a, #b8856a);
    border: none;
    text-align: center;
}

.affirmation-box h4 {
    color: white;
}

.affirmation-box p {
    color: white;
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
}

/* Domaines */
.domaines-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.domaine-tag {
    padding: 10px 20px;
    background: white;
    border: 2px solid #9a624a;
    border-radius: 25px;
    color: #6e4636;
    font-weight: 600;
}

/* Chakra */
.chakra-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chakra-couleur {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.chakra-texte strong {
    display: block;
    color: #6e4636;
    margin-bottom: 5px;
}

/* Huile */
.huile-info strong {
    color: #9a624a;
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.huile-usage,
.huile-effet {
    color: #666;
    line-height: 1.6;
    margin: 5px 0;
}

/* Actions */
.fleur-actions-bottom {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-action {
    padding: 15px 30px;
    background: linear-gradient(135deg, #9a624a, #b8856a);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(154, 98, 74, 0.4);
    background: linear-gradient(135deg, #b8856a, #9a624a);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .fleur-karmique-widget {
        width: 100%;
        max-width: 310px;
        height: auto;
        min-height: 400px;
    }
    
    .oracle-container {
        padding: 25px;
    }
    
    .fleurs-jardin-grand {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .fleur-grande {
        font-size: 2.5rem;
    }
    
    .fleur-emoji-grand {
        font-size: 70px;
    }
    
    .fleur-nom-grand {
        font-size: 2rem;
    }
    
    .fleur-actions-bottom {
        flex-direction: column;
    }
    
    .btn-action {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .fleur-karmique-widget {
        max-width: 100%;
        padding: 15px;
    }
    
    .fleurs-jardin-grand {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .fleur-grande {
        font-size: 2rem;
    }
}
