/* --- Base Fixes: Ensure Full Black Background and No Scrollbars --- */
html, body {
    height: 100%; 
    margin: 0;
    padding: 0;
    background-color: black; 
}
body {
    /* Set the default text color to phosphor green */
    color: #00ff00; 
    font-family: 'VT323', monospace; 
    font-size: 1.2rem;
    
    overflow: hidden; 
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- The Full CRT Screen Effect --- */
.crt-screen {
    /* Sizing to fill most of the viewport */
    width: 95vw; 
    height: 95vh; 
    
    /* Content Centering */
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    
    /* Padding and Box Model */
    padding: 20px; 
    box-sizing: border-box;
    position: relative;
    overflow-y: auto; 
    overflow-x: hidden; 

    /* Authentic Screen Background: Lightened Dark Blue-Gray */
    background-color: #26292e; 
    border: none; 
    
    /* AUTHENTIC CURVED CORNERS (Restored) */
    border-radius: 4% / 10%; 
    
    /* Screen Depth and Vignette */
    box-shadow: 
        /* Dark Bezel Edge */
        0 0 0 10px rgba(10, 10, 10, 0.9),
        /* Screen Depth (Inner Shadow) */
        inset 0 0 15px rgba(0, 0, 0, 0.9), 
        inset 0 0 60px rgba(0, 0, 0, 0.8); 
    
    /* Barrel Distortion and Brightness Filter */
    filter: brightness(1.3) contrast(1.1); 
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg); 
    transform-origin: center;
    
    /* Subtle noise/texture (faint dots) */
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg width="2" height="2" viewBox="0 0 2 2" xmlns="http://www.w3.org/2000/svg"><circle cx="1" cy="1" r="0.5" fill="rgba(255,255,255,0.02)"/></svg>'),
                      linear-gradient(transparent, transparent);
    background-size: 2px 2px, 100% 100%;
    background-blend-mode: overlay;
}

/* --- Scanlines and Phosphor Glow Effect --- */
.crt-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background: 
        /* 1. Scanlines (Prominent) */
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.5), 
            rgba(0, 0, 0, 0.5) 2px, 
            transparent 2px,
            transparent 4px 
        ),
        /* 2. Soft, overall green overlay for the phosphor glow */
        radial-gradient(ellipse at center, rgba(0, 255, 0, 0.08) 0%, rgba(0, 0, 0, 0) 70%); 
    
    background-blend-mode: overlay; 
    pointer-events: none;
    opacity: 1; 
    z-index: 3; 
}

/* 1. RGB Pixel Mask (Still removed) */
.crt-screen::after {
    content: none;
}

/* --- Content Styling --- */
.content-section {
    width: 70%; 
    text-align: center;
    margin: 10px 0;
    z-index: 4; 
}
/* Text Glow (Sharpened Green Phosphor Glow) */
.glow-text {
    text-shadow: 
        0 0 4px #00ff00, 
        0 0 8px rgba(0, 255, 0, 0.6); 
    color: #00ff00; 
    letter-spacing: 1.5px;
    text-align: center;
    padding-bottom: 5px; 
}
h1 { font-size: 4rem; margin-bottom: 5px; } 
h2 { font-size: 1.8rem; margin-top: 10px; color: #00ff00; } 
.content-section p {
    line-height: 1.6; 
    font-size: 1.1rem;
    margin: 0;
}
.separator {
    border: 0;
    height: 1px;
    background-color: rgba(0, 255, 0, 0.5); 
    margin: 20px 0; 
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.8);
    width: 80%;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px; 
    margin-top: 10px;
}
.social-icon {
    font-size: 2.5rem; 
    transition: transform 0.2s;
    text-decoration: none;
    line-height: 1;
}
.social-icon:hover { transform: scale(1.1); }

/* --- Splash of Color Palettes (Adjusted) --- */

/* 1. Green (Unchanged, primary text color) */
.lime-green { color: #00ff00; text-shadow: 0 0 8px #00ff00; }

/* 2. Magenta (Unchanged) */
.magenta { color: #ff00ff; text-shadow: 0 0 8px #ff00ff; }

/* 3. Cyan (Now used for the new Link icon) */
.cyan { color: #00ffff; text-shadow: 0 0 8px #00ffff; } 

/* 4. Amber (Unchanged) */
.amber { color: #ffbf00; text-shadow: 0 0 8px #ffbf00; } 

/* 5. NEW: YouTube Red (The new color class) */
.youtube-red { color: #ff0000; text-shadow: 0 0 8px #ff0000; }


.email-button {
    display: inline-block;
    padding: 15px 30px; 
    margin-top: 20px; 
    background-color: #0a0a0a;
    border: 3px solid #ffbf00; 
    color: #ffbf00; 
    text-decoration: none;
    font-size: 1.5rem; 
    box-shadow: 0 0 12px rgba(255, 191, 0, 0.8); 
    transition: background-color 0.1s, color 0.1s;
    z-index: 2;
}
.email-button:hover {
    background-color: #ffbf00;
    color: #0a0a0a;
}
/* --- Responsive Adjustments --- */
@media (max-width: 850px) {
    .crt-screen {
        width: 95vw;
        height: 95vh;
        padding: 15px;
    }
    h1 { font-size: 7vw; margin-top: 5px; }
    h2 { font-size: 3.5vw; margin-top: 15px; }
    .content-section p { font-size: 2.5vw; margin-bottom: 10px; }
    .social-icon { font-size: 5vw; gap: 10px;}
    .email-button { font-size: 3.5vw; padding: 10px 20px; margin-top: 10px;}
}