:root {
    --bg: #0b0b0b;
    --panel: #1d1d1d;
    --panel-2: #202020;
    --panel-3: #151515;
    --border: #2f2f2f;
    --text: #f7f7f7;
    --muted: #a4a7b0;
    --accent: #08f58b;
    --accent-soft: rgba(8, 245, 139, 0.15);
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    --mono: "Courier New", Courier, monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 11, 11, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-nav {
    max-width: 1880px;
    margin: 0 auto;
    padding: 18px 22px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
}

.brand {
    color: var(--accent);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.nav-links a {
    color: #f2f2f2;
    font-size: 0.95rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #f0f0f0;
    font-size: 0.92rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    min-width: 40px;
    min-height: 40px;
    border: 0;
    background: transparent;
    color: #f2f2f2;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(11, 11, 11, 0.98);
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu-links {
    padding: 1rem 22px 1.2rem;
    display: grid;
    gap: 0.85rem;
}

.mobile-menu-links a {
    color: #f2f2f2;
    font-size: 0.98rem;
}

.mobile-cta-link,
.mobile-admin-link {
    color: var(--accent) !important;
    font-weight: 700;
}

.solid-button,
.ghost-button,
.lang-pill,
.hero-cta,
.panel-cta,
.project-demo-btn,
.project-code-btn,
.filter-chip {
    transition: all 0.2s ease;
}

.solid-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 1.25rem;
    border-radius: 6px;
    background: var(--accent);
    color: #05120b;
    font-weight: 700;
}

.solid-button:hover,
.hero-cta:hover,
.project-demo-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(8, 245, 139, 0.15);
}

.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    color: #d9dde4;
}

.admin-link-button {
    min-height: 38px;
    font-size: 0.85rem;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    overflow: hidden;
    background: transparent;
}

.lang-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 38px;
    border: 0;
    background: transparent;
    color: #f0f0f0;
    font-weight: 700;
    cursor: pointer;
}

.lang-pill.active {
    background: var(--accent);
    color: #04140b;
}

main {
    padding: 88px 0 80px;
}

.hero-section,
.design-section,
.detail-shell,
.content-section {
    max-width: 1880px;
    margin: 0 auto;
    padding-left: 112px;
    padding-right: 112px;
}

.hero-section {
    min-height: calc(100vh - 88px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(500px, 0.95fr);
    align-items: center;
    gap: 4rem;
}

.hero-kicker {
    margin: 0 0 1.75rem;
    color: var(--accent);
    font-family: var(--mono);
    font-size: 1rem;
}

.hero-heading {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: clamp(4rem, 7vw, 7.2rem);
    line-height: 0.92;
}

.hero-name-block {
    color: #fafafa;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.hero-bracket {
    color: var(--accent);
    font-weight: 800;
}

.hero-bracket-right {
    padding-top: 1.6rem;
}

.hero-subtitle {
    margin: 2rem 0 0;
    color: #c8ccd3;
    font-size: clamp(1.8rem, 2.8vw, 2.9rem);
    font-weight: 300;
}

.hero-metrics {
    display: flex;
    gap: 5rem;
    margin-top: 3.7rem;
}

.metric strong {
    display: block;
    color: var(--accent);
    font-size: 3rem;
    font-weight: 800;
}

.metric span {
    color: var(--muted);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.tech-stack-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 4rem;
}

.stack-label {
    color: var(--muted);
    font-size: 1rem;
}

.stack-icons {
    display: flex;
    gap: 1.2rem;
}

.stack-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(8, 245, 139, 0.25);
    border-radius: 12px;
    background: rgba(28, 28, 28, 0.7);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.stack-icon i,
.stack-icon span {
    font-size: 2rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 3rem;
    min-height: 70px;
    padding: 0 2.5rem;
    border-radius: 12px;
    background: var(--accent);
    color: #04140b;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 18px 30px rgba(8, 245, 139, 0.16);
}

.hero-visual {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-orb {
    position: absolute;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(8, 245, 139, 0.12) 0%, rgba(8, 245, 139, 0.03) 38%, rgba(8, 245, 139, 0) 68%);
    filter: blur(6px);
    animation: orbPulse 1s ease-in-out infinite alternate;
}

.profile-photo-shell {
    position: relative;
    z-index: 2;
    width: 480px;
    height: 480px;
    padding: 8px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(8, 245, 139, 0.7), rgba(4, 120, 74, 0.9));
    box-shadow: 0 0 70px rgba(8, 245, 139, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #d8dbe5;
    transition: transform 0.25s ease;
}

.profile-photo-shell:hover {
    transform: scale(1.03);
    box-shadow: 0 0 90px rgba(8, 245, 139, 0.24);
}

.profile-photo-shell:hover .profile-photo {
    transform: scale(1.02);
}

.profile-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #3b3b3b, #252525);
}

.profile-placeholder span {
    color: var(--accent);
    font-size: 7rem;
    font-weight: 800;
}

.floating-badge {
    position: absolute;
    z-index: 3;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(8, 245, 139, 0.35);
    border-radius: 50%;
    background: rgba(18, 18, 18, 0.92);
    box-shadow: 0 0 24px rgba(8, 245, 139, 0.12);
    font-size: 1.7rem;
    transform-origin: center center;
    animation: badgePulse 1s ease-in-out infinite alternate;
}

.badge-js {
    top: 110px;
    right: 40px;
    background: rgba(18, 18, 18, 0.9);
}

.floating-badge i,
.floating-badge span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.badge-glyph {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.badge-glyph-js {
    width: 34px;
    height: 34px;
    background: #f7df1e;
    color: #111;
    font-weight: 800;
    font-size: 1.2rem;
}

.badge-react {
    top: 230px;
    left: 90px;
    animation-delay: 0.12s;
}

.badge-python {
    right: 10px;
    bottom: 165px;
    animation-delay: 0.24s;
}

.badge-node {
    right: 105px;
    bottom: 120px;
    animation-delay: 0.36s;
}

.ambient-dot {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    background: rgba(8, 245, 139, 0.45);
}

.dot-a {
    width: 18px;
    height: 18px;
    right: 130px;
    top: 360px;
}

.dot-b {
    width: 8px;
    height: 8px;
    right: 90px;
    bottom: 220px;
}

.dot-c {
    width: 26px;
    height: 26px;
    left: 120px;
    bottom: 12px;
}

@keyframes orbPulse {
    0% {
        transform: scale(0.98);
        opacity: 0.78;
    }
    100% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes badgePulse {
    0% {
        transform: scale(0.94);
        box-shadow: 0 0 16px rgba(8, 245, 139, 0.08);
    }
    100% {
        transform: scale(1.05);
        box-shadow: 0 0 28px rgba(8, 245, 139, 0.2);
    }
}

.design-section {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.mono-title {
    margin: 0 0 2.2rem;
    text-align: center;
    color: var(--accent);
    font-family: var(--mono);
    font-size: clamp(3rem, 4.5vw, 5rem);
    font-weight: 800;
}

.section-subtext {
    margin: -0.7rem 0 2rem;
    text-align: center;
    color: var(--muted);
    font-size: 1rem;
}

.about-grid {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.8rem;
    align-items: start;
}

.about-paragraph {
    margin: 0;
    color: #d0d4db;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-feature-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.mini-card,
.about-panel,
.skill-modern-card,
.project-modern-card,
.timeline-modern-card,
.detail-side-card,
.compact-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.mini-card {
    padding: 1.5rem 1rem;
    text-align: center;
}

.mini-card-icon {
    color: var(--accent);
    font-size: 2rem;
    font-weight: 800;
}

.mini-card h3 {
    margin: 1rem 0 0.75rem;
    font-size: 1rem;
}

.mini-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.about-panel {
    padding: 2.3rem 2.5rem;
}

.about-panel h3 {
    margin: 0;
    text-align: center;
    color: var(--accent);
    font-size: 1.35rem;
}

.panel-divider {
    width: 88px;
    height: 4px;
    margin: 1rem auto 2rem;
    border-radius: 999px;
    background: var(--accent);
}

.progress-block + .progress-block {
    margin-top: 1.35rem;
}

.progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.7rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.progress-head strong {
    color: var(--accent);
}

.progress-track,
.skill-meter {
    width: 100%;
    height: 10px;
    background: #0a0a0a;
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill,
.skill-meter-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), #35a8ff);
}

.panel-cta {
    display: block;
    width: fit-content;
    margin: 2rem auto 0;
    padding: 0.9rem 2rem;
    border: 1px solid var(--accent);
    border-radius: 6px;
    color: var(--accent);
    font-weight: 700;
}

.filter-bar {
    width: fit-content;
    margin: 0 auto 2.5rem;
    display: flex;
    gap: 0.7rem;
    padding: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(29, 29, 29, 0.92);
}

.filter-chip {
    min-width: 110px;
    min-height: 48px;
    padding: 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.filter-chip.is-active {
    background: var(--accent);
    color: #05140c;
    border-color: transparent;
}

.skills-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.8rem;
}

.skill-modern-card {
    padding: 1.8rem 1.5rem 1.55rem;
    text-align: center;
}

.skill-modern-card:hover,
.project-modern-card:hover,
.timeline-modern-card:hover {
    border-color: rgba(8, 245, 139, 0.7);
    transform: translateY(-3px);
}

.skill-modern-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(20, 20, 20, 0.8);
}

.skill-modern-icon i,
.skill-modern-icon span {
    font-size: 2.6rem;
}

.skill-modern-card h3 {
    margin: 0;
    font-size: 1rem;
}

.skill-meter {
    margin: 1rem auto 0.7rem;
    max-width: 146px;
}

.skill-modern-card p {
    margin: 0;
    color: var(--muted);
}

.project-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.project-modern-card {
    overflow: hidden;
    cursor: pointer;
}

.featured-project {
    border-color: var(--accent);
    box-shadow: 0 22px 48px rgba(8, 245, 139, 0.08);
}

.project-modern-cover {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--panel-2);
    font-size: 4.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.project-modern-cover.has-project-image {
    color: transparent;
}

.project-modern-body {
    padding: 1.8rem;
}

.project-modern-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.project-modern-head h3 {
    margin: 0;
    font-size: 1.25rem;
}

.year-pill,
.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(8, 245, 139, 0.16);
    color: var(--accent);
    font-weight: 700;
}

.project-context {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.project-description,
.detail-description,
.project-content p {
    margin: 0.8rem 0 0;
    color: #d3d6dc;
    line-height: 1.6;
}

.project-tech-list,
.tech-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
    margin: 1.5rem 0 0;
}

.project-tech-list span,
.tech-row span {
    color: var(--accent);
    font-weight: 700;
}

.status-pill {
    margin-top: 1.4rem;
}

.project-actions,
.detail-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.project-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.project-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(4px);
}

.project-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 1100px);
    margin: 5vh auto;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.project-lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

.project-lightbox-media {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0c0c0c;
}

.project-lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.project-lightbox-empty {
    color: var(--muted);
    font-size: 1.05rem;
}

.project-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.project-lightbox-nav.prev {
    left: 16px;
}

.project-lightbox-nav.next {
    right: 16px;
}

.project-lightbox-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.project-lightbox-info {
    padding: 1.4rem 1.6rem 1.8rem;
}

.project-lightbox-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.project-lightbox-head h3 {
    margin: 0;
    font-size: 1.35rem;
}

.project-lightbox-counter {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
    text-align: right;
}

.project-demo-btn,
.project-code-btn {
    flex: 1;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 800;
}

.project-demo-btn {
    background: var(--accent);
    color: #04140b;
}

.project-code-btn {
    border: 1px solid rgba(8, 245, 139, 0.65);
    color: var(--accent);
}

.timeline-modern {
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
    padding-top: 2rem;
}

.timeline-modern-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent);
    transform: translateX(-50%);
}

.timeline-entry {
    position: relative;
    width: 50%;
    padding-bottom: 3rem;
}

.timeline-entry-left {
    padding-right: 2.5rem;
}

.timeline-entry-right {
    margin-left: 50%;
    padding-left: 2.5rem;
}

.timeline-modern-dot {
    position: absolute;
    top: 7.5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
}

.timeline-entry-left .timeline-modern-dot {
    right: -8px;
}

.timeline-entry-right .timeline-modern-dot {
    left: -8px;
}

.timeline-modern-card {
    padding: 2rem;
}

.timeline-card-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.timeline-card-head h3 {
    margin: 0;
    color: var(--accent);
    font-size: 1.2rem;
}

.timeline-card-head span,
.timeline-modern-card p {
    color: var(--muted);
}

.timeline-modern-card a {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent);
    font-weight: 700;
}

.detail-shell {
    padding-top: 3rem;
}

.back-link {
    color: var(--accent);
    font-weight: 700;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.detail-hero h1 {
    margin: 0.5rem 0 0;
    font-size: 3rem;
}

.detail-side-card {
    padding: 1.8rem;
}

.detail-side-card h2 {
    margin-top: 0;
    color: var(--accent);
}

.project-category {
    color: var(--muted);
}

.content-section {
    padding-top: 3rem;
}

.section-heading h2 {
    color: var(--accent);
    font-family: var(--mono);
    font-size: 2.4rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.compact-card {
    padding: 1.6rem;
}

.project-link {
    color: var(--accent);
    font-weight: 700;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

[data-filter-item].is-hidden {
    display: none !important;
}

@media (max-width: 1440px) {
    .hero-section,
    .design-section,
    .detail-shell,
    .content-section {
        padding-left: 56px;
        padding-right: 56px;
    }

    .skills-grid-modern {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .site-nav,
    .hero-section,
    .about-grid,
    .detail-hero {
        grid-template-columns: 1fr;
    }

    .site-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links,
    .nav-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-section {
        gap: 2rem;
        min-height: auto;
        padding-top: 2rem;
    }

    .hero-visual {
        min-height: 520px;
    }

    .hero-metrics {
        gap: 2rem;
    }

    .skills-grid-modern,
    .project-grid-modern,
    .projects-grid,
    .about-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .timeline-modern-line {
        left: 20px;
        transform: none;
    }

    .timeline-entry {
        width: 100%;
        margin-left: 0;
        padding-left: 3.5rem;
        padding-right: 0;
    }

    .timeline-modern-dot,
    .timeline-entry-left .timeline-modern-dot,
    .timeline-entry-right .timeline-modern-dot {
        left: 13px;
        right: auto;
    }
}

@media (max-width: 720px) {
    main {
        padding-top: 78px;
    }

    .hero-section,
    .design-section,
    .detail-shell,
    .content-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 14px 16px;
    }

    .desktop-nav-links,
    .contact-button-desktop,
    .admin-link-button {
        display: none;
    }

    .nav-actions {
        gap: 0.45rem;
        margin-left: auto;
    }

    .social-text {
        display: none;
    }

    .social-link {
        min-width: 20px;
        font-size: 1rem;
    }

    .lang-switch {
        transform: scale(0.9);
        transform-origin: center;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu[hidden] {
        display: none;
    }

    .hero-section {
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding-top: 1rem;
    }

    .hero-visual {
        order: -1;
        min-height: 300px;
        width: 100%;
    }

    .hero-orb {
        width: 360px;
        height: 360px;
    }

    .profile-photo-shell {
        width: 240px;
        height: 240px;
        padding: 6px;
    }

    .floating-badge {
        width: 56px;
        height: 56px;
        font-size: 1.05rem;
    }

    .badge-glyph,
    .badge-glyph-js {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
    }

    .badge-react {
        left: 16px;
        top: 88px;
    }

    .badge-js {
        top: 28px;
        right: 18px;
    }

    .badge-python {
        right: 12px;
        bottom: 48px;
    }

    .badge-node {
        right: 72px;
        bottom: 24px;
    }

    .dot-a {
        right: 58px;
        top: 170px;
    }

    .dot-b {
        right: 30px;
        bottom: 110px;
    }

    .dot-c {
        left: 54px;
        bottom: 14px;
        width: 14px;
        height: 14px;
    }

    .hero-copy {
        width: 100%;
        text-align: center;
    }

    .hero-kicker {
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }

    .hero-heading {
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
        font-size: 2.2rem;
        line-height: 1.02;
    }

    .hero-bracket-right {
        padding-top: 0;
    }

    .hero-subtitle {
        margin-top: 1.2rem;
        font-size: 1rem;
    }

    .hero-metrics {
        justify-content: center;
        gap: 2rem;
        margin-top: 1.8rem;
    }

    .metric strong {
        font-size: 1.1rem;
    }

    .metric span {
        display: block;
        max-width: 92px;
        font-size: 0.62rem;
        line-height: 1.35;
        text-align: center;
    }

    .tech-stack-row {
        margin-top: 1.6rem;
        flex-direction: column;
        justify-content: center;
        gap: 0.8rem;
    }

    .stack-label {
        font-size: 0.95rem;
    }

    .stack-icons {
        justify-content: center;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .stack-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .stack-icon i,
    .stack-icon span {
        font-size: 1.3rem;
    }

    .hero-cta {
        margin-top: 1.6rem;
        min-height: 54px;
        padding: 0 1.5rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    .design-section {
        padding-top: 2rem;
        padding-bottom: 1rem;
    }

    .mono-title {
        margin-bottom: 1.25rem;
        font-size: 2.2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .about-paragraph {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .about-feature-grid {
        margin-top: 1.5rem;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .mini-card {
        padding: 1rem 0.55rem;
        border-radius: 12px;
    }

    .mini-card-icon {
        font-size: 1.7rem;
    }

    .mini-card h3 {
        margin: 0.75rem 0 0.5rem;
        font-size: 0.78rem;
    }

    .mini-card p {
        font-size: 0.58rem;
        line-height: 1.35;
    }

    .about-panel {
        padding: 1.4rem 1.2rem;
        border-radius: 14px;
    }

    .about-panel h3 {
        font-size: 0.95rem;
    }

    .panel-divider {
        width: 62px;
        margin: 0.75rem auto 1.2rem;
    }

    .progress-block + .progress-block {
        margin-top: 0.95rem;
    }

    .progress-head {
        font-size: 0.82rem;
    }

    .progress-track,
    .skill-meter {
        height: 8px;
    }

    .panel-cta {
        margin-top: 1.4rem;
        padding: 0.75rem 1.5rem;
        font-size: 0.92rem;
    }

    .filter-bar {
        width: 100%;
        margin-bottom: 1.5rem;
        justify-content: flex-start;
        gap: 0.45rem;
        padding: 0.45rem;
        border-radius: 10px;
    }

    .filter-chip {
        min-width: 0;
        min-height: 40px;
        padding: 0 0.85rem;
        font-size: 0.88rem;
        flex: 0 0 auto;
    }

    .skills-grid-modern {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .skill-modern-card {
        padding: 1.1rem 0.85rem 1rem;
        border-radius: 14px;
    }

    .skill-modern-icon {
        width: 54px;
        height: 54px;
        margin-bottom: 0.8rem;
        border-radius: 12px;
    }

    .skill-modern-icon i,
    .skill-modern-icon span {
        font-size: 2rem;
    }

    .skill-modern-card h3 {
        font-size: 0.88rem;
    }

    .skill-modern-card p {
        font-size: 0.82rem;
    }

    .project-grid-modern,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .project-modern-cover {
        min-height: 190px;
        font-size: 3.3rem;
    }

    .project-lightbox-dialog {
        width: calc(100vw - 20px);
        margin: 10px auto;
        border-radius: 14px;
    }

    .project-lightbox-media {
        min-height: 280px;
    }

    .project-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .project-lightbox-info {
        padding: 1rem;
    }

    .project-lightbox-head {
        flex-direction: column;
    }

    .project-lightbox-counter {
        text-align: left;
    }

    .project-modern-body,
    .compact-card {
        padding: 1.2rem;
    }

    .project-modern-head h3 {
        font-size: 1.05rem;
    }

    .project-context,
    .project-description {
        font-size: 0.92rem;
    }

    .project-tech-list,
    .tech-row {
        gap: 0.55rem 1rem;
    }

    .project-tech-list span,
    .tech-row span {
        font-size: 0.9rem;
    }

    .project-actions,
    .detail-actions {
        flex-direction: row;
        align-items: stretch;
    }

    .project-demo-btn,
    .project-code-btn {
        min-height: 48px;
        font-size: 0.95rem;
    }

    .timeline-modern {
        padding-top: 1rem;
    }

    .timeline-modern-card {
        padding: 1.2rem;
        border-radius: 14px;
    }

    .timeline-card-head {
        flex-direction: column;
        gap: 0.35rem;
    }

    .timeline-card-head h3 {
        font-size: 1rem;
    }

    .timeline-modern-card p,
    .timeline-modern-card a {
        font-size: 0.9rem;
    }

    .detail-hero {
        grid-template-columns: 1fr;
    }

    .detail-hero h1 {
        font-size: 2rem;
    }

    .section-subtext {
        margin-top: -0.2rem;
        margin-bottom: 1.2rem;
        font-size: 0.95rem;
    }
}
