:root {
    --bg-main: #0a0a0f;
    --bg-card: #111118;                                                    
    --bg-input: #121217;
    --text-primary: #ffffff;
    --text-secondary: #fff;
    --text-dim: #52525b;
    --accent-glow: linear-gradient(90deg, #6366f1 0%, #a855f7 100%);
    --accent-blue: #6366f1;
    --border-color: #27272a;
    --font-ui: 'Inter', sans-serif;
    --font-tech: 'JetBrains Mono', monospace;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-ui);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem;
    width: 100%;
}

.brand-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    font-family: var(--font-tech);
    font-size: 0.8rem;
    font-weight: bold;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: var(--accent-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    border-left: 2px solid var(--accent-blue);
    padding-left: 1rem;
}

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

input {
    width: 100%;
    background-color: #230443;
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 1.2rem;
    font-family: var(--font-tech);
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
}

input:focus { border-color: var(--accent-blue); }

button {
    width: 100%;
    padding: 1.2rem;
    background: var(--accent-glow);
    color: white;
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
    transition: transform 0.2s ease;
}

button:active { transform: scale(0.98); }

.status-panel {
    background: var(--bg-card);
    border: 1px solid #3f3f46;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
    animation: fadeIn 0.5s ease;
}



  .circulo-outer {
        width: 144px;
        height: 144px;
        background-color: #9356F7;
opacity: 1;
        border-radius: 50%;
        display: flex;

animation: palpitacion 0.5s;
} 


@keyframes palpitacion {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1); /* Crecimiento sutil */
        opacity: 0.8;           /* Efecto de brillo/atenuación */
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.circulo-outer, 
.circulo-middle, 
.circulo-inner {
    border-radius: 50%;
    animation: palpitacion 0.5s ease-in-out infinite;
padding: 24px;
}


.circulo-middle {
    width: 96px;
    height: 96px;
    background-color: purple;
    animation-delay: 0.3s;
}

.circulo-inner {
    width: 48px;
    height: 48px;
    background-color: orange;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation-delay: 0.6s;
}



@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.status-label {
    display: block;
    color: #a855f7;
    font-family: var(--font-tech);
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.status-target {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.status-target a { color: var(--accent-blue); text-decoration: none; }

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

.api-card {
    background: #18181b;
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 8px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-family: var(--font-tech);
    font-size: 0.8rem;
}

.result-content { color: #d4d4d8; font-size: 0.9rem; white-space: pre-wrap; }

.download-box {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid #a855f7;
    border-radius: 8px;
    text-align: center;
}

.download-btn {
    display: inline-block;
    background: var(--accent-glow);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    font-family: var(--font-tech);
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.download-btn:hover {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
}

.log-line {
    display: block;
    color: #71717a;
    font-family: var(--font-tech);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

footer { margin-top: auto; padding: 2rem 0; border-top: 1px solid var(--border-color); }
.footer-content {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: var(--text-dim);
}
