        :root {
            --bg: #050707;
            --panel: #0b1110;
            --panel2: #0e1716;
            --teal: #11e6d2;
            --teal2: #05a99f;
            --gold: #f4b52f;
            --gold2: #ffdc72;
            --text: #f3fffd;
            --muted: #8ea6a3;
            --line: rgba(17, 230, 210, .16);
            --max: 1180px;
            --radius: 24px;
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            background:
                radial-gradient(circle at 50% -10%, rgba(0, 221, 204, .10), transparent 34rem),
                radial-gradient(circle at 90% 45%, rgba(244, 181, 47, .07), transparent 28rem),
                var(--bg);
            color: var(--text);
            font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            line-height: 1.5;
            overflow-x: hidden;
        }

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

        .wrap {
            width: min(calc(100vw - var(--mask-left-w) - var(--mask-right-w) - 40px), var(--max));
            margin: auto;
        }

        .eyebrow {
            letter-spacing: .18em;
            text-transform: uppercase;
            font-size: .72rem;
            font-weight: 800;
            color: var(--teal);
        }
        .gold {
            color: var(--gold);
        }
        .white {
            color: #fff;
        }
        .muted {
            color: var(--muted);
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            min-height: 48px;
            padding: 0 19px;
            border-radius: 14px;
            border: 1px solid rgba(255, 255, 255, .10);
            font-weight: 850;
            letter-spacing: .01em;
            cursor: pointer;
            transition: .22s ease;
        }
        .btn-primary {
            background: linear-gradient(135deg, var(--teal), #55fff1);
            color: #02100e;
            box-shadow: 0 0 35px rgba(17, 230, 210, .18);
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 40px rgba(17, 230, 210, .24);
        }
        .btn-ghost {
            background: rgba(255, 255, 255, .03);
            backdrop-filter: blur(10px);
        }
        .btn-ghost:hover {
            border-color: rgba(17, 230, 210, .38);
            transform: translateY(-2px);
        }

        header {
            position: relative;
            min-height: 760px;
            isolation: isolate;
        }
        header:before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -2;
            background:
                linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, 0) 30%, var(--bg) 100%),
                url("/static/img/logo.png") center top / min(1500px, 100vw) auto no-repeat;
            filter: saturate(1.04);
        }
        header:after {
            content: "";
            position: absolute;
            z-index: -1;
            left: 0;
            right: 0;
            bottom: 0;
            height: 260px;
            background: linear-gradient(180deg, transparent, var(--bg));
            pointer-events: none;
        }
        .hero-content {
            padding-top: 380px;
            max-width: var(--max);
            margin: auto;
        }
        .hero-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            gap: 30px;
            padding: 0 20px;
        }
        .hero-text {
            text-align: left;
        }
        .hero-text .eyebrow {
            text-align: left;
        }
        .hero-text h1 {
            font-size: clamp(2.4rem, 6vw, 5.5rem);
            line-height: .95;
            margin: 13px 0 18px;
            letter-spacing: -.055em;
        }
        .hero-text p {
            max-width: 520px;
            margin: 0 0 27px;
            color: #a8bfbc;
            font-size: 1.08rem;
        }
        .hero-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }
        .hero-duck {
            display: flex;
            justify-content: center;
            align-items: center;
            filter: drop-shadow(0 0 18px rgba(17, 230, 210, 0.35));
            animation: float 4s ease-in-out infinite;
            margin-top: -30px;
        }
        .hero-duck svg {
            width: 100%;
            max-width: 380px;
            height: auto;
        }
        @keyframes float {
            0%,
            100% {
                transform: translateY(0) rotate(-2deg);
            }
            50% {
                transform: translateY(-9px) rotate(2deg);
            }
        }
        .scroll {
            margin-top: 34px;
            color: #647b78;
            font-size: .72rem;
            letter-spacing: .18em;
            text-transform: uppercase;
            text-align: center;
        }
        .scroll span {
            display: block;
            width: 1px;
            height: 34px;
            background: linear-gradient(var(--teal), transparent);
            margin: 8px auto 0;
        }

        main {
            padding-top: calc(var(--frame-header-h) + 20px);
            padding-bottom: calc(var(--frame-bottom-h) + 40px);
        }

        .content-section {
            padding: 30px 0 60px;
        }
        .content-section h2 {
            font-size: clamp(1.6rem, 3.5vw, 2.4rem);
            letter-spacing: -.02em;
            margin: 0 0 12px;
        }
        .content-section .section-intro {
            max-width: 700px;
            margin: 0 auto 35px;
            text-align: center;
            color: var(--muted);
            font-size: 1.05rem;
            line-height: 1.7;
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 24px;
            max-width: 780px;
            margin: 0 auto;
            justify-items: center;
            align-items: center;
        }

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  cursor: default;
  opacity: 0;
  translate: 0 80px;
  transition:
    opacity      1s    cubic-bezier(0.22, 1, 0.36, 1),
    translate    1s    cubic-bezier(0.22, 1, 0.36, 1),
    transform    .35s  cubic-bezier(0.34, 1.56, 0.64, 1),
    background   .25s  ease,
    border-color .25s  ease,
    box-shadow   .35s  ease;
}

.skill-item.in-view {
  opacity: 1;
  translate: 0 0;
}

.skill-item:hover {
  transform: translateY(-9px) scale(1.08);
  background: rgba(17, 230, 210, .06);
  border-color: rgba(17, 230, 210, .75);
  box-shadow:
    0 0 0 1px rgba(17, 230, 210, .35),
    0 14px 40px rgba(17, 230, 210, .30),
    0 0 50px  rgba(17, 230, 210, .25),
    inset 0 0 22px rgba(17, 230, 210, .10);
}

.skill-item img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  transition:
    transform .4s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter    .3s ease;
}

.skill-item:hover img {
  transform: scale(1.3) rotate(-6deg);
  filter:
    drop-shadow(0 0 10px rgba(17, 230, 210, 1))
    drop-shadow(0 0 22px rgba(17, 230, 210, .6))
    drop-shadow(0 0 42px rgba(17, 230, 210, .35));
}
        .github-activity-list {
            display: grid;
            gap: 12px;
            max-width: 800px;
            margin: 0 auto;
        }
        .github-activity-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px 20px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            transition: transform 0.2s ease, border-color 0.2s ease;
        }
        .github-activity-item:hover {
            transform: translateY(-2px);
            border-color: rgba(17, 230, 210, 0.3);
        }
        .github-activity-icon {
            flex-shrink: 0;
            width: 40px;
            height: 40px;
            border-radius: 12px;
            background: rgba(17, 230, 210, 0.1);
            border: 1px solid rgba(17, 230, 210, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--teal);
            font-weight: 900;
        }
        .github-activity-content {
            flex: 1;
        }
        .github-activity-content .repo {
            font-weight: 700;
            color: var(--text);
        }
        .github-activity-content .type {
            color: var(--muted);
            font-size: 0.9rem;
        }
        .github-activity-time {
            color: var(--muted);
            font-size: 0.8rem;
            white-space: nowrap;
        }

        footer {
            padding: 40px 0 80px;
            border-top: 1px solid var(--line);
            color: #718783;
        }
        .footer-row {
            display: flex;
            justify-content: space-between;
            gap: 20px;
            align-items: center;
        }
        .footer-links {
            display: flex;
            gap: 22px;
            font-size: .86rem;
        }
        .footer-links a:hover {
            color: var(--teal);
        }

        .reveal {
            opacity: 0;
            transform: translateY(22px);
            transition: .7s ease;
        }
        .reveal.in {
            opacity: 1;
            transform: none;
        }
        .anim {
            opacity: 0;
            transform: translateY(100px);
            transition:
                opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.5s ease;
            filter: blur(3px);
            will-change: opacity, transform, filter;
        }
        .anim.in-view {
            opacity: 1;
            transform: translateY(0);
            filter: blur(0);
        }
        .anim-left {
            transform: translateX(-40px);
        }
        .anim-right {
            transform: translateX(40px);
        }
        .anim-left.in-view,
        .anim-right.in-view {
            transform: translateX(0);
        }

        .glitch {
            animation: glitch 3s linear infinite;
        }
        @keyframes glitch {
            0%,
            4%,
            8%,
            12%,
            100% {
                filter: none;
            }
            1%,
            5%,
            9% {
                filter: url(#f1);
            }
        }
        .hue-shift {
            animation: hueshift 45s ease-in-out infinite;
        }
        @keyframes hueshift {
            0%,
            50% {
                filter: hue-rotate(0deg);
            }
            60% {
                filter: hue-rotate(360deg);
            }
            70% {
                filter: hue-rotate(0deg);
            }
            80% {
                filter: hue-rotate(360deg);
            }
            90% {
                filter: hue-rotate(0deg);
            }
            100% {
                filter: hue-rotate(360deg);
            }
        }

        body::before {
            content: "";
            position: fixed;
            inset: 0;
            z-index: -1;
            background:
                radial-gradient(circle at 20% 80%, rgba(17, 230, 210, .08), transparent 40%),
                radial-gradient(circle at 80% 20%, rgba(244, 181, 47, .08), transparent 40%);
            animation: aurora 20s ease-in-out infinite alternate;
        }
        @keyframes aurora {
            0% {
                opacity: 0.5;
                transform: scale(1);
            }
            100% {
                opacity: 1;
                transform: scale(1.15);
            }
        }

        @media(max-width: 1100px) {
            .skills-grid {
                grid-template-columns: repeat(5, 1fr);
                gap: 18px;
            }
        }
        @media(max-width: 850px) {
            header {
                min-height: 700px;
            }
            .hero-content {
                padding-top: 320px;
            }
            .hero-grid {
                grid-template-columns: 1fr;
                text-align: center;
            }
            .hero-text {
                text-align: center;
            }
            .hero-text .eyebrow {
                text-align: center;
            }
            .hero-text p {
                margin-left: auto;
                margin-right: auto;
            }
            .hero-actions {
                justify-content: center;
            }
            .hero-duck {
                order: -1;
                margin-bottom: 20px;
            }
            .hero-duck svg {
                max-width: 280px;
            }
            .skills-grid {
                grid-template-columns: repeat(4, 1fr);
            }
            .skill-item {
                width: 62px;
                height: 62px;
            }
            .skill-item img {
                width: 32px;
                height: 32px;
            }
            main {
                padding-top: calc(var(--frame-header-h) + 12px);
                padding-bottom: calc(var(--frame-bottom-h) + 24px);
            }
        }
        @media(max-width: 560px) {
            .wrap {
                width: min(calc(100% - 28px), var(--max));
            }
            header {
                min-height: 620px;
            }
            .hero-content {
                padding-top: 280px;
            }
            .hero-content p {
                font-size: .98rem;
            }
            .skills-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 14px;
            }
            .skill-item {
                width: 56px;
                height: 56px;
            }
            .skill-item img {
                width: 28px;
                height: 28px;
            }
            .footer-row {
                display: block;
            }
            .footer-links {
                margin-top: 16px;
                flex-wrap: wrap;
            }
            main {
                padding-top: calc(var(--frame-header-h) + 8px);
                padding-bottom: calc(var(--frame-bottom-h) + 16px);
            }
        }
