* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    /* Fundo Místico Roxo Escuro */
    background: radial-gradient(circle at center, #2e1a47 0%, #1a0b2e 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.container {
    max-width: 800px; /* Mais largo para caber o grid */
    width: 100%;
    margin-top: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    border: 1px solid #d4af37;
}

header {
    background: linear-gradient(135deg, #4b2c7a 0%, #2e1a47 100%);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

header h1 {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    margin-bottom: 5px;
    color: #f0e68c;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Container de Anúncio --- */
.ad-container {
    margin: 20px auto;
    width: 100%;
    /* Altura mínima ajustada para o anúncio de 300px */
    min-height: 310px; 
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px dashed rgba(212, 175, 55, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 10px;
}

.icon-top {
    font-size: 30px;
    display: block;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 14px;
    color: #d8bfd8;
}

.intro-box {
    padding: 20px 30px;
    text-align: center;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #4b2c7a;
    font-size: 14px;
    text-transform: uppercase;
}

input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 16px;
    text-align: center;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s;
}

input:focus {
    outline: none;
    border-color: #9370db;
    box-shadow: 0 0 15px rgba(147, 112, 219, 0.2);
}

.btn-calcular {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #d4af37 0%, #c5a028 100%);
    color: #1a0b2e;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: transform 0.2s;
}

.btn-calcular:hover {
    transform: translateY(-2px);
}

/* --- RESULTADO GRID --- */
.resultado-container {
    background: #fdfcf5;
    padding: 30px 20px;
    border-top: 1px solid #eee;
    animation: fadeIn 1s ease;
}

.result-title {
    text-align: center;
    color: #2e1a47;
    font-family: 'Cinzel', serif;
    font-size: 22px;
}

.separator {
    text-align: center;
    color: #d4af37;
    font-size: 20px;
    margin-bottom: 25px;
}

.numerology-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.numero-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.numero-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.card-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.numero-card h4 {
    color: #4b2c7a;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 700;
}

.circle-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    font-family: 'Cinzel', serif;
    border: 2px solid;
    margin-bottom: 15px;
}

/* Cores específicas para cada pilar */
.circle-small.destino { border-color: #9c27b0; color: #9c27b0; background: #f3e5f5; }
.circle-small.expressao { border-color: #ff9800; color: #ff9800; background: #fff3e0; }
.circle-small.alma { border-color: #e91e63; color: #e91e63; background: #fce4ec; }
.circle-small.personal { border-color: #2196f3; color: #2196f3; background: #e3f2fd; }

.card-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

.btn-leia-mais {
    background: none;
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.btn-leia-mais:hover {
    background: #d4af37;
    color: white;
}

.detalhe-texto {
    margin-top: 15px;
    text-align: left;
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    background: #fafafa;
    padding: 10px;
    border-radius: 8px;
    width: 100%;
    border-left: 2px solid #d4af37;
}

/* --- CARD PROMOCIONAL DE AFILIADO --- */
.promo-card {
    background: linear-gradient(135deg, #4b2c7a 0%, #2a1145 100%);
    border: 2px solid #d4af37;
    border-radius: 15px;
    padding: 30px 20px;
    margin: 40px 0 10px 0; /* Espaço antes e depois */
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(75, 44, 122, 0.3);
    position: relative;
    overflow: hidden;
}

.promo-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    margin-bottom: 15px;
    color: #f0e68c;
    text-transform: uppercase;
}

.promo-card p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #e0e0e0;
}

.btn-promo {
    background: #d4af37;
    color: #1a0b2e;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    animation: pulse 2s infinite;
}

.btn-promo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
    background: #e6c253;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* --- COMPARTILHAMENTO --- */
.share-section {
    padding: 30px 20px;
    background: #fafafa;
    border-top: 1px solid #eee;
    text-align: center;
}

.share-section h3 {
    font-size: 14px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 15px;
    font-weight: 700;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.2s;
}

.share-btn:hover { transform: translateY(-2px); opacity: 0.9; }
.whatsapp { background-color: #25D366; }
.telegram { background-color: #0088cc; }
.copy { background-color: #555; }

.copy-feedback {
    margin-top: 10px;
    font-size: 12px;
    color: #2ecc71;
    font-weight: bold;
    opacity: 0;
}
.copy-feedback.visible { opacity: 1; }

/* --- RELACIONADOS --- */
.related-tools {
    margin-top: 0;
    padding: 20px;
    background: white;
    border-top: 1px solid #eee;
}

.related-tools h3 {
    font-size: 14px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 15px;
    text-align: center;
}

.tools-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tool-card {
    text-decoration: none;
    color: #555;
    background: #fdfcf5;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-weight: bold;
    min-width: 140px;
    justify-content: center;
}

.tool-card:hover {
    border-color: #d4af37;
    color: #4b2c7a;
    background: white;
}

@media (max-width: 600px) {
    .numerology-grid {
        grid-template-columns: 1fr; /* Coluna única no celular */
    }
    .share-buttons {
        flex-direction: column;
    }
}
