/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #18181b 0%, #09090b 100%);
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 1rem;
}

.container {
    width: 90%;
    max-width: 600px;
    margin: auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    background: rgba(39,39,42,0.95);
    width: calc(100vw - 2rem);
    max-width: 700px;
    padding: 0.5rem 0.5rem;
}

.floating-nav.visible {
    opacity: 1;
    visibility: visible;
}

.nav-container {
    background: rgba(39, 39, 42, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(63, 63, 70, 0.5);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
}

.nav-container::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, rgba(147, 51, 234, 0.2), rgba(236, 72, 153, 0.2));
    border-radius: 50px;
    z-index: -1;
    filter: blur(4px);
    opacity: 0.5;
}

.brand-link {
    text-decoration: none;
    font-weight: bold;
    font-size: 1.125rem;
}

.brand-oscar {
    background: linear-gradient(45deg, #60a5fa, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-oconnor {
    color: white;
}

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

.nav-link, .nav-button {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link {
    color: rgba(161, 161, 170, 1);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: white;
}

.nav-button {
    background: linear-gradient(90deg, #a855f7, #3b82f6, #10b981, #a855f7);
    background-size: 300% 300%;
    animation: gradientMove 4s ease-in-out infinite;
    border: none;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(168,85,247,0.08);
}

.nav-button:hover {
    filter: brightness(1.1) saturate(1.2);
    transform: scale(1.04);
}

.mobile-menu-toggle {
    display: flex !important;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: rgba(161, 161, 170, 1);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 2.5rem;
}

.mobile-nav-link, .mobile-nav-button {
    min-width: 56px;
    min-height: 56px;
    font-size: 2.2rem;
    border-radius: 1rem;
    padding: 0.5rem 1.5rem;
}

.mobile-nav-link:active, .mobile-nav-link:focus {
    background: rgba(168,85,247,0.15);
    outline: 2px solid #a855f7;
}

.mobile-nav-link {
    color: white;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #a855f7;
}

.mobile-nav-button {
    background: linear-gradient(90deg, #a855f7, #3b82f6, #10b981, #a855f7);
    background-size: 300% 300%;
    animation: gradientMove 4s ease-in-out infinite;
    border: none;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(168,85,247,0.08);
}

.mobile-nav-button:hover {
    filter: brightness(1.1) saturate(1.2);
    transform: scale(1.04);
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #a855f7, #ec4899);
    z-index: 1001;
    transition: width 0.1s ease;
    width: 0%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px) saturate(1.2);
    opacity: 0.25;
    animation: blob 7s infinite;
}

.blob-1 {
    top: 5rem;
    left: 2.5rem;
    width: 18rem;
    height: 18rem;
    background: #3b82f6;
}

.blob-2 {
    top: 10rem;
    right: 2.5rem;
    width: 18rem;
    height: 18rem;
    background: #10b981;
    animation-delay: 2s;
}

.blob-3 {
    bottom: 5rem;
    left: 33.333333%;
    width: 18rem;
    height: 18rem;
    background: #06b6d4;
    animation-delay: 4s;
}

@keyframes blob {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text {
    text-align: center;
    space-y: 1.5rem;
}

.hero-badge {
    display: inline-block;
    position: relative;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

.hero-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.2), rgba(16, 185, 129, 0.2));
    animation: pulse 2s infinite;
}

.hero-badge span {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-greeting {
    display: block;
}

.hero-name {
    display: block;
    background: linear-gradient(45deg, #60a5fa, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    color: rgba(161, 161, 170, 1);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(90deg, #a855f7, #3b82f6, #10b981, #a855f7);
    background-size: 300% 300%;
    animation: gradientMove 4s ease-in-out infinite;
    border: none;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(168,85,247,0.08);
}

.btn-primary:hover {
    filter: brightness(1.1) saturate(1.2);
    transform: scale(1.04);
}

.btn-primary .btn-arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-outline {
    border: 2px solid #a855f7;
    color: #a855f7;
    background: transparent;
    transition: background 0.3s, color 0.3s;
}

.btn-outline:hover {
    background: #a855f7;
    color: #fff;
}

.btn-secondary {
    background: rgba(39, 39, 42, 1);
    color: white;
    border: none;
}

.btn-secondary:hover {
    background: rgba(63, 63, 70, 1);
}

.hero-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(39, 39, 42, 0.5);
    color: rgba(161, 161, 170, 1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(39, 39, 42, 1);
    color: white;
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.particle-canvas {
    width: 400px;
    height: 400px;
    position: relative;
    border-radius: 1rem;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #a855f7, #ec4899);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 20%; left: 80%; animation-delay: 1s; }
.particle:nth-child(3) { top: 40%; left: 10%; animation-delay: 2s; }
.particle:nth-child(4) { top: 60%; left: 90%; animation-delay: 3s; }
.particle:nth-child(5) { top: 80%; left: 30%; animation-delay: 4s; }
.particle:nth-child(6) { top: 30%; left: 70%; animation-delay: 5s; }
.particle:nth-child(7) { top: 70%; left: 50%; animation-delay: 1.5s; }
.particle:nth-child(8) { top: 50%; left: 40%; animation-delay: 3.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-dot {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    position: relative;
}

.scroll-dot::before {
    content: '';
    position: absolute;
    top: 0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0.375rem;
    height: 0.375rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Section Styles */
.section {
    padding: 4rem 0 3rem 0;
    position: relative;
}

.section-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px) saturate(1.2);
    opacity: 0.25;
}

.bg-blob-1 { top: 25%; right: 25%; width: 16rem; height: 16rem; background: #3b82f6; }
.bg-blob-2 { bottom: 33.333333%; left: 33.333333%; width: 16rem; height: 16rem; background: #10b981; }
.bg-blob-3 { top: 33.333333%; left: 25%; width: 16rem; height: 16rem; background: #06b6d4; }
.bg-blob-4 { bottom: 25%; right: 25%; width: 16rem; height: 16rem; background: #3b82f6; }
.bg-blob-5 { top: 25%; left: 33.333333%; width: 16rem; height: 16rem; background: #10b981; }
.bg-blob-6 { bottom: 33.333333%; right: 25%; width: 16rem; height: 16rem; background: #06b6d4; }
.bg-blob-7 { top: 33.333333%; right: 33.333333%; width: 16rem; height: 16rem; background: #3b82f6; }
.bg-blob-8 { bottom: 25%; left: 25%; width: 16rem; height: 16rem; background: #10b981; }
.bg-blob-9 { top: 25%; left: 25%; width: 16rem; height: 16rem; background: #10b981; }
.bg-blob-10 { bottom: 33.333333%; right: 33.333333%; width: 16rem; height: 16rem; background: #3b82f6; }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.section-badge {
    display: inline-block;
    position: relative;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

.section-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: linear-gradient(45deg, rgba(147, 51, 234, 0.2), rgba(236, 72, 153, 0.2));
    animation: pulse 2s infinite;
}

.section-badge span {
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(45deg, white, rgba(212, 212, 216, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.section-divider {
    width: 6rem;
    height: 0.375rem;
    background: linear-gradient(90deg, #a855f7, #3b82f6, #10b981, #a855f7);
    background-size: 300% 300%;
    animation: gradientMove 4s ease-in-out infinite;
    border-radius: 50px;
    margin: 0 auto;
}

/* Glass Card */
.glass-card {
    background: rgba(39,39,42,0.7);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border: 1.5px solid rgba(147,51,234,0.18);
    border-radius: 1.25rem;
    padding: 1.5rem;
    position: relative;
    transition: box-shadow 0.3s, border 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.glass-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, rgba(147, 51, 234, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 1rem;
    z-index: -1;
    filter: blur(4px);
    opacity: 0.25;
    transition: opacity 1s ease;
}

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

.glass-card:hover {
    box-shadow: 0 16px 48px rgba(168,85,247,0.18);
    border-color: #a855f7;
    transform: translateY(-4px) scale(1.02);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.about-image {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.image-glow {
    position: absolute;
    inset: -1rem;
    border-radius: 1rem;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.2), rgba(16, 185, 129, 0.2));
    filter: blur(2rem);
    opacity: 0.7;
}

.image-container {
    position: relative;
    aspect-ratio: 1;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(39, 39, 42, 1);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.availability-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-dot {
    width: 0.75rem;
    height: 0.75rem;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.about-paragraph {
    font-size: 1.125rem;
    color: rgba(212, 212, 216, 1);
    margin-bottom: 1rem;
}

.les-roches-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.les-roches-link:hover {
    color: #93c5fd;
}

.les-roches-icon {
    width: 1rem;
    height: 1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.875rem;
    color: rgba(113, 113, 122, 1);
}

.info-value {
    font-weight: 500;
    font-size: 0.875rem;
    word-break: break-all;
}

.resume-download {
    margin-top: 2rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 10;
}

.skill-card {
    background: rgba(39,39,42,0.7);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border: 1.5px solid rgba(147,51,234,0.18);
    border-radius: 1.25rem;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    transition: box-shadow 0.3s, border 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.skill-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, rgba(147, 51, 234, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 1rem;
    z-index: -1;
    filter: blur(4px);
    opacity: 0.25;
    transition: opacity 1s ease;
}

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

.skill-card:hover {
    box-shadow: 0 16px 48px rgba(168,85,247,0.18);
    border-color: #a855f7;
    transform: translateY(-4px) scale(1.02);
}

.skill-name {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.skill-bar {
    width: 100%;
    height: 0.625rem;
    background: rgba(63, 63, 70, 1);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(45deg, #a855f7, #ec4899);
    border-radius: 50px;
    width: var(--progress);
    transition: width 1s ease 0.2s;
    transform-origin: left;
}

.skill-card:not(.animate) .skill-progress {
    width: 0%;
}

.skill-percentage {
    font-size: 0.875rem;
    color: rgba(161, 161, 170, 1);
    text-align: right;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.project-card {
    background: rgba(39,39,42,0.7);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border: 1.5px solid rgba(147,51,234,0.18);
    border-radius: 1.25rem;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.project-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.project-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, rgba(147, 51, 234, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 1rem;
    z-index: -1;
    filter: blur(4px);
    opacity: 0.25;
    transition: opacity 1s ease;
}

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

.project-card:hover {
    box-shadow: 0 12px 36px rgba(168,85,247,0.18);
    transform: translateY(-4px) scale(1.02);
}

.project-image {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(147, 51, 234, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-status {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 0.75rem;
    height: 0.75rem;
    background: rgba(113, 113, 122, 1);
    border-radius: 50%;
    transition: background-color 0.3s ease;
    z-index: 20;
}

.project-card:hover .project-status {
    background: #10b981;
}

.project-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.project-description {
    color: rgba(161, 161, 170, 1);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: rgba(63, 63, 70, 0.5);
    color: rgba(212, 212, 216, 1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.tag:hover {
    background: rgba(63, 63, 70, 1);
}

.project-footer {
    display: flex;
    justify-content: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(63, 63, 70, 0.5);
    margin-top: auto;
}

.project-link {
    color: rgba(212, 212, 216, 1);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(113, 113, 122, 1);
    border-radius: 0.5rem;
    background: transparent;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: white;
    border-color: rgba(113, 113, 122, 1);
    background: rgba(39, 39, 42, 0.5);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 10;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(63, 63, 70, 1);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: calc(50% + 2rem);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: calc(50% + 2rem);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 1.5rem;
    transform: translateX(-50%);
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(45deg, #a855f7, #ec4899);
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-dot::after {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background: white;
    border-radius: 50%;
}

.timeline-content {
    position: relative;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.timeline-meta {
    color: rgba(161, 161, 170, 1);
    margin-bottom: 1rem;
}

.timeline-description {
    color: rgba(212, 212, 216, 1);
}

/* Contact Section */
.contact-content {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.contact-content .glass-card {
    max-width: 32rem;
    width: 100%;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(39, 39, 42, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
    min-width: 0;
}

.contact-label {
    font-size: 0.875rem;
    color: rgba(113, 113, 122, 1);
}

.contact-value {
    font-weight: 500;
    font-size: 0.875rem;
    word-break: break-all;
}

.status-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(39, 39, 42, 1);
}

.status-title {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.status-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.status-dot-green {
    width: 0.75rem;
    height: 0.75rem;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.status-item svg {
    color: rgba(161, 161, 170, 1);
    flex-shrink: 0;
}

/* Footer */
.footer {
    border-top: 1.5px solid #a855f7;
    padding: 3rem 0;
    background: rgba(24,24,27,0.95);
    box-shadow: 0 -2px 16px rgba(168,85,247,0.08);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand {
    text-align: center;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(113, 113, 122, 1);
    margin-top: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social .social-link {
    border-radius: 50%;
    background: rgba(168,85,247,0.08);
    padding: 0.5rem;
    transition: background 0.2s, transform 0.2s;
}

.footer-social .social-link:hover {
    background: #a855f7;
    color: #fff;
    transform: scale(1.1);
}

/* Responsive Design */
@media (min-width: 768px) {
    .container {
        padding: 0 3rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .hero-text {
        text-align: left;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .hero-social {
        justify-content: flex-start;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-item {
        gap: 1rem;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-brand {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 4rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-badge {
        font-size: 0.75rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .timeline-line {
        display: none;
    }
    
    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 0;
        margin-right: 0;
    }
    
    .timeline-dot {
        display: none;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .particle-canvas {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .glass-card {
        padding: 1rem;
    }
    
    .skill-card {
        padding: 1rem;
    }
    
    .project-content {
        padding: 1rem;
    }
}

/* Mobile styles */
@media (max-width: 600px) {
    .container {
        width: 100%;
        padding: 10px;
    }
    h1 {
        font-size: 1.5rem;
    }
    .section {
        padding: 2.5rem 0 2rem 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .about-paragraph, .timeline-description, .project-description {
        font-size: 1rem;
    }
}

/* Modern Glassmorphism & Card Effects */
.glass-card {
    background: rgba(39,39,42,0.7);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border: 1.5px solid rgba(147,51,234,0.18);
    border-radius: 1.25rem;
    transition: box-shadow 0.3s, border 0.3s, transform 0.3s;
}
.glass-card:hover {
    box-shadow: 0 16px 48px rgba(168,85,247,0.18);
    border-color: #a855f7;
    transform: translateY(-4px) scale(1.02);
}

/* Animated Gradient Buttons */
.btn-primary, .nav-button, .mobile-nav-button {
    background: linear-gradient(90deg, #a855f7, #3b82f6, #10b981, #a855f7);
    background-size: 300% 300%;
    animation: gradientMove 4s ease-in-out infinite;
    border: none;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(168,85,247,0.08);
}
@keyframes gradientMove {
    0%,100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.btn-primary:hover, .nav-button:hover, .mobile-nav-button:hover {
    filter: brightness(1.1) saturate(1.2);
    transform: scale(1.04);
}

/* CTA Button Glow Animation */
.btn-primary, .btn-outline {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.btn-primary::after, .btn-outline::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 1rem;
  background: radial-gradient(circle, rgba(168,85,247,0.25) 0%, rgba(59,130,246,0.12) 60%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  z-index: -1;
}
.btn-primary:focus::after, .btn-primary:hover::after,
.btn-outline:focus::after, .btn-outline:hover::after {
  opacity: 1;
  animation: cta-glow 1.2s ease-in-out;
}
@keyframes cta-glow {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

/* Card & Section Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.glass-card.animate, .skill-card.animate, .project-card.animate, .timeline-item.animate {
    animation: fadeInUp 0.8s cubic-bezier(.4,1.4,.6,1) both;
}

/* Accessibility: Focus States */
:focus {
    outline: 2px solid #a855f7;
    outline-offset: 2px;
}

/* Miscellaneous: Smoother Blobs, More Colorful */
.blob, .bg-blob {
    filter: blur(100px) saturate(1.2);
    opacity: 0.25;
}

/* Footer: More Modern */
.footer {
    background: rgba(24,24,27,0.95);
    border-top: 1.5px solid #a855f7;
    box-shadow: 0 -2px 16px rgba(168,85,247,0.08);
}

.footer-social .social-link {
    border-radius: 50%;
    background: rgba(168,85,247,0.08);
    padding: 0.5rem;
    transition: background 0.2s, transform 0.2s;
}
.footer-social .social-link:hover {
    background: #a855f7;
    color: #fff;
    transform: scale(1.1);
}

/* Project Cards: More Modern */
.project-card {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(168,85,247,0.08);
    background: rgba(39,39,42,0.7);
    transition: box-shadow 0.3s, transform 0.3s;
}
.project-card:hover {
    box-shadow: 0 12px 36px rgba(168,85,247,0.18);
    transform: translateY(-4px) scale(1.02);
}

/* Responsive Grids: Tighter on Mobile */
@media (max-width: 600px) {
    .skills-grid, .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Touch Target Improvements */
button, .btn, .nav-link, .nav-button, .mobile-nav-link, .mobile-nav-button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: #a855f7;
}

/* Misc: Smoother Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    background: #18181b;
}
::-webkit-scrollbar-thumb {
    background: #a855f7;
    border-radius: 4px;
}

/* Hero Portrait Styles */
.hero-portrait {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem 0 1rem 0;
}
.hero-portrait .profile-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 32px rgba(168,85,247,0.18), 0 1.5px 8px rgba(0,0,0,0.12);
  border: 3px solid #a855f7;
  background: #18181b;
  transition: transform 0.3s, box-shadow 0.3s;
}
.hero-portrait .profile-image:hover {
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 8px 48px rgba(168,85,247,0.28);
}
@media (max-width: 600px) {
  .hero-portrait .profile-image {
    width: 100px;
    height: 100px;
  }
}

/* --- Shimmer and Glossy Effects --- */

/* Shimmer effect for cards */
.glass-card, .project-card, .skill-card {
  position: relative;
  overflow: hidden;
}
.glass-card::after, .project-card::after, .skill-card::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: linear-gradient(120deg, transparent 60%, rgba(255,255,255,0.18) 80%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  z-index: 2;
}
.glass-card:hover::after, .project-card:hover::after, .skill-card:hover::after {
  opacity: 1;
  animation: shimmer-move 1.2s linear;
}
@keyframes shimmer-move {
  0% { transform: translate(-60%, -60%) rotate(0deg); }
  100% { transform: translate(60%, 60%) rotate(0deg); }
}

/* Glossy overlay for glassmorphism cards */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(120deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 100%);
  border-radius: 1.25rem 1.25rem 40% 40%/1.25rem 1.25rem 20% 20%;
  z-index: 1;
  pointer-events: none;
}

/* Glossy effect for primary buttons */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 45%;
  background: linear-gradient(120deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.04) 100%);
  border-radius: 1rem 1rem 40% 40%/1rem 1rem 20% 20%;
  z-index: 2;
  pointer-events: none;
}