﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0d0805;
    --bg-secondary: #15100a;
    --bg-card: #1e150d;
    --text-primary: #f5e6d3;
    --text-secondary: #b89e8a;
    --accent: #d4a574;
    --accent-hover: #e8c49a;
    --gradient: linear-gradient(135deg, #d4a574, #c4956a);
    --gradient-2: linear-gradient(135deg, #e8875a, #d4634a);
    --gradient-3: linear-gradient(135deg, #5bb8d4, #3a8fb8);
    --gradient-4: linear-gradient(135deg, #6bc47a, #4a9e5a);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: default;
}

.cursor {
    width: 8px;
    height: 8px;
    background: var(--gradient);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.15s ease;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(13, 8, 5, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
}

.nav-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.3rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--gradient);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 5%;
    background: radial-gradient(ellipse at 20% 50%, rgba(212, 165, 116, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(196, 149, 106, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 100%, rgba(232, 135, 90, 0.06) 0%, transparent 40%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(212, 165, 116, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 165, 116, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 25s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.particle {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle-dot {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    25% { transform: translateY(-30px) translateX(15px); opacity: 0.9; }
    50% { transform: translateY(-15px) translateX(-10px); opacity: 0.5; }
    75% { transform: translateY(-40px) translateX(20px); opacity: 0.8; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    width: 100%;
}

.hero-subtitle {
    font-size: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .line {
    display: block;
}

.hero-title .line:nth-child(1) {
    background: linear-gradient(135deg, #e8a87c, #d4a574);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .line:nth-child(2) {
    background: linear-gradient(135deg, #e8875a, #d4634a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient);
    color: #0d0805;
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(212, 165, 116, 0.1);
    transform: translateY(-3px);
}

.code-window {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(212, 165, 116, 0.2);
    overflow: hidden;
    animation: codeFloat 6s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(212, 165, 116, 0.1);
}

@keyframes codeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.window-header {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    background: rgba(212, 165, 116, 0.05);
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
}

.dot.red { background: #ff5f56; color: #ff5f56; }
.dot.yellow { background: #ffbd2e; color: #ffbd2e; }
.dot.green { background: #27c93f; color: #27c93f; }

.code-content {
    padding: 1.5rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
}

.code-content .keyword { color: #c678dd; }
.code-content .variable { color: #e06c75; }
.code-content .property { color: #61afef; }
.code-content .string { color: #98c379; }
.code-content .method { color: #61afef; }

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gradient);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

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

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

.about {
    padding: 8rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(196, 149, 106, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
    align-items: start;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    display: block;
    position: relative;
    z-index: 1;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.image-border {
    position: absolute;
    inset: 12px;
    border: 2px solid var(--accent);
    border-radius: 16px;
    z-index: 0;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.about-image:hover .image-border {
    inset: 8px;
    opacity: 0.7;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-text strong {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(212, 165, 116, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    border-color: rgba(212, 165, 116, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.15);
}

.stat-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.hobbies {
    padding: 8rem 0;
    position: relative;
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.hobby-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.hobby-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.hobby-card:hover::before {
    transform: scaleX(1);
}

.hobby-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 165, 116, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(212, 165, 116, 0.1);
}

.hobby-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(196, 149, 106, 0.1));
    border-radius: 50%;
    border: 2px solid rgba(212, 165, 116, 0.2);
    color: var(--accent);
    transition: all 0.4s ease;
}

.hobby-card:hover .hobby-icon {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), rgba(196, 149, 106, 0.2));
    border-color: rgba(212, 165, 116, 0.4);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(212, 165, 116, 0.3);
}

.hobby-icon svg {
    width: 42px;
    height: 42px;
}

.hobby-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.hobby-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.skills {
    padding: 8rem 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

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

.skill-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.skill-card:nth-child(1)::before { background: linear-gradient(90deg, #3b82f6, #06b6d4); }
.skill-card:nth-child(2)::before { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.skill-card:nth-child(3)::before { background: linear-gradient(90deg, #8b5cf6, #d946ef); }
.skill-card:nth-child(4)::before { background: linear-gradient(90deg, #10b981, #14b8a6); }

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-card:hover {
    border-color: rgba(212, 165, 116, 0.3);
    transform: translateY(-10px);
}

.skill-card:nth-child(1):hover { box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15); }
.skill-card:nth-child(2):hover { box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15); }
.skill-card:nth-child(3):hover { box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15); }
.skill-card:nth-child(4):hover { box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15); }

.skill-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.skill-card:nth-child(1) .skill-icon { background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(6,182,212,0.2)); }
.skill-card:nth-child(2) .skill-icon { background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(239,68,68,0.2)); }
.skill-card:nth-child(3) .skill-icon { background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(217,70,239,0.2)); }
.skill-card:nth-child(4) .skill-icon { background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(20,184,166,0.2)); }

.skill-card:nth-child(1) .skill-icon svg { stroke: #3b82f6; }
.skill-card:nth-child(2) .skill-icon svg { stroke: #f59e0b; }
.skill-card:nth-child(3) .skill-icon svg { stroke: #8b5cf6; }
.skill-card:nth-child(4) .skill-icon svg { stroke: #10b981; }

.skill-icon svg {
    width: 32px;
    height: 32px;
}

.skill-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.skill-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.skill-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.skill-tags span {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.skill-card:nth-child(1) .skill-tags span { background: rgba(59,130,246,0.15); color: #60a5fa; }
.skill-card:nth-child(2) .skill-tags span { background: rgba(245,158,11,0.15); color: #fbbf24; }
.skill-card:nth-child(3) .skill-tags span { background: rgba(139,92,246,0.15); color: #a78bfa; }
.skill-card:nth-child(4) .skill-tags span { background: rgba(16,185,129,0.15); color: #34d399; }

.ai-tools {
    padding: 8rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.ai-tools::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(196, 149, 106, 0.06) 0%, transparent 60%);
    border-radius: 50%;
}

.tools-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.tool-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tool-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card[data-tool="claude"]::after { background: linear-gradient(90deg, #D4A574, #C4956A); }
.tool-card[data-tool="opencode"]::after { background: linear-gradient(90deg, #6366f1, #4f46e5); }
.tool-card[data-tool="deepseek"]::after { background: linear-gradient(90deg, #00d4ff, #0099cc); }
.tool-card[data-tool="qwen"]::after { background: linear-gradient(90deg, #ff6b6b, #ee5a5a); }
.tool-card[data-tool="heygen"]::after { background: linear-gradient(90deg, #a855f7, #9333ea); }
.tool-card[data-tool="chatgpt"]::after { background: linear-gradient(90deg, #10a37f, #0d8c6c); }

.tool-card:hover::after {
    opacity: 1;
}

.tool-card:hover {
    border-color: rgba(212, 165, 116, 0.5);
    transform: translateY(-10px) scale(1.02);
}

.tool-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.tool-svg {
    width: 100%;
    height: 100%;
}

.tool-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.tool-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.tool-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.tool-card[data-tool="claude"] .tool-glow { background: #D4A574; }
.tool-card[data-tool="opencode"] .tool-glow { background: #6366f1; }
.tool-card[data-tool="deepseek"] .tool-glow { background: #00d4ff; }
.tool-card[data-tool="qwen"] .tool-glow { background: #ff6b6b; }
.tool-card[data-tool="heygen"] .tool-glow { background: #a855f7; }
.tool-card[data-tool="chatgpt"] .tool-glow { background: #10a37f; }

.tool-card:hover .tool-glow {
    opacity: 0.2;
}

.my-work {
    padding: 8rem 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.my-work::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 135, 90, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.work-timeline {
    margin-top: 3rem;
    position: relative;
}

.work-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
    align-items: center;
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.work-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-item:nth-child(odd) { direction: ltr; }
.work-item:nth-child(even) { direction: ltr; }

.work-item:nth-child(odd) .work-animation { order: 1; }
.work-item:nth-child(odd) .work-content { order: 2; }
.work-item:nth-child(even) .work-animation { order: 2; }
.work-item:nth-child(even) .work-content { order: 1; }

.work-item:nth-child(1)::before, .work-item:nth-child(1) .work-content h3 { background: linear-gradient(90deg, #3b82f6, #06b6d4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.work-item:nth-child(2)::before, .work-item:nth-child(2) .work-content h3 { background: linear-gradient(90deg, #a855f7, #d946ef); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.work-item:nth-child(3)::before, .work-item:nth-child(3) .work-content h3 { background: linear-gradient(90deg, #f43f5e, #ec4899); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.work-item:nth-child(4)::before, .work-item:nth-child(4) .work-content h3 { background: linear-gradient(90deg, #06b6d4, #22d3ee); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.work-item:nth-child(5)::before, .work-item:nth-child(5) .work-content h3 { background: linear-gradient(90deg, #f59e0b, #ef4444); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.work-item:nth-child(6)::before, .work-item:nth-child(6) .work-content h3 { background: linear-gradient(90deg, #10b981, #14b8a6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.work-item:hover::before {
    opacity: 1;
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.work-animation {
    width: 100%;
}

.animated-svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 20px rgba(99, 102, 241, 0.15));
}

.work-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.work-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.work-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.work-tags span {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.work-item:nth-child(1) .work-tags span { background: rgba(59,130,246,0.15); color: #60a5fa; }
.work-item:nth-child(2) .work-tags span { background: rgba(168,85,247,0.15); color: #c084fc; }
.work-item:nth-child(3) .work-tags span { background: rgba(244,63,94,0.15); color: #fb7185; }
.work-item:nth-child(4) .work-tags span { background: rgba(6,182,212,0.15); color: #22d3ee; }
.work-item:nth-child(5) .work-tags span { background: rgba(245,158,11,0.15); color: #fbbf24; }
.work-item:nth-child(6) .work-tags span { background: rgba(16,185,129,0.15); color: #34d399; }

.projects {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.06) 0%, transparent 60%);
    border-radius: 50%;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
    position: relative;
}

.project-card:hover {
    border-color: rgba(212, 165, 116, 0.4);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(212, 165, 116, 0.15);
}

.project-preview {
    background: #0a0604;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-browser {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-browser .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.project-browser .dot.red { background: #ff5f56; }
.project-browser .dot.yellow { background: #ffbd2e; }
.project-browser .dot.green { background: #27c93f; }

.project-url {
    flex: 1;
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 10px;
    border-radius: 4px;
    margin-left: 8px;
}

.project-screenshot {
    padding: 0;
}

.project-placeholder {
    width: 100%;
    height: auto;
    display: block;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.project-tags span {
    padding: 0.3rem 0.7rem;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 16px;
    font-size: 0.75rem;
    color: var(--accent);
}

.project-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.project-card:hover .project-link {
    letter-spacing: 1px;
}

.coming-soon {
    opacity: 0.7;
    border-style: dashed;
}

.coming-soon:hover {
    opacity: 1;
}

.my-imaginary {
    padding: 8rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.my-imaginary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(196, 149, 106, 0.06) 0%, transparent 60%);
    border-radius: 50%;
}

.imaginary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.imaginary-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.imaginary-card:hover {
    border-color: rgba(212, 165, 116, 0.4);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(212, 165, 116, 0.15);
}

.imaginary-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.imaginary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.imaginary-card:hover .imaginary-image img {
    transform: scale(1.08);
}

.imaginary-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
}

.imaginary-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.imaginary-info {
    padding: 1.5rem;
}

.imaginary-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.imaginary-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .imaginary-grid {
        grid-template-columns: 1fr;
    }
}

.contact {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.06) 0%, transparent 60%);
    border-radius: 50%;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.contact-item:nth-child(1):hover { border-color: rgba(59,130,246,0.5); }
.contact-item:nth-child(2):hover { border-color: rgba(16,185,129,0.5); }
.contact-item:nth-child(3):hover { border-color: rgba(168,85,247,0.5); }

.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item:nth-child(1) .contact-icon { background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(6,182,212,0.2)); }
.contact-item:nth-child(2) .contact-icon { background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(20,184,166,0.2)); }
.contact-item:nth-child(3) .contact-icon { background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(139,92,246,0.2)); }

.contact-item:nth-child(1) .contact-icon svg { stroke: #3b82f6; }
.contact-item:nth-child(2) .contact-icon svg { stroke: #10b981; }
.contact-item:nth-child(3) .contact-icon svg { stroke: #a855f7; }

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.15);
}

.form-group label {
    position: absolute;
    left: 1.2rem;
    top: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -0.7rem;
    left: 1rem;
    font-size: 0.8rem;
    background: var(--bg-primary);
    padding: 0 0.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(212, 165, 116, 0.1);
    background: var(--bg-secondary);
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .code-window {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 8, 5, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(212, 165, 116, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .tools-gallery {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .work-timeline::before {
        left: 20px;
    }
    
    .work-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .work-item:nth-child(even) .work-animation { order: 1; }
    .work-item:nth-child(even) .work-content { order: 2; }
    
    .animated-svg {
        max-width: 280px;
        margin: 0 auto;
    }
    
    body {
        cursor: auto;
    }
    
    .cursor,
    .cursor-follower {
        display: none;
    }
}
