body {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #F5E712;
    font-family: 'Anonymous Pro', monospace;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.8) 100%), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><rect width="200" height="200" fill="none"/><path d="M0,0 L200,200 M200,0 L0,200" stroke="rgba(0, 255, 0, 0.05)" stroke-width="0.5"/></svg>');
    background-attachment: fixed;
    position: relative;
    overflow-y: auto;         
}

.background-container {
      overflow:hidden;
      display: flex;
      position: relative;
      padding: 0;
      margin:0;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.11), rgba(0, 0, 0, 0.11) 1px, transparent 1px, transparent 2px),
        radial-gradient(ellipse at center, rgba(50, 49, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
    z-index: 1;
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.3);
}

.monitor-edge {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: 
        inset 0 0 10px rgba(251, 255, 0, 0.3),
        0 0 30px rgba(50, 45, 0, 0.5);
    pointer-events: none;
    z-index: 10;
}

.monitor-scanline {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 238, 0, 0.08);
    opacity: 0.8;
    z-index: 9;
    pointer-events: none;
    animation: scanline 6s linear infinite;
}

@keyframes scanline {
    0% { top: -10px; }
    100% { top: 100vh; }
}

.glitch {
    position: relative;
    font-size: 4em;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    margin: 40px 0;
    color: #F5E712;;
    text-shadow: 0.05em 0 0 rgba(255, 238, 0, 0.75), -0.025em -0.05em 0 rgba(255, 251, 0, 0.75);
    animation: glitch 3s infinite;
    z-index: 2;
}
.container {
    max-width: 1800px;
    margin: 0 auto;
    flex-grow: 1;
    position: relative;
    z-index: 2;           
    height:auto;   
}

canvas {
    position: absolute; /* Overlay canvas on top of other content */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Prevent mouse interactions with the canvas */
    z-index: -1;
}

.main-display {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr 1.5fr;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
    z-index: 2;
}

.main-display > div {
    background: rgba(20, 20, 0, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 5px;
    overflow-y: auto; /* Added: Ensure scrollbar if content overflows */
}

.stats-panel, .info-panel {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(34, 32, 1, 0.3);
    padding: 15px;
    border-radius: 5px;
    height: 100%;
}

.stats-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 4;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.stat-item {
    text-align: center;
    border: 1px solid rgba(255, 251, 0, 0.2);
    padding: 10px 5px;
    font-size: 0.8em;
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.7em;
    color: #F5E712;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.stat-value {
    font-size: 1.2em;
    color: #F5E712;;
}


.oscillograph {
    flex-grow: 1;
    margin-top: 15px;
    border: 1px solid rgba(251, 255, 0, 0.2);
    position: relative;
    height: 100px;
    margin-bottom: 10px;
    overflow: hidden;
}

.oscillograph-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    stroke: #F5E712;
    stroke-width: 1.5;
    fill: none;
    animation: oscillate 3s infinite;
}

@keyframes oscillate {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.elevator-control {
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 4;
}

.cmd-input {
    display: flex;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 251, 0, 0.3);
    padding: 10px;
    margin-top: 20px;
    animation: glitch 2s infinite;
    z-index: 2;
}

.cmd-prompt {
    color: #F5E712;;
    margin-right: 5px;
    animation: glitch 2s infinite;
    z-index: 20;
}

#command {
    background: transparent;
    border: none;
    color: #F5E712;;
    font-family: 'Anonymous Pro', monospace;
    flex-grow: 1;
    outline: none;
    caret-color: #F5E712;;
    animation: glitch 2s infinite;
    z-index: 20;
}

.command-log {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(32, 32, 1, 0.3);
    padding: 10px;
    margin-top: 10px;
    height: 150px;
    overflow-y: auto;
    font-size: 0.9em;
    color: #F5E712;;
    overflow-y: auto;
    animation: glitch 2s infinite;
}

.cmd-entry {
    margin-bottom: 5px;
    animation: glitch 2s infinite;
}

.commands-help {
    margin-top: 10px;
    font-size: 0.8em;
    color: #f5e612d7;
    border-top: 1px solid rgba(251, 255, 0, 0.2);
    padding-top: 10px;
    animation: glitch 2s infinite;
}

.help-command {
    margin: 5px 0;
    color: #f5e612d3;
    animation: glitch 2s infinite;
}

.info-panel {
    margin-left:30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    
}

.info-title {
    font-size: 1.2em;
    color: #F5E712;;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 251, 0, 0.2);
    padding-bottom: 10px;
}

.info-content {
    font-size: 0.9em;
    line-height: 1.6;
    height: auto;
    color: #F5E712;
    flex-grow: 1;
}

.info-metadata {
    margin-top: 15px;
    font-size: 0.8em;
    color: #f5e612de;
    border-top: 1px solid rgba(255, 238, 0, 0.2);
    padding-top: 10px;
}

.meta-item {
    margin: 5px 0;
}

.search-container {
    display: none;
}

button {
    padding: 10px 20px;
    font-size: 1.2em;
    background: rgba(255, 251, 0, 0.2);
    border: 1px solid rgba(255, 238, 0, 0.3);
    color: #F5E712;;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

button:hover {
    background: rgba(255, 238, 0, 0.3);
}

.result {
    margin-top: 20px;
    opacity: 0;
    transition: opacity 1s ease;
}

.result.visible {
    opacity: 1;
}

.warning {
    color: #F5E712;;
    font-size: 0.8em;
    text-align: center;
    margin-top: 40px;
    animation: fade 2s infinite;
}

@keyframes fade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.static {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 3;
    mix-blend-mode: screen;
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.02;
    z-index: 2;
    mix-blend-mode: screen;
}

.owner-banner {
    position: fixed;
    top: 80px;
    right: 100px;
    background: rgba(50, 49, 0, 0.7);
    padding: 8px 15px;
    border: 1px solid #f5e61262;
    font-size: 0.9em;
    z-index: 1001;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { background: rgba(49, 50, 0, 0.7); }
    50% { background: rgba(75, 80, 0, 0.8); }
}

@keyframes liminalPulse {
    0%, 100% { background: rgba(30, 30, 60, 0.7); } /* Mystical bluish tint */
    50% { background: rgba(50, 50, 90, 0.8); } /* Slightly brighter mystical tint */
}

.quantum-header, .quantum-subtext {
    text-align: center;
    padding: 0 20px;
    margin-bottom: 10px;
    color: #F5E712;
    animation: glitch 5s infinite;
    z-index: 2;
}

.quantum-header {
    font-size: 1.2em;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

.quantum-subtext {
    font-size: 0.9em;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.5;
    animation: glitch 4s infinite;
    z-index: 2;
    position:relative;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: none; /* remove max width */
    margin: 0 auto 20px; /* remove margin */
    height: auto; /* Set a specific height */
    background: #101000;
    border-radius: 10px;
    padding: 30px 20px 40px 20px;
    box-shadow: 
        0 0 0 3px #201e00,
        0 0 0 5px #201e00,
        0 0 15px rgba(50, 49, 0, 0.8);
    transform: perspective(800px) rotateX(2deg);
    height: 100%;
}

.tv-body {
    position: relative;
    width: 100%;
    background: #151500;
    border-radius: 10px 10px 10px 10px / 10px 10px 20px 20px;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(47, 50, 0, 0.5);
}

.tv-screen {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    background: #000;
    border-radius: 10px 10px 0 0 / 10px 10px 0 0;
    overflow: hidden;
    border: 5px solid #151500;
    box-sizing: border-box;
}

.tv-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 10px 0;
    background: #101000;
    border-radius: 0 0 10px 10px;
    align-items: center;
}
.tv-control-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tv-knob {
    width: 15px;
    height: 15px;
    background: #F5E712;
    border-radius: 50%;
    border: 2px solid #1e2000;
    box-shadow: 0 1px 2px rgba(0,0,0,0.5);
    position: relative;
    cursor: pointer;
    padding: 0;           /* remove any padding added by browser */
    outline: none;         /* remove outline on focus */
    margin-bottom: 5px;
}

.tv-control-item span {
    color: #F5E712;
    font-size: 0.7em;
    text-align: center;
}

.tv-knob::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 2px;
    background: #201d00;
    transform: translate(-50%, -50%);
}

.tv-label {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #201f00;
    padding: 3px 10px;
    border-radius: 10px;
    color: #F5E712;;
    font-size: 0.7em;
    letter-spacing: 1px;
}

.frame-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s;
    object-fit: cover;
    filter: brightness(1.2) contrast(1.3) saturate(0.3) sepia(0.2) hue-rotate(100deg);
}

.frame.active {
    opacity: 1;
}

.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(255, 238, 0, 0.05) 51%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 3;
}
       

.crt-flicker {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #F5E712;;
    opacity: 0;
    pointer-events: none;
    z-index: 6;
    animation: flicker 0.15s infinite;
}

@keyframes flicker {
    0% { opacity: 0; }
    1% { opacity: 0.02; }
    2% { opacity: 0; }
    100% { opacity: 0; }
}

.screen-curve {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(0, 0, 0, 0) 40%,
        rgba(20, 19, 0, 0.5) 100%
    );
    pointer-events: none;
    z-index: 5;
    border-radius: 10px 10px 0 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(10, 9, 0, 0) 50%, rgba(20, 20, 0, 0.15) 50%),
        linear-gradient(90deg, rgba(255, 238, 0, 0.03), rgba(200, 187, 0, 0.02), rgba(150, 147, 0, 0.03));
    background-size: 100% 4px, 100% 100%;
    z-index: 2;
    mix-blend-mode: screen;
}

.timestamp {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 20, 0, 0.7);
    padding: 3px 6px;
    font-size: 0.7em;
    font-family: 'Anonymous Pro', monospace;
    color: #F5E712;;
    z-index: 7;
}

.sublevel-indicator {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 20, 0, 0.7);
    padding: 3px 6px;
    font-size: 0.8em;
    font-family: 'Anonymous Pro', monospace;
    color: #F5E712;;
    z-index: 7;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 rgba(255, 238, 0, 0.75), -0.025em -0.05em 0 rgba(255, 238, 0, 0.75);
    }
    30% {
        text-shadow: 0.05em 0 0 rgba(255, 238, 0, 0.75), -0.025em -0.05em 0 rgba(255, 238, 0, 0.75);
    }
    31% {
        text-shadow: 0.08em 0 0 rgba(255, 238, 0, 0.75), -0.025em -0.05em 0 rgba(255, 238, 0, 0.75);
    }
    32% {
        text-shadow: 0.02em 0 0 rgba(255, 238, 0, 0.75), -0.04em -0.05em 0 rgba(255, 238, 0, 0.75);
    }
    33% {
        text-shadow: 0.05em 0 0 rgba(255, 238, 0, 0.75), -0.025em -0.05em 0 rgba(255, 238, 0, 0.75);
    }
    100% {
        text-shadow: 0.05em 0 0 rgba(255, 238, 0, 0.75), -0.025em -0.05em 0 rgba(255, 238, 0, 0.75);
    }
}

.glitching-text span {
    display: inline-block;
}

/* Bandcamp Ad Styles */
.bandcamp-ad {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bandcamp-ad a img {
    width: 50%; /* Reduce the album art size */
    border: 1px solid rgba(229, 255, 0, 0.3);
    border-radius: 5px;
    margin-bottom: 10px;
    display: block;        /* Add this */
    margin-left: auto;     /* Add this */
    margin-right: auto;    /* Add this */
}

.bandcamp-ad #track-info {
    color: #F5E712;;
    font-size: 0.9em;
}

.bandcamp-ad #play-pause-button {
    padding: 5px 10px;
    font-size: 0.8em;
}

.volume-container {
    display: flex;
    align-items: center;
    margin-top: 10px; /* Add some space above */
}

.volume-label {
    color: #F5E712;
    font-size: 0.8em; /* Adjust font size */
    margin-right: 5px; /* Space between label and volume bar */
}

.volume-bar-segment {
    width: 10px; /* Width of each segment */
    height: 20px; /* Height of each segment */
    background-color: #444; /* Default color for empty segments */
    margin-right: 2px; /* Spacing between segments */
    cursor: pointer; /* Change cursor to indicate clickability */
}
.numeric-keypad {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(19, 20, 0, 0.8);
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #F5E712;;
    margin-top: 10px;
}

.side-panel {
    color: #F5E712;;
    font-family: 'Anonymous Pro', monospace;
    text-align: center;
    padding: 10px;
    border: 1px solid #F5E712;;
    background: rgba(20, 20, 0, 0.8);
    opacity: 0.8;
}

.keypad-display {
    width: 30%;
    background: black;
    color: #F5E712;;
    text-align: center;
    padding: 5px;
    font-size: 1.5em;
    border: 2px solid #F5E712;;
    font-family: 'Anonymous Pro', monospace;
}

.keypad-keys {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.keypad-btn {
    width: 60px;
    height: 50px;
    font-size: 1.5em;
    background: rgba(251, 255, 0, 0.2);
    border: 1px solid rgba(255, 251, 0, 0.3);
    color: #f5e6128c;
    cursor: pointer;
    text-align: center;
    line-height: 35px; /* Centering text */
}

.keypad-btn:hover {
    background: rgba(255, 251, 0, 0.3);
}

.keypad-toggle {
    cursor: pointer;
    color: #F5E712;;
    text-align: center;
    font-size: 2em;
    margin-bottom: 5px;
}

/* Prevent the glitch effect from hitting the keypad */
.numeric-keypad,
.numeric-keypad * {
    animation: none !important;
}

.grid-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 1rem;
padding: 1rem;
}

.thumbnail {
cursor: pointer;
position: relative;
transition: transform 0.2s;
aspect-ratio: 16/9;
background-size: cover;
background-position: center;
}

.play-button {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 50px; /* Adjust size */
color: rgba(255, 255, 255, 0.7); /* White with 70% opacity */
text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
pointer-events: none; /* Allows clicks to pass through */
opacity: 0.7;
transition: opacity 0.2s ease;
z-index: 3;
}

.thumbnail:hover .play-button {
opacity: 1;
}

.thumbnail:hover {
overflow: hidden;
transform: scale(1.03);
}

/* Popup Styling */
.popup-container {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0,0,0,0.8);
z-index: 1000;
align-items: center;
justify-content: center;
}

.popup-content {
width: 60vw;
height: 60vh;
background: var(--your-site-bg-color);
border-radius: 8px;
padding: 20px;
position: relative;
}

#yt-player {
width: 100%;
height: 100%;
border: none;
}

.close-btn {
position: absolute;
top: -30px;
right: -30px;
color: white;
font-size: 2rem;
cursor: pointer;
text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

#video-thumbnails .thumbnail {
position: relative;
overflow: hidden;
filter: saturate(40%);
border: 2px solid #333; /* Adds a solid border */
border-radius: 5px; /* Optional: Rounds the corners */
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5); /* Adds depth with shadow */
}   

#video-thumbnails .thumbnail::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(0, 10, 0, 0) 50%, rgba(0, 20, 0, 0.15) 50%),
        linear-gradient(90deg, rgba(0, 255, 0, 0.03), rgba(0, 200, 0, 0.02), rgba(0, 150, 0, 0.03));
    background-size: 100% 4px, 100% 100%;            
    border:#052000;
    border-radius: 2px;
    z-index: 1;
    mix-blend-mode: screen;
}

#video-thumbnails .thumbnail::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 255, 0, 0.05) 51%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 2;
}

.suspect-card {
background: rgba(20, 19, 0, 0.8);
border: 1px solid rgba(251, 255, 0, 0.3);
padding: 15px;
margin-bottom: 15px;
position: relative;
overflow: hidden;
}

.suspect-card.hidden {
display: none;
}

.suspect-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 251, 0, 0.05) 0px,
        rgba(255, 238, 0, 0.05) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
}

.suspect-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.suspect-portrait {
    width: 100px;
    height: 120px;
    border: 2px solid #F5E712;;
    position: relative;
    overflow: hidden;
    flex: 1; /* Ensures equal size with wireframe */
    aspect-ratio: 1; /* Makes it a square */
    object-fit: cover; /* Ensures the image looks good */
}

.suspect-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(120%);
}

.portrait-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(238, 255, 0, 0.1) 25%,
        transparent 25%,
        transparent 75%,
        rgba(255, 230, 0, 0.1) 75%
    );
    animation: glitch-scan 5s infinite linear;
}

.visuals {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#wireframe-model {
    flex: 1; /* Ensures equal size with profile picture */
    aspect-ratio: 1; /* Makes it a square */
}

.suspect-info {
    flex: 1;
    width: 100%;
    font-size: 1.4em;
}

.suspect-info div {
    margin-bottom: 5px; /* Space between lines */
}

.info-line {
    margin: 3px 0;
    flex: 1;
    padding: 12px 0px;
    background: rgba(30, 30, 0, 0.5);
    display: flex;
    justify-content: space-between;
    max-width: 300px;
    width: 100%;
}

 .info-line {
    display: grid;
    grid-template-columns: 50px 2fr; /* Reduced label width */
    gap: 3px;
    margin: 3px 0;
    padding: 2px 0px;
}

.label {
    color: #F5E712;
    margin-right: 10px;
}

.social-links {
    border-top: 1px solid rgba(255, 251, 0, 0.2);
    padding-top: 10px;
    display: flex;
    justify-content: space-around;
    gap: 8px;
    min-height: 28px; /* Prevent collapse when empty */
}

.social-icon {
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: brightness(1.5);
}

/* Bandcamp Icon */
.bc-icon { 
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="%23aaa700" d="M0 18.75l7.437-13.5H24L16.541 18.75H0zM2.782 16.875h10.396L19.219 6.75h-10.4l-6.037 10.125z"/></svg>');
}

/* SoundCloud Icon */
.sc-icon {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="%23aaa700" d="M14.018 7.829v8.767c1.546 0 2.813-1.288 2.813-2.86h.037c1.317-.092 2.35-1.207 2.35-2.548 0-1.398-1.102-2.53-2.46-2.53H16.8v-.849c0-2.202-1.726-3.982-3.854-3.982-1.875 0-3.44 1.3-3.846 3.03-.094.3-.15.614-.15.943v7.51c.094.038.18.057.282.057.66 0 1.2-.547 1.2-1.223V7.829h7.886zM2.4 15.375v-1.5h3.6v1.5H2.4zm5.4-1.688v-1.5H12v1.5H7.8zm5.4-1.687v-1.5h3.6v1.5h-3.6z"/></svg>');
}

/* YouTube Icon */
.yt-icon {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="%23aaa700" d="M23.5 6.506a3.25 3.25 0 0 0-2.3-2.4C19.2 3.6 12 3.6 12 3.6s-7.2 0-9.2.506a3.25 3.25 0 0 0-2.3 2.4C0 8.606 0 12 0 12s0 3.394.5 5.494a3.25 3.25 0 0 0 2.3 2.4c2 .506 9.2.506 9.2.506s7.2 0 9.2-.506a3.25 3.25 0 0 0 2.3-2.4C24 15.394 24 12 24 12s0-3.394-.5-5.494zM9.6 15.6V8.4l6.2 3.6-6.2 3.6z"/></svg>');
}

/* Instagram Icon */
.ig-icon {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="%23aaa700" d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.406-11.845a1.44 1.44 0 1 0 0 2.881 1.44 1.44 0 0 0 0-2.881z"/></svg>');
}

@keyframes glitch-scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.missing-portrait {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    background: #100f00;
    color: rgba(170, 167, 0, 0.911);
    font-size: 0.7em;
    line-height: 1.2;
    padding: 5px;
    border: 1px solid rgba(238, 255, 0, 0.3);
}



.label {
    color: rgba(170, 159, 0, 0.945);
    text-align: left; /* Changed from right to left */
    font-size: 0.7em; /* Slightly smaller */
    min-width: 70px; /* Prevent wrapping */
    white-space: nowrap;
}

.value {
    color: #F5E712;;
    font-size: 0.75em;
    word-break: break-word;
    padding-left: 25px; /* Add breathing room */
    text-align: right;
    margin-left: -2px; /* Compensate for grid gap */
    flex: 1;
}




.social-links:empty {
    display: none;
}

/* Title container styling */
    .title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 55px 0;
    z-index: 2;
    }

    .title-container h1 {
    font-size: 2rem; /* Adjust as needed */
    text-align: center;
    z-index: 2; /* Ensure title is above the images */
    }

    /* Decorative image styling */
    .decorative-image.left {
    width: 700px; /* Adjust width as needed */
    height: 700px; /* Adjust height as needed */
    background-image: url('sublevel_footage/tv_flicker_effect41.gif?t=12345'); /* Ensure this path is correct */
    background-size: cover;
    background-position: center;
    transform: rotate(11deg); /* Rotate by 30 degrees */
    z-index: -1;
     /* Apply gradient mask starting from edges */
    -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0) 60%);
    -webkit-mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0) 60%);
    mask-size: cover;
    mask-repeat: no-repeat;
    }

    .decorative-image.left {
    position: absolute;
    margin-top: 60px;
    left: 1200px; /* Adjust position as needed */
    z-index: -1;
    }

    .decorative-image.right {                
    width: 1100px; /* Adjust width as needed */
    height: 600px; /* Adjust height as needed */
    background-image: url('sublevel_footage/cover_gif/cover_right61.png');
    background-size: cover;
    background-position: center;
    position: absolute;            
    margin-top: 60px;            
    transform: rotate(-11deg); 
    right: 700px; /* Adjust position as needed */
    z-index: -1;
    }

    .glitch-overlay {
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background-color: rgba(255,0,0,0.2);
    animation: glitchAnimation .2s infinite alternate;
    z-index:9998;
    }

    @keyframes glitchEffect {
        from { opacity:0; }
        to { opacity:.4; background-color:red; }
    }

    .incoming-transmission-text {
        position: fixed;
        top:50%; left:50%;
        transform: translate(-50%, -50%);
        color:red;
        font-size:3rem;
        font-weight:bold;
        z-index:10000;
        animation: flickerText .5s infinite alternate;
    }

    @keyframes flickerText {
    from { opacity:0.2; }
    to { opacity:1; }
    }

    @keyframes glitchEffect {
    from { text-shadow:none; }
    to { text-shadow:-2px -2px red,2px -2px red,-2px 2px red,2px 2px red; }
    }

    .transmission-popup {
    position: fixed;
    top:-100%; left:50%;
    transform:translateX(-50%);
    width:80%; max-width:900px;
    background-color:#000;border-radius:.5rem;padding:.5rem;z-index:9999;
    transition:.5s ease-in-out; display:flex; justify-content:center; align-items:center;
    }

    .transmission-popup iframe {
    width:100%; height:60vh;border:none;
    }

    .play-transmission-button {
    position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
    padding:1.5rem;background:red;color:white;font-family:'Anonymous Pro', monospace;;cursor:pointer;border-radius:1.76rem;
    }

    .close-popup-button {
    position:absolute;
    top:10px;
    right:15px;
    color:white;
    cursor:pointer;
    font-size:24px;
    font-weight:bold;
    z-index:10001;
    }

    /* Default theme (Sublevel 0) */
    .default-theme {
        background-color: #001a00;
        color: #F5E712;
        filter: none;
    }


    @keyframes quantumPulse {
    from { box-shadow: 0px 0px 20px #00FFCC; }
    to { box-shadow: 0px 0px 40px #00FFCC; }
    }


    @keyframes alienGlow {
    from { text-shadow: 0px 0px 5px rgba(200,255,176,0.8); }
    to { text-shadow: 0px 0px 10px rgba(200,255,176,1); }
    }

    @keyframes flickerEffect {
    from { opacity: 1; }
    to { opacity: 0.98; }
    }


    @keyframes glowEffect {
    from { text-shadow: 0px 0px 10px rgba(230,199,230,.7); }
    to { text-shadow: 0px 0px 20px rgba(230,199,230,.9); }
    }


    @keyframes runicPulse {
    from { background-position: top left; }
    to { background-position: bottom right; }
    }


    @keyframes flickerEffect {
    from { opacity: 1; }
    to { opacity: 0.97; }
    }


    /* Add transition effects for smooth changes */
    body {
        transition: all 1s ease-in-out;
    }

    #symbol-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none; /* Prevent interference with user interactions */
        z-index: 9999; /* Ensure it appears above other elements */
        overflow: hidden;
        
    }

    .symbol {
        position: absolute;
        font-size: 50px; /* Adjust size as needed */
        color: #f5e612cb; /* Semi-transparent green */
        opacity: 0; /* Start hidden */
        animation: fadeInOut 3s ease-in-out forwards;
    }

    .symbol {
        position: absolute;
        transition: all 0.1s ease-in-out; /* Quick transition for flash effect */
    }

    .symbol::before, .symbol::after {
        content: attr(data-glitch);
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0.8;
    }

    .symbol::before {
        animation: glitch-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
        color: #0ff;
        z-index: -1;
    }

    .symbol::after {
        animation: glitch-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
        color: #f0f;
        z-index: -2;
    }

    @keyframes fadeInOut {
        0% {
            opacity: 0;
            transform: scale(0.5);
        }
        50% {
            opacity: 1;
            transform: scale(1);
        }
        100% {
            opacity: 0;
            transform: scale(1.5);
        }
    }

    @keyframes glitchFlash {
        0% {
            opacity: 1;
            transform: scale(1);
        }
        10% {
            opacity: 0;
            transform: scale(1);
        }
        20% {
            opacity: 0;
            transform: scale(1);
        }
        30% {
            opacity: 1;
            transform: scale(1);
        }
        40% {
            opacity: 0;
            transform: scale(1);
        }
        50% {
            opacity: 0;
            transform: scale(1);
        }
        60% {
            opacity: 0;
            transform: scale(1);
        }
        70% {
            opacity: 0.5;
            transform: scale(1.5);
        }
        100% {
            opacity: 0;
            transform: scale(1.5);
        }
    }

    .glass-pane {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(60, 105, 141, 0.6); /* Darker overlay */
        z-index: 2; /* Behind content */
        backdrop-filter: blur(1.8px); /* Stronger blur effect */
    }
    
    .elevator-hatch {
        position: absolute;
        left: 0;
        top: 20px;
        width: 30%;
        height: 30%;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 3;
        transform-origin: center; /* Set scaling origin to center */
        transform: scale();
    }

    .elevator-hatch2 {
        position: absolute;
        left: 50px;
        top: -120px;
        width: 400px;
        height: 500px;
        background-image: url('sublevel_footage/elevator_hatch_small_bw3.png');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 3;
        transform-origin: center; /* Set scaling origin to center */
        transform: scale(1);
    }

    .sublevel_animation{
    left: 100px;
    top: 0px;
    position: relative;
    width: 60%; /* Match header width */
    height: 160px; /* Match header height */
    overflow: hidden; /* Restrict visibility */            
    border-radius: 20px; /* Rounded corners for submarine effect */
    z-index: 2;
    background-size: contain;
    }

    .submarine_frame-container {
    position: relative;
    width: 98%;
    height: 86%;
    border: 20px solid #444; /* Thick frame border */
    border-radius: 20px; /* Rounded corners for submarine effect */
    border: 20px solid #756a02;
    background-color: #22222200; /* Frame background color */
    z-index: 4; 
    box-shadow:
            inset -4px -4px 8px #000,
            inset -6px -6px 12px rgba(255,255,255,0.1),
            0 0 15px rgba(0,255,255,0.5); /* Neon glow effect */
    }

    .floor-animation {
    position: relative;
    z-index: -1;
    background-size: contain;
    }

    @keyframes shake {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-1px, 1px); }
    50% { transform: translate(1px, -1px); }
    75% { transform: translate(-1px, -1px); }
    }

    .shake {
    animation: shake 0.5s ease-in-out infinite;
    }
    
    .movie-strip {
    position: absolute;
    background-size: cover;
    top: 200px;
    left: 0;
    width: 100%;
    z-index: -2;
    }

    .floor-frame {
    width: 100%;
    height: 350px; /* Match viewport */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    
    }

    .background-3d {
        position: absolute;
        overflow: auto;
        z-index: 1;
        width: 100%;   
        height: 100%;        
        overflow: hidden;

    }
    .background2-3d {
        position: absolute;
        overflow: hidden;
        z-index: 1;
        width: 100%;   
        height: 300vh;
        background-image: url('sublevel_footage/elevator_wall9-2.png');
        background-size:cover;
        
    }