/* ========================================
   DESIGN SYSTEM
======================================== */
:root {
    --bg: #0a0a0a;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --accent: #39d353;
    --accent-dim: rgba(57, 211, 83, 0.15);
    --accent-glow: rgba(57, 211, 83, 0.4);
    --text: #e6e6e6;
    --text-secondary: #888888;
    --text-muted: #555555;
    --border: #222222;
    --font-display: 'Syne', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --max-width: 1200px;
    --nav-height: 72px;
    --transition: 0.3s ease;
}

/* ========================================
   CUSTOM SCROLLBAR
======================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
    border-left: 1px solid var(--border);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-dim);
    border-radius: 4px;
    border: 2px solid #0a0a0a;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-mono);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

h1,
h2,
h3 {
    text-shadow: 0 0 15px rgba(57, 211, 83, 0.15);
}

/* ========================================
   CRT SCANLINE OVERLAY
======================================== */
.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9990;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px);
}

/* ========================================
   ANIMATED GRID BACKGROUND
======================================== */
#grid-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ========================================
   MAGNETIC CURSOR — Terminal Crosshair
======================================== */
body {
    cursor: none;
}

a,
button,
.btn,
.project-card,
.skill-tag,
.connect-card,
.more-item,
.featured-card {
    cursor: none;
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
    will-change: transform;
    top: 0;
    left: 0;
}

/* Crosshair lines */
.cursor-dot::before,
.cursor-dot::after {
    content: '';
    position: absolute;
    background: var(--accent);
    opacity: 0.5;
}

.cursor-dot::before {
    width: 1px;
    height: 20px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.cursor-dot::after {
    width: 20px;
    height: 1px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.cursor-dot.active {
    width: 4px;
    height: 4px;
    box-shadow: 0 0 12px var(--accent-glow), 0 0 24px rgba(57, 211, 83, 0.2);
}

.cursor-dot.active::before {
    height: 28px;
    opacity: 0.8;
}

.cursor-dot.active::after {
    width: 28px;
    opacity: 0.8;
}

/* Square bracket frame — lags behind */
.cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.3s ease;
    will-change: transform;
    opacity: 0.5;
    top: 0;
    left: 0;
}

/* Top-left bracket */
.cursor-ring::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-top: 1.5px solid var(--accent);
    border-left: 1.5px solid var(--accent);
}

/* Bottom-right bracket */
.cursor-ring::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-bottom: 1.5px solid var(--accent);
    border-right: 1.5px solid var(--accent);
}

.cursor-ring.active {
    width: 48px;
    height: 48px;
    opacity: 0.8;
}

@media (max-width: 768px),
(pointer: coarse) {

    .cursor-dot,
    .cursor-ring {
        display: none;
    }

    body,
    a,
    button,
    .btn {
        cursor: auto;
    }
}

/* ========================================
   NAVIGATION
======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

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

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-menu a:hover {
    color: var(--accent);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ========================================
   HERO
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: calc(var(--nav-height) + 2rem) clamp(1.5rem, 4vw, 3rem) 4rem;
}

.hero-inner {
    max-width: var(--max-width);
    width: 100%;
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.2s forwards;
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--text);
    position: relative;
    display: inline-block;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.4s forwards;
}

/* Glitch effect */
.hero-name::before,
.hero-name::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.hero-name::before {
    color: #ff0040;
    z-index: -1;
}

.hero-name::after {
    color: #0ff;
    z-index: -1;
}

.hero-name:hover::before {
    opacity: 0.8;
    animation: glitch-1 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.hero-name:hover::after {
    opacity: 0.8;
    animation: glitch-2 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite reverse;
}

@keyframes glitch-1 {
    0% {
        clip-path: inset(40% 0 61% 0);
        transform: translate(-2px, -1px);
    }

    20% {
        clip-path: inset(92% 0 1% 0);
        transform: translate(1px, 2px);
    }

    40% {
        clip-path: inset(43% 0 1% 0);
        transform: translate(-1px, 0px);
    }

    60% {
        clip-path: inset(25% 0 58% 0);
        transform: translate(2px, 1px);
    }

    80% {
        clip-path: inset(54% 0 7% 0);
        transform: translate(-1px, -2px);
    }

    100% {
        clip-path: inset(58% 0 43% 0);
        transform: translate(0px, 1px);
    }
}

@keyframes glitch-2 {
    0% {
        clip-path: inset(65% 0 13% 0);
        transform: translate(2px, 1px);
    }

    20% {
        clip-path: inset(15% 0 65% 0);
        transform: translate(-1px, -1px);
    }

    40% {
        clip-path: inset(72% 0 8% 0);
        transform: translate(1px, 2px);
    }

    60% {
        clip-path: inset(5% 0 73% 0);
        transform: translate(-2px, 0px);
    }

    80% {
        clip-path: inset(35% 0 25% 0);
        transform: translate(1px, -1px);
    }

    100% {
        clip-path: inset(83% 0 3% 0);
        transform: translate(-1px, 2px);
    }
}

.hero-role {
    margin-top: 1.5rem;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.6s forwards;
}

.role-prefix {
    color: var(--text-muted);
}

.typed-cursor {
    animation: blink 1s step-end infinite;
    color: var(--accent);
}

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

.hero-description {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.8s forwards;
}

.hero-stats {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    animation: fadeUp 0.6s ease 1s forwards;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    display: block;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-cta {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeUp 0.6s ease 1.2s forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 0.8rem 1.6rem;
    border-radius: 4px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent);
    color: #000;
    font-weight: 600;
}

.btn-primary:hover {
    background: #45e060;
    box-shadow: 0 0 30px var(--accent-glow);
    animation: btnGlitch 0.2s linear infinite;
}

@keyframes btnGlitch {
    0% {
        transform: translate(0)
    }

    20% {
        transform: translate(-2px, 1px)
    }

    40% {
        transform: translate(-1px, -1px)
    }

    60% {
        transform: translate(2px, 1px)
    }

    80% {
        transform: translate(1px, -1px)
    }

    100% {
        transform: translate(0)
    }
}

.btn-ghost {
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

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

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: clamp(1.5rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 1;
        transform: scaleY(1);
    }

    50% {
        opacity: 0.3;
        transform: scaleY(0.6);
    }
}

/* ========================================
   SECTION COMMON
======================================== */
.section-header {
    margin-bottom: 3rem;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.accent {
    color: var(--accent);
}

.section-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* ========================================
   SCROLL REVEAL
======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   SELECTED WORK
======================================== */
.work {
    position: relative;
    z-index: 1;
    padding: 6rem clamp(1.5rem, 4vw, 3rem);
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Featured full-width cards */
.featured-projects {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.featured-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    padding: 2rem;
}

.featured-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(57, 211, 83, 0.08);
    transform: translateY(-4px);
}

.featured-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    overflow: hidden;
    border-radius: 6px;
    background: var(--bg);
}

.featured-image .collage-screen {
    position: absolute;
    height: 70%;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    object-fit: contain;
}

.featured-image .collage-center {
    z-index: 3;
    transform: translateX(0) scale(1);
}

.featured-image .collage-left {
    z-index: 2;
    transform: translateX(-60%) scale(0.85) rotateY(8deg);
    opacity: 0.7;
}

.featured-image .collage-right {
    z-index: 2;
    transform: translateX(60%) scale(0.85) rotateY(-8deg);
    opacity: 0.7;
}

.featured-image .collage-far-left {
    z-index: 1;
    transform: translateX(-110%) scale(0.7) rotateY(12deg);
    opacity: 0.4;
}

.featured-image .collage-far-right {
    z-index: 1;
    transform: translateX(110%) scale(0.7) rotateY(-12deg);
    opacity: 0.4;
}

.featured-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.featured-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.6rem;
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 4px;
    text-transform: uppercase;
    text-shadow: none;
    box-shadow: 0 0 10px var(--accent-glow);
    z-index: 10;
}

.featured-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.featured-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.featured-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--accent);
    margin-top: 0.5rem;
    transition: gap var(--transition);
}

.featured-link:hover {
    gap: 0.75rem;
}

.featured-link svg {
    width: 16px;
    height: 16px;
}

/* 3-column project grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(57, 211, 83, 0.07);
    transform: translateY(-4px);
}

.project-image {
    position: relative;
    height: 200px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-image .project-collage {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Collage screens for project cards */
.project-image .collage-screen {
    position: absolute;
    height: 75%;
    top: 12%;
    width: auto;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    object-fit: contain;
}

.project-image .collage-solo {
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.project-image .collage-center {
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.project-image .collage-left {
    left: 50%;
    transform: translateX(-85%) scale(0.8) rotateY(8deg);
    z-index: 2;
    opacity: 0.6;
}

.project-image .collage-right {
    left: 50%;
    transform: translateX(-15%) scale(0.8) rotateY(-8deg);
    z-index: 2;
    opacity: 0.6;
}

.project-image .collage-far-left {
    left: 50%;
    transform: translateX(-120%) scale(0.65) rotateY(12deg);
    z-index: 1;
    opacity: 0.3;
}

.project-image .collage-far-right {
    left: 50%;
    transform: translateX(20%) scale(0.65) rotateY(-12deg);
    z-index: 1;
    opacity: 0.3;
}

.project-image-placeholder {
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.project-icon-placeholder {
    width: 64px;
    height: 64px;
    color: var(--text-muted);
}

.project-icon-placeholder svg {
    width: 100%;
    height: 100%;
}

.project-content {
    padding: 1.25rem;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.project-title svg {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    transition: color var(--transition), transform var(--transition);
}

.project-card:hover .project-title svg {
    color: var(--accent);
    transform: translate(2px, -2px);
}

.project-description {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tech-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 3px;
}

/* Download button */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all var(--transition);
    cursor: none;
}

.download-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.download-btn svg {
    width: 14px;
    height: 14px;
}

.version-tag {
    font-size: 0.65rem;
    background: var(--accent-dim);
    color: var(--accent);
    padding: 0.1rem 0.4rem;
    border-radius: 2px;
}

/* ========================================
   MORE PROJECTS (compact list)
======================================== */
.more-projects {
    position: relative;
    z-index: 1;
    padding: 4rem clamp(1.5rem, 4vw, 3rem);
    max-width: var(--max-width);
    margin: 0 auto;
}

.more-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.more-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: all var(--transition);
}

.more-item:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
}

.more-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.more-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-muted);
}

.more-item:hover .more-icon svg {
    color: var(--accent);
}

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

.more-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.more-tech-tags {
    display: flex;
    gap: 0.3rem;
    margin-top: 0.3rem;
}

.more-arrow {
    color: var(--text-muted);
    transition: color var(--transition), transform var(--transition);
    flex-shrink: 0;
}

.more-item:hover .more-arrow {
    color: var(--accent);
    transform: translate(2px, -2px);
}

.more-arrow svg {
    width: 16px;
    height: 16px;
}

/* ========================================
   UNITY PLUGINS (info-only 2-col grid)
======================================== */
.unity-plugins {
    position: relative;
    z-index: 1;
    padding: 4rem clamp(1.5rem, 4vw, 3rem);
    max-width: var(--max-width);
    margin: 0 auto;
}

.plugins-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.plugin-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.4s ease;
}

.plugin-card:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
    box-shadow: 0 0 30px rgba(57, 211, 83, 0.06);
    transform: translateY(-2px);
}

.plugin-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: 8px;
    color: var(--accent);
    padding: 8px;
}

.plugin-icon svg {
    width: 100%;
    height: 100%;
}

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

.plugin-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.plugin-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.plugin-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.6rem;
}

/* ========================================
   STACK / SKILLS
======================================== */
.stack {
    position: relative;
    z-index: 1;
    padding: 6rem clamp(1.5rem, 4vw, 3rem);
    max-width: var(--max-width);
    margin: 0 auto;
}

.terminal-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(30, 30, 30, 0.6);
    border-bottom: 1px solid var(--border);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.t-red {
    background: #ff5f57;
}

.t-yellow {
    background: #febc2e;
}

.t-green {
    background: #28c840;
}

.terminal-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 1.25rem;
}

.terminal-line {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.t-prompt {
    color: var(--accent);
    margin-right: 0.5rem;
}

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

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
}

.skill-cat-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.35rem 0.8rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.skill-tag:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-dim);
    box-shadow: 0 0 15px rgba(57, 211, 83, 0.1);
}

/* ========================================
   CONNECT
======================================== */
.connect {
    position: relative;
    z-index: 1;
    padding: 6rem clamp(1.5rem, 4vw, 3rem) 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.connect-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.connect-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.connect-card svg {
    color: var(--text-muted);
    transition: color var(--transition);
}

.connect-card:hover svg {
    color: var(--accent);
}

.connect-label {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
}

.connect-handle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Green sweep animation */
.sweep {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.connect-card:hover .sweep {
    left: 100%;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

/* ========================================
   MODAL
======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    pointer-events: auto;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow-y: auto;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    animation: modalBootUp 0.4s cubic-bezier(0.86, 0, 0.07, 1) forwards;
}

@keyframes modalBootUp {
    0% {
        transform: scaleY(0.005) scaleX(0);
        opacity: 0;
    }

    40% {
        transform: scaleY(0.005) scaleX(1);
        opacity: 1;
    }

    100% {
        transform: scaleY(1) scaleX(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    z-index: 1;
    transition: color var(--transition);
    background: var(--bg-card);
    border-radius: 50%;
    border: 1px solid var(--border);
}

.modal-close:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

.modal-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.modal-left {
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    padding: 2rem;
    gap: 1rem;
}

.modal-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-right {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
}

.modal-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.modal-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.modal-actions {
    margin-top: 0.5rem;
}

/* Modal collage */
.modal-collage {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.modal-collage-img {
    position: absolute;
    height: 80%;
    max-width: 85%;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    cursor: pointer;
    object-fit: contain;
}

.modal-collage-img.focused {
    z-index: 5;
    transform: translateX(0) scale(1);
    opacity: 1;
}

.modal-collage-img.left-1 {
    z-index: 4;
    transform: translateX(-60%) scale(0.85);
    opacity: 0.6;
}

.modal-collage-img.left-2 {
    z-index: 3;
    transform: translateX(-110%) scale(0.7);
    opacity: 0.3;
}

.modal-collage-img.right-1 {
    z-index: 4;
    transform: translateX(60%) scale(0.85);
    opacity: 0.6;
}

.modal-collage-img.right-2 {
    z-index: 3;
    transform: translateX(110%) scale(0.7);
    opacity: 0.3;
}

.modal-collage-img.hidden-left {
    z-index: 1;
    transform: translateX(-150%) scale(0.5);
    opacity: 0;
}

.modal-collage-img.hidden-right {
    z-index: 1;
    transform: translateX(150%) scale(0.5);
    opacity: 0;
}

/* Modal slider controls — arrows + dots */
.modal-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.modal-nav-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition);
    flex-shrink: 0;
    cursor: pointer;
}

.modal-nav-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.modal-nav-btn svg {
    width: 16px;
    height: 16px;
}

.modal-dots-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.modal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all var(--transition);
}

.modal-dot:hover {
    background: var(--text-muted);
    transform: scale(1.3);
}

.modal-dot.active {
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
    width: 24px;
    border-radius: 5px;
}

.modal-icon {
    width: 80px;
    height: 80px;
    color: var(--text-muted);
}

.modal-icon svg {
    width: 100%;
    height: 100%;
}

/* ========================================
   MOBILE RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 250px;
    }
}

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

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

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

    .more-list {
        grid-template-columns: 1fr;
    }

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

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

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .modal-layout {
        display: flex !important;
        flex-direction: column !important;
        overflow-x: hidden;
    }

    .modal-content {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 100vh;
        height: 100%;
        border-radius: 0;
        border: none;
        overflow-x: hidden;
    }

    /* Show info FIRST on mobile, images below */
    .modal-right {
        order: 2;
        width: 100% !important;
        padding: 1.5rem;
        gap: 0.75rem;
    }

    .modal-left {
        order: 1;
        width: 100% !important;
        min-height: 380px;
        padding: 1rem;
    }

    .modal-title {
        font-size: 1.3rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .modal-description {
        font-size: 0.85rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .modal-tech {
        gap: 0.35rem;
    }

    .modal-tech .tech-tag {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
    }

    .modal-actions {
        margin-top: 0.25rem;
    }

    .modal-actions .btn {
        font-size: 0.8rem;
        padding: 0.65rem 1.2rem;
        width: 100%;
        justify-content: center;
    }

    .modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 32px;
        height: 32px;
        z-index: 10;
    }

    .modal-close svg {
        width: 16px;
        height: 16px;
    }

    .modal-collage {
        height: 320px;
    }

    .modal-collage-img {
        height: 85%;
        max-width: 80%;
    }

    .modal-slider-controls {
        gap: 0.5rem;
    }

    .modal-nav-btn {
        width: 30px;
        height: 30px;
    }

    .modal-nav-btn svg {
        width: 14px;
        height: 14px;
    }

    .modal-dot {
        width: 8px;
        height: 8px;
    }

    .modal-dot.active {
        width: 20px;
    }

    /* KTM custom modal content */
    .ktm-tagline {
        font-size: 0.65rem;
    }

    .ktm-subheading {
        font-size: 0.9rem;
    }

    .ktm-section-title {
        font-size: 1rem;
        margin: 1.5rem 0 1rem;
    }

    .ktm-card {
        padding: 1rem;
    }

    .ktm-card h5 {
        font-size: 0.85rem;
    }

    .ktm-card p {
        font-size: 0.8rem;
    }

    .ktm-table th,
    .ktm-table td {
        padding: 0.5rem 0.65rem;
        font-size: 0.75rem;
    }

    .ktm-bike-status {
        padding: 1rem;
    }

    .ktm-bike-status li {
        font-size: 0.8rem;
    }

    .ktm-flow-diagram {
        padding: 0.75rem;
        margin: 1rem 0;
    }

    .setup-step {
        padding: 1rem;
    }

    .setup-step h6 {
        font-size: 0.85rem;
    }

    .setup-step p,
    .setup-step li {
        font-size: 0.8rem;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }
}

/* ========================================
   KTM RIDE CONNECT CUSTOM THEME (MODAL)
======================================== */
.ktm-project-details {
    color: var(--text-secondary);
    font-family: inherit;
}

.ktm-tagline {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px var(--accent-glow);
}

.ktm-subheading {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.ktm-actions-row {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.ktm-btn.btn-primary {
    background: var(--accent) !important;
    color: #000 !important;
    border: none;
    box-shadow: 0 0 15px var(--accent-dim);
}

.ktm-btn.btn-primary:hover {
    background: #45e060 !important;
    box-shadow: 0 0 25px var(--accent-glow);
    animation: none !important;
    /* disable green glitch */
    transform: translateY(-2px);
}

.ktm-btn-secondary.btn-ghost {
    border: 1px solid var(--accent-dim);
    color: var(--accent);
}

.ktm-btn-secondary.btn-ghost:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
    color: var(--accent);
}

.ktm-section-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text);
    margin: 2.5rem 0 1.25rem;
    padding-left: 0.75rem;
    border-left: 3px solid var(--accent);
    letter-spacing: -0.01em;
}

.ktm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ktm-card {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.25rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

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

.ktm-card h5 {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ktm-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.ktm-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.85rem;
}

.ktm-table th,
.ktm-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.ktm-table th {
    font-family: var(--font-mono);
    color: var(--text);
    background: var(--accent-dim);
    font-weight: 600;
}

.ktm-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}

.ktm-bikes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ktm-bike-status {
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.25rem;
}

.status-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    margin-bottom: 0.75rem;
}

.status-badge.active {
    background: rgba(57, 211, 83, 0.1);
    color: #39d353;
    border: 1px solid rgba(57, 211, 83, 0.3);
}

.status-badge.coming {
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid var(--accent-dim);
}

.ktm-bike-status ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ktm-bike-status li {
    font-size: 0.85rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
}

.ktm-bike-status li:last-child {
    border-bottom: none;
}

/* Setup Flow Diagram */
.ktm-flow-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.flow-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem;
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: #000;
    border-radius: 50%;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
    box-shadow: 0 0 10px var(--accent-glow);
}

.step-txt {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.flow-arrow {
    color: var(--accent);
    font-weight: bold;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Steps Description List */
.ktm-setup-steps {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.setup-step {
    background: rgba(10, 10, 10, 0.3);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.25rem;
}

.setup-step h6 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.setup-step p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.setup-step ul,
.setup-step ol {
    padding-left: 1.25rem;
    margin-top: 0.5rem;
}

.setup-step li {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.4rem;
    color: var(--text-secondary);
}

/* Responsiveness overrides for Modal content */
@media (max-width: 768px) {

    .ktm-grid,
    .ktm-bikes-grid {
        grid-template-columns: 1fr;
    }

    .ktm-flow-diagram {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }

    .flow-arrow {
        text-align: center;
        transform: rotate(90deg);
        margin: 0.2rem 0;
    }

    .ktm-actions-row {
        flex-direction: column;
    }
}

/* Custom Collapsible Expanded Details inside KTM project */
.ktm-expanded-details {
    display: none;
}

.ktm-expanded-details.active {
    display: block;
    animation: ktmExpand 0.4s ease forwards;
}

@keyframes ktmExpand {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   IMAGE LIGHTBOX
========================================= */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    pointer-events: auto;
    opacity: 1;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    cursor: zoom-out;
}

.lightbox-content {
    position: relative;
    max-width: 85%;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20010;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.lightbox.active .lightbox-content img {
    transform: scale(1);
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 20020;
    transition: all var(--transition);
}

.lightbox-close:hover {
    color: var(--accent);
    background: var(--accent-dim);
    border-color: var(--accent);
}

.lightbox-close svg {
    width: 20px;
    height: 20px;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 20020;
    transition: all var(--transition);
}

.lightbox-nav-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-dim);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-btn svg {
    width: 24px;
    height: 24px;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: 1rem;
    }
    .lightbox-next {
        right: 1rem;
    }
    .lightbox-content {
        max-width: 90%;
    }
    .lightbox-nav-btn {
        width: 42px;
        height: 42px;
    }
    .lightbox-nav-btn svg {
        width: 20px;
        height: 20px;
    }
    .featured-badge {
        top: 1rem;
        right: 1rem;
        font-size: 0.55rem;
        padding: 0.2rem 0.5rem;
    }
    .featured-card {
        padding: 1.5rem;
    }
}