/* ============================================
   BLOG POST CONTENT STYLES
   Estilos customizados para posts do blog
   ============================================ */

/* Blog Content Frame - Semi-opaque background for readability */
.blog-content-frame {
    background: rgba(8, 10, 15, 0.85);
    /* Deep obsidian with 85% opacity */
    -webkit-backdrop-filter: blur(12px);
    /* Safari support */
    backdrop-filter: blur(12px);
    /* Blur the starfield behind */
    border: 1px solid rgba(0, 255, 65, 0.1);
    /* Subtle neon border */
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    margin: 2rem 0;
    box-shadow:
        0 0 40px rgba(0, 0, 0, 0.5),
        inset 0 0 60px rgba(0, 255, 65, 0.02);
    /* Subtle inner glow */
    position: relative;
}

/* Responsive padding for mobile */
@media (max-width: 768px) {
    .blog-content-frame {
        padding: 2rem 1.5rem;
        border-radius: 1rem;
    }
}

/* Subtle corner accents */
.blog-content-frame::before,
.blog-content-frame::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 255, 65, 0.3);
    z-index: 1;
}

.blog-content-frame::before {
    top: 15px;
    left: 15px;
    border-right: none;
    border-bottom: none;
}

.blog-content-frame::after {
    bottom: 15px;
    right: 15px;
    border-left: none;
    border-top: none;
}

/* External Links - Ícone com Glow */
.blog-content a[href^="http"]::after,
.blog-content a[href^="https://"]::after {
    content: "↗";
    display: inline-block;
    margin-left: 0.35rem;
    font-size: 0.85em;
    opacity: 0.8;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #00ff41;
    vertical-align: middle;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.6);
}

.blog-content a[href^="http"]:hover::after,
.blog-content a[href^="https://"]:hover::after {
    opacity: 1;
    color: #fff;
    transform: translate(3px, -3px);
    text-shadow: 
        0 0 10px rgba(0, 255, 65, 1),
        0 0 20px rgba(0, 255, 65, 0.5);
}

/* Links - Cyberpunk Style with Glow */
.blog-content a {
    color: #00ff41 !important;
    /* Neon Green */
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding: 0.1rem 0.4rem;
    margin: 0 0.1rem;
    border-bottom: 1px solid rgba(0, 255, 65, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.3);
    background: rgba(0, 255, 65, 0.05);
}

/* Glitch effect on hover */
.blog-content a::before {
    content: attr(href);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    color: #00ff41;
    text-shadow: 
        -2px 0 #ff00ff,
        2px 0 #00ffff;
    clip: rect(0, 0, 0, 0);
    animation: none;
    pointer-events: none;
    padding: inherit;
    overflow: hidden;
    white-space: nowrap;
}

/* Efeito Hover: Neon Glow + Glitch */
.blog-content a:hover {
    color: #fff !important;
    background: rgba(0, 255, 65, 0.15);
    border-bottom-color: #00ff41;
    text-shadow: 
        0 0 10px rgba(0, 255, 65, 0.8),
        0 0 20px rgba(0, 255, 65, 0.4),
        0 0 30px rgba(0, 255, 65, 0.2);
    box-shadow: 
        0 0 10px rgba(0, 255, 65, 0.3),
        inset 0 0 10px rgba(0, 255, 65, 0.1);
    transform: translateY(-1px);
}

.blog-content a:hover::before {
    animation: glitch-link 0.3s infinite;
    opacity: 0.7;
}

@keyframes glitch-link {
    0%, 100% {
        clip: rect(42px, 9999px, 44px, 0);
        transform: skew(0.3deg);
    }
    25% {
        clip: rect(12px, 9999px, 59px, 0);
        transform: skew(0.8deg);
    }
    50% {
        clip: rect(85px, 9999px, 140px, 0);
        transform: skew(0.5deg);
    }
    75% {
        clip: rect(25px, 9999px, 32px, 0);
        transform: skew(0.2deg);
    }
}

/* Listas não-ordenadas - Cyberpunk Chevron */
.blog-content ul>li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
    font-size: 1.125rem;
    line-height: 1.4;
}

.blog-content ul>li::before {
    content: "»";
    position: absolute;
    left: 0;
    color: #6ee7b7;
    /* Softer green */
    font-weight: 700;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 1.1em;
    line-height: 1.5;
}

.blog-content ul>li:hover {
    transform: translateX(3px);
}

.blog-content ul>li:hover::before {
    color: #86efac;
}

/* Listas aninhadas */
.blog-content ul ul>li::before {
    content: "›";
    font-size: 1.4em;
    opacity: 0.8;
}


/* Decoração Antiga Removida - Usando novo padrão Orbitron */

/* NEGRITO - Cyberpunk Highlight with Scan Effect */
.blog-content strong {
    position: relative;
    display: inline;
    color: #00ff41 !important;
    /* Neon Green */
    font-weight: 800;
    background: linear-gradient(
        90deg,
        rgba(0, 255, 65, 0.15) 0%,
        rgba(0, 255, 65, 0.08) 50%,
        rgba(0, 255, 65, 0.15) 100%
    );
    background-size: 200% 100%;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 65, 0.2);
    text-shadow: 
        0 0 10px rgba(0, 255, 65, 0.5),
        0 0 20px rgba(0, 255, 65, 0.2);
    box-shadow: 
        0 0 8px rgba(0, 255, 65, 0.1),
        inset 0 0 8px rgba(0, 255, 65, 0.05);
    transition: all 0.3s ease;
    animation: bg-scan 3s linear infinite;
}

@keyframes bg-scan {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.blog-content strong:hover {
    background: linear-gradient(
        90deg,
        rgba(0, 255, 65, 0.25) 0%,
        rgba(0, 255, 65, 0.15) 50%,
        rgba(0, 255, 65, 0.25) 100%
    );
    background-size: 200% 100%;
    border-color: rgba(0, 255, 65, 0.5);
    text-shadow: 
        0 0 15px rgba(0, 255, 65, 0.8),
        0 0 25px rgba(0, 255, 65, 0.4);
    box-shadow: 
        0 0 15px rgba(0, 255, 65, 0.3),
        inset 0 0 15px rgba(0, 255, 65, 0.1);
    transform: translateY(-1px);
}

/* Linhas horizontais */
.blog-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 255, 65, 0.3), transparent);
    margin: 2rem 0 1rem 0;
    /* Base reduzida para 1rem */
}

/* Fix: Remove margem gigante quando um elemento segue o HR */
.blog-content hr+* {
    margin-top: 0 !important;
    padding-top: 1rem !important;
    /* Pequeno respiro interno, se necessário */
}

/* Figures (Imagens e Tabelas Wrappers) */
.blog-content figure {
    margin: 3rem 0;
    display: block;
}

/* ============================================
   MELHORIAS DE ESPAÇAMENTO E RITMO VISUAL
   ============================================ */

/* Paragraphs - Readable body text with tighter line spacing */
.blog-content p {
    text-align: left !important;
    line-height: 1.4;
    margin-bottom: 1.35rem;
    font-size: 1.125rem;
    color: #e2e8f0;
    /* slate-200 for better contrast */
}

/* Blog Card tweaks */
.blog-card { min-height: 420px; }
.blog-card .blog-card-image { height: 18rem; }
.blog-card .blog-card-desc { font-size: 0.95rem; }

/* Larger subtitle lines for cards */
.blog-card .line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* Keep tag bar below image with better wrapping */
.blog-card .tag-bar { display:flex; flex-wrap:wrap; gap:6px; justify-content:flex-start; padding:0.5rem 0.75rem; }
.blog-card .tag-bar a { text-decoration:none }

/* Cabeçalhos - Maior espaçamento vertical para separação clara */
.blog-content h1,
.blog-content h2,
.blog-content h3 {
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 3rem !important;
    margin-bottom: 1.25rem !important;
    position: relative;
    display: inline-block;
    width: 100%;
}

.blog-content h1 {
    color: #86efac !important;
    /* Softer green */
    font-size: 1.75rem;
    border-bottom: none;
}

/* Gradient line for H1 */
.blog-content h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(74, 222, 128, 1) 0%, rgba(74, 222, 128, 0) 80%);
}

.blog-content h2 {
    color: #67e8f9 !important;
    /* Softer cyan */
    font-size: 1.5rem;
    margin-top: 3.5rem !important;
    border-bottom: none;
}

/* Gradient line for H2 - Thinner */
.blog-content h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(34, 211, 238, 1) 0%, rgba(34, 211, 238, 0) 60%);
}

/* Cleanup old vertical bar if present on H2 */
.blog-content h2::before {
    display: none !important;
}

.blog-content h3 {
    color: #e879f9 !important;
    /* Softer purple */
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 3rem !important;
    border-bottom: none;
}

/* Purple Line for H3 */
.blog-content h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(217, 70, 239, 1) 0%, rgba(217, 70, 239, 0) 50%);
    /* Shorter fade for H3 */
}

/* Small accent for H3 - Terminal Style */
.blog-content h3::before {
    content: '> ';
    color: #d946ef;
    opacity: 0.8;
    margin-right: 0.5rem;
    font-weight: 800;
}

/* FIX: Restore code block background and styling */
.blog-content pre {
    background: #0f172a !important;
    /* Slate-900 */
    border: 1px solid rgba(148, 163, 184, 0.1) !important;
    padding: 0 !important;
    /* Code element handles padding */
    margin: 2rem 0 !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden !important;
    /* Contain corners */
}

/* Ensure code inside pre matches formatting */
.blog-content pre code {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
    font-size: 0.9em;
    padding: 1.25rem 1.5rem;
    display: block;
    overflow-x: auto;
    color: #cbd5e1;
    /* Slate-300 */
    line-height: 1.6;
}

/* Override HighlightJS background/border if present */
.blog-content .hljs,
.blog-content pre code.hljs,
.blog-content code[class*="language-"],
.blog-content pre[class*="language-"] {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ============================================
   RESTORED MISSING SECTIONS
   ============================================ */

/* FIX CRÍTICO: Anula margem do H2/H3 se vier log após um HR */
.blog-content hr+h1,
.blog-content hr+h2,
.blog-content hr+h3 {
    margin-top: 1rem !important;
    /* Pequeno respiro após divider */
    padding-top: 0 !important;
}

/* Parágrafos - Leitura confortável */
.blog-content p {
    margin-bottom: 1.2rem;
    line-height: 1.4;
    font-size: 1.125rem;
    color: #e2e8f0;
}

/* Listas - Espaçamento generoso */
.blog-content ul,
.blog-content ol {
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

/* Remove margem negativa antiga */
.blog-content p+ul,
.blog-content p+ol {
    margin-top: 0.5rem !important;
}

/* Itens de lista - Espaçamento vertical */
.blog-content ul li+li,
.blog-content ol li+li {
    margin-top: 1rem;
}

/* ============================================
   COMPONENTES REUTILIZÁVEIS
   ============================================ */

/* Callout/Alert System */
.blog-content .blog-callout {
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid;
    border-radius: 0 0.5rem 0.5rem 0;
    background: rgba(15, 17, 26, 0.5);
    /* Base dark */
}

.blog-content .blog-callout h4 {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-content .blog-callout p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Variant: Danger (Red - Xamarin EOL) */
.blog-content .blog-callout.danger {
    border-color: #ff003c;
    /* Cyberpunk Red */
    background: linear-gradient(90deg, rgba(255, 0, 60, 0.1) 0%, rgba(15, 17, 26, 0) 100%);
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.1);
}

.blog-content .blog-callout.danger h4 {
    color: #ff003c;
    text-shadow: 0 0 8px rgba(255, 0, 60, 0.4);
}

/* Variant: Warning (Yellow/Amber) */
.blog-content .blog-callout.warning {
    border-color: #f59e0b;
    /* Amber 500 */
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.1) 0%, rgba(15, 17, 26, 0) 100%);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
}

.blog-content .blog-callout.warning h4 {
    color: #f59e0b;
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

/* Variant: Info (Blue) */
.blog-content .blog-callout.info {
    border-color: #3b82f6;
    /* Blue 500 */
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1) 0%, rgba(15, 17, 26, 0) 100%);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}

.blog-content .blog-callout.info h4 {
    color: #3b82f6;
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

/* Variant: Success (Green - Simpler than CTA) */
.blog-content .blog-callout.success {
    border-color: #00ff41;
    /* Neon Green */
    background: linear-gradient(90deg, rgba(0, 255, 65, 0.1) 0%, rgba(15, 17, 26, 0) 100%);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.1);
}

.blog-content .blog-callout.success h4 {
    color: #00ff41;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.4);
}

/* Checklist Customizada (Substitui emojis feios) */
.blog-content .checklist {
    list-style: none;
    padding-left: 0;
    margin: 2rem 0;
}

.blog-content .checklist li {
    position: relative;
    padding-left: 2rem;
    /* Espaço para o ícone */
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

/* Remove a seta padrão (▸) se houver conflito */
.blog-content .checklist li::before {
    content: "\f00c" !important;
    /* FontAwesome Check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    /* Ajuste fino vertical */
    color: #00ff41;
    /* Neon Green */
    font-size: 1em;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
    /* Glow */
}

/* Exceções de proximidade */
.blog-content h2+p,
.blog-content h3+p {
    margin-top: 0 !important;
}

/* Limpeza primeiro/último */
.blog-content>*:first-child {
    margin-top: 0 !important;
}

/* Responsive Iframe (YouTube Embeds) */
/* Responsive Iframe (Universal Support) */
.blog-content iframe,
.blog-content .video-responsive iframe,
.blog-content video {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    margin: 2rem 0;
    display: block;
    border: none;
}

/* Cleanup old container wrapper styles if present */
.blog-content .video-responsive {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    height: auto;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}


/* ============================================
   MARKDIG ALERTS SUPPORT (GitHub Style)
   ============================================ */

.blog-content .markdown-alert {
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid;
    border-radius: 0 0.5rem 0.5rem 0;
    background: rgba(15, 17, 26, 0.5);
    /* Base Dark */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.blog-content .markdown-alert-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 0.5rem !important;
    letter-spacing: 0.05em;
}

/* Icons scaling */
.blog-content .markdown-alert-icon {
    width: 1.25em;
    height: 1.25em;
    fill: currentColor;
}

/* Red / Caution / Danger */
.blog-content .markdown-alert-caution,
.blog-content .markdown-alert-danger {
    border-color: #ff003c;
    background: linear-gradient(90deg, rgba(255, 0, 60, 0.1) 0%, rgba(15, 17, 26, 0) 100%);
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.05);
    /* Subtle Glow */
}

.blog-content .markdown-alert-caution .markdown-alert-title,
.blog-content .markdown-alert-danger .markdown-alert-title {
    color: #ff003c;
    text-shadow: 0 0 10px rgba(255, 0, 60, 0.3);
}

/* Yellow / Warning */
.blog-content .markdown-alert-warning {
    border-color: #f59e0b;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.1) 0%, rgba(15, 17, 26, 0) 100%);
}

.blog-content .markdown-alert-warning .markdown-alert-title {
    color: #f59e0b;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

/* Green / Tip */
.blog-content .markdown-alert-tip {
    border-color: #00ff41;
    background: linear-gradient(90deg, rgba(0, 255, 65, 0.1) 0%, rgba(15, 17, 26, 0) 100%);
}

.blog-content .markdown-alert-tip .markdown-alert-title {
    color: #00ff41;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

/* Blue / Note */
.blog-content .markdown-alert-note {
    border-color: #3b82f6;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1) 0%, rgba(15, 17, 26, 0) 100%);
}

.blog-content .markdown-alert-note .markdown-alert-title {
    color: #3b82f6;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

/* Purple / Important */
.blog-content .markdown-alert-important {
    border-color: #d946ef;
    background: linear-gradient(90deg, rgba(217, 70, 239, 0.1) 0%, rgba(15, 17, 26, 0) 100%);
}

.blog-content .markdown-alert-important .markdown-alert-title {
    color: #d946ef;
    text-shadow: 0 0 10px rgba(217, 70, 239, 0.3);
}

/* ============================================
   CYBER CTA (Enhanced with Animations)
   ============================================ */
.blog-content .cyber-cta {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 3rem auto;
    padding: 3rem 2.5rem;
    background: linear-gradient(135deg, #080a0f 0%, #0d1117 50%, #080a0f 100%);
    border: 2px solid #00ff41;
    border-radius: 16px;
    text-align: center;
    max-width: 100%;
    box-shadow:
        0 0 30px rgba(0, 255, 65, 0.15),
        inset 0 0 60px rgba(0, 255, 65, 0.03);
    animation: cta-glow 3s ease-in-out infinite;
    overflow: hidden;
}

/* Animated glow effect */
@keyframes cta-glow {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(0, 255, 65, 0.15), inset 0 0 60px rgba(0, 255, 65, 0.03);
        border-color: #00ff41;
    }

    50% {
        box-shadow: 0 0 50px rgba(0, 255, 65, 0.3), inset 0 0 80px rgba(0, 255, 65, 0.05);
        border-color: #5aff85;
    }
}

/* Corner accents */
.blog-content .cyber-cta::before,
.blog-content .cyber-cta::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid #00ff41;
    z-index: 10;
}

.blog-content .cyber-cta::before {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.blog-content .cyber-cta::after {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

/* Hide any leftover HUD elements */
.blog-content .cyber-cta .cta-grid,
.blog-content .cyber-cta .corner,
.blog-content .cyber-cta-content {
    display: contents !important;
}

/* Headings - Gradient glow effect */
.blog-content .cyber-cta h1,
.blog-content .cyber-cta h2,
.blog-content .cyber-cta h3,
.blog-content .cyber-cta h4 {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    background: linear-gradient(90deg, #00ff41, #7dffb3, #00ff41) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: title-shimmer 3s linear infinite !important;
    margin: 0 0 1.5rem 0 !important;
    padding: 0 !important;
    border: none !important;
    filter: drop-shadow(0 0 20px rgba(0, 255, 65, 0.5));
}

@keyframes title-shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* Paragraphs */
.blog-content .cyber-cta p {
    color: #cbd5e1 !important;
    font-size: 1.15rem;
    line-height: 1.8;
    margin: 0 auto 2rem auto !important;
    max-width: 650px;
}

/* Links/Buttons - Enhanced */
.blog-content .cyber-cta a {
    position: relative !important;
    display: inline-block !important;
    padding: 1.2rem 3rem !important;
    background: linear-gradient(135deg, #00ff41 0%, #00cc33 100%) !important;
    color: #000 !important;
    font-weight: 900 !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    letter-spacing: 1px !important;
    border-radius: 8px !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow:
        0 0 25px rgba(0, 255, 65, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.3) !important;
    margin-top: 1rem;
    overflow: hidden !important;
}

/* Button shine effect */
.blog-content .cyber-cta a::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
    transition: left 0.5s ease !important;
}

.blog-content .cyber-cta a:hover::before {
    left: 100% !important;
}

.blog-content .cyber-cta a:hover {
    background: linear-gradient(135deg, #5aff85 0%, #00ff41 100%) !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow:
        0 0 50px rgba(0, 255, 65, 0.6),
        0 8px 25px rgba(0, 0, 0, 0.4) !important;
    color: #000 !important;
}

/* Remove default link ::after */
.blog-content .cyber-cta a::after {
    display: none !important;
    content: none !important;
}

/* ============================================
   LIGHTBOX (Full Screen Image Viewer)
   ============================================ */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 10, 15, 0.95);
    /* Deep dark background */
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-container {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-image.active {
    transform: scale(1);
    box-shadow: 0 0 50px rgba(0, 255, 65, 0.1), 0 0 0 1px rgba(0, 255, 65, 0.3);
    /* Subtle neon border */
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.2s;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    color: #00ff41;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

/* ============================================
   BLOG CARD STYLES (Grid View)
   ============================================ */

.blog-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Cyber glow on hover */
.blog-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.3), rgba(217, 70, 239, 0.3));
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(10px);
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(34, 211, 238, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(34, 211, 238, 0.2);
}

/* Image hover effect */
.blog-card-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.blog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(34, 211, 238, 0.1) 0%,
        transparent 50%,
        rgba(217, 70, 239, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.blog-card:hover .blog-card-image::after {
    opacity: 1;
}

/* Scanline effect for list view */
.scanline-effect {
    position: relative;
}

.scanline-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(34, 211, 238, 0.4) 30%,
        rgba(34, 211, 238, 0.6) 50%,
        rgba(34, 211, 238, 0.4) 70%,
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scanline-effect:hover::before {
    opacity: 1;
    animation: scanline-pulse 2s ease-in-out infinite;
}

@keyframes scanline-pulse {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(100%);
        opacity: 1;
    }
}

/* ============================================
   CYBERPUNK REVEAL ANIMATION
   ============================================ */

/* Keyframe: Cyber Glitch Fade In */
@keyframes cyber-reveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px) brightness(0.5);
        text-shadow: 
            -2px 0 0 rgba(0, 255, 65, 0.8),
            2px 0 0 rgba(14, 165, 233, 0.8);
    }
    20% {
        opacity: 0.3;
        filter: blur(3px) brightness(0.7);
    }
    40% {
        opacity: 0.6;
        filter: blur(1px) brightness(0.9);
        text-shadow: 
            -1px 0 0 rgba(0, 255, 65, 0.4),
            1px 0 0 rgba(14, 165, 233, 0.4);
    }
    60% {
        opacity: 0.9;
        filter: blur(0.5px) brightness(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0) brightness(1);
        text-shadow: none;
    }
}

/* Scanline Effect */
@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100vh);
    }
}

/* Apply animation to blog content container */
.blog-content.cyber-fade-in {
    animation: cyber-reveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    position: relative;
}

/* Cascade effect for child elements */
.blog-content.cyber-fade-in > * {
    opacity: 0;
    animation: cyber-reveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.blog-content.cyber-fade-in > *:nth-child(1) {
    animation-delay: 0.1s;
}

.blog-content.cyber-fade-in > *:nth-child(2) {
    animation-delay: 0.15s;
}

.blog-content.cyber-fade-in > *:nth-child(3) {
    animation-delay: 0.2s;
}

.blog-content.cyber-fade-in > *:nth-child(4) {
    animation-delay: 0.25s;
}

.blog-content.cyber-fade-in > *:nth-child(5) {
    animation-delay: 0.3s;
}

.blog-content.cyber-fade-in > *:nth-child(n+6) {
    animation-delay: 0.35s;
}

/* Optional: Scanline overlay effect (subtle) */
.blog-content.cyber-fade-in::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0, 255, 65, 0.8) 50%,
        transparent
    );
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
    animation: scanline 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    pointer-events: none;
    z-index: 100;
    opacity: 0.6;
}