/* ============================================
   JOGO DA ENERGIA ASTRAL - ESTILOS
   Sistema isolado
   ============================================ */

.jogo-container {
    min-height: 100vh;
    background: var(--cor-fundo);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

/* Fundo Estrelado e Constelações */
.jogo-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(139, 92, 246, 0.4), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(212, 175, 55, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(3px 3px at 80% 20%, rgba(168, 85, 247, 0.3), transparent),
        radial-gradient(2px 2px at 30% 80%, rgba(236, 72, 153, 0.2), transparent),
        radial-gradient(1px 1px at 70% 60%, rgba(139, 92, 246, 0.3), transparent);
    background-size: 200% 200%;
    animation: starsMove 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.jogo-container::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 15% 25%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 45% 65%, rgba(139, 92, 246, 0.2), transparent),
        radial-gradient(2px 2px at 75% 35%, rgba(212, 175, 55, 0.25), transparent),
        radial-gradient(1px 1px at 25% 75%, rgba(168, 85, 247, 0.2), transparent);
    background-size: 300% 300%;
    animation: starsMove 25s linear infinite reverse;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

@keyframes starsMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}


.jogo-container > * {
    position: relative;
    z-index: 1;
}

/* Constelações Animadas */
.constelacoes-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
}

.constelacao-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.star-pulse {
    animation: starPulse 3s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { 
        opacity: 0.6; 
        transform: scale(1);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2);
    }
}

.constellation-line {
    stroke-dasharray: 5, 5;
    animation: lineFlow 4s linear infinite;
    opacity: 0.4;
}

@keyframes lineFlow {
    0% { 
        stroke-dashoffset: 0;
        opacity: 0.2;
    }
    50% { 
        opacity: 0.6;
    }
    100% { 
        stroke-dashoffset: 20;
        opacity: 0.2;
    }
}

.constelacao-1 {
    animation: floatConstellation 20s ease-in-out infinite;
}

.constelacao-2 {
    animation: floatConstellation 25s ease-in-out infinite reverse;
}

.constelacao-3 {
    animation: floatConstellation 18s ease-in-out infinite;
}

.constelacao-4 {
    animation: floatConstellation 22s ease-in-out infinite reverse;
}

@keyframes floatConstellation {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg);
    }
    25% { 
        transform: translate(10px, -10px) rotate(1deg);
    }
    50% { 
        transform: translate(-5px, 5px) rotate(-1deg);
    }
    75% { 
        transform: translate(5px, 10px) rotate(0.5deg);
    }
}

/* Partículas Flutuantes */
.particulas-flutuantes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particula {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.8), transparent);
    border-radius: 50%;
    filter: blur(1px);
    animation: floatParticle 15s ease-in-out infinite;
}

.particula.p1 {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.7), transparent);
}

.particula.p2 {
    left: 30%;
    top: 60%;
    animation-delay: 2s;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.6), transparent);
}

.particula.p3 {
    left: 60%;
    top: 30%;
    animation-delay: 4s;
    width: 5px;
    height: 5px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.7), transparent);
}

.particula.p4 {
    left: 80%;
    top: 70%;
    animation-delay: 1s;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.6), transparent);
}

.particula.p5 {
    left: 20%;
    top: 80%;
    animation-delay: 3s;
    width: 5px;
    height: 5px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.6), transparent);
}

.particula.p6 {
    left: 70%;
    top: 15%;
    animation-delay: 5s;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.7), transparent);
}

.particula.p7 {
    left: 45%;
    top: 50%;
    animation-delay: 2.5s;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.8), transparent);
}

.particula.p8 {
    left: 90%;
    top: 40%;
    animation-delay: 3.5s;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.6), transparent);
}

@keyframes floatParticle {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% { 
        transform: translate(30px, -40px) scale(1.2);
        opacity: 1;
    }
    50% { 
        transform: translate(-20px, 30px) scale(0.8);
        opacity: 0.7;
    }
    75% { 
        transform: translate(40px, 20px) scale(1.1);
        opacity: 0.9;
    }
}

/* Nebulosa de Fundo */
.nebulosa-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 40% 30% at 20% 30%, rgba(139, 92, 246, 0.15), transparent),
        radial-gradient(ellipse 35% 25% at 80% 70%, rgba(212, 175, 55, 0.12), transparent),
        radial-gradient(ellipse 30% 20% at 50% 50%, rgba(168, 85, 247, 0.1), transparent),
        radial-gradient(ellipse 25% 15% at 70% 20%, rgba(236, 72, 153, 0.08), transparent);
    pointer-events: none;
    z-index: 0;
    animation: nebulosaPulse 20s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes nebulosaPulse {
    0%, 100% { 
        opacity: 0.5;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Header do Jogo */
.jogo-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 0;
}

.jogo-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    color: var(--cor-branco);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--cor-primaria), var(--cor-dourado));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jogo-subtitle {
    font-size: 1.1rem;
    color: var(--cor-lilas);
    max-width: 600px;
    margin: 0 auto;
}

/* Formulário */
.jogo-form-section {
    padding: 3rem 0;
}

.jogo-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    color: var(--cor-branco);
    font-weight: 500;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.form-group .opcional {
    color: var(--cor-texto-claro);
    font-weight: 400;
    font-size: 0.85rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1.1rem 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    color: var(--cor-branco);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--cor-primaria);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
    background: rgba(15, 23, 42, 0.8);
}

.form-group input.error,
.form-group select.error {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group small {
    display: block;
    color: var(--cor-texto-claro);
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

/* Campos Adicionais */
.campos-adicionais {
    margin-top: 1rem;
}

.campo-duplo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.campo-item {
    display: flex;
    flex-direction: column;
}

.campo-item label {
    display: block;
    color: var(--cor-branco);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.campo-item input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: var(--cor-branco);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.campo-item input:focus {
    outline: none;
    border-color: var(--cor-primaria);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
    background: rgba(15, 23, 42, 0.8);
}

.campo-item input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .campo-duplo {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Botão Revelar */
.btn-revelar {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--cor-primaria), var(--cor-secundaria));
    border: none;
    border-radius: 50px;
    color: var(--cor-branco);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-revelar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.6);
}

.btn-revelar:active {
    transform: translateY(0);
}

.btn-revelar .btn-sparkle {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.2); }
}

/* Erro */
.jogo-erro {
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 1rem 1.5rem;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    border-radius: 10px;
    color: #FCA5A5;
}

/* Processamento */
.processamento-container {
    text-align: center;
    padding: 4rem 2rem;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mandala-girando {
    width: 120px;
    height: 120px;
    border: 3px solid var(--cor-primaria);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 2s linear infinite;
    margin-bottom: 2rem;
    position: relative;
}

.mandala-girando::before {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: var(--cor-primaria);
}

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

.processamento-container h2 {
    color: var(--cor-branco);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.barras-progresso {
    width: 100%;
    max-width: 400px;
}

.barra-progresso {
    margin-bottom: 1.5rem;
    text-align: left;
}

.barra-progresso span {
    display: block;
    color: var(--cor-lilas);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.progresso-fill {
    height: 4px;
    background: linear-gradient(90deg, var(--cor-primaria), var(--cor-dourado));
    border-radius: 2px;
    animation: progresso 1.5s ease-in-out infinite;
}

@keyframes progresso {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

/* Resultado */
.jogo-resultado {
    padding: 3rem 0;
    animation: fadeIn 0.5s ease-in;
}

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

.resultado-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: var(--cor-branco);
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--cor-primaria), var(--cor-dourado));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.4;
}

.resultado-headline-pessoal {
    text-align: center;
    color: var(--cor-branco);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(168, 85, 247, 0.15));
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 12px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3), 
                0 0 0 1px rgba(212, 175, 55, 0.2) inset,
                0 0 40px rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(10px);
    animation: headlineGlow 3s ease-in-out infinite;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.resultado-headline-pessoal::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.6), rgba(212, 175, 55, 0.4), rgba(168, 85, 247, 0.6));
    border-radius: 12px;
    z-index: -1;
    opacity: 0.6;
    animation: borderPulse 2s ease-in-out infinite;
}

@keyframes headlineGlow {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3), 
                    0 0 0 1px rgba(212, 175, 55, 0.2) inset,
                    0 0 40px rgba(139, 92, 246, 0.2);
    }
    50% {
        box-shadow: 0 8px 40px rgba(139, 92, 246, 0.5), 
                    0 0 0 1px rgba(212, 175, 55, 0.4) inset,
                    0 0 60px rgba(139, 92, 246, 0.4);
    }
}

@keyframes borderPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.01);
    }
}

/* Badge Situação */
.situacao-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 2px solid rgba(139, 92, 246, 0.4);
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.situacao-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.situacao-icon svg {
    width: 100%;
    height: 100%;
    max-width: 50px;
    max-height: 50px;
}

.situacao-nome {
    color: var(--cor-branco);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.situacao-icon-small {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-right: 0.8rem;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.situacao-icon-small svg {
    width: 100%;
    height: 100%;
    max-width: 32px;
    max-height: 32px;
}

/* Índices */
.indices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.indice-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.indice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cor-primaria), var(--cor-dourado));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.indice-card:hover::before {
    transform: scaleX(1);
}

.indice-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.indice-valor {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--cor-primaria), var(--cor-dourado));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.indice-label {
    color: var(--cor-lilas);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.indice-bar {
    width: 100%;
    height: 10px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.indice-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cor-primaria), var(--cor-dourado));
    border-radius: 5px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.indice-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Mensagem de Abertura Personalizada */
.abertura-personalizada {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    margin-bottom: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.abertura-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.abertura-icon svg {
    width: 100%;
    height: 100%;
    max-width: 120px;
    max-height: 120px;
}

.abertura-texto {
    color: var(--cor-branco);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 700px;
    font-style: italic;
    padding: 0 1rem;
}

/* Padrão */
.padrao-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(212, 175, 55, 0.2));
    padding: 3.5rem 3rem;
    border-radius: 20px;
    border: 2px solid var(--cor-primaria);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.padrao-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.padrao-svg-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.padrao-svg {
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.4));
}

.padrao-titulo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

.padrao-descricao {
    color: var(--cor-lilas);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    line-height: 1.7;
    padding: 0 1rem;
}

/* Animações SVG */
.rotate-slow {
    animation: rotateSlow 10s linear infinite;
}

.rotate-reverse {
    animation: rotateReverse 8s linear infinite;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

.pulse-ring {
    animation: pulseRing 2s ease-in-out infinite;
}

@keyframes pulseRing {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.float-up {
    animation: floatUp 3s ease-in-out infinite;
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(-10px); opacity: 1; }
}

.grow {
    animation: grow 2s ease-in-out infinite;
}

@keyframes grow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.situacao-svg {
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.5));
    display: block;
}

/* Garantir que SVGs sejam visíveis */
.situacao-svg path,
.situacao-svg circle,
.situacao-svg line,
.situacao-svg rect {
    stroke-width: 3;
}

.situacao-svg path[fill] {
    fill-opacity: 0.9;
}

/* Efeitos especiais nos cards de mensagem */
.mensagem-card {
    position: relative;
}

.mensagem-card::before {
    content: '✦';
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--cor-primaria);
    opacity: 0.3;
    font-size: 1.5rem;
    animation: sparkle 3s ease-in-out infinite;
}

.mensagem-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Melhorias nos índices */
.indice-card:nth-child(1) .indice-fill {
    background: linear-gradient(90deg, #8B5CF6, #A855F7);
}

.indice-card:nth-child(2) .indice-fill {
    background: linear-gradient(90deg, #EC4899, #F472B6);
}

.indice-card:nth-child(3) .indice-fill {
    background: linear-gradient(90deg, #10B981, #34D399);
}

.indice-card:nth-child(4) .indice-fill {
    background: linear-gradient(90deg, #F59E0B, #FBBF24);
}

/* Animação de entrada dos cards */
.mensagem-card,
.padrao-card,
.numerologia-card,
.cta-card {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Delay escalonado para animação */
.mensagem-card:nth-child(1) { animation-delay: 0.1s; }
.mensagem-card:nth-child(2) { animation-delay: 0.2s; }
.mensagem-card:nth-child(3) { animation-delay: 0.3s; }
.mensagem-card:nth-child(4) { animation-delay: 0.4s; }
.padrao-card { animation-delay: 0.1s; }
.numerologia-card { animation-delay: 0.2s; }
.cta-card { animation-delay: 0.3s; }

/* Mensagens */
.mensagem-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    margin-bottom: 3rem;
}

.mensagem-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    color: var(--cor-primaria);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.mensagem-texto {
    color: var(--cor-branco);
    line-height: 1.9;
    font-size: 1rem;
    padding: 0 0.5rem;
}

/* CTA */
/* Ícones animados do CTA */
.cta-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
    color: var(--cor-dourado);
    animation: iconPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
    width: 20px;
    height: 20px;
}

.cta-texto .cta-icon:nth-of-type(2n) {
    animation-delay: 0.3s;
}

.cta-texto .cta-icon:nth-of-type(3n) {
    animation-delay: 0.6s;
}

.cta-texto .cta-icon:nth-of-type(4n) {
    animation-delay: 0.9s;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.15) rotate(5deg);
        opacity: 0.9;
    }
}

.cta-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(212, 175, 55, 0.3));
    padding: 3.5rem 3rem;
    border-radius: 15px;
    border: 2px solid var(--cor-dourado);
    margin-bottom: 3rem;
    text-align: center;
}

.cta-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    color: var(--cor-dourado);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.cta-texto {
    color: var(--cor-branco);
    line-height: 1.9;
    margin-bottom: 2.5rem;
    text-align: left;
    padding: 0 1rem;
}

.btn-cta-compra {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--cor-dourado), var(--cor-primaria));
    color: var(--cor-fundo);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.btn-cta-compra:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.6);
}

/* Compartilhamento */
.compartilhamento-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(212, 175, 55, 0.1));
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(139, 92, 246, 0.4);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.compartilhamento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cor-primaria), var(--cor-dourado), var(--cor-primaria));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.compartilhamento-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--cor-primaria), var(--cor-dourado));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.compartilhamento-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.btn-compartilhar {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-compartilhar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-compartilhar:hover::before {
    width: 300px;
    height: 300px;
}

.btn-compartilhar svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.btn-compartilhar span {
    position: relative;
    z-index: 1;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.btn-facebook {
    background: linear-gradient(135deg, #1877F2, #0D5FDB);
    color: white;
    box-shadow: 0 4px 20px rgba(24, 119, 242, 0.4);
}

.btn-facebook:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(24, 119, 242, 0.6);
}

.btn-copiar {
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid var(--cor-primaria);
    color: var(--cor-primaria);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-copiar:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
}

/* Numerologia */
.numerologia-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    margin-bottom: 3rem;
}

.numerologia-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    color: var(--cor-primaria);
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.4;
}

.numerologia-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.numero-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
    min-width: 150px;
}

.numero-circulo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cor-fundo);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.numero-info {
    text-align: center;
}

.numero-info strong {
    display: block;
    color: var(--cor-branco);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.numero-info p {
    color: var(--cor-lilas);
    font-size: 0.9rem;
    line-height: 1.6;
}

.numero-connector {
    flex-shrink: 0;
    opacity: 0.6;
}

.numerologia-compatibilidade {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    margin-top: 1rem;
}

.compat-label {
    color: var(--cor-lilas);
    font-size: 0.95rem;
    margin-right: 0.5rem;
}

.compat-valor {
    color: var(--cor-dourado);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Responsivo */
@media (max-width: 768px) {
    .jogo-title {
        font-size: 1.8rem;
    }
    
    .jogo-form {
        padding: 1.5rem;
    }
    
    .indices-grid {
        grid-template-columns: 1fr;
    }
    
    .resultado-title {
        font-size: 1.5rem;
    }
    
    .resultado-headline-pessoal {
        font-size: 1rem;
        padding: 1.5rem;
        margin-bottom: 2rem;
        font-weight: 500;
    }
    
    .compartilhamento-card {
        padding: 1.5rem;
    }
    
    .compartilhamento-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .compartilhamento-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-compartilhar {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    .numerologia-grid {
        flex-direction: column;
    }
    
    .numero-connector {
        transform: rotate(90deg);
    }
    
    .abertura-personalizada {
        padding: 1.5rem;
    }
    
    .padrao-svg-container {
        margin-bottom: 1rem;
    }
    
    .padrao-svg {
        width: 100px;
        height: 100px;
    }
}

