/* Chiens Karmiques - Styles */

/* Widget 310x400px */
.chiens-karmiques-widget {
    width: 310px;
    height: 400px;
    background: linear-gradient(135deg, #F5DEB3 0%, #FFF8DC 100%);
    border: 3px solid #8B4513;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(139, 69, 19, 0.3);
    font-family: 'Georgia', serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.chiens-header {
    text-align: center;
    margin-bottom: 20px;
}

.chiens-icon {
    font-size: 48px;
    animation: pawBounce 2s ease-in-out infinite;
}

@keyframes pawBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(10deg); }
}

.chiens-header h3 {
    margin: 10px 0 5px;
    color: #8B4513;
    font-size: 24px;
}

.chiens-subtitle {
    color: #A0522D;
    font-size: 14px;
    font-style: italic;
}

.chiens-intro {
    text-align: center;
    color: #654321;
    margin: 20px 0;
    line-height: 1.6;
}

.chiens-btn {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(139, 69, 19, 0.3);
}

.chiens-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(139, 69, 19, 0.4);
}

.chiens-btn-icon {
    font-size: 20px;
    animation: pawWag 1s ease-in-out infinite;
}

@keyframes pawWag {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/* Oracle complet */
.chiens-oracle-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #FFF8DC;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.2);
}

.chiens-oracle-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #8B4513;
}

.chiens-oracle-header h2 {
    color: #8B4513;
    font-size: 32px;
    margin-bottom: 10px;
}

.chiens-oracle-header p {
    color: #A0522D;
    font-size: 18px;
}

/* Étapes */
.chiens-etape {
    display: none;
    animation: fadeIn 0.5s ease;
}

.chiens-etape.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Méthodes */
.chiens-methodes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.chiens-methode-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border: 3px solid #D2B48C;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chiens-methode-card:hover {
    border-color: #8B4513;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.3);
}

.chiens-methode-icon {
    font-size: 64px;
    margin-bottom: 15px;
}

.chiens-methode-card h4 {
    color: #8B4513;
    margin: 10px 0;
    font-size: 20px;
}

.chiens-methode-card p {
    color: #654321;
    font-size: 14px;
}

/* Inputs */
.chiens-date-input, .chiens-tirage-zone {
    text-align: center;
    padding: 40px;
}

.chiens-date-input h3, .chiens-tirage-zone h3 {
    color: #8B4513;
    margin-bottom: 20px;
}

.chiens-input {
    width: 100%;
    max-width: 300px;
    padding: 15px;
    border: 2px solid #D2B48C;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 20px;
}

.chiens-btn-primary {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.chiens-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(139, 69, 19, 0.4);
}

/* Animation tirage */
.chiens-tirage-animation {
    margin: 30px 0;
}

.chiens-patte {
    font-size: 100px;
    animation: pawFloat 2s ease-in-out infinite;
}

@keyframes pawFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(360deg); }
}

/* Résultat */
.chiens-resultat-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 4px solid #8B4513;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.2);
    animation: slideIn 0.6s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.chiens-resultat-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #D2B48C;
}

.chiens-resultat-emoji {
    font-size: 80px;
    margin-bottom: 10px;
}

.chiens-resultat-race {
    font-size: 32px;
    color: #8B4513;
    font-weight: bold;
    margin: 10px 0;
}

.chiens-resultat-origine {
    font-size: 16px;
    color: #A0522D;
}

.chiens-resultat-type {
    display: inline-block;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    margin: 10px 0;
    font-size: 14px;
    font-weight: bold;
}

/* Sections résultat */
.chiens-section {
    margin: 25px 0;
    padding: 20px;
    background: #FFF8DC;
    border-radius: 10px;
    border-left: 4px solid #8B4513;
}

.chiens-section h4 {
    color: #8B4513;
    margin-bottom: 10px;
    font-size: 18px;
}

.chiens-section p {
    color: #654321;
    line-height: 1.8;
    margin: 10px 0;
}

/* Mots-clés */
.chiens-mots-cles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.chiens-tag {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.chiens-tag.positif {
    background: #90EE90;
    color: #2F4F2F;
}

.chiens-tag.negatif {
    background: #FFB6C6;
    color: #8B0000;
}

/* Citation */
.chiens-citation {
    text-align: center;
    font-style: italic;
    color: #8B4513;
    padding: 20px;
    margin: 20px 0;
    background: white;
    border-radius: 10px;
    border: 2px dashed #D2B48C;
    font-size: 16px;
}

/* Bouton rejouer */
.chiens-btn-rejouer {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 30px auto 0;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.chiens-btn-rejouer:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .chiens-methodes {
        grid-template-columns: 1fr;
    }
    
    .chiens-oracle-container {
        padding: 20px;
    }
}
