/* Blog-specific retro cyber theme overrides */

/* Reset and base styles for consistency */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.retro-cyber {
    background-color: var(--bg-dark);
    color: var(--light-text);
    font-family: 'VCR OSD Mono', 'Courier New', monospace;
    line-height: 1.6;
    position: relative;
}

/* Consistent heading styling */
.retro-cyber h1, 
.retro-cyber h2, 
.retro-cyber h3, 
.retro-cyber h4, 
.retro-cyber .cyber-text {
    font-family: 'Lazer84', 'VCR OSD Mono', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--neon-purple);
}

/* Blog-specific layout adjustments */
.blog-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.blog-post-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.blog-post-header::after {
    content: '';
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Author section */
.blog-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--secondary);
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
}

.author-info {
    display: flex;
    flex-direction: column;
}

/* Blog navigation */
.blog-nav {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    padding: 1rem 0;
}

.blog-nav a {
    padding: 0.5rem 1rem;
    border: 1px solid var(--secondary);
    text-decoration: none;
    font-family: 'VCR OSD Mono', monospace;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.blog-nav a:hover {
    background-color: var(--secondary);
    color: var(--dark);
}

/* Blog metadata */
.blog-meta-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-family: 'VCR OSD Mono', monospace;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.blog-meta-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-meta-info i {
    color: var(--secondary);
}

/* Reading progress indicator */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 1000;
    transition: width 0.1s;
}

/* Form styling */
.cyber-form .form-group {
    margin-bottom: 1.5rem;
}

.cyber-input, .cyber-textarea {
    background-color: rgba(10, 11, 19, 0.7);
    border: 1px solid var(--secondary);
    color: var(--light-text);
    padding: 0.75rem;
    width: 100%;
    font-family: 'VCR OSD Mono', monospace;
}

.cyber-input:focus, .cyber-textarea:focus {
    outline: none;
    box-shadow: 0 0 10px var(--secondary);
    border-color: var(--secondary);
}

.cyber-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary);
    font-family: 'VCR OSD Mono', monospace;
}

/* Blog post content styles */
.blog-body {
    line-height: 1.8;
    margin-bottom: 2rem;
}

.blog-body p {
    margin-bottom: 1.5rem;
    color: var(--light-text, #e2fcff);
}

.blog-body h2, .blog-body h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.blog-body h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary, #00ffff), transparent);
}

.blog-body ul, .blog-body ol {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
}

.blog-body li {
    margin-bottom: 0.5rem;
}

.blog-body img {
    max-width: 100%;
    border: 1px solid var(--secondary, #00ffff);
    margin: 1.5rem 0;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.blog-body blockquote {
    border-left: 3px solid var(--secondary, #00ffff);
    padding-left: 1rem;
    margin: 1.5rem 0;
    background: rgba(0, 255, 255, 0.05);
    padding: 1rem;
}

/* Code blocks */
.blog-body pre {
    background: rgba(18, 11, 30, 0.8);
    padding: 1.5rem;
    border-radius: 4px;
    margin: 1.5rem 0;
    overflow-x: auto;
    border: 1px solid rgba(0, 255, 255, 0.3);
    font-family: 'VCR OSD Mono', monospace;
}

.blog-body code {
    font-family: 'VCR OSD Mono', monospace;
    color: var(--secondary, #00ffff);
}

/* Tags styling */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(12, 3, 32, 0.7);
    color: var(--secondary, #00ffff);
    border: 1px solid var(--secondary, #00ffff);
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--secondary, #00ffff);
    color: var(--dark, #120b1e);
}

/* Related posts */
.related-posts {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.related-posts h3 {
    margin-bottom: 1.5rem;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.post-card {
    background: rgba(12, 3, 32, 0.7);
    border: 1px solid var(--secondary, #00ffff);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.2);
}

.post-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.post-content {
    padding: 1rem;
}

.post-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.post-content a {
    color: var(--secondary, #00ffff);
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-content a:hover {
    text-shadow: 0 0 5px var(--secondary, #00ffff);
}

.post-date {
    font-size: 0.8rem;
    color: var(--text-medium, #b0c4ff);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-meta-info {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .blog-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .blog-nav a {
        width: 100%;
        justify-content: center;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog-specific styling for Lackadaisical Security */

/* Post meta information */
.post-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-medium);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    padding-bottom: 0.5rem;
}

.post-date {
    font-weight: bold;
}

.post-author {
    opacity: 0.8;
}

/* Blog post header */
.post-header {
    margin-bottom: 2rem;
}

.post-header h2 {
    font-size: 1.8rem;
    color: var(--light);
    margin-bottom: 1rem;
    font-family: 'Lazer84', sans-serif;
    text-shadow: 0 0 10px rgba(255, 0, 170, 0.5);
}

/* Blog post image with border */
.post-image {
    background-color: rgba(12, 3, 32, 0.7);
    border: 1px solid var(--secondary);
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.placeholder-image {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(255, 0, 170, 0.1), rgba(0, 255, 255, 0.1));
}

.image-caption {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin: 0.5rem 0 0 0;
}

/* Blog content */
.post-content {
    margin-bottom: 3rem;
    line-height: 1.7;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h3 {
    margin: 2.5rem 0 1rem 0;
    color: var(--primary);
    font-size: 1.5rem;
}

.post-content ul, .post-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content a {
    color: var(--secondary);
    text-decoration: none;
    border-bottom: 1px dashed var(--secondary);
    transition: all 0.3s ease;
}

.post-content a:hover {
    color: var(--primary);
    border-bottom: 1px solid var(--primary);
}

/* Cyber heading styling */
.cyber-heading {
    color: var(--primary);
    font-family: 'Lazer84', sans-serif;
    margin: 2.5rem 0 1.5rem 0;
    position: relative;
}

.cyber-heading:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

/* Code styling */
.code-example {
    background-color: rgba(12, 3, 32, 0.7);
    border: 1px solid var(--secondary);
    border-radius: 4px;
    padding: 1.5rem;
    margin: 2rem 0;
    overflow-x: auto;
}

.code-block {
    white-space: pre;
    font-family: 'VCR OSD Mono', monospace;
    color: var(--secondary);
    line-height: 1.5;
    overflow-x: auto;
}

/* CTA section */
.cta-section {
    background: rgba(26, 10, 64, 0.7);
    border: 1px solid var(--primary);
    border-radius: 4px;
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
}

.cta-section h3 {
    font-family: 'Lazer84', sans-serif;
    color: var(--light);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.cta-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Related articles */
.related-articles {
    margin-top: 3rem;
}

.related-articles h3 {
    font-family: 'Lazer84', sans-serif;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.article-item {
    background: rgba(12, 3, 32, 0.7);
    border: 1px solid var(--secondary);
    border-radius: 4px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.article-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(255, 0, 170, 0.2);
}

.article-item h4 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.article-item p {
    color: var(--light-text);
    font-size: 0.9rem;
    margin: 0;
}

/* Shield icon for placeholder images */
.cyber-shield-icon {
    position: relative;
    width: 120px;
    height: 140px;
}

.shield-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: 0 0 20px rgba(255, 0, 170, 0.5);
}

.shield-inner {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    background: rgba(12, 3, 32, 0.7);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.shield-lock {
    position: absolute;
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    background: var(--secondary);
    clip-path: polygon(50% 0%, 100% 35%, 80% 100%, 20% 100%, 0% 35%);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    from { opacity: 0.7; }
    to { opacity: 1; box-shadow: 0 0 20px rgba(0, 255, 255, 0.9); }
}

/* Blog navigation styling */
.blog-nav {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.blog-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.blog-nav ul li a {
    color: var(--light-text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.blog-nav ul li.active a {
    background: rgba(0, 255, 255, 0.1);
    color: var(--secondary);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.blog-nav ul li a:hover {
    color: var(--secondary);
    background: rgba(0, 255, 255, 0.05);
}

/* Navigation buttons */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .blog-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-list {
        grid-template-columns: 1fr;
    }
    
    .nav-buttons {
        flex-direction: column;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Blog-specific styling extending the base cyber theme */

/* Blog post content layout */
.blog-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* Post metadata styling */
.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.post-date {
    font-family: 'VCR OSD Mono', monospace;
    letter-spacing: 1px;
}

.post-author {
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* Post header styling */
.post-header {
    margin-bottom: 2rem;
    text-align: center;
}

.post-header h2 {
    font-size: 2rem;
    color: var(--light);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Post image styling */
.post-image {
    margin: 2rem 0;
    border-radius: 4px;
    overflow: hidden;
}

.placeholder-image {
    background-color: rgba(12, 3, 32, 0.7);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.image-caption {
    background-color: rgba(12, 3, 32, 0.9);
    padding: 0.75rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--secondary);
    border-top: 1px solid rgba(0, 255, 255, 0.3);
}

/* Cyber shield icon */
.cyber-shield-icon {
    width: 120px;
    height: 140px;
    position: relative;
}

.shield-outer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 255, 255, 0.1);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 2px solid var(--secondary);
    box-shadow: 0 0 15px var(--secondary);
    animation: pulse 2s infinite;
}

.shield-inner {
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    background-color: rgba(255, 0, 170, 0.1);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 2px solid var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.shield-lock {
    position: absolute;
    top: 35%;
    left: 35%;
    width: 30%;
    height: 40%;
    border: 2px solid var(--secondary);
    border-radius: 5px;
    box-shadow: 0 0 8px var(--secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.shield-lock::before {
    content: "";
    width: 50%;
    height: 40%;
    border: 2px solid var(--secondary);
    border-bottom: none;
    border-radius: 50% 50% 0 0;
    position: absolute;
    top: -20%;
    box-shadow: 0 0 8px var(--secondary);
}

/* Feature section styling */
.feature-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item {
    background: rgba(18, 11, 30, 0.7);
    border: 1px solid var(--secondary);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
    border-color: var(--primary);
}

.feature-item h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Code example styling */
.code-example {
    background-color: rgba(12, 3, 32, 0.7);
    border: 1px solid var(--secondary);
    border-radius: 4px;
    padding: 1.5rem;
    margin: 2rem 0;
    overflow-x: auto;
}

.code-block {
    white-space: pre;
    font-family: 'VCR OSD Mono', monospace;
    color: var(--secondary);
    line-height: 1.5;
}

/* Article styling */
.post-content h3 {
    color: var(--primary);
    margin: 2rem 0 1rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

.post-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.post-content ul, .post-content ol {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.post-content li {
    margin-bottom: 0.75rem;
}

/* CTA section styling */
.cta-section {
    margin: 3rem 0 2rem;
    text-align: center;
    padding: 2rem;
    background-color: rgba(18, 11, 30, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
}

.cta-section h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.cta-section p {
    margin-bottom: 1.5rem;
}

/* Related articles section */
.related-articles {
    margin-top: 3rem;
}

.related-articles h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.article-item {
    background: rgba(18, 11, 30, 0.7);
    padding: 1.5rem;
    text-decoration: none;
    color: var(--light-text);
    transition: all 0.3s ease;
    display: block;
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
    border-color: var(--primary);
}

.article-item h4 {
    color: var(--secondary);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.article-item p {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Cyber heading style */
.cyber-heading {
    color: var(--primary);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    margin: 2rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 0, 170, 0.3);
    position: relative;
}

.cyber-heading::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100px;
    height: 1px;
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* Cyber border style */
.cyber-border {
    border: 1px solid var(--secondary);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.cyber-border::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .feature-section {
        grid-template-columns: 1fr;
    }
    
    .article-list {
        grid-template-columns: 1fr;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Timeline styling for articles that use it */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
}

.timeline-year {
    width: 100px;
    text-align: right;
    padding-right: 2rem;
    font-weight: bold;
}

.timeline-content {
    flex-grow: 1;
    padding-left: 2rem;
    position: relative;
}

.timeline-content::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background-color: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary);
}

/* Warning box styling */
.warning-box {
    background-color: rgba(255, 0, 100, 0.2);
    border: 2px solid var(--primary);
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
}

.warning-box::before {
    content: "⚠️";
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    background: rgba(12, 3, 32, 0.9);
    padding: 0 0.5rem;
    font-size: 1rem;
}

.warning-box h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Add missing cyber animations */
@keyframes glitching {
    0% { text-shadow: 0.05em 0 0 rgba(255, 0, 170, 0.75), -0.025em -0.05em 0 rgba(0, 255, 255, 0.75), 0.025em 0.05em 0 rgba(57, 255, 20, 0.75); }
    14% { text-shadow: 0.05em 0 0 rgba(255, 0, 170, 0.75), -0.05em -0.025em 0 rgba(0, 255, 255, 0.75), -0.025em 0.05em 0 rgba(57, 255, 20, 0.75); }
    15% { text-shadow: -0.05em -0.025em 0 rgba(255, 0, 170, 0.75), 0.025em 0.025em 0 rgba(0, 255, 255, 0.75), -0.05em -0.05em 0 rgba(57, 255, 20, 0.75); }
    49% { text-shadow: -0.05em -0.025em 0 rgba(255, 0, 170, 0.75), 0.025em 0.025em 0 rgba(0, 255, 255, 0.75), -0.05em -0.05em 0 rgba(57, 255, 20, 0.75); }
    50% { text-shadow: 0.025em 0.05em 0 rgba(255, 0, 170, 0.75), 0.05em 0 0 rgba(0, 255, 255, 0.75), 0 -0.05em 0 rgba(57, 255, 20, 0.75); }
    100% { text-shadow: -0.025em 0 0 rgba(255, 0, 170, 0.75), -0.025em -0.025em 0 rgba(0, 255, 255, 0.75), -0.025em -0.05em 0 rgba(57, 255, 20, 0.75); }
}

@keyframes borderGlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes starPulse {
    0% { text-shadow: 0 0 5px var(--secondary, #00ffff); }
    100% { text-shadow: 0 0 15px var(--secondary, #00ffff), 0 0 20px var(--secondary, #00ffff); }
}

/* Cyber particle styling */
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: var(--secondary, #00ffff);
    border-radius: 50%;
    opacity: 0.7;
    box-shadow: 0 0 8px var(--secondary, #00ffff);
    animation: floatParticle 20s infinite ease-in-out;
    z-index: -1;
}

@keyframes floatParticle {
    0% { transform: translate(0, 0); }
    25% { transform: translate(20px, 10px); }
    50% { transform: translate(10px, 30px); }
    75% { transform: translate(-10px, 20px); }
    100% { transform: translate(0, 0); }
}

/* Data stream styling */
.stream {
    position: absolute;
    width: 1px;
    background: linear-gradient(to bottom, rgba(0, 195, 255, 0), rgba(0, 195, 255, 0.7), rgba(0, 195, 255, 0));
    animation: streamFlow 25s linear infinite;
    opacity: 0.4;
}

@keyframes streamFlow {
    from { transform: translateY(-100%); }
    to { transform: translateY(100vh); }
}

/* Glow orbs */
.glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
    animation: pulse-glow 8s ease-in-out infinite alternate;
}

.primary-orb {
    background-color: var(--primary, #ff00aa);
    opacity: 0.15;
}

.secondary-orb {
    background-color: var(--secondary, #00ffff);
    opacity: 0.1;
}

/* Retro sun glow */
.retro-sun {
    background: radial-gradient(ellipse at center, var(--primary, #ff00aa) 0%, transparent 70%);
}

/* Make glitching class use the glitching animation */
.glitching {
    animation: glitching 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Blog card styling consistent with index.html */
.blog-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(12, 3, 32, 0.7);
    border: 1px solid var(--secondary);
    border-radius: 4px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.2);
}

.post-title {
    color: var(--light);
    margin-top: 0;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.post-version, .post-date {
    color: var(--secondary);
}

.post-category {
    color: var(--text-medium);
}

.post-excerpt {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Ensure all cyber buttons in blog match index.html */
.cyber-button {
    background-color: transparent;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    font-family: var(--font-main);
    text-align: center;
}

.cyber-button:hover {
    background-color: var(--secondary);
    color: var(--dark);
    box-shadow: 0 0 10px var(--secondary);
}
