﻿:root {
    --bg: #050505;
    --card: rgba(15, 15, 15, .72);
    --line: #ffffff1c;
    --text: #f3f3f4;
    --muted: #a6a6ad;
    --blue: #3b82f6;
    --green: #13c768;
    --red: #f33442;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --nav-w: min(822px, calc(100% - 40px));
    --page-w: min(1160px, calc(100% - 48px));
}

* {
    box-sizing: border-box
}

html {
    background: var(--bg);
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    overflow-x: hidden;
}

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

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer
}

img {
    max-width: 100%
}

/* ---------- background fx ---------- */
.particles {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: #050505
}

.particle {
    position: absolute;
    width: 3px;
    height: 15px;
    border-radius: 99px;
    background: var(--blue);
    opacity: .65;
    box-shadow: 0 0 7px #3b82f6;
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translate(0, 110vh) rotate(30deg);
        opacity: 0
    }

    15%,
    80% {
        opacity: .75
    }

    100% {
        transform: translate(100px, -15vh) rotate(30deg);
        opacity: 0
    }
}

.glow {
    position: fixed;
    z-index: -1;
    width: 220px;
    height: 220px;
    left: 0;
    top: 0;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, #3b82f62a 0, transparent 70%);
    transition: transform .1s ease-out;
}

.custom-cursor-dot,
.custom-cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
    opacity: 0;
    transition: opacity .25s ease, background .25s ease, border-color .25s ease, width .3s ease, height .3s ease;
}

.custom-cursor-dot {
    width: 7px;
    height: 7px;
    background: #fff;
    box-shadow: 0 0 8px #fff
}

.custom-cursor-follower {
    width: 38px;
    height: 38px;
    border: 1.5px solid #fff;
    background: transparent
}

.cursor-ready .custom-cursor-dot,
.cursor-ready .custom-cursor-follower {
    opacity: 1
}

.cursor-hover .custom-cursor-follower {
    width: 62px;
    height: 62px;
    background: #ffffff14;
    border-color: #fff
}

.cursor-hover .custom-cursor-dot {
    opacity: .25
}

@media (hover: none),
(pointer: coarse) {

    .custom-cursor-dot,
    .custom-cursor-follower {
        display: none
    }
}

/* ---------- navbar ---------- */
.navbar-wrapper {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    justify-content: center;
    padding: 20px 16px 0;
}

.navbar-pill {
    width: var(--nav-w);
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 10px 26px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 32px;
    background: rgba(5, 5, 5, .9);
    box-shadow: 0 0 18px rgba(255, 255, 255, .18), inset 0 0 20px rgba(255, 255, 255, .04);
    backdrop-filter: blur(18px);
}

.nav-brand {
    display: flex;
    align-items: center;
    font-family: Pacifico, cursive;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--text);
    white-space: nowrap;
}

.nav-brand-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 8px var(--blue);
}

.nav-links-right {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
    font-size: .8rem;
    font-weight: 700;
    flex-wrap: nowrap;
}

.nav-link-item {
    color: var(--text);
    transition: color .25s ease;
    white-space: nowrap
}

.nav-link-item:hover,
.nav-link-item.active {
    color: var(--blue)
}

.nav-link-resume {
    display: flex;
    align-items: center;
    gap: 5px
}

/* ---------- page shell ---------- */
.page {
    width: var(--page-w);
    margin: 40px auto 190px;
    min-width: 0
}

.panel {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--card);
    box-shadow: 0 0 34px rgba(0, 0, 0, .5), inset 0 0 30px rgba(255, 255, 255, .025);
    backdrop-filter: blur(9px);
}

/* ---------- hero ---------- */
.hero {
    display: grid;
    grid-template-columns: 390px 1fr;
    align-items: center;
    gap: 24px;
    padding: 20px 26px;
    min-height: 156px;
}

.identity {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0
}

.portrait {
    width: 120px;
    height: 120px;
    flex: none;
    object-fit: cover;
    object-position: center top;
    border: 1px solid #ffffff20;
    border-radius: 16px;
    background: #0c0c0c;
}

.hero-name {
    font-size: 2.05rem;
    line-height: 1.1;
    font-weight: 300;
    letter-spacing: -.05em;
    overflow-wrap: anywhere
}

.hero-role {
    margin-top: 6px;
    color: #cfcfd4;
    font-size: .95rem;
    font-weight: 600
}

.hero-copy {
    border-left: 1px solid var(--line);
    padding-left: 30px;
    display: grid;
    gap: 8px;
    font-size: .9rem;
    line-height: 1.55;
    min-width: 0;
}

.hero-copy p {
    margin: 0;
    overflow-wrap: anywhere
}

.hero-copy p:before {
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    margin: 0 10px 1px 0;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 10px var(--blue);
}

/* ---------- experience row: dock + card + status (grid, no absolute positioning) ---------- */
.experience-wrap {
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-areas: "dock exp" "stat stat";
    gap: 16px;
    margin-top: 16px;
}

.dock {
    grid-area: dock;
    padding: 10px 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #111c;
    backdrop-filter: blur(12px);
}

.dock-letters {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.dock-tile {
    position: relative;
    width: 48px;
    height: 42px;
    perspective: 500px
}

.dock-tile a {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #252525;
    color: #e8e8ea;
    font-size: 1.05rem;
    font-weight: 700;
    backface-visibility: hidden;
    transition: transform .42s var(--ease), background .25s ease;
}

.dock-tile .dock-icon {
    transform: rotateX(180deg);
    background: #f3f3f3;
    color: #050505
}

.dock-tile:nth-child(1) a {
    transition-delay: 0ms
}

.dock-tile:nth-child(2) a {
    transition-delay: 70ms
}

.dock-tile:nth-child(3) a {
    transition-delay: 140ms
}

.dock-tile:nth-child(4) a {
    transition-delay: 210ms
}

.dock-tile:nth-child(5) a {
    transition-delay: 280ms
}

.dock-tile:nth-child(6) a {
    transition-delay: 350ms
}

.dock-tile:nth-child(7) a {
    transition-delay: 420ms
}

.dock:hover .dock-letter,
.dock:focus-within .dock-letter {
    transform: rotateX(180deg)
}

.dock:hover .dock-icon,
.dock:focus-within .dock-icon {
    transform: rotateX(0)
}

.dock-icon:hover {
    background: var(--blue);
    color: #fff
}

.dock-icon img {
    width: 21px;
    height: 21px
}

.experience {
    grid-area: exp;
    min-height: 260px;
    padding: 24px 26px
}

.experience .section-title {
    font-size: 1.55rem;
    padding-bottom: 12px
}

.status {
    grid-area: stat;
    display: grid;
    grid-template-columns: 1fr 1fr 280px 84px;
    gap: 12px
}

.status-item,
.clock,
.shortcut {
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--card);
    backdrop-filter: blur(14px);
    min-width: 0;
}

.status-item {
    gap: 12px
}

.status-item div {
    min-width: 0
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 1.8s infinite;
    flex: none
}

.red {
    background: var(--red)
}

.green {
    background: var(--green)
}

@keyframes pulse {
    70% {
        box-shadow: 0 0 0 8px transparent
    }

    100% {
        box-shadow: 0 0 0 0 transparent
    }
}

.status-item strong {
    display: block;
    color: var(--muted);
    font-size: .7rem
}

.status-item span {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    overflow-wrap: anywhere
}

.clock {
    justify-content: center;
    color: #bcbcc2;
    font: 1.15rem 'Space Mono', monospace
}

.shortcut {
    justify-content: center;
    font: bold .85rem 'Space Mono', monospace
}

/* ---------- about section ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 16px;
    margin-top: 24px;
    min-width: 0
}

.about-side {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.about-heading {
    height: 88px;
    display: grid;
    place-items: center;
    font-size: 1.9rem;
    font-weight: 300;
    text-align: center
}

.location {
    height: 205px;
    padding: 22px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(115deg, rgba(5, 5, 5, .62), rgba(5, 5, 5, .72)), url('https://www.abdulsamad.tech/backgrounds/map.webp') center/cover no-repeat;
}

.location:before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 35% 48%, #5556, transparent 14%), linear-gradient(90deg, transparent 49.5%, #1687e0 50%, transparent 50.6%);
    background-size: auto, 200% 100%;
    background-position: center, left center;
    opacity: .8;
    animation: location-scan 2.8s linear infinite;
}

@keyframes location-scan {
    0% {
        background-position: center, -100% 0
    }

    100% {
        background-position: center, 200% 0
    }
}

.location strong,
.location small {
    position: relative;
    display: block
}

.location strong {
    margin-top: 78px;
    font-size: 1.7rem;
    letter-spacing: .02em
}

.location small {
    font: 700 .72rem 'Space Mono', monospace;
    color: #babac1
}

.about-text {
    min-height: 280px;
    padding: 26px 24px;
    font-size: .95rem;
    line-height: 1.65
}

.about-text p {
    margin: 0 0 16px;
    overflow-wrap: anywhere
}

.photo-hover {
    position: relative;
    overflow: hidden
}

.photo-hover .about-text {
    transition: opacity .35s var(--ease), transform .35s var(--ease)
}

.photo-hover .landmark {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
    background: linear-gradient(#0002, #0008), url('https://img.magnific.com/premium-vector/outline-dhaka-bangladesh-city-skyline-with-orange-buildings-illustration-business-travel-tourism-concept-with-historic-architecture-dhaka-cityscape-with-landmarks_119523-15158.jpg?semt=ais_hybrid&w=740&q=80') center/cover;
}

.about-grid.location-active .photo-hover .about-text {
    opacity: 0;
    transform: translateY(-18px)
}

.about-grid.location-active .photo-hover .landmark {
    opacity: 1;
    transform: scale(1)
}

/* ---------- github heatmap ---------- */
.heatmap {
    grid-column: 1 / -1;
    padding: 20px 26px;
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin
}

.months {
    display: flex;
    justify-content: space-between;
    width: 791px;
    min-width: 791px;
    margin: 0 0 7px 55px;
    color: #d5d5d9;
    font-size: .68rem
}

.heat-row {
    display: flex;
    gap: 10px;
    width: 846px;
    min-width: 846px
}

.weekdays {
    display: grid;
    grid-template-rows: repeat(7, 11px);
    gap: 4px;
    width: 45px;
    color: #777;
    font-size: .59rem
}

.squares {
    display: grid;
    grid-template-rows: repeat(7, 11px);
    grid-template-columns: repeat(53, 11px);
    grid-auto-flow: column;
    gap: 4px;
    justify-content: start;
    width: 791px;
    min-width: 791px
}

.square {
    width: 11px;
    height: 11px;
    border-radius: 2px;
    background: #171b20
}

.square.level-0 {
    background: #171b20
}

.square.level-1 {
    background: #123471
}

.square.level-2 {
    background: #1d58c0
}

.square.level-3 {
    background: #3b82f6
}

.square.level-4 {
    background: #76aefc
}

.heat-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    width: 846px;
    min-width: 846px;
    color: #b5b5ba;
    font-size: .68rem
}

.legend {
    display: flex;
    align-items: center;
    gap: 4px
}

.legend i {
    width: 11px;
    height: 11px;
    border-radius: 2px;
    background: #171b20
}

.legend i:nth-child(2) {
    background: #11336e
}

.legend i:nth-child(3) {
    background: #1d58c0
}

.legend i:nth-child(4) {
    background: #3b82f6
}

.motto {
    position: relative;
    width: min(360px, 100%);
    margin: 20px 0 0 auto;
    padding: 20px;
    border: 1px solid #ffffff2b;
    border-radius: 20px;
    background: #19191ce8;
    text-align: center;
}

.motto strong {
    display: block;
    font-style: italic;
    letter-spacing: .08em
}

.motto span {
    display: block;
    color: var(--muted);
    font-size: .73rem;
    margin-top: 8px
}

@media (min-width: 901px) {
    .heatmap .motto {
        position: absolute;
        right: 26px;
        top: 50%;
        bottom: auto;
        width: 225px;
        margin: 0;
        transform: translateY(-50%)
    }
}

/* ---------- education + skills ---------- */
.lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
    gap: 16px;
    margin-top: 24px
}

.journey,
.skills {
    padding: 26px;
    min-width: 0
}

.timeline {
    margin: 30px 0 0 7px;
    padding-left: 34px;
    border-left: 1px solid #ffffff4a
}

.event {
    position: relative;
    margin-bottom: 38px;
    cursor: pointer;
    min-width: 0
}

.event:last-child {
    margin-bottom: 0
}

.event:before {
    content: '';
    position: absolute;
    left: -40px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px #fff;
}

.period {
    font: bold .75rem 'Space Mono', monospace;
    letter-spacing: .08em
}

.event h3 {
    margin: 13px 0 3px;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.35;
    overflow-wrap: anywhere
}

.event p {
    margin: 0;
    color: #bdbdc2;
    font-size: .88rem
}

.event-photo {
    display: block;
    width: 100%;
    height: 168px;
    object-fit: cover;
    border-radius: 14px;
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    transform: translateY(-10px);
    overflow: hidden;
    transition: max-height .45s var(--ease), margin-top .45s var(--ease), opacity .35s ease, transform .45s var(--ease);
}

.event.active .event-photo,
.event:hover .event-photo {
    max-height: 168px;
    margin-top: 22px;
    opacity: 1;
    transform: translateY(0)
}

.section-title {
    font-size: 2.1rem;
    font-weight: 300;
    letter-spacing: -.05em;
    margin: 0;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line)
}

.skill-list {
    display: block;
    padding: 24px 0;
    overflow: hidden;
    max-width: 100%
}

.skill-row {
    display: flex;
    align-items: center;
    gap: 26px;
    width: max-content;
    will-change: transform;
    animation: skills-loop 11s linear infinite
}

.skill-row.reverse {
    display: none
}

.skill-row a {
    display: grid;
    place-items: center;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #171717;
    color: #d8d8dc;
    transition: transform .25s var(--ease), background .25s ease;
}

.skill-row a:hover {
    transform: translateY(-5px) scale(1.06);
    background: #242424
}

.skill-row img {
    width: 38px;
    height: 38px;
    object-fit: contain
}

.skill-row span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap
}

@keyframes skills-loop {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

.skill-note {
    display: flex;
    gap: 15px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: #d5d5d9;
    line-height: 1.7;
}

.skill-note:before {
    content: '';
    flex: 0 0 12px;
    height: 12px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 10px var(--blue);
}

/* =====================================================================
   RESPONSIVE BREAKPOINTS — each selector defined once, no overlap.
   ===================================================================== */

@media (min-width: 1440px) {
    .page {
        width: min(1240px, calc(100% - 96px))
    }

    .hero {
        grid-template-columns: 430px 1fr
    }

    .experience {
        min-height: 300px
    }
}

@media (max-width: 900px) {
    .page {
        width: min(720px, calc(100% - 32px));
        margin-top: 32px
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 22px
    }

    .identity {
        gap: 18px
    }

    .portrait {
        width: 140px;
        height: 140px
    }

    .hero-name {
        font-size: 2.3rem
    }

    .hero-copy {
        padding: 20px 0 0;
        border-left: 0;
        border-top: 1px solid var(--line)
    }

    .experience-wrap {
        grid-template-columns: 1fr;
        grid-template-areas: "exp" "stat"
    }

    .dock {
        display: none
    }

    .experience {
        min-height: 220px
    }

    .status {
        grid-template-columns: 1fr 1fr
    }

    .clock {
        grid-column: 1 / -1
    }

    .shortcut {
        grid-column: 1 / -1
    }

    .about-grid {
        grid-template-columns: 1fr
    }

    .about-side {
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .lower-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width: 600px) {
    .page {
        width: calc(100% - 24px);
        margin-top: 20px;
        margin-bottom: 80px
    }

    .navbar-wrapper {
        padding: 12px 10px 0
    }

    .navbar-pill {
        padding: 8px 16px;
        gap: 14px
    }

    .nav-brand {
        font-size: 1rem
    }

    .nav-links-right {
        gap: 12px;
        font-size: .68rem
    }

    .nav-link-resume svg {
        width: 12px;
        height: 12px
    }

    .hero {
        padding: 16px;
        border-radius: 14px
    }

    .identity {
        gap: 14px
    }

    .portrait {
        width: 92px;
        height: 92px;
        border-radius: 12px
    }

    .hero-name {
        font-size: 1.7rem
    }

    .hero-role {
        font-size: .84rem
    }

    .hero-copy {
        font-size: .82rem;
        line-height: 1.5
    }

    .experience {
        min-height: 180px;
        padding: 20px
    }

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

    .status {
        gap: 6px
    }

    .status-item {
        min-height: 56px;
        padding: 8px;
        gap: 8px
    }

    .status-item strong {
        font-size: .62rem
    }

    .status-item span {
        font-size: .6rem
    }

    .clock {
        min-height: 48px;
        font-size: .9rem
    }

    .shortcut {
        min-height: 42px
    }

    .about-side {
        display: flex;
        flex-direction: column;
        gap: 12px
    }

    .about-heading {
        height: 72px;
        font-size: 1.55rem
    }

    .location {
        height: 170px
    }

    .about-text {
        min-height: 0;
        padding: 20px;
        font-size: .84rem;
        line-height: 1.6
    }

    .heatmap {
        padding: 16px 12px
    }

    .motto {
        margin-top: 16px
    }

    .lower-grid {
        gap: 14px
    }

    .journey,
    .skills {
        padding: 20px
    }

    .skill-row {
        gap: 14px
    }

    .skill-row a {
        flex-basis: 56px;
        width: 56px;
        height: 56px
    }

    .skill-row img {
        width: 32px;
        height: 32px
    }

    .event h3 {
        font-size: 1.05rem
    }

    .event-photo {
        height: 150px
    }
}

@media (max-width: 480px) {
    .page {
        width: calc(100% - 16px);
        margin-top: 16px
    }

    .navbar-pill {
        padding: 8px 12px;
        gap: 10px;
        border-radius: 20px
    }

    .nav-brand {
        font-size: .95rem
    }

    .nav-links-right {
        gap: 10px;
        font-size: .62rem
    }

    .hero {
        padding: 12px
    }

    .identity {
        align-items: flex-start
    }

    .portrait {
        width: 78px;
        height: 78px
    }

    .hero-name {
        font-size: 1.5rem
    }

    .hero-role {
        font-size: .76rem
    }

    .hero-copy {
        font-size: .76rem;
        padding-top: 14px
    }

    .hero-copy p:before {
        width: 7px;
        height: 7px;
        margin-right: 7px
    }

    .experience {
        min-height: 160px;
        padding: 14px
    }

    .experience .section-title {
        font-size: 1.25rem
    }

    .status-item {
        padding: 7px
    }

    .status-item strong {
        font-size: .56rem
    }

    .status-item span {
        font-size: .55rem;
        line-height: 1.25
    }

    .clock {
        font-size: .78rem
    }

    .about-heading {
        font-size: 1.35rem;
        height: 64px
    }

    .location strong {
        font-size: 1.4rem
    }

    .location small {
        font-size: .62rem
    }

    .about-text {
        font-size: .78rem
    }

    .heatmap {
        padding: 14px 10px;
        margin-inline: -2px;
        border-radius: 12px
    }

    .heat-footer {
        font-size: .6rem
    }

    .motto {
        padding: 15px;
        font-size: .78rem
    }

    .lower-grid {
        display: flex;
        flex-direction: column
    }

    .journey,
    .skills {
        width: 100%;
        padding: 16px
    }

    .timeline {
        margin-top: 22px;
        padding-left: 25px
    }

    .event {
        margin-bottom: 26px
    }

    .event:before {
        left: -31px
    }

    .event h3 {
        font-size: 1rem
    }

    .event p {
        font-size: .78rem
    }

    .event-photo {
        height: 125px;
        margin-top: 14px !important
    }

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

    .skill-list {
        height: 84px;
        padding: 12px 0
    }

    .skill-row {
        gap: 12px
    }

    .skill-row a {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        border-radius: 10px
    }

    .skill-row img {
        width: 26px;
        height: 26px
    }

    .skill-note {
        padding: 16px;
        font-size: .78rem
    }
}

@media (max-width: 340px) {
    .navbar-pill {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 8px
    }

    .nav-brand {
        width: 100%;
        justify-content: center
    }

    .nav-links-right {
        margin-left: 0;
        justify-content: center;
        width: 100%;
        font-size: .6rem
    }
}
/* cp  stats K button */
.cmdk-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 12, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 100;
}

.cmdk-overlay[hidden] { display: none; }

.cmdk-panel {
  width: min(480px, 100%);
  background: #14161C;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  overflow: hidden;
  animation: cmdk-in 0.15s ease-out;
}

@keyframes cmdk-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .cmdk-panel { animation: none; }
}

.cmdk-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cmdk-kbd {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: #8B90A0;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 2px 6px;
}

.cmdk-title { font-size: 0.85rem; color: #8B90A0; }

.cmdk-list {
  list-style: none;
  margin: 0;
  padding: 8px;
  max-height: 50vh;
  overflow-y: auto;
}

.cmdk-list li + li { margin-top: 2px; }

.cmdk-list a {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  color: #EDEBE4;
  text-decoration: none;
  font-size: 0.95rem;
}

.cmdk-list a:hover,
.cmdk-list a:focus {
  background: rgba(255,255,255,0.06);
}