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

body {
    overflow-y: auto;
    background: #000000;
    color: #FF0F6F; /* Felle Vaporwave Roze als basiskleur */
    font-family: Consolas, monospace;
    min-height: 100vh;
    /* Schermbeveiliging: voorkom selecteren van tekst op de hele pagina */
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Canvas vult het volledige scherm op de achtergrond */
#cheshire-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1; /* Tussenlaag fix: achter alle content */
    width: 100%;
    height: 100%;
    background-color: #000000;
}

/* Hoofdcontainer die alles netjes centreert */
#cat-terminal-wrapper {
    max-width: 850px;
    margin: 50px auto;
    padding: 30px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00FFCC; /* Neon Cyaan rand */
    box-shadow: 0 0 25px rgba(0, 255, 204, 0.15);
}

header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px dashed #00FFCC;
    padding-bottom: 20px;
}

/* 🌀 CYBERPUNK GLITCH TITLE ANIMATIE */
.cheshire-glitch-title {
    font-size: 26px;
    color: #00FFCC;
    position: relative;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.5);
    animation: textGlitch 4s infinite;
}

.subtitle {
    color: #FAFF0A;
    font-size: 13px;
    margin-top: 8px;
}

/* ALGEMENE SECTIE INDELING */
.cat-section {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cat-section h2 {
    font-size: 16px;
    color: #FAFF0A; /* Retro Geel */
    margin-bottom: 15px;
    letter-spacing: 1px;
    align-self: flex-start;
    text-shadow: 0 0 5px rgba(250, 255, 10, 0.3);
}

/* STYLING VOOR JOUW KUNSTAFBEELDING & VIDEO */
.media-container {
    position: relative;
    max-width: 500px;
    width: 100%;
    border: 2px solid #FF0F6F;
    box-shadow: 0 0 15px rgba(255, 15, 111, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
	background: #050505;
    min-height: 280px; /* Zorgt dat er altijd een vlak zichtbaar is */
}

.media-container img, .media-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Onzichtbare glasplaat over afbeelding EN video (maximale diefstalbeveiliging!) */
.protected-image::after, .protected-video::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0);
    z-index: 10;
}

/* CUSTOM VIDEO CONSOLE STYLING (Hacker proof & Touch vriendelijk) */
.video-console-controls {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
    width: 100%;
}

.console-btn, .vol-btn {
    background: transparent;
    border: 1px solid #00FF00;
    color: #00FF00;
    font-family: Consolas, monospace;
    font-weight: bold;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.2s;
    pointer-events: auto !important; /* Forceert klikbaarheid op mobiel */
}

.console-btn:hover, .vol-btn:hover {
    background: #00FF00;
    color: #000;
    box-shadow: 0 0 10px #00FF00;
}

.play-trigger { border-color: #00FF00; color: #00FF00; }
.stop-trigger { border-color: #FF1A0A; color: #FF1A0A; }
.stop-trigger:hover { background: #FF1A0A; color: #000; box-shadow: 0 0 10px #FF1A0A; }

.volume-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    justify-content: center;
}

#volume-indicator {
    color: #FAFF0A;
    font-size: 13px;
    font-family: Consolas, monospace;
    width: 110px;
    text-align: center;
}

/* GESTILEERDE COOLE CYBER TEKSTBOX (Gecentreerd voor het gedicht) */
.text-box-cyber {
    background: rgba(5, 5, 5, 0.9);
    border-left: 4px solid #FAFF0A;
    padding: 20px;
    align-items: center;
}

.text-box-cyber h2 {
    align-self: center;
}

.text-box-cyber p {
    font-size: 15px;
    color: #FFFFFF;
    line-height: 2.2; /* Grote regelafstand voor ademruimte */
    text-align: center; /* Gecentreerde tekst */
    white-space: pre-line; /* Onthoudt enters uit de HTML code */
    width: 100%;
}

/* 🧩 PUZZLE STYLING */
.puzzle-section {
    border-left: 4px solid #00FF00 !important;
    width: 100%;
}

.terminal-input-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
}

#puzzle-input {
    background: #000;
    border: 1px solid #FF0F6F;
    color: #FAFF0A;
    font-family: Consolas, monospace;
    padding: 5px 10px;
    font-size: 16px;
    width: 100px;
    text-align: center;
    outline: none;
    pointer-events: auto !important; /* Touch/Klik overschrijving */
}

#puzzle-submit-btn {
    background: transparent;
    border: 1px solid #00FFCC;
    color: #00FFCC;
    font-family: Consolas, monospace;
    padding: 5px 15px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
    pointer-events: auto !important;
}

#puzzle-submit-btn:hover {
    background: #00FFCC;
    color: #000;
    box-shadow: 0 0 10px #00FFCC;
}

#puzzle-feedback {
    margin-top: 15px;
    font-size: 13px;
    font-weight: bold;
    min-height: 20px;
    line-height: 1.5;
}

/* 🐱 SPRINGENDE EMOJI ANIMATIE ELEMENTEN */
.jumping-cat-emoji {
    position: fixed;
    font-size: 24px;
    pointer-events: none;
    z-index: 99999;
}

/* 🛡️ CHESHIRE WARNING OVERLAY */
#cheshire-warning {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: Consolas, monospace;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 3px solid #FF0F6F;
}

#cheshire-warning.active {
    opacity: 1;
    pointer-events: auto;
}

.warning-smile {
    font-size: 70px;
    color: #FF0F6F;
    text-shadow: 0 0 15px #FF0F6F, 0 0 30px #00FFCC;
    margin-bottom: 20px;
    animation: textGlitch 0.2s infinite;
}

.warning-text {
    color: #00FF00;
    font-size: 18px;
    text-align: center;
    line-height: 1.6;
    letter-spacing: 1px;
}

/* 🔗 RETRO VAPORWAVE INTERACTIEVE KNOPPEN GRID */
#cyber-navigation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.nav-cyber-btn {
    height: 50px;
    background: transparent;
    border: 1px solid #00FFCC;
    color: #00FFCC;
    font-family: Consolas, monospace;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-cyber-btn:hover {
    background: #00FFCC;
    color: #000000;
    box-shadow: 0 0 20px #00FFCC;
    transform: translateY(-3px);
}

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

.action-button {
    height: 45px;
    width: 180px;
    border: none;
    font-family: Consolas, monospace;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.leave-button {
    background-color: #FF1A0A;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 26, 10, 0.3);
}

.leave-button:hover {
    background-color: #FF0F6F;
    box-shadow: 0 0 20px #FF0F6F;
}

/* 🎞️ ANIMATIE TIMINGS VOOR DE GLITCH TITEL */
@keyframes textGlitch {
    0% { text-shadow: 2px 0 #FF0F6F, -2px 0 #00FFCC; }
    5% { text-shadow: -3px 0 #FF0F6F, 3px 0 #00FFCC; }
    10% { text-shadow: 2px 0 #FF0F6F, -2px 0 #00FFCC; }
    100% { text-shadow: 2px 0 #FF0F6F, -2px 0 #00FFCC; }
}

@media (max-width: 768px) {
    #cyber-navigation-grid { grid-template-columns: 1fr; }
}
