body {
    font-family: 'VT323', monospace;
    background-color: #0d0d0d;
    color: #00ff00; /* Neon green text for analog horror feel */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
    background-color: #1a1a1a;
    border: 2px solid #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.7); /* Green glow effect */
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden; /* For glitch effect */
}

header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #00ff00;
    margin-bottom: 20px;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 100px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 10px;
    filter: invert(1) drop-shadow(0 0 5px #00ff00); /* Invert to green on dark, add glow */
}

h1 {
    font-size: 2.5em;
    color: #ff0000; /* Red for danger */
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
    margin-bottom: 5px;
}

.tagline {
    font-size: 1.2em;
    color: #00cc00;
    margin-top: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #00ff00;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border: 1px solid #00ff00;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

nav ul li a:hover {
    background-color: #00ff00;
    color: #0d0d0d;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

main {
    padding: 20px 0;
}

section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #111;
    border: 1px dashed #00ff00;
    box-shadow: inset 0 0 5px rgba(0, 255, 0, 0.5);
    position: relative;
    overflow: hidden;
}

h2 {
    color: #ff0000; /* Red for section titles */
    font-size: 2em;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.7);
}

h3 {
    color: #00ffff; /* Cyan for subheadings */
    margin-top: 25px;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

p {
    margin-bottom: 15px;
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
}

ul li::before {
    content: '>>'; /* Custom bullet point */
    color: #00ff00;
    position: absolute;
    left: 0;
}

.warning {
    color: #ff0000;
    font-weight: bold;
    text-align: center;
    font-size: 1.1em;
    margin-top: 20px;
    border: 1px solid #ff0000;
    padding: 10px;
    animation: blink 1s infinite step-end;
}

@keyframes blink {
    50% { opacity: 0.5; }
}

.spiky-image {
    width: 100%;
    height: 250px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 50"><path fill="%2300ff00" d="M0,50 L10,0 L20,50 L30,0 L40,50 L50,0 L60,50 L70,0 L80,50 L90,0 L100,50 Z"/></svg>');
    background-repeat: repeat-x;
    background-size: 20% 100%; /* Adjust to make spikes more dense */
    border: 1px solid #00ff00;
    margin-top: 30px;
    animation: spiky-movement 5s linear infinite;
}

@keyframes spiky-movement {
    0% { background-position: 0 0; }
    100% { background-position: -200px 0; } /* Adjust based on background-size */
}

.news-article {
    border: 2px solid #ff0000;
    padding: 20px;
    background-color: #000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.news-article h3 {
    color: #ff0000;
    text-align: center;
    margin-top: 0;
    text-decoration: underline;
}

.news-date {
    font-style: italic;
    text-align: right;
    color: #aaa;
    margin-bottom: 20px;
}

.news-warning {
    color: #ff0000;
    font-weight: bold;
    text-align: center;
    font-size: 1.2em;
    margin-top: 30px;
    padding: 15px;
    border: 2px dashed #ff0000;
    background-color: #330000;
    animation: dramatic-blink 0.8s infinite step-end;
}

@keyframes dramatic-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

a {
    color: #00ffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00ff00;
    text-decoration: underline;
}

footer {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #00ff00;
    margin-top: 20px;
    font-size: 0.9em;
    color: #00cc00;
}

/* Glitch Effect */
.animated-section::before,
.animated-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.05;
}

.animated-section::before {
    background: repeating-linear-gradient(
        transparent 0 2px,
        rgba(0, 255, 0, 0.2) 0 3px,
        transparent 0 5px
    );
    animation: scanline 0.5s infinite steps(1);
}

.animated-section::after {
    background: repeating-linear-gradient(
        90deg,
        transparent 0 2px,
        rgba(255, 0, 0, 0.2) 0 3px,
        transparent 0 5px
    );
    animation: scanline-horizontal 0.7s infinite steps(1);
}

@keyframes scanline {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

@keyframes scanline-horizontal {
    0% { background-position: 0 0; }
    100% { background-position: 100% 0; }
}

/* Flicker effect for the whole page */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* Subtle black overlay */
    pointer-events: none;
    animation: flicker 0.2s infinite alternate; /* Fast flicker */
    z-index: 9999; /* Ensure it's on top */
}

@keyframes flicker {
    0% { opacity: 0.1; }
    10% { opacity: 0.15; }
    20% { opacity: 0.1; }
    30% { opacity: 0.2; }
    40% { opacity: 0.1; }
    50% { opacity: 0.25; }
    60% { opacity: 0.1; }
    70% { opacity: 0.3; }
    80% { opacity: 0.1; }
    90% { opacity: 0.15; }
    100% { opacity: 0.1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8em;
    }
    .tagline {
        font-size: 1em;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        margin: 5px 0;
    }
    h2 {
        font-size: 1.6em;
    }
    h3 {
        font-size: 1.1em;
    }
    .spiky-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 10px;
    }
    h1 {
        font-size: 1.5em;
    }
    .tagline {
        font-size: 0.9em;
    }
    .news-article {
        padding: 15px;
    }
}