/* ========== VOIDRANE: IMPRINT - MASTER STYLESHEET ========== */
/* All original aesthetics preserved, optimized for performance */

/* ========== GLOBAL STYLES & RESET ========== */
*, *::before, *::after {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: "Courier New", monospace;
    background-color: #000000;
    color: #888888;
    overflow-x: hidden;
    height: 100%;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" style="fill:%23990000;"><path d="M2,2 L16,16 M2,16 L16,2" stroke="%23990000" stroke-width="2"/></svg>') 9 9, auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== ACCESSIBILITY ========== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========== FOCUS STATES ========== */
a:focus-visible,
button:focus-visible,
.tab-link:focus-visible,
.floating-image:focus-visible,
.iframe-item:focus-visible {
    outline: 2px solid #990000;
    outline-offset: 2px;
    box-shadow: 0 0 10px rgba(153, 0, 0, 0.8);
}

/* ========== ANIMATIONS - OPTIMIZED ========== */
@keyframes particle-fade {
    0% { opacity: 0; transform: translateY(0) translateX(0) scale(1); }
    50% { opacity: 0.2; transform: translateY(20px) translateX(10px) scale(1.2); }
    100% { opacity: 0; transform: translateY(0) translateX(0) scale(1); }
}

@keyframes scanline-flicker {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.18; }
}

@keyframes noise-drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50px, -50px); }
}

@keyframes glow-pulse-anim {
    0%, 100% { box-shadow: 0 0 5px rgba(153, 0, 0, 0.3); }
    50% { box-shadow: 0 0 20px rgba(153, 0, 0, 0.6), 0 0 30px rgba(153, 0, 0, 0.3); }
}

@keyframes bg-pulse {
    0% { opacity: 0.1; transform: scale(0.8); }
    100% { opacity: 0.3; transform: scale(1.2); }
}

@keyframes ascii-pulse {
    0% { text-shadow: 0 0 5px #990000; color: #990000; }
    50% { text-shadow: 0 0 10px #990000, 0 0 15px #990000, 0 0 20px #990000; color: #ff0000; }
    100% { text-shadow: 0 0 5px #990000; color: #990000; }
}

@keyframes banner-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes drip {
    0% { height: 0; opacity: 0; }
    5% { opacity: 0.7; }
    100% { height: var(--drip-height); opacity: 0.9; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes glitch-anim-1 {
    0% { clip: rect(18px, 450px, 83px, 0); }
    20% { clip: rect(33px, 450px, 31px, 0); }
    40% { clip: rect(63px, 450px, 93px, 0); }
    60% { clip: rect(5px, 450px, 60px, 0); }
    80% { clip: rect(82px, 450px, 61px, 0); }
    100% { clip: rect(19px, 450px, 11px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(74px, 450px, 63px, 0); }
    20% { clip: rect(31px, 450px, 26px, 0); }
    40% { clip: rect(51px, 450px, 11px, 0); }
    60% { clip: rect(11px, 450px, 59px, 0); }
    80% { clip: rect(89px, 450px, 33px, 0); }
    100% { clip: rect(75px, 450px, 93px, 0); }
}

@keyframes static-flicker {
    0% { opacity: 0.4; }
    50% { opacity: 0.6; }
    100% { opacity: 0.4; }
}

@keyframes static-drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes static-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.7; }
}

@keyframes loading-shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}

@keyframes scan {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ========== BACKGROUND EFFECTS ========== */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: -2;
    overflow: hidden;
    will-change: transform;
    backface-visibility: hidden;
}

.bg-particle {
    position: absolute;
    background-color: rgba(153, 0, 0, 0.05);
    border-radius: 50%;
    opacity: 0;
    animation: particle-fade 20s infinite ease-in-out;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.glow-pulse {
    animation: glow-pulse-anim 3s infinite;
}

.bg-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(153,0,0,0.02) 50%, rgba(0,0,0,0) 100%);
    animation: bg-pulse 30s infinite alternate ease-in-out;
    opacity: 0.3;
    will-change: transform, opacity;
}

/* ========== CRT EFFECTS ========== */
.scanline-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(153, 0, 0, 0) 50%, rgba(153, 0, 0, 0.08) 50%);
    background-size: 100% 4px;
    z-index: 99;
    pointer-events: none;
    opacity: 0.15;
    animation: scanline-flicker 0.1s infinite;
}

.crt-edge {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 120px rgba(153, 0, 0, 0.4), inset 0 0 200px rgba(153, 0, 0, 0.2);
    z-index: 98;
    pointer-events: none;
}

.noise-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAOl0lEQVR4nO1dbVczNw69JCEvBJInEEIgEIb//6/6fbu73e77tt0P1o2vZQ3QPgRCmHsOJ8mMx5ZlWZJljQEynlBia58ndR+freiRUeHR8QpAECK2fM38BaHjdr1+MR59+EBEoZkNvw+XeIQcAe4Q7uNqhWLVQ8Z6W9xfba/w9Yd5WheVWLmL58qY/KNFgLunK+oH2NJi+aLL8blwVn5U/ECt3vhekzNQaAbLGY/hZ16+AJrZCeHR56+mzSWWI5YrKIZLOTKhGqEaEzNwEVFprI4Ys7Djrj5ejYsfA+aWt0NEJm5x9cEowIia5CLZqVDs/iG+rKPHSEuiJGI5wl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hnWZf3E9d+3v9oBhdFvPpNQzPQ/uMn5h1vGpLK+4saufeHqv+MrjW3kkBW/JG4VB3aVK+r3D/P+MZiUXvW4ubkXkQsz8wMZ0G0/+j4uDMU2MlYBBVFXpOBCcRyjkv7CgYNaP9P0FCCKcHb+j4+QC8tZmtUPwsIjnXOa4DKiKnJjmKLcBxozBVVwN2WtgIeYQOz19gDGDWM7YBTVwGR54yEtPuVjLa2L9gBhI4AYCRU3n/dVsQu4oRKrnIv5Dzbm2y5Q039s978BpZRW4ztQ+MMAAAAASUVORK5CYII=');
    background-repeat: repeat;
    z-index: 97;
    pointer-events: none;
    opacity: 0.08;
    animation: noise-drift 8s infinite linear;
}

/* ========== MAIN LAYOUT STRUCTURE ========== */
.interface-container {
    position: relative;
    width: calc(100% - 40px);
    max-width: 1400px;
    min-height: calc(100vh - 80px);
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    z-index: 10;
    pointer-events: auto;
    border: 2px solid rgba(153, 0, 0, 0.5);
    box-shadow: 0 0 30px rgba(153, 0, 0, 0.3), inset 0 0 30px rgba(153, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.85);
}

.header {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #990000;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10;
}

pre.ascii-art {
    font-size: 10px;
    line-height: 8px;
    margin: 0;
    color: #990000;
    text-shadow: 0 0 5px #990000;
    text-align: center;
    overflow: hidden;
    transform: translateZ(0);
}

pre.ascii-art.glow-effect {
    animation: ascii-pulse 4s infinite alternate;
    will-change: text-shadow, color;
}

/* ========== NAVIGATION ========== */
.nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 5px 0;
    background-color: rgba(0, 0, 0, 0.8);
    border-bottom: 1px dashed #990000;
    z-index: 10;
}

.nav a {
    margin: 5px 15px;
    color: #990000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    transition: all 0.3s;
    padding: 5px 10px;
    position: relative;
}

.nav a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 10px #990000;
}

.nav a.active {
    color: #FFFFFF;
    text-shadow: 0 0 10px #990000;
    border-bottom: 1px solid #990000;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #990000;
    box-shadow: 0 0 5px #990000;
}

/* ========== MAIN CONTENT & TABS ========== */
.main-content {
    flex-grow: 1;
    overflow: hidden;
    padding: 0;
    z-index: 5;
    position: relative;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
}

.tab-content {
    flex-grow: 1;
    display: none;
    overflow-y: auto;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    scroll-behavior: smooth;
}

.tab-content.active {
    display: block;
    opacity: 1;
}

.content-panel {
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid #990000;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(153, 0, 0, 0.3);
}

.scrollbox {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #990000;
    background-color: rgba(0, 0, 0, 0.5);
    margin-top: 10px;
    scrollbar-width: thin;
    scrollbar-color: #990000 #000000;
}

.scrollbox::-webkit-scrollbar {
    width: 8px;
}

.scrollbox::-webkit-scrollbar-track {
    background: #000000;
}

.scrollbox::-webkit-scrollbar-thumb {
    background: #990000;
    border-radius: 4px;
}

h2 {
    margin-top: 0;
    border-bottom: 1px solid #990000;
    padding-bottom: 5px;
}

h3 {
    color: #990000;
    border-left: 3px solid #990000;
    padding-left: 10px;
    margin-top: 20px;
}

.status-bar {
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.8);
    border-top: 1px solid #990000;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

#fps {
    color: #990000;
}

/* ========== PERFORMANCE INDICATOR ========== */
.performance-indicator {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #990000;
    padding: 5px 10px;
    font-size: 10px;
    z-index: 1000;
    display: none;
}

.performance-indicator.active {
    display: block;
}

/* ========== LOADING SCREEN ========== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: opacity 0.8s ease;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(153, 0, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(153, 0, 0, 0.05) 0%, transparent 50%);
}

.top-banner, .bottom-banner {
    position: fixed;
    left: 0;
    width: 100%;
    height: 28px;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 95;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #990000;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid #990000;
    overflow: hidden;
}

.top-banner {
    top: 0;
    border-top: none;
}

.bottom-banner {
    bottom: 0;
    border-bottom: none;
}

.banner-content {
    white-space: nowrap;
    animation: banner-scroll 30s linear infinite;
    will-change: transform;
}

.loading-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 150px rgba(153, 0, 0, 0.3);
    pointer-events: none;
}

.loading-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(153, 0, 0, 0.05) 50%, 
        transparent 51%, 
        rgba(153, 0, 0, 0.05) 100%);
    background-size: 100% 8px;
    pointer-events: none;
    opacity: 0.2;
}

.blood-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    overflow: visible;
    z-index: 101;
}

.blood-drip {
    position: absolute;
    top: -10px;
    width: 1px;
    background-color: #990000;
    box-shadow: 0 0 2px #990000;
    opacity: 0.7;
    z-index: 102;
    transform: translateZ(0);
}

.progress-container {
    width: 80%;
    height: 2px;
    background-color: #111;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: #990000;
    position: relative;
    transition: width 0.2s ease-out;
}

.loading-text {
    margin-top: 15px;
    color: #990000;
    font-size: 12px;
    letter-spacing: 1px;
    text-align: center;
}

.tab-transition {
    animation: fadeIn 0.5s ease-in-out;
}

.glitch-message {
    margin-top: 20px;
    font-size: 12px;
    color: #990000;
    letter-spacing: 2px;
    position: relative;
    text-align: center;
}

.glitch-message span {
    position: relative;
}

.glitch-message span::before,
.glitch-message span::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-message span::before {
    left: 2px;
    text-shadow: -1px 0 #990000;
    clip: rect(24px, 550px, 30px, 0);
    animation: glitch-anim-1 3s infinite linear alternate-reverse;
}

.glitch-message span::after {
    left: -2px;
    text-shadow: -1px 0 #660000;
    clip: rect(24px, 550px, 40px, 0);
    animation: glitch-anim-2 2.5s infinite linear alternate-reverse;
}

/* ========== GLITCH EFFECTS ========== */
.glitch-text {
    position: relative;
    display: inline-block;
    color: #fff;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 #990000;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-1 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -1px 0 #00ff66;
    clip: rect(24px, 450px, 100px, 0);
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

/* ========== LAIN BANNER STYLES ========== */
.lain-banner {
    width: 100%;
    height: 180px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid #990000;
    margin: 15px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lain-banner:hover {
    box-shadow: 0 0 15px rgba(153, 0, 0, 0.8);
}

.lain-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
    z-index: 2;
}

.lain-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.lain-banner-text {
    position: absolute;
    z-index: 3;
    color: #990000;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    text-shadow: 0 0 5px #990000;
    pointer-events: none;
    opacity: 0.8;
}

/* ========== GALLERY TAB ========== */
.gallery-container {
    display: flex;
    height: 100%;
    flex-direction: column;
}

@media (min-width: 768px) {
    .gallery-container {
        flex-direction: row;
    }
}

.tag-sidebar {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid #990000;
    padding: 15px;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .tag-sidebar {
        width: 180px;
        min-width: 180px;
        border-right: 1px solid #990000;
        border-bottom: none;
    }
}

.tag-title {
    color: #990000;
    font-size: 14px;
    margin-bottom: 15px;
    border-bottom: 1px dashed #990000;
    padding-bottom: 5px;
}

.tag-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .tag-list {
        display: block;
    }
}

.tag-list li {
    margin-bottom: 8px;
    margin-right: 8px;
}

.tag-list a {
    color: #888888;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s;
    display: block;
    padding: 5px;
    border: 1px solid transparent;
    cursor: pointer;
}

.tag-list a:hover, .tag-list a.active {
    color: #FFFFFF;
    background-color: rgba(153, 0, 0, 0.3);
    border: 1px solid #990000;
}

.tag-count {
    float: right;
    background-color: rgba(153, 0, 0, 0.5);
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 10px;
}

.image-cloud {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    padding: 20px;
    min-height: 300px;
    background: 
        linear-gradient(135deg, 
            rgba(139, 0, 0, 0.3) 0%, 
            rgba(69, 0, 0, 0.4) 50%, 
            rgba(139, 0, 0, 0.3) 100%);
}

.image-cloud::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            rgba(255, 0, 0, 0.03) 0px,
            transparent 1px,
            transparent 2px,
            rgba(255, 0, 0, 0.03) 3px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255, 0, 0, 0.03) 0px,
            transparent 1px,
            transparent 2px,
            rgba(255, 0, 0, 0.03) 3px
        );
    opacity: 0.5;
    animation: static-flicker 0.15s infinite;
    pointer-events: none;
    z-index: 1;
}

.image-cloud::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, transparent 30%, rgba(255, 0, 0, 0.02) 31%, rgba(255, 0, 0, 0.02) 32%, transparent 33%) 0 0,
        radial-gradient(circle, transparent 30%, rgba(255, 0, 0, 0.02) 31%, rgba(255, 0, 0, 0.02) 32%, transparent 33%) 10px 10px;
    background-size: 20px 20px;
    animation: static-drift 20s linear infinite, static-pulse 2s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.6;
    z-index: 1;
}

.floating-image {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid #990000;
    padding: 5px;
    transition: transform 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    z-index: 2;
    transform: translateZ(0);
}

.floating-image:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 0 15px rgba(153, 0, 0, 0.5);
}

.floating-image img {
    max-width: 100%;
    display: block;
    width: 100%;
    height: auto;
}

.image-info {
    padding: 5px;
    font-size: 11px;
}

.image-title {
    color: #990000;
    margin-bottom: 3px;
}

.image-tags {
    color: #666666;
    font-size: 10px;
}

.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.modal-content {
    max-width: 80%;
    max-height: 80vh;
    border: 1px solid #990000;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    position: relative;
}

.modal-image {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
}

.modal-info {
    margin-top: 15px;
    color: #888888;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #990000;
    font-size: 20px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.8);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #990000;
}

/* ========== WINDOW TAB - IFRAME GRID ========== */
.window-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
}

.iframe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
}

@media (max-width: 1024px) {
    .iframe-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .iframe-grid {
        grid-template-columns: 1fr;
    }
}

.iframe-item {
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid #990000;
    padding: 5px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s ease;
}

.iframe-item:hover {
    box-shadow: 0 0 20px rgba(153, 0, 0, 0.5);
    border-color: #ff0000;
}

.iframe-title {
    background-color: #990000;
    color: #000000;
    padding: 5px 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.iframe-preview {
    flex-grow: 1;
    width: 100%;
    border: none;
    background-color: #000000;
    min-height: 200px;
    pointer-events: none;
}

.iframe-fullscreen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    padding: 40px 20px 20px 20px;
}

.iframe-fullscreen.active {
    display: flex;
    flex-direction: column;
}

.iframe-fullscreen-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #990000;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 5px 15px;
    border: 1px solid #990000;
}

.iframe-fullscreen-close:hover {
    color: #ff0000;
    box-shadow: 0 0 10px rgba(153, 0, 0, 0.5);
}

.iframe-fullscreen iframe {
    width: 100%;
    height: 100%;
    border: 1px solid #990000;
    background-color: #000000;
}

/* ========== PROJECTS TAB ========== */
.projects-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

@media (max-width: 900px) {
    .projects-container {
        grid-template-columns: 1fr;
    }
}

.projects-container h2 {
    grid-column: 1 / -1;
    margin: 0 0 10px 0;
}

.project-entry {
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid #990000;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    transform: translateZ(0);
}

.project-entry::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(153, 0, 0, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.project-entry:hover::before {
    left: 100%;
}

.project-entry:hover {
    box-shadow: 0 0 20px rgba(153, 0, 0, 0.5);
    transform: translateY(-3px);
    border-color: #ff0000;
}

.project-thumbnail {
    width: 100%;
    height: 140px;
    border-bottom: 1px solid #990000;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: brightness(0.8);
}

.project-entry:hover .project-thumbnail img {
    transform: scale(1.05);
    filter: brightness(1);
}

.project-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(153, 0, 0, 0.05) 2px,
        rgba(153, 0, 0, 0.05) 4px
    );
    pointer-events: none;
}

.project-body {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.project-title {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #FFFFFF;
    text-shadow: 0 0 5px rgba(153, 0, 0, 0.5);
    border-bottom: 1px dashed #990000;
    padding-bottom: 6px;
}

.project-desc {
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 12px;
    color: #CCCCCC;
    flex: 1;
}

.project-links {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed rgba(153, 0, 0, 0.3);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-links a {
    display: inline-block;
    background-color: rgba(153, 0, 0, 0.3);
    border: 1px solid #990000;
    padding: 4px 8px;
    color: #CCCCCC;
    text-decoration: none;
    font-size: 10px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.project-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.project-links a:hover::before {
    left: 100%;
}

.project-links a:hover {
    background-color: rgba(153, 0, 0, 0.5);
    color: #FFFFFF;
    box-shadow: 0 0 10px rgba(153, 0, 0, 0.5);
}

/* ========== COLLECTIONS TAB ========== */
.collections-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.ascii-paragraph {
    font-family: monospace;
    white-space: pre;
    line-height: 1.2;
    margin: 20px 0;
    overflow-x: auto;
    color: #990000;
}

.collection-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #990000, transparent);
    margin: 20px 0;
    position: relative;
}

.collection-divider::before {
    content: "⚙ ⚙ ⚙";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0 15px;
    color: #990000;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.grid-item {
    display: flex;
    flex-direction: column;
    border: 1px solid #990000;
    background-color: rgba(0, 0, 0, 0.7);
    min-height: 220px;
}

.grid-title {
    padding: 8px;
    background-color: rgba(153, 0, 0, 0.3);
    color: #FFFFFF;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #990000;
}

.grid-scrollbox {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
}

.horizontal-icons {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
}

/* ========== PLACEHOLDER IMAGE STYLES ========== */
.placeholder-image {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px dashed #990000;
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #990000;
    font-size: 10px;
    text-align: center;
    transition: all 0.3s ease;
    object-fit: cover;
    transform: translateZ(0);
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: inline-block;
    vertical-align: middle;
    image-rendering: pixelated;
}

.placeholder-image:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(153, 0, 0, 0.5);
}

.placeholder-favicon { 
    width: 16px; 
    height: 16px; 
    min-width: 16px;
    min-height: 16px;
    max-height: var(--fav-max-h, 32px);
}
.placeholder-divider { 
    width: 150px; 
    height: 20px; 
    min-width: 150px;
    min-height: 20px;
    max-width: var(--divider-max-w, 100%);
}
.placeholder-small { 
    width: 32px; 
    height: 32px; 
    min-width: 32px;
    min-height: 32px;
}
.placeholder-medium { 
    width: 64px; 
    height: 64px; 
    min-width: 64px;
    min-height: 64px;
}
.placeholder-large { 
    width: 128px; 
    height: 128px; 
    min-width: 128px;
    min-height: 128px;
}
.placeholder-banner { 
    width: 400px; 
    height: 80px; 
    min-width: 400px;
    min-height: 80px;
    max-width: var(--banner-max-w, 100%);
}
.placeholder-blinkie { 
    width: 150px; 
    height: 20px; 
    min-width: 150px;
    min-height: 20px;
    max-height: var(--blinkie-max-h, 40px);
}
.placeholder-button { 
    width: 88px; 
    height: 31px; 
    min-width: 88px;
    min-height: 31px;
    max-height: var(--button-max-h, 34px);
}
.placeholder-icon { 
    width: 32px; 
    height: 32px; 
    min-width: 32px;
    min-height: 32px;
    max-height: var(--icon-max-h, 64px);
}

.horizontal-icons,
.grid-scrollbox {
    overflow: visible !important;
}

.horizontal-icons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-icons, 8px);
    align-items: flex-start;
}

.placeholder-favicon,
.placeholder-icon,
.placeholder-blinkie,
.placeholder-button {
    width: auto !important;
    height: auto !important;
}

.horizontal-icons * {
    overflow: visible !important;
}

.horizontal-banners {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-icons, 8px);
    align-items: center;
}

.grid-scrollbox.vertical-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto !important;
    max-height: 260px;
    padding-right: 4px;
}

.grid-scrollbox.vertical-list img {
    align-self: flex-start;
}

.grid-item {
    min-width: 180px;
}

/* ========== DONATION CONTAINER ========== */
.donation-container {
    background-color: rgba(25, 0, 0, 0.8);
    border: 1px solid #990000;
    padding: 15px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.donation-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(153, 0, 0, 0.2) 0%, transparent 70%);
    z-index: -1;
}

.donation-title {
    color: #990000;
    font-size: 16px;
    border-bottom: 1px dashed #990000;
    padding-bottom: 8px;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.donation-option {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dotted rgba(153, 0, 0, 0.3);
}

.donation-option:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.donation-label {
    display: block;
    color: #990000;
    margin-bottom: 5px;
    font-size: 14px;
}

.donation-value {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #990000;
    padding: 8px;
    font-family: monospace;
    color: #cccccc;
    font-size: 12px;
    word-break: break-all;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.donation-link {
    display: inline-block;
    margin-top: 10px;
    background-color: rgba(153, 0, 0, 0.3);
    border: 1px solid #990000;
    padding: 8px 15px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s;
}

.donation-link:hover {
    background-color: rgba(153, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(153, 0, 0, 0.5);
}

/* ========== CONTACT METHODS ========== */
.contact-methods {
    margin-top: 20px;
}

.contact-method {
    margin-bottom: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #990000;
    padding: 10px;
}

.contact-label {
    color: #990000;
    font-size: 12px;
    margin-bottom: 5px;
}

.contact-value {
    font-family: monospace;
    color: #cccccc;
    word-break: break-all;
}

/* ========== SKILLS CONTAINER ========== */
.skills-container {
    margin: 20px 0;
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid #990000;
    padding: 15px;
}

.skill-cluster {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
}

.skill-node {
    background-color: rgba(153, 0, 0, 0.2);
    border: 1px solid #990000;
    padding: 8px 12px;
    font-size: 11px;
    color: #cccccc;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.skill-node::before {
    content: '>';
    position: absolute;
    left: 8px;
    color: #990000;
    opacity: 0;
    transition: opacity 0.3s;
}

.skill-node:hover {
    background-color: rgba(153, 0, 0, 0.4);
    transform: translateX(5px);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(153, 0, 0, 0.3);
}

.skill-node:hover::before {
    opacity: 1;
}

/* ========== PROFILE CONTENT ENHANCEMENTS ========== */
.profile-section {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #990000;
    padding: 20px;
    margin: 20px 0;
    position: relative;
}

.profile-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #990000, transparent);
}

.section-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #990000, transparent);
    margin: 30px 0;
    position: relative;
}

.section-divider::after {
    content: '◆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000000;
    color: #990000;
    padding: 0 10px;
    font-size: 10px;
}

.terminal-output {
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid #990000;
    padding: 15px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #00ff00;
    position: relative;
    overflow: hidden;
}

.terminal-output::before {
    content: '$ ';
    color: #990000;
}

.terminal-output::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #990000, transparent);
    animation: scan 2s infinite;
}

.ascii-profile {
    text-align: center;
    margin: 30px 0;
    filter: drop-shadow(0 0 10px rgba(153, 0, 0, 0.3));
    font-size: 10px;
    line-height: 8px;
    overflow-x: auto;
}

.tumblr-note {
    text-align: center;
    padding: 10px;
    margin: 20px 0;
    color: #CCCCCC;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px dashed #990000;
    font-style: italic;
}

/* ========== LINKS TAB ========== */
.links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.link-category {
    flex: 1 0 calc(50% - 20px);
    min-width: 250px;
    border: 1px solid #990000;
    background-color: rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}

.category-header {
    background-color: rgba(153, 0, 0, 0.3);
    padding: 10px;
    border-bottom: 1px solid #990000;
}

.category-title {
    margin: 0;
    font-size: 16px;
    color: #990000;
}

.link-list {
    list-style-type: none;
    padding: 10px;
    margin: 0;
}

.link-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(153, 0, 0, 0.3);
}

.link-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.link-title {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.link-icon {
    margin-right: 8px;
    color: #990000;
    font-size: 12px;
}

.link-title a {
    color: #CCCCCC;
    text-decoration: none;
    transition: all 0.3s;
}

.link-title a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 5px #990000;
}

.link-desc {
    font-size: 12px;
    color: #888888;
    padding-left: 20px;
}

/* ========== COLLAPSIBLE SECTIONS ========== */
.collapsible-section {
    margin-bottom: 15px;
    border: 1px solid #990000;
    background-color: rgba(0, 0, 0, 0.7);
}

.collapsible-header {
    padding: 10px;
    background-color: rgba(153, 0, 0, 0.3);
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.collapsible-header::after {
    content: "+";
    font-weight: bold;
}

.collapsible-header.active::after {
    content: "-";
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.collapsible-content.active {
    max-height: 300px;
    overflow-y: auto;
}

.collapsible-inner {
    padding: 15px;
}

/* ========== LOADING STATES ========== */
.image-loading {
    position: relative;
    background: linear-gradient(90deg, #111 0%, #222 50%, #111 100%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

/* ========== CSS VARIABLES ========== */
:root {
    --gap-icons: 8px;
    --fav-max-h: 32px;
    --icon-max-h: 64px;
    --blinkie-max-h: 40px;
    --button-max-h: 34px;
    --banner-max-w: 100%;
    --divider-max-w: 100%;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 768px) {
    .nav {
        flex-wrap: wrap;
    }
    
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .interface-container {
        width: calc(100% - 20px);
        margin: 10px auto;
    }
    
    .horizontal-icons {
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    pre.ascii-art {
        font-size: 8px;
        line-height: 6px;
    }
    
    .nav a {
        margin: 3px 8px;
        font-size: 12px;
        padding: 4px 8px;
    }
}

@media (max-width: 400px) {
    .tab-content {
        padding: 10px;
    }
    
    .content-panel {
        padding: 10px;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .animated-background,
    .scanline-effect,
    .crt-edge,
    .noise-effect,
    .top-banner,
    .bottom-banner,
    .loading-screen,
    .performance-indicator,
    .blood-container,
    .lain-banner,
    .iframe-item,
    .image-cloud::before,
    .image-cloud::after {
        display: none !important;
    }
    
    body, html {
        background: white;
        color: black;
    }
    
    .interface-container {
        border: none;
        box-shadow: none;
        background: white;
    }
}

/* ================================================
   VOIDRANE SPLICER :: PROFILE SECTION OVERHAUL
   CULT ARCHIVE / BBS TERMINAL / DARKWEB ARG
   Add these styles to your existing styles.css
================================================ */

@import url('https://fonts.googleapis.com/css2?family=VT323&family=Share+Tech+Mono&family=Courier+Prime:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --void-black: #03020a;
  --blood: #8a0000;
  --blood-bright: #cc0000;
  --phosphor: #c8ff44;
  --phosphor-dim: #6a8a1a;
  --static: #1a1a2e;
  --rust: #7a3300;
  --ash: #8a8a8a;
  --parchment: #c4b89a;
  --rot: #2d1a0a;
  --glitch-1: #ff0044;
  --glitch-2: #0044ff;
  --terminal-green: #33ff33;
  --terminal-dim: #1a5c1a;
}

.voidrane-profile-wrap {
  font-family: 'Share Tech Mono', monospace;
  background: var(--void-black);
  color: var(--parchment);
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--blood);
  box-shadow:
    inset 0 0 80px rgba(138, 0, 0, 0.08),
    0 0 40px rgba(138, 0, 0, 0.2);
}

/* scanline overlay */
.voidrane-profile-wrap::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.18) 2px,
    rgba(0,0,0,0.18) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* -------- TRANSMISSION HEADER -------- */
.vrd-header-block {
  border-bottom: 2px solid var(--blood);
  padding: 18px 24px 14px;
  background: linear-gradient(180deg, rgba(138,0,0,0.12) 0%, transparent 100%);
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.vrd-header-block::after {
  content: 'SESSION_ID: 0x4e55LL // AUTH: NONE // RISK: CRITICAL';
  font-family: 'VT323', monospace;
  font-size: 13px;
  color: var(--blood);
  position: absolute;
  bottom: 6px;
  right: 16px;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.vrd-sigil {
  font-family: 'VT323', monospace;
  font-size: 52px;
  line-height: 1;
  color: var(--blood-bright);
  text-shadow: 0 0 20px rgba(204,0,0,0.6), 2px 0 0 var(--glitch-1), -2px 0 0 var(--glitch-2);
  letter-spacing: -2px;
  animation: sigil-flicker 7s infinite;
  flex-shrink: 0;
}

@keyframes sigil-flicker {
  0%, 94%, 100% { opacity: 1; text-shadow: 0 0 20px rgba(204,0,0,0.6), 2px 0 0 var(--glitch-1), -2px 0 0 var(--glitch-2); }
  95% { opacity: 0.3; text-shadow: none; }
  96% { opacity: 1; }
  97% { opacity: 0.6; }
}

.vrd-header-text {
  flex: 1;
}

.vrd-header-text h2 {
  font-family: 'VT323', monospace;
  font-size: 28px;
  color: var(--phosphor);
  margin: 0 0 4px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(200,255,68,0.4);
}

.vrd-status-strip {
  font-family: 'VT323', monospace;
  font-size: 15px;
  color: var(--terminal-green);
  letter-spacing: 0.1em;
  animation: status-pulse 4s infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* -------- MAIN GRID -------- */
.vrd-main-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-template-rows: auto;
  gap: 0;
}

/* -------- LEFT COLUMN -------- */
.vrd-left-col {
  border-right: 1px solid var(--blood);
  display: flex;
  flex-direction: column;
}

/* ascii art block */
.vrd-ascii-block {
  padding: 14px 10px;
  border-bottom: 1px solid rgba(138,0,0,0.4);
  background: rgba(10,5,2,0.8);
  position: relative;
  overflow: hidden;
}

.vrd-ascii-block pre {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  line-height: 1.1;
  color: var(--blood-bright);
  margin: 0;
  text-shadow: 0 0 6px rgba(204,0,0,0.5);
  white-space: pre;
}

/* skills block */
.vrd-skills-block {
  padding: 16px 14px;
  border-bottom: 1px solid rgba(138,0,0,0.4);
  flex: 1;
}

.vrd-block-label {
  font-family: 'VT323', monospace;
  font-size: 18px;
  color: var(--phosphor);
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  text-transform: uppercase;
  border-bottom: 1px dashed var(--phosphor-dim);
  padding-bottom: 6px;
  text-shadow: 0 0 8px rgba(200,255,68,0.3);
}

.vrd-skill-node {
  display: block;
  font-family: 'VT323', monospace;
  font-size: 16px;
  color: var(--parchment);
  padding: 3px 0 3px 12px;
  position: relative;
  letter-spacing: 0.05em;
  transition: color 0.15s;
  cursor: default;
}

.vrd-skill-node::before {
  content: '> ';
  color: var(--blood);
  position: absolute;
  left: 0;
}

.vrd-skill-node:hover {
  color: var(--phosphor);
  text-shadow: 0 0 8px rgba(200,255,68,0.5);
}

/* transmitwave banner in left col */
.vrd-banner-wrap {
  border-bottom: 1px solid rgba(138,0,0,0.4);
  background: #000;
}

/* -------- RIGHT COLUMN -------- */
.vrd-right-col {
  display: flex;
  flex-direction: column;
}

/* -------- SECTION BLOCKS -------- */
.vrd-section {
  padding: 22px 28px;
  border-bottom: 1px solid rgba(138,0,0,0.35);
  position: relative;
}

.vrd-section::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blood-bright), transparent);
}

.vrd-section h3 {
  font-family: 'VT323', monospace;
  font-size: 22px;
  color: var(--phosphor);
  margin: 0 0 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(200,255,68,0.35);
}

.vrd-section p {
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--parchment);
  margin: 0 0 14px;
  text-indent: 2ch;
}

.vrd-section p:last-child { margin-bottom: 0; }

/* -------- TERMINAL OUTPUT -------- */
.vrd-terminal {
  background: #000;
  border-top: 1px solid var(--terminal-dim);
  border-bottom: 1px solid var(--terminal-dim);
  padding: 10px 20px;
  font-family: 'VT323', monospace;
  font-size: 15px;
  color: var(--terminal-green);
  letter-spacing: 0.08em;
  text-shadow: 0 0 8px rgba(51,255,51,0.5);
  position: relative;
  overflow: hidden;
}

.vrd-terminal::before {
  content: '$ ';
  color: var(--phosphor);
  opacity: 0.7;
}

.vrd-terminal.vrd-terminal-quote {
  color: var(--ash);
  border-color: rgba(138,0,0,0.3);
  font-style: italic;
  text-shadow: none;
  font-size: 16px;
}

.vrd-terminal.vrd-terminal-quote::before { content: ''; }

/* -------- DIVIDER -------- */
.vrd-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blood), var(--blood-bright), var(--blood), transparent);
  margin: 0;
  opacity: 0.6;
}

/* -------- IMAGE BLOCKS -------- */
.vrd-img-block {
  padding: 0;
  border-bottom: 1px solid rgba(138,0,0,0.35);
  overflow: hidden;
  position: relative;
}

.vrd-img-block img {
  display: block;
  width: 100%;
  border: none;
  margin: 0;
  filter: saturate(0.7) contrast(1.1);
  transition: filter 0.3s;
}

.vrd-img-block img:hover {
  filter: saturate(1) contrast(1.2) brightness(1.05);
}

.vrd-img-block-single {
  padding: 14px 28px;
  border-bottom: 1px solid rgba(138,0,0,0.35);
}

.vrd-img-block-single img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid var(--blood);
  filter: saturate(0.7) contrast(1.1);
}

/* -------- LAIN BANNER -------- */
.lain-banner {
  position: relative;
  overflow: visible;
  height: 90px;
  background: #000;
}

.lain-banner-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(138,0,0,0.04) 0px,
    rgba(138,0,0,0.04) 1px,
    transparent 1px,
    transparent 12px
  );
  pointer-events: none;
  z-index: 2;
}

.lain-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.lain-banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'VT323', monospace;
  font-size: 28px;
  letter-spacing: 0.3em;
  padding: 0 6px 0 12px;
  white-space: nowrap;
  color: rgba(204,0,0,0.8);
  text-shadow: 0 0 20px rgba(204,0,0,0.6), 0 0 60px rgba(204,0,0,0.2);
  z-index: 3;
  pointer-events: none;
  animation: banner-glitch 9s infinite;
}

@keyframes banner-glitch {
  0%, 88%, 100% { clip-path: none; transform: translate(-50%, -50%); }
  89% { clip-path: inset(30% 0 40% 0); transform: translate(calc(-50% + 4px), -50%); }
  90% { clip-path: inset(60% 0 10% 0); transform: translate(calc(-50% - 4px), -50%); }
  91% { clip-path: none; transform: translate(-50%, -50%); }
}

/* -------- SIDEBAR VISUALS -------- */
.vrd-sidebar-visual {
  border-bottom: 1px solid rgba(138,0,0,0.4);
  background: #000;
  position: relative;
  overflow: hidden;
}

.vrd-sidebar-visual canvas {
  display: block;
  width: 100%;
}

.vrd-visual-label {
  position: absolute;
  bottom: 5px;
  right: 8px;
  font-family: 'VT323', monospace;
  font-size: 11px;
  color: rgba(138,0,0,0.5);
  letter-spacing: 0.12em;
  pointer-events: none;
  z-index: 4;
}

/* -------- BOTTOM STRIP -------- */
.vrd-bottom-strip {
  background: linear-gradient(180deg, rgba(138,0,0,0.07) 0%, rgba(138,0,0,0.18) 100%);
  border-top: 2px solid var(--blood);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'VT323', monospace;
  font-size: 14px;
  color: var(--blood);
  letter-spacing: 0.1em;
  opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .vrd-main-grid {
    grid-template-columns: 1fr;
  }
  
  .vrd-left-col {
    border-right: none;
    border-bottom: 1px solid var(--blood);
  }
  
  .vrd-header-block {
    flex-direction: column;
    text-align: center;
  }
  
  .vrd-header-block::after {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 10px;
  }
}
