/* Layout Sections */

.hero-header-text .accent-text {
    color: var(--contrast);
    text-shadow: 0 0 10px rgba(232, 26, 26, 0.4);
    position: relative;
    display: inline-block;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: transparent;
    padding-top: 20px;
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    padding-top: 10px;
}

.hero-banner {
    position: relative;
    width: 100%;
    height: 1112px;
    overflow: hidden;
    margin-top: 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-medium);
}

.hero-bg-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Taller than container for parallax movement */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../media/background.webp');
    background-size: cover;
    background-position: center;
    z-index: 0;
    pointer-events: none;
    will-change: transform; /* Hint for browser optimization */
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
    z-index: 1;
    pointer-events: none;
}

#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.8;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md) var(--space-xl) var(--space-md); /* Reduced side padding */
    position: relative;
    z-index: 2;
}

.banner-left {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    flex: 1;
    align-self: flex-end;
    margin-bottom: 64px;
}

.banner-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

/* Central Hero Logo */
.hero-logo-img {
    height: 350px; 
    width: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
    transition: filter 0.3s ease;
    opacity: 0;
    animation: dramaticFadeIn 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards,
               breathing 10s ease-in-out 1.5s infinite;
}

@keyframes breathing {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.05); }
    100% { transform: scale(0.95); }
}

.hero-logo-img:hover {
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
}

.hero-roles-list {
    list-style: none;
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 0; /* Remove default padding */
    margin-left: -16px; /* Pull it slightly left as requested */
    width: 140%; /* Give it more room to grow horizontally */
}

.hero-roles-list li {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.5s forwards;
    background: linear-gradient(135deg, #ffffff 0%, var(--contrast) 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-shadow: none;
    transition: all 0.1s ease;
    cursor: default;
    white-space: nowrap; /* Keep items on one line if possible */
}

.hero-roles-list li:nth-child(1) { animation-delay: 0.2s; }
.hero-roles-list li:nth-child(2) { animation-delay: 0.4s; }
.hero-roles-list li:nth-child(3) { animation-delay: 0.6s; }

.hero-roles-list li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    width: 8px;
    height: 8px;
    background: var(--contrast);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.1s ease, left 0.1s ease;
}

.hero-roles-list li:hover {
    background-position: right center;
    transition-delay: 0s !important;
}

.hero-roles-list li:hover::before {
    opacity: 1;
    left: -30px;
    transition-delay: 0s !important;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.banner-role { /* kept for backward compatibility if used elsewhere, but removed from hero HTML */
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-primary);
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-xs);
    text-align: right;
    flex: 1;
    align-self: flex-end;
    margin-bottom: 64px;
}

.banner-right p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

@media (max-width: 1024px) {
    .banner-content {
        flex-direction: column;
        justify-content: center;
        gap: var(--space-lg);
        text-align: center;
        padding: var(--space-md);
    }
    
    .banner-left, .banner-right, .banner-center {
        align-items: center;
        text-align: center;
        flex: auto;
        margin-bottom: 0;
    }
    
    .banner-left {
        order: 2;
    }
    
    .banner-center {
        order: 1;
    }
    
    .banner-right {
        order: 3;
    }
    
    .hero-banner {
        height: auto;
        min-height: 600px;
        padding: 120px var(--space-md) 60px;
    }
    
    .hero-roles-list {
        font-size: 1.5rem;
        align-items: center;
        width: 100%;
        margin-left: 0;
    }
    
    .hero-roles-list li {
        text-align: center;
    }
}


.header.scrolled {
    background: rgba(15, 15, 15, 0.95);
    box-shadow: var(--shadow-lg);
}

.navbar {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 var(--space-md);
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1001;
    opacity: 0; /* Hidden by default */
    transform: translateY(-10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none; /* Prevent clicking when hidden */
}

/* Helper class to show logo */
.logo.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.logo img {
    height: 64px;
    width: auto;
    transition: transform var(--transition-base);
}

.logo:hover img {
    transform: scale(1.05) rotate(5deg);
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
    transition: color var(--transition-base);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--contrast);
    transform: translateX(-50%);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

/* Call to Action Button in Header */
.btn-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    
    /* Inversed Style: Filled Background */
    background: var(--contrast) !important;
    color: var(--text-primary) !important;
    border: 2px solid var(--contrast) !important;
    
    padding: 8px 24px;
    border-radius: 32px;
    
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    
    transition: all var(--transition-base);
    animation: scale-pulse 4s infinite ease-in-out;
    
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-header-cta:hover {
    background: var(--contrast-hover) !important;
    border-color: var(--contrast-hover) !important;
    box-shadow: 0 0 15px var(--contrast);
    color: var(--text-primary) !important;
    transform: translateY(-2px);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .btn-header-cta {
        width: 100%;
        margin-top: 10px;
    }
}



/* Main Content Column */
.main-column {
    max-width: 1750px; /* Even wider */
    width: 95%; /* Wider on smaller screens too */
    margin: -80px auto 0;
    position: relative;
    z-index: 5;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Digital Thread Line */
.digital-thread {
    position: absolute;
    top: 40px;
    bottom: 0; /* Extend to bottom to allow fade to work fully */
    left: 20px;
    width: 6px;
    /* "Track" style: Two thin glowing lines with a dark center */
    background: var(--bg-dark);
    border-left: 1px solid var(--contrast);
    border-right: 1px solid var(--contrast);
    box-shadow: 
        0 0 10px rgba(232, 26, 26, 0.2),
        inset 0 0 5px rgba(232, 26, 26, 0.1);
    z-index: 0; /* Behind content sections */
    pointer-events: none;
    display: block;
    /* Gradient fade out at the end */
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    overflow: hidden; /* Contain the animation */
}

/* Thread Pulse Animation */
.digital-thread::after {
    content: '';
    position: absolute;
    top: -20%;
    left: 0;
    right: 0;
    height: 15vh;
    background: linear-gradient(to bottom, transparent, var(--contrast), transparent);
    opacity: 0;
    display: block;
    /* Cycle 6s: 5s motion, 1s wait. */
    animation: threadScan 6s linear infinite;
}

.digital-thread::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 0;
    right: 0;
    height: 15vh;
    background: linear-gradient(to bottom, transparent, var(--contrast), transparent);
    opacity: 0;
    display: block;
    animation: threadScan 6s linear infinite;
    animation-delay: 2s;
}

@keyframes threadScan {
    0% {
        top: -20%;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    90% { 
        top: 100%;
        opacity: 0;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Thread Nodes (Decorations) */
.digital-thread-node {
    /* Concept for future nodes if needed */
}

@media (max-width: 1200px) {
    .digital-thread {
        left: 15px;
    }
}

@media (max-width: 768px) {
    .digital-thread {
        display: none;
    }
}

.content-section {
    /* Increased side padding by 64px as requested */
    padding: var(--space-3xl) calc(var(--space-xl) + 128px);
    width: 100%;
    margin: 0;
    /* Ensure sections sit ON TOP of the thread */
    position: relative;
    z-index: 2;
}

/* User asked for different colors for each section */
#section-profile {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-dark) 100%);
    padding-top: var(--space-xl);
    padding-bottom: var(--space-lg); /* Reduced bottom padding */
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    padding-top: 64px;
    padding-bottom: 64px;
}

#about {
    background-color: var(--bg-medium);
}

#projects {
    background-color: transparent;
    border: none;
}

#plugins {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-dark) 100%);
    border-radius: var(--radius-xl); /* Rounded corners */
    border: 1px solid var(--border-subtle);
}

/* Hero Section - Unified Design */
/* Now acts as the profile summary below banner */
.hero {
    min-height: auto;
    padding-top: 0;
}

.hero::before {
   display: none;
}


.hero-unified {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    width: 100%; /* Ensure it takes full width */
    max-width: 100%; /* Remove previous 700px limit if any */
    margin: 0;
}

@media (min-width: 968px) {
    .hero-unified {
        margin: 0; /* Left align on desktop if container is wide */
    }
}

.hero-profile-header {
    display: flex;
    align-items: center; /* Align items vertically center */
    gap: var(--space-xl);
    flex-wrap: nowrap; /* Prevent wrapping so they stay on same line */
}

.profile-avatar-wrapper {
    position: relative;
    width: 192px;
    height: 192px;
    flex-shrink: 0;
    z-index: 1;
}

/* Background detail - Rotating dashed ring */
.profile-avatar-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 50%;
    border: 2px dotted var(--contrast);
    opacity: 0.4;
    z-index: -1;
    animation: rotate-slow 60s linear infinite;
    mask-image: linear-gradient(to top, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, black 40%, transparent 100%);
}

/* Background glow */
.profile-avatar-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%; /* Positioned to the right a bit */
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--contrast) 0%, transparent 70%);
    opacity: 0.2;
    z-index: -2;
    filter: blur(20px);
}

.profile-avatar-large {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--border-medium);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    background: var(--bg-card);
    position: relative;
    z-index: 2;
}

.profile-avatar-wrapper:hover .profile-avatar-large {
    transform: scale(1.05);
    border-color: var(--contrast);
    box-shadow: 0 0 30px rgba(255, 68, 68, 0.4);
}

.profile-avatar-wrapper:hover::before {
    opacity: 0.8;
    animation-duration: 10s;
}

.hero-header-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.hero-header-text h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0;
    white-space: nowrap;
}

/* Name Reveal Animation */
.name-part {
    display: inline-block;
}

.nickname-wrapper {
    display: inline-flex;
    vertical-align: middle;
    white-space: nowrap;
    padding-bottom: 12px;
    margin-left: -8px;
    margin-right: -8px;
}

.nickname-content {
    display: inline-block;
}

/* Character animation class helper */
.char-span {
    display: none;
    animation: fadeIn 0.1s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.header-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl); /* Increased distance */
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
    align-items: center;
    margin-top: -8px;
    margin-bottom: var(--space-xs);
}

.header-meta-row .detail-icon {
    color: var(--contrast);
    opacity: 1;
}

.tag-godot {
    background-color: #478cbf !important;
    border-color: #478cbf !important;
    color: white !important;
    font-weight: 700;
}

.hero-info-row {
    display: none; /* Hidden as moved to header text */
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 24px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-top: var(--space-md);
}

.social-links-unified {
    display: flex;
    gap: var(--space-sm);
}

@media (max-width: 768px) {
    .hero-profile-header {
        flex-direction: column;
        text-align: center;
        gap: var(--space-lg);
        align-items: center;
    }
    
    .profile-avatar-wrapper {
        width: 140px;
        height: 140px;
    }
    
    .hero-header-text {
        align-items: center;
        width: 100%;
    }
    
    .hero-header-text h1 {
        font-size: 2rem;
        text-align: center;
        white-space: normal;
    }

    .hero-unified {
        align-items: center;
        text-align: center;
    }

    .hero-info-row {
        justify-content: center;
    }
    
    .header-meta-row {
        justify-content: center;
        text-align: center;
    }
    
    .description {
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .social-links-unified {
        justify-content: center;
        flex-wrap: wrap;
    }
}


/* Description */
.description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 650px;
    line-height: 1.6;
    margin: 0;
} 


.hero-buttons {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-medium);
    transition: all var(--transition-base);
}

.icon-btn:hover {
    background: var(--contrast);
    border-color: var(--contrast);
    transform: translateY(-3px);
}

.icon-btn img {
    width: 24px;
    height: 24px;
    transition: filter 0.3s;
}

.icon-btn:hover img {
    filter: brightness(0) invert(1);
}

.social-display-item {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 48px;
    padding: 0 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-medium);
    color: var(--text-secondary);
    font-weight: 500;
    transition: all var(--transition-base);
    text-decoration: none;
}

.social-display-item img {
    width: 20px;
    height: 20px;
}

.social-display-item:not([href]) {
    cursor: default;
}

.social-display-item[href]:hover {
    background: var(--contrast);
    border-color: var(--contrast);
    color: var(--text-primary);
    transform: translateY(-3px);
}

.social-display-item[href]:hover img {
    filter: brightness(0) invert(1);
}
styles removed as they are no longer used in standard layout */
/* Keeping .profile-tag for reuse */
.profile-tags {
    display: flex;
    gap: 8px;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.profile-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-subtle);
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.detail-icon {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.time-container {
    padding-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-secondary);
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-secondary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-secondary);

   margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.profile-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-subtle);
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.detail-icon {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.time-container {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-secondary);
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-secondary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-secondary);
    display: inline-block;
}

.main-sections {
    /* Fallback/Spacing if needed */
}

/* Main Sections */
.section {
    padding: var(--space-3xl) var(--space-md);
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.01) 50%,
        transparent 100%
    );
}

/* Projects Grid */
.projects-grid {
    display: grid;
    /* Grid items will now size based on their content up to a point, but 1fr stretches them. 
       Use auto-fit with minmax to allow them to be smaller if image is smaller? 
       Actually, if 'exact width' means 'don't stretch image beyond native size', we might need max-width on cards.
    */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.project-card {
    /* Prevent cards from being too wide if there are few items */
    max-width: 100%; 
}


/* Plugins Grid - Redesigned */
.plugins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: var(--space-lg);
}

/* Plugin Cards - "Spotlight Tech" Design */
.plugin-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2px; /* Small padding for the border effect */
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.02); /* Base subtle background */
    border-radius: var(--radius-lg);
    overflow: visible; /* Needed for any glow spill, or hidden if we want keen edges */
    overflow: hidden;
    transition: transform var(--transition-base);
}

/* The Spotlight Gradient Layer */
.plugin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(255, 255, 255, 0.08), 
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

/* The Inner Content Container - sits on top of spotlight */
.plugin-card-inner {
    /* Note: We don't have this in HTML, so we must target children or rely on background */
    /* Alternative if we can't change HTML: Style the container itself and put content on top */
}

/* Instead, let's treat .plugin-card as the wrapper and put a pseudo-element border */
/* Actually, let's stick to the simple spotlight background for now as it doesn't require HTML changes */

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

/* New Hover Effect - Lift slightly but flat */
.plugin-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.03); 
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5);
    transition-delay: 0s !important; /* Ensure no delay from stagger animation */
    transition-duration: 0.1s; /* Instant feedback */
}

/* Clear transition delays after animation finishes */
.animations-finished > * {
    transition-delay: 0s !important;
}

/* New Header Layout */
.plugin-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-lg) 0 var(--space-lg);
    background: transparent;
}

.plugin-image-wrapper {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    transition: all var(--transition-base);
    box-shadow: none;
}

.plugin-card:hover .plugin-image-wrapper {
    transform: scale(1.05);
}

.plugin-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

.plugin-info {
    flex: 1;
    position: relative;
    z-index: 2;
}

.plugin-info h3 {
    margin: 0 0 var(--space-xs) 0;
    font-size: 1.2rem;
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.plugin-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
}

.plugin-badge.created {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.plugin-badge.contributed {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

/* Add a little decorative indicator to title */
.plugin-info h3::before {
    content: '>';
    color: var(--contrast);
    font-size: 0.8em;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-base);
}

.plugin-card:hover .plugin-info h3::before {
    opacity: 1;
    transform: translateX(0);
}

.plugin-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-md);
    opacity: 0.8;
}

.plugin-meta {
    position: relative;
    z-index: 2;
    margin-top: auto; /* Push to bottom */
    padding: var(--space-md) var(--space-lg) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
}

.plugin-tech {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.plugin-tech span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.08); /* Brighter bg */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Brighter border */
    border-radius: 4px; /* More square/techy */
    color: var(--text-secondary); /* Brighter text (was dim) */
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plugin-card:hover .plugin-tech span {
    background: rgba(255, 255, 255, 0.08); /* Lighter on hover */
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Highlight the first tag (Godot version) */
.plugin-tech span:first-child {
    color: #478cbf;
    border-color: rgba(71, 140, 191, 0.4);
}

.plugin-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all var(--transition-base);
}

.plugin-card:hover .plugin-arrow {
    background: var(--contrast);
    color: var(--text-primary);
    transform: rotate(45deg);
}

/* About Section */
.about-container {
    background: var(--bg-card);
    padding: var(--space-3xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    max-width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.about-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(232, 26, 26, 0.05), transparent 70%);
    pointer-events: none;
}

.about-header {
    margin-bottom: var(--space-xl);
    position: relative;
}

.about-container h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, var(--text-primary), var(--contrast));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.about-subtitle {
    justify-content: center;
}

.hero-separator {
    border: none;
    border-top: 2px dashed rgba(255, 255, 255, 0.1); /* Dark gray/transparent dashed line */
    margin: var(--space-xl) 0 var(--space-sm) 0;
    width: 100%;
}

.tech-stack-section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: var(--space-xl); /* Larger horizontal gap */
    row-gap: var(--space-md);    /* Keep the smaller vertical gap */
    margin-top: var(--space-xs);
    margin-bottom: var(--space-sm); 
    width: 100%;
}

.tech-section-header {
    width: 100%;
    margin-bottom: 0;
}

.tech-section-header h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

.tech-category {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tech-category h4 {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    opacity: 0.6;
}

.tech-icons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    align-items: center;
}

.tech-icons a {
    position: relative;
    display: inline-flex;
    justify-content: center;
}

.tech-icons a::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    margin-top: 5px;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 10;
    font-weight: 200;
}

.tech-icons a:hover::after {
    opacity: 1;
}

.tech-icons img {
    height: 32px;
    width: auto;
    opacity: 0.8;
    transition: all var(--transition-base);
}

.tech-icons img:hover {
    opacity: 1;
    transform: translateY(-2px) scale(1.1);
}

/* Footer */
.footer {
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-medium);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--contrast) 50%,
        transparent 100%
    );
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1750px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

@media (max-width: 768px) {
    .footer {
        padding: var(--space-lg) 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
        padding: 0 var(--space-md);
    }
}

.footer-left .logo-text {
    font-weight: 500;
    font-size: 1.3rem;
    display: block;
    margin-bottom: var(--space-xs);
    background: linear-gradient(135deg, var(--text-primary), var(--contrast));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-left p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-privacy-btn {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-decoration: none;
    margin-top: 5px;
    display: inline-block;
    padding: 6px 12px; /* Added padding to make it look like a button on hover */
    border-radius: var(--radius-sm);
    border: 1px solid transparent; /* Prevent layout shift */
    transition: all var(--transition-base);
}

.footer-privacy-btn:hover {
    color: var(--contrast);
    background: transparent;
    border-color: transparent;
    transform: translateY(-2px);
}

.footer-links {
    display: flex;
    gap: var(--space-md);
}

.footer-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: transparent;
    border: 1px solid transparent;
    transition: all var(--transition-base);
}

.footer-links a:hover {
    background: var(--contrast);
    border-color: var(--contrast);
    transform: translateY(-3px);
}

.footer-links a img {
    width: 24px;
    height: 24px;
    transition: filter 0.3s;
}

.footer-links a:hover img {
    filter: brightness(0) invert(1);
}
