/* Headings with neon effect */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: #fff;
    text-shadow: 
        0 0 5px var(--neon-cyan),
        0 0 10px var(--neon-cyan),
        0 0 20px var(--neon-cyan);
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.5rem;
}

/* Subtle animated underline for headings */
h1::after, h2::after, h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: width 0.5s ease;
}

h1:hover::after, h2:hover::after, h3:hover::after {
    width: 100%;
}

/* Links */
a {
    color: var(--neon-cyan);
    text-decoration: none;
    border-bottom: 1px dotted rgba(0, 255, 255, 0.5);
    transition: all 0.2s ease;
}

a:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 5px var(--neon-pink);
    border-bottom: 1px solid var(--neon-pink);
}

/* Ensure links in cards are visible */
.card a {
    color: #00e5ff;
    text-decoration: underline;
}

.email-link:hover {
    background-position: 100% 0;
    text-shadow: 
        0 0 5px var(--neon-cyan),
        0 0 10px var(--neon-pink);
}

.email-link {
    display: inline-block;
    position: relative;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-pink), var(--neon-cyan));
    background-size: 200% 200%;
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
            color: var(--neon-cyan);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed rgba(0,255,255,0.3);
    letter-spacing: 0.5px;
}
.blog {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.blog-title {
    text-align: center;
    margin-bottom: 2rem;
}

.blog-list .blog-post-preview {
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.blog-post-preview h2 {
    margin-top: 0;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.tags .tag {
    display: inline-block;
    background: #e9ecef;
    color: #495057;
    padding: 0.2em 0.5em;
    border-radius: 0.25em;
    font-size: 0.8em;
    margin-right: 0.3em;
}

.read-more {
    display: inline-block;
    margin-top: 0.5rem;
    color: #007bff;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

.post-content {
    line-height: 1.6;
}

.post-content h1, .post-content h2, .post-content h3 {
    color: #2c3e50;
}

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

.back-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: #007bff;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.loading, .no-posts, .not-found {
    text-align: center;
    padding: 2rem;
    color: #666;
}
.youtube-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; 
    height: 0;
}
.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.rotary-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(108, 92, 231, 0.05) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(0, 123, 255, 0.1);
}

.rotary-selector button {
    padding: 0.75rem 1.5rem;
    border: 2px solid #007bff;
    background: white;
    color: #007bff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rotary-selector button:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 123, 255, 0.3);
}

.rotary-selector button.active {
    background: linear-gradient(135deg, #007bff 0%, #6c5ce7 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.rotary-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #007bff;
    background: white;
    color: #007bff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}