:root {
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --primary-color: #3b82f6;
    --secondary-color: #6366f1;
    --accent-color: #10b981;
    --hover-color: #f1f5f9;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --gradient-start: #f8fafc;
    --gradient-end: #f1f5f9;
}

[data-theme="dark"] {
    --bg-color: #0f172a;
    --text-color: #e2e8f0;
    --card-bg: #1e293b;
    --card-border: #334155;
    --primary-color: #60a5fa;
    --secondary-color: #818cf8;
    --accent-color: #34d399;
    --hover-color: #2d3748;
    --shadow-color: rgba(0, 0, 0, 0.4);
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --gradient-start: #1e293b;
    --gradient-end: #0f172a;
}

[data-theme="dark"] body {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

[data-theme="dark"] .card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(10px);
    border-radius: 12px;
}

[data-theme="dark"] .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

[data-theme="dark"] .header {
    background: linear-gradient(135deg, var(--card-bg), var(--hover-color));
    border: 1px solid var(--card-border);
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
    z-index: 1;
}

[data-theme="dark"] .social-links a {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 12px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .social-links a:hover {
    background: var(--hover-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
}

[data-theme="dark"] .theme-toggle {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
}

[data-theme="dark"] .theme-toggle:hover {
    background: var(--hover-color);
    border-color: var(--primary-color);
    transform: scale(1.1) rotate(180deg);
}

[data-theme="dark"] .theme-toggle img {
    filter: invert(1);
}

[data-theme="dark"] .about-me .certification-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .about-me .certification-item:hover {
    background: var(--hover-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
}

[data-theme="dark"] .about-me .certification-item span {
    color: var(--text-color);
}

[data-theme="dark"] .card ul li {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    margin: 8px 0;
    padding: 12px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .card ul li:hover {
    background: var(--hover-color);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

[data-theme="dark"] .card ul li a {
    color: var(--text-color);
}

[data-theme="dark"] .post-date {
    color: #94a3b8;
}

[data-theme="dark"] .footer {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: auto;
    padding: 20px;
    border-radius: 12px;
    width: calc(100% - 40px);
    position: relative;
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
    max-width: 1400px;
    flex-shrink: 0;
}

[data-theme="dark"] .footer-links a {
    color: var(--text-color);
    transition: all 0.3s ease;
}

[data-theme="dark"] .footer-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

[data-theme="dark"] .footer-links img {
    filter: invert(1);
    transition: all 0.3s ease;
}

[data-theme="dark"] .footer-links img:hover {
    filter: invert(0.8) brightness(1.2);
}

[data-theme="dark"] .loading {
    background: var(--card-bg);
}

[data-theme="dark"] .loading::after {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

[data-theme="dark"] .error {
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
    border-radius: 8px;
    padding: 8px;
}

[data-theme="dark"] .error::before,
[data-theme="dark"] .error::after {
    background: #f87171;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: var(--bg-color);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

[data-theme="dark"] .bsky-embed {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
}

html {
    height: 100%;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-color);
    transition: all 0.3s ease;
    line-height: 1.6;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 20px;
}

.content-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    flex: 1 0 auto;
}

.footer-wrapper {
    flex-shrink: 0;
    width: 100%;
    max-width: 1400px;
    margin: 20px auto 0 auto;
}

.footer {
    width: 100%;
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.footer p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.9em;
    line-height: 1.5;
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--secondary-color);
}

[data-theme="dark"] .footer {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    z-index: 1000;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(180deg);
    background: var(--hover-color);
    border-color: var(--primary-color);
}

/* Social Links */
.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
    width: 100%;
}

.social-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    text-align: center;
    width: 100%;
}

.social-links img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: var(--hover-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.social-links a:hover img {
    transform: scale(1.1);
}

/* Recent Posts */
#recent-posts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    background: transparent;
    list-style: none;
    padding: 0;
    margin: 0;
}

#recent-posts li {
    background: var(--hover-color);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 15px;
    margin: 0;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    list-style-type: none;
}

#recent-posts li:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
    background: var(--card-bg);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

#recent-posts li a {
    text-decoration: none;
    color: var(--text-color);
    display: block;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
}

#recent-posts li a:hover {
    color: var(--primary-color);
}

#recent-posts .post-date {
    display: block;
    font-size: 0.85em;
    color: #64748b;
    margin-top: 5px;
    font-weight: 400;
}

#recent-posts .error {
    color: #e53e3e;
    text-align: center;
    padding: 15px;
    background-color: rgba(229, 62, 62, 0.1);
    border: 1px solid rgba(229, 62, 62, 0.3);
    border-radius: 8px;
}

.loading {
    text-align: center;
    padding: 15px;
    color: var(--text-color);
    opacity: 0.8;
    font-style: italic;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--card-border);
    width: 100%;
    display: block;
}

.error {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    padding: 8px;
}

.error::before,
.error::after {
    background: #ef4444;
}

/* About Me Section */
.about-me {
    text-align: center;
    padding: 20px;
}

.about-me h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 24px;
}

.about-me .ccie-number {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.about-me .ccie-badge-container {
    margin: 20px auto;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    width: fit-content;
}

.about-me .ccie-badge-container:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.about-me .ccie-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.about-me .ccie-badge img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    display: block;
}

.about-me .certifications {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.about-me .certification-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.about-me .certification-item.airdata-badge {
    padding: 0;
    max-width: 171px;
    background: none;
    border: none;
    box-shadow: none;
    margin: 0 auto;
}

.about-me .certification-item.airdata-badge:hover {
    transform: none;
    background: none;
    border: none;
    box-shadow: none;
}

.about-me .certification-item.airdata-badge img {
    width: 171px;
    height: 45px;
    margin: 0 auto;
    display: block;
}

.about-me .certification-item:hover {
    transform: translateY(-3px);
    background: var(--hover-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.about-me .certification-item:hover .ccie-badge,
.about-me .certification-item:hover img {
    transform: scale(1.05);
}

.about-me .certification-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.about-me .certification-item span {
    font-size: 14px;
    color: var(--text-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Bluesky Embed */
.bsky-embed {
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    margin-top: 15px;
}

.bsky-embed iframe {
    border: none;
    width: 100%;
    max-height: 800px;
    overflow-y: auto;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .row {
        grid-template-columns: 1fr 1.5fr;
    }
    
    .leftcolumn {
        grid-column: 1;
    }
    
    .middlecolumn {
        grid-column: 2;
    }
    
    .rightcolumn {
        grid-column: 1 / -1;
    }
}

@media screen and (max-width: 800px) {
    .row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .leftcolumn, .middlecolumn, .rightcolumn {
        grid-column: 1;
        width: 100%;
    }
    
    .header {
        font-size: 28px;
        padding: 15px;
        margin: 10px;
    }

    .header h1 {
        font-size: 32px;
    }

    .card {
        margin: 10px;
        padding: 15px;
    }

    .social-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .ccie-badge img {
        width: 120px;
        height: 120px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .theme-toggle {
        top: 10px;
        right: 10px;
        padding: 8px;
    }
}

@media screen and (max-width: 480px) {
    .header {
        font-size: 24px;
        padding: 10px;
        margin: 5px;
    }

    .header h1 {
        font-size: 28px;
    }

    .card {
        margin: 5px;
        padding: 12px;
    }

    .social-links {
        grid-template-columns: 1fr;
    }

    .social-links img {
        width: 32px;
        height: 32px;
    }

    .ccie-badge img {
        width: 100px;
        height: 100px;
    }

    .certifications {
        gap: 15px;
    }

    .about-me .certification-item.airdata-badge img {
        width: 140px;
        height: 37px;
    }

    .footer {
        padding: 15px;
        font-size: 0.85em;
    }

    .footer p {
        font-size: 0.9em;
    }

    #recent-posts li a {
        font-size: 13px;
    }

    .post-date {
        font-size: 0.8em;
    }

    .bsky-embed iframe {
        max-height: 600px;
    }
}

/* Add touch-friendly styles */
@media (hover: none) {
    .card:hover,
    .social-links a:hover,
    .pgp-link:hover,
    .skill-category:hover,
    #recent-posts li:hover {
        transform: none;
    }

    .card:active,
    .social-links a:active,
    .pgp-link:active,
    .skill-category:active,
    #recent-posts li:active {
        transform: scale(0.98);
    }
}

/* Improve scrolling on mobile */
@media screen and (max-width: 800px) {
    html {
        scroll-behavior: smooth;
    }

    body {
        -webkit-overflow-scrolling: touch;
    }

    .page-container {
        padding: 10px;
    }

    .content-wrapper {
        padding: 0 5px;
    }
}

/* Optimize images for mobile */
@media screen and (max-width: 480px) {
    img {
        max-width: 100%;
        height: auto;
    }

    .social-links img {
        max-width: 32px;
        max-height: 32px;
    }
}

/* Improve text readability on mobile */
@media screen and (max-width: 480px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    .card h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .skill-category h3 {
        font-size: 16px;
    }
}

/* Add better spacing for mobile */
@media screen and (max-width: 480px) {
    .card {
        margin-bottom: 15px;
    }

    .card ul li {
        padding: 10px;
    }

    .social-links a {
        padding: 10px;
    }

    .pgp-link {
        padding: 8px;
    }

    .footer {
        margin-top: 20px;
    }
}

/* Skills Section */
.skills-grid {
    display: grid;
    gap: 15px;
    margin-top: 15px;
}

.skill-category {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.skill-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-category li {
    color: var(--text-color);
    padding: 5px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--card-border);
}

.skill-category li:last-child {
    border-bottom: none;
}

[data-theme="dark"] .skill-category {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}

[data-theme="dark"] .skill-category:hover {
    background: var(--hover-color);
    border-color: var(--primary-color);
}

[data-theme="dark"] .skill-category li {
    border-bottom-color: var(--card-border);
}

.pgp-key {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.pgp-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.pgp-icon {
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

.pgp-link:hover {
    transform: translateY(-3px);
    background: var(--hover-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.pgp-link:hover .pgp-icon {
    transform: scale(1.1);
}

[data-theme='dark'] .pgp-icon {
    filter: invert(1);
}

.pgp-link:hover .pgp-icon {
    transform: scale(1.1);
}

.card {
    background-color: var(--card-bg);
    padding: 25px;
    margin-top: 20px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ccie-badge {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 20px 0;
    padding: 0;
}

.ccie-badge img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    display: block;
}

.certifications {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.card ul li {
    margin: 0;
    padding: 15px;
    border-radius: 8px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    display: block;
    width: 100%;
}

.card ul li:hover {
    background: var(--hover-color);
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.card ul li a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    width: 100%;
    font-size: 1em;
    line-height: 1.4;
}

.card ul li a:hover {
    color: var(--primary-color);
}

.header {
    padding: 25px;
    font-size: 36px;
    text-align: center;
    background: linear-gradient(135deg, var(--card-bg), var(--hover-color));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    flex-shrink: 0;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: gradientMove 15s ease infinite;
    z-index: 0;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, var(--card-border) 25%, transparent 25%),
        linear-gradient(-45deg, var(--card-border) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--card-border) 75%),
        linear-gradient(-45deg, transparent 75%, var(--card-border) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.1;
    animation: patternMove 20s linear infinite;
    z-index: 0;
}

.header h1 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.2),
        2px 2px 4px rgba(0, 0, 0, 0.2),
        4px 4px 8px rgba(0, 0, 0, 0.2),
        0 0 15px rgba(59, 130, 246, 0.5);
    animation: titleGlow 4s ease-in-out infinite, gradientShift 8s ease infinite;
    margin: 0;
    padding: 15px 0;
    display: block;
    width: 100%;
    position: relative;
    z-index: 1;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 
            1px 1px 2px rgba(0, 0, 0, 0.2),
            2px 2px 4px rgba(0, 0, 0, 0.2),
            4px 4px 8px rgba(0, 0, 0, 0.2),
            0 0 15px rgba(59, 130, 246, 0.5);
    }
    50% {
        text-shadow: 
            1px 1px 2px rgba(0, 0, 0, 0.3),
            2px 2px 4px rgba(0, 0, 0, 0.3),
            4px 4px 8px rgba(0, 0, 0, 0.3),
            0 0 25px rgba(59, 130, 246, 0.7);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradientMove {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(10px, 10px) rotate(5deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes patternMove {
    0% {
        background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    }
    100% {
        background-position: 20px 0, 20px 10px, 30px -10px, 10px 0px;
    }
}

[data-theme="dark"] .header {
    background: linear-gradient(135deg, var(--card-bg), var(--hover-color));
}

[data-theme="dark"] .header::before {
    background: 
        radial-gradient(circle at 20% 20%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(129, 140, 248, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(52, 211, 153, 0.1) 0%, transparent 50%);
}

[data-theme="dark"] .header::after {
    background-image: 
        linear-gradient(45deg, var(--card-border) 25%, transparent 25%),
        linear-gradient(-45deg, var(--card-border) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--card-border) 75%),
        linear-gradient(-45deg, transparent 75%, var(--card-border) 75%);
    opacity: 0.05;
}

.row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 20px;
}

.leftcolumn {
    min-width: 250px;
}

.middlecolumn {
    min-width: 400px;
}

.rightcolumn {
    min-width: 250px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

/* Pinned Projects Section */
#pinned-projects {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    background: transparent;
    list-style: none;
    padding: 0;
    margin: 0;
}

#pinned-projects li {
    background: var(--hover-color);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 15px;
    margin: 0;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    list-style-type: none;
}

#pinned-projects li:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
    background: var(--card-bg);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

#pinned-projects li a {
    text-decoration: none;
    color: var(--text-color);
    display: block;
    width: 100%;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
}

#pinned-projects .project-desc {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 500;
}

#pinned-projects .project-overview {
    color: var(--text-color);
    font-size: 13px;
    opacity: 0.8;
    margin-top: 2px;
}

#pinned-projects .error {
    color: #e53e3e;
    text-align: center;
    padding: 15px;
    background-color: rgba(229, 62, 62, 0.1);
    border: 1px solid rgba(229, 62, 62, 0.3);
    border-radius: 8px;
} 