/* ▓▓▓ SYSTEM_OVERRIDE_V4 // EXPERT_MODE ▓▓▓ */
/* BRUTALIST // GLITCH // TERMINAL AESTHETIC */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,300;0,400;0,600;1,400&family=Cinzel:wght@400;700&display=swap');

:root {
    --core-black: #020202;
    --core-red: #a89cc4;  /* Changed to Purple/Grey */
    --core-dark-red: #2b2636; /* Changed to Dark Purple/Grey */
    --core-gray: #5a5a5a;
    --core-white: #e0e0e0;
    
    --scanline-color: rgba(0, 0, 0, 0.5);
    --grid-color: rgba(40, 30, 50, 0.2); /* Purple tinted grid */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important; /* System cursor hidden */
}

/* ═══════ CUSTOM CURSOR ═══════ */
/* The actual interactive element */
.custom-cursor {
    position: fixed;
    top: 0; 
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid var(--core-red);
    transform: translate(-50%, -50%) rotate(45deg); /* Diamond shape */
    pointer-events: none; /* Ignore clicks */
    z-index: 9999;
    mix-blend-mode: difference; /* Invert colors over white */
    transition: width 0.2s, height 0.2s, background 0.2s, transform 0.2s;
    border-radius: 2px;
}

/* Hover state (Active) */
.custom-cursor.active {
    width: 40px;
    height: 40px;
    background: rgba(168, 156, 196, 0.2);
    transform: translate(-50%, -50%) rotate(0deg); /* Square shape */
    box-shadow: 0 0 10px var(--core-red);
}

/* Clicking state */
.custom-cursor.clicking {
    width: 15px;
    height: 15px;
    background: var(--core-red);
}

/* ═══════ CUSTOM SCROLLBAR (SYSTEM LEVEL) ═══════ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #000; 
}
::-webkit-scrollbar-thumb {
    background: var(--core-red); 
    border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
    background: #fff; 
    box-shadow: 0 0 10px #fff;
}

::selection {
    background: var(--core-red);
    color: #000;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #000;
    color: var(--core-white);
    font-family: 'IBM Plex Mono', monospace;
    overflow-x: hidden;
    font-size: 14px;
    line-height: 1.5;
}

/* ═══════ RAW BACKGROUNDS ═══════ */
/* No smooth blends. Hard overlays. */

body.page-home { background: url('bg.png') no-repeat center center fixed; background-size: cover; }
body.page-about { background: url('bg_about.png') no-repeat center center fixed; background-size: cover; }
body.page-interests { background: url('bg_interests.png') no-repeat center center fixed; background-size: cover; }
body.page-blog { background: url('bg_blog.png') no-repeat center center fixed; background-size: cover; }
/* body.page-liminal moved to filtered section below */
body.page-faceless { background: url('bg_faceless.png') no-repeat center center fixed; background-size: cover; }
body.page-fleshed { background: url('bg_fleshed.png') no-repeat center center fixed; background-size: cover; }
body.page-ritual { background: url('bg_about.png') no-repeat center center fixed; background-size: cover; }

/* ═══════ STARFIELD ═══════ */
/* Fixed star layer behind everything */
.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0;
    will-change: opacity, transform; /* Optimization hint */
    animation: twinkle var(--duration, 3s) infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); /* Removed expensive box-shadow animation */ }
}

@keyframes data-rain {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(110vh); opacity: 0; }
}

/* Grid Overlay on top of background */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}

/* ═══════ CRT & NOISE ═══════ */

/* Vignette Overlay (The "Tunnel Vision" Effect) */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(
        circle at 50% 50%, 
        transparent 60%, 
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 900; /* Below scanlines, above content */
    pointer-events: none;
}

/* Moving Scanlines */
.scanlines {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1000;
    pointer-events: none;
    opacity: 0.15;
    mix-blend-mode: multiply;
    overflow: hidden;
}

/* Optimized Scanline Animation (GPU Accelerated) */
.scanlines::before {
    content: "";
    position: absolute;
    top: -10px; /* Slight buffer */
    left: 0;
    width: 100%;
    height: calc(100% + 20px);
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0) 50%,
        rgba(0,0,0,0.3) 50%,
        rgba(0,0,0,0.3)
    );
    background-size: 100% 4px;
    animation: scanline-move 0.2s linear infinite;
    will-change: transform;
}

@keyframes scanline-move {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

/* ═══════ LAYOUT CONTAINERS ═══════ */
/* Brutalist Boxes */
.content {
    position: relative;
    z-index: 50;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.about-section, .todo-section {
    background: rgba(0, 0, 0, 0.9); /* Darker, less transparent */
    border: 1px solid var(--core-red);
    padding: 2rem;
    position: relative;
    box-shadow: 8px 8px 0px var(--core-red); /* "Lain" Style: Solid, hard offset shadow */
    animation: border-pulse 4s infinite alternate;
}

@keyframes border-pulse {
    0% { border-color: var(--core-red); box-shadow: 8px 8px 0px var(--core-red); }
    100% { border-color: rgba(168, 156, 196, 0.5); box-shadow: 8px 8px 0px rgba(168, 156, 196, 0.5); }
}

/* Decorative Corner Brackets via Pseudo Elements */
.about-section::before, .about-section::after,
.todo-section::before, .todo-section::after {
    content: "";
    position: absolute;
    width: 10px; height: 10px;
    border: 2px solid var(--core-red);
    transition: all 0.3s;
    pointer-events: none; /* Fix: Allow clicks to pass through decorations */
}

.about-section::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.about-section::after { bottom: -2px; right: -2px; border-left: none; border-top: none; }

.about-section:hover::before { width: 100%; height: 100%; opacity: 0.1; }

/* ═══════ TYPOGRAPHY ═══════ */
.site-title {
    font-family: 'IBM Plex Mono', monospace; 
    font-size: 3rem;
    color: var(--core-white);
    text-transform: lowercase; /* Lowercase for that "system log" feel */
    letter-spacing: -2px;      /* Tighter tracking */
    text-shadow: 0 0 10px var(--core-red), 0 0 20px var(--core-red); /* CRT Glow */
    text-align: center;
    margin: 0;
    mix-blend-mode: normal; 
}

.tagline {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: var(--core-red);
    text-align: center;
    background: #000;
    display: inline-block;
    padding: 2px 10px;
    margin: 0 auto; 
    border: 1px solid var(--core-red);
    transform: translateY(-50%);
}

h1, h2, h3 { font-weight: normal; }

.section-header {
    font-size: 1.2rem;
    color: var(--core-red);
    border-bottom: 2px solid var(--core-red);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
}
.section-header::after { content: "[SYS_READY]"; font-size: 0.7rem; opacity: 0.7; }

/* ═══════ NAVIGATION ═══════ */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 2px; /* Tight gap */
    background: #000;
    border-top: 2px solid var(--core-red);
    border-bottom: 2px solid var(--core-red);
}

.main-nav a {
    color: #555;
    text-decoration: none;
    padding: 15px 30px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.1s;
    border-right: 1px solid #222;
}

.main-nav a:hover, .main-nav a.active {
    background: var(--core-red);
    color: #000;
    box-shadow: 0 0 15px var(--core-red);
}

/* ═══════ ELEMENTS ═══════ */

/* HOME PAGE: VOID GATE ANIMATION */
.cat-art {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem auto;
    width: 200px;
    height: 200px;
    position: relative;
    border-radius: 50%;
}

/* Outer Rotating Dashed Ring */
.cat-art::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    border: 1px dashed var(--core-red);
    box-shadow: 0 0 10px rgba(168, 156, 196, 0.4);
    animation: orbit 10s linear infinite;
    opacity: 0.6;
}

/* Inner Rotating Bracket Ring */
.cat-art::after {
    content: '';
    position: absolute;
    top: 15px; left: 15px; right: 15px; bottom: 15px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top: 2px solid var(--core-red);
    border-bottom: 2px solid var(--core-red);
    animation: orbit-rev 6s linear infinite;
    opacity: 0.8;
}

@keyframes orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orbit-rev { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }

#cat-image {
    max-width: 80%;
    max-height: 80%;
    filter: invert(100%) drop-shadow(0 0 5px var(--core-red));
    z-index: 2;
}

/* ABOUT PAGE: STATUE FEATURE */
.profile-split {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 3rem 0;
    width: 100%;
}

.profile-statue {
    width: 150px;
    height: 200px;
    background: radial-gradient(circle, rgba(168, 156, 196, 0.1) 0%, transparent 70%); /* Purple Gradient */
    border: none;
    position: relative;
    flex-shrink: 0;
    /* Glitch slice effect mask */
    clip-path: polygon(
        0% 0%, 100% 0%, 100% 85%, 85% 85%, 85% 100%, 0% 100%
    );
}

.profile-statue img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: filter 0.3s;
}

.profile-statue:hover img {
    filter: grayscale(0%) contrast(1.2) drop-shadow(0 0 5px var(--core-red));
}

.profile-connector {
    flex-grow: 1;
    height: 2px;
    background: var(--core-red);
    position: relative;
    margin: 0 10px;
    box-shadow: 0 0 5px var(--core-red);
}

/* Dot at the end of the line */
.profile-connector::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--core-red);
}

.profile-text-box {
    flex-basis: 65%;
    border: 1px solid var(--core-red);
    padding: 20px;
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

/* Corner brackets for the text box */
.profile-text-box::before {
    content: "";
    position: absolute;
    top: -1px; right: -1px;
    width: 10px; height: 10px;
    border-top: 2px solid var(--core-red);
    border-right: 2px solid var(--core-red);
}

.profile-text-box::after {
    content: "";
    position: absolute;
    bottom: -1px; left: -1px;
    width: 10px; height: 10px;
    border-bottom: 2px solid var(--core-red);
    border-left: 2px solid var(--core-red);
}


.statue-wrapper {
    width: 200px;
    height: 250px;
    position: relative;
    border: 1px solid var(--core-red);
    background: radial-gradient(circle, rgba(168, 156, 196, 0.1) 0%, transparent 70%); /* Purple Gradient */
    overflow: hidden;
    /* Glitch slice effect mask */
    clip-path: polygon(
        0% 0%, 100% 0%, 100% 85%, 90% 85%, 90% 100%, 0% 100%
    );
}

.statue-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2) brightness(0.8);
    mix-blend-mode: luminosity;
    transition: filter 0.3s;
}

.statue-wrapper:hover img {
    filter: grayscale(0%) contrast(1.2) drop-shadow(0 0 5px var(--core-red));
}

/* The Connecting Line */
.connector-line {
    height: 2px;
    width: 100px;
    background: var(--core-red);
    position: relative;
    margin: 0 20px;
    box-shadow: 0 0 10px var(--core-red);
}

.connector-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--core-red);
    box-shadow: 0 0 10px var(--core-red);
}

/* Feature Text */
.feature-text {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    line-height: 1;
    color: var(--core-white);
    text-transform: uppercase;
    text-shadow: 2px 2px 0 var(--core-red);
    position: relative;
}

.feature-text .sub {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: var(--core-red);
    letter-spacing: 4px;
    margin-top: 5px;
}

.quote {
    font-family: 'IBM Plex Mono', monospace;
    font-style: italic;
    font-size: 1rem;
    border-left: 4px solid var(--core-red);
    padding-left: 20px;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
}

/* Todo List - Hacker Style */
.todo-list li {
    padding: 5px 0;
    border-bottom: 1px dashed #333;
    color: #888;
}
.todo-list li:hover {
    color: var(--core-red);
    background: #110000;
}
.todo-list li::before {
    content: ">>";
    margin-right: 10px;
    color: var(--core-red);
}

/* Link List Style */
.link-list {
    list-style: none;
    padding: 0;
}
.link-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #333;
    transition: 0.2s;
}
.link-list li:hover {
    background: rgba(168, 156, 196, 0.1);
    padding-left: 10px;
}
.link-list a {
    color: var(--core-white);
    text-decoration: none;
    font-weight: bold;
    margin-right: 10px;
}
.link-list a:hover {
    color: var(--core-red);
    text-shadow: 0 0 5px var(--core-red);
}

/* ═══════ LOGS UI ═══════ */
.log-entry {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 3px solid var(--core-red);
    clip-path: polygon(
        0% 0%,       /* Top left */
        100% 0%,     /* Top right */
        100% 100%,   /* Bottom right */
        20px 100%,   /* Bottom Left Cut Start */
        0% calc(100% - 20px) /* Bottom Left Cut End */
    );
    transition: all 0.3s ease;
}

.log-entry:hover {
    border-color: var(--core-red);
    background: rgba(10, 0, 0, 0.9);
}

.log-header {
    border-bottom: 1px dashed #333;
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: var(--core-red);
}

.log-id {
    opacity: 0.7;
}

.log-body {
    line-height: 1.6;
    color: var(--core-white);
}

/* ═══════ TERMINAL FOOTER ═══════ */
.footer {
    border-top: 1px solid var(--core-red);
    margin-top: 50px;
    padding: 20px;
    background: #000;
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.cli-container {
    max-width: 600px;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.cli-container .prompt {
    color: var(--core-red);
    margin-right: 10px;
    font-weight: bold;
}

.cli-input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    flex-grow: 1;
    outline: none;
}

.blink { animation: blinker 0.5s step-end infinite; color: var(--core-red); }
@keyframes blinker { 50% { opacity: 0; } }

/* ═══════ GLITCH UTILITIES ═══════ */
.about-content strong { color: var(--core-white); background: var(--core-dark-red); padding: 0 4px; }

/* ═══════ CONTEXT MENU ═══════ */
#context-menu {
    position: absolute;
    display: none;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--core-red);
    min-width: 150px;
    z-index: 9999;
    box-shadow: 4px 4px 0 rgba(255, 0, 0, 0.2);
    backdrop-filter: blur(2px);
}

#context-menu .menu-item {
    padding: 10px 15px;
    color: var(--core-white);
    font-size: 0.8rem;
    cursor: pointer;
    border-bottom: 1px solid #222;
    transition: background 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#context-menu .menu-item:last-child {
    border-bottom: none;
}

#context-menu .menu-item:hover {
    background: var(--core-red);
    color: #000;
}

/* Responsive */
@media(max-width: 768px) {
    .main-nav { flex-direction: column; }
    .main-nav a { border-right: none; border-bottom: 1px solid #222; }

    /* Stack the About Page profile split */
    .profile-split {
        flex-direction: column;
        gap: 20px;
    }
    
    .profile-connector {
        width: 2px;
        height: 50px; /* Vertical line */
        margin: 10px 0;
    }

    .profile-connector::after {
        top: 100%;
        left: 50%;
        right: auto;
        transform: translate(-50%, 0);
    }
    
    .profile-text-box {
        width: 100%;
    }
}

/* ═══════ CURSOR TRAIL ═══════ */
.cursor-trail {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--core-red);
    pointer-events: none;
    z-index: 9999;
    opacity: 0.8;
    animation: fade-out 0.8s forwards;
    box-shadow: 0 0 4px var(--core-red);
}

@keyframes fade-out {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 0; transform: scale(0) rotate(45deg); }
}

/* ═══════ BOOT OVERLAY REMOVED ═══════ */
    pointer-events: none;
}

/* ═══════ HOVER GLITCH ═══════ */
@keyframes glitch-shake {
    0% { transform: translate(0,0); filter: hue-rotate(0deg); }
    20% { transform: translate(-2px, 2px); filter: hue-rotate(90deg) contrast(2); }
    40% { transform: translate(2px, -2px); filter: invert(1); }
    60% { transform: translate(-2px, -2px); filter: opacity(0.8) sepia(1); }
    80% { transform: translate(2px, 2px); filter: hue-rotate(-90deg); }
    100% { transform: translate(0,0); filter: none; }
}

.glitch-hover:hover {
    animation: glitch-shake 0.3s cubic-bezier(.36,.07,.19,.97) infinite;
    /* cursor: progress !important; REMOVED */
}

/* ═══════ SYSTEM MODAL (REPLACES ALERT) ═══════ */
.sys-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(5, 5, 5, 0.95);
    border: 1px solid var(--core-red);
    padding: 20px;
    min-width: 300px;
    z-index: 10001;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    animation: modal-pop 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.sys-modal-header {
    background: var(--core-red);
    color: #000;
    padding: 2px 5px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-bottom: 15px;
    display: inline-block;
}

.sys-modal-body {
    color: var(--core-white);
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-family: 'IBM Plex Mono', monospace;
}

.sys-modal-btn {
    background: transparent;
    border: 1px solid var(--core-red);
    color: var(--core-red);
    padding: 5px 15px;
    cursor: pointer;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    transition: 0.2s;
}

.sys-modal-btn:hover {
    background: var(--core-red);
    color: #000;
}

@keyframes modal-pop {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}


/* ��� EXECUTABLE / APP COMPATIBILITY FIXES ��� */
/* Fixes "Entire window is draggable" bug. */

/* ▓▓▓ EXECUTABLE / APP COMPATIBILITY FIXES ▓▓▓ */

/* EMERGENCY FIX: DISABLE ALL GLOBAL WINDOW DRAGGING */
/* This ensures clicks always register. */

body, html {
    -webkit-app-region: no-drag !important;
}

/* Enable Drag ONLY on the large main title */
.site-title {
    -webkit-app-region: drag !important;
    cursor: grab;
}

/* Ensure controls are definitely clickable */
a, button, input, textarea, .scramble-text, .sys-modal-btn, nav a {
    -webkit-app-region: no-drag !important;
    cursor: pointer;
    z-index: 9999;
    position: relative; 
}

/* Overlays must not interact */
.scanlines, #starfield, body::before {
    -webkit-app-region: no-drag !important;
    pointer-events: none !important;
}

/* Image Drag Protection */
img {
    -webkit-user-drag: none;
    -moz-user-drag: none;
    user-drag: none;
    user-select: none;
}



/* ═══════ DISCORD WIDGET (STICKER STYLE) ═══════ */
.discord-card {
    /* Sticker Base */
    background: #0d0d0d;
    border: 3px solid #eeeeee; /* Thicker, off-white sticker border */
    border-radius: 12px; /* More rounded for cut-out feel */
    padding: 10px;
    
    font-family: 'IBM Plex Mono', monospace; 
    
    /* Layout */
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    width: auto;
    min-width: 260px;
    max-width: 300px;
    
    /* Decoration */
    transform: rotate(3deg); /* Slight natural tilt */
    filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.5)); /* Actual cut-out shadow */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Position: Fixed to Top Right */
    position: fixed;
    top: 40px;
    right: 40px;
    margin: 0;
    z-index: 2000; /* Above everything */
}

/* Mobile Fallback: Return to normal flow if screen is too small */
@media (max-width: 800px) {
    .discord-card {
        position: relative;
        top: auto;
        right: auto;
        margin: 20px auto;
        transform: rotate(0deg);
        width: 100%;
        max-width: 100%;
    }
}

.discord-card:hover {
    transform: rotate(0deg) scale(1.05) translateY(-2px); /* Peel effect */
    border-color: #fff;
    filter: drop-shadow(8px 8px 0px rgba(0,0,0,0.3));
    z-index: 2010;
}

.discord-scanline {
    display: none; /* Removed for cleaner look */
}

.discord-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid #333; /* Thicker separator */
    padding-bottom: 8px;
    margin-bottom: 5px;
}

.discord-pfp-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
}

#discord-pfp {
    width: 100%;
    height: 100%;
    border-radius: 4px; 
    border: 1px solid #333;
}

.status-indicator {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #0d0d0d; 
}

/* HardStatus Colors */
.status-indicator.online { background-color: #43b581; }
.status-indicator.idle { background-color: #faa61a; }
.status-indicator.dnd { background-color: #f04747; }
.status-indicator.offline { background-color: #747f8d; }

.discord-user-info h3 {
    margin: 0;
    font-size: 1rem;
    color: #fff;
    font-weight: bold;
    letter-spacing: 0px;
}

.discord-user-info span {
    font-size: 0.7rem;
    color: #888;
    background: #1a1a1a;
    padding: 2px 4px;
    border-radius: 3px;
}

.discord-body {
    background: #151515;
    padding: 8px;
    border-radius: 4px;
    border: 1px dashed #444;
}

.discord-body p {
    margin: 0;
    color: #ccc;
    font-size: 0.8rem;
    line-height: 1.3;
}
.discord-body strong {
    color: var(--core-red);
    font-weight: 600;
}

.discord-footer-deco {
    display: none; /* Simpler is better */
}

.discord-user-info h3 {
    margin: 0;
    font-size: 1rem;
    color: #fff;
    font-weight: bold;
    letter-spacing: 0px;
}

.discord-user-info span {
    font-size: 0.7rem;
    color: #888;
    background: #1a1a1a;
    padding: 2px 4px;
    border-radius: 3px;
}

.discord-body {
    background: #151515;
    padding: 8px;
    border-radius: 4px;
    border: 1px dashed #444;
}

.discord-body p {
    margin: 0;
    color: #ccc;
    font-size: 0.8rem;
    line-height: 1.3;
}
.discord-body strong {
    color: var(--core-red);
    font-weight: 600;
}

.discord-footer-deco {
    display: none; /* Simpler is better */
}

.blink {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

/* ═══════ FILTERED BACKGROUNDS (PSYCHE & LIMINAL) ═══════ */
/* Using pseudo-elements to apply heavy toxic filters without affecting text */

body.page-psyche, body.page-liminal {
    background-color: transparent !important;
    background-image: none !important;
}

body.page-psyche::after {
    content: ""; 
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url("bg_liminal.png") no-repeat center center fixed;
    background-size: cover;
    filter: invert(1) hue-rotate(180deg) saturate(0.5) contrast(1.5) brightness(0.4);
    z-index: -999;
}

body.page-liminal::after {
    content: ""; 
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url("bg_data.png") no-repeat center center fixed;
    background-size: cover;
    /* Same toxic filter applied to Data Stream */
    filter: invert(1) hue-rotate(180deg) saturate(0.5) contrast(1.5) brightness(0.4);
    z-index: -999;
}

/* ═══════ BOOT SEQUENCE REMOVED ═══════ */

