/* BEAUTIFUL MYSTICAL PREMIUM STYLE */

.numerology-container { max-width: 650px; margin: auto; padding: 20px; }
.title-main { text-align:center; font-size:32px; color:#2c1e59; margin-bottom:20px; }

.card { background:white; padding:20px; border-radius:12px; border:1px solid #eee; margin-bottom:25px; line-height:1.6; }

.big-number { font-size:48px; color:#5332c5; margin:10px 0; text-align:center; }

.section-title { font-size:28px; margin:20px 0; color:#2c1e59; }

.premium-preview ul { margin-top:10px; padding-left:20px; }
.premium-preview li { margin-bottom:8px; }

.premium-block { background:#f7f0ff; border:1px solid #dccbff; padding:20px; border-radius:12px; text-align:center; margin-bottom:20px; }
.premium-btn { background:#c29a34; color:white; padding:12px 22px; border:none; border-radius:8px; cursor:pointer; font-size:18px; }

/* Loader */
.loader { text-align:center; margin-top:20px; }
.spinner { width:45px; height:45px; border:5px solid #d7ccff; border-top-color:#6a4df5; border-radius:50%; margin:auto; animation:spin .7s linear infinite; }
@keyframes spin { to { transform:rotate(360deg);} }
.hidden {
    display: none;
}
/* Container principal */
.numerology-container.style-a {
    max-width: 720px;
    margin: 0 auto 80px auto;
    padding: 24px 16px 40px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Titre principal */
.numerology-container.style-a .title-main {
    font-size: 28px;
    font-weight: 700;
    color: #24125f;
    text-align: center;
    margin-bottom: 24px;
}

/* Formulaire */
.num-form {
    background: #f7f3ff;
    border-radius: 16px;
    padding: 16px 16px 20px;
    border: 1px solid rgba(76, 52, 150, 0.15);
    margin-bottom: 24px;
}

.num-form .form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.num-form .field-group {
    flex: 1;
    min-width: 0;
}

.num-form .field-group.small {
    max-width: 90px;
}

.num-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #4c3496;
    margin-bottom: 4px;
}

.num-form input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d6cfff;
    padding: 8px 10px;
    font-size: 14px;
    outline: none;
    background: #ffffff;
}

.num-form input:focus {
    border-color: #7c5cff;
    box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.25);
}

/* Bouton analyser */
.analyze-btn {
    margin-top: 4px;
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #7c5cff, #4c3496);
    color: #fff;
    cursor: pointer;
    transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.analyze-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(76, 52, 150, 0.3);
}

/* Loader */
.loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 12px;
    background: #fdf8ff;
    border-radius: 12px;
    border: 1px dashed #d7c3ff;
    margin-bottom: 20px;
}

.loader.hidden {
    display: none;
}

.spinner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #d7c3ff;
    border-top-color: #7c5cff;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-size: 13px;
    color: #4c3496;
}

/* Resultats */
#results.hidden {
    display: none;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #24125f;
    margin-bottom: 4px;
}

.section-subtitle {
    font-size: 13px;
    color: #6b628c;
    margin-bottom: 16px;
}

/* Cartes */
.card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #ece7ff;
    padding: 14px 14px 16px;
    margin-bottom: 14px;
    box-shadow: 0 8px 18px rgba(10, 0, 54, 0.03);
}

.card-main {
    border: 1px solid #d7c3ff;
    box-shadow: 0 12px 26px rgba(45, 21, 114, 0.15);
}

.card-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.card-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #24125f;
    margin: 0;
}

.card-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4c3496;
    background: #f0e7ff;
}

.card-body {
    margin-top: 4px;
}

.card-text {
    font-size: 14px;
    line-height: 1.55;
    color: #3c3658;
}

/* Gros numero */
.big-number {
    font-size: 42px;
    font-weight: 700;
    color: #7c5cff;
    margin-bottom: 4px;
}

/* Bloc premium */
.premium-block {
    margin-top: 18px;
    padding: 18px 16px 20px;
    border-radius: 18px;
    background: #f9f4ff;
    border: 1px solid #e1d4ff;
    text-align: center;
}

.premium-block h2 {
    font-size: 20px;
    color: #24125f;
    margin-bottom: 6px;
}

.premium-subtitle {
    font-size: 13px;
    color: #6b628c;
    margin-bottom: 10px;
}

.premium-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
    font-size: 13px;
    color: #3c3658;
}

.premium-list li {
    margin-bottom: 4px;
}

/* Boutons premium generiques */
.premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.08s ease;
    white-space: nowrap;
}

/* Bouton principal (acheter) */
.premium-btn.main {
    background: linear-gradient(135deg, #f0c453, #cc9a24);
    color: #24125f;
    box-shadow: 0 10px 20px rgba(204, 154, 36, 0.35);
    width: 100%;
    margin-top: 4px;
}

.premium-btn.main:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(204, 154, 36, 0.45);
}

/* Zone boutons apres paiement */
.premium-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.premium-actions.hidden {
    display: none;
}

.premium-btn.secondary {
    background: #ffffff;
    border: 1px solid #d7c3ff;
    color: #4c3496;
}

.premium-btn.gold {
    background: #f0c453;
    color: #24125f;
}

.premium-btn.whatsapp {
    background: #25d366;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 640px) {
    .num-form .form-row {
        flex-direction: column;
    }

    .num-form .field-group.small {
        max-width: 100%;
    }

    .premium-actions {
        flex-direction: column;
    }

    .premium-btn {
        width: 100%;
    }
}
