/* 1. Global Reset & Body Setup */
body {
    background-color: #000; /* Fallback for when rain loads */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: #e0e0e0; /* Cyber-White for general body text */
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.6;
    pointer-events: none;
}

/* 2. Headers: Use the Amber Gold to stand out */
h1, h2, h3 {
    color: #ffb000; /* Classic Amber */
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 176, 0, 0.7);
}

#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0; 
    background: #000;
    display: block;
}

/* 3. The "Content Box" (Glassmorphism)
   This adds a dark blur behind your text so the 
   green rain doesn't make the letters hard to read. */
.content-box {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 100px auto; /* Centers the box */
    padding: 40px;
    background: rgba(0, 0, 0, 0.05); /* Dark background */
    backdrop-filter: blur(3px);    /* Blurs the rain behind */
    border: 1px solid rgba(0, 255, 0, 0.3); /* Faint green border */
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
}

#article {
    background: rgba(255, 255, 255, 0.85); /* Dark background */
    backdrop-filter: blur(8px);    /* Blurs the rain behind */
    margin: 5px 5px;
    padding: 0px 15px;
    border: 1px solid rgba(0, 255, 0, 0.3); /* Faint green border */
    border-radius: 8px;
    color: #002600; /* Dark Green */
h1, h2, h3 {
    color: #1CA152; /* Lucky Green */
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}

}

/* 4. Link & Interaction Styling */
a {
    color: #00ffff; /* Electric Cyan for links */
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    pointer-events: all; /* Allows you to click attribute links underneath */
}

a:hover {
    color: #fff;
    text-shadow: 0 0 8px #00ffff;
}

/* 5. CRT Scanline Overlay
   Adds that authentic "Old Monitor" flickering line 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.15) 50%
    );
    background-size: 100% 4px;
    z-index: 10; /* Above text for the effect */
    pointer-events: none; /* Allows you to click text/links underneath */
}

