:root {
    --accent-purple: #b31dff;
    --accent-cyan: #2fe9d7;
    --accent-cyan-deep: #1acbc2;
    
    --bg-main: #111111;
    --text-main: #ffffff;
    --text-body: #f5f5f5;
    --text-muted: #d7d7d7;
    
    --glass-bg: rgba(25, 25, 25, 0.42);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --shadow-subtle: rgba(0, 0, 0, 0.18);
    
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-bg-hover: rgba(255, 255, 255, 0.06);
    
    --cta-bg: #ffffff;
    --cta-text: #111111;
    
    --footer-bg: transparent;
    --footer-text-title: rgba(255, 255, 255, 0.4);
    --footer-text-link: rgba(255, 255, 255, 0.7);
    --footer-border: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] {
    --bg-main: #f5f5f7;
    --text-main: #111111;
    --text-body: #333333;
    --text-muted: #555555;
    
    --glass-bg: rgba(255, 255, 255, 0.7);
    --border-subtle: rgba(0, 0, 0, 0.1);
    --shadow-subtle: rgba(0, 0, 0, 0.05);
    
    --card-bg: rgba(0, 0, 0, 0.03);
    --card-bg-hover: rgba(0, 0, 0, 0.06);
    
    --cta-bg: #111111;
    --cta-text: #ffffff;
    
    --footer-bg: transparent;
    --footer-text-title: rgba(0, 0, 0, 0.5);
    --footer-text-link: rgba(0, 0, 0, 0.7);
    --footer-border: rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg-main);
    color: var(--text-body);
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    display: flex;
    justify-content: center;
    padding: 20px 24px;
}

.header-group {
    width: min(980px, calc(100% - 32px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    padding: 10px 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px var(--shadow-subtle);
}

.left-bar,
.right-bar {
    display: flex;
    align-items: center;
}

.left-bar {
    gap: 10px;
}

.right-bar {
    gap: 26px;
}

.logo-img {
    width: 28px;
    height: auto;
}

.logo-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    opacity: 0.8;
    transition: 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-purple);
    opacity: 1;
}

.hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-image: url("neverstop.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-name-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 700px;
}

.hero-kicker {
    margin: 0;
    font-size: clamp(0.85rem, 1.2vw, 1.3rem);
    letter-spacing: 0.04em;
    font-weight: 500;
    color: var(--text-body);
    opacity: 0.95;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.1rem, 4.4vw, 4.8rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    color: var(--text-main);
    text-align: center;
}

.page-content {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    padding-bottom: 90px;
}

.skills,
.work,
.contacts {
    margin-top: 80px;
}

.skills {
    margin-top: 40px;
    padding-bottom: 20px;
}

.skills h2,
.work h2,
.contacts h2 {
    margin: 0 0 24px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 400;
    color: var(--accent-purple);
    text-transform: lowercase;
    text-align: center;
}

.skill-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    margin: 12px auto 0;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
}

/* Modern Section Headers */
.section-header {
    margin-bottom: 36px;
}

.section-eyebrow {
    display: inline-block;
    color: var(--accent-cyan);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
    color: var(--text-main);
    text-transform: uppercase;
}

.section-subtitle {
    color: var(--footer-text-link);
    font-size: 0.98rem;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Skills Grid Section */
.skills-section {
    padding: 60px 0 40px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 24px;
}

.skill-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.skill-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(47, 233, 215, 0.25), transparent);
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
    z-index: 2;
}

.skill-card:hover {
    transform: translateY(-6px) scale(1.02);
    background: var(--card-bg-hover);
    border-color: rgba(47, 233, 215, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(47, 233, 215, 0.15);
}

.skill-card:hover::before {
    animation: shineReflect 1.2s ease forwards;
}

/* Original 3D Entrance for Skills */
.reveal-3d-flip {
    opacity: 0;
    transform: perspective(1200px) rotateX(-15deg) translateY(40px);
    transform-origin: center bottom;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-3d-flip.is-visible {
    opacity: 1;
    transform: perspective(1200px) rotateX(0deg) translateY(0);
}

.skill-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(47, 233, 215, 0.08);
    border: 1px solid rgba(47, 233, 215, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-card-icon {
    background: var(--accent-cyan);
    color: #0f0f14;
    transform: scale(1.06) rotate(-3deg);
    box-shadow: 0 8px 20px rgba(47, 233, 215, 0.3);
}

.skill-card-content h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
}

.skill-card-content p {
    margin: 0 0 14px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

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

.skill-tags span {
    padding: 4px 10px;
    background: var(--card-bg-hover);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--footer-text-link);
    transition: all 0.25s ease;
}

.skill-card:hover .skill-tags span {
    background: rgba(47, 233, 215, 0.12);
    border-color: rgba(47, 233, 215, 0.3);
    color: var(--accent-cyan);
}

.work-section {
    padding: 40px 0 20px;
}

.work-footer-action {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.explore-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    font-size: 0.95rem;
    border-radius: 999px;
    text-decoration: none;
}

.explore-all-btn svg {
    transition: transform 0.3s ease;
}

.explore-all-btn:hover svg {
    transform: translateX(5px);
}

.primary-btn {
    background: var(--cta-bg);
    color: #0b0b0e;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.primary-btn:hover {
    background: linear-gradient(135deg, var(--accent-cyan), #c8ffe8);
    color: #0b0b0e;
    box-shadow: 0 10px 28px rgba(47, 233, 215, 0.35);
    transform: translateY(-2px);
}

.gallery-track {
    display: flex;
    gap: 18px;
    width: 100%;
    min-height: 360px;
}

.gallery-card {
    position: relative;
    flex: 1;
    height: 360px;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.35s ease;
    opacity: 1;
    transform: scale(1);
    background: #1d1d1d;
    isolation: isolate;
}

.gallery-card.active {
    flex: 1.7;
}

.card-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(0.9) contrast(1.05);
    z-index: 0;
    transition: opacity 0.3s ease;
}

.gallery-card.active .card-image {
    opacity: 0;
}

.card-copy {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(179, 29, 255, 0.96);
    color: var(--cta-text);
    padding: 20px 18px;
    border-radius: 18px;
    opacity: 0;
    transform: scale(0.96);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    pointer-events: none;
}

.gallery-card.active .card-copy {
    opacity: 1;
    transform: scale(1);
}

.card-copy h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: var(--cta-text);
    font-weight: 700;
}

.card-copy p {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--cta-text);
}

.contacts {
    margin-top: 80px;
    text-align: center;
    padding-bottom: 60px;
}

.contacts p {
    margin: 10px 0;
    color: var(--footer-text-link);
    font-size: 1.02rem;
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 17vw, 5rem);
    }

    .gallery-track {
        gap: 10px;
        min-height: 280px;
    }

    .gallery-card {
        height: 280px;
    }

    .gallery-card.active {
        flex: 1.8;
    }

    .card-copy {
        padding: 12px;
    }

    .card-copy h3 {
        font-size: 1rem;
    }

    .card-copy p {
        font-size: 0.65rem;
    }
}
.about-page,
.work-page {
    padding-top: 120px;
}

.about-section,
.work-section {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.about-header,
.work-header {
    margin-bottom: 30px;
    text-align: center;
}

.eyebrow {
    margin: 0 0 8px;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-purple);
}

.about-header h1,
.work-header h1 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    color: var(--text-main);
}

.about-intro {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    margin: 32px 0 28px;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.about-photo-card {
    width: 100%;
}

.photo-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(179, 29, 255, 0.18), rgba(255, 255, 255, 0.03)),
        #1b1b1b;
    border: 1px dashed rgba(179, 29, 255, 0.7);
    color: var(--text-body);
    font-size: 0.8rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 18px;
}

.about-photo-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 22px;
    display: block;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.photo-placeholder span {
    display: inline-block;
    max-width: 140px;
    line-height: 1.6;
}

.about-summary {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-summary h2 {
    margin: 0;
    font-size: clamp(1.8rem, 2.7vw, 2.8rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    color: var(--text-main);
}

.about-summary p {
    margin: 0;
    color: var(--footer-text-link);
    line-height: 1.8;
    font-size: 1rem;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    transition: 0.2s ease;
}

.primary-btn {
    background: var(--accent-cyan);
    color: var(--cta-text);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(47, 233, 215, 0.26);
}

.secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-body);
}

.secondary-btn:hover {
    border-color: rgba(47, 233, 215, 0.7);
    color: var(--accent-cyan);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    background: var(--card-bg-hover);
    border-color: rgba(179, 29, 255, 0.5);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(179, 29, 255, 0.1);
}

.feature-icon {
    margin-bottom: 20px;
    color: var(--accent-purple);
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-content {
    margin-bottom: 32px;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 12px;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--footer-text-link);
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-desc {
    color: var(--text-main);
}

.work-intro {
    margin: 0 0 28px;
    text-align: center;
}

.work-intro p {
    margin: 0;
    color: var(--footer-text-link);
    font-size: 1.02rem;
    line-height: 1.8;
    max-width: 700px;
    margin-inline: auto;
}

.work-grid,
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

/* Premium Work Card Component */
.work-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
    background: #0f0f14;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    isolation: isolate;
}

.work-card:hover {
    transform: translateY(-6px);
    border-color: rgba(47, 233, 215, 0.45);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(47, 233, 215, 0.15);
}

.work-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: filter 0.5s ease, transform 0.5s ease;
    z-index: 0;
}

/* Image Blur on Hover */
.work-card:hover .work-card-bg {
    filter: blur(12px) brightness(0.65);
    transform: scale(1.08);
}

.work-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 12, 16, 0.25) 0%, rgba(12, 12, 16, 0.6) 55%, rgba(12, 12, 16, 0.95) 100%);
    transition: background 0.4s ease;
    z-index: 1;
}

.work-card:hover .work-card-overlay {
    background: linear-gradient(180deg, rgba(12, 12, 16, 0.4) 0%, rgba(12, 12, 16, 0.8) 55%, rgba(12, 12, 16, 0.98) 100%);
}

.work-card-header {
    position: relative;
    z-index: 2;
    padding: 22px 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.work-card-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-cyan);
}

.work-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.work-card:hover .work-card-icon {
    background: var(--accent-cyan);
    color: #0f0f14;
    border-color: var(--accent-cyan);
    transform: rotate(45deg);
}

.work-card-body {
    position: relative;
    z-index: 2;
    padding: 0 22px 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.work-card-title {
    margin: 0 0 8px;
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.25;
    transition: transform 0.35s ease;
}

.work-card-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ffffff;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(12px);
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, transform 0.35s ease, margin-bottom 0.35s ease;
}

/* Hover reveals description text */
.work-card:hover .work-card-text {
    max-height: 120px;
    opacity: 1;
    transform: translateY(0);
    margin-bottom: 16px;
}

.work-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px;
    background: var(--cta-bg);
    color: var(--cta-text);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.work-card:hover .work-card-btn {
    background: linear-gradient(135deg, var(--accent-cyan), #ffffff);
    color: #0b0b0e;
    box-shadow: 0 8px 24px rgba(47, 233, 215, 0.3);
}

.work-card-btn svg {
    transition: transform 0.3s ease;
}

.work-card:hover .work-card-btn svg {
    transform: translateX(4px);
}

.project-tag {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--accent-cyan);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
}

.project-info h3 {
    margin: 0 0 10px;
    color: var(--text-main);
    font-size: 1.4rem;
    letter-spacing: -0.04em;
}

.project-info p {
    margin: 0;
    color: var(--footer-text-link);
    line-height: 1.7;
    font-size: 0.96rem;
}

.project-detail-page {
    padding-top: 120px;
}

.case-study {
    width: min(980px, 100%);
    margin: 0 auto;
}

.case-hero {
    margin-bottom: 28px;
}

.case-breadcrumb {
    margin: 0 0 14px;
    color: var(--accent-purple);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.case-breadcrumb a {
    color: var(--accent-purple);
}

.case-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.case-header h1 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    letter-spacing: -0.06em;
    text-transform: uppercase;
    color: var(--text-main);
}

.case-summary {
    max-width: 520px;
    margin: 0;
    color: var(--text-main);
    line-height: 1.8;
    font-size: 1rem;
}

.case-cover {
    min-height: 420px;
    border-radius: 26px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    margin-bottom: 28px;
}

.case-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.8fr);
    gap: 24px;
    margin-bottom: 26px;
}

.case-section,
.case-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 24px;
}

.case-section h2,
.case-panel h3 {
    margin: 0 0 14px;
    color: var(--accent-purple);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.case-section p {
    margin: 0 0 12px;
    color: var(--text-main);
    line-height: 1.8;
}

.case-section p:last-child {
    margin-bottom: 0;
}

.case-metrics {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.case-metrics li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.case-metrics li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.case-metrics span {
    color: var(--text-muted);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.case-metrics strong {
    color: var(--text-main);
    font-size: 0.96rem;
    line-height: 1.5;
    font-weight: 600;
}

.case-image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 26px;
}

.portfolio-gallery {
    display: grid;
    gap: 22px;
    margin-top: 18px;
}

.portfolio-subsection {
    padding: 0;
    background: transparent;
    border: 0;
}

.portfolio-subsection h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-cyan);
}

.portfolio-subsection p {
    margin: 0 0 18px;
    color: var(--footer-text-link);
    line-height: 1.7;
}

.portfolio-grid {
    column-count: 3;
    column-gap: 14px;
}

.portfolio-item {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0 0 14px;
    break-inside: avoid;
    cursor: pointer;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, filter 0.2s ease;
    background: transparent;
}

.portfolio-item:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
}

.portfolio-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    background: transparent;
    border-radius: 16px;
    padding: 0;
    box-shadow: none;
}

.portfolio-item.hidden {
    visibility: hidden;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    pointer-events: none;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.portfolio-overlay:hover {
    background: rgba(0, 0, 0, 0.7);
}

.overlay-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-body);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.load-more-btn {
    width: 100%;
    padding: 14px 24px;
    margin-top: 20px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    color: var(--cta-text);
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(179, 29, 255, 0.3);
}

.load-more-btn:active {
    transform: translateY(0);
}

.case-image {
    min-height: 280px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-subtle);
}

.case-cover-brand,
.case-image-brand-one,
.case-image-brand-two {
    background-image: url('Delães/Frame%2087.png');
}

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(9, 9, 9, 0.9);
    z-index: 100;
    padding: 24px;
}

.lightbox.open {
    display: flex;
}

.lightbox-panel {
    position: relative;
    max-width: min(1100px, 90vw);
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.lightbox-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: min(850px, 75vw);
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 18px;
    border: 1px solid var(--border-subtle);
    background: #111;
    user-select: none;
    touch-action: pan-y;
}

.lightbox-gallery {
    width: 100%;
    display: flex;
    justify-content: center;
}

.thumb-strip {
    display: flex;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    padding: 4px 2px 8px;
    scrollbar-width: thin;
}

.thumb-item {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    opacity: 0.72;
    transition: all 0.2s ease;
}

.thumb-item.active {
    border-color: rgba(47, 233, 215, 0.9);
    opacity: 1;
    box-shadow: 0 0 0 1px rgba(47, 233, 215, 0.55);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    border: 0;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
}

.lightbox-close {
    top: -16px;
    right: -16px;
}

.lightbox-prev {
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
}

.photo-item {
    position: relative;
}

.photo-item-more .more-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 8, 10, 0.42);
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.photo-item-more .portfolio-image {
    filter: saturate(0.9);
}

.case-cover-packaging,
.case-image-packaging-one,
.case-image-packaging-two {
    background-image: url('https://images.unsplash.com/photo-1528747008803-1f1a1b7d5a8d?auto=format&fit=crop&w=1200&q=80');
}

.case-cover-social,
.case-image-social-one,
.case-image-social-two {
    background-image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=80');
}

.case-cover-ui,
.case-image-ui-one,
.case-image-ui-two {
    background-image: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1200&q=80');
}

.case-cover-tattoo {
    background-image: url('tattoo/mockup.png');
}

.case-cover-lipton {
    background-image: url('lipton/1.png');
}

.case-cover-posto {
    background-image: url('posto/page_1.png');
}

.case-cover-vinil-design {
    background-image: url('vinil design/mockup.jpg');
}

/* Chicane Magazine card decorative icon */
.work-card-chicane-magazine-icon {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-card-chicane-magazine-icon svg {
    width: 160px;
    height: 160px;
}

/* Vinil Design card decorative icon */
.work-card-vinil-design-icon {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-card-vinil-design-icon svg {
    width: 160px;
    height: 160px;
}

.pdf-button {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    margin-top: 16px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    color: var(--cta-text);
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.pdf-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(179, 29, 255, 0.3);
}

.pdf-button:active {
    transform: translateY(0);
}

.pdf-button span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pdf-large {
    width: 100%;
    padding: 18px 28px;
    font-size: 1rem;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .about-intro {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .about-grid,
    .project-grid,
    .case-grid,
    .case-image-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        column-count: 2;
    }

    .about-page,
    .work-page,
    .project-detail-page {
        padding-top: 100px;
    }

    .about-summary h2 {
        font-size: 2rem;
    }

    .case-header {
        align-items: flex-start;
    }
}

/* Removed old site-footer rules to fix syntax error */
/* CTA Banner */
.cta-banner-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 24px;
}

.cta-banner {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    color: var(--cta-text);
    box-shadow: 0 20px 40px rgba(179, 29, 255, 0.2);
}

.cta-banner h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.cta-banner p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px;
    opacity: 0.9;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background: var(--cta-bg);
    color: var(--cta-text);
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Footer redesign */
.site-footer {
    width: 100%;
    padding: 80px 24px 40px;
    background: transparent;
    border-top: 1px solid var(--footer-border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-col-brand .logo-img {
    height: 28px;
    width: auto;
}

.footer-col-brand .logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.footer-tagline {
    color: var(--footer-text-title);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 300px;
    margin: 0;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--footer-text-title);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 24px;
}

.footer-col-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col-links a {
    color: var(--footer-text-link);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col-links a:hover {
    color: var(--accent-cyan);
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.footer-social-icons svg {
    color: var(--footer-text-link);
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    background: rgba(47, 233, 215, 0.05);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

.footer-social-icons a:hover svg {
    color: var(--accent-cyan);
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--cta-bg);
    color: var(--cta-text);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    width: 100%;
    max-width: 200px;
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.footer-bottom {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: var(--footer-text-title);
    font-size: 0.8rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 500px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   FAB (Floating Action Button) & Themes
========================================= */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.fab-menus-wrapper {
    position: relative;
    display: flex;
    align-items: flex-end;
    margin-bottom: 16px;
    pointer-events: none;
}

.fab-menu-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    padding: 12px 8px;
    box-shadow: 0 10px 30px var(--shadow-subtle);
    pointer-events: none;
}

.fab-menu-horizontal {
    position: absolute;
    right: 60px;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    padding: 8px 12px;
    box-shadow: 0 10px 30px var(--shadow-subtle);
    pointer-events: none;
}

.fab-container.fab-active .fab-menu-vertical,
.fab-container.fab-active .fab-menu-horizontal {
    opacity: 1;
    transform: translate(0, 0);
    pointer-events: auto;
}

.fab-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px var(--shadow-subtle);
    transition: transform 0.3s ease, background 0.3s ease;
    pointer-events: auto;
}

.fab-btn:hover {
    transform: scale(1.05);
    background: var(--card-bg-hover);
}

.fab-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    font-weight: 600;
}

.fab-item:hover, .fab-item.active {
    background: var(--card-bg-hover);
    border-color: var(--border-subtle);
    color: var(--accent-cyan);
}

[data-theme="light"] .hero {
    background-image: url("neverstopwhite-01.png");
}

/* ==========================================================================
   Motion Design & Animation System
   ========================================================================== */

/* Base Reveal States ("animations off until entered") */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95) translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-36px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-right {
    opacity: 0;
    transform: translateX(36px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* Active State (When triggered by IntersectionObserver or fallback) */
.reveal.is-visible,
.reveal-scale.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }
.delay-6 { transition-delay: 0.48s; }

/* Keyframe Animations */
@keyframes navSlideDown {
    from {
        opacity: 0;
        transform: translateY(-24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeCascade {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shineReflect {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

/* Page Header / Topbar Animation */
.topbar {
    animation: navSlideDown 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Hero Entrance Animations */
.hero-kicker {
    animation: heroFadeCascade 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.hero h1 {
    animation: heroFadeCascade 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

/* About Intro Animations */
.about-photo-card {
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

.about-photo-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(47, 233, 215, 0.12);
}

/* Creative Interactive Buttons */
.primary-btn, .cta-button, .about-actions .primary-btn, .pdf-button {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.primary-btn::after, .cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: skewX(-25deg);
    pointer-events: none;
}

.primary-btn:hover::after, .cta-button:hover::after {
    animation: shineReflect 0.85s ease forwards;
}

.primary-btn:active, .cta-button:active, .secondary-btn:active, .pdf-button:active {
    transform: scale(0.97);
}

.secondary-btn {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.secondary-btn:hover {
    background: var(--card-bg-hover);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(47, 233, 215, 0.15);
}

/* PDF Button Hover Polish */
.pdf-button:hover {
    transform: translateY(-2px);
    border-color: var(--accent-purple);
    box-shadow: 0 8px 24px rgba(179, 29, 255, 0.2);
}

/* Work Card & Portfolio Item Hover Aesthetics */
.work-card, .portfolio-item, .feature-card, .skill-card, .case-panel {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 25px rgba(47, 233, 215, 0.12);
    border-color: rgba(47, 233, 215, 0.35);
}

.work-card-thumb img, .portfolio-image {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.work-card:hover .work-card-thumb img,
.portfolio-item:hover .portfolio-image {
    transform: scale(1.04);
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3), 0 0 20px rgba(47, 233, 215, 0.15);
    border-color: rgba(47, 233, 215, 0.3);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(179, 29, 255, 0.35);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), 0 0 20px rgba(179, 29, 255, 0.1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(4deg);
    color: var(--accent-cyan);
    background: rgba(47, 233, 215, 0.15);
}

.feature-icon {
    transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
}

/* Lightbox Image Smooth Open */
.lightbox.open .lightbox-panel {
    animation: heroFadeCascade 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Filter Buttons in work.html */
.filter-btn {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn:hover {
    transform: translateY(-2px);
}

.filter-btn.active {
    box-shadow: 0 4px 16px rgba(47, 233, 215, 0.25);
}

/* Floating Action Button (FAB) Micro-interactions */
.fab-btn svg, .fab-btn span {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fab-container.fab-active .fab-btn svg {
    transform: rotate(90deg);
}

.fab-container.fab-active .fab-menu-vertical .fab-item:nth-child(1) {
    transition-delay: 0.04s;
}
.fab-container.fab-active .fab-menu-vertical .fab-item:nth-child(2) {
    transition-delay: 0.08s;
}
.fab-container.fab-active .fab-menu-horizontal .fab-item:nth-child(1) {
    transition-delay: 0.04s;
}
.fab-container.fab-active .fab-menu-horizontal .fab-item:nth-child(2) {
    transition-delay: 0.08s;
}
.fab-container.fab-active .fab-menu-horizontal .fab-item:nth-child(3) {
    transition-delay: 0.12s;
}

/* Respect Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal, .reveal-scale, .reveal-left, .reveal-right {
        opacity: 1 !important;
        transform: none !important;
    }
}



@media (max-width: 500px) {
    .skills-grid, .work-grid {
        grid-template-columns: 1fr;
    }
    .fab-container {
        bottom: 20px;
        right: 20px;
    }
}



/* Mobile Menu & Burger */
.burger-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    z-index: 30;
    transition: transform 0.3s ease;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 24px;
    right: 24px;
    width: auto;
    height: auto;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    gap: 20px;
    z-index: 15;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-subtle);
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-nav-link {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

@media (max-width: 768px) {
    .right-bar {
        display: none;
    }
    .burger-btn {
        display: block;
    }
    .hero {
        background-size: 130% !important;
        background-position: center top !important;
    }
    .hero-name-wrap {
        margin-top: 320px !important;
        min-height: auto !important;
        padding-bottom: 20px !important;
    }
}

@media (max-width: 500px) {
    .skills-grid, .work-grid {
        grid-template-columns: 1fr;
    }
    .fab-container {
        bottom: 20px;
        right: 20px;
    }
}




