:root {
    --bg-dark: #0a0a0f;
    --text-main: #b8b8d1; /* Soft grey/purple for readable text */
    --accent-amber: #ffb000; /* CRT Amber for interactive elements */
    --accent-blue: #00d2ff;
    --terminal-font: 'Fira Code', monospace;
}

body, html {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--terminal-font);
    overflow-x: hidden;
}

/* The Magic Trick: Reversing the layout so the footer is at the bottom of the scroll */
#elevator-shaft {
    display: flex;
    flex-direction: column-reverse; 
    min-height: 100vh;
}

.terminal-section {
    min-height: 100vh; /* Each section takes up a full screen */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 10%;
    border-bottom: 1px solid rgba(184, 184, 209, 0.1);
}

/* CRT Scanline Effect */
.scanlines {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    z-index: 9999;
}

h1, h2, h3 {
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border: 2px solid var(--accent-amber);
    filter: grayscale(100%) contrast(120%);
    margin-bottom: 1rem;
}

/* Log Entries */
.log-entry {
    border-left: 2px solid var(--accent-blue);
    padding: 1rem 2rem;
    margin: 2rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 210, 255, 0.05);
}

.log-entry:hover {
    background: rgba(0, 210, 255, 0.15);
    border-left: 5px solid var(--accent-amber);
}

.log-date {
    font-size: 0.8rem;
    color: var(--accent-amber);
}

.blink {
    animation: blinker 1.5s linear infinite;
    color: var(--accent-amber);
}

@keyframes blinker {
    50% { opacity: 0; }
}

.cyber-btn {
    color: var(--bg-dark);
    background-color: var(--accent-blue);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
}
.cyber-btn:hover {
    background-color: var(--accent-amber);
}