/* styles/themes/valentines-dark.css */
.valentines-dark {
    /* Paleta San Valentín Dark (Cyberpunk Love) */
    --val-bg: #1a050a; 
    --val-surface: #2d0b1e; 
    --val-text: #ffe6ea;
    --val-primary: #ff3366; /* Rosa Neón */
    --val-secondary: #ff6b9d; 
    --val-accent: #ff0040; 
    --val-gold: #ffd700;
    --val-glow: rgba(255, 51, 102, 0.5);
    
    background: radial-gradient(circle at 50% 0%, #4a0d26 0%, #1a050a 100%);
    color: var(--val-text);
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Overlay de patrón */
.valentines-dark::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#ff3366 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

/* UI Elements con Z-Index correcto */
.valentines-dark .top-controls,
.valentines-dark .content-container,
.valentines-dark .app-footer,
.valentines-dark .tab-container {
    position: relative;
    z-index: 10;
}

/* Select de Temas (Nuevo Estilo) */
.valentines-dark .theme-select {
    background: rgba(45, 11, 30, 0.9);
    color: var(--val-secondary);
    border: 1px solid var(--val-primary);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    box-shadow: 0 0 10px var(--val-glow);
}

.valentines-dark .theme-select:hover {
    box-shadow: 0 0 15px var(--val-primary);
}

/* Tabs */
.valentines-dark .tab-container {
    border-bottom: 2px solid var(--val-primary);
    background: transparent;
}

.valentines-dark .tab-button {
    color: var(--val-secondary);
}

.valentines-dark .tab-button.active {
    background: linear-gradient(to top, rgba(255, 51, 102, 0.2), transparent);
    color: white;
    border-radius: 10px 10px 0 0;
}

.valentines-dark .tab-button.active::after {
    background-color: var(--val-primary);
    box-shadow: 0 0 10px var(--val-primary);
}

/* Inputs */
.valentines-dark .content-container {
    background: rgba(45, 11, 30, 0.85);
    border: 1px solid rgba(255, 51, 102, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 15px;
}

.valentines-dark .domain-input,
.valentines-dark .multi-domain-textarea {
    background: rgba(26, 5, 10, 0.8);
    color: var(--val-text);
    border: 1px solid var(--val-secondary);
    border-radius: 8px;
}

.valentines-dark .domain-input:focus,
.valentines-dark .multi-domain-textarea:focus {
    border-color: var(--val-primary);
    box-shadow: 0 0 15px var(--val-glow);
}

/* Botones */
.valentines-dark .whois-button {
    background: transparent;
    border: 1px solid var(--val-secondary);
    color: var(--val-secondary);
    border-radius: 8px;
}

.valentines-dark .whois-button:hover {
    background: var(--val-secondary);
    color: var(--val-bg);
}

.valentines-dark .add-button {
    background: linear-gradient(45deg, var(--val-primary), var(--val-accent));
    color: white;
    border: none;
    border-radius: 8px;
}

/* Botón Analizar: Latido */
.valentines-dark .analyze-button {
    background: linear-gradient(135deg, var(--val-primary), var(--val-accent));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 0 20px var(--val-glow);
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); box-shadow: 0 0 15px var(--val-glow); }
    15% { transform: scale(1.05); box-shadow: 0 0 25px var(--val-glow); }
    30% { transform: scale(1); box-shadow: 0 0 15px var(--val-glow); }
    45% { transform: scale(1.05); box-shadow: 0 0 25px var(--val-glow); }
    60% { transform: scale(1); box-shadow: 0 0 15px var(--val-glow); }
    100% { transform: scale(1); }
}

.valentines-dark .loading-text {
    border: 1px solid var(--val-primary);
    color: var(--val-primary);
    border-radius: 20px;
}

.valentines-dark .progress-bar {
    background: linear-gradient(90deg, var(--val-primary), var(--val-secondary));
    box-shadow: 0 0 10px var(--val-primary);
}

.valentines-dark .result-display {
    background: rgba(26, 5, 10, 0.95);
    border: 1px solid var(--val-primary);
    border-radius: 10px;
}

.valentines-dark .result-display h3 {
    background: linear-gradient(90deg, var(--val-primary), transparent);
    color: white;
}

.valentines-dark .result-display pre { color: #ffb3c6; }

.valentines-dark .rat-speech-bubble {
    background: white;
    border: 2px solid var(--val-primary);
    color: var(--val-accent);
    border-radius: 15px;
}

.valentines-dark .rat-speech-bubble:after { border-left-color: white; }

.valentines-dark .app-footer {
    border-top: 1px solid rgba(255, 51, 102, 0.2);
    color: var(--val-secondary);
}

/* --- ANIMACIONES Y ELEMENTOS FALTANTES --- */

/* Estilos de los elementos inyectados por JS */
.v-heart {
    position: absolute;
    bottom: -50px;
    color: rgba(255, 51, 102, 0.6); /* Corazones oscuros/neón */
    opacity: 0.6;
    font-size: 20px;
    animation: floatUp linear forwards;
    filter: drop-shadow(0 0 5px var(--val-primary));
    user-select: none;
    z-index: 1;
}

.v-trail {
    position: absolute;
    color: var(--val-gold);
    font-size: 14px;
    pointer-events: none;
    transition: transform 1s ease-out, opacity 1s ease-out;
    z-index: 20;
}

.v-burst {
    position: absolute;
    pointer-events: none;
    font-size: 24px;
    z-index: 20;
    color: var(--val-primary);
    animation: burstMove 0.8s ease-out forwards;
}

/* Keyframes cruciales que faltaban */
@keyframes floatUp {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.8; }
    100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}

@keyframes burstMove {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1.5); opacity: 0; }
}