/* ============================================
   PORTFOLIO — MASTER STYLESHEET
   WHITE THEME | Teal/Mint Palette
   #004958 | #009899 | #affdfb
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Teal/Mint Color Palette */
    --bg-primary: #fafffe;
    --bg-secondary: #f0faf9;
    --bg-card: rgba(255, 255, 255, 0.75);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.5);
    --bg-glass-strong: rgba(255, 255, 255, 0.8);
    --bg-hero: linear-gradient(180deg, #f0fcfb 0%, #fafffe 50%, #eefbfa 100%);

    /* Primary palette from the image */
    --accent-dark: #004958;
    --accent-mid: #009899;
    --accent-light: #affdfb;

    /* Derived accents */
    --accent-primary: #009899;
    --accent-deep: #004958;
    --accent-soft: #affdfb;
    --accent-hover: #007a7b;

    --gradient-primary: linear-gradient(135deg, #004958, #009899);
    --gradient-accent: linear-gradient(135deg, #004958, #009899, #affdfb);
    --gradient-soft: linear-gradient(135deg, #e8fffe, #affdfb40, #f0faf9);
    --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(240,252,251,0.7));

    --text-primary: #0a2e36;
    --text-secondary: #3d6a72;
    --text-muted: #7ba3aa;
    --border-color: rgba(0, 152, 153, 0.12);
    --border-hover: rgba(0, 73, 88, 0.25);

    --shadow-sm: 0 1px 3px rgba(0, 73, 88, 0.04), 0 1px 2px rgba(0, 73, 88, 0.03);
    --shadow-md: 0 4px 16px rgba(0, 73, 88, 0.06), 0 2px 4px rgba(0, 73, 88, 0.04);
    --shadow-lg: 0 12px 40px rgba(0, 73, 88, 0.08), 0 4px 12px rgba(0, 73, 88, 0.04);
    --shadow-xl: 0 20px 60px rgba(0, 73, 88, 0.1), 0 8px 20px rgba(0, 73, 88, 0.05);
    --shadow-accent: 0 8px 30px rgba(0, 152, 153, 0.2);
    --shadow-glow: 0 0 40px rgba(0, 152, 153, 0.08);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --section-padding: 120px 0;
    --container-max: 1200px;
    --border-radius: 20px;
    --border-radius-sm: 10px;
    --border-radius-lg: 28px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    cursor: none;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a, button, [data-cursor] { cursor: none; }

::selection {
    background: rgba(0, 152, 153, 0.15);
    color: var(--text-primary);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 10px; height: 10px;
    background: var(--accent-mid);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, opacity 0.3s ease, border-radius 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 152, 153, 0.3);
}

.cursor-dot.hovering {
    width: 44px; height: 44px;
    background: rgba(0, 152, 153, 0.08);
    border: 2px solid var(--accent-mid);
    box-shadow: 0 0 20px rgba(0, 152, 153, 0.15);
    border-radius: 12px;
}

.cursor-dot.clicking {
    width: 8px; height: 8px;
    background: var(--accent-deep);
    box-shadow: 0 0 20px rgba(0, 73, 88, 0.4);
}

.cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 44px; height: 44px;
    border: 1.5px solid rgba(0, 152, 153, 0.2);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, border-color 0.4s ease, opacity 0.4s, border-radius 0.4s ease;
}

.cursor-ring.hovering {
    width: 60px; height: 60px;
    border-color: rgba(0, 152, 153, 0.1);
    border-radius: 16px;
    opacity: 0.6;
}

.cursor-ring.clicking {
    width: 32px; height: 32px;
    border-color: var(--accent-deep);
    border-radius: 8px;
}

.cursor-glow {
    position: fixed;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(0, 152, 153, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s;
}

.cursor-code-particle {
    position: fixed;
    pointer-events: none;
    z-index: 99997;
    font-family: var(--font-mono);
    font-weight: 600;
    opacity: 0;
    transform: translate(-50%, -50%);
    user-select: none;
    text-shadow: 0 0 8px currentColor;
}

.cursor-trail-particle {
    position: fixed;
    width: 4px; height: 4px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99997;
    opacity: 0;
    transform: translate(-50%, -50%);
}

/* ===== PARTICLE CANVAS ===== */
#particle-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== FLOATING NAVIGATION ===== */
.floating-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 152, 153, 0.1);
    border-radius: 9999px;
    padding: 6px;
    box-shadow: var(--shadow-md);
    transition: background var(--transition-medium), box-shadow var(--transition-medium);
}

.floating-nav:hover {
    box-shadow: var(--shadow-lg);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-logo {
    text-decoration: none;
    color: var(--accent-deep);
    font-weight: 800;
    font-size: 18px;
    padding: 10px 18px;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo-bracket {
    color: var(--accent-mid);
    font-family: var(--font-mono);
}

.nav-links {
    display: flex;
    gap: 2px;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 9999px;
    transition: color var(--transition-fast), background var(--transition-fast);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--accent-deep);
    background: rgba(0, 152, 153, 0.06);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    height: 2px; width: 0;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: width var(--transition-medium), left var(--transition-medium);
}

.nav-link:hover::after {
    width: 50%; left: 25%;
}

.nav-link.active {
    color: var(--accent-deep);
    font-weight: 600;
}

.nav-link.active::after {
    width: 50%; left: 25%;
}

/* ===== SECTION STYLES ===== */
.section {
    position: relative;
    padding: var(--section-padding);
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent-mid);
    display: inline-block;
    margin-bottom: 16px;
    letter-spacing: 1px;
    background: rgba(0, 152, 153, 0.06);
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(0, 152, 153, 0.1);
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--text-primary);
}

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

.section-line {
    width: 60px; height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 20px auto 0;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 120px 24px 60px;
    background: var(--bg-hero);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: var(--container-max);
    width: 100%;
}

.hero-text-area {
    flex: 1;
    max-width: 600px;
}

.hero-greeting {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.greeting-wave {
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
    transform-origin: 70% 70%;
    font-size: 24px;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
}

.hero-name {
    font-size: clamp(42px, 7vw, 76px);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 16px;
    letter-spacing: -3px;
    color: var(--text-primary);
}

.name-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
}

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

.hero-title {
    font-size: 20px;
    color: var(--accent-mid);
    margin-bottom: 20px;
    font-weight: 500;
    min-height: 30px;
    font-family: var(--font-mono);
}

.typing-cursor {
    display: inline-block;
    color: var(--accent-deep);
    animation: blink 1s step-end infinite;
    font-weight: 300;
}

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

.hero-description {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 30px;
    border-radius: 14px;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 35px rgba(0, 152, 153, 0.3);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-outline {
    color: var(--accent-deep);
    border: 1.5px solid var(--border-color);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    border-color: var(--accent-mid);
    background: rgba(0, 152, 153, 0.04);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-cta {
    font-size: 18px;
    padding: 20px 44px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    box-shadow: var(--shadow-accent);
    border-radius: var(--border-radius);
}

.btn-cta:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 45px rgba(0, 152, 153, 0.3);
}

/* Social Icons */
.hero-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-sm);
}

.social-icon svg { width: 20px; height: 20px; }

.social-icon:hover {
    color: var(--accent-mid);
    border-color: rgba(0, 152, 153, 0.2);
    background: #fff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Hero Visual */
.hero-visual { flex-shrink: 0; }

.hero-image-wrapper {
    position: relative;
    width: 330px; height: 330px;
}

.hero-image-glow {
    position: absolute;
    inset: -25%;
    background: radial-gradient(circle, rgba(0, 152, 153, 0.1) 0%, rgba(175, 253, 251, 0.06) 40%, transparent 70%);
    filter: blur(40px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.hero-image-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2.5px solid transparent;
    background: linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
                var(--gradient-accent) border-box;
    animation: ringRotate 10s linear infinite;
}

@keyframes ringRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-image-container {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    /* overflow: hidden; removed so mask can pop out! */
    background: linear-gradient(135deg, #e8fffe, #affdfb40, #f0faf9);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 20px rgba(0, 73, 88, 0.04);
}

.hero-avatar-placeholder {
    display: none;
}

.hero-image-mask {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 125%; /* slightly taller to allow the bigger head to pop out */
    border-bottom-left-radius: 155px; /* curve matches circle radius */
    border-bottom-right-radius: 155px;
    overflow: hidden;
    z-index: 2; /* stays above gradient */
}

.hero-image-mask img {
    position: absolute;
    bottom: -80px; /* Moved down to prevent head crop, bottom gets cleanly cut by the circle */
    left: 43%;
    transform: translateX(-50%);
    width: 150%; 
    height: auto;
    object-fit: cover;
}

.orbit-ring {
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    animation: orbitSpin 14s linear infinite;
}

.orbit-dot {
    position: absolute;
    width: 10px; height: 10px;
    border-radius: 50%;
}

.orbit-dot-1 { top: 0; left: 50%; transform: translateX(-50%); background: var(--accent-soft); box-shadow: 0 2px 10px rgba(175, 253, 251, 0.6); }
.orbit-dot-2 { bottom: 15%; right: 5%; background: var(--accent-deep); box-shadow: 0 2px 10px rgba(0, 73, 88, 0.4); }
.orbit-dot-3 { bottom: 15%; left: 5%; background: var(--accent-mid); box-shadow: 0 2px 10px rgba(0, 152, 153, 0.4); }

@keyframes orbitSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-mouse {
    width: 24px; height: 38px;
    border-radius: 12px;
    border: 2px solid rgba(0, 152, 153, 0.2);
    position: relative;
}

.scroll-mouse::after {
    content: '';
    width: 3px; height: 8px;
    background: var(--accent-mid);
    border-radius: 2px;
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* ===== ABOUT SECTION ===== */
.about-section { background: var(--bg-secondary); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 16px;
}

.about-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.badge-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--transition-medium);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.badge-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.badge-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8fffe, #affdfb40);
    border-radius: 14px;
}

.badge-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    font-weight: 600;
}

.badge-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-pulse {
    display: inline-block;
    width: 8px; height: 8px;
    background: var(--accent-mid);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 152, 153, 0.4); }
    50% { opacity: 0.6; box-shadow: 0 0 0 8px rgba(0, 152, 153, 0); }
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    backdrop-filter: blur(10px);
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-sm);
}

.skill-category:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.skill-category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.skill-category-title svg { color: var(--accent-mid); }

.skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-chip {
    padding: 8px 18px;
    background: linear-gradient(135deg, #e8fffe, #affdfb30);
    border: 1px solid rgba(0, 152, 153, 0.1);
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-medium);
}

.skill-chip:hover {
    color: var(--accent-deep);
    border-color: rgba(0, 152, 153, 0.3);
    background: rgba(0, 152, 153, 0.08);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ===== JOURNEY TIMELINE ===== */
.journey-section { background: var(--bg-secondary); }

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 44px;
}

.timeline-line {
    position: absolute;
    left: 11px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-deep), var(--accent-mid), rgba(0, 152, 153, 0.1));
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-node {
    position: absolute;
    left: -44px; top: 26px;
    width: 24px; height: 24px;
    border-radius: 50%;
    border: 3px solid var(--accent-mid);
    background: var(--bg-primary);
    z-index: 2;
    transition: all var(--transition-medium);
    box-shadow: 0 0 0 4px rgba(0, 152, 153, 0.08);
}

.timeline-item:hover .timeline-node {
    background: var(--accent-mid);
    box-shadow: 0 0 0 8px rgba(0, 152, 153, 0.12), 0 0 20px rgba(0, 152, 153, 0.2);
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 28px;
    backdrop-filter: blur(10px);
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-sm);
}

.timeline-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent-mid);
    font-weight: 600;
    margin-bottom: 8px;
    display: inline-block;
    background: rgba(0, 152, 153, 0.06);
    padding: 4px 12px;
    border-radius: 6px;
}

.timeline-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.timeline-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== PROJECTS ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.project-card {
    position: relative;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    backdrop-filter: blur(10px);
    transition: all var(--transition-medium);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.project-card-glow {
    position: absolute;
    width: 250px; height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 152, 153, 0.1), transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-medium);
    transform: translate(-50%, -50%);
}

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

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.project-icon {
    width: 52px; height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e8fffe, #affdfb40);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-mid);
}

.project-links { display: flex; gap: 8px; }

.project-link {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    background: var(--bg-glass);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid var(--border-color);
}

.project-link:hover {
    color: var(--accent-mid);
    background: rgba(0, 152, 153, 0.06);
    border-color: rgba(0, 152, 153, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.project-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.project-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
    padding: 5px 14px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.tag-frontend {
    background: rgba(0, 73, 88, 0.08);
    color: var(--accent-deep);
}

.tag-backend {
    background: rgba(0, 152, 153, 0.08);
    color: var(--accent-mid);
}

.tag-tool {
    background: rgba(175, 253, 251, 0.4);
    color: #006a6b;
}

/* ===== CONTACT ===== */
.contact-section { background: var(--bg-secondary); }

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-text {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 40px;
}

.contact-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    padding: 12px 22px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-sm);
}

.contact-social-link:hover {
    color: var(--accent-deep);
    border-color: rgba(0, 152, 153, 0.2);
    background: #fff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 40px 24px;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
    background: var(--bg-primary);
}

/* ===== SCROLL REVEAL ===== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content { flex-direction: column-reverse; text-align: center; gap: 48px; }
    .hero-text-area { max-width: 100%; }
    .hero-description { max-width: 100%; }
    .hero-cta { justify-content: center; }
    .hero-socials { justify-content: center; }
    .hero-image-wrapper { width: 260px; height: 260px; }
    .about-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --section-padding: 80px 0; }
    .floating-nav { top: 10px; padding: 4px; }
    .nav-link { padding: 8px 12px; font-size: 12px; }
    .nav-logo { padding: 8px 12px; font-size: 16px; }
    .hero-name { letter-spacing: -1.5px; }
    .skills-grid { grid-template-columns: 1fr; }
    .about-badges { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .hero-image-wrapper { width: 200px; height: 200px; }
    .hero-avatar-placeholder { font-size: 56px; }
}

@media (max-width: 480px) {
    .nav-links { display: none; }
    .hero-cta { flex-direction: column; align-items: center; }
}

.project-card[data-tilt] {
    transition: transform 0.5s cubic-bezier(0.03, 0.98, 0.52, 0.99),
                box-shadow 0.5s cubic-bezier(0.03, 0.98, 0.52, 0.99),
                border-color var(--transition-medium);
}
