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

body {
	overflow-y: auto;
	background: #000000;
	color: #00FFCC; /* Neon Cyaan */
	font-family: Consolas, monospace;
	min-height: 100vh;
	-webkit-user-select: none; user-select: none;
}

/* Uitzondering voor code-elementen en inputs zodat deze wel kopieerbaar/typbaar blijven voor workshops */
code, pre, input { user-select: text !important; }

/* Het psychedelische verfcanvas op de achtergrond */
#paint-canvas {
	position: fixed;
	top: 0; left: 0; z-index: -1;
	width: 100%; height: 100%;
}

/* De centrale console wrapper */
#alice-core-wrapper {
	max-width: 850px;
	margin: 0 auto;
	padding: 30px 20px 40px;
	background: rgba(0, 0, 0, 0.92);
	border: 1px solid #00FFCC; 
	box-shadow: 0 0 25px rgba(0, 255, 204, 0.15);
}

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

.alice-glitch-title {
	font-size: 24px;
	color: #00FFCC;
	letter-spacing: 2px;
	text-shadow: 0 0 10px rgba(0, 255, 204, 0.4);
}

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

.alice-block { margin-bottom: 35px; }
.alice-block h2 { font-size: 15px; color: #FAFF0A; margin-bottom: 15px; }

/* 🧪 DYNAMIC RGB PALETTE INTERFACE STYLING */
#paint-puzzle-box {
	background: rgba(5, 5, 5, 0.95);
	border: 1px solid #FF0F6F; /* Neon Vaporwave Roze */
	padding: 25px;
	margin-bottom: 35px;
	text-align: center;
	box-shadow: inset 0 0 15px rgba(255, 15, 111, 0.1);
	width: 100%;
}

#paint-puzzle-box h3 { font-size: 14px; color: #FF0F6F; margin-bottom: 15px; }
.puzzle-instruction { font-size: 12px; color: #aaa; margin-bottom: 20px; line-height: 1.5; text-align: left; }

/* 🟢 STYLING VOOR HET NIEUWE NEON-CYAAN HELPER BLOKJE */
#target-color-helper-zone {
	margin-bottom: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}
.target-label, .preview-label {
	font-size: 11px;
	color: #888;
	font-weight: bold;
	letter-spacing: 1px;
}
#target-cyan-block {
	width: 120px; height: 35px;
	background: rgb(0, 255, 204); /* Exact het cyaan doelwit! */
	border: 2px solid #fff;
	box-shadow: 0 0 15px #00FFCC;
	color: #000; font-size: 10px; font-weight: bold;
	display: flex; align-items: center; justify-content: center;
}

#color-preview {
	width: 120px; height: 50px; margin: 0 auto 20px;
	border: 2px solid #fff; box-shadow: 0 0 15px rgba(255,255,255,0.2);
	background: rgb(120, 50, 200);
}

.slider-group {
	display: flex; flex-direction: column; gap: 10px;
	max-width: 400px; margin: 0 auto 20px; text-align: left;
	font-weight: bold; color: #ccc; font-size: 13px;
}

.slider-group input[type="range"] {
	appearance: none; background: #222; height: 6px; border: 1px solid #444; outline: none; width: 100%;
}

.slider-group input::-webkit-slider-thumb {
	appearance: none; width: 14px; height: 14px; border-radius: 50%;
	background: #00FFCC; cursor: ew-resize; box-shadow: 0 0 5px #00FFCC;
}

#palette-status { font-size: 12px; font-weight: bold; color: #FAFF0A; line-height: 1.4; text-align: center; }


/* 🚨 PUNT 2: CENTRERING LOGICA VOOR IMAGE EN BIJBEHORENDE TEKST 
   Door 'display: flex' en 'flex-direction: column' te gebruiken met 'align-items: center' 
   wordt alles binnen deze container kaarsrecht onder elkaar uitgelijnd. 
   Als je ze ooit naast elkaar wilt zetten, verander 'column' dan in 'row'. */
.gallery-center-flow {
	display: flex;
	flex-direction: column;   /* Stapelt de secties verticaal op */
	align-items: center;       /* Centreert de secties horizontaal */
	justify-content: center;   /* Centreert de secties verticaal */
	gap: 20px;                 /* Maakt een mooie, strakke tussenruimte van 20px */
	width: 100%;
	margin-bottom: 35px;
}

.gallery-center-flow .visual-section {
	width: 100%;
	max-width: 450px;          /* Dwingt de hele sectie in dezelfde breedte als de image */
	margin-bottom: 0;          /* Reset de margin omdat de gap de ruimte regelt */
	text-align: center;
}

/* AFBEELDING EN MEDIA BESCHERMING */
.media-container {
	position: relative; 
	max-width: 450px; 
	width: 100%; 
	margin: 0 auto;
	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;
}

/* INTERACTIEVE GEOMETRISCHE GLOED */
.painting-glow {
	box-shadow: 0 0 20px rgba(0, 255, 204, 0.2);
	transition: box-shadow 0.4s ease;
}
.painting-glow:hover {
	box-shadow: 0 0 35px #FF0F6F; /* Schakelt naar roze gloed bij hover! */
}

/* TERMINAL TEKST BOX */
.text-terminal-style {
	background: rgba(5, 5, 5, 0.9); 
	border-left: 3px solid #00FFCC;
	padding: 20px; 
	line-height: 1.6; 
	font-size: 14px; 
	color: #ffffff;
	max-width: 650px;          /* Zorgt voor optimale en rustige leesbaarheid */
	width: 100%;
	margin-bottom: 0;          /* Reset de margin omdat de gap de ruimte regelt */
}


/* 🟢 PUNT 3: MENUKNOPPEN INDELING & LICHTGEVENDE HOVER KLEUREN 
   Wil je de basiskleur van de standaard knoppen veranderen? Pas dan hieronder de kleur aan:
   Vervang '#FAFF0A' (Neongeel) door jouw nieuwe Hex-kleurcode. */
#alice-navigation-grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 35px;
}

.alice-nav-btn {
	height: 50px; 
	background: transparent; 
	border: 1px solid #FAFF0A;  /* <-- STANDAARD RANDKLEUR VAN DE KNOP */
	color: #FAFF0A;             /* <-- STANDAARD TEKSTKLEUR VAN DE KNOP */
	font-family: Consolas, monospace; 
	font-weight: bold;
	font-size: 13px; 
	cursor: pointer; 
	transition: all 0.3s ease;
}
.alice-nav-btn:hover {
	background: #FAFF0A;        /* <-- ACHTERGRONDKLEUR BIJ HOVER */
	color: #000000; 
	box-shadow: 0 0 15px #FAFF0A; /* <-- LICHTGEVENDE GLOED BIJ HOVER */
}

/* Specifieke styling voor de ROZE knoppen */
.alice-nav-btn.btn-pink {
	border-color: #FF0F6F;
	color: #FF0F6F;
}
.alice-nav-btn.btn-pink:hover {
	background: #FF0F6F;
	color: #000000;
	box-shadow: 0 0 15px #FF0F6F;
}

/* Specifieke styling voor de GROENE knop */
.alice-nav-btn.btn-green {
	border-color: #46FA05;
	color: #46FA05;
}
.alice-nav-btn.btn-green:hover {
	background: #46FA05;
	color: #000000;
	box-shadow: 0 0 15px #46FA05;
}


/* SHUTDOWN SECTOR 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; }

@media (max-width: 768px) {
	#alice-navigation-grid { grid-template-columns: 1fr; }
	#alice-core-wrapper { padding-top: 110px; padding-bottom: 60px; }
}

/* Alleen het eerste schilderij verkleinen, zonder de sectie te verplaatsen. */
.gallery-center-flow .media-container.alice-feature-art {
	max-width: 320px;
}

/* Kleurrijke titelglitch uit de nieuwe versie. */
.alice-glitch-title {
	position: relative;
	display: inline-block;
	isolation: isolate;
	overflow-wrap: anywhere;
	animation: paint-title-hue 7s linear infinite;
}
.alice-glitch-title::after {
	content: attr(data-text);
	position: absolute;
	inset: 0;
	color: #FF0F6F;
	opacity: 0;
	pointer-events: none;
	animation: paint-title-glitch 8s steps(1, end) infinite;
}
@keyframes paint-title-hue {
	0%, 100% { text-shadow: 2px 0 #FF0F6F, -2px 0 #00FFCC; }
	33% { text-shadow: 3px -1px #FAFF0A, -3px 1px #FF0F6F; }
	66% { text-shadow: -2px 2px #46FA05, 2px -2px #00FFCC; }
}
@keyframes paint-title-glitch {
	0%, 92%, 96%, 100% { opacity: 0; transform: none; }
	93% { opacity: .9; transform: translate(3px, -2px); }
	94% { opacity: .9; transform: translate(-3px, 1px); }
	95% { opacity: .6; transform: translate(2px, 2px); }
}
.slider-group input[type="range"]:focus-visible {
	outline: 2px solid #FAFF0A;
	outline-offset: 7px;
}
@media (max-width: 400px) {
	.alice-glitch-title { font-size: clamp(15px, 5vw, 24px); }
	.alice-nav-btn { min-height: 50px; height: auto; padding: 8px; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
	.alice-glitch-title, .alice-glitch-title::after { animation: none; }
}