/* General Styles */
html, body {
    background-color: transparent;
    color: #00FF00;
    font-family: Tahoma, sans-serif;
    text-align: center;
    margin: 0;
    min-height: 100%;
    overflow: visible;
}

/* Container for Cursor Trail */
.container {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
}

/* Trail Styles */
.trail-xd, .trail-x3, .trail-Dx, .trail-XO {
    font-size: 20px;
    opacity: 0.8;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000;
    transition: all 0.2s linear;
}

.trail-xd { color: #FF6666; }
.trail-x3 { color: #66FF66; }
.trail-Dx { color: #6666FF; }
.trail-XO { color: #FFFF66; }

/* Windows 98-Style Navigation Bar */
.win98-nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background-color: #000080; /* Classic Windows 98 blue */
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    box-shadow: 0 -2px #000 inset; /* Removed the white top inset shadow */
    font-family: 'MS Sans Serif', Tahoma, sans-serif;
}

.nav-bar-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-bar-icon {
    width: 16px;
    height: 16px;
}

.nav-bar-links {
    display: flex;
    gap: 10px;
}

.win98-link {
    display: inline-block;
    padding: 2px 8px;
    background-color: #C0C0C0; /* Windows 98 button gray */
    color: #000000;
    font-family: 'MS Sans Serif', Tahoma, sans-serif;
    font-size: 13px;
    text-decoration: none;
    border: 1px solid #808080;
    box-shadow: 1px 1px #FFFFFF, -1px -1px #000000;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.win98-link:hover {
    background-color: #A0A0A0;
    box-shadow: inset 1px 1px #FFFFFF, inset -1px -1px #000000;
}

.win98-link:active {
    background-color: #808080;
    color: #FFFFFF;
    box-shadow: inset 1px 1px #000000, inset -1px -1px #FFFFFF;
}

/* Logo Styling */
#logo {
    display: block;
    margin: 80px auto 20px;
    width: 160px;
    box-shadow: 0 0 10px #808080;
}

/* Content Box */
.content-box {
    width: 75%;
    max-width: 750px;
    margin: 20px auto;
    border: 3px dashed #808080;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.85);
    color: #FFFFFF;
    box-shadow: 5px 5px 15px #808080;
    z-index: 10;
}

.content-box h2 {
    font-size: 1.5em;
    color: #00BFFF;
    text-shadow: 0 0 2px #00BFFF, 0 0 4px #00BFFF;
    margin-bottom: 10px;
    animation: slight-flicker 1.5s infinite alternate;
}

/* About Section - Center Text */
.about-section p {
    font-size: 1.1em;
    max-width: 600px;
    margin: 20px auto;
}

/* Marquee Styling */
.marquee-box {
    border: 2px solid #808080;
    background-color: rgba(0, 0, 0, 0.9);
    color: #00FF00;
    padding: 8px;
    margin: 20px auto;
    width: 80%;
    max-width: 750px;
    font-size: 0.9em;
    box-shadow: 5px 5px 10px #808080;
    overflow: hidden;
}

.marquee-box b {
    white-space: nowrap;
    overflow: hidden;
}

/* Right Ad Banner */
.right-banner {
    position: fixed;
    top: 20%;
    right: 0;
    width: 150px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    border: 2px solid #808080;
    box-shadow: 5px 5px 15px #808080;
    z-index: 100;
}

.right-banner img {
    display: block;
    margin: 10px auto;
    width: 100%;
}

/* Left Ad Banner */
.left-banner {
    position: fixed;
    top: 20%;
    left: 0;
    width: 150px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    border: 2px solid #FF00FF;
    box-shadow: 5px 5px 15px #FF00FF;
    z-index: 100;
}

.left-banner img {
    display: block;
    margin: 10px auto;
    width: 100%; /* Ensures the ad fills the banner width */
}

/* Badge Section */
.badge-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 30px auto;
    max-width: 600px;
    padding: 10px;
}

/* Footer */
footer {
    margin-top: 30px;
    font-size: 0.8em;
    color: #FFFFFF;
}

.footer-images img {
    margin: 5px;
    height: 30px;
}

/* Matrix Background */
#matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: black;
    z-index: -10;
    overflow: hidden;
}

/* Flicker Animation */
@keyframes slight-flicker {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
}

.warning-marquee {
    background-color: #FFFF00;
    color: #000000;
    padding: 5px;
    border: 1px solid #000;
    font-family: 'MS Sans Serif', Tahoma, sans-serif;
    font-size: 14px;
    text-align: center;
}
