:root {
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-color: #ffffff;
    --accent-color: #e4e4e4;
    --bg-dark: #020202;
    --text-muted: #a3a3a3;
    --status-online: #00ff88;
    --status-offline: #ff4b2b;
    --accent-glow: rgba(0, 255, 136, 0.16);
    --surface-highlight: rgba(255, 255, 255, 0.07);
    --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.08), transparent 30%),
        radial-gradient(circle at 8% 42%, rgba(0, 255, 136, 0.035), transparent 22%),
        linear-gradient(180deg, #050505 0%, var(--bg-dark) 52%, #070b0a 100%);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

section {
    scroll-margin-top: 110px;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 20px;
    width: 90%;
    max-width: 1100px;
    background: rgba(12, 14, 14, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 0.6rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
    animation: navDrop 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.2), inset 0 1px 0 var(--surface-highlight);
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.08em;
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-logo:hover {
    color: var(--status-online);
    transform: translateX(2px);
}

.nav-logo .dot {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    min-width: 0;
}

.nav-links a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    opacity: 0.5;
    transition: 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateY(-1px);
}

.language-toggle {
    flex: 0 0 auto;
    min-width: 44px;
    min-height: 36px;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-color);
    font: 700 0.72rem 'JetBrains Mono', monospace;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.language-toggle:hover,
.language-toggle:focus-visible {
    color: var(--accent-color);
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 4px var(--accent-glow);
}

/* Main Layout */
.container {
    padding: 120px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    max-width: 1120px;
}

/* Minimal Glass Cards */
.glass-card {
    position: relative;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.35s var(--ease-out), border-color 0.3s ease, box-shadow 0.35s ease;
    animation: fadeIn 1s ease-out forwards;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.glass-card::before {
    position: absolute;
    top: 0;
    left: 8%;
    width: 84%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
    content: "";
    opacity: 0.45;
    pointer-events: none;
}

.glass-card > .content {
    position: relative;
    z-index: 1;
}

.glass-card:hover {
    border-color: rgba(255,255,255,0.24);
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.glass-card:nth-child(1) { animation-delay: 0.08s; }
.glass-card:nth-child(2) { animation-delay: 0.16s; }
.glass-card:nth-child(3) { animation-delay: 0.24s; }
.glass-card:nth-child(4) { animation-delay: 0.32s; }
.glass-card:nth-child(5) { animation-delay: 0.4s; }

.content > p {
    line-height: 1.65;
}

.philosophy-detail {
    margin-top: 1rem;
    color: rgba(255,255,255,0.72);
}

.philosophy-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.principle {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    padding: 1rem 0.8rem 0 0;
    color: var(--text-muted);
    font-size: 0.72rem;
    line-height: 1.5;
}

.principle + .principle {
    padding-left: 1rem;
    border-left: 1px solid var(--glass-border);
}

.principle i {
    flex: 0 0 auto;
    color: var(--accent-color);
}

.content h1, .content h2 {
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.content h2 {
    text-shadow: 0 0 24px rgba(255, 255, 255, 0.08);
}

.gradient-text {
    font-size: clamp(2rem, 8vw, 3.5rem);
    text-align: center;
    background: linear-gradient(to bottom, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    text-align: center;
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    opacity: 0.6;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 2rem;
}

.social-icon {
    position: relative;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    font-size: 1.5rem;
    color: #fff;
    opacity: 0;
    text-decoration: none;
    border: 0;
    background: transparent;
    box-shadow: none;
    transition: opacity 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    animation: socialIconReveal 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.social-icon:nth-child(1) {
    animation-delay: 0.55s;
}

.social-icon:nth-child(2) {
    animation-delay: 0.68s;
}

.social-icon:hover {
    opacity: 1;
    color: var(--status-online);
    transform: translateY(-4px) scale(1.06);
}

.social-icon:focus-visible {
    outline: 2px solid var(--status-online);
    outline-offset: 4px;
}

@keyframes socialIconReveal {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.72) rotate(-10deg);
    }
    to {
        opacity: 0.4;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: 0.3s;
}

.badge:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* STATUS PANEL */
.status-panel {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    margin-top: 2rem;
    transform-origin: top center;
    animation: statusPanelReveal 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both;
}

.status-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    width: 84%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--status-online), transparent);
    box-shadow: 0 0 14px var(--status-online);
    opacity: 0;
    animation: statusScanLine 1s ease-out 0.5s forwards;
}

.status-header,
.status-grid,
.uptime-counter {
    opacity: 0;
    animation: statusContentReveal 0.55s ease-out forwards;
}

.status-header {
    animation-delay: 0.7s;
}

.status-grid {
    animation-delay: 0.84s;
}

.status-item {
    opacity: 0;
    transform: translateY(10px);
    animation: statusItemReveal 0.45s ease-out forwards;
}

.status-item:nth-child(1) { animation-delay: 0.9s; }
.status-item:nth-child(2) { animation-delay: 0.97s; }
.status-item:nth-child(3) { animation-delay: 1.04s; }
.status-item:nth-child(4) { animation-delay: 1.11s; }
.status-item:nth-child(5) { animation-delay: 1.18s; }
.status-item:nth-child(6) { animation-delay: 1.25s; }
.status-item:nth-child(7) { animation-delay: 1.32s; }
.status-item:nth-child(8) { animation-delay: 1.39s; }
.status-item:nth-child(9) { animation-delay: 1.46s; }

.uptime-counter {
    animation-delay: 1.58s;
}

@keyframes statusPanelReveal {
    from {
        opacity: 0;
        transform: translateY(-22px) scaleY(0.84);
        box-shadow: 0 0 0 rgba(0, 255, 136, 0);
    }
    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
    }
}

@keyframes statusScanLine {
    0% {
        opacity: 0;
        transform: translateX(-35%);
    }
    35%, 75% {
        opacity: 0.9;
    }
    100% {
        opacity: 0;
        transform: translateX(35%);
    }
}

@keyframes statusContentReveal {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes statusItemReveal {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 10px;
}

.node-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.node-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.status-title {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
}

.status-badge {
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 10px;
    background: rgba(0, 255, 136, 0.1);
    color: var(--status-online);
    border: 1px solid var(--status-online);
    box-shadow: 0 0 0 rgba(0, 255, 136, 0);
    animation: statusBadgePulse 2.8s ease-in-out 1.3s infinite;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    padding: 8px 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.status-item:hover {
    background: rgba(0, 255, 136, 0.06);
    border-color: rgba(0, 255, 136, 0.35);
    transform: translateX(4px);
}

.status-item:hover .status-dot {
    animation: pulse 1s ease-in-out infinite;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-online { background: var(--status-online); box-shadow: 0 0 8px var(--status-online); }
.status-offline { background: var(--status-offline); box-shadow: 0 0 8px var(--status-offline); }

.uptime-counter {
    margin-top: 1.5rem;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 2.5rem;
}

.tech-box {
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
    cursor: pointer;
    text-align: center;
}

.tech-box::after {
    position: absolute;
    top: 0;
    left: -70%;
    width: 45%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    content: "";
    opacity: 0;
    transition: left 0.5s ease, opacity 0.5s ease;
}

.tech-box:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-4px);
}

.tech-box:focus-visible,
.project-item:focus-visible {
    outline: 2px solid var(--status-online);
    outline-offset: 4px;
}

.tech-box:hover::after {
    left: 115%;
    opacity: 0.8;
}

.tech-box i {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.tech-box h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.tech-box h3.accent {
    color: var(--accent-color);
}

.stack-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.stack-content.show {
    max-height: 500px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 10px;
}

.tags span {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.expand-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 16px;
    padding: 5px 9px;
    border: 1px solid rgba(0, 255, 136, 0.22);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.expand-hint::after {
    content: ">";
    color: var(--status-online);
    transition: transform 0.25s var(--ease-out);
}

.tech-box:hover .expand-hint,
.project-item:hover .expand-hint,
.tech-box:focus-visible .expand-hint,
.project-item:focus-visible .expand-hint {
    color: #fff;
    background: rgba(0, 255, 136, 0.08);
    border-color: rgba(0, 255, 136, 0.5);
    transform: translateY(-2px);
}

.tech-box:hover .expand-hint::after,
.project-item:hover .expand-hint::after,
.tech-box:focus-visible .expand-hint::after,
.project-item:focus-visible .expand-hint::after {
    transform: translateX(3px);
}

/* AI Evolution Timeline */
.ai-evolution {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 44px 18px;
    margin-top: 2.5rem;
    padding-left: 0;
}

.ai-evolution::before {
    position: absolute;
    top: 28px;
    right: 15%;
    left: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    box-shadow: 0 0 12px rgba(228, 228, 228, 0.22);
    content: "";
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
}

.ai-core {
    position: relative;
    z-index: 1;
    display: inline-flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-self: center;
    gap: 10px;
    min-height: 56px;
    padding: 0.75rem 1.2rem;
    border: 1px solid rgba(0, 255, 136, 0.4);
    border-radius: 999px;
    background: rgba(5, 18, 14, 0.9);
    color: var(--status-online);
    font: 700 0.72rem 'JetBrains Mono', monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 0 24px rgba(0, 255, 136, 0.1), inset 0 0 18px rgba(0, 255, 136, 0.06);
    opacity: 0;
    transform: translateY(-12px) scale(0.9);
}

.ai-evolution.is-visible .ai-core {
    animation: coreDeploy 0.65s var(--ease-out) both, corePulse 3.2s ease-in-out 0.9s infinite;
}

.ai-evolution.is-visible::before {
    animation: connectorReveal 0.75s ease-out 2.65s both;
}

.ai-core i {
    font-size: 1.05rem;
}

.ai-stage {
    min-width: 0;
    min-height: 255px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
    padding: 1.5rem;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s var(--ease-out), box-shadow 0.35s ease;
    position: relative;
    overflow: visible;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.ai-stage:hover {
    background: rgba(255,255,255,0.045);
    border-color: rgba(255,255,255,0.32);
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.ai-stage::before {
    position: absolute;
    top: -20px;
    left: 50%;
    width: 8px;
    height: 8px;
    border: 2px solid var(--bg-dark);
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.48);
    content: "";
    transform: translateX(-50%);
}

.ai-stage::after {
    position: absolute;
    top: -20px;
    left: 50%;
    width: 1px;
    height: 20px;
    background: linear-gradient(var(--accent-color), transparent);
    content: "";
    opacity: 0;
    transform: translateX(-50%);
}

.js-ready .ai-evolution .ai-stage:nth-child(2)::after {
    animation: branchConnectorReveal 0.45s ease-out 1.35s both;
}

.js-ready .ai-evolution .ai-stage:nth-child(3)::after {
    animation: branchConnectorReveal 0.45s ease-out 1.8s both;
}

.js-ready .ai-evolution .ai-stage:nth-child(4)::after {
    animation: branchConnectorReveal 0.45s ease-out 2.25s both;
}

.stage-header {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.stage-icon {
    display: grid;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    place-items: center;
    font-size: 1.45rem;
    color: var(--accent-color);
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.ai-stage:hover .stage-icon {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.32);
}

.stage-text {
    min-width: 0;
}

.stage-text p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
}

.stage-text h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 1.4rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
}

.tag-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    background: rgba(255,255,255,0.1);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 0;
    color: var(--text-muted);
    white-space: nowrap;
    line-height: 1.4;
}

.stage-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 1.5rem;
}

.stage-details span {
    font-size: 0.85rem;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stage-details i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

.genesis { border-left: 3px solid #687078; }
.legacy { border-left: 3px solid #4b535a; }
.current { border-left: 3px solid var(--accent-color); }

.js-ready .ai-evolution .ai-stage:nth-child(2) { transition-delay: 0.9s; }
.js-ready .ai-evolution .ai-stage:nth-child(3) { transition-delay: 1.35s; }
.js-ready .ai-evolution .ai-stage:nth-child(4) { transition-delay: 1.8s; }

@media (max-width: 900px) {
    .ai-evolution {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-left: 22px;
    }

    .ai-evolution::before {
        top: 28px;
        right: auto;
        bottom: 28px;
        left: 7px;
        width: 1px;
        height: auto;
        transform-origin: top;
    }

    .ai-evolution.is-visible::before {
        animation-name: connectorRevealVertical;
    }

    .ai-core {
        grid-column: 1;
        justify-self: start;
        min-height: 50px;
        padding: 0.65rem 1rem;
        font-size: 0.65rem;
    }

    .ai-stage::before {
        top: 30px;
        left: -19px;
        transform: none;
    }

    .ai-stage::after {
        top: 33px;
        left: -18px;
        width: 18px;
        height: 1px;
        background: linear-gradient(90deg, var(--accent-color), transparent);
        transform: none;
    }
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.section-kicker {
    margin-bottom: 0.75rem;
    color: var(--accent-color);
    font: 700 0.68rem 'JetBrains Mono', monospace;
    letter-spacing: 0.08em;
    line-height: 1.6;
}

.projects-intro {
    max-width: 640px;
    margin: -0.45rem 0 2rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.project-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
    gap: 16px;
}

.catalog-card {
    display: flex;
    min-width: 0;
    min-height: 280px;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.35rem;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.catalog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 210, 255, 0.38);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

.featured-project {
    border-color: rgba(0, 210, 255, 0.32);
    background: linear-gradient(145deg, rgba(0, 210, 255, 0.075), rgba(255, 255, 255, 0.02) 62%);
}

.catalog-topline {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}

.catalog-index {
    color: var(--accent-color);
    font: 700 0.8rem 'JetBrains Mono', monospace;
}

.catalog-type {
    color: var(--text-muted);
    font: 600 0.58rem 'JetBrains Mono', monospace;
    text-align: right;
}

.catalog-card h3 {
    margin-bottom: 0.65rem;
    font-size: 1.12rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.catalog-card p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.88rem;
    line-height: 1.6;
}

.catalog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.catalog-tags span {
    padding: 4px 8px;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.68rem;
}

.repo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1rem;
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
}

.repo-link:hover {
    color: #fff;
}

.repo-link i {
    transition: transform 0.25s var(--ease-out);
}

.repo-link:hover i {
    transform: translate(3px, -3px);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--status-online);
    outline-offset: 4px;
}

.secondary-copy {
    margin-top: 1rem;
    opacity: 0.8;
}

.project-item {
    background: rgba(255,255,255,0.02);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
    cursor: pointer;
}

.project-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
}

.project-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.project-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.project-item p {
    font-size: 0.9rem;
    opacity: 0.6;
    line-height: 1.4;
}

/* FRIDAY DETAILED SECTION */
.friday-section {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.018);
}

h2.friday-title {
    color: var(--accent-color);
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.friday-type-text {
    white-space: nowrap;
}

.js-ready .ai-stage.active .stage-icon {
    animation: stageIconPop 0.65s var(--ease-out) 0.12s both;
}

.js-ready .ai-evolution .ai-stage:nth-child(2) .stage-icon {
    animation-delay: 1.02s;
}

.js-ready .ai-evolution .ai-stage:nth-child(3) .stage-icon {
    animation-delay: 1.47s;
}

.js-ready .ai-evolution .ai-stage:nth-child(4) .stage-icon {
    animation-delay: 1.92s;
}

.js-ready .ai-stage.active .tag-label {
    animation: tagLabelReveal 0.45s ease-out 0.3s both;
}

.friday-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.detail-item {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border-radius: 20px;
    transition: 0.3s;
}

.detail-item:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-5px);
}

.terminal-logo {
    display: inline-flex;
    align-items: flex-end;
    gap: 5px;
    min-height: 32px;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.terminal-logo .fa-terminal {
    font-size: 2rem;
    animation: terminalIconBoot 0.9s steps(4, end) 0.15s both;
    filter: drop-shadow(0 0 0 rgba(0, 255, 136, 0));
}

.detail-item > i:not(.fa-terminal) {
    animation: detailIconBoot 0.8s var(--ease-out) 0.3s both;
    transition: color 0.3s ease, transform 0.3s var(--ease-out), filter 0.3s ease;
}

.detail-item:nth-child(2) > i {
    animation-delay: 0.42s;
}

.detail-item:nth-child(3) > i {
    animation-delay: 0.54s;
}

.terminal-caret {
    width: 0.55ch;
    height: 0.9em;
    margin-bottom: 0.05em;
    border-right: 0.12em solid var(--status-online);
    animation: terminalCursor 0.85s steps(1, end) infinite;
}

.detail-item:hover .terminal-logo {
    color: var(--status-online);
}

.detail-item:hover .terminal-logo .fa-terminal {
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.35));
}

.detail-item:hover > i:not(.fa-terminal) {
    color: var(--status-online);
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.35));
    transform: translateY(-4px);
}

.detail-item h3 {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.detail-item p {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.5;
}

.friday-footer {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.friday-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #00ff88;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff88;
    animation: pulse 2s infinite;
}

.friday-quote {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    opacity: 0.5;
    font-style: italic;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

@keyframes statusBadgePulse {
    0%, 100% { box-shadow: 0 0 0 rgba(0, 255, 136, 0); }
    50% { box-shadow: 0 0 18px rgba(0, 255, 136, 0.14); }
}

@keyframes terminalCursor {
    0%, 45% { opacity: 1; }
    46%, 100% { opacity: 0; }
}

@keyframes terminalIconBoot {
    0% {
        opacity: 0;
        transform: translateX(-8px);
        filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
    }
    45% {
        opacity: 0.45;
        transform: translateX(3px);
    }
    70% {
        opacity: 1;
        transform: translateX(-1px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        filter: drop-shadow(0 0 0 rgba(0, 255, 136, 0));
    }
}

@keyframes detailIconBoot {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.78);
        filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.4));
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 0 rgba(0, 255, 136, 0));
    }
}

@keyframes stageIconPop {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.8) rotate(-8deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

@keyframes tagLabelReveal {
    from {
        opacity: 0;
        transform: translateX(-5px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes corePulse {
    0%, 100% { box-shadow: 0 0 24px rgba(0, 255, 136, 0.1), inset 0 0 18px rgba(0, 255, 136, 0.06); }
    50% { box-shadow: 0 0 34px rgba(0, 255, 136, 0.2), inset 0 0 22px rgba(0, 255, 136, 0.1); }
}

@keyframes coreDeploy {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes connectorReveal {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes connectorRevealVertical {
    from {
        opacity: 0;
        transform: scaleY(0);
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes branchConnectorReveal {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes navDrop {
    from {
        opacity: 0;
        transform: translateY(-14px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 1;
    transform: none;
}

.js-ready .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0, 0.2, 1);
}

.js-ready .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.project-catalog .catalog-card:nth-child(3n + 2) { transition-delay: 70ms; }
.project-catalog .catalog-card:nth-child(3n) { transition-delay: 130ms; }

/* ============================================================
   MOBILE OPTIMIZATION (RESPONSIVE DESIGN)
   ============================================================ */

@media (max-width: 768px) {
    .glass-nav {
        top: 10px;
        width: 96%;
        padding: 0.55rem 0.65rem;
        justify-content: flex-start;
        gap: 0.65rem;
    }

    .nav-logo {
        display: none; 
    }

    .nav-links {
        flex: 1;
        overflow-x: auto;
        gap: 0.8rem;
        scrollbar-width: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        font-size: 0.65rem;
        flex: 0 0 auto;
    }

    .language-toggle {
        min-width: 40px;
        min-height: 34px;
    }

    .container {
        padding: 100px 15px;
        gap: 30px;
    }

    .glass-card {
        padding: 1.5rem;
    }

    .gradient-text {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

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

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

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .ai-stage {
        padding: 1.15rem;
    }

    .stage-header {
        align-items: flex-start;
        gap: 12px;
    }

    .stage-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 1.2rem;
    }

    .stage-text h3 {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px;
        font-size: 1.15rem;
    }

    .tag-label {
        margin-left: 0;
    }

    .stage-details {
        flex-direction: column;
        gap: 9px;
        margin-top: 1rem;
    }

    .stage-details span {
        align-items: flex-start;
        font-size: 0.78rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-catalog {
        grid-template-columns: 1fr;
    }

    .philosophy-principles {
        grid-template-columns: 1fr;
    }

    .principle,
    .principle + .principle {
        padding: 0.8rem 0;
        border-left: 0;
    }

    .principle + .principle {
        border-top: 1px solid var(--glass-border);
    }

    .catalog-card {
        min-height: 0;
    }

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

    .ai-evolution {
        gap: 14px;
        padding-left: 18px;
    }

    .ai-stage {
        min-height: 0;
        padding: 1.2rem;
    }

    .ai-core {
        max-width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .status-panel {
        animation: none;
    }

    .terminal-caret,
    .terminal-logo .fa-terminal,
    .detail-item > i:not(.fa-terminal) {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .ai-core {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .ai-evolution::before,
    .ai-stage::after {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .status-panel::before,
    .status-header,
    .status-grid,
    .status-item,
    .uptime-counter {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .js-ready .reveal {
        opacity: 1;
        transform: none;
    }
}


/* Refinement of the original animated portfolio */
:root { --glass-bg:rgba(15,22,21,.72); --glass-border:rgba(187,220,204,.12); --text-muted:#a8b7af; --accent-color:#bff6dc; --status-online:#76edb5; }
body { background:radial-gradient(ellipse at 50% -5%,#23513b3b,transparent 36%),radial-gradient(ellipse at 100% 45%,#17242c60,transparent 40%),linear-gradient(180deg,#070b0a,#050807 60%,#0b100e); }
body::before { content:''; position:absolute; top:0; left:0; right:0; height:900px; background:linear-gradient(#bcefd604 1px,transparent 1px),linear-gradient(90deg,#bcefd604 1px,transparent 1px); background-size:64px 64px; mask-image:linear-gradient(#000,transparent); pointer-events:none; }
.ambient-light { position:absolute; top:110px; left:calc(50% - 250px); width:500px; height:500px; border-radius:50%; background:radial-gradient(circle,#77eab516,transparent 65%); pointer-events:none; animation:ambientBreathe 9s ease-in-out infinite; }
@keyframes ambientBreathe { 0%,100% { transform:translateY(0) scale(1); opacity:.6; }50% { transform:translateY(25px) scale(1.15); opacity:1; } }
a { text-decoration:none; }.nav-logo .dot { color:var(--status-online); }
:focus-visible { outline:2px solid var(--status-online); outline-offset:5px; }
.skip-link { position:fixed; top:12px; left:12px; z-index:2000; background:#bff6dc; color:#070b0a; border-radius:12px; padding:12px 18px; transform:translateY(-160%); }.skip-link:focus { transform:none; }
.glass-nav { background:#0d1513c9; border-color:#c7f0dc1a; box-shadow:0 18px 50px #0004,inset 0 1px #ffffff0a; padding:.75rem 1.5rem; }
.nav-links a { opacity:.72; }.nav-links a:hover,.nav-links a[aria-current] { opacity:1; color:var(--accent-color); }
.container { max-width:1160px; padding-top:125px; padding-bottom:50px; gap:38px; }
.glass-card { padding:42px; border-radius:28px; background:linear-gradient(135deg,#ffffff06,#ffffff00 55%),var(--glass-bg); box-shadow:0 20px 70px #0002,inset 0 1px #d8ffee08; }
.glass-card:hover { transform:translateY(-3px); border-color:#bff6dc35; }
.hero { display:grid; place-items:center; min-height:520px; padding:76px 32px 48px; background:radial-gradient(ellipse at 50% 0%,#4c986629,transparent 65%),linear-gradient(145deg,#ffffff06,#ffffff01),#0b1211b3; }
.hero::after { content:''; position:absolute; width:480px; height:480px; left:calc(50% - 240px); top:-330px; border:1px solid #bff6dc18; border-radius:50%; box-shadow:0 0 0 50px #bff6dc04,0 0 0 100px #bff6dc03; pointer-events:none; }
.hero-eyebrow { font:10px/1.8 'JetBrains Mono',monospace; color:var(--accent-color); text-align:center; letter-spacing:2.4px; margin-bottom:22px; }
.gradient-text { font-size:clamp(42px,7vw,76px); letter-spacing:-3.8px; line-height:1.1; background:linear-gradient(150deg,#ffffff 30%,#dceee2 70%,#789888); }
.subtitle { max-width:680px; margin:20px auto 0; font-size:16px; opacity:1; color:var(--text-muted); line-height:1.8; }
.hero-actions { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:24px; margin:28px 0; }
.hero-cta { display:flex; align-items:center; gap:24px; color:#08130e; background:linear-gradient(135deg,#d3f9e3,#81d5af); border-radius:12px; padding:13px 20px; font-size:13px; font-weight:600; box-shadow:0 8px 25px #86dfb315; transition:transform .25s,box-shadow .25s; }.hero-cta:hover { transform:translateY(-3px); box-shadow:0 12px 32px #86dfb32a; }
.hero-secondary { font-size:12px; color:var(--text-muted); }.hero-secondary:hover { color:var(--accent-color); }
.social-links { margin:24px 0; gap:14px; }.social-icon { width:42px; height:42px; font-size:20px; border:1px solid var(--glass-border); border-radius:13px; background:#ffffff04; }
.hero-badges { gap:8px; }.badge { background:#ffffff04; border-color:#bcf6db13; font-size:10px; }
.section-title { letter-spacing:-.8px; font-size:27px; }.section-title>i { color:var(--accent-color); font-size:20px; }
.content>p { color:#bdc8c2; line-height:1.85; font-size:14px; }
.status-panel { background:linear-gradient(145deg,#08140e,#0a100e); border-color:#76edb526; }.status-item { background:#b9ffde04; border-radius:10px; }.status-badge { font-size:10px; }.uptime-counter { font-size:10px; opacity:.7; }
.tech-box,.project-item,.ai-stage { background:linear-gradient(145deg,#ffffff05,#ffffff01); border-color:#bcead418; border-radius:18px; }
.ai-core { box-shadow:0 0 28px #76edb51f; }.ai-stage { min-height:270px; }.ai-stage:hover { border-color:#76edb547; box-shadow:0 15px 35px #0003; }
.catalog-card { padding:25px; border-radius:20px; background:linear-gradient(145deg,#ffffff04,#ffffff01); }.catalog-card:hover { border-color:#8fe8bd50; background:#9ef4c807; }.catalog-card h3 { font-size:19px; letter-spacing:-.4px; }.catalog-card p { font-size:13px; line-height:1.8; }.catalog-type { font-size:9px; }
.featured-project { background:radial-gradient(ellipse at 100% 0%,#76edb513,transparent 70%),#ffffff03; border-color:#76edb543; }.catalog-tags span { border-radius:6px; }
.friday-section { background:radial-gradient(ellipse at 100% 100%,#67e6ac0d,transparent 65%),#0b1411b3; }.friday-title { min-height:48px; }.friday-detail-grid { gap:24px; }.detail-item { padding:20px; border:1px solid #bff6dc14; border-radius:18px; background:#ffffff02; }.friday-tagline { color:var(--text-muted); }
.portfolio-footer { display:flex; justify-content:space-between; gap:20px; max-width:1120px; width:calc(100% - 40px); padding:24px 0 40px; border-top:1px solid var(--glass-border); color:var(--text-muted); font:10px/1.8 'JetBrains Mono',monospace; }.portfolio-footer a { color:var(--accent-color); }
.menu-toggle { display:none; width:42px; height:38px; border:1px solid var(--glass-border); border-radius:11px; background:#ffffff04; cursor:pointer; }.menu-toggle span { display:block; height:1px; width:16px; margin:5px auto; background:var(--accent-color); }
@media(max-width:900px) { .js-ready .menu-toggle { display:block; flex-shrink:0; }.glass-nav { border-radius:20px; top:14px; width:calc(100% - 28px); justify-content:space-between; }.language-toggle { margin-left:auto; }.nav-links { flex-wrap:wrap; }.js-ready .nav-links { display:none; position:absolute; top:calc(100% + 10px); left:0; right:0; padding:20px; border:1px solid var(--glass-border); border-radius:18px; background:#0d1614f5; box-shadow:0 20px 50px #0005; backdrop-filter:blur(24px); }.js-ready .menu-open .nav-links { display:flex; gap:0; }.js-ready .nav-links a { width:50%; padding:13px 8px; font-size:12px; }.glass-card { padding:30px; }.ai-stage { min-height:0; } }
@media(max-width:600px) { .container { padding:98px 14px 35px; gap:24px; }.glass-card { padding:24px; border-radius:22px; }.hero { padding:52px 20px 32px; min-height:510px; }.gradient-text { font-size:46px; letter-spacing:-2.4px; }.hero-eyebrow { font-size:8px; letter-spacing:1.5px; }.subtitle { font-size:13px; }.hero-actions { gap:17px; }.section-title { font-size:23px; }.content>p { font-size:13px; }.portfolio-footer { width:calc(100% - 28px); flex-direction:column; gap:10px; }.friday-detail-grid { grid-template-columns:1fr; }.status-header { flex-wrap:wrap; gap:12px; } }
@media(prefers-reduced-motion:reduce) { .ambient-light { animation:none; }.hero-cta { transition:none; } }
.gradient-text { background-clip:text; -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.ambient-light { width:min(500px,80vw); height:min(500px,80vw); left:0; right:0; margin-inline:auto; } @media(max-width:900px) { .nav-logo { display:block; } }


/* Real project showcase */
.showcase-section { scroll-margin-top:110px; padding:35px 0 15px; }
.showcase-heading { display:flex; justify-content:space-between; align-items:end; gap:36px; margin:0 8px 30px; }
.showcase-heading .hero-eyebrow { text-align:left; font-size:9px; margin-bottom:14px; }
.showcase-heading h2 { font-size:clamp(29px,3.7vw,43px); font-weight:600; line-height:1.15; letter-spacing:-1.8px; max-width:630px; }
.showcase-heading>p { max-width:285px; font-size:12px; line-height:1.85; color:var(--text-muted); }
.visual-project-grid { display:grid; grid-template-columns:1.25fr 1fr; gap:22px; align-items:start; }
.visual-project { overflow:hidden; min-width:0; border:1px solid var(--glass-border); border-radius:25px; background:linear-gradient(145deg,#ffffff05,#ffffff00),#0b1211; box-shadow:0 24px 60px #0003; }
.homarr-project { margin-top:75px; }.jellyfin-project { border-color:#adb1ff29; }
.project-cover { display:block; position:relative; width:100%; height:320px; padding:0; overflow:hidden; border:0; color:#fff; background:#101519; cursor:zoom-in; isolation:isolate; }
.project-cover::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,#0005,transparent 40%,#000b); pointer-events:none; }
.project-cover img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; transition:transform .8s var(--ease-out),filter .6s; filter:brightness(.92); }
.homarr-project .project-cover { height:265px; }.homarr-project .project-cover img { object-position:25% center; }
.project-cover:hover img { transform:scale(1.045); filter:brightness(1.05); }
.cover-topline,.cover-action { display:flex; justify-content:space-between; align-items:center; position:absolute; z-index:2; left:20px; right:20px; }
.cover-topline { top:20px; gap:12px; font:8px/1.6 'JetBrains Mono',monospace; letter-spacing:.7px; }.capture-badge { padding:5px 8px; border:1px solid #ffffff25; background:#1016158c; backdrop-filter:blur(12px); border-radius:6px; white-space:nowrap; }
.cover-action { bottom:18px; padding-top:25px; font-size:12px; }.cover-action>span:last-child { display:grid; place-items:center; height:34px; width:34px; border:1px solid #ffffff4d; border-radius:50%; background:#ffffff0a; transition:transform .3s; }.project-cover:hover .cover-action>span:last-child { transform:rotate(45deg); }
.visual-project-copy { padding:28px; }.visual-project-heading { display:flex; justify-content:space-between; gap:10px; margin-bottom:15px; }.project-number { font:9px 'JetBrains Mono',monospace; color:var(--accent-color); letter-spacing:1px; }.project-count { font-size:10px; color:var(--text-muted); }
.visual-project h3 { font-size:27px; font-weight:600; line-height:1.2; letter-spacing:-1px; margin-bottom:14px; }.visual-project p { color:var(--text-muted); font-size:13px; line-height:1.85; margin-bottom:22px; }.visual-project .catalog-tags { margin:0; }
.project-view-strip { display:flex; flex-wrap:wrap; gap:8px; border-top:1px solid var(--glass-border); padding-top:20px; margin-top:25px; }.project-view-strip button { color:var(--text-muted); background:#ffffff04; border:1px solid var(--glass-border); border-radius:8px; font-size:10px; padding:8px 10px; cursor:pointer; transition:color .2s,background .2s; }.project-view-strip button:hover { color:var(--accent-color); background:#9eefd210; }
.homarr-detail { display:flex; gap:12px; align-items:center; font-size:11px; color:var(--text-muted); border-top:1px solid var(--glass-border); margin-top:25px; padding-top:20px; }.homarr-detail>span:first-child { color:var(--accent-color); font-size:24px; }
.project-lightbox { width:min(1180px,calc(100vw - 40px)); max-width:none; max-height:calc(100dvh - 40px); margin:auto; padding:0; background:#0d1311; color:white; border:1px solid #bbefd329; border-radius:20px; box-shadow:0 40px 120px #0009; overflow:auto; }
.project-lightbox::backdrop { background:#020605db; backdrop-filter:blur(16px); }.lightbox-shell { padding:20px; }.lightbox-header { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:18px; }.lightbox-header h2 { font-size:19px; font-weight:500; margin-top:5px; }.lightbox-header span { color:var(--text-muted); font:9px 'JetBrains Mono',monospace; letter-spacing:1px; }
.gallery-close,.gallery-prev,.gallery-next { border:1px solid var(--glass-border); background:#ffffff05; border-radius:10px; color:white; width:40px; height:40px; cursor:pointer; flex-shrink:0; }.gallery-close:hover,.gallery-prev:hover,.gallery-next:hover { background:#c8ffdf14; }.gallery-prev:disabled,.gallery-next:disabled { opacity:.25; cursor:default; }
.lightbox-image-wrap { background:#040706; border-radius:12px; overflow:hidden; display:grid; place-items:center; }.lightbox-image-wrap img { display:block; width:100%; height:auto; max-height:calc(100dvh - 210px); object-fit:contain; }.lightbox-footer { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-top:16px; }.lightbox-footer p { font-size:12px; color:var(--text-muted); text-align:center; }
@media(max-width:900px) { .visual-project-grid { grid-template-columns:1fr 1fr; }.project-cover { height:270px; }.homarr-project .project-cover { height:235px; }.visual-project-copy { padding:22px; }.visual-project h3 { font-size:23px; } }
@media(max-width:650px) { .showcase-heading { display:block; margin:0 4px 26px; }.showcase-heading>p { max-width:none; margin-top:20px; }.visual-project-grid { grid-template-columns:1fr; }.homarr-project { margin-top:0; }.project-cover,.homarr-project .project-cover { height:auto; aspect-ratio:1.65; }.visual-project-copy { padding:24px; }.showcase-section { padding-top:15px; }.cover-topline { font-size:7px; left:14px; right:14px; }.project-lightbox { width:calc(100vw - 20px); max-height:calc(100dvh - 20px); }.lightbox-shell { padding:12px; }.lightbox-header h2 { font-size:16px; }.lightbox-footer p { font-size:10px; } }
@media(prefers-reduced-motion:reduce) { .project-cover img,.cover-action>span:last-child { transition:none; } }
