body {
    background: radial-gradient(circle, #1a0033 0%, #05000a 100%);
    color: #e0d5ff;
    display: flex; justify-content: center; align-items: center;
    height: 100vh; margin: 0; font-family: 'serif'; overflow: hidden;
}

.container { text-align: center; z-index: 10; width: 90%; max-width: 600px; }

.marco-oro {
    border: 6px double #d4af37; padding: 3px; background: #000;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    display: inline-block; border-radius: 4px; position: relative; z-index: 2;
}

#mago-img { width: 220px; display: block; }

/* CAJA DE TEXTO CORREGIDA */
.caja-texto {
    background: rgba(20, 0, 40, 0.9);
    border: 1px solid #d4af37;
    padding: 20px 30px;
    margin: 20px auto;
    border-radius: 10px;
    min-height: 80px;
    max-width: 100%;
    box-shadow: inset 0 0 20px #2a004b;
    
    /* Evita que el texto se salga */
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal; 
}

#respuesta { 
    font-size: 1.2rem; 
    line-height: 1.6; 
    margin: 0;
    display: inline; /* Importante para el efecto de escritura */
}

/* AURAS DINÁMICAS */
.aura {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; height: 300px;
    border-radius: 50%; z-index: 1;
    filter: blur(40px); opacity: 0.6;
    transition: background 1s ease;
}
.aura-azul { background: radial-gradient(circle, #4800ff, transparent); }
.aura-roja { background: radial-gradient(circle, #ff0000, transparent); }

input {
    background: rgba(0,0,0,0.6); border: 1px solid #d4af37;
    color: #fff; padding: 15px; width: 80%; border-radius: 30px;
    text-align: center; outline: none; font-size: 1rem;
}

#btn-reset {
    display: none; margin: 15px auto; background: #d4af37;
    border: none; padding: 10px 20px; border-radius: 20px; cursor: pointer;
}

/* ... (Mantener lo anterior y agregar esto) ... */

/* Animación de Terremoto */
.shake {
    animation: shakeAnim 0.5s cubic-bezier(.36,.07,.19,.97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes shakeAnim {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* Colores de Aura mejorados */
.aura-azul { background: radial-gradient(circle, rgba(0, 255, 255, 0.5), transparent 70%); }
.aura-roja { background: radial-gradient(circle, rgba(255, 0, 0, 0.6), transparent 70%); }

/* Estilo para resaltar el CTA (Llamado a la acción) */
.destacado-tiktok {
    color: #ff0050; /* Color TikTok */
    font-weight: bold;
    text-shadow: 0 0 5px #00f2ea;
}

/* ... (Mantener tus estilos anteriores) ... */

/* Clase para resaltar palabras de TikTok */
.highlight-tt {
    color: #00f2ea;
    font-weight: bold;
    text-shadow: 0 0 10px #ff0050, 0 0 20px #ff0050;
    text-transform: uppercase;
    animation: flash 1s infinite alternate;
}

@keyframes flash {
    from { filter: brightness(1); }
    to { filter: brightness(1.5); }
}

/* Color dorado para regalos/fortuna */
.highlight-gold {
    color: #ffd700;
    font-weight: bold;
    text-shadow: 0 0 10px #d4af37;
}