/* =========================================
   ESTILOS BLOG HOLOGRAMA - ABCHESS CENTER
   ========================================= */

.blog-hologram {
    padding: 80px 0;
    position: relative;
    background: radial-gradient(circle at center, rgba(53, 224, 247, 0.05) 0%, transparent 70%);
}

.glow-text {
    color: #fff;
    text-shadow: 0 0 10px rgba(53, 224, 247, 0.8),
                 0 0 20px rgba(53, 224, 247, 0.4);
    font-family: 'Orbitron', sans-serif, system-ui; /* Fallback si no está Orbitron */
    letter-spacing: 2px;
}

.hologram-container {
    perspective: 1000px;
}

.hologram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.hologram-card {
    background: rgba(10, 15, 30, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(53, 224, 247, 0.3);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5),
                inset 0 0 10px rgba(53, 224, 247, 0.05);
}

/* Efecto Flotante al Hover */
.hologram-card:hover {
    transform: translateY(-10px) rotateX(4deg) scale(1.02);
    border-color: rgba(53, 224, 247, 0.8);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6),
                0 0 25px rgba(53, 224, 247, 0.4),
                inset 0 0 15px rgba(53, 224, 247, 0.1);
}

.card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid rgba(53, 224, 247, 0.2);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    filter: brightness(0.8) contrast(1.1);
}

.hologram-card:hover .card-image img {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.2);
}

/* Líneas de Escaneo (Scanlines) */
.scanlines {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        transparent 50%, 
        rgba(0, 0, 0, 0.3) 50%
    );
    background-size: 100% 4px;
    z-index: 2;
    pointer-events: none;
    animation: scanAnimation 1s linear infinite;
}

/* Efecto de luz holográfica que sube y baja */
.scanlines::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(53, 224, 247, 0.2),
        transparent
    );
    animation: lightSweep 3s ease-in-out infinite;
}

@keyframes lightSweep {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

.card-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 3;
}

.card-info .category {
    font-size: 11px;
    font-weight: 700;
    color: #35E0F7;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-info .category::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #35E0F7;
    border-radius: 50%;
    box-shadow: 0 0 8px #35E0F7;
}

.card-info .title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    transition: color 0.3s;
}

.hologram-card:hover .card-info .title {
    color: #35E0F7;
    text-shadow: 0 0 5px rgba(53, 224, 247, 0.3);
}

.card-info .summary {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    height: 60px; /* Alto fijo para alinear */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.btn-read {
    margin-top: auto;
    background: rgba(53, 224, 247, 0.1);
    border: 1px solid rgba(53, 224, 247, 0.4);
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-read:hover {
    background: #35E0F7;
    color: #000;
    box-shadow: 0 0 15px rgba(53, 224, 247, 0.6);
    transform: scale(1.03);
}

/* Efecto de glitch sutil en hover (opcional) */
.hologram-card:hover .title {
    animation: glitchSlight 0.3s ease;
}

@keyframes glitchSlight {
    0% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(1px, -1px); }
    60% { transform: translate(0, 1px); }
    80% { transform: translate(1px, 1px); }
    100% { transform: translate(0); }
}

@media (max-width: 768px) {
    .hologram-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}
