/* ========================================
   Variables & Reset
   ======================================== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111119;
    --bg-card: #16161e;
    --bg-card-hover: #1c1c28;
    --text-primary: #e2e4e9;
    --text-secondary: #8b8fa3;
    --text-muted: #5a5e72;
    --accent: #7c5cfc;
    --accent-light: #9b82fc;
    --accent-glow: rgba(124, 92, 252, 0.3);
    --cyan: #36d7b7;
    --cyan-glow: rgba(54, 215, 183, 0.3);
    --gradient: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 100%);
    --border: #1e1e2e;
    --font-main: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --nav-height: 70px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-secondary);
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover {
    color: var(--cyan);
}

::selection {
    background: var(--accent);
    color: #fff;
}

/* ========================================
   Canvas / Particles
   ======================================== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 100;
    transition: all var(--transition);
    background: transparent;
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    z-index: 101;
}

.logo-bracket {
    color: var(--accent);
}

.logo-text {
    color: var(--cyan);
}

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

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: color var(--transition);
}

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

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

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

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 101;
}

.nav-burger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all var(--transition);
}

.nav-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-burger.active span:nth-child(2) {
    opacity: 0;
}
.nav-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 320px;
    height: 100vh;
    background: rgba(17, 17, 25, 0.98);
    backdrop-filter: blur(20px);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border);
}

.mobile-menu.open {
    right: 0;
}

.mobile-link {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--text-secondary);
    padding: 8px 16px;
    transition: color var(--transition);
}

.mobile-link:hover {
    color: var(--accent-light);
}

/* ========================================
   Music Player
   ======================================== */
.music-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.music-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.music-toggle:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    box-shadow: 0 0 20px var(--accent-glow);
}

.music-toggle svg {
    width: 20px;
    height: 20px;
}

.music-toggle.playing .icon-music-off { display: none; }
.music-toggle.playing .icon-music-on { display: block !important; }

.equalizer {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2px;
    align-items: flex-end;
    height: 10px;
    opacity: 0;
    transition: opacity var(--transition);
}

.music-toggle.playing .equalizer {
    opacity: 1;
}

.equalizer span {
    width: 2px;
    background: var(--accent);
    border-radius: 1px;
    animation: eq 0.8s ease-in-out infinite alternate;
}
.equalizer span:nth-child(1) { height: 4px; animation-delay: 0s; }
.equalizer span:nth-child(2) { height: 7px; animation-delay: 0.2s; }
.equalizer span:nth-child(3) { height: 5px; animation-delay: 0.4s; }
.equalizer span:nth-child(4) { height: 3px; animation-delay: 0.6s; }

@keyframes eq {
    0% { height: 3px; }
    100% { height: 10px; }
}

/* ========================================
   Sections & Container
   ======================================== */
.section {
    position: relative;
    z-index: 1;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.section.hero {
    min-height: 100vh;
}

.section.contact {
    min-height: 80vh;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.section-title::after {
    content: '';
    display: block;
    width: 200px;
    height: 1px;
    background: var(--border);
}

.title-number {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--accent);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    max-width: 700px;
}

.hero-greeting {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s 0.2s forwards;
}

.hero-name {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s 0.4s forwards;
}

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

@keyframes blink {
    50% { opacity: 0; }
}

.hero-tagline {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s 0.6s forwards;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s 0.8s forwards;
}

.hero-cta {
    display: flex;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s 1s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeUp 0.6s 1.4s forwards;
}

.scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

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

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

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--accent-light);
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background: rgba(124, 92, 252, 0.1);
    transform: translateY(-2px);
    color: var(--accent-light);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

/* ========================================
   Numbers / Impact
   ======================================== */
.numbers {
    min-height: auto;
    padding: 60px 0 80px;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.number-card {
    text-align: center;
    padding: 32px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.number-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity var(--transition);
}

.number-card:hover {
    border-color: rgba(124, 92, 252, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

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

.number-value {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: inline;
}

.number-suffix {
    font-size: 2rem;
    font-weight: 600;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
    vertical-align: top;
    margin-left: 2px;
}

.number-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 8px;
    font-family: var(--font-mono);
}

/* ========================================
   About Section
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    align-items: start;
}

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

.skills-list h3 {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-light);
    margin: 24px 0 16px;
    font-weight: 500;
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 32px;
}

.skill-category-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 500;
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
}

.skills-grid li {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
}

.skills-grid li::before {
    content: '\25B8';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 0.7rem;
    top: 1px;
}

/* Photo */
.photo-wrapper {
    position: relative;
    max-width: 280px;
    margin: 0 auto;
}

.photo-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 40%;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.photo-wrapper:hover::after {
    opacity: 1;
}

.photo-img {
    width: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(100%);
    position: relative;
    top: -100px;
}

.photo-img:hover {
    filter: grayscale(0%);
    transform: scale(1.03);
}

/* ========================================
   Timeline / Experience
   ======================================== */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--cyan), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-dot {
    position: absolute;
    left: -38px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--accent);
    z-index: 1;
    transition: all var(--transition);
}

.timeline-item:hover .timeline-dot {
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    transition: all var(--transition);
}

.timeline-content:hover {
    border-color: rgba(124, 92, 252, 0.3);
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 4px;
}

.timeline-role {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.timeline-company {
    font-size: 1rem;
    color: var(--cyan);
    margin-bottom: 12px;
}

.timeline-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

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

.tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(124, 92, 252, 0.1);
    color: var(--accent-light);
    border-radius: 4px;
    border: 1px solid rgba(124, 92, 252, 0.2);
}

/* ========================================
   Projects
   ======================================== */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

/* Featured project */
.project-card.featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

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

.project-card.featured:hover {
    border-color: rgba(124, 92, 252, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

.project-screenshot {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s;
    filter: brightness(0.7);
}

.project-card.featured:hover .project-screenshot {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.project-award-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--gradient);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px var(--accent-glow);
    z-index: 1;
}

.small-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.project-info {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 8px;
}

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

.project-description p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.project-tech span {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.project-link {
    color: var(--text-secondary);
    transition: color var(--transition);
}

.project-link:hover {
    color: var(--accent-light);
}

.project-link svg {
    width: 22px;
    height: 22px;
}

/* Small project cards */
.project-card.small {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-card-inner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}

.project-card-inner:hover {
    border-color: rgba(124, 92, 252, 0.3);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.project-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.folder-icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
}

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

.project-card-links a {
    color: var(--text-muted);
    transition: color var(--transition);
}

.project-card-links a:hover {
    color: var(--accent-light);
}

.project-card-links svg {
    width: 20px;
    height: 20px;
}

.project-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.project-card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex-grow: 1;
    margin-bottom: 20px;
}

.project-card-tech {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.project-card-tech span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ========================================
   Contact
   ======================================== */
.contact {
    text-align: center;
}

.contact .container {
    max-width: 600px;
}

.contact-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.contact-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    position: relative;
    z-index: 1;
    padding: 40px;
    text-align: center;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.footer-socials a {
    color: var(--text-muted);
    transition: all var(--transition);
}

.footer-socials a:hover {
    color: var(--accent-light);
    transform: translateY(-3px);
}

.footer-socials svg {
    width: 22px;
    height: 22px;
}

.footer-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================================
   Scroll to Top
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 90px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(22, 22, 30, 0.6);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all var(--transition);
    backdrop-filter: blur(10px);
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: rgba(22, 22, 30, 0.85);
}

.scroll-top svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .scroll-top {
        right: 70px;
        bottom: 20px;
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   Scroll Animations
   ======================================== */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */
/* Tablet */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-photo {
        order: -1;
    }

    .photo-wrapper {
        max-width: 220px;
    }

    .project-card.featured {
        grid-template-columns: 1fr;
    }

    .project-image-placeholder {
        min-height: 200px;
    }

    .small-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .nav-burger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        padding: 0 20px;
    }

    .container {
        padding: 0 20px;
    }

    .section {
        padding: 80px 0;
    }

    .photo-wrapper {
        max-width: 180px;
    }

    .small-projects-grid {
        grid-template-columns: 1fr;
    }

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .number-card {
        padding: 24px 12px;
    }

    .number-value {
        font-size: 2.2rem;
    }

    .number-suffix {
        font-size: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        text-align: center;
        justify-content: center;
    }

    .section-title::after {
        width: 100px;
    }

    .music-player {
        bottom: 20px;
        right: 20px;
    }

    .music-toggle {
        width: 40px;
        height: 40px;
    }

    .timeline {
        padding-left: 24px;
    }

    .timeline-dot {
        left: -30px;
    }

    .project-info {
        padding: 24px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-name {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .contact-heading {
        font-size: 1.8rem;
    }

    .skills-categories {
        grid-template-columns: 1fr;
    }

    .photo-wrapper {
        max-width: 150px;
    }

    .timeline-content {
        padding: 16px;
    }

    .project-info {
        padding: 20px;
    }
}
