/* 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;
}

/* Modern Glassmorphism Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: 0;
    transition: all var(--transition-base);
}

/* Header Ribbon - Modern Glass Effect */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(17, 14, 12, 0.95) 0%,
        rgba(17, 14, 12, 0.85) 50%,
        rgba(17, 14, 12, 0.7) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    z-index: -1;
}

/* Animated Gradient Border */
.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--chain-light) 15%,
        var(--contrast) 30%,
        var(--chain-accent) 50%,
        var(--contrast) 70%,
        var(--chain-light) 85%,
        transparent 100%
    );
    animation: borderGlow 3s ease-in-out infinite;
    box-shadow: 
        0 1px 2px rgba(175, 105, 11, 0.5),
        0 0 20px rgba(175, 105, 11, 0.3);
}

@keyframes borderGlow {
    0%, 100% { 
        opacity: 0.6;
        box-shadow: 0 1px 2px rgba(175, 105, 11, 0.5), 0 0 20px rgba(175, 105, 11, 0.3);
    }
    50% { 
        opacity: 1;
        box-shadow: 0 1px 4px rgba(175, 105, 11, 0.8), 0 0 30px rgba(234, 191, 54, 0.5);
    }
}

.header.scrolled {
    background: transparent;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header.scrolled::before {
    background: linear-gradient(
        180deg,
        rgba(17, 14, 12, 0.98) 0%,
        rgba(17, 14, 12, 0.95) 100%
    );
}

/* Hero Section - Studio Style */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    margin-top: 0;
    display: flex;
    align-items: center;
    background: transparent;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(175, 105, 11, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(91, 57, 234, 0.1), transparent),
        radial-gradient(ellipse 40% 40% at 20% 50%, rgba(219, 223, 253, 0.04), transparent);
    z-index: 1;
    pointer-events: none;
}

/* Subtle Hero Mouse Glow */
.hero-mouse-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(175, 105, 11, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: translate(-50%, -50%);
    filter: blur(20px);
}

.hero-content-wrapper {
    display: none;
}

.banner-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: var(--space-xl);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: calc(80px + var(--space-xl)) var(--space-xl) var(--space-xl);
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-primary);
    max-width: 900px;
}

.hero-tagline .gradient-text {
    background: var(--gradient-star);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
}

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

/* Central Hero Logo - Hidden, now only in header */
.hero-logo-img {
    display: none;
}

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

.banner-right {
    display: none;
}

@media (max-width: 1024px) {
    .banner-content {
        padding: calc(80px + var(--space-lg)) var(--space-lg) var(--space-xl);
    }
    
    .hero-banner {
        min-height: auto;
        padding: 60px 0;
    }
}


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

.navbar {
    height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    transition: all 0.4s ease;
}

.navbar.compact {
    height: 80px;
}

.navbar.compact .logo img {
    height: 64px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1001;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: auto;
}

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

.logo img {
    height: 88px;
    width: auto;
    transition: transform var(--transition-base);
    filter: drop-shadow(0 0 20px rgba(175, 105, 11, 0.3));
}

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

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

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

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

.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 - Premium Style */
.btn-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    background: var(--gradient-star) !important;
    color: var(--bg-dark) !important;
    border: none !important;
    padding: 12px 28px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(175, 105, 11, 0.4);
}

.btn-header-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-header-cta:hover::before {
    left: 100%;
}

.btn-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(175, 105, 11, 0.6);
}

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



/* Main Content Column - No gap, continuous background */
.main-column {
    max-width: 1750px;
    width: 95%;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 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);
}
/* Old 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);
    display: inline-block;
}

.main-sections {
    margin-top: var(--space-lg);
}

/* 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;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-lg);
    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 {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 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;
    transition-duration: 0.1s;
}

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

/* 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);
}
