@font-face {
    font-family: 'Stanwick';
    src: url('Assets/Fonts/Stanwick.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Stanwick Outline';
    src: url('Assets/Fonts/Stanwick-Outline.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Stanwick Caligraphy';
    src: url('Assets/Fonts/Stanwick-Caligraphy.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Birds of Paradise';
    src: url('Assets/Fonts/Birds of Paradise.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'dinamica';
    src: url('Assets/Fonts/dinamica-script.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Dark Seed';
    src: url('Assets/Fonts/Dark Seed.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
:root {
    /* Amber Mirage Palette */
    --cyber-white: #FFFFFF;
    --cyber-mint: #9EF4EB;
    --cyber-cyan: #00E6FF;
    --cyber-teal: #174853;
    --white: #FFFFFF;
    --white-soft: #FFFFFF;
    --gray-light: #9EF4EB;
    --gray: #00CBD6;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    --spacing-xxxl: 4rem;

    /* Effects */
    --blur-glass: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50%;

    /* Gradients */
    --gradient-gold: linear-gradient(
        180deg,
        rgba(0, 230, 255, 0.35) 0%,
        rgba(0, 230, 255, 0) 100%
    );

    --gradient-radial-gold: radial-gradient(
        circle,
        rgba(158, 244, 235, 0.45) 0%,
        rgba(0, 230, 255, 0.15) 40%,
        transparent 70%
    );

   /* --gradient-background: 
linear-gradient(
    90deg,
    #050A0D 0%,
    #174853 15%,
    #174853 30%,
    #00CBD6 50%,
    #00E6FF 65%,
    #9EF4EB 85%,
    #FFFFFF 100%
);
*/

    --gradient-background: linear-gradient(
    90deg,
    #050A0D 0%,
    #050A0D 35%,
    #0B161C 65%,
    #174853 100%
);
/*
    --gradient-background: linear-gradient(
        180deg,
        #0B161C 0%,
        #174853 50%,
        #0B161C 100%
    );
*/
    /* Glassmorphism */
    --glass-bg: rgba(23, 72, 83, 0.15);
    --glass-border: rgba(0, 230, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(5, 10, 13, 0.3);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--gradient-background);
    color: var(--cyber-white);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--spacing-lg);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-xl);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: var(--spacing-md);
}

p {
    margin-bottom: var(--spacing-md);
}

/* ===========================
   UTILITY CLASSES (NAVBAR)
   =========================== */
.fixed { position: fixed; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-50 { z-index: 50; }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

.gap-4 { gap: 1rem; }
.gap-10 { gap: 2.5rem; }

.max-w-7xl { max-width: 80rem; }

.rounded-2xl { border-radius: 1rem; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }

.tracking-tight { letter-spacing: -0.025em; }

.text-gray { color: var(--gray); }

.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.mt-4 { margin-top: 1rem; }
.-mt-1 { margin-top: -0.25rem; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.transition { transition: all 0.3s ease; }

/* ===========================
   GLASSMORPHISM
   =========================== */
.glass {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 230, 255, 0.2);
}

/* ===========================
   NAVBAR
   =========================== */
#navbar {
    transition: transform 0.3s ease;
}
#navbar.hidden-nav {
    transform: translateY(-100%);
}
#navbar.visible-nav {
    transform: translateY(0);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}
.nav-links-container {
    gap: 2.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* ===========================
   NAV LINKS
   =========================== */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
    color: var(--cyber-white);
    text-decoration: none;
}
.nav-link:hover,
.nav-link.active {
    color: var(--cyber-mint);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyber-cyan);
    transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}
.btn-contact {
    padding: 0.6rem 2rem;
    border-radius: 9999px;
    border: 1px solid var(--cyber-cyan);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cyber-white);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.btn-contact:hover {
    background: var(--cyber-cyan);
    color: var(--cyber-teal);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-xxl) 0;
    padding-top: 168px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: var(--gradient-radial-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.profile-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-xl);
}

.profile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280px;
    height: 280px;
    background: var(--gradient-radial-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--cyber-cyan);
    box-shadow: 0 0 40px rgba(0, 230, 255, 0.5);
}

.hero-text {
    max-width: 600px;
    margin: 0 auto;
}

.hero-greeting {
    font-size: 1.1rem;
    color: var(--cyber-mint);
    margin-bottom: var(--spacing-sm);
    font-weight: 400;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--cyber-mint);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: var(--spacing-lg);
}

.hero-bio {
    font-size: 1rem;
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 0;
}

.highlight {
    color: var(--cyber-cyan);
    font-weight: 600;
}

.highlight-cover {
    color: var(--cyber-cyan);
    font-weight: 700;
    position: relative;
}

.highlight-cover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--cyber-cyan);
    border-radius: 2px;
}

.highlight-role {
    color: var(--cyber-mint);
    font-weight: 600;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--spacing-xxxl);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -var(--spacing-md);
    left: 50%;
    width: 60px;
    height: 3px;
    background: var(--cyber-cyan);
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Work Experience Section */
.work-experience {
    padding: var(--spacing-xxxl) 0;
    position: relative;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.experience-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-glass));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: var(--transition);
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-gold);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.experience-card:hover .card-glow {
    opacity: 0.3;
}

.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 230, 255, 0.2);
    border-color: var(--cyber-cyan);
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-icons {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
}

.card-icon {
    margin-bottom: var(--spacing-lg);
}

.tool-icon,
.tool-icon-group {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(5, 10, 13, 0.3));
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--spacing-xs);
}

.card-subtitle {
    font-size: 0.9rem;
    color: var(--cyber-mint);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-description {
    font-size: 0.95rem;
    color: var(--gray-light);
    line-height: 1.6;
}

/* Skills Orbit Section */
.skills-orbit {
    padding: var(--spacing-xxxl) 0;
    position: relative;
    overflow: hidden;
}

.orbit-wrapper {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: var(--gradient-radial-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.center-logo {
    text-align: center;
}

.center-text {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--cyber-cyan);
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px rgba(0, 230, 255, 0.5);
}

.center-subtext {
    font-size: 0.8rem;
    color: var(--gray-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: var(--spacing-xs);
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid rgba(0, 230, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 300px;
    height: 300px;
}

.ring-2 {
    width: 400px;
    height: 400px;
}

.ring-3 {
    width: 500px;
    height: 500px;
}

.orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--cyber-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 230, 255, 0.8);
}

.dot-1 {
    top: 20%;
    left: 80%;
    animation: float 3s ease-in-out infinite;
}

.dot-2 {
    top: 80%;
    left: 20%;
    animation: float 3s ease-in-out infinite 0.5s;
}

.dot-3 {
    top: 30%;
    left: 10%;
    animation: float 3s ease-in-out infinite 1s;
}

.dot-4 {
    top: 70%;
    left: 90%;
    animation: float 3s ease-in-out infinite 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.orbit-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 230, 255, 0.1);
    border: 2px solid rgba(0, 230, 255, 0.3);
    border-radius: var(--radius-md);
    backdrop-filter: blur(var(--blur-glass));
    transition: var(--transition);
}

.orbit-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.orbit-icon:hover {
    transform: scale(1.1);
    background: rgba(0, 230, 255, 0.2);
    border-color: var(--cyber-cyan);
}

.icon-1 {
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    animation: float 4s ease-in-out infinite;
}

.icon-2 {
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    animation: float 4s ease-in-out infinite 1s;
}

.icon-3 {
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    animation: float 4s ease-in-out infinite 2s;
}

.icon-4 {
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    animation: float 4s ease-in-out infinite 3s;
}

.orbit-text {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 400px;
}

/* Projects Section */
.projects {
    padding: var(--spacing-xxxl) 0;
}

.project-item {
    margin-bottom: var(--spacing-xxxl);
}

.project-item:last-child {
    margin-bottom: 0;
}

.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxxl);
    align-items: center;
}

.project-content.right {
    direction: rtl;
}

.project-content.right > * {
    direction: ltr;
}

.project-info {
    padding: var(--spacing-xl);
}

.project-meta {
    font-size: 0.85rem;
    color: var(--cyber-mint);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-xs);
}

.project-badge {
    background: rgba(0, 230, 255, 0.2);
    color: var(--cyber-cyan);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    margin-left: var(--spacing-sm);
    border: 1px solid rgba(0, 230, 255, 0.3);
}

.project-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.project-description {
    font-size: 1.05rem;
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.project-links {
    display: flex;
    gap: var(--spacing-md);
}

.project-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(0, 230, 255, 0.1);
    border: 1px solid rgba(0, 230, 255, 0.3);
    border-radius: var(--radius-md);
    color: var(--cyber-cyan);
    transition: var(--transition);
    text-decoration: none;
}

.project-link:hover {
    background: rgba(0, 230, 255, 0.2);
    border-color: var(--cyber-cyan);
    transform: translateY(-2px);
}

.project-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: var(--gradient-radial-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

.project-thumbnail {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 230, 255, 0.1), rgba(0, 230, 255, 0.05));
    border: 2px solid rgba(0, 230, 255, 0.3);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(var(--blur-glass));
}

.thumbnail-content {
    text-align: center;
    padding: var(--spacing-xl);
}
.thumbnail-image{
    width: 100%;
    height: 100%;
    object-fit: cover;   /* shows full image */
}
.thumbnail-label {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cyber-cyan);
    line-height: 1.3;
}

.thumbnail-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.thumbnail-tagline {
    font-size: 1rem;
    color: var(--cyber-mint);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Contact Section */
.contact {
    padding: var(--spacing-xxxl) 0;
    text-align: center;
    position: relative;
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: var(--gradient-radial-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-email {
    font-size: 1.25rem;
    color: var(--cyber-mint);
    margin-bottom: var(--spacing-xl);
}

.contact-email a {
    color: var(--cyber-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-email a:hover {
    color: var(--cyber-mint);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(0, 230, 255, 0.1);
    border: 2px solid rgba(0, 230, 255, 0.3);
    border-radius: 50%;
    color: var(--cyber-cyan);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: rgba(0, 230, 255, 0.2);
    border-color: var(--cyber-cyan);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 230, 255, 0.3);
}

/* Footer */
.footer {
    padding: var(--spacing-xl) 0;
    text-align: center;
    border-top: 1px solid rgba(0, 230, 255, 0.2);
    margin-top: var(--spacing-xxxl);
}

.footer p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: var(--spacing-md);
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: var(--spacing-xs);
    }
    
    .hero {
        min-height: auto;
        padding: var(--spacing-xl) 0;
        padding-top: 80px;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .profile-glow {
        width: 200px;
        height: 200px;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .orbit-wrapper {
        height: 400px;
    }
    
    .ring-1 { width: 200px; height: 200px; }
    .ring-2 { width: 280px; height: 280px; }
    .ring-3 { width: 360px; height: 360px; }
    
    .orbit-icon {
        width: 50px;
        height: 50px;
    }
    
    .orbit-icon img {
        width: 30px;
        height: 30px;
    }
    
    .project-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .project-content.right {
        direction: ltr;
    }
    
    .project-thumbnail {
        height: 250px;
    }
    
    .contact-glow {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .experience-card {
        padding: var(--spacing-lg);
    }
    
    .orbit-wrapper {
        height: 300px;
    }
    
    .ring-1 { width: 150px; height: 150px; }
    .ring-2 { width: 200px; height: 200px; }
    .ring-3 { width: 250px; height: 250px; }
    
    .center-text {
        font-size: 2rem;
    }
    
    .project-thumbnail {
        height: 200px;
    }
    
    .social-links {
        gap: var(--spacing-sm);
    }
    
    .social-link {
        width: 48px;
        height: 48px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

/* Image Placeholders */
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 230, 255, 0.1);
    border: 2px dashed rgba(0, 230, 255, 0.3);
    color: var(--cyber-cyan);
    font-size: 2rem;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 230, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.logo-img.error,
.profile-image.error,
.tool-icon.error,
.tool-icon-group.error,
.orbit-icon img.error,
.thumbnail-image.error {
    display: none;
}

.logo-img.error + .image-placeholder,
.profile-image.error + .image-placeholder,
.tool-icon.error + .image-placeholder,
.tool-icon-group.error + .image-placeholder,
.orbit-icon img.error + .image-placeholder,
.thumbnail-image.error + .image-placeholder {
    display: flex;
}

/* Fallback for missing images */
.logo .image-placeholder {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
}

.profile-wrapper .image-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    font-size: 3rem;
}

.tool-icon.error + .image-placeholder,
.tool-icon-group.error + .image-placeholder {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
}

.orbit-icon .image-placeholder {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

.project-thumbnail .image-placeholder {
    width: 100%;
    height: 300px;
    font-size: 4rem;
}

@media (max-width: 768px) {
    .project-thumbnail .image-placeholder {
        height: 250px;
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .project-thumbnail .image-placeholder {
        height: 200px;
        font-size: 2.5rem;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.Btn {
    background: var(--cyber-cyan);
    color: var(--cyber-teal);
    border-radius: 9999px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    display: block;
    margin: var(--spacing-lg) auto 0;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    width: fit-content;
    box-shadow: 0 0 15px rgba(0, 230, 255, 0.4), 0 0 30px rgba(0, 230, 255, 0.2);
}

.Btn:hover {
    background: var(--cyber-mint);
    box-shadow: 0 0 20px rgba(158, 244, 235, 0.6), 0 0 40px rgba(158, 244, 235, 0.3);
    transform: translateY(-2px);
}

.Btn:active {
    transform: scale(0.98);
}

.Btn a {
    display: block;
    padding: 0.8rem 2.5rem;
    text-decoration: none;
    color: inherit;
}