/* styles.css */
        /* Ensure pointer cursor on all interactive elements */
        .logo-img,
        .logo-title,
        .logo-email,
        .main-nav a,
        .social-icon-group a,
        .handle,
        .dropdown-toggle,
        button,
        a,
        input[type="button"],
        input[type="submit"] {
            cursor: pointer;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            scroll-behavior: smooth;
        }

        body {
            font-family: 'IBM Plex Sans', sans-serif;
            color: #333;
            background-color: #fff;
            transition: background-color 0.3s, color 0.3s;
        }

            body.dark-mode {
                background-color: #121212;
                color: #eee;
            }

                body.dark-mode .exp-left img {
                    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
                }

                body.dark-mode header {
                    background-color: #1e1e1e;
                    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.05);
                }
        /* Header */
        header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 2rem;
            padding: 1rem 2rem;
            background: #fff;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            transition: all 0.3s ease;
            height: 100px;
        }

            header.shrink {
                height: 60px;
            }

                header.shrink .logo-img {
                    height: 36px;
                }

                header.shrink .logo-title {
                    font-size: 1.2rem;
                }

                header.shrink .text-block span {
                    font-size: 1.2rem;
                }

                header.shrink .social-icon-group img {
                    width: 24px !important;
                    height: 24px !important;
                }

        /* Logo */
        .logo {
            display: flex;
            align-items: center;
            gap: 1rem;
            color: #338ac1;
            font-weight: bold;
        }

        .logo-img {
            height: 60px;
            transition: height 0.3s ease;
        }

        .logo-img,
        .logo-title,
        .logo-email {
            cursor: pointer;
            display: inline-block;
            transition: transform 0.2s ease;
            transform-origin: center;
        }

            .logo-img:hover,
            .logo-title:hover,
            .logo-email:hover {
                animation: jiggle 0.4s ease-in-out;
            }

            .logo-img:active,
            .logo-title:active,
            .logo-email:active {
                animation: pop 0.3s ease-in-out;
            }

        .logo-title {
            font-size: 2rem;
            font-weight: bold;
            color: #338ac1;
            cursor: pointer;
            display: inline-block;
            transition: font-size 0.3s ease, transform 0.2s ease;
            transform-origin: center center;
            text-align: center;
        }

        /* Text Block */
        .text-block {
            display: flex;
            flex-direction: column;
            align-items: flex-start; /* Or center if that feels better visually */
        }

            .text-block span {
                font-size: 2rem;
                transition: font-size 0.3s ease;
            }

            .text-block .subtitle {
                font-size: 0.875rem;
                font-weight: normal;
                color: #555;
            }

        /* Navigation */
        nav,
        .main-nav {
            display: flex;
            align-items: center;
        }

            nav a,
            .main-nav a {
                margin-left: 2rem;
                text-decoration: none;
                color: #338ac1;
                font-weight: bold;
                font-size: 1.25rem;
                cursor: pointer;
                transition: transform 0.2s ease;
            }

                nav a:hover,
                .main-nav a:hover {
                    animation: jiggle 0.4s ease-in-out;
                }

                nav a:active,
                .main-nav a:active {
                    animation: pop 0.3s ease-in-out;
                }

        /* Social Media */
        .nav-social {
            display: flex;
            gap: 1.5rem;
            align-items: center;
        }

        .social-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            font-size: 0.75rem;
            color: #338ac1;
            text-align: center;
            width: 48px;
        }

            .social-item a {
                text-decoration: none;
                color: inherit;
            }

        .social-icon-group {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

            .social-icon-group img {
                width: 32px !important;
                height: 32px !important;
            }

            .social-icon-group a img,
            .handle {
                display: inline-block;
                cursor: pointer;
            }

                .social-icon-group a:hover img,
                .handle:hover {
                    animation: jiggle 0.4s ease-in-out;
                }

                .social-icon-group a:active img,
                .handle:active {
                    animation: pop 0.3s ease-in-out;
                }

        .handle {
            font-size: 0.6rem;
            font-weight: bold;
            color: #338ac1;
            text-align: center;
            margin-top: 0.25rem;
        }

        /* Sections */
        section {
            padding: 100px 2rem 2rem 2rem;
            min-height: 100vh;
        }

            section h1 {
                color: #338ac1;
                font-size: 2.5rem;
            }

        #Projects {
            background: #f9f9f9;
            padding-top: 30px;
        }

        #About,
        #Contact,
        #Demo {
            padding-top: 40px;
        }

        #About {
            background: #e9e9e9;
        }

        #Contact {
            background: #d9d9d9;
            padding-bottom: 1rem;
            min-height: unset;
        }

        #Demo {
            background: #c9c9c9;
        }

        body.dark-mode #Projects {
            background-color: #1a1a1a;
        }

        body.dark-mode #About {
            background-color: #222222;
        }

        body.dark-mode #Contact {
            background-color: #2a2a2a;
        }

        body.dark-mode #Demo {
            background-color: #333333;
        }

        .combat-title-card {
            text-align: center;
            padding: 120px 2rem 0 2rem; /* remove bottom padding */
            background-color: #fff;
            margin-bottom: 40px; /* tighter and more intentional spacing */
        }

        .combat-title {
            color: #338ac1;
            font-size: 3rem;
            margin-bottom: 0.5rem;
        }

        .combat-subtitle {
            font-size: 1.25rem;
            color: #444;
            max-width: 900px;
            margin: 0 auto;
        }

        /* Projects */
        .projects-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 2rem;
        }

        .projects-row {
            display: flex;
            gap: 1rem;
            padding: 2rem 0;
        }

        .exp-left img {
            width: 360px;
            height: auto;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            border-radius: 4px;
        }

        .exp-middle {
            flex: 1;
            flex-direction: column;
            gap: 4px;
        }

        .job-title {
            font-weight: bold;
            color: #338ac1;
            font-size: 1.5rem;
        }

        .company {
            font-weight: bold;
        }

        .project {
            font-weight: normal;
        }

        .blurb {
            margin: 0.5rem 0;
        }

        .platforms {
            color: #777;
            font-size: 0.875rem;
        }

        .exp-right {
            text-align: right;
        }

            .exp-right .date {
                font-weight: bold;
            }

            .exp-right img {
                margin-top: 0.5rem;
                width: 120px;
                height: auto;
            }

        .theme-toggle {
            position: fixed;
            bottom: 1rem;
            right: 1rem;
            width: auto;
            height: auto;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 3000;
            background: none;
            border: none;
            padding: 0;
            box-shadow: none;
        }

        .bulb {
            background: none;
            width: auto;
            height: auto;
            box-shadow: none;
        }

        body.dark-mode .bulb {
            background: none;
            box-shadow: none;
        }

        .bulb::before {
            content: '🌙'; /* Light mode */
            font-size: 18px;
            line-height: 1;
        }

        body.dark-mode .bulb::before {
            content: '☀️'; /* Dark mode */
        }

        /* Jiggle & Pop */
        @keyframes jiggle {
            0%, 100% {
                transform: rotate(0deg);
            }

            25% {
                transform: rotate(2deg);
            }

            50% {
                transform: rotate(-2deg);
            }

            75% {
                transform: rotate(2deg);
            }
        }

        @keyframes pop {
            0% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.1);
            }

            100% {
                transform: scale(1);
            }
        }

        /* Email Copy */
        .email-container {
            position: relative;
            display: inline-block;
        }

        .copy-confirm {
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-65%) translateY(30px) rotate(0deg);
            font-size: 0.75rem;
            font-weight: normal;
            color: #aaa;
            opacity: 0;
            pointer-events: none;
            transition: opacity 1s ease, transform 0.5s ease;
            white-space: nowrap;
        }

            .copy-confirm.visible {
                opacity: 1;
                transform: translateX(-65%) translateY(35px) rotate(-15deg);
                transition: opacity 0.1s ease, transform 0.5s ease;
            }

        .about-content {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            align-items: flex-start;
            margin-top: 2rem;
        }

        .about-left {
            flex: 0 0 200px;
        }

        .about-image {
            width: 100%;
            max-width: 200px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .about-right {
            flex: 1;
        }

        .about-name {
            font-size: 1.8rem;
            font-weight: bold;
            color: #338ac1;
            margin-bottom: 0.25rem;
        }

        .about-title {
            font-size: 1.1rem;
            font-weight: normal;
            color: #555;
            margin-bottom: 1rem;
        }

        .about-bio {
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        .resume-section {
            margin-top: 2rem;
        }

        .resume-link {
            color: #338ac1;
            font-weight: bold;
            text-decoration: none;
            transition: transform 0.2s ease;
        }

            .resume-link:hover {
                animation: jiggle 0.4s ease-in-out;
            }

            .resume-link:active {
                animation: pop 0.3s ease-in-out;
            }

        .resume-viewer {
            margin-top: 2rem;
            width: 100%;
            height: 1000px; /* Increased from 600px */
            border: 1px solid #ccc;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

            .resume-viewer iframe {
                width: 100%;
                height: 100%;
                border: none;
            }

        .contact-content {
            font-size: 1rem;
            line-height: 1.8;
            margin-top: 1.5rem;
        }

            .contact-content a {
                color: #338ac1;
                text-decoration: none;
                font-weight: bold;
                transition: color 0.2s ease;
            }

                .contact-content a:hover {
                    text-decoration: underline;
                }

        .contact-socials {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-top: 2rem;
        }

        .education-section {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            margin-top: 3rem;
            align-items: flex-start;
        }

        .education-text {
            flex: 1;
            min-width: 250px;
        }

            .education-text h3 {
                color: #338ac1;
                margin-bottom: 0.5rem;
                font-size: 1.5rem;
            }

            .education-text p {
                margin: 0.4rem 0;
                line-height: 1.6;
            }

            .education-text ul {
                padding-left: 1.2rem;
                margin: 0.5rem 0 1rem;
            }

            .education-text li {
                font-size: 0.95rem;
                line-height: 1.5;
            }

        .education-logo img {
            width: 100px;
            height: auto;
        }

        .video-thumbnail {
            width: 360px;
            height: auto;
            cursor: pointer;
            border-radius: 4px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
            transition: transform 0.2s;
        }

            .video-thumbnail:hover {
                transform: scale(1.03);
            }

        .video-modal {
            display: none;
            position: fixed;
            z-index: 5000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            align-items: center;
            justify-content: center;
        }

            .video-modal.active {
                display: flex;
            }

        .video-content {
            position: relative;
        }

            .video-content iframe {
                max-width: 90vw;
                max-height: 80vh;
            }

        .close-button {
            position: absolute;
            top: -10px;
            right: -10px;
            background: #fff;
            color: #000;
            font-size: 1.5rem;
            font-weight: bold;
            padding: 0.25rem 0.6rem;
            border-radius: 50%;
            cursor: pointer;
        }

        .reticle-toggle {
            position: fixed;
            bottom: 1rem;
            right: 3.5rem; /* space to the left of the bulb */
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 3000;
        }

        .reticle-icon {
            font-size: 14px;
            transition: transform 0.2s ease;
        }

        .reticle-toggle:hover .reticle-icon {
            transform: scale(1.2);
        }

        .reticle {
            position: fixed;
            z-index: 9999;
            pointer-events: none;
            top: 0;
            left: 0;
            transform: translate(-50%, -50%);
            --base-offset: 10px; /* NEW: define default distance from center */
        }

            .reticle.returning .reticle-line {
                transition: transform 0.4s ease;
            }

        .reticle-dot {
            width: 5px; /* smaller */
            height: 5px;
            background: white;
            border: 1px solid black; /* outline */
            border-radius: 50%;
            position: absolute;
            top: 0;
            left: 0;
            transform: translate(-50%, -50%);
        }

        .reticle-line {
            position: absolute;
            background: white;
            border: 1px solid black; /* outline */
            width: 4px;
            height: 6px; /* half the length */
            top: 50%;
            left: 50%;
            transform-origin: center;
            transition: transform 0.07s ease-out, opacity 0.2s ease;
        }

            /* Default spacing using --base-offset */
            .reticle-line.top {
                transform: translate(-50%, calc(-50% - var(--offset, var(--base-offset))));
            }

            .reticle-line.bottom {
                transform: translate(-50%, calc(-50% + var(--offset, var(--base-offset))));
            }

            .reticle-line.left {
                transform: translate(calc(-50% - var(--offset, var(--base-offset))), -50%) rotate(90deg);
            }

            .reticle-line.right {
                transform: translate(calc(-50% + var(--offset, var(--base-offset))), -50%) rotate(90deg);
            }

        /* Expanded spacing using --offset */
        .reticle.expand .top {
            transform: translate(-50%, calc(-50% - var(--offset, 32px)));
        }

        .reticle.expand .bottom {
            transform: translate(-50%, calc(-50% + var(--offset, 32px)));
        }

        .reticle.expand .left {
            transform: translate(calc(-50% - var(--offset, 32px)), -50%) rotate(90deg);
        }

        .reticle.expand .right {
            transform: translate(calc(-50% + var(--offset, 32px)), -50%) rotate(90deg);
        }

        .shot-mark {
            width: 100px;
            height: 100px;
            background: black;
            position: absolute;
            transform: translate(-50%, -50%);
            pointer-events: none;
            z-index: 5000;
            opacity: 1;
            transition: opacity 9s linear;
        }

        body.reticle-on {
            cursor: none;
        }

        body.reticle-on button,
        body.reticle-on a,
        body.reticle-on input,
        body.reticle-on textarea,
        body.reticle-on select {
            cursor: none;
        }

            body.reticle-on * {
                cursor: none !important;
                user-select: none;
            }

        body:not(.reticle-on) {
            cursor: auto;
        }

            body:not(.reticle-on) * {
                user-select: text;
                cursor: auto;
            }


        .reticle .interact-x {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 2;
            pointer-events: none;
        }

        .interact-x-line {
            position: absolute;
            width: 2px;
            height: 6px;
            background-color: red;
            opacity: 1;
            top: 50%;
            left: 50%;
            transform-origin: center;
        }

            .interact-x-line.tl {
                transform: translate(-50%, -50%) rotate(45deg) translateY(-8px);
            }

            .interact-x-line.tr {
                transform: translate(-50%, -50%) rotate(135deg) translateY(-8px);
            }

            .interact-x-line.br {
                transform: translate(-50%, -50%) rotate(225deg) translateY(-8px);
            }

            .interact-x-line.bl {
                transform: translate(-50%, -50%) rotate(315deg) translateY(-8px);
            }

        .reticle-toggle::after {
            content: attr(title);
            position: absolute;
            bottom: 100%;
            background: rgba(0, 0, 0, 0.8);
            color: #fff;
            font-size: 0.7rem;
            padding: 2px 6px;
            border-radius: 4px;
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
            white-space: nowrap;
        }

        .reticle-toggle:hover::after {
            opacity: 1;
        }

        .project-details {
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            transform: translateY(-0.5rem);
            transition: max-height 0.6s ease, opacity 0.4s ease, transform 0.4s ease;
            padding: 0 2rem;
            margin-top: -1rem;
            background-color: rgba(0, 0, 0, 0.02);
            border-left: 3px solid #338ac1;
            border-radius: 0 4px 4px 0;
            pointer-events: none;
        }

            .project-details .project-preview {
                width: 100%;
                max-width: 600px;
                margin: 1rem auto 0;
                display: block;
                border-radius: 6px;
                box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            }

        .projects-row.active + .project-details,
        .projects-row.hover-open + .project-details {
            max-height: none; /* allowed to expand fully */
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
            padding-top: 0.5rem;
        }


        .project-details ul {
            padding: 1rem 1.5rem;
            margin: 0;
        }

        .project-details li {
            font-size: 0.95rem;
            margin-bottom: 0.3rem;
            color: #333;
        }

        .project-details-flex {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            align-items: flex-start;
        }

        .project-preview-column {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            max-width: 300px;
            flex-shrink: 0;
        }

        .project-preview-wrapper {
            text-align: left;
        }

        .project-preview {
            width: 100%;
            max-width: 100%;
            border-radius: 4px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            display: block;
        }

        .project-subtitle {
            font-size: 0.85rem;
            color: #666;
            text-align: left;
            margin-top: 0.3rem;
        }

        .project-details-list {
            flex: 1;
            margin: 0;
            padding-left: 1rem;
        }

            .project-details-list li {
                font-size: 0.95rem;
                margin-bottom: 0.5rem;
                color: #333;
            }

        /* Bottom preview section */
        .project-bottom-wrapper {
            margin-top: 2rem;
            text-align: center;
            width: 100%;
        }
            .project-bottom-wrapper .project-subtitle {
                text-align: center;
                margin-top: 0.3rem;
                font-size: 0.85rem;
                color: #666;
            }

        .project-bottom-preview {
            max-width: 100%;
            border-radius: 4px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            display: block;
            margin: 0 auto;
        }

        .project-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #333;
}
    .project-inline-media {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
        gap: 1.5rem;
        width: 100%;
        margin: 1rem 0;
    }

    .project-inline-video {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .project-inline-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .project-inline-image-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

.project-subtitle.right {
    display: block;
    text-align: left;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.3rem;
    padding-left: 0.25rem;
}

.project-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.project-inline-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

        .video-thumbnail-wrapper {
            position: relative;
            display: inline-block;
        }

        .play-button-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 3rem;
            color: white;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
            z-index: 2;
        }

        .video-thumbnail-wrapper:hover .play-button-overlay {
            opacity: 1;
        }

        @media (max-width: 768px) {
            .project-details-flex {
                flex-direction: column;
            }

            .project-preview-column,
            .project-details-list {
                max-width: 100%;
            }
        }

        .project-bottom-wrapper {
            margin-top: 2rem;
            width: 100%;
        }

        .project-bottom-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .project-preview-wrapper {
            text-align: center;
        }

        .project-preview {
            width: 100%;
            border-radius: 4px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .project-subtitle {
            font-size: 0.85rem;
            color: #666;
            margin-top: 0.3rem;
        }

        #Gallery {
            background: #eee;
            padding: 80px 3rem;
        }

        .gallery-section {
            padding: 4rem 2rem;
            background-color: #efefef;
        }

            .gallery-section h2 {
                color: #338ac1;
            }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
            justify-items: center;
            align-items: start;
        }

        .gallery-item {
            width: 100%;
            max-width: 500px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .gallery-thumb-wrapper {
            background-color: #3a3f47; /* dark blue-grey */
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            aspect-ratio: 3 / 2;
            overflow: hidden;
            border-radius: 6px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

            .gallery-thumb-wrapper img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: 50% 50%;
                transition: transform 0.4s ease;
            }

            .gallery-thumb-wrapper:hover img {
                transform: scale(1.5); /* zoom level */
                z-index: 2;
            }

        .gallery-subtitle {
            font-size: 0.9rem;
            color: #555;
            margin-top: 0.5rem;
            text-align: center;
        }

        .caption {
            margin-top: 0.5rem;
            font-size: 0.85rem;
            color: #555;
            text-align: center;
        }

        .lightbox {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.95);
            background: rgba(0, 0, 0, 0.85);
            padding: 1rem;
            border-radius: 8px;
            z-index: 9999;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }
            .lightbox.show {
                opacity: 1;
                pointer-events: auto;
                transform: translate(-50%, -50%) scale(1);
            }

            .lightbox img {
                max-width: 90vw;
                max-height: 90vh;
                display: block;
                margin: 0 auto;
                border-radius: 4px;
                box-shadow: 0 6px 20px rgba(0,0,0,0.5);
            }

        .close-lightbox {
            position: absolute;
            top: 1.5rem;
            right: 2rem;
            color: #fff;
            font-size: 2.5rem;
            cursor: pointer;
            font-weight: bold;
            z-index: 10000;
        }

        .hover-lightbox {
            position: relative;
            display: inline-block;
        }

        .lightbox-preview {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            z-index: 9999;
            transform: translate(-50%, -50%);
            max-width: 90vw;
            max-height: 90vh;
            box-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
            background: #111;
            padding: 8px;
            border-radius: 6px;
        }

            .lightbox-preview img {
                max-width: 100%;
                max-height: 100%;
                object-fit: contain;
            }

        /* Show the lightbox only on hover */
        .hover-lightbox:hover .lightbox-preview {
            display: block;
        }


        .lightbox-controls {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-top: 1rem;
        }

            .lightbox-controls button {
                background: #fff;
                border: none;
                font-size: 1.5rem;
                cursor: pointer;
                border-radius: 4px;
                padding: 0.5rem 1rem;
            }

        .blurred-hover img {
            filter: blur(10px);
            transition: filter 0.4s ease;
        }

        .blurred-hover:hover img {
            filter: blur(0);
        }

        .confidential-section button {
            background-color: #338ac1;
            color: white;
            font-weight: bold;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 6px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

            .confidential-section button:hover {
                background-color: #2a6b97;
            }


        .project-button-wrapper {
            text-align: left;
            margin-top: 0.75rem;
        }

        .dropdown-toggle {
            background: none;
            color: #338ac1;
            font-size: 0.85rem;
            font-weight: 500;
            padding: 0.25rem 0.5rem;
            border: 1px solid transparent;
            border-bottom: 1px solid #338ac1;
            border-radius: 0;
            cursor: pointer;
            transition: color 0.2s ease, border-color 0.2s ease;
            text-decoration: none;
            font-family: inherit;
        }

            .dropdown-toggle:hover {
                color: #28709c;
                border-color: #28709c;
            }

            .dropdown-toggle:active {
                color: #1c5c80;
                border-color: #1c5c80;
                transform: scale(0.98);
            }

.store-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 6px;
}

.steam-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    text-decoration: none;
    color: #1b2838;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.steam-link:hover {
    animation: jiggle 0.4s ease-in-out;
}

.steam-icon {
    width: 20px;
    height: 20px;
}


.itchio-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    text-decoration: none;
    color: #fa5c5c;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.itchio-link:hover {
    animation: jiggle 0.4s ease-in-out;
}

.itchio-icon {
    width: 20px;
    height: 20px;
}

.nintendo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    text-decoration: none;
    color: #e60012;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.nintendo-link:hover {
    animation: jiggle 0.4s ease-in-out;
}

.nintendo-icon {
    width: 20px;
    height: 20px;
}

.xbox-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    text-decoration: none;
    color: #107C10;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.xbox-link:hover {
    animation: jiggle 0.4s ease-in-out;
}

.xbox-icon {
    width: 20px;
    height: 20px;
}

.playstation-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    text-decoration: none;
    color: #003791;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.playstation-link:hover {
    animation: jiggle 0.4s ease-in-out;
}

.playstation-icon {
    width: 20px;
    height: 20px;
}


.project-details {
    position: relative;
}

.confidential-section {
    position: relative;
}

.confidential-button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: #338ac1;
    color: #fff;
    border: none;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.confidential-button:hover {
    background-color: #2a6f9a;
}

