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

body {
    overflow-y: auto;
    background: #000000;
    color: #FAFF0A;
    /* Retro Industrieel Geel */
    font-family: Consolas, monospace;
    min-height: 100vh;
    -webkit-user-select: none;
    user-select: none;
}

code, pre, input {
    user-select: text !important;
}

/* 3D Wireframe Canvas */
#cube-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}

/* De centrale console */
#rabbit-core-workbench {
    max-width: 850px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(0, 0, 0, 0.94);
    border: 1px solid #FF0F6F;
    /* Neon Vaporwave Roze */
    box-shadow: 0 0 25px rgba(255, 15, 111, 0.15);
}

header {
    text-align: center;
    border-bottom: 1px solid #FF0F6F;
    padding-bottom: 20px;
    margin-bottom: 35px;
}

/* HELP_COMMENT: De titel heeft nu een actieve, trillende chromatische glitch-animatie gekregen! */
.rabbit-glitch-title {
    font-size: 24px;
    color: #FF0F6F;
    letter-spacing: 2px;
    text-shadow: 2px 2px #00FFCC, -2px -2px #FAFF0A;
    position: relative;
    animation: rabbitGlitch 1.5s infinite steps(2);
}

.subtitle {
    color: #FFFFFF;
    font-size: 13px;
    margin-top: 5px;
}

.rabbit-block {
    margin-bottom: 35px;
    display: flex;
    /* HELP_COMMENT: Toegevoegd voor perfecte uitlijning van de blok-inhoud */
    flex-direction: column;
    align-items: center;
    /* HELP_COMMENT: Forceert alle h2's en elementen naar het centrum */
}

.rabbit-block h2 {
    font-size: 14px;
    color: #00FFCC;
    margin-bottom: 15px;
    text-align: center;
}

/* 🎛️ PUZZEL INTERFACE: ARCADE BUTTONS STYLING */
#arcade-puzzle-box {
    background: rgba(5, 5, 5, 0.95);
    border: 2px solid #FAFF0A;
    padding: 25px;
    margin-bottom: 35px;
    text-align: center;
    box-shadow: inset 0 0 15px rgba(250, 255, 10, 0.1);
}

#arcade-puzzle-box h3 {
    font-size: 14px;
    color: #FAFF0A;
    margin-bottom: 5px;
}

.puzzle-instruction {
    font-size: 14px;
    color: #888;
    margin-bottom: 25px;
    line-height: 1.5;
}

#arcade-buttons-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
}

/* De ronde bolle arcade-knoppen simuleren */
.arcade-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 4px solid #000;
    cursor: pointer;
    position: relative;
    transition: all 0.1s ease;
    box-shadow: 0 6px 0 #000, 0 10px 15px rgba(0,0,0,0.5);
}

.arcade-btn:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #000, 0 4px 5px rgba(0,0,0,0.5);
}

/* De felle arcade neon-kleuren */
.btn-red {
    background: #FF1A0A;
}

.btn-red:hover {
    background: #ff4d40;
    box-shadow: 0 6px 0 #000, 0 0 15px #FF1A0A;
}

.btn-yellow {
    background: #FAFF0A;
}

.btn-yellow:hover {
    background: #ffff4d;
    box-shadow: 0 6px 0 #000, 0 0 15px #FAFF0A;
}

.btn-blue {
    background: #00FFCC;
}

.btn-blue:hover {
    background: #4dffdb;
    box-shadow: 0 6px 0 #000, 0 0 15px #00FFCC;
}

.btn-green {
    background: #4CFF00;
}

.btn-green:hover {
    background: #73ff33;
    box-shadow: 0 6px 0 #000, 0 0 15px #4CFF00;
}

#arcade-status {
    font-size: 12px;
    font-weight: bold;
    color: #00FFCC;
    text-shadow: 0 0 5px rgba(0,255,204,0.3);
}

/* AFBEELDING EN MEDIA BESCHERMING */
.media-container {
    position: relative;
    max-width: 450px;
    width: 100%;
    margin: 0 auto !important;
    /* HELP_COMMENT: 'margin: 0 auto' gecombineerd met display: block forceert absolute centrering */
    display: block !important;
    border: 1px solid #333;
}

.media-container img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

.media-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    z-index: 10;
}

.circuit-glow {
    box-shadow: 0 0 15px rgba(250, 255, 10, 0.15);
}

/* TERMINAL TEKST BOX */
.text-terminal-style {
    background: rgba(5, 5, 5, 0.9);
    border-left: 3px solid #FF0F6F;
    padding: 20px;
    line-height: 1.6;
    font-size: 14px;
    color: #ccc;
}

/* MENUKNOPPEN LAY-OUT */
#rabbit-navigation-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
}

.rabbit-nav-btn {
    height: 45px;
    background: transparent;
    border: 1px solid #00FFCC;
    color: #00FFCC;
    font-family: Consolas, monospace;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    padding-left: 20px;
}

.rabbit-nav-btn:hover {
    background: rgba(0, 255, 204, 0.08);
    color: #fff;
    border-color: #fff;
    box-shadow: 0 0 12px rgba(0, 255, 204, 0.3);
    transform: translateX(5px);
}

/* TERMINATE WORKBENCH BUTTON */
footer {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 20px;
}

.back-hub-btn {
    height: 40px;
    padding: 0 25px;
    background: #FF1A0A;
    border: none;
    color: #fff;
    font-family: Consolas, monospace;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(255, 26, 10, 0.3);
}

.back-hub-btn:hover {
    background: #FF0F6F;
    box-shadow: 0 0 15px #FF0F6F;
}

/* HELP_COMMENT: De unieke QWERTY-glitch keyframes die de letters laten rillen en verspringen */
@keyframes rabbitGlitch {
    0% {
        transform: skew(2deg);
        text-shadow: 2px 2px #00FFCC, -2px -2px #FAFF0A;
    }

    20% {
        transform: skew(-1deg);
        text-shadow: -2px 2px #FF0F6F, 2px -2px #FAFF0A;
    }

    40% {
        transform: skew(0deg);
        filter: hue-rotate(90deg);
    }

    60% {
        transform: skew(3deg);
        text-shadow: 3px -2px #00FFCC, -3px 2px #FF0F6F;
    }

    80% {
        transform: skew(-2deg);
        filter: none;
    }

    100% {
        transform: skew(1deg);
    }

}

@media (max-width: 768px) {
    #arcade-buttons-row {
        gap: 12px;
    }

    .arcade-btn {
        width: 45px;
        height: 45px;
    }

}

/* Rabbit MakerSpace: image alignment and neon button states */
#rabbit-core-workbench img {
    max-width:100%;
    height:auto;
}

#rabbit-core-workbench img:first-of-type {
    display:block;
    max-width:min(460px,90%);
    margin:22px auto;
}

.rabbit-nav-btn {
    transition:background .2s,color .2s,box-shadow .2s,transform .2s;
}

.rabbit-nav-btn:nth-child(1):hover,.rabbit-nav-btn:nth-child(1):focus-visible {
    background:#00ffdf!important;
    color:#050505!important;
    box-shadow:0 0 18px #00ffdf!important;
}

.rabbit-nav-btn:nth-child(2):hover,.rabbit-nav-btn:nth-child(2):focus-visible {
    background:#caff24!important;
    color:#050505!important;
    box-shadow:0 0 18px #caff24!important;
}

.rabbit-nav-btn:nth-child(3):hover,.rabbit-nav-btn:nth-child(3):focus-visible {
    background:#ff326d!important;
    color:#050505!important;
    box-shadow:0 0 18px #ff326d!important;
}

.rabbit-nav-btn:focus-visible,.arcade-btn:focus-visible {
    outline:3px solid #faff0a;
    outline-offset:4px;
}

