/* ======================================================== */
/* 1. ATMOSPHERE & TERMINAL CANVAS                          */
/* ======================================================== */
body {
    background-color: #000000; /* Pure terminal black void */
    color: #00ff66; /* Vibrant glowing green phosphor text */
    font-family: 'Courier New', Courier, monospace; /* Pure typewriter feel */
    margin: 0;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the whole website layout on the screen */
    min-height: 100vh;
    
    /* Subtle glass monitor tube glow effect */
    text-shadow: 0 0 2px rgba(0, 255, 102, 0.3); 
}

/* ======================================================== */
/* 2. THE TERMINAL NAVIGATION MENU                          */
/* ======================================================== */
.terminal-nav {
    width: 100%;
    max-width: 650px;
    border: 3px double #00ff66; /* Classic 80s double data frame */
    padding: 15px;
    margin-bottom: 40px;
}

.terminal-nav ul {
    list-style: none; /* Removes modern bullet points */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* High-visibility terminal link overrides */
.terminal-nav a, main a {
    color: #33ff77; /* High-visibility bright neon green */
    text-decoration: none; 
    font-weight: bold;
    display: block;
    text-shadow: 0 0 5px rgba(51, 255, 119, 0.6); 
    transition: all 0.2s ease;
}

/* Hovering splits or highlights selections */
.terminal-nav a:hover, main a:hover {
    background-color: #33ff77; /* Bright green background block */
    color: #000000; /* Inverts text to crisp black */
    text-shadow: none; 
}

/* Highlights the active page link in stark white */
.terminal-nav a.active {
    color: #ffffff;
}

/* ======================================================== */
/* 3. THE CONTAINER (Your Layout Width)                     */
/* ======================================================== */
.terminal-frame, .content-container {
    width: 100%;
    max-width: 650px; /* Restricts width so long lines are comfortable to read */
    display: flex;
    flex-direction: column;
    gap: 40px; 
}

/* ======================================================== */
/* 4. THE TERMINAL GLITCH HEADER                            */
/* ======================================================== */
header {
    text-align: center;
    margin-bottom: 30px;
}

.system-title, .glitch-title {
    font-size: 2.2em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00ff66;
    /* Red-blue misprint shadow for that analog screen depth */
    text-shadow: -2px 0 #ff0055, 2px 0 #00ffaa; 
}

.system-status, .subtitle {
    color: #ffffff; /* Stark white status text accent */
    margin-top: 10px;
    font-size: 0.9em;
    letter-spacing: 1px;
}

/* ======================================================== */
/* 5. THE BLINKING TERMINAL CURSOR                          */
/* ======================================================== */
.blinking-cursor {
    margin-left: 5px;
    color: #00ff66;
    animation: blink-animation 1s steps(2, start) infinite;
    text-shadow: 0 0 5px rgba(0, 255, 102, 0.8);
}

/* Snaps the block cursor cleanly on and off */
@keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

/* ======================================================== */
/* 6. CRISP PIXEL GRAPHICS DISPLAY                          */
/* ======================================================== */
.pixel-art, .pixel-art-gif, .haunted-image {
    display: block;
    width: 100%;        
    max-width: 100%;    
    height: auto;       
    border: 2px solid #00ff66; /* Clean framing */
    
    /* Turns off browser smoothing so databends look razor sharp */
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    
    /* Blends photography into a high-contrast monochromatic printout */
    filter: grayscale(100%) contrast(120%); 
}

/* ======================================================== */
/* 7. THE FLOW ARCHIVE LOG BOXES                            */
/* ======================================================== */
.flow-archive {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.log-entry, .writing-log {
    background-color: transparent;
    border: 3px double #00ff66; /* Perforated data block frame */
    padding: 25px;
    line-height: 1.6;
}

.log-entry h2, .writing-log h2 {
    font-size: 1.1em;
    margin-top: 0;
    margin-bottom: 15px;
    color: #ffffff; /* High contrast headers */
    border-bottom: 1px dashed #00ff66;
    padding-bottom: 8px;
    letter-spacing: 1px;
}

.new-entry-tag {
    color: #ff0055 !important; /* Striking warning red for your latest drop */
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 0 3px rgba(255, 0, 85, 0.5);
}

.terminal-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.9em;
}

/* ======================================================== */
/* 8. SYSTEM FOOTER                                         */
/* ======================================================== */
footer {
    margin-top: auto;
    padding-top: 60px;
    font-size: 0.8em;
    color: rgba(0, 255, 102, 0.5);
    border-top: 2px dashed #00ff66;
    width: 100%;
    text-align: center;
}

css/* ======================================================== */
/* 11. TERMINAL ARCHIVE LISTS                               */
/* ======================================================== */
.archive-month-block {
    border: 1px dashed #00ff66;
    padding: 20px;
    margin-bottom: 20px;
}

.archive-month-block h2 {
    font-size: 1.1em;
    color: #ffffff;
    margin: 0;
}

.archive-list {
    list-style: none; /* Removes standard round bullets */
    padding: 0;
    margin: 15px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.archive-list li {
    font-size: 0.95em;
    line-height: 1.4;
}

.date-tag {
    color: #ffb000; /* Uses your sharp amber-yellow bulletin color for the dates */
    font-weight: bold;
    margin-right: 10px;
}
/* ======================================================== */
/* 11. BBS SYSTEM LOG VAULT ARCHIVE                         */
/* ======================================================== */
.bbs-year-vault {
    margin-bottom: 40px;
}

.bbs-year-tag {
    font-size: 1.3em;
    color: #ffffff;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.bbs-month-section {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.bbs-month-title {
    font-size: 1.1em;
    color: #ffb000; /* High visibility amber for month banners */
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.bbs-day-log {
    border: 3px double #00ff66; /* Secure data borders */
    padding: 25px;
    background-color: transparent;
}

.bbs-log-header {
    display: flex;
    justify-content: space-between; /* Pushes date to left, log ID to right */
    border-bottom: 1px dashed #00ff66;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.index-tag {
    color: rgba(0, 255, 102, 0.6);
    font-size: 0.9em;
}

.bbs-archived-piece h3 {
    font-size: 1em;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.bbs-archived-piece p {
    line-height: 1.6;
    margin: 0;
}

.bbs-internal-divider {
    color: rgba(0, 255, 102, 0.3);
    margin: 20px 0;
    text-align: center;
    letter-spacing: 3px;
}

.bbs-log-footer {
    margin-top: 15px;
    text-align: right;
}
css/* ======================================================== */
/* 12. BBS QUICK JUMP MENU                                  */
/* ======================================================== */
.bbs-jump-menu {
    border: 3px double #ffb000; /* Distinct amber border for system menus */
    padding: 20px;
    margin-bottom: 20px;
}

.bbs-jump-menu h2 {
    font-size: 1.1em;
    color: #ffb000; /* High visibility menu amber */
    margin: 0;
}

.jump-links {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.jump-links li a {
    color: #00ff66 !important;
    text-shadow: 0 0 3px rgba(0, 255, 102, 0.4);
}

.jump-links li a:hover {
    background-color: #00ff66 !important;
    color: #000000 !important;
    text-shadow: none;
}
/* --- THE DREAM GATEWAY PROMPT --- */
.transmission-link-container {
    margin: 2.5rem 0;
    text-align: center;
}

.dream-gateway-btn {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    
    /* Matches your terminal's amber/gold aesthetic initially */
    color: #ffb000; 
    border: 1px dashed #ffb000;
    padding: 10px 16px;
    display: inline-block;
    
    /* Subtle low-power CRT screen flicker effect */
    animation: signalHaze 4s infinite ease-in-out;
    transition: all 0.4s ease;
}

/* Glitches seamlessly into your new dream fragments lavender palette on focus */
.dream-gateway-btn:hover {
    background-color: rgba(195, 177, 225, 0.08);
    color: #c3b1e1; 
    border: 1px solid #c3b1e1;
    text-shadow: 0 0 10px rgba(195, 177, 225, 0.6);
    box-shadow: 0 0 15px rgba(195, 177, 225, 0.1);
    transform: translateY(-1px);
}

@keyframes signalHaze {
    0%, 100% { opacity: 0.75; }
    50% { opacity: 1; }
}

/* CSS Styling */
.terminal-email {
  font-family: monospace; /* Matches your current typography */
  font-size: 1.1rem;
  margin: 20px 0;
}

.email-link {
  color: #ffffff; /* Or your preferred theme text color */
  text-decoration: none;
  border-bottom: 1px dashed #ffffff;
}

.email-link:hover {
  background-color: #ffffff; /* Inverts color on hover for a retro feel */
  color: #000000;
}

/* Optional blinking cursor effect */
.cursor {
  animation: blink 1s infinite;
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* --- Retro Amber Pixel & CRT Poetry Styling --- */

.poem-container {
  font-family: 'Press Start 2P', monospace; /* Applies the 80s pixel font */
  font-size: 14px;
  line-height: 1.8;
  color: #ffb000;              /* Authentic 1980s Amber Phosphor color */
  background-color: #0d0d0d;   /* Terminal black background */
  padding: 30px;
  border: 4px double #ffb000;  /* Retro 8-bit framing border in amber */
  position: relative;
  overflow: hidden;
  letter-spacing: 1px;
  white-space: pre-wrap;       /* Respects line breaks and spaces you type */
  
  /* CRITICAL: Turns off modern smoothing so fonts stay jaggedly pixelated */
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: none;
  font-smooth: never;
  
  /* Gives the amber text an authentic cathode-ray glow */
  text-shadow: 0 0 4px rgba(255, 176, 0, 0.5), 0 0 10px rgba(255, 176, 0, 0.3);
}

/* --- CRT Scanline Overlay Filter --- */
.poem-container::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.18) 50%), 
              linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
  background-size: 100% 4px, 6px 100%; /* Micro CRT horizontal scanlines */
  z-index: 2;
  pointer-events: none; /* Allows visitors to highlight/copy text through the filter */
}

/* --- THE BLINKING CURSOR CODE --- */
.poem-container::after {
  content: " █"; /* Drops the terminal block cursor at the very end of your text */
  animation: blinkCursor 1s step-end infinite;
}

@keyframes blinkCursor {
  from, to { color: transparent; text-shadow: none; }
  50% { color: #ffb000; text-shadow: 0 0 4px rgba(255, 176, 0, 0.5); }
}

/* --- Retro Green Consciousness Stream --- */
.consciousness-log {
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;                /* Downscaled slightly for comfortable reading of long blocks */
  line-height: 2.0;               /* Wider line spacing to prevent heavy walls of text */
  color: #33ff33;                 /* Classic high-visibility terminal green */
  background-color: #080f08;      /* Deep tinted black */
  padding: 25px;
  border: 2px solid #33ff33;      /* Clean terminal border line */
  white-space: pre-wrap;
  margin-bottom: 40px;            /* Clear separation between day entries */
  
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: none;
  font-smooth: never;
  text-shadow: 0 0 3px rgba(51, 255, 51, 0.4);
}

/* Subtle scanline texture overlay just for the prose boxes */
.consciousness-log::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.12) 50%);
  background-size: 100% 4px;
  z-index: 2;
  pointer-events: none;
}



/* --- Retro Green Database Archive Vault --- */

.archive-record {
  font-family: 'Press Start 2P', monospace; /* Loads your 80s pixel font */
  font-size: 11px;                           /* Downscaled for structured database grids */
  line-height: 1.8;
  color: #33ff33;                            /* Classic high-contrast phosphor green */
  background-color: #080f08;                 /* Deep slate terminal black background */
  padding: 25px;
  border: 2px solid #33ff33;                 /* Clean green command-line framing box */
  white-space: pre-wrap;                     /* Respects formatting line breaks automatically */
  margin: 20px 0;                            /* Spacing between different month logs */
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
  
  /* Turns off modern font smoothing so pixel text shapes remain crisp */
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: none;
  font-smooth: never;
  
  /* Green cathode-ray text glow effect */
  text-shadow: 0 0 4px rgba(51, 255, 51, 0.4);
}

/* Micro-scanline screen texture mesh overlay for the archive vault */
.archive-record::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%);
  background-size: 100% 4px;
  z-index: 2;
  pointer-events: none;
}

/* --- CRT AMBIENCE & BURN-IN --- */
body {
  position: relative;
  background-color: #0d0d0d; /* Deep dark background */
  overflow-x: hidden;
  
  /* Phosphor text shadow creates a "burned-in" ghosting effect */
  text-shadow: 
    0 0 2px rgba(255, 180, 0, 0.4), 
    0 0 8px rgba(255, 130, 0, 0.2);
  
  /* Apply a subtle screen flicker */
  animation: crt-flicker 0.15s infinite;
}

/* The Scanline Overlay */
body::before {
  content: " ";
  display: block;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  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));
  z-index: 99999;
  background-size: 100% 4px, 3px 100%;
  pointer-events: none; /* Allows users to still click links underneath */
}

/* CRT Screen Flicker Animation */
@keyframes crt-flicker {
  0% { opacity: 0.995; }
  50% { opacity: 1; }
  100% { opacity: 0.992; }
}


.main-title {
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  
  /* The Teleidon Block */
  background-color: #ffb400; /* Solid amber bar */
  color: #0d0d0d;           /* Black knockout text */
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 20px;
  
  /* Slight pixel jaggedness using low shadow */
  box-shadow: 4px 4px 0px #000;
}


.poetry-title {
  font-family: 'Courier New', Courier, monospace;
  color: #a0a0a0; /* Clinical, slightly faded gray */
  font-size: 1.4em;
  font-weight: normal;
  text-transform: uppercase;
  
  display: flex;
  align-items: center;
}

/* Automatically attaches a data index prefix to your headers */
.poetry-title::before {
  content: "[RECORD_" attr(data-id) "] // ";
  font-size: 0.75em;
  color: #555; /* Even deeper, buried gray color */
  margin-right: 8px;
  letter-spacing: 0px;
}


.log-title {
  font-family: 'Courier New', Courier, monospace;
  color: #ffffff;
  font-size: 1.1em;
  font-weight: bold;
  letter-spacing: 1px;
  
  /* Creates a rigid typewriter separator beneath the title */
  border-bottom: 1px solid #333;
  padding-bottom: 6px;
  margin-bottom: 15px;
  display: block;
  width: 100%;
}



