* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00ff00;
    --secondary-color: #00ffff;
    --accent-color: #ff00ff;
    --dark-bg: #000000;
    --light-bg: #1a1a1a;
    --text-primary: #00ff00;
    --text-secondary: #00ffff;
    --transition-speed: 0.6s;
    --pixel-size: 4px;
}

body {
    font-family: 'Courier New', monospace;
    background: #0a0a0a;
    color: #ffffff !important;
    overflow: hidden;
    height: 100vh;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><rect width="2" height="2" x="0" y="0" fill="%2300ff00"/><rect width="2" height="2" x="2" y="2" fill="%2300ff00"/><rect width="2" height="2" x="4" y="4" fill="%2300ff00"/><rect width="2" height="2" x="6" y="6" fill="%2300ff00"/><rect width="2" height="2" x="8" y="8" fill="%2300ff00"/></svg>'), auto;
}

/* Force all text to be white by default */
* {
    color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    color: #00ff00 !important;
    text-shadow: 2px 2px 0px #006600;
}

p, span, div {
    color: #ffffff !important;
}

.portfolio-container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Navigation Arrows */
.nav-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: #000000;
    border: 4px solid #00ff00;
    color: #00ff00;
    width: 60px;
    height: 60px;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 6px 6px 0px #006600;
}

.nav-arrow:hover {
    animation: pulse 0.3s ease infinite;
}

.nav-arrow svg {
    width: 30px;
    height: 30px;
}

.nav-arrow-left {
    left: 30px;
}

.nav-arrow-right {
    right: 30px;
}

.nav-arrow:hover {
    background: #001a00;
    border-color: #00ff00;
    transform: translateY(-50%) translate(2px, 2px);
    box-shadow: 4px 4px 0px #006600;
}

.nav-arrow:active {
    transform: translateY(-50%) translate(6px, 6px);
    box-shadow: 0px 0px 0px #006600;
}

.nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Slides */
.slides-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 40px;
    overflow-y: auto;
    overflow-x: hidden;
    transition: opacity 0.5s ease;
}

.slide.active {
    display: flex !important;
    opacity: 1;
    z-index: 10;
}

.slide-content {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 20;
    padding: 20px;
    margin: auto 0;
}

.slide p {
    color: #ffffff;
}

.slide h2, .slide h3 {
    color: #00ffff;
    text-shadow: 2px 2px 0px #006666;
}

/* Slide 1: Home */
.slide[data-slide="0"] {
    background: 
        repeating-linear-gradient(0deg, #330066 0px, #330066 2px, #1a0033 2px, #1a0033 4px),
        repeating-linear-gradient(90deg, #330066 0px, #330066 2px, #1a0033 2px, #1a0033 4px),
        linear-gradient(180deg, #1a0052 0%, #4d0099 100%);
    position: relative;
}

.slide[data-slide="0"] h1 {
    font-size: clamp(2rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
    color: #00ff00;
    text-shadow: 
        4px 4px 0px #006600,
        8px 8px 0px rgba(0, 255, 0, 0.3);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    letter-spacing: 3px;
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: #00ffff;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 0px #006666;
    font-family: 'Courier New', monospace;
}

.intro-text {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #ffffff;
    margin-bottom: 2.5rem;
    max-width: 600px;
    text-shadow: 2px 2px 0px #000000;
}

.cta-button {
    padding: 18px 45px;
    font-size: 1.1rem;
    background: #00ff00;
    color: #000000;
    border: 4px solid #00ff00;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.1s ease;
    font-weight: bold;
    box-shadow: 6px 6px 0px #006600;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
}

.cta-button:hover {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0px #006600;
}

.cta-button:active {
    transform: translate(6px, 6px);
    box-shadow: 0px 0px 0px #006600;
}

/* Home Page Layout */
.home-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1400px;
    width: 100%;
}

.home-text {
    flex: 1;
    min-width: 0;
}

.home-image {
    flex: 0 0 350px;
    max-width: 350px;
}

.pixel-frame {
    position: relative;
    border: 6px solid #00ff00;
    box-shadow: 
        0 0 0 3px #000,
        0 0 0 6px #00ffff,
        10px 10px 0px #006600;
    background: #000;
    padding: 6px;
    image-rendering: pixelated;
}

.pixel-frame::before,
.pixel-frame::after {
    content: '';
    position: absolute;
    background: #00ff00;
    width: 12px;
    height: 12px;
}

.pixel-frame::before {
    top: -6px;
    left: -6px;
}

.pixel-frame::after {
    bottom: -6px;
    right: -6px;
}

.pixel-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    filter: contrast(1.1) saturate(1.2);
    image-rendering: auto;
}

/* Background Animation */
.background-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.animated-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 255, 0, 0.1);
    animation: float 20s infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 70%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    left: 10%;
    animation-delay: 5s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    left: 20%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-50px) rotate(180deg);
    }
}

/* Slide 2: About */
.slide[data-slide="1"] {
    background: 
        repeating-linear-gradient(0deg, #006633 0px, #006633 2px, #003300 2px, #003300 4px),
        repeating-linear-gradient(90deg, #006633 0px, #006633 2px, #003300 2px, #003300 4px),
        linear-gradient(180deg, #004d26 0%, #00994d 100%);
}

.slide-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    text-align: center;
    color: #00ff00;
    text-shadow: 4px 4px 0px #006600;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    letter-spacing: 2px;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-top: -2rem;
    margin-bottom: 2rem;
    color: #00ffff !important;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 2rem;
}

.about-card {
    background: #000000;
    padding: 2.5rem;
    border-radius: 0;
    text-align: center;
    transition: all 0.1s ease;
    border: 4px solid #00ff00;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 8px 8px 0px #006600;
}

.about-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.about-card:nth-child(2) {
    transition-delay: 0.2s;
}

.about-card:nth-child(3) {
    transition-delay: 0.4s;
}

.about-card:hover {
    transform: translate(4px, 4px);
    background: #001a00;
    box-shadow: 4px 4px 0px #006600;
}

.about-card:active {
    transform: translate(8px, 8px);
    box-shadow: 0px 0px 0px #006600;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00ffff;
    text-shadow: 2px 2px 0px #006666;
}

.about-card p {
    color: #ffffff;
    line-height: 1.6;
}

/* Slide 3: Projects */
.slide[data-slide="2"] {
    background: 
        repeating-linear-gradient(0deg, #0066cc 0px, #0066cc 2px, #003366 2px, #003366 4px),
        repeating-linear-gradient(90deg, #0066cc 0px, #0066cc 2px, #003366 2px, #003366 4px),
        linear-gradient(180deg, #004d99 0%, #0099ff 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
}

.project-card {
    background: #000000;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.1s ease;
    border: 4px solid #00ffff;
    opacity: 1;
    transform: scale(1);
    box-shadow: 8px 8px 0px #006666;
}

.project-card.animate {
    opacity: 1;
    transform: scale(1);
}

.project-card:nth-child(2) {
    transition-delay: 0.2s;
}

.project-card:nth-child(3) {
    transition-delay: 0.4s;
}

.project-card:hover {
    transform: translate(4px, 4px) scale(1);
    box-shadow: 4px 4px 0px #006666;
}

.project-image {
    height: 200px;
    background: 
        repeating-linear-gradient(0deg, #001a1a 0px, #001a1a 8px, #003333 8px, #003333 16px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-overlay {
    font-size: 2rem;
    font-weight: bold;
    color: #00ffff;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 0px #006666;
}

.project-card:hover .project-overlay {
    transform: scale(1.1);
    color: #00ff00;
}

.project-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.4rem;
    color: #00ffff;
    text-shadow: 2px 2px 0px #006666;
}

.project-card p {
    padding: 0 1.5rem 1rem;
    color: #ffffff;
    line-height: 1.6;
}

.tech-tags {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tags span {
    background: #000000;
    padding: 0.4rem 0.9rem;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: bold;
    border: 2px solid #00ffff;
    color: #00ffff;
}

/* Slide 4: In de Media */
.slide[data-slide="3"] {
    background: 
        repeating-linear-gradient(0deg, #990099 0px, #990099 2px, #330033 2px, #330033 4px),
        repeating-linear-gradient(90deg, #990099 0px, #990099 2px, #330033 2px, #330033 4px),
        linear-gradient(180deg, #660066 0%, #cc00cc 100%);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.media-card {
    background: #000000;
    padding: 2rem;
    border: 4px solid #ff00ff;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.5);
}

.media-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.media-card:hover {
    transform: translateY(-10px);
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.5);
    border-color: #ff66ff;
}

.media-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.media-card h3 {
    color: #ff00ff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 0px #660066;
}

.media-date {
    color: #ff66ff;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.media-card p {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.media-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #ff00ff;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    border: 3px solid #ff00ff;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 0px #660066;
}

.media-link:hover {
    background: #000000;
    color: #ff00ff;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #660066;
}

/* Slide 5: Skills */
.slide[data-slide="4"] {
    background: 
        repeating-linear-gradient(0deg, #cc6600 0px, #cc6600 2px, #663300 2px, #663300 4px),
        repeating-linear-gradient(90deg, #cc6600 0px, #cc6600 2px, #663300 2px, #663300 4px),
        linear-gradient(180deg, #994d00 0%, #ff8800 100%);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.skill-category {
    background: rgba(0, 0, 0, 0.7);
    padding: 1.5rem;
    border: 4px solid #ff8800;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.5);
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.skill-category.animate {
    opacity: 1;
    transform: translateY(0);
}

.skill-category:nth-child(2) { transition-delay: 0.1s; }
.skill-category:nth-child(3) { transition-delay: 0.2s; }
.skill-category:nth-child(4) { transition-delay: 0.3s; }
.skill-category:nth-child(5) { transition-delay: 0.4s; }
.skill-category:nth-child(6) { transition-delay: 0.5s; }

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.5);
    border-color: #ffaa00;
}

.category-title {
    color: #ff8800;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0px #000;
    border-bottom: 3px solid #ff8800;
    padding-bottom: 0.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.skill-tag {
    background: #000000;
    color: #ffaa00;
    padding: 0.6rem 1rem;
    border: 3px solid #ff8800;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.2s ease;
    cursor: default;
    text-shadow: 1px 1px 0px #663300;
}

.skill-tag:hover {
    background: #ff8800;
    color: #000000;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0px #663300;
}

/* Slide 6: Contact */
.slide[data-slide="5"] {
    background: 
        repeating-linear-gradient(0deg, #006666 0px, #006666 2px, #003333 2px, #003333 4px),
        repeating-linear-gradient(90deg, #006666 0px, #006666 2px, #003333 2px, #003333 4px),
        linear-gradient(180deg, #004d4d 0%, #00cccc 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.6s ease;
}

.contact-info.animate {
    opacity: 1;
    transform: translateX(0);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #00ffff;
    text-shadow: 3px 3px 0px #006666;
}

.contact-info p {
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #ffffff;
}

.contact-icon {
    font-size: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: #000000;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ffff;
    transition: all 0.1s ease;
    border: 3px solid #00ffff;
    box-shadow: 4px 4px 0px #006666;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link:hover {
    background: #001a1a;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #006666;
}

.contact-form {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.6s ease 0.2s;
}

.contact-form.animate {
    opacity: 1;
    transform: translateX(0);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: #000000;
    border: 3px solid #00ffff;
    border-radius: 0;
    color: #00ffff;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #006666;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ffff;
    background: #001a1a;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.submit-button {
    width: 100%;
    padding: 1.2rem;
    background: #00ffff;
    color: #000000;
    border: 4px solid #00ffff;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.1s ease;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    box-shadow: 6px 6px 0px #006666;
}

.submit-button:hover {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0px #006666;
}

.submit-button:active {
    transform: translate(6px, 6px);
    box-shadow: 0px 0px 0px #006600;
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-status {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    border: 3px solid;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-align: center;
}

.form-status.success {
    background: #001a00;
    border-color: #00ff00;
    color: #00ff00;
}

.form-status.error {
    background: #1a0000;
    border-color: #ff0000;
    color: #ff0000;
}

/* Progress Dots */
.progress-dots {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 1000;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 0;
    background: #000000;
    border: 3px solid #00ff00;
    cursor: pointer;
    transition: all 0.1s ease;
    padding: 0;
}

.dot:hover {
    background: #006600;
    transform: scale(1.2);
}

.dot.active {
    background: #00ff00;
    width: 35px;
    border-radius: 0;
    box-shadow: 0 0 10px #00ff00;
}

/* Keyboard Hint */
.keyboard-hint {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #000000;
    padding: 10px 20px;
    border-radius: 0;
    font-size: 0.9rem;
    color: #00ff00;
    z-index: 1000;
    font-family: 'Courier New', monospace;
    border: 3px solid #00ff00;
    box-shadow: 4px 4px 0px #006600;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Fade-in animations for home slide */
.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-delay-1 {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.fade-in-delay-3 {
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 8-bit Character */
.game-character {
    position: fixed;
    bottom: 30px;
    left: 10%;
    z-index: 15;
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.8);
}

.character-sprite {
    width: 70px;
    height: 90px;
    display: flex;
    flex-direction: column;
    gap: 0;
    filter: drop-shadow(4px 4px 0px rgba(0, 0, 0, 0.8));
}

.pixel-row {
    display: flex;
    gap: 0;
    height: 10px;
}

.pixel-row span {
    width: 10px;
    height: 10px;
    background: transparent;
    display: block;
}

.pixel-row span.p {
    background: #00ff00;
}

.pixel-row span.s {
    background: #ffff00;
}

.pixel-row span.h {
    background: #000000;
}

.pixel-row span.b {
    background: #ff69b4;
}

.pixel-row span.a {
    background: #0099ff;
}

.loading-bar {
    width: 100%;
    height: 8px;
    background: #000000;
    border: 2px solid #00ff00;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background: 
        repeating-linear-gradient(90deg, 
            #00ff00 0px, #00ff00 5px, 
            #00cc00 5px, #00cc00 10px);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* Walking animation */
.game-character.walking {
    animation: walk 0.4s steps(2) infinite;
}

@keyframes walk {
    0% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 1440px) {
    .slide {
        padding: 50px 30px;
    }
    
    .slide-content {
        max-width: 100%;
    }
    
    .home-content {
        gap: 40px;
    }
    
    .home-image {
        flex: 0 0 280px;
        max-width: 280px;
    }
    
    .skills-grid {
        gap: 1.5rem;
    }
    
    .about-card,
    .project-card,
    .skill-category {
        padding: 1.8rem;
    }
}

@media (max-width: 1024px) {
    .slide {
        padding: 40px 25px;
    }
    
    .nav-arrow {
        width: 50px;
        height: 50px;
    }
    
    .nav-arrow-left {
        left: 20px;
    }
    
    .nav-arrow-right {
        right: 20px;
    }
    
    .slide[data-slide="0"] h1 {
        font-size: 3.5rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .home-image {
        flex: 0 0 250px;
        max-width: 250px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .slide {
        padding: 30px 20px;
    }
    
    .slide[data-slide="0"] h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .about-grid,
    .projects-grid,
    .skills-grid,
    .media-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .nav-arrow {
        width: 45px;
        height: 45px;
    }
    
    .nav-arrow-left {
        left: 15px;
    }
    
    .nav-arrow-right {
        right: 15px;
    }
    
    .nav-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .keyboard-hint {
        display: none;
    }
    
    /* Stack home content on mobile */
    .home-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .home-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 250px;
    }
    
    .pixel-frame {
        border-width: 4px;
        padding: 4px;
    }
    
    .game-character {
        transform: scale(0.6);
        bottom: 20px;
    }
    
    .score-counter {
        top: 10px;
        right: 10px;
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .sound-toggle {
        top: 10px;
        left: 10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .slide {
        padding: 20px 10px;
    }
    
    .slide-content {
        padding: 10px;
    }
    
    .slide[data-slide="0"] h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .intro-text {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .about-card,
    .project-card,
    .skill-category {
        padding: 1rem;
    }
    
    .card-icon {
        font-size: 2rem;
    }
    
    .skill-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.7rem;
    }
    
    .game-character {
        transform: scale(0.5);
        bottom: 10px;
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
    }
    
    .nav-arrow svg {
        width: 18px;
        height: 18px;
    }
}

/* 8-bit Interactive UI Elements */
.score-counter {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: #000;
    border: 4px solid #00ff00;
    padding: 10px 20px;
    font-size: 18px;
    box-shadow: 4px 4px 0px #006600;
    font-family: 'Courier New', monospace;
}

.score-label {
    color: #00ff00;
    margin-right: 10px;
}

.score-value {
    color: #00ffff;
    font-weight: bold;
}

.achievement-popup {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    background: #000;
    border: 4px solid #ffff00;
    padding: 20px 40px;
    text-align: center;
    box-shadow: 8px 8px 0px #ff00ff;
    transition: top 0.5s ease;
}

.achievement-popup.show {
    top: 100px;
    animation: shake 0.3s ease;
}

.achievement-icon {
    font-size: 48px;
    color: #ffff00;
    animation: spin 2s linear infinite;
}

.achievement-text {
    color: #00ff00;
    font-size: 14px;
    margin: 10px 0;
}

.achievement-name {
    color: #00ffff;
    font-size: 20px;
    font-weight: bold;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shake {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    25% { transform: translateX(-50%) translateY(-10px); }
    75% { transform: translateX(-50%) translateY(10px); }
}

.particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00ff00;
    pointer-events: none;
    animation: particleFloat 2s ease-out forwards;
}

@keyframes particleFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(0);
    }
}

.sound-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: #000;
    border: 4px solid #00ff00;
    color: #00ff00;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 4px 4px 0px #006600;
    transition: all 0.1s ease;
}

.sound-toggle:hover {
    background: #00ff00;
    color: #000;
}

.sound-toggle.muted .sound-icon:before {
    content: '♪';
    text-decoration: line-through;
}

/* Language Toggle */
.lang-toggle {
    position: fixed;
    top: 20px;
    left: 80px;
    z-index: 1001;
    background: #000;
    border: 4px solid #00ffff;
    color: #00ffff;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    box-shadow: 4px 4px 0px #006666;
    transition: all 0.1s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-toggle .flag-icon {
    width: 24px;
    height: 16px;
    display: flex;
    flex-direction: column;
    border: 1px solid #666;
    position: relative;
    overflow: hidden;
}

/* Dutch Flag (Red, White, Blue horizontal stripes) */
.flag-icon.flag-nl::before,
.flag-icon.flag-nl::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 33.33%;
}

.flag-icon.flag-nl {
    background: white;
}

.flag-icon.flag-nl::before {
    top: 0;
    background: #AE1C28;
}

.flag-icon.flag-nl::after {
    bottom: 0;
    background: #21468B;
}

/* US Flag (simplified - red/white stripes with blue canton) */
.flag-icon.flag-us {
    background: linear-gradient(to bottom,
        #B22234 0%, #B22234 7.69%,
        white 7.69%, white 15.38%,
        #B22234 15.38%, #B22234 23.07%,
        white 23.07%, white 30.76%,
        #B22234 30.76%, #B22234 38.45%,
        white 38.45%, white 46.14%,
        #B22234 46.14%, #B22234 53.83%,
        white 53.83%, white 61.52%,
        #B22234 61.52%, #B22234 69.21%,
        white 69.21%, white 76.9%,
        #B22234 76.9%, #B22234 84.59%,
        white 84.59%, white 92.28%,
        #B22234 92.28%, #B22234 100%
    );
}

.flag-icon.flag-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 53.85%;
    background: #3C3B6E;
}

.lang-toggle .lang-text {
    font-size: 14px;
    letter-spacing: 1px;
}

.lang-toggle:hover {
    background: #00ffff;
    color: #000;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #006666;
}

.lang-toggle:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px #006666;
}

@keyframes pulse {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.1); }
}

@keyframes buttonPress {
    0% { box-shadow: 6px 6px 0px #006600; }
    50% { box-shadow: 2px 2px 0px #006600; transform: translate(2px, 2px); }
    100% { box-shadow: 6px 6px 0px #006600; }
}

/* Pixel Character Decorations */
.pixel-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 5;
}

.pixel-char {
    position: absolute;
    font-size: 48px;
    opacity: 0.3;
    animation: floatAround 15s infinite ease-in-out;
    filter: drop-shadow(0 0 10px currentColor);
}

/* Position each character uniquely */
.char-1 { top: 10%; left: 15%; animation-delay: 0s; }
.char-2 { top: 70%; right: 20%; animation-delay: 2s; }
.char-3 { bottom: 15%; left: 25%; animation-delay: 4s; }
.char-4 { top: 20%; right: 15%; animation-delay: 1s; }
.char-5 { bottom: 25%; right: 30%; animation-delay: 3s; }
.char-6 { top: 60%; left: 10%; animation-delay: 5s; }
.char-7 { top: 15%; left: 20%; animation-delay: 0.5s; }
.char-8 { top: 65%; right: 25%; animation-delay: 2.5s; }
.char-9 { bottom: 20%; left: 30%; animation-delay: 4.5s; }
.char-10 { top: 25%; right: 10%; animation-delay: 1.5s; }
.char-11 { bottom: 30%; right: 35%; animation-delay: 3.5s; }
.char-12 { top: 55%; left: 15%; animation-delay: 5.5s; }
.char-13 { top: 18%; left: 25%; animation-delay: 0.8s; }
.char-14 { top: 68%; right: 18%; animation-delay: 2.8s; }
.char-15 { bottom: 22%; left: 35%; animation-delay: 4.8s; }
.char-16 { top: 22%; right: 12%; animation-delay: 1.2s; }
.char-17 { bottom: 28%; right: 28%; animation-delay: 3.2s; }
.char-18 { top: 58%; left: 12%; animation-delay: 5.2s; }

@keyframes floatAround {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -20px) rotate(5deg);
    }
    50% {
        transform: translate(-15px, -30px) rotate(-5deg);
    }
    75% {
        transform: translate(-25px, 15px) rotate(3deg);
    }
}

/* Responsive adjustments for pixel decorations */
@media (max-width: 768px) {
    .pixel-char {
        font-size: 32px;
        opacity: 0.2;
    }
}

@media (max-width: 480px) {
    .pixel-char {
        font-size: 24px;
        opacity: 0.15;
    }
}
