/* ══════════════════════════════════════════════════
   macOS PORTFOLIO — POLISHED STATIC
   ══════════════════════════════════════════════════ */

:root {
    --wall-1: #121218;
    --wall-2: #121218;
    --wall-3: #121218;
    --wall-4: #121218;

    --win-bg: rgba(36, 36, 42, 0.88);
    --win-titlebar: rgba(46, 46, 54, 0.96);
    --win-toolbar: rgba(40, 40, 48, 0.92);
    --win-border: rgba(255, 255, 255, 0.1);
    --win-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 0.5px rgba(255, 255, 255, 0.08);

    --menubar-bg: rgba(18, 18, 24, 0.8);
    --dock-bg: rgba(36, 36, 42, 0.55);
    --dock-border: rgba(255, 255, 255, 0.12);

    --text-1: #F2F2F7;
    --text-2: rgba(242, 242, 247, 0.92);
    --text-3: rgba(242, 242, 247, 0.72);

    --tl-red: #FF5F57;
    --tl-yellow: #FEBC2E;
    --tl-green: #28C840;
    --accent: #4DA3FF;
    --accent-light: #99D1FF;
    --blue: #64D2FF;
    --purple: #DA8FFF;
    --green: #66FF8A;
    --orange: #FFB340;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --r: 12px;
    --r-sm: 8px;

    --footer-bg: rgba(255, 255, 255, 0.03);
    --footer-border: rgba(255, 255, 255, 0.08);
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background: #000;
}

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

html {
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text-1);
    min-height: 100vh;
    overflow-x: hidden;
}

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

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

::selection {
    background: rgba(10, 132, 255, 0.35);
    color: #fff;
}


/* ══════════════════════════════════════════════════
   WALLPAPER
   ══════════════════════════════════════════════════ */

.wallpaper {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: #121218;
    overflow: hidden;
}

/* Skip Navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: #000;
    padding: 8px 16px;
    z-index: 999;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 0 0 8px 0;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

@keyframes drift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -40px) scale(1.08);
    }

    50% {
        transform: translate(-30px, 30px) scale(0.94);
    }

    75% {
        transform: translate(40px, 50px) scale(1.04);
    }
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: sparkle linear infinite;
}

@keyframes sparkle {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-60px);
    }
}


/* ══════════════════════════════════════════════════
   DESKTOP & GRID
   ══════════════════════════════════════════════════ */

.desktop {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 72px 20px 80px;
}

/* ── Header ── */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 150;
    background: rgba(15, 15, 28, 0.55);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-1);
    letter-spacing: -0.01em;
    transition: opacity 0.2s;
}

.header-logo:hover {
    opacity: 0.8;
}

.header-apple {
    opacity: 0.9;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-link {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-2);
    padding: 6px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.header-link:hover {
    color: var(--text-1);
    background: rgba(255, 255, 255, 0.06);
}

.header-link--active {
    color: var(--text-1);
    background: rgba(255, 255, 255, 0.08);
}

.header-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 8px;
}

.lang-btn {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-2);
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s;
}

.lang-btn:hover {
    color: var(--text-1);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Single-column layout for sub-pages */
.page-container {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.win-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

/* Grid placement */
.win-about {
    grid-column: 1;
    grid-row: 1;
}

.win-skills {
    grid-column: 2;
    grid-row: 1 / 3;
}

.win-projects {
    grid-column: 1;
    grid-row: 2;
}

.win-contact {
    grid-column: 1 / 3;
    grid-row: 3;
}


/* ══════════════════════════════════════════════════
   WINDOW BASE
   ══════════════════════════════════════════════════ */

.window {
    background: var(--win-bg);
    border: 1px solid var(--win-border);
    border-radius: var(--r);
    box-shadow: var(--win-shadow);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s, transform 0.3s;
}

.window:hover {
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.window-titlebar {
    height: 38px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: var(--win-titlebar);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.traffic-lights {
    display: flex;
    gap: 7px;
    margin-right: 14px;
}

.tl {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

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

.tl-yellow {
    background: var(--tl-yellow);
}

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

.window-title {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-1);
    flex: 1;
    text-align: center;
    margin-right: 58px;
}

.window-title-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.window-toolbar {
    padding: 8px 14px;
    background: var(--win-toolbar);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    flex-shrink: 0;
}

.window-body {
    flex: 1;
    overflow-y: auto;
}


/* ══════════════════════════════════════════════════
   ABOUT ME
   ══════════════════════════════════════════════════ */

.about-body {
    padding: 24px;
}

.about-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.about-name {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.about-role {
    font-size: 0.82rem;
    color: var(--text-1);
    margin-top: 4px;
    font-weight: 500;
}

.about-status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 0.72rem;
    color: var(--green);
    font-weight: 600;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-content p {
    font-size: 0.85rem;
    color: var(--text-2);
    line-height: 1.7;
}

.about-readmore {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1.5px;
    text-decoration-color: rgba(153, 209, 255, 0.4);
    transition: opacity 0.2s;
    display: inline-block;
}

.about-readmore:hover {
    opacity: 0.7;
}

/* ── Detailed About (about.html) ── */

.about-body--detailed {
    padding: 40px 48px;
    max-width: 900px;
    margin: 0 auto;
}

.about-body--detailed .about-header {
    margin-bottom: 40px;
}

.about-body--detailed .about-intro .about-name {
    font-size: 2.2rem;
    margin-bottom: 4px;
}

.about-body--detailed .about-intro .about-role {
    font-size: 1.1rem;
    color: var(--text-2);
}

.about-body--detailed .about-content {
    gap: 32px;
}

.about-body--detailed .about-section {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-body--detailed .about-section-title {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--blue);
}

.about-body--detailed .about-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-2);
    white-space: pre-wrap;
    /* Preserve line breaks from translations */
}

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

.about-skill-group {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-skill-label {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-1);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    /* Fix alignment issues */
}

.skill-desc {
    font-size: 0.82rem !important;
    opacity: 0.7;
    line-height: 1.4 !important;
}

.about-contact-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.about-contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-1);
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
}

.about-contact-link:hover {
    background: rgba(10, 132, 255, 0.1);
    border-color: var(--blue);
    transform: translateY(-2px);
}

.about-contact-icon {
    font-size: 16px;
}

/* ══════════════════════════════════════════════════
   TERMINAL (Skills Style)
   ══════════════════════════════════════════════════ */

.terminal-body {
    background: rgba(14, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
    height: 100%;
    overflow-y: auto;
    color: #e0e0e0;
}

.terminal-line {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13.5px;
    letter-spacing: 0.02em;
}

.terminal-prompt {
    color: #4cd964;
    font-weight: 700;
    margin-right: 10px;
}

.terminal-cmd {
    color: #ffffff;
}

.terminal-output {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-tag:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.st-blue {
    background: rgba(10, 132, 255, 0.2);
    border-color: rgba(10, 132, 255, 0.5);
    color: #74b9ff;
}

.st-green {
    background: rgba(48, 209, 88, 0.2);
    border-color: rgba(48, 209, 88, 0.5);
    color: #96f2a4;
}

.st-purple {
    background: rgba(191, 90, 242, 0.2);
    border-color: rgba(191, 90, 242, 0.5);
    color: #e2b0ff;
}

.terminal-cursor {
    color: #34c759;
    animation: blink 1s step-end infinite;
}

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


/* ══════════════════════════════════════════════════
   FINDER (Projects)
   ══════════════════════════════════════════════════ */

.finder-path {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-2);
}

.path-seg {
    padding: 2px 6px;
    border-radius: 4px;
}

.path-active {
    color: var(--text-1);
    background: rgba(255, 255, 255, 0.06);
}

.finder-body {
    padding: 4px 0;
}

.finder-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.12s;
    cursor: pointer;
}

.finder-item:last-child {
    border-bottom: none;
}

.finder-item:hover {
    background: rgba(10, 132, 255, 0.08);
}

.finder-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fi-blue {
    background: rgba(100, 210, 255, 0.12);
    color: var(--blue);
}

.fi-green {
    background: rgba(48, 209, 88, 0.12);
    color: var(--green);
}

.fi-orange {
    background: rgba(255, 159, 10, 0.12);
    color: var(--orange);
}

.fi-purple {
    background: rgba(191, 90, 242, 0.12);
    color: var(--purple);
}

.tag-green-badge {
    color: var(--green);
    background: rgba(48, 209, 88, 0.1);
    border-color: rgba(48, 209, 88, 0.2);
}

.finder-info {
    flex: 1;
    min-width: 0;
}

.finder-name {
    font-size: 0.88rem;
    font-weight: 600;
    display: block;
}

.finder-desc {
    font-size: 0.78rem;
    color: var(--text-2);
    display: block;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.finder-meta {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.finder-tag {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--text-2);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.tag-private {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.2);
}

.finder-arrow {
    color: var(--text-2);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.finder-item:hover .finder-arrow {
    transform: translateX(3px);
    color: var(--text-2);
}

/* ── Detailed project cards (projects.html) ── */

.finder-body--detailed {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.finder-item-detailed {
    padding: 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.15s, border-color 0.15s;
}

.finder-item-detailed:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

.finder-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.finder-item-header .finder-name {
    font-size: 1.25rem;
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.finder-item-header .finder-meta {
    flex-wrap: wrap;
}

.finder-detail {
    font-size: 0.82rem;
    color: var(--text-2);
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════ */

.contact-body {
    padding: 4px 0;
    display: flex;
}

.contact-row {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.12s;
    cursor: pointer;
}

.contact-row:last-child {
    border-right: none;
}

.contact-row:hover {
    background: rgba(10, 132, 255, 0.06);
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.contact-value {
    font-size: 0.82rem;
    color: var(--accent-light);
    font-weight: 600;
    letter-spacing: 0.01em;
}


/* ══════════════════════════════════════════════════
   DOCK
   ══════════════════════════════════════════════════ */

.dock {
    position: fixed;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    padding: 4px 8px;
    background: var(--dock-bg);
    border: 1px solid var(--dock-border);
    border-radius: 18px;
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
}

.dock-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 4px;
    align-self: center;
}

.dock-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.dock-item:hover {
    z-index: 20;
}

.dock-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

/* ══════════════════════════════════════════════════
   PREMIUM THIN FOOTER (Page Flow)
   ══════════════════════════════════════════════════ */

.footer {
    max-width: 1060px;
    margin: 40px auto 80px;
    padding: 0;
    position: relative;
    z-index: 1;
}

.footer-inner {
    background: rgba(15, 15, 28, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    max-width: 100%;
    margin: 0 auto;
}

.footer-left,
.footer-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 1;
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav-link {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-2);
    padding: 12px 4px;
    margin: -12px -4px;
    transition: color 0.2s, transform 0.2s;
}

.footer-nav-link:hover {
    color: var(--accent-light);
    transform: translateY(-1px);
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-social-btn {
    color: var(--text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: -10px;
    transition: color 0.2s, transform 0.2s;
}

.footer-social-btn:hover {
    color: var(--text-1);
    transform: scale(1.1);
}

.footer-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-clock-box {
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: 8px;
    font-family: 'SF Mono', 'Menlo', monospace;
    letter-spacing: 0.02em;
}

.clock-dot {
    width: 4px;
    height: 4px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--green);
    animation: pulse 2s infinite;
}

/* Adjust Desktop padding */
.desktop {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 72px 20px 40px;
}

/* Restore Dock position */
.dock {
    bottom: 24px;
}

.di-notes {
    background: linear-gradient(135deg, #FFD60A, #FF9F0A);
    color: #000;
}

.di-terminal {
    background: linear-gradient(135deg, #1C1C1E, #2C2C2E);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.di-finder {
    background: linear-gradient(135deg, #4FC3F7, #0288D1);
    color: #fff;
}

.di-contacts {
    background: linear-gradient(135deg, #A5D6A7, #43A047);
    color: #fff;
}

.di-github {
    background: linear-gradient(135deg, #333, #1a1a1a);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Tooltip */
.dock-item::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-1);
    background: rgba(30, 30, 50, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s, transform 0.15s;
    z-index: 100;
    backdrop-filter: blur(12px);
}

.dock-item:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */

@media (max-width: 800px) {
    .win-grid {
        grid-template-columns: 1fr;
    }

    .win-about,
    .win-skills,
    .win-projects,
    .win-contact {
        grid-column: 1;
        grid-row: auto;
    }

    .widget {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .widget-divider {
        width: 100%;
        height: 1px;
    }

    .contact-body {
        flex-direction: column;
    }

    .contact-row {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .contact-row:last-child {
        border-bottom: none;
    }

    .finder-meta {
        display: none;
    }

    .menubar-left .menu-item:not(.menu-item--bold):not(.menu-spotlight) {
        display: none;
    }

    /* Footer Tablet Fix */
    .footer {
        padding: 0 16px;
        box-sizing: border-box;
    }

    .footer-inner {
        padding: 0 16px;
        gap: 8px;
    }

    .footer-nav {
        gap: 12px;
    }

    /* About Page Tablet Fix */
    .about-body--detailed {
        padding: 28px 24px;
    }

    .about-body--detailed .about-intro .about-name {
        font-size: 1.8rem;
    }

    /* Spotlight Tablet Fix */
    .spotlight-overlay {
        padding-top: 12vh;
    }
}

@media (max-width: 480px) {
    .dock-icon {
        width: 38px;
        height: 38px;
        border-radius: 9px;
    }

    .dock-icon svg {
        width: 18px;
        height: 18px;
    }

    .about-header {
        flex-direction: column;
        text-align: center;
    }

    .about-status {
        justify-content: center;
    }

    /* Footer Mobile Fix */
    .footer {
        padding: 0 16px;
        margin: 20px auto 100px;
        width: 100%;
        box-sizing: border-box;
    }

    .footer-inner {
        height: auto;
        padding: 20px 16px;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .footer-left,
    .footer-right {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .footer-nav {
        gap: 15px;
        justify-content: center;
    }

    .footer-divider {
        display: none;
    }

    .footer-socials {
        gap: 30px;
        justify-content: center;
    }

    .footer-clock-box {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .desktop {
        padding-top: 60px;
    }

    /* About Page Mobile Fix */
    .about-body--detailed {
        padding: 24px 20px;
    }

    .about-body--detailed .about-intro .about-name {
        font-size: 1.6rem;
    }

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

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

.window-body::-webkit-scrollbar {
    width: 4px;
}

/* 🎯 Recruiter-Facing Enhancements */
.highlighted-badge {
    background: rgba(255, 179, 64, 0.25) !important;
    border: 1.5px solid rgba(255, 179, 64, 0.6) !important;
    color: #ffb340 !important;
    font-weight: 800 !important;
    padding: 4px 10px !important;
    box-shadow: 0 0 12px rgba(255, 179, 64, 0.15);
    border-radius: 6px;
    text-transform: uppercase;
    font-size: 10px;
}

/* Year Tag */
.tag-year {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: var(--text-3) !important;
    font-weight: 500 !important;
    font-size: 10px;
    letter-spacing: 0.03em;
}