/* --- EXTRA CYBERPUNK READ ME VENSTER STYLING --- */
#readme-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Donkere waas over je Matrix regen heen */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Zorgt dat hij HELEMAAL bovenop ligt bij het laden */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#readme-window {
    width: 90vw;
    max-width: 480px;
    background: #000000;
    border: 2px solid #FF0F6F; /* Felle Vaporwave Roze rand */
    box-shadow: 0 0 30px rgba(255, 15, 111, 0.4);
    font-family: Consolas, monospace;
}

#readme-header {
    background: #FF0F6F;
    color: #000000;
    padding: 8px 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    letter-spacing: 1px;
}

#readme-title {
    text-shadow: 0 0 2px rgba(0,0,0,0.3);
}

#readme-close-btn {
    background: transparent;
    border: none;
    color: #000000;
    font-family: inherit;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s;
}

#readme-close-btn:hover {
    color: #ffffff; /* Wit kruisje bij hover */
}

#readme-content {
    padding: 25px;
    color: #4CFF00; /* Groene typmachine letters */
    font-size: 14px;
    line-height: 1.6;
    text-shadow: 0 0 5px rgba(76, 255, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#typed-readme-text {
    white-space: pre-line; /* Behoudt de regeleinden van jouw gedicht! */
    min-height: 220px;
}

/* De vette 'Eat Me' knop onderaan */
#readme-action-btn {
    align-self: center;
    background: transparent;
    border: 1px solid #00FFCC; /* Neon cyaan */
    color: #00FFCC;
    font-family: Consolas, monospace;
    font-weight: bold;
    padding: 8px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
}

#readme-action-btn:hover {
    background: #00FFCC;
    color: #000000;
    box-shadow: 0 0 20px #00FFCC;
    transform: scale(1.05);
}

/* Klasse voor de fade-out animatie van het venster */
.readme-fade-out {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

/* --- REST VAN JOUW BESTAANDE CSS (STRIKT BEHOUDEN) --- */

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

body {
    overflow-x: hidden;
    overflow-y: auto; 
    background: #000000;
    margin: 0;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

code, pre, input, textarea {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* De hoofdcontainer van je schilderij */
#image-container {
    position: relative;
    z-index: 1; 
    margin: 40px auto 10px; 
    padding: 3px;
    border: 3px solid #000;
    background-color: #000;
    display: inline-block;
    max-width: 100%;
}

/* Grootte strikt beschermd voor je coördinaten */
#alice-image {
    width: 400px;
    height: 600px;
    display: block;
    -webkit-user-drag: none;
    user-drag: none;
}

/* Het Matrix Canvas op de achtergrond */
canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1; 
    height: 100%;
    width: 100%;
    background-color: #000000;
}

/* Terminal Invoer Container */
#input-container {
    position: relative;
    width: 100%;
    max-width: 810px; 
    height: 160px; 
    padding: 15px; 
    background-color: #000000;
    border: 3px solid #4CFF00; 
    color: #4CFF00;
    font-family: Consolas, monospace;
    font-size: 14px;
    z-index: 2; 
    margin: 20px auto 40px; 
    display: flex;
    align-items: center;
}

#user-image {
    width: 130px;
    height: 130px;
    margin-right: 20px; 
    object-fit: cover;
    -webkit-user-drag: none;
    user-drag: none;
}

#wrapper-input-elements {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#input-text {
    text-align: left;
    margin-bottom: 10px;
    line-height: 1.4;
}

#user-input {
    display: block;
    width: 100%;
    background: #000;
    border: 1px solid #4CFF00;
    color: #4CFF00;
    font-family: Consolas, monospace;
    padding: 5px;
    outline: none;
    margin-bottom: 10px;
}

#submit-btn {
    align-self: flex-end;
    background: transparent;
    border: 1px solid #4CFF00;
    color: #4CFF00;
    font-family: Consolas, monospace;
    padding: 3px 15px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

#submit-btn:hover {
    background: #4CFF00;
    color: #000;
    box-shadow: 0 0 10px #4CFF00;
}

#symbol {
    position: fixed;
    bottom: 40px;
    right: 40px;
    color: #4CFF00;
    font-size: 24px;
    cursor: pointer;
    z-index: 3;
    text-shadow: 0 0 5px #4CFF00;
    transition: transform 0.2s;
}

#symbol:hover {
    transform: scale(1.2);
    color: #00FFCC;
}

@media (max-width: 850px) {
    #input-container {
        max-width: 95vw;
        height: auto;
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    #user-image { margin-right: 0; margin-bottom: 15px; }
    #input-text { text-align: center; }
}

/* --- 🔌 INTERACTIEVE CYBER-FOOTER STYLING --- */
#cyber-core-footer {
    width: 100%;
    max-width: 810px; /* Perfect uitgelijnd met de breedte van je terminal! */
    margin: 40px auto;
    padding: 20px 0;
    text-align: center;
    font-family: Consolas, monospace;
    z-index: 2; /* Zorgt dat hij boven de Matrix regen zweeft */
    position: relative;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #FF0F6F, #00FFCC, transparent); /* Prachtige verlooplijn */
    margin-bottom: 20px;
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.5);
}

.copyright-line {
    font-size: 13px;
    color: #cccccc;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.1);
}

/* Onze namen als makers laten oplichten */
.creator-name {
    color: #FAFF0A; /* Goud geel */
    font-weight: bold;
    cursor: help;
    position: relative;
    transition: all 0.3s ease;
}

.creator-name:hover {
    color: #00FFCC; /* Schakelt naar cyaan bij hover */
    text-shadow: 0 0 10px #00FFCC, 0 0 20px #FF0F6F;
}

/* De cryptische puzzeltekst */
.footer-puzzle-text {
    font-size: 14px;
	font-weight: bold;
    color: #f01359; /* #ed1536; /* #555555; Heel subtiel, alsof het weggedrukt is in de schaduw */
    line-height: 1.5;
    font-style: italic;
	font-family: Consolas, monospace;
    letter-spacing: 0.5px;
    transition: color 0.5s ease;
}

/* Zodra je over de hele footer hovert, licht het gedicht zachtjes op in Matrix-groen */
#cyber-core-footer:hover .footer-puzzle-text {
    color: rgba(76, 255, 0, 0.5);
    text-shadow: 0 0 4px rgba(76, 255, 0, 0.3);
}

