/* ===========================================
   CUALQUIER TIEMPO PASADO FUE ANTERIOR
   ESTILOS DE ARTÍCULOS
   Complementa style.css principal
   =========================================== */

.article {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* ============ ARTICLE HEADER ============ */
.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px dashed var(--neon-cyan);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.article-category {
    color: var(--neon-green);
    background: rgba(0, 255, 0, 0.1);
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--neon-green);
}

.article-date {
    color: var(--neon-cyan);
}

.article-author {
    color: var(--neon-yellow);
}

.article-reading {
    color: var(--text-secondary);
}

.article-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--neon-pink);
    text-shadow: 
        0 0 10px var(--neon-pink),
        0 0 20px var(--neon-pink);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-style: italic;
}

/* ============ ARTICLE CONTENT ============ */
.article-content {
    line-height: 1.8;
    flex: 1;
}

.article-intro {
    background: linear-gradient(135deg, rgba(26, 10, 46, 0.6) 0%, rgba(13, 27, 42, 0.6) 100%);
    border-left: 4px solid var(--neon-pink);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.article-section {
    margin-bottom: 2.5rem;
}

.article-section h2 {
    color: var(--neon-cyan);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    text-align: center;
}

.article-section p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.article-section strong {
    color: var(--neon-yellow);
}

.article-section em {
    color: var(--neon-green);
    font-style: normal;
}

/* ============ SPECS BOX ============ */
.specs-box {
    background: #000;
    border: 2px solid var(--neon-green);
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.specs-table tr {
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 0.75rem 0;
}

.spec-label {
    color: var(--neon-green);
    width: 100px;
    font-weight: bold;
}

.spec-value {
    color: var(--text-primary);
}

/* ============ QUOTE ============ */
.retro-quote {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1) 0%, rgba(0, 255, 255, 0.1) 100%);
    border: 2px solid var(--neon-pink);
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
}

.retro-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--neon-pink);
    opacity: 0.5;
    line-height: 1;
}

.retro-quote p {
    color: var(--text-primary) !important;
    font-style: italic;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
}

.retro-quote cite {
    display: block;
    text-align: right;
    color: var(--neon-cyan);
    font-size: 0.9rem;
}

/* ============ HIGHLIGHT BOX ============ */
.highlight-box {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--neon-yellow);
    padding: 1.5rem;
    margin: 2rem 0;
}

.highlight-box h3 {
    color: var(--neon-yellow);
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--neon-yellow);
}

.retro-list {
    list-style: none;
}

.retro-list li {
    color: var(--text-primary);
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(255, 255, 0, 0.2);
}

.retro-list li:last-child {
    border-bottom: none;
}

/* ============ CODE BLOCK ============ */
.code-block {
    background: #000;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-green);
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    font-size: 0.85rem;
    line-height: 1.6;
    box-shadow: 
        inset 0 0 30px rgba(0, 255, 0, 0.05),
        0 0 15px rgba(0, 255, 255, 0.2);
}

.code-caption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: -1rem;
}

/* ============ ARTICLE END ============ */
.article-end {
    text-align: center;
    color: var(--neon-pink) !important;
    font-size: 1.1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px dashed var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
}

/* ============ ARTICLE FOOTER ============ */
.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--neon-cyan);
    text-align: center;
}

.article-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tag {
    color: var(--neon-cyan);
    background: rgba(0, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border: 1px solid var(--neon-cyan);
    transition: all 0.2s ease;
}

.tag:hover {
    background: var(--neon-cyan);
    color: var(--dark-bg);
}

.btn-back {
    display: inline-block;
    color: var(--neon-green);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--neon-green);
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: var(--neon-green);
    color: var(--dark-bg);
    box-shadow: 0 0 20px var(--neon-green);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 600px) {
    .article {
        padding: 1rem;
    }
    
    .article-meta {
        gap: 1rem;
        font-size: 0.8rem;
    }
    
    .specs-table {
        font-size: 0.85rem;
    }
    
    .spec-label {
        width: 80px;
    }
    
    .code-block {
        font-size: 0.75rem;
        padding: 1rem;
    }
    
    .retro-quote::before {
        font-size: 2.5rem;
    }
}
