/* ====================================
   ARTICLE-SUPER.CSS - GAMING THEME
   Optimizado para rendimiento y carga rápida
   ==================================== */

/* 
   ÍNDICE DE CONTENIDO:
   1. Variables CSS y configuración base
   2. Reset y normalización crítica
   3. Estilos críticos above-the-fold
   4. Layout principal y estructura
   5. Tipografía y colores
   6. Componentes interactivos
   7. Utilidades y helpers
   8. Media queries responsive
   9. Optimizaciones de rendimiento
*/

/* ====================================
   1. VARIABLES CSS - CARGA CRÍTICA
   ==================================== */

/* Background negro gaming para artículos */
article {
    background-color: #000000;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 255, 198, 0.1) 0%, transparent 50%);
    min-height: 100vh;
    color: #ffffff;
}

/* ====================================
   VARIABLES CSS PARA TEMA GAMING
   ==================================== */
:root {
    /* Colores principales gaming */
    --primary-gaming: #00ff88;
    --secondary-gaming: #ff0080;
    --accent-gaming: #0080ff;
    --neon-green: #39ff14;
    --neon-blue: #00bfff;
    --neon-purple: #bf00ff;
    
    /* Colores de fondo */
    --bg-primary: #000000;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --bg-hover: #222222;
    
    /* Colores de texto */
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    
    /* Fuentes gaming */
    --font-primary: 'Orbitron', 'Arial', sans-serif;
    --font-secondary: 'Rajdhani', 'Arial', sans-serif;
    --font-body: 'Inter', 'Arial', sans-serif;
    
    /* Tamaños de fuente */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.875rem;
    --font-4xl: 2.25rem;
    
    /* Sombras gaming */
    --shadow-neon: 0 0 10px var(--primary-gaming);
    --shadow-neon-strong: 0 0 20px var(--primary-gaming), 0 0 40px var(--primary-gaming);
    --shadow-card: 0 4px 6px rgba(0, 255, 136, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 25px rgba(0, 255, 136, 0.15), 0 4px 10px rgba(0, 0, 0, 0.3);
    
    /* Bordes gaming */
    --border-gaming: 1px solid var(--primary-gaming);
    --border-secondary: 1px solid var(--secondary-gaming);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    
    /* Transiciones */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Títulos sin efectos */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--text-primary);
    text-shadow: none;
    margin: 1.5rem 0 1rem 0;
    font-weight: 700;
}

h1 {
    font-size: var(--font-4xl);
    color: var(--text-primary);
}

h2 {
    font-size: var(--font-3xl);
    color: var(--text-primary);
}

h3 {
    font-size: var(--font-2xl);
    color: var(--text-primary);
}

p {
    font-family: var(--font-body);
    font-size: var(--font-base);
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Enlaces sin efectos */
a {
    color: var(--text-primary);
    text-decoration: underline;
    transition: none;
    position: relative;
}

a:hover {
    text-shadow: none;
}

a::after {
    display: none;
}

a:hover::after {
    width: 100%;
}

/* ====================================
   ENLACES INTERNOS CONTEXTUALES
   ==================================== */

/* Enlaces internos en el contenido del artículo */
.internal-link {
    color: var(--primary-gaming) !important;
    text-decoration: underline;
    text-decoration-color: rgba(0, 255, 136, 0.4);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.internal-link:hover {
    color: var(--neon-blue) !important;
    text-decoration-color: var(--neon-blue);
    text-shadow: 0 0 8px rgba(0, 191, 255, 0.4);
    transform: translateY(-1px);
}

.internal-link:visited {
    color: rgba(0, 255, 136, 0.8) !important;
    text-decoration-color: rgba(0, 255, 136, 0.3);
}

.internal-link:active {
    color: var(--secondary-gaming) !important;
    transform: translateY(0);
}

/* ====================================
   ELEMENTOS INTERACTIVOS GAMING
   ==================================== */

/* Botones gaming */
.btn-gaming {
    background: linear-gradient(45deg, var(--bg-secondary), var(--bg-card));
    border: var(--border-gaming);
    color: var(--primary-gaming);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-gaming::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.2), transparent);
    transition: var(--transition-slow);
}

.btn-gaming:hover {
    box-shadow: none;
    transform: none;
}

.btn-gaming:hover::before {
    left: 100%;
}

/* Tarjetas gaming */
.card-gaming {
    background: var(--bg-card);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card-gaming::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-gaming);
    border-radius: var(--border-radius-lg);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-normal);
}

.card-gaming:hover {
    transform: none;
    box-shadow: var(--shadow-card);
}

.card-gaming:hover::before {
    opacity: 0;
}

/* Efectos de brillo gaming */
.glow-effect {
    box-shadow: 
        0 0 5px var(--primary-gaming),
        0 0 10px var(--primary-gaming),
        0 0 15px var(--primary-gaming);
    animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
    from {
        box-shadow: 
            0 0 5px var(--primary-gaming),
            0 0 10px var(--primary-gaming),
            0 0 15px var(--primary-gaming);
    }
    to {
        box-shadow: 
            0 0 10px var(--primary-gaming),
            0 0 20px var(--primary-gaming),
            0 0 30px var(--primary-gaming);
    }
}

/* ====================================
   LAYOUT Y ESTRUCTURA GAMING
   ==================================== */

/* Contenedor principal del artículo */
.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 2rem;
    position: relative;
}

/* Layout principal con sidebar */
.article-layout {
    display: grid;
    grid-template-areas: 
        "header header"
        "content sidebar"
        "footer footer";
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 2rem;
    min-height: 100vh;
}

.article-header {
    grid-area: header;
    text-align: center;
    padding: 2rem 0;
    border-bottom: 2px solid rgba(0, 255, 136, 0.3);
    margin-bottom: 2rem;
}

.article-content {
    grid-area: content;
    padding: 0 1rem;
}

.article-sidebar {
    grid-area: sidebar;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 255, 136, 0.2);
    height: fit-content;
}

.article-footer {
    grid-area: footer;
    text-align: center;
    padding: 2rem 0;
    border-top: 2px solid rgba(0, 255, 136, 0.3);
    margin-top: 2rem;
}

/* ====================================
   ARTÍCULOS RELACIONADOS - SIDEBAR
   ==================================== */

/* Contenedor principal de artículos relacionados */
.related-articles {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 255, 136, 0.15);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.related-articles h3 {
    color: var(--primary-gaming);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 255, 136, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grid de artículos relacionados */
.related-articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Cada artículo relacionado */
.related-article-item {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 255, 136, 0.1);
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.related-article-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gaming), var(--neon-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.related-article-item:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.15);
}

.related-article-item:hover::before {
    transform: scaleX(1);
}

/* Imagen del artículo relacionado */
.related-article-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.related-article-item:hover .related-article-image {
    border-color: var(--primary-gaming);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* Contenido del artículo relacionado */
.related-article-content {
    padding: 0;
}

.related-article-title {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-article-item:hover .related-article-title {
    color: var(--primary-gaming);
}

.related-article-category {
    color: var(--neon-blue);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

.related-article-excerpt {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

/* Meta información del artículo */
.related-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-article-date {
    color: var(--text-muted);
    font-size: 0.7rem;
    opacity: 0.7;
}

.related-article-tag {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary-gaming);
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    font-weight: 500;
}

/* Link wrapper para toda la tarjeta */
.related-article-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.related-article-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Responsive para artículos relacionados */
@media (max-width: 768px) {
    .related-articles {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .related-article-image {
        height: 60px;
    }
    
    .related-article-title {
        font-size: 0.85rem;
    }
    
    .related-article-excerpt {
        font-size: 0.75rem;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }
}

/* ====================================
   TESTIMONIOS SIDEBAR - TARJETAS COMPACTAS
   ==================================== */

/* Contenedor principal de testimonios sidebar */
.sidebar-testimonials {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 255, 136, 0.15);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sidebar-testimonials h3 {
    color: var(--primary-gaming);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 255, 136, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.sidebar-testimonials h3::before {
    content: '💬';
    margin-right: 0.5rem;
}

/* Lista de testimonios */
.testimonials-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Cada testimonio individual */
.testimonial-item {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 255, 136, 0.1);
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gaming), var(--neon-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.15);
}

.testimonial-item:hover::before {
    transform: scaleX(1);
}

/* Header del testimonio (avatar + info) */
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

/* Avatar compacto */
.testimonial-avatar-mini {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-gaming), var(--neon-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--bg-primary);
    border: 2px solid rgba(0, 255, 136, 0.3);
    flex-shrink: 0;
}

/* Info del usuario */
.testimonial-user-info {
    flex: 1;
    min-width: 0;
}

.testimonial-user-name {
    color: var(--primary-gaming);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-user-game {
    color: var(--text-secondary);
    font-size: 0.7rem;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Texto del testimonio */
.testimonial-text {
    color: var(--text-primary);
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    color: var(--primary-gaming);
    font-size: 1.2rem;
    position: absolute;
    top: -5px;
    left: -5px;
    opacity: 0.5;
}

/* Rating del testimonio */
.testimonial-rating-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.testimonial-stars-mini {
    color: #ffd700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Responsive para testimonios del sidebar */
@media (max-width: 768px) {
    .sidebar-testimonials {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .testimonial-item {
        padding: 0.75rem;
    }
    
    .testimonial-avatar-mini {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .testimonial-user-name {
        font-size: 0.8rem;
    }
    
    .testimonial-user-game {
        font-size: 0.65rem;
    }
    
    .testimonial-text {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}

/* ====================================
   BREADCRUMB NAVIGATION - GAMING STYLE
   ==================================== */

/* Contenedor principal del breadcrumb */
.breadcrumb {
    background: linear-gradient(135deg, #1a1a1a 0%, #111111 100%);
    border-bottom: 2px solid rgba(0, 255, 136, 0.3);
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.breadcrumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gaming), transparent);
    animation: breadcrumbGlow 3s infinite;
}

@keyframes breadcrumbGlow {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Contenedor del breadcrumb */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navegación del breadcrumb */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Enlaces del breadcrumb */
.breadcrumb-nav a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.breadcrumb-nav a:hover {
    color: var(--primary-gaming);
    background: rgba(0, 255, 136, 0.1);
    transform: translateY(-1px);
}

.breadcrumb-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gaming);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.breadcrumb-nav a:hover::after {
    width: 100%;
}

/* Separadores del breadcrumb */
.breadcrumb-nav .fas.fa-chevron-right {
    color: var(--primary-gaming);
    font-size: 0.7rem;
    opacity: 0.8;
    animation: chevronPulse 2s infinite ease-in-out;
}

@keyframes chevronPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Elemento actual (último) del breadcrumb */
.breadcrumb-nav span {
    color: var(--primary-gaming);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    padding: 0.25rem 0.5rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

/* Iconos del breadcrumb */
.breadcrumb-nav .fas.fa-home {
    color: var(--neon-blue);
    margin-right: 0.25rem;
}

/* Responsive para breadcrumb */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 1rem 0;
        margin-bottom: 1.5rem;
    }
    
    .breadcrumb-nav {
        font-size: 0.8rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .breadcrumb-nav a,
    .breadcrumb-nav span {
        padding: 0.2rem 0.4rem;
    }
    
    .breadcrumb-nav .fas.fa-chevron-right {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        padding: 0.75rem 0;
        margin-bottom: 1rem;
    }
    
    .breadcrumb-nav {
        font-size: 0.75rem;
    }
    
    .breadcrumb-nav span {
        display: block;
        width: 100%;
        margin-top: 0.5rem;
        text-align: center;
    }
}

/* ====================================
   FLEXBOX UTILITIES GAMING
   ==================================== */

/* Contenedores flex principales */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.flex-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-around {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

/* ====================================
   GRID LAYOUTS GAMING
   ==================================== */

/* Grid para productos/elementos */
.grid-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.grid-4-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

/* Grid para especificaciones técnicas */
.specs-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0.5rem 2rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 255, 136, 0.1);
}

/* ====================================
   ESPACIADO Y POSICIONAMIENTO
   ==================================== */

/* Márgenes gaming */
.m-0 { margin: 0; }
.m-1 { margin: 0.5rem; }
.m-2 { margin: 1rem; }
.m-3 { margin: 1.5rem; }
.m-4 { margin: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Padding gaming */
.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }

/* Posicionamiento */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }

/* Display utilities */
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.hidden { display: none; }

/* Tamaños */
.w-full { width: 100%; }
.w-auto { width: auto; }
.h-full { height: 100%; }
.h-auto { height: auto; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-scroll { overflow: scroll; }

/* ====================================
   BORDES Y DECORACIÓN GAMING
   ==================================== */

/* Bordes gaming */
.border-gaming {
    border: var(--border-gaming);
}

.border-secondary {
    border: var(--border-secondary);
}

.border-neon {
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.border-top {
    border-top: 1px solid rgba(0, 255, 136, 0.3);
}

.border-bottom {
    border-bottom: 1px solid rgba(0, 255, 136, 0.3);
}

.border-radius-sm { border-radius: 4px; }
.border-radius { border-radius: var(--border-radius); }
.border-radius-lg { border-radius: var(--border-radius-lg); }
.border-radius-full { border-radius: 50%; }

/* ====================================
   FLOAT Y CLEARFIX
   ==================================== */

.float-left {
    float: left;
    margin: 0 1rem 1rem 0;
}

.float-right {
    float: right;
    margin: 0 0 1rem 1rem;
}

.float-none {
    float: none;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ====================================
   LAYOUTS ESPECIALIZADOS GAMING
   ==================================== */

/* Layout para comparativas de productos */
.comparison-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

/* Layout para especificaciones técnicas */
.tech-specs-layout {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 1rem;
    align-items: start;
}

.tech-specs-layout .spec-category {
    background: var(--bg-card);
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-gaming);
    position: sticky;
    top: 1rem;
}

.tech-specs-layout .spec-details {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 255, 136, 0.1);
}

/* Layout para galería de imágenes */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.image-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: var(--transition-normal);
}

.image-gallery img:hover {
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

/* Layout para pros y contras */
.pros-cons-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.pros-section {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 255, 136, 0.05));
    border: 1px solid var(--primary-gaming);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
}

.cons-section {
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.1), rgba(128, 128, 128, 0.05));
    border: 1px solid var(--text-muted);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

/* ====================================
   BREAKPOINTS Y VARIABLES RESPONSIVE
   ==================================== */
:root {
    /* Breakpoints */
    --breakpoint-xs: 320px;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --breakpoint-xxl: 1400px;
    
    /* Unidades responsivas */
    --container-padding: clamp(1rem, 4vw, 3rem);
    --section-gap: clamp(1rem, 3vw, 2rem);
    --card-padding: clamp(1rem, 2.5vw, 1.5rem);
    
    /* Tipografía responsiva */
    --font-fluid-xs: clamp(0.7rem, 1.5vw, 0.75rem);
    --font-fluid-sm: clamp(0.8rem, 2vw, 0.875rem);
    --font-fluid-base: clamp(0.9rem, 2.5vw, 1rem);
    --font-fluid-lg: clamp(1rem, 3vw, 1.125rem);
    --font-fluid-xl: clamp(1.1rem, 3.5vw, 1.25rem);
    --font-fluid-2xl: clamp(1.3rem, 4vw, 1.5rem);
    --font-fluid-3xl: clamp(1.5rem, 5vw, 1.875rem);
    --font-fluid-4xl: clamp(1.8rem, 6vw, 2.25rem);
    --font-fluid-5xl: clamp(2rem, 8vw, 3rem);
}

/* ====================================
   BASE RESPONSIVE GAMING
   ==================================== */

/* Contenedor principal responsive */
.article-container {
    max-width: min(1200px, 95vw);
    margin: 0 auto;
    padding: var(--container-padding);
    width: 100%;
}

/* Tipografía fluida */
h1 {
    font-size: var(--font-fluid-5xl);
    line-height: 1.1;
    margin: clamp(1rem, 3vw, 2rem) 0 clamp(0.5rem, 2vw, 1rem) 0;
}

h2 {
    font-size: var(--font-fluid-4xl);
    line-height: 1.2;
    margin: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(0.8rem, 2vw, 1rem) 0;
}

h3 {
    font-size: var(--font-fluid-3xl);
    line-height: 1.3;
    margin: clamp(1.2rem, 3vw, 2rem) 0 clamp(0.6rem, 1.5vw, 0.8rem) 0;
}

h4 {
    font-size: var(--font-fluid-2xl);
    line-height: 1.4;
}

h5, h6 {
    font-size: var(--font-fluid-xl);
    line-height: 1.4;
}

p {
    font-size: var(--font-fluid-base);
    line-height: clamp(1.4, 2vw, 1.6);
    margin-bottom: clamp(0.8rem, 2vw, 1rem);
}

/* Botones responsivos */
.btn-gaming {
    padding: clamp(0.6rem, 2vw, 0.75rem) clamp(1.2rem, 3vw, 1.5rem);
    font-size: var(--font-fluid-sm);
    border-radius: clamp(6px, 1vw, 8px);
}

/* Tarjetas responsivas */
.card-gaming {
    padding: var(--card-padding);
    border-radius: clamp(8px, 2vw, 12px);
    margin-bottom: var(--section-gap);
}

/* ====================================
   DESKTOP LARGE (1400px+)
   ==================================== */
@media (min-width: 1400px) {
    .article-layout {
        grid-template-columns: 2.5fr 1fr;
        gap: 3rem;
    }
    
    .grid-products {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
    
    .comparison-layout {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .article-container {
        max-width: 1400px;
        padding: 3rem;
    }
}

/* ====================================
   DESKTOP STANDARD (1200px - 1399px)
   ==================================== */
@media (min-width: 1200px) and (max-width: 1399px) {
    .article-layout {
        grid-template-columns: 2fr 1fr;
        gap: 2.5rem;
    }
    
    .grid-products {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .article-container {
        max-width: 1200px;
        padding: 2.5rem;
    }
}

/* ====================================
   LAPTOP/TABLET LANDSCAPE (992px - 1199px)
   ==================================== */
@media (min-width: 992px) and (max-width: 1199px) {
    .article-layout {
        grid-template-columns: 1.8fr 1fr;
        gap: 2rem;
    }
    
    .grid-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .grid-3-cols {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-4-cols {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .comparison-layout {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .article-container {
        padding: 2rem;
    }
}

/* ====================================
   TABLET PORTRAIT (768px - 991px)
   ==================================== */
@media (min-width: 768px) and (max-width: 991px) {
    .article-layout {
        grid-template-areas: 
            "header header"
            "content sidebar"
            "footer footer";
        grid-template-columns: 1.5fr 1fr;
        gap: 1.5rem;
    }
    
    .grid-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .grid-2-cols,
    .grid-3-cols,
    .grid-4-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .comparison-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pros-cons-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-specs-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem 1rem;
    }
    
    .flex-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .article-container {
        padding: 1.5rem;
    }
}

/* ====================================
   MOBILE LARGE (576px - 767px)
   ==================================== */
@media (min-width: 576px) and (max-width: 767px) {
    .article-layout {
        grid-template-areas: 
            "header"
            "content"
            "sidebar"
            "footer";
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .article-sidebar {
        position: static;
        order: 3;
    }
    
    .grid-products {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .grid-2-cols,
    .grid-3-cols,
    .grid-4-cols {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .comparison-layout {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .flex-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .float-left,
    .float-right {
        float: none;
        margin: 0 0 1rem 0;
        width: 100%;
    }
    
    .article-container {
        padding: 1rem;
    }
    
    /* Botones móviles */
    .btn-gaming {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
}

/* ====================================
   MOBILE SMALL (320px - 575px)
   ==================================== */
@media (max-width: 575px) {
    .article-layout {
        grid-template-areas: 
            "header"
            "content"
            "sidebar"
            "footer";
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .article-container {
        padding: 0.8rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .article-header {
        padding: 1rem 0;
        margin-bottom: 1rem;
    }
    
    .article-sidebar {
        position: static;
        padding: 0.8rem;
        margin-top: 1rem;
    }
    
    /* Grids móviles */
    .grid-products,
    .grid-2-cols,
    .grid-3-cols,
    .grid-4-cols {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .comparison-layout {
        grid-template-columns: 1fr;
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .pros-cons-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tech-specs-layout {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 0.3rem;
        padding: 0.8rem;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .image-gallery img {
        height: auto;
        max-height: 250px;
    }
    
    /* Flexbox móvil */
    .flex-row,
    .flex-between,
    .flex-around {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .flex-center {
        padding: 0.5rem;
    }
    
    /* Elementos flotantes */
    .float-left,
    .float-right {
        float: none;
        margin: 0 0 0.8rem 0;
        width: 100%;
        display: block;
    }
    
    /* Botones móviles pequeños */
    .btn-gaming {
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        border-radius: 6px;
    }
    
    /* Tarjetas móviles */
    .card-gaming {
        padding: 1rem;
        margin-bottom: 0.8rem;
        border-radius: 8px;
    }
    
    /* Espaciado móvil */
    .m-1 { margin: 0.3rem; }
    .m-2 { margin: 0.6rem; }
    .m-3 { margin: 0.9rem; }
    .m-4 { margin: 1.2rem; }
    
    .p-1 { padding: 0.3rem; }
    .p-2 { padding: 0.6rem; }
    .p-3 { padding: 0.9rem; }
    .p-4 { padding: 1.2rem; }
}

/* ====================================
   ULTRA MOBILE (hasta 320px)
   ==================================== */
@media (max-width: 319px) {
    .article-container {
        padding: 0.5rem;
    }
    
    .article-header {
        padding: 0.8rem 0;
    }
    
    .btn-gaming {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .card-gaming {
        padding: 0.8rem;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
    
    .comparison-layout,
    .pros-cons-layout {
        padding: 0.5rem;
        gap: 0.5rem;
    }
}

/* ====================================
   RESPONSIVE UTILITIES
   ==================================== */

/* Visibilidad responsive */
.hidden-xs { display: block; }
.hidden-sm { display: block; }
.hidden-md { display: block; }
.hidden-lg { display: block; }
.hidden-xl { display: block; }

@media (max-width: 575px) {
    .hidden-xs { display: none !important; }
}

@media (min-width: 576px) and (max-width: 767px) {
    .hidden-sm { display: none !important; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hidden-md { display: none !important; }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .hidden-lg { display: none !important; }
}

@media (min-width: 1200px) {
    .hidden-xl { display: none !important; }
}

/* Mostrar solo en dispositivos específicos */
.show-mobile { display: none; }
.show-tablet { display: none; }
.show-desktop { display: block; }

@media (max-width: 767px) {
    .show-mobile { display: block; }
    .show-desktop { display: none; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .show-tablet { display: block; }
    .show-desktop { display: none; }
}

/* Contenedores responsivos */
.container-fluid {
    width: 100%;
    padding: 0 var(--container-padding);
    margin: 0 auto;
}

.container-sm { max-width: 540px; margin: 0 auto; }
.container-md { max-width: 720px; margin: 0 auto; }
.container-lg { max-width: 960px; margin: 0 auto; }
.container-xl { max-width: 1140px; margin: 0 auto; }
.container-xxl { max-width: 1320px; margin: 0 auto; }

/* ====================================
   OPTIMIZACIÓN PARA TOUCH
   ==================================== */
@media (hover: none) and (pointer: coarse) {
    /* Elementos táctiles más grandes */
    .btn-gaming {
        min-height: 44px;
        padding: 0.8rem 1.2rem;
    }
    
    a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    
    /* Quitar efectos hover en dispositivos táctiles */
    .card-gaming:hover,
    .btn-gaming:hover,
    a:hover {
        transform: none;
    }
    
    /* Efectos de tap más visibles */
    .btn-gaming:active {
        transform: scale(0.98);
        background-color: var(--bg-hover);
    }
}

/* ====================================
   BOTÓN AMAZON ESPECIAL
   ==================================== */

.btn-amazon {
    background: linear-gradient(135deg, #ff9900, #ffad33);
    border: 2px solid #ff9900;
    color: #232f3e;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
    min-width: 200px;
}

.btn-amazon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-slow);
}

.btn-amazon:hover {
    background: linear-gradient(135deg, #ffad33, #ffcc66);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
    border-color: #ffad33;
}

.btn-amazon:hover::before {
    left: 100%;
}

.btn-amazon:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 153, 0, 0.3);
}

/* Icono de Amazon en el botón */
.btn-amazon .amazon-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Variante del botón Amazon secundario */
.btn-amazon-secondary {
    background: #232f3e;
    border: 2px solid #ff9900;
    color: #ff9900;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.btn-amazon-secondary:hover {
    background: #ff9900;
    color: #232f3e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}

/* Contenedor para botones de Amazon */
.amazon-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.05), rgba(255, 153, 0, 0.02));
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 153, 0, 0.2);
}

.amazon-buttons-container h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: var(--font-lg);
}

.amazon-buttons-container p {
    color: var(--text-secondary);
    text-align: center;
    font-size: var(--font-sm);
    margin-bottom: 1rem;
}

/* Responsive para botones Amazon */
@media (max-width: 768px) {
    .btn-amazon {
        min-width: 180px;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .amazon-buttons-container {
        margin: 1.5rem 0;
        padding: 1rem;
    }
    
    .amazon-buttons-container h3 {
        font-size: var(--font-base);
    }
}

/* ====================================
   IMAGEN DESTACADA DEL PRODUCTO
   ==================================== */

.hero-image-section {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.product-image-container {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.product-image {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--primary-gaming);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-card);
    object-fit: contain;
}

.product-image.glow-effect {
    box-shadow: 
        0 0 10px var(--primary-gaming),
        0 0 20px var(--primary-gaming),
        var(--shadow-card);
}

.product-image:hover {
    transform: none;
    box-shadow: none;
}

/* Hero overlay para imagen destacada */
.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    opacity: 0;
    transition: var(--transition-normal);
}

.product-image-container:hover .hero-overlay {
    opacity: 1;
}

.hero-content {
    text-align: center;
    color: var(--text-primary);
}

.hero-title {
    font-size: var(--font-xl);
    color: var(--primary-gaming);
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
}

.hero-subtitle {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.hero-specs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.spec-badge {
    background: var(--primary-gaming);
    color: var(--bg-primary);
    padding: 0.2rem 0.5rem;
    border-radius: var(--border-radius);
    font-size: var(--font-xs);
    font-weight: 600;
    text-transform: uppercase;
}

/* Responsive para imagen destacada */
@media (max-width: 768px) {
    .product-image {
        max-height: 250px;
        max-width: 90%;
    }
    
    .hero-overlay {
        position: static;
        opacity: 1;
        background: var(--bg-secondary);
        border-radius: var(--border-radius);
        margin-top: 0.5rem;
    }
    
    .hero-specs {
        gap: 0.3rem;
    }
    
    .spec-badge {
        font-size: 0.7rem;
        padding: 0.15rem 0.3rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .product-image {
        max-height: 350px;
        max-width: 80%;
    }
}

@media (min-width: 1025px) {
    .product-image {
        max-height: 400px;
        max-width: 70%;
    }
}

/* ====================================
   OPTIMIZACIONES DE RENDIMIENTO
   ==================================== */

/* Critical CSS - Estilos que deben cargarse primero */
.critical {
    /* Estilos mínimos para above-the-fold */
    contain: layout style paint;
    will-change: auto;
}

/* Lazy loading para elementos no críticos */
.lazy-load {
    content-visibility: auto;
    contain-intrinsic-size: 200px;
}

/* Optimización de animaciones */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .glow-effect {
        animation: none;
        box-shadow: 0 0 5px var(--primary-gaming);
    }
}

/* GPU acceleration para elementos animados */
.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.btn-gaming,
.card-gaming,
.glow-effect {
    transform: translateZ(0);
    will-change: transform, box-shadow;
}

/* Optimización de imágenes */
img {
    content-visibility: auto;
    contain-intrinsic-size: 300px 200px;
    max-width: 100%;
    height: auto;
}

/* ====================================
   CRITICAL CSS INLINE - ABOVE THE FOLD
   ==================================== */

/* Estilos críticos que deberían estar inline */
.critical-inline {
    /* Layout básico */
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    
    /* Colores esenciales */
    background-color: #000000;
    color: #ffffff;
    
    /* Fuente de fallback */
    font-family: Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

/* ====================================
   OPTIMIZACIÓN DE SELECTORES
   ==================================== */

/* Evitar selectores complejos - usar clases específicas */
.article-title { /* En lugar de article h1 */
    font-size: var(--font-fluid-5xl);
    background: linear-gradient(45deg, var(--primary-gaming), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-paragraph { /* En lugar de article p */
    font-family: var(--font-body);
    font-size: var(--font-fluid-base);
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.article-link { /* En lugar de article a */
    color: var(--primary-gaming);
    text-decoration: none;
    transition: var(--transition-fast);
}

/* ====================================
   LOADING STATES Y SKELETONS
   ==================================== */

/* Loading skeleton para contenido */
.skeleton {
    background: linear-gradient(90deg, 
        var(--bg-secondary) 25%, 
        var(--bg-card) 50%, 
        var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--border-radius);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 2rem;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-card {
    height: 200px;
    width: 100%;
}

/* ====================================
   CONTENIDO NO CRÍTICO - LAZY LOAD
   ==================================== */

/* Elementos que pueden cargarse después */
.non-critical {
    content-visibility: auto;
}

/* Efectos avanzados - cargar después */
.advanced-effects {
    content-visibility: auto;
    contain-intrinsic-size: 100px;
}

.advanced-effects .card-gaming::before,
.advanced-effects .btn-gaming::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-gaming), var(--neon-blue));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: var(--transition-normal);
}

/* ====================================
   OPTIMIZACIÓN DE FUENTES
   ==================================== */

/* Preload de fuentes críticas */
@font-face {
    font-family: 'Orbitron';
    font-display: swap; /* Mejorar Core Web Vitals */
    font-weight: 400 700;
    src: local('Orbitron'), url('fonts/orbitron.woff2') format('woff2');
}

@font-face {
    font-family: 'Rajdhani';
    font-display: swap;
    font-weight: 400 600;
    src: local('Rajdhani'), url('fonts/rajdhani.woff2') format('woff2');
}

/* Fallback mejorado */
.font-loading {
    font-family: Arial, sans-serif;
}

.font-loaded .font-loading {
    font-family: var(--font-primary);
}

/* ====================================
   MINIMIZE CSS - VERSIÓN COMPACTA
   ==================================== */

/* Utilidades compactas para producción */
.d-n{display:none}.d-b{display:block}.d-f{display:flex}.d-g{display:grid}
.p-0{padding:0}.p-1{padding:.5rem}.p-2{padding:1rem}.p-3{padding:1.5rem}
.m-0{margin:0}.m-1{margin:.5rem}.m-2{margin:1rem}.m-3{margin:1.5rem}
.w-100{width:100%}.h-100{height:100%}.pos-r{position:relative}.pos-a{position:absolute}
.text-c{text-align:center}.text-l{text-align:left}.text-r{text-align:right}
.flex-c{display:flex;justify-content:center;align-items:center}
.flex-b{display:flex;justify-content:space-between;align-items:center}

/* ====================================
   CONFIGURACIÓN DE RENDIMIENTO
   ==================================== */

/* Configuración del documento para optimización */
html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Optimización de reflow/repaint */
* {
    box-sizing: border-box;
}

/* Mejorar el rendering de listas largas */
.long-list {
    contain: layout style paint;
    overflow-anchor: auto;
}

/* ====================================
   PREGUNTAS FRECUENTES (FAQ) - GAMING STYLE
   ==================================== */

.faq-section {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 26, 26, 0.8) 100%);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gaming) 0%, var(--neon-blue) 50%, var(--secondary-gaming) 100%);
    animation: pulse-border 2s ease-in-out infinite alternate;
}

.faq-section h2 {
    color: var(--primary-gaming);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.faq-section h2::before,
.faq-section h2::after {
    content: '❓';
    font-size: 1.2rem;
    opacity: 0.7;
    animation: bounce-icon 2s ease-in-out infinite alternate;
}

/* FAQ Items Container */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Individual FAQ Item */
.faq-item {
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid rgba(0, 255, 136, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.faq-item:hover {
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.1);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: var(--primary-gaming);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.2);
}

/* FAQ Question (Button) */
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: rgba(0, 255, 136, 0.05);
    color: var(--primary-gaming);
}

.faq-question:focus {
    outline: 2px solid var(--primary-gaming);
    outline-offset: -2px;
}

/* FAQ Icon */
.faq-icon {
    font-size: 1.2rem;
    color: var(--primary-gaming);
    transition: transform 0.3s ease;
    margin-left: 1rem;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--neon-blue);
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: rgba(0, 0, 0, 0.3);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
}

.faq-answer-content {
    padding: 1.5rem;
    color: #cccccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-answer-content p {
    margin: 0 0 1rem 0;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content strong {
    color: var(--primary-gaming);
    font-weight: 600;
}

.faq-answer-content ul,
.faq-answer-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer-content li {
    margin: 0.5rem 0;
    color: #dddddd;
}

.faq-answer-content li::marker {
    color: var(--primary-gaming);
}

/* Gaming Accent Lines */
.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, transparent 0%, var(--primary-gaming) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover::before,
.faq-item.active::before {
    opacity: 1;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .faq-section h2 {
        font-size: 1.75rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .faq-answer-content {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .faq-icon {
        font-size: 1rem;
        margin-left: 0.5rem;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 1rem;
        border-radius: 8px;
    }
    
    .faq-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .faq-question {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .faq-answer-content {
        padding: 0.875rem;
        font-size: 0.875rem;
    }
}

/* Animaciones para FAQ */
@keyframes bounce-icon {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@keyframes pulse-border {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Accesibilidad para FAQ */
@media (prefers-reduced-motion: reduce) {
    .faq-item,
    .faq-question,
    .faq-icon,
    .faq-answer,
    .faq-section::before {
        transition: none;
        animation: none;
    }
}

/* ====================================
   COMENTARIOS PARA MINIFICACIÓN
   ==================================== */

/*! 
CRITICAL: Este CSS está optimizado para:
- Core Web Vitals
- Carga progresiva
- Rendering performance
- Mobile first
- Accesibilidad

Para producción:
1. Inline critical CSS above-the-fold
2. Async load non-critical CSS
3. Preload fonts
4. Optimize images
5. Use service worker for caching
*/
