/* =========================
BASIC RESET
========================= */

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: transparent;
    font-family: "Signika", monospace;
    color: #000814;
    overflow-x: hidden;
}

/* =========================
BOOT SCREEN
========================= */

#bootScreen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000814;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 9999;
}

.boot-text {
    white-space: pre-line;
    text-align: left;
    text-shadow: 0 0 10px #00ccff;
}

.fade-out {
    animation: fadeOut 1.5s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* =========================
MATRIX BACKGROUND
========================= */

#matrix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* =========================
CRT OVERLAY
========================= */

.crt-overlay {
    pointer-events: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 3;

    background: repeating-linear-gradient(
        0deg,
        rgba(0,255,255,0.05),
        rgba(0,255,255,0.05) 1px,
        transparent 1px,
        transparent 2px
    );

    animation: flicker 0.12s infinite;
}

@keyframes flicker {
    0% { opacity: 0.96; }
    50% { opacity: 1; }
    100% { opacity: 0.97; }
}

/* =========================
MAIN CONTAINER
========================= */

.container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: auto;
    padding: 60px 20px;
    text-align: center;
}

/* =========================
NAVIGATION
========================= */

nav {
    margin: 30px 0;
}

nav a {
    color: #6699ff;
    text-decoration: none;
    margin: 0 15px;
    padding: 8px 12px;
    border: 1px solid #6699ff;
    transition: all 0.3s;
}

nav a:hover {
    color: #00ffff;
    background: #001a33;
    text-shadow:
        0 0 5px cyan,
        0 0 10px cyan,
        0 0 20px cyan;
}

/* =========================
WINDOW PANELS
========================= */

.window-panel {
    background: #ffffe6;
    border: 2px solid #001a66;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(0,204,255,0.4);
    max-width: 600px;
    margin: 20px auto;
    overflow: hidden;
}

/* pixel header */

.window-title {
    font-family: 'Signika', monospace;
    font-size: 11px;
    padding: 10px;

    background: linear-gradient(
        to bottom,
        #001a66,
        #003cff
    );

    border-bottom: 1px solid #001a66;

    letter-spacing: 1px;

    text-shadow:
        0 0 4px #00ccff,
        0 0 8px #0099ff;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.window-content {
    padding: 15px;
    text-align: left;
    line-height: 1.4;
    text-shadow: 0 0 2px #ffffff;
}

/* =========================
SCROLLABLE PANELS
========================= */

.scroll-box {
    max-height: 220px;
    overflow-y: auto;
}

/* scrollbar */

.scroll-box::-webkit-scrollbar {
    width: 6px;
}

.scroll-box::-webkit-scrollbar-track {
    background: #f2f2f2;
}

.scroll-box::-webkit-scrollbar-thumb {
    background: #99ccff;
}

/* =========================
PIXEL DIVIDER
========================= */

.pixel-divider {
    height: 3px;

    background: repeating-linear-gradient(
        90deg,
        #3366cc,
        #3366cc 6px,
        transparent 6px,
        transparent 12px
    );

    margin: 18px 0;
}

/* =========================
FORM
========================= */

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input,
textarea {
    background: #001a33;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 10px;
    font-family: 'Signika', monospace;
}

textarea {
    resize: none;
    height: 100px;
}

button {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 10px;
    cursor: pointer;
}

button:hover {
    background: #ffffff;
    color: #ffffff;
    box-shadow: 0 0 10px #ffffff;
}

/* =========================
ROLLING STRIPS
========================= */

.rolling-strip {
    position: fixed;
    width: 100%;
    overflow: hidden;
    background: rgba(0,0,20,0.85);
    white-space: nowrap;
    z-index: 6;
    color: #ffffff;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}

.rolling-strip.top {
    top: 0;
    height: 30px;
}

.rolling-strip.bottom {
    bottom: 0;
    height: 30px;
}

.strip-content {
    display: inline-block;
    padding-left: 100%;
    font-size: 1rem;

    text-shadow:
        0 0 5px #3366cc,
        0 0 10px #3366cc,
        0 0 20px #3366cc;

    animation: slide-left 20s linear infinite;
}

.strip-content:hover {
    animation-play-state: paused;
}

@keyframes slide-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* =========================
BANNER
========================= */

.home-banner {
    position: relative;
    width: 100%;
    height: 200px;

    background-image: url("https://wallpapercave.com/wp/wp11886814.jpg");
    background-size: cover;
    background-position: center;

    border-bottom: 2px solid #000814;

    display: flex;
    align-items: flex-end;
    padding: 0 20px 20px 20px;

    z-index: 4;

    box-shadow: inset 0 0 40px rgba(0,0,0,0.6);
}

.banner-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    letter-spacing: 4px;
    color: #ffffff;

    text-shadow:
        0 0 5px #3366cc,
        0 0 10px #3366cc,
        0 0 20px #3366cc,
        0 0 40px #3366cc;

}

@keyframes neonFlicker {

    0% {
        text-shadow:
            0 0 5px #00ccff,
            0 0 10px #00ccff,
            0 0 20px #00ccff,
            0 0 40px #0088ff;
    }

    100% {
        text-shadow:
            0 0 2px #00ccff,
            0 0 6px #00ccff,
            0 0 14px #0088ff,
            0 0 28px #0088ff;
    }
}

/* =========================
CRT EFFECT ON BANNER
========================= */

#mainBanner {
    position: relative;
    overflow: hidden;
    filter: contrast(1.1) brightness(1.05);
}

#mainBanner::after {
    content: "";
    position: absolute;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    pointer-events: none;

    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.04) 0px,
        rgba(255,255,255,0.04) 1px,
        transparent 2px,
        transparent 4px
    );

    mix-blend-mode: overlay;
}

/* =========================
RSS ICON
========================= */

.rss-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: orange;
    box-shadow: 0 0 6px orange;

    animation: rssPulse 1.4s infinite;
}

@keyframes rssPulse {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* =========================
FOOTER
========================= */

footer {
    margin-top: 40px;
    font-size: 0.8rem;
    opacity: 0.6;
}

.grid-layout{
display:grid;
grid-template-columns: 220px 1fr 220px;
gap:25px;
margin-top:30px;
}

.left-column,
.right-sidebar{
display:flex;
flex-direction:column;
gap:20px;
}

.main-feed{
display:flex;
flex-direction:column;
}

#matrix {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -2;
background: black;
}

.crt-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: -1;

background:
repeating-linear-gradient(
0deg,
rgba(0,255,0,0.05),
rgba(0,255,0,0.05) 1px,
transparent 1px,
transparent 3px
);
}