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

.grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
            linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);

    background-size: 50px 50px;
}
.falling-lines {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.falling-lines::before,
.falling-lines::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgb(255 130 0 / 0.6), transparent);
    animation: fall 3s linear infinite;
}

.falling-lines::before {
    left: 15%;
    animation-delay: 0s;
    animation-duration: 2.5s;
}

.falling-lines::after {
    right: 15%;
    animation-delay: 1.2s;
    animation-duration: 3.5s;
}

@keyframes fall {
    from { top: -80px; }
    to   { top: 100%; }
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    background: #070a10;
}

.badge {
    z-index: 2;

    padding: 6px 14px;
    border-radius: 999px;

    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;

    color: #ff9a3c;
    border: 1px solid rgba(255, 154, 60, 0.4);
    background: rgba(255, 154, 60, 0.08);

    margin-bottom: 1rem;
}

.name {
    z-index: 2;

    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 0.9;

    color: #e6edf3;
    text-transform: uppercase;
    margin: 0;
}
.accent {
    background: linear-gradient(90deg, #ff6b6b, #ff9a3c, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.navbar {
    top: 0;
    left: 0;
    right: 0;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 10vh;
    padding: 0 clamp(13rem,15rem,15rem);
    border-bottom: 1px solid rgb(166 166 166 / 0.36);
    z-index: 1000;
    box-sizing: border-box;
    text-transform: uppercase;
    backdrop-filter:blur(10px);
}

#logo {
    display: flex;
    align-items: center;
    background-color: transparent;
}
#logo a {
    background: linear-gradient(90deg, #ff6b6b, #ff9a3c, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.3rem;
    font-weight: 600;
    text-decoration: none;
}
#links {
    display: flex;
    align-items: center;
    gap: 2rem;
    background-color: transparent;
}
#links a:not(.resume-btn) {
    text-decoration: none;
    color: #777777;
    padding: 0.5rem 0.3rem;
    display: inline-flex;
    align-items: center;
    background-color: transparent;
}
#links a:not(.resume-btn):hover {
    color: #ff9a3c;
}
.resume-btn {
    padding: 0.5rem 1.5rem;
    background-color: transparent;
    border: 1px solid #ff9a3c;
    color: #ff9a3c;
    text-decoration: none;
}
.resume-btn:hover {
    background-color: #ff9a3c;
    box-shadow: #ff9a3c 0 0 10px;
    border: 1px solid #ff9a3c;
    color: black;
}
.quote {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    text-align: center;
    color: #777777;
    font-size: 2.2rem;
}
.view-work {
    position: relative;
    padding: 1rem;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
    width: 13rem;
    text-align: center;
    background: transparent;
}

.view-work::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: linear-gradient(90deg, #ff6b6b, #ff9a3c, #ffd93d);
    clip-path: polygon(11px 0%, 100% 0%, calc(100% - 11px) 100%, 0% 100%);
    z-index: -1;
}

.view-work-wrap {
    transition: filter 0.3s ease;
    background: transparent;
}
.view-work-wrap:hover {
    filter: drop-shadow(0 0 15px #ff9a3c);
}

.contact-me {
    position: relative;
    padding: 1rem;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
    width: 13rem;
    text-align: center;
    background: transparent;
}

.contact-me::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #555555;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
    z-index: -1;
}

.contact-me::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: #0b0d13;
    clip-path: polygon(11px 0%, 100% 0%, calc(100% - 11px) 100%, 0% 100%);
    z-index: -1;
}

.contact-me:hover::before {
    background: #ff9a3c;
}

.contact-me:hover {
    color: #ff9a3c;
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #ff9a3c;
    font-size: 1.5rem;
    text-decoration: none;
    animation: bounce 1.5s ease infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}


/*ABOUT ME*/
.about-me {
    margin: 0;
    padding: 10rem 10rem;
    position: relative;
    height: 80vh;
    background: #070a10;
    scroll-margin: -40px;
}
.title {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: whitesmoke;
    font-size: 2.4rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.info {
    color: #738598;
    font-size: 1.5rem;
    line-height: 1.8;
    max-width: 40rem;
}

.project-info {
    display: flex;
    gap: 15rem;
}
.experience{
    border-left: 2px solid #ff9a3c;
    padding-left: 1rem;
    margin-top: 3rem;

}

.experience h3{
    position: relative;
    font-size: 3rem;
    color: #fdfdfd;
}
.experience p{
    position: relative;
    font-size: 1rem;
    color: #6c6c6c;
}

.games-shipped{
    border-left: 2px solid #ff6b6b;
    padding-left: 1rem;
    margin-top: 3rem;
}

.games-shipped h3{
    position: relative;
    font-size: 3rem;
    color: #fdfdfd;
}
.games-shipped p{
    position: relative;
    font-size: 1rem;
    color: #6c6c6c;
}

.canvas-image img{
    position: absolute;
    top: 20%;
    right: 0;
    left: 57%;
    width: clamp(300px, 40vw, 650px);
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    border: 4px solid #ff9a3c;
    box-shadow: 0 0 40px rgba(255, 154, 60, 0.5);
}
/*ABOUT ME*/

/*SKILLS*/
.skills {
    min-height: 100vh;
    background: #0b0d13;
}

.title-skills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #e6edf3;
    font-size: 2.4rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: monospace;
    font-weight: 700;
    margin-bottom: 0.5rem;
    padding-top: 10rem;
}

.skills-container {
    display: grid;
    margin: 2rem 10rem;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: #0d1117;
    border-radius: 4px;
    border: 1px solid #ff9a3c44;
    transition: border-color 0.25s ease, background 0.25s ease;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: #ff9a3c;
    opacity: 0;
    transition: opacity 0.25s;
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 8px; height: 8px;
    border-bottom: 1px solid #ff9a3c66;
    border-right: 1px solid #ff9a3c66;
}

.card-corner {
    position: absolute;
    top: 0; left: 0;
    width: 8px; height: 8px;
    border-top: 1px solid #ff9a3c66;
    border-left: 1px solid #ff9a3c66;
}

.card:hover {
    border-color: #ff9a3c;
    background: #ff9a3c08;
}

.card:hover::before {
    opacity: 1;
}

.card i {
    font-size: 5rem;
    color: #738598;
    transition: color 0.25s;
}

.card:hover i {
    color: #ff9a3c;
}

.card span {
    font-size: 0.7rem;
    color: #738598;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: monospace;
    text-align: center;
    transition: color 0.25s;
}

.card:hover span {
    color: #ff9a3c;
}
/*SKILLS*/

/*PROJECTS*/
#projects-tab {
    scroll-margin-top: 130px;
    min-height: 100vh;
    background: #0b0d13;
}
#project-title {
    display: flex;
    align-items: start;
    justify-content: left;
    gap: 1rem;
    color: #e6edf3;
    font-size: 2.4rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: monospace;
    font-weight: 700;
    padding: 0 5rem;
}
.divider {
    position: absolute;
    width: 2px;
    height: 450px;
    background-color: rgb(255 154 60 / 0.25);
    margin: 5rem 35rem;
}

.project-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 500px;
    margin: 0 45rem;
}

/* CARD BASE */
.project-card {
    position: relative;
    display: flex;
    align-items: center;

    height: 110px;
    padding: 0 2rem;

    background: #0b0d12;
    border-left: 3px solid rgba(0, 255, 255, 0.15);

    overflow: hidden;
}

.project-card.active {
    border-left: 3px solid #00f0ff;
    background: linear-gradient(90deg, rgba(0,240,255,0.08), transparent);
}

.project-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.08);
    width: 80px;
}

/* TEXT BLOCK */
.project-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-subtitle {
    font-size: 0.9rem;
    color: rgb(255 144 0 / 0.7);
    letter-spacing: 2px;
}

.icon {
    font-size: 8rem;
    color: rgba(255,255,255,0.08);
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Verberg de radio inputs */
input[name="project"] { display: none; }
/* NIEUW - panel zichtbaarheid via JS, niet CSS radio */
.panel { display: none; }
.panel.active { display: block; }


/* NIEUW */
.list label.active {
    color: white;
    background: rgba(255, 154, 60, 0.06);
    border-left: 3px solid #ff9a3c;
    transform: translateX(10px);
    width: 400px;
}
.list label.active .num {
    color: #ff9a3c;
}

.list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-left: clamp(1rem, 5vw, 15rem);
    margin-top: clamp(2rem, 5vw, 10rem);
    font-size: clamp(1rem, 2vw, 1.5rem);
}

/* Label base style */
.list label {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 400px;

    padding: 0.8rem 1.2rem;
    cursor: pointer;

    color: rgba(255, 255, 255, 0.65);
    border-left: 2px solid transparent;

    transition: all 0.25s ease;
    position: relative;
}

.title-project {
    display: flex;
    padding-bottom: 30px;
}

.subtitle-project {
    position: absolute;
    padding-top: 30px;
    padding-left: 5.3rem;
    text-transform: uppercase;
    color: #777777;
}

/* Nummer styling */
.list .num {
    font-size: 4.2rem;
    color: rgba(97, 97, 97, 0.7);
    font-weight: 600;
}

/* Hover state */
.list label:hover {
    color: white;
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid rgba(255, 154, 60, 0.5);
    width: 100%;
}

/* kleine glow indicator voor active item */
#p1:checked ~ .projects .list label[for="p1"] .num,
#p2:checked ~ .projects .list label[for="p2"] .num,
#p3:checked ~ .projects .list label[for="p3"] .num {
    color: #ff9a3c;
}

.preview img {
    width: 760px;
    height: 420px;
    object-fit: cover;
}

.panel {
    border-radius: 16px;
    border: 4px solid rgb(255, 122, 0);
    width: 760px;
    height: 420px;
    margin-left: 43%;
    margin-top: -28rem;
}

.preview h2 {
    width: 100%;
    display: block;
    margin-left: 5rem;
    margin-top: -22rem;
    color: white;
    font-size: 2.5rem;
}
.Category {
    display: block;
    position: absolute;
    margin-left: 5rem;
    margin-top: -24rem;
    color: #ff9a3c;
    font-size: 1.5rem;
}

.Category-Engine {
    display: block;
    position: absolute;
    margin-left: 5rem;
    margin-top: 7rem;
    color: #ff9a3c;
    font-size: 1.5rem;
}

.Engine {
    display: block;
    position: absolute;
    margin-left: 5rem;
    margin-top: 9rem;
    color: white;
    font-size: 1.5rem;
}

.Category-devtime {
    display: block;
    position: absolute;
    margin-left: 20rem;
    margin-top: 7rem;
    color: #ff9a3c;
    font-size: 1.5rem;
}

.time {
    color: white;
    font-size: 1.5rem;
    margin-right: 2rem;
    margin-top: 9rem;
    display: block;
    text-align: center;
}

.subtitle {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #e6edf3;
    font-size: 1.4rem;
    text-transform: uppercase;
    margin-top: -1rem;
}

.description {
    max-width: 400px;
    display: block;
    position: absolute;
    margin-left: 5rem;
    margin-top: 1rem;
    color: #6c6c6c;
    font-size: 1.5rem;
}

.categories-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-left: 35rem;
    margin-top: -13rem;
    font-size: 1rem;
}

.categories {
    width: 45%;
    display: flex;
    flex-direction: row;
    padding: 1rem;
    background: rgba(13, 17, 23, 0.31);
    border-radius: 4px;
    border: 1px solid #ff9a3c;
    transition: border-color 0.25s ease, background 0.25s ease;
    color: #ff9a3c;

}

.projects-tab {
    min-height: 120vh;
}

.open-project {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    margin-top: -1rem;
    margin-left: 6rem;
    width: 40%;
    height: 5rem;
    border: none;
    text-align: center;
    background: rgba(119, 119, 119, 0.16);
    cursor: pointer;
    color: #b5b8bb;
    font-size: 2rem;
    gap: 1rem;
}
.open-project:hover {
    .playbutton {
        opacity: 1;
    }
    border: #e6edf3 solid 1px;
    background: rgba(230, 237, 243, 0.37);
    transform: scaleX(1.05);
    transition: transform 0.25s ease;
}
.playbutton {
    opacity: 0;
}

dialog::backdrop {
    background: rgba(0, 0, 0, 0.6);
}

dialog {
    position: fixed;
    top: 10px;
    left: 160px;
    margin: 0;
    width: 70%;
    height: 93%;
    overflow: hidden;
    background: #16202d;
}

body:has(dialog[open]) {
    overflow: hidden;
}

.close-button {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50px;
    background: #0b0d12;
    cursor: pointer;
    color: #b5b8bb;
    font-size: 12px;
    z-index: 3;
}

.close-button:hover {
    background: #040507;
    transform: scale(1.05);
}
.layout {
    display: grid;
    grid-template-areas:
    "top   top"
    "main  right";
    grid-template-columns: 1fr 250px;
    grid-template-rows: 120px 1fr;
    min-height: 100vh;
}

.top {
    grid-area: top;
    background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

.modal-title {
    display: flex;
    font-size: 3rem;
    margin-top: 3rem;
    margin-left: 3rem;
    color: white;
}

.modal-subtitle {
    display: flex;
    position: absolute;
    align-items: center;
    color: #ff9a3c;
    margin-top: 2rem;
    margin-left: 3.3rem;
    font-size: 1.2rem;
}

.main {
    grid-area: main;
    background: #1b2838;
    z-index: 3;
}


/* NIEUW - generiek op dialog */
dialog:has(input[id^="ss-"]:checked) label[id^="ss-"],
dialog:has(input[id^="tr-"]:checked) label[id^="tr-"] {
    background: #004159;
    outline: #007e7e solid 2px;
}

dialog:has(input[id^="ss-"]:checked) .panel-modal:first-of-type { display: block; }
dialog:has(input[id^="tr-"]:checked) .panel-modal:last-of-type  { display: block; }
#modal-Project:has(#Trailer:checked)     label[for="Trailer"] {
    background: #004159;
    outline: #007e7e solid 2px;
}
.buttons {
    display: flex;
    gap: 1rem;
    justify-content: left;
    margin-left: 2rem;
    margin-right: 25rem;
    margin-top: 2rem;
    cursor: pointer;
}
.button label{
    background: #e6edf3;
    padding: 0.5rem;
    border-radius: 5px;
    text-align: center;
    text-transform: uppercase;
    font-size: 13px;
}
.button label.active-tab {
    background: #ff9a3c;   /* of welke kleur je wil */
    color: #0a1115;
}
input[type="radio"] { display: none; }

.buttons label:hover {
    cursor: pointer;
}

.panel-modal { display: none; }

#modal-Project:has(#Screenshot:checked) #panel-screenshots-modal { display: block; }
#modal-Project:has(#Trailer:checked)    #panel-trailer-modal      { display: block; }

.tab-content img{
    display: flex;
    width: 650px;
    height: 350px;
    margin-top: 1.5rem;
    margin-left: 2rem;
}

.slider {
    position: relative;
    width: 720px;
    height: 275px;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: -10px; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.slide.active {
    opacity: 1;
}

.arrow {
    position: absolute;
    top: 70%;
    transform: translateY(-50%);
    background: #0b0d13;
    border: none;
    border-radius: 100%;
    color: #ff9a3c;
    font-size: 1.5rem;
    padding: 4px 12px;
    cursor: pointer;
    z-index: 10;
}

.prev { left: 40px; }
.next { right: 40px; }

.dots {
    position: absolute;
    bottom: -105px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 35, 255, 0.4);
    cursor: pointer;
}

.dot.active {
    background: #ff9a3c;
}

.panel-modal video{
    position: relative;
    top: 20px; left: 40px;
    width: 650px;
    margin-bottom: -60px;
    transition: opacity 0.4s ease;
}
.modal-about {
    display: flex;
    font-size: 1rem;
    margin-top: 5.5rem;
    margin-left: 2rem;
    color: #8599ad;
    text-transform: uppercase;
}

.modal-paragraph {
    color: #8599ad;
    max-width: 40rem !important;
    margin-top: 0.3rem;
    margin-left: 2rem;
}

.modal-categories-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin-top: 10px;
    margin-left: 5rem;
    font-size: 1.3rem;
    gap: 3.5rem;
}

.modal-categories {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0.1rem 1rem;
    background: rgba(13, 17, 23, 0.31);
    border-radius: 4px;
    border: 1px solid #ff9a3c;
    transition: border-color 0.25s ease, background 0.25s ease;
    color: #ff9a3c;
    width: 100px;
    text-align: center;
    margin-left: -3rem !important;
}

.right {
    grid-area: right;
    background: #0a1115;
    z-index: 3;
}
.modal-parent {
    display: flex;
    font-size: 1rem;
    justify-content: left;
    margin-top: 2rem;
    margin-left: 2rem;
    color: #8599ad;
    text-transform: uppercase;
}
.modal-child {
    display: flex;
    font-size: 1rem;
    justify-content: left;
    margin-left: 2rem;
    color: #e6edf3;
}

.divider-vertical {
    margin-left: 2rem;
    margin-right: 2rem;
    margin-top: 19rem;
    border-top: 1px solid #333;
}

.showcode {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    padding: 0.4rem 1rem;
    margin-top: 1rem;
    margin-left: 25%;
    color: #8599ad;
    background-color: #1b2838;
    border: 1px solid #8599ad33;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.showcode:hover {
    background-color: #00f0ff;
    color: #0b0d13;
    border-color: #00f0ff;
}

.showcode-text {
    font-size: 0.85rem;
    font-family: inherit;
    color: inherit;
    margin-top: 0;
}

.reserved {
    font-size: 0.875rem;
    color: #8599ad;
    text-align: center;
    grid-column: 2;
}

.socials {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    grid-column: 3;
}

.tagline {
    font-size: 1rem;
    color: #8599ad;
    margin: 0;
}

.tagline span {
    color: #ff9a3c;
}

.logo a {
    font-size: 2rem;
    font-weight: 600;
    text-decoration: none;
    color: #e6edf3;
    background: linear-gradient(90deg, #ff6b6b, #ff9a3c, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reserved {
    font-size: 0.875rem;
    color: #8599ad;
}

.social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    color: #8599ad;
    background-color: #1a1d25;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.social:hover {
    outline: 2px solid #ff9a3c;
    color: whitesmoke;
}
#contact {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 2.5rem 10rem;
    background: #0b0d13;
    border-top: 1px solid #333;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.socials {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

/*phones*/
@media (max-width: 767px) {

    body, html {
        background: #0b0d13;
    }
    .navbar {
        top: 0;
        left: 0;
        right: 0;
        position: fixed;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 12vh;
        padding: 0 1.5rem;
        border-bottom: 1px solid rgb(166 166 166 / 0.36);
        z-index: 1000;
        box-sizing: border-box;
        text-transform: uppercase;
        backdrop-filter:blur(10px);
    }

    .hero {
        position: relative;
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        overflow: hidden;
        background: #070a10;
    }

    .scroll-down {
        position: absolute;
        bottom: 9rem;
        left: 50%;
        transform: translateX(-50%);
        color: #ff9a3c;
        font-size: 1.5rem;
        text-decoration: none;
        animation: bounce 1.5s ease infinite;
        z-index: 2;
    }
    .badge {
        z-index: 2;

        padding: 6px 14px;
        border-radius: 999px;

        font-size: 0.8rem;
        letter-spacing: 0.2em;
        text-transform: uppercase;

        color: #ff9a3c;
        border: 1px solid rgba(255, 154, 60, 0.4);
        background: rgba(255, 154, 60, 0.08);

        margin-bottom: 1rem;
    }
    #links {
        display: none;
    }
    #logo {
        display: flex;
        align-items: center;
        background-color: transparent;
    }
    #logo a {
        background: linear-gradient(90deg, #ff6b6b, #ff9a3c, #ffd93d);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 4rem;
        font-weight: 600;
        text-decoration: none;
    }
    .name {
        font-size: 2rem;
        margin-bottom: 5px;
    }
    .quote {
        font-size: 1.5rem;
    }
    .view-work {
        position: relative;
        padding: 1rem;
        left: 10%;
        font-size: 1rem;
        color: white;
        text-decoration: none;
        clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
        width: 8rem;
        text-align: center;
        background: transparent;
    }

    .view-work::after {
        content: '';
        position: absolute;
        inset: 2px;
        background: linear-gradient(90deg, #ff6b6b, #ff9a3c, #ffd93d);
        clip-path: polygon(11px 0%, 100% 0%, calc(100% - 11px) 100%, 0% 100%);
        z-index: -1;
    }

    .view-work-wrap {
        transition: filter 0.3s ease;
        background: transparent;
    }
    .view-work-wrap:hover {
        filter: drop-shadow(0 0 15px #ff9a3c);
    }

    .contact-me {
        position: relative;
        padding: 1rem;
        font-size: 1rem;
        color: white;
        text-decoration: none;
        clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
        width: 8rem;
        text-align: center;
        background: transparent;
    }

    .contact-me::before {
        content: '';
        position: absolute;
        inset: 0;
        background: #555555;
        clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
        z-index: -1;
    }

    .contact-me::after {
        content: '';
        position: absolute;
        inset: 2px;
        background: #0b0d13;
        clip-path: polygon(11px 0%, 100% 0%, calc(100% - 11px) 100%, 0% 100%);
        z-index: -1;
    }

    .contact-me:hover::before {
        background: #ff9a3c;
    }

    .contact-me:hover {
        color: #ff9a3c;
    }
    .grid-overlay{
        position: absolute;
        inset: 0;
        z-index: 0;
        background-image:
                linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);

        background-size: 100px 100px;
    }

    /* ABOUT ME*/
    .about-me {
        margin: 0;
        padding: 10rem 2rem;
        position: relative;
        height: 140vh;
        background: #070a10;
    }
    .title {
        display: flex;
        align-items: center;
        gap: 1rem;
        color: whitesmoke;
        font-size: 1.5rem;
        text-transform: uppercase;
        margin-bottom: 1rem;
    }
    .info {
        color: #738598;
        font-size: 1.4rem;
        line-height: 1.8;
        max-width: 30rem;
    }
    .project-info {
        display: flex;
        gap: 5rem;
    }
    .experience{
        border-left: 2px solid #ff9a3c;
        padding-left: 1rem;
        margin-top: 1rem;

    }
    .experience h3{
        position: relative;
        font-size: 3rem;
        color: #fdfdfd;
    }
    .experience p{
        position: relative;
        font-size: 1rem;
        color: #6c6c6c;
    }

    .games-shipped{
        border-left: 2px solid #ff6b6b;
        padding-left: 1rem;
        margin-top: 1rem;
    }

    .games-shipped h3{
        position: relative;
        font-size: 3rem;
        color: #fdfdfd;
    }
    .games-shipped p{
        position: relative;
        font-size: 1rem;
        color: #6c6c6c;
    }
    .canvas-image img{
        position: absolute;
        top: 60%;
        right: 0;
        left: 0;
        bottom: 0;
        margin: auto;
        width: clamp(300px, 5vw, 650px);
        height: auto;
        border-radius: 15%;
        object-fit: cover;
        border: 4px solid #ff9a3c;
        box-shadow: 0 0 40px rgba(255, 154, 60, 0.5);
    }
    .skills {
        min-height: 150vh;
        background: #0b0d13;
    }

    .title-skills {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        color: #e6edf3;
        font-size: 2rem;
        text-transform: uppercase;
        letter-spacing: 0.15em;
        font-family: monospace;
        font-weight: 700;
        margin-bottom: 0.5rem;
        padding-top: 7rem;
    }

    .skills-container {
        display: grid;
        margin: 2rem 3rem;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .card {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 3rem 3rem;
        background: #0d1117;
        border-radius: 4px;
        border: 1px solid #ff9a3c44;
        transition: border-color 0.25s ease, background 0.25s ease;
        overflow: hidden;
    }

    .card::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 1px;
        background: #ff9a3c;
        opacity: 0;
        transition: opacity 0.25s;
    }

    .card::after {
        content: '';
        position: absolute;
        bottom: 0; right: 0;
        width: 8px; height: 8px;
        border-bottom: 1px solid #ff9a3c66;
        border-right: 1px solid #ff9a3c66;
    }

    .card-corner {
        position: absolute;
        top: 0; left: 0;
        width: 8px; height: 8px;
        border-top: 1px solid #ff9a3c66;
        border-left: 1px solid #ff9a3c66;
    }

    .card:hover {
        border-color: #ff9a3c;
        background: #ff9a3c08;
    }

    .card:hover::before {
        opacity: 1;
    }

    .card i {
        font-size: 5rem;
        color: #738598;
        transition: color 0.25s;
    }

    .card:hover i {
        color: #ff9a3c;
    }

    /*PROJECTS*/
    #projects-tab {
        scroll-margin-top: 130px;
        min-height: 100vh;
        background: #0b0d13;
    }
    #project-title {
        display: flex;
        align-items: start;
        justify-content: left;
        gap: 1rem;
        /*color: #e6edf3;*/
        font-size: 2rem;
        text-transform: uppercase;
        letter-spacing: 0.15em;
        font-family: monospace;
        font-weight: 700;
        padding: 0 2rem;
    }
    .divider {
        position: absolute;
        width: 300px;
        height: 2px;
        background-color: rgb(255 154 60 / 0.25);
        margin: 32rem 3rem;
    }

    .project-container {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        width: 500px;
        margin: 0 45rem;
    }

    /* CARD BASE */
    .project-card {
        position: relative;
        display: flex;
        align-items: center;

        height: 110px;
        padding: 0 2rem;

        background: #0b0d12;
        border-left: 3px solid rgba(0, 255, 255, 0.15);

        overflow: hidden;
    }

    .project-card.active {
        border-left: 3px solid #00f0ff;
        background: linear-gradient(90deg, rgba(0,240,255,0.08), transparent);
    }

    .project-number {
        font-size: 3.5rem;
        font-weight: 700;
        color: rgba(255,255,255,0.08);
        width: 80px;
    }

    /* TEXT BLOCK */
    .project-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .project-subtitle {
        font-size: 0.9rem;
        color: rgb(255 144 0 / 0.7);
        letter-spacing: 2px;
    }

    .icon {
        font-size: 8rem;
        color: rgba(255,255,255,0.08);
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Verberg de radio inputs */
    input[name="project"] { display: none; }
    /* NIEUW - panel zichtbaarheid via JS, niet CSS radio */
    .panel { display: none; }
    .panel.active { display: block; }


    /* NIEUW */
    .list label.active {
        color: white;
        background: rgba(255, 154, 60, 0.06);
        border-left: 3px solid #ff9a3c;
        transform: translateX(10px);
        width: 400px;
    }
    .list label.active .num {
        color: #ff9a3c;
    }

    .list {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        margin-left: clamp(1rem, 5vw, 15rem);
        margin-top: clamp(2rem, 5vw, 10rem);
        font-size: clamp(1rem, 2vw, 1.5rem);
    }

    /* Label base style */
    .list label {
        display: flex;
        align-items: center;
        gap: 1rem;
        width: 100%;
        max-width: 400px;

        padding: 0.8rem 1.2rem;
        cursor: pointer;

        color: rgba(255, 255, 255, 0.65);
        border-left: 2px solid transparent;

        transition: all 0.25s ease;
        position: relative;
    }

    .title-project {
        display: flex;
        padding-bottom: 30px;
    }

    .subtitle-project {
        position: absolute;
        padding-top: 30px;
        padding-left: 5.3rem;
        text-transform: uppercase;
        color: #777777;
    }

    /* Nummer styling */
    .list .num {
        font-size: 4.2rem;
        color: rgba(97, 97, 97, 0.7);
        font-weight: 600;
    }

    /* Hover state */
    .list label:hover {
        color: white;
        transform: translateX(8px);
        background: rgba(255, 255, 255, 0.03);
        border-left: 2px solid rgba(255, 154, 60, 0.5);
        width: 100%;
    }

    /* kleine glow indicator voor active item */
    #p1:checked ~ .projects .list label[for="p1"] .num,
    #p2:checked ~ .projects .list label[for="p2"] .num,
    #p3:checked ~ .projects .list label[for="p3"] .num {
        color: #ff9a3c;
    }

    .preview img {
        width: 760px;
        height: 420px;
        object-fit: cover;
    }

    .panel {
        border-radius: 16px;
        border: 4px solid rgb(255, 122, 0);
        width: 760px;
        height: 420px;
        margin-left: 43%;
        margin-top: -28rem;
    }

    .preview h2 {
        width: 100%;
        display: block;
        margin-left: 5rem;
        margin-top: -22rem;
        color: white;
        font-size: 2.5rem;
    }
    .Category {
        display: block;
        position: absolute;
        margin-left: 5rem;
        margin-top: -24rem;
        color: #ff9a3c;
        font-size: 1.5rem;
    }

    .Category-Engine {
        display: block;
        position: absolute;
        margin-left: 5rem;
        margin-top: 7rem;
        color: #ff9a3c;
        font-size: 1.5rem;
    }

    .Engine {
        display: block;
        position: absolute;
        margin-left: 5rem;
        margin-top: 9rem;
        color: white;
        font-size: 1.5rem;
    }

    .Category-devtime {
        display: block;
        position: absolute;
        margin-left: 20rem;
        margin-top: 7rem;
        color: #ff9a3c;
        font-size: 1.5rem;
    }

    .time {
        color: white;
        font-size: 1.5rem;
        margin-right: 2rem;
        margin-top: 9rem;
        display: block;
        text-align: center;
    }

    .subtitle {
        display: flex;
        align-items: center;
        gap: 1rem;
        color: #e6edf3;
        font-size: 1.4rem;
        text-transform: uppercase;
        margin-top: -1rem;
    }

    .description {
        max-width: 400px;
        display: block;
        position: absolute;
        margin-left: 5rem;
        margin-top: 1rem;
        color: #6c6c6c;
        font-size: 1.5rem;
    }

    .categories-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-left: 35rem;
        margin-top: -13rem;
        font-size: 1rem;
    }

    .categories {
        width: 45%;
        display: flex;
        flex-direction: row;
        padding: 1rem;
        background: rgba(13, 17, 23, 0.31);
        border-radius: 4px;
        border: 1px solid #ff9a3c;
        transition: border-color 0.25s ease, background 0.25s ease;
        color: #ff9a3c;

    }

    .projects-tab {
        min-height: 120vh;
    }

    .open-project {
        display: flex;
        position: relative;
        align-items: center;
        justify-content: center;
        margin-top: -1rem;
        margin-left: 6rem;
        width: 40%;
        height: 5rem;
        border: none;
        text-align: center;
        background: rgba(119, 119, 119, 0.16);
        cursor: pointer;
        color: #b5b8bb;
        font-size: 2rem;
        gap: 1rem;
    }
    .open-project:hover {
        .playbutton {
            opacity: 1;
        }
        border: #e6edf3 solid 1px;
        background: rgba(230, 237, 243, 0.37);
        transform: scaleX(1.05);
        transition: transform 0.25s ease;
    }
    .playbutton {
        opacity: 0;
    }

    dialog::backdrop {
        background: rgba(0, 0, 0, 0.6);
    }

    dialog {
        position: fixed;
        top: 10px;
        left: 160px;
        margin: 0;
        width: 70%;
        height: 93%;
        overflow: hidden;
        background: #16202d;
    }

    body:has(dialog[open]) {
        overflow: hidden;
    }

    .close-button {
        position: absolute;
        top: 2rem;
        right: 2rem;
        width: 2rem;
        height: 2rem;
        border: none;
        border-radius: 50px;
        background: #0b0d12;
        cursor: pointer;
        color: #b5b8bb;
        font-size: 12px;
        z-index: 3;
    }

    .close-button:hover {
        background: #040507;
        transform: scale(1.05);
    }
    .layout {
        display: grid;
        grid-template-areas:
    "top   top"
    "main  right";
        grid-template-columns: 1fr 250px;
        grid-template-rows: 120px 1fr;
        min-height: 100vh;
    }

    .top {
        grid-area: top;
        background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
        background-size: 30px 30px;
    }

    .modal-title {
        display: flex;
        font-size: 3rem;
        margin-top: 3rem;
        margin-left: 3rem;
        color: white;
    }

    .modal-subtitle {
        display: flex;
        position: absolute;
        align-items: center;
        color: #ff9a3c;
        margin-top: 2rem;
        margin-left: 3.3rem;
        font-size: 1.2rem;
    }

    .main {
        grid-area: main;
        background: #1b2838;
        z-index: 3;
    }


    /* NIEUW - generiek op dialog */
    dialog:has(input[id^="ss-"]:checked) label[id^="ss-"],
    dialog:has(input[id^="tr-"]:checked) label[id^="tr-"] {
        background: #004159;
        outline: #007e7e solid 2px;
    }

    dialog:has(input[id^="ss-"]:checked) .panel-modal:first-of-type { display: block; }
    dialog:has(input[id^="tr-"]:checked) .panel-modal:last-of-type  { display: block; }
    #modal-Project:has(#Trailer:checked)     label[for="Trailer"] {
        background: #004159;
        outline: #007e7e solid 2px;
    }
    .buttons {
        display: flex;
        gap: 1rem;
        justify-content: left;
        margin-left: 2rem;
        margin-right: 25rem;
        margin-top: 2rem;
        cursor: pointer;
    }
    .button label{
        background: #e6edf3;
        padding: 0.5rem;
        border-radius: 5px;
        text-align: center;
        text-transform: uppercase;
        font-size: 13px;
    }
    .button label.active-tab {
        background: #ff9a3c;   /* of welke kleur je wil */
        color: #0a1115;
    }
    input[type="radio"] { display: none; }

    .buttons label:hover {
        cursor: pointer;
    }

    .panel-modal { display: none; }

    #modal-Project:has(#Screenshot:checked) #panel-screenshots-modal { display: block; }
    #modal-Project:has(#Trailer:checked)    #panel-trailer-modal      { display: block; }

    .tab-content img{
        display: flex;
        width: 650px;
        height: 350px;
        margin-top: 1.5rem;
        margin-left: 2rem;
    }

    .slider {
        position: relative;
        width: 720px;
        height: 275px;
    }

    .slides {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .slide {
        position: absolute;
        top: -10px; left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .slide.active {
        opacity: 1;
    }

    .arrow {
        position: absolute;
        top: 70%;
        transform: translateY(-50%);
        background: #0b0d13;
        border: none;
        border-radius: 100%;
        color: #ff9a3c;
        font-size: 1.5rem;
        padding: 4px 12px;
        cursor: pointer;
        z-index: 10;
    }

    .prev { left: 40px; }
    .next { right: 40px; }

    .dots {
        position: absolute;
        bottom: -105px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 6px;
    }

    .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(0, 35, 255, 0.4);
        cursor: pointer;
    }

    .dot.active {
        background: #ff9a3c;
    }

    .panel-modal video{
        position: relative;
        top: 20px; left: 40px;
        width: 650px;
        margin-bottom: -60px;
        transition: opacity 0.4s ease;
    }
    .modal-about {
        display: flex;
        font-size: 1rem;
        margin-top: 5.5rem;
        margin-left: 2rem;
        color: #8599ad;
        text-transform: uppercase;
    }

    .modal-paragraph {
        color: #8599ad;
        max-width: 40rem !important;
        margin-top: 0.3rem;
        margin-left: 2rem;
    }

    .modal-categories-container {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        margin-top: 10px;
        margin-left: 5rem;
        font-size: 1.3rem;
        gap: 3.5rem;
    }

    .modal-categories {
        position: relative;
        display: flex;
        flex-direction: column;
        padding: 0.1rem 1rem;
        background: rgba(13, 17, 23, 0.31);
        border-radius: 4px;
        border: 1px solid #ff9a3c;
        transition: border-color 0.25s ease, background 0.25s ease;
        color: #ff9a3c;
        width: 100px;
        text-align: center;
        margin-left: -3rem !important;
    }

    .right {
        grid-area: right;
        background: #0a1115;
        z-index: 3;
    }
    .modal-parent {
        display: flex;
        font-size: 1rem;
        justify-content: left;
        margin-top: 2rem;
        margin-left: 2rem;
        color: #8599ad;
        text-transform: uppercase;
    }
    .modal-child {
        display: flex;
        font-size: 1rem;
        justify-content: left;
        margin-left: 2rem;
        color: #e6edf3;
    }

    .divider-vertical {
        margin-left: 2rem;
        margin-right: 2rem;
        margin-top: 19rem;
        border-top: 1px solid #333;
    }

    .showcode {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1.4rem;
        padding: 0.4rem 1rem;
        margin-top: 1rem;
        margin-left: 25%;
        color: #8599ad;
        background-color: #1b2838;
        border: 1px solid #8599ad33;
        border-radius: 6px;
        cursor: pointer;
        transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    }

    .showcode:hover {
        background-color: #00f0ff;
        color: #0b0d13;
        border-color: #00f0ff;
    }

    .showcode-text {
        font-size: 0.85rem;
        font-family: inherit;
        color: inherit;
        margin-top: 0;
    }
}