body.scanlines::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.2) 50%
    ), 
    linear-gradient(90deg, 
        rgba(255, 0, 0, 0.03), 
        rgba(0, 255, 0, 0.01), 
        rgba(0, 0, 255, 0.03)
    );
    z-index: 9999;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

@font-face {
    font-family: "GOTHIC"; 
    src: url("https://roguepebble.neocities.org/fonts/GOTHICFONT.woff2") format("truetype");
}

@font-face {
    font-family: "STEEL"; 
    src: url("https://roguepebble.neocities.org/fonts/GothSteel.woff2") format("truetype");
}

.wrapper-2 {
  display: flex;
  flex-direction: row; 
  justify-content: flex-start; 
  align-items: flex-start;
  width: 100%;
  gap: 10px;    
  padding: 10px;
  box-sizing: border-box;
  border-top: 3px solid red;
  margin-top: 20px;          
  padding-top: 20px; 
  box-shadow: 0px -10px 15px -10px rgba(255, 0, 0, 0.5);

}

.main {
  flex: 1;               
  margin-left: 0 !important; 
  position: relative;      
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-right: 6px solid red; 
  padding-right: 20px;        
}

.sidebar-right {
  position: relative !important; 
    
  right: auto !important;     
  float: none !important;     
  width: 320px;          
  flex-shrink: 0;        
  display: flex;
  flex-direction: column;
  gap: 20px;
}




.main .box .inner {
    padding: 0;
    box-sizing: border-box;
}

.main .box .inner img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0; 
}

.main .box .inner p,
.main .box .inner h1 {
    margin: 20px;
    padding: 0;  
}

.header-group-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start; 
  min-height: 80px; 
}

.title {
  padding-left: 20px; 
  z-index: 5;
}

      #toggleAudio {
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
  }

:root {
  --tech-red: red;
  --dark-bg: black; 
}

.tech-box {
  position: relative;
  width: 100%;
  height: 260px;
  background: var(--tech-red);
  margin-top: 30px; 
  
clip-path: polygon(
    0% 40px, 40px 0%,                   
    
    calc(50% - 120px) 0%,               
    calc(50% - 100px) 40px,             
    calc(50% + 100px) 40px,             
    calc(50% + 120px) 0%,               
    
    calc(100% - 40px) 0%, 100% 40px,    

    100% calc(100% - 40px), calc(100% - 40px) 100%, 

    40px 100%, 0% calc(100% - 40px)
    
    );
}
.tech-box::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  
  background: var(--dark-bg);
  clip-path: inherit; 
  z-index: 1;
}

.tech-label-top {
    position: absolute;
    z-index: 50;
    left: 50%;
    transform: translateX(-50%);
    top: 50px; 
    color: white;
    font-family: "coolfont", monospace;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap; 
}


.music-cred {
    position: absolute;
    z-index: 50;
    left: 50px;       
    top: 10px;       
    transform: none; 
    color: white;
    font-family: monospace;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap; 
}

.content {
  position: relative;
  z-index: 2; 
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow:hidden;
  
  clip-path: polygon(
    0% 40px, 40px 0%,                   
    
    calc(50% - 120px) 0%,               
    calc(50% - 100px) 40px,             
    calc(50% + 100px) 40px,             
    calc(50% + 120px) 0%,               
    
    calc(100% - 40px) 0%, 100% 40px,    

    100% calc(100% - 40px), calc(100% - 40px) 100%, 

    40px 100%, 0% calc(100% - 40px)
    
    );
}

rp {
    display: inline-block; 
    color: red;
    margin: 0;
    font-family: "GOTHIC", monospace; 
    font-size: 6rem;
    letter-spacing: 4px;
    text-shadow: 0 0 10px var(--tech-red);
    position: relative;
    top: 10px;
    z-index: 20; 
    user-select: none;  
    -webkit-user-select: none; 
    -moz-user-select: none;     
    -ms-user-select: none;
    animation: neonFlicker 4s infinite;
}

rp::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: red;
    opacity: 0.25; 
    z-index: 30;
    pointer-events: none;
    animation: chaoticGlitch 1.4s infinite linear;
    text-shadow: 
        2px 2px 0px #fff, 
       -2px -2px 0px #ff0000;
}

@keyframes neonFlicker {    
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {        
        text-shadow: 0 0 2px #ff0000, 0 0 8px rgba(255, 0, 0, 0.8), 0 0 15px rgba(255, 0, 0, 0.4);        
        opacity: 1;    
    }    
    20%, 24%, 55% {        
        text-shadow: 0 0 2px rgba(255, 0, 0, 0.2);        
        opacity: 0.4;    
    }
}

@keyframes chaoticGlitch {
    0% { transform: translate(0, 0); clip-path: inset(10% 0 85% 0); }
    10% { transform: translate(-15px, 8px); clip-path: inset(60% 0 20% 0); }
    20% { transform: translate(12px, -10px); clip-path: inset(30% 0 60% 0); }
    30% { transform: translate(-10px, -5px); clip-path: inset(80% 0 5% 0); }
    40% { transform: translate(18px, 12px); clip-path: inset(45% 0 45% 0); }
    50% { transform: translate(-20px, 0px); clip-path: inset(5% 0 90% 0); }
    60% { transform: translate(10px, 15px); clip-path: inset(15% 0 70% 0); }
    70% { transform: translate(-5px, -15px); clip-path: inset(55% 0 35% 0); }
    80% { transform: translate(20px, 5px); clip-path: inset(25% 0 65% 0); }
    90% { transform: translate(-12px, 10px); clip-path: inset(75% 0 15% 0); }
    100% { transform: translate(0, 0); }
}

.button-label, 
.counter-label, 
.nav-label-left, 
.links .link a {
    color: #ff0000;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.7);
    animation: neonPulse 3s infinite ease-in-out;
}

.links .link a {
    position: relative;
    display: inline-block;
    color: red;
    text-decoration: none;
}

.link a:hover::before {
    content: attr(data-text); 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 0, 0.2); 
    border: 2px solid #ff00ff; 
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;

    opacity: 0.7;
    z-index: 10;
    animation: wildGlitch 0.4s infinite; 
    pointer-events: none;
    color: #ff00ff; 
    text-shadow: 0 0 10px rgba(255, 0, 0, 1), 0 0 20px rgba(255, 0, 0, 0.8);
}

@keyframes wildGlitch {
    0% { transform: translate(0, 0); clip-path: inset(10% 0 85% 0); }
    10% { transform: translate(-15px, 8px); clip-path: inset(60% 0 20% 0); }
    20% { transform: translate(12px, -10px); clip-path: inset(30% 0 60% 0); }
    30% { transform: translate(-10px, -5px); clip-path: inset(80% 0 5% 0); }
    40% { transform: translate(18px, 12px); clip-path: inset(45% 0 45% 0); }
    50% { transform: translate(-20px, 0px); clip-path: inset(5% 0 90% 0); }
    60% { transform: translate(10px, 15px); clip-path: inset(15% 0 70% 0); }
    70% { transform: translate(-5px, -15px); clip-path: inset(55% 0 35% 0); }
    80% { transform: translate(20px, 5px); clip-path: inset(25% 0 65% 0); }
    90% { transform: translate(-12px, 10px); clip-path: inset(75% 0 15% 0); }
    100% { transform: translate(0, 0); }
}

@keyframes neonPulse {
    0%, 100% { 
        text-shadow: 0 0 5px rgba(255, 0, 0, 0.8), 0 0 10px rgba(255, 0, 0, 0.4);
        opacity: 1;
    }
    50% { 
        text-shadow: 0 0 2px rgba(255, 0, 0, 0.2), 0 0 5px rgba(255, 0, 0, 0.1);
        opacity: 0.8; 
    }
}

.corner-image-right {
  position: absolute;
  bottom: 5px;  
  right: -20px;   
  width: 430px;   
  max-height: 90%; 
  object-fit: contain;
  z-index: -1;  
  pointer-events: none; 
}

.corner-image-left {
  position: absolute;
  bottom: 1px;  
  left: -20px;   
  width: 430px;   
  max-height: 90%; 
  object-fit: contain;
  z-index: -1;  
  pointer-events: none; 
  opacity: 30%;
}

.header-counter {
  position: absolute;
  top: 5px; 
  right: 70px; 
  
  display: flex;
  align-items: center; 
  gap: 10px;        
  text-decoration: none;
  z-index: 20;
}

.counter-label {
  font-size: 20px;
  font-weight: bold;
  color: var(--tech-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap; 
  text-shadow: 0 0 8px rgba(255, 49, 49, 0.6);
}

.header-counter img {
  display: block;
  height: 40px; 
  width: auto;
}

.image-divider-row {
  display: flex;      
  width: 100%;   
  height: 80px;
  overflow: hidden;      
  white-space: nowrap; 
  position:relative
  z-index: 1;
  margin-top: -25px;
  margin-bottom: -25px;
}

.image-divider-row img {
  flex: 1;             
  height: 100%;          
  min-width: 50%;        
  object-fit: cover;  
}

.nav-container {
  box-sizing: border-box;       
  max-width: 100%;       
  position: relative;
  width: 100%;
  min-height: 130px;
  padding: 20px; 
  align-items: center;
  display: flex;
  background: var(--tech-red);
  margin-bottom: 20px;
    overflow: visible !important; 
  
  clip-path: polygon(
    0% 40px, 40px 0%,                     
    calc(50% - 100px) 0%,                 
    calc(50% - 80px) 20px,               
    calc(50% + 80px) 20px,                
    calc(50% + 100px) 0%,                 
  calc(100% - 40px) 0%, 100% 40px, 
  100% calc(100% - 40px),
  calc(100% - 40px) 100%, 
  calc(50% + 100px) 100%,              
  calc(50% + 80px) calc(100% - 20px),  
  calc(50% - 80px) calc(100% - 20px),    
  calc(50% - 100px) 100%,
  40px 100%, 0% calc(100% - 40px)
);
}

.nav-container::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px; right: 2px; bottom: 2px;
  background: black;
  clip-path: inherit;
  z-index: 1;
}

.nav-label-left {
  position: absolute;
  top: 6px;         
  left: 100px;       
  color: red;
  font-family: "coolfont", monospace; 
  font-weight: bold;
  font-size: 19px;
  letter-spacing: 15px;
  text-transform: uppercase;
  z-index: 10;  
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
  pointer-events: none; 
}

.links {
  width: 100%;
  max-width: 900px;     
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 5px 5px;      
  justify-items: center; 
  align-items: center;
  padding: 15px 10px;    
  box-sizing: border-box;
}

.link {      
  width: 100%;
  text-align: center;
}

.link a {
    display: flex;      
    align-items: center;      
    justify-content: center; 
    width: 160px;            
    height: 45px;            
    color: red;
    padding-top: 13px; 
    padding-left: 2px;
    text-decoration: none;
    font-family: "coolfont", monospace;
    font-size: 18px;         
    font-weight: bold;
    text-transform: uppercase;
    box-sizing: border-box;
    position: relative;
    transition: all 0.2s ease;
    image-rendering: pixelated;
    clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 0 100%);
    background: rgba(20, 0, 0, 0.9); 
    clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 0 100%);
    filter: 
        drop-shadow(1px 0 0 red) 
        drop-shadow(-1px 0 0 red) 
        drop-shadow(0 1px 0 red) 
        drop-shadow(0 -1px 0 red);
}


.link a[href*="home"],
.link a[href*="about"],
.link a[href*="blog"] {
    letter-spacing: 5px; 
}

.header-buttons {
  position: absolute;
  top: 12px;          
  left: 50px;    
  min-width: 400px;
  width:auto;
  display: flex;
  align-items: center;
  gap: 30px;      
  z-index: 300;      
  pointer-events: auto;
}

.top-button {
  height: 31px;      
  width: auto;
  opacity: 1 !important; 
  filter: drop-shadow(0 0 5px red);
  pointer-events: all;
}

.header-buttons a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.button-group {
  display: flex;
  flex-direction: row; 
  align-items: center;
  gap: 10px;
  white-space: nowrap; 
}

.button-label {
  color: var(--tech-red);
  font-family: "coolfont", monospace;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1.4px;
}

.label-right {
  display: flex;
  flex-direction: row; 
}

.kepler-container {
    position: relative;
    width: 100%;
}

.keppy-link {
    position: absolute;  
    top: -130px;         
    left: 1%;             
    z-index: 1000;     
    display: inline-block;
}

.kepler-overlay {      
    width: 200px;       
    height: auto;   
    pointer-events: auto; 
    image-rendering: pixelated;
    transform: scaleX(-1); 

}
.marquee-button {
    margin-top: 20px;
}
.marquee-button marquee img {
    filter: grayscale(100%) brightness(0.8) sepia(100%) hue-rotate(-50deg) saturate(500%);
    transition: filter 0.3s ease;
}

.marquee-button marquee img:hover {
    filter: grayscale(0%) sepia(0%) hue-rotate(0deg) saturate(100%) brightness(1);
}
  
  .box h2, .box h3 {
    color: red; 
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 30px;
    margin-bottom: 10px;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}

.nav-ring-bottom {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 489px; 
    z-index: 100; 
    transform: translateX(-50%) scale(0.8);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.nav-ring-bottom img {
    filter: grayscale(70%) sepia(90%) saturate(1000%) hue-rotate(310deg);
    transition: filter 0.3s ease;

}
.nav-ring-bottom:hover img {
    filter: none;
}

.pauseplay-music {
    position: absolute;
    top: -167px;  
    left: 10px;   
    z-index: 999; 
}

#toggleAudio {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
}

#audioIcon {
    width: 190px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 0px red);
}
.horse-anchor {
    position: relative;
    width: 100%;
}

.box .inner iframe[name="neolink"] {
    filter: grayscale(40%) sepia(60%);
    image-rendering: pixelated;  
    transition: filter 0.3s ease;
}

.box .inner iframe[name="neolink"]:hover {
    filter: none;
}

.iframe-sensor {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px; 
    height: 280px; 
    z-index: 10;   
    cursor: pointer;
    background: rgba(0,0,0,0); 
    pointer-events: none;
}

.iframe-sensor:hover + iframe {
    filter: none;
}

.exit-vehicle-container {
    margin-top: 50px;
    padding-left: 10px;
    display: flex;
    align-items: center;
    position: relative;
}

.car-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.mini-car {
    width: 100px;
    height: auto;
    image-rendering: pixelated;
    transition: transform 0.3s ease;
}


.typewriter-text {
    color: red;
    font-family: 'coolfont';
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    border-right: 2px solid red; 
    transition: width 1.5s steps(15, end); 
}

.car-link:hover .mini-car {
    transform: translateX(5px); 
}

.car-link:hover .typewriter-text {
    width: 135px; 
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: red }
}

.square-box {
    position: relative;
    aspect-ratio: 1 / 1;  
    
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 3px double red; 
  }

  .square-box .inner {
    position: relative;
    flex: 1;            
    display: flex;
    align-items: center;
    justify-content: center;
    background: black;    
  }

  .square-box .inner::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('https://roguepebble.neocities.org/Graphics/RADAR.gif');
    background-size: cover;
    background-position: center;
    opacity: 0.4;   
    z-index: 0;
  }

  model-viewer {
    width: 100%;
    height: 100%;
    z-index: 1;
    background: transparent !important;
  }
  
  .glitch-only:hover::before {
    content: attr(data-text); 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background: rgba(255, 0, 0, 0.2); 
    border: 2px solid #ff00ff; 
    color: #ff00ff; 
    text-shadow: 0 0 10px rgba(255, 0, 0, 1), 0 0 20px rgba(255, 0, 0, 0.8);
    
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 10;
    
    animation: wildGlitch 0.4s infinite; 
    opacity: 0.9;
}

.square-box {
    display: flex !important;
    flex-direction: column !important;
    height: auto;
}

#121-target {
    flex: 1; 
    min-height: 0; 
}


.status-report-container {
  background-color: red; 
  color: black; 
  padding: 20px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  
  clip-path: polygon(
    0% 15px, 15px 0%, 
    100% 0%, 
    100% calc(100% - 20px), 
    calc(100% - 20px) 100%, 
    20px 100%, 0% calc(100% - 20px)
  );
  
  border-left: 5px solid white;
}

.status-report-container .status-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.status-report-container .meter-section {
  flex: 1;
  max-width: 65%; 
}


.status-report-container .custom-meter-bg {
  background: rgba(0, 0, 0, 0.2);
  height: 20px;
  width: 100%;
  margin-top: 8px;
  border: 2px solid #000;

  clip-path: polygon(0% 0%, 98% 0%, 100% 100%, 2% 100%);
  
  filter: 
    drop-shadow(1px 0px 0px black) 
    drop-shadow(-1px 0px 0px black) 
    drop-shadow(0px 1px 0px black) 
    drop-shadow(0px -1px 0px black);
}

.status-report-container .custom-meter-fill {
  height: 100%;
  
  background-image: url('https://roguepebble.neocities.org/Dividers/MainDivider.webp'); 
  background-size: cover; 
  background-position: center;
  
  transition: width 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  
  border-right: 2px solid red;
}

.status-report-container .pic-slot {
  width: 200px;
  height: 200px;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid white;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 0 100%);
}

.status-report-container .bar-container label {
  display: block;      
  font-size: 18px;       
  font-weight: bold;      
  text-transform: uppercase;
  letter-spacing: 3px;    
  margin-bottom: 4px;      
  color: black;  
}

.status-report-container h2 {
  font-size: 35px;
  font-weight: bold;
  letter-spacing: 8px;
  color: black;
  background: red;
  margin-bottom: 20px;
  margin-top: -10px;
  border-bottom: 3px solid #000;
}


.status-report-container .note-container {
  margin-top: 10px;
  border-top: 2px solid #000; 
  position: relative;
  overflow: visible; 
}

.status-report-container .note-container::before {
  content: "";
  position: absolute;
  bottom: 31px; 
  left: 0;
  width: 160px; 
  height: 35px; 
  background-color: #ff0000;
  background: linear-gradient(65deg, #ff0000 78%, #000 78.5%, #000 81%, transparent 81%);

  border-top: 2px solid #000;
  border-left: 2px solid #000;
  clip-path: polygon(0% 0%, 81% 0%, 100% 100%, 0% 100%);
  
  z-index: 1;
}

.status-report-container .note-container::after {
  content: "";
  position: absolute;
  top: -39px; 
  left: 128px; 
  width: 5px; 
  height: 4px; 
  background-color: red; 
  z-index: 5; 
}

.status-report-container .note-container label {
  position: absolute;
  bottom: 38px; 
  left: 35px;
  font-size: 20px; 
  font-weight: bold;
  color: black;
  z-index: 10; 
  text-transform: uppercase;
  letter-spacing: 6px;
  margin: 0;
  pointer-events: none; 
}

.status-report-container .note-text {
  margin-top: 10px; 
  font-weight: bold;
  font-size: 18px;
  color: black;
  padding-left: 5px;
  text-transform: uppercase;
}



.gallery-link-wrapper {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease;
}

.gallery-link-wrapper:hover {
  transform: scale(1.01);
}

.gallery-flex {
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  padding: 30px;
  min-height: 250px;
  border-radius: 8px; 
  position: relative;
  overflow: hidden; 
}

.gallery-flex::before {
  content: "";
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  z-index: 0; 
  
  background-image: url('https://roguepebble.neocities.org/ART/gal38.JPG');
  background-size: cover;
  background-position: center;
  
 filter: grayscale(50%) sepia(80%) hue-rotate(320deg) saturate(200%);
}

.gallery-flex:hover::before {
  filter: grayscale(0%) sepia(0%) hue-rotate(0deg) saturate(100%);
}

.gallery-left {
  align-self: flex-start; 
}

.gallery-left h2 {
  font-size: 50px; 
  letter-spacing: 3px;
  margin: 0;
  text-transform: uppercase;
  color: white; 
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8); 
  background:transparent;
  border-bottom: none;
  position: absolute;
  top: -15px
}

.gallery-right {
  align-self: flex-end; 
  text-align: right;
  color: white;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.gallery-right span {
  position: absolute;
  right: 20px;
  bottom: 70px;
  font-size: 30px;
  text-transform:uppercase;
}

.gallery-right h3 {
  font-family: "GOTHIC", monospace;
  position: absolute;
  right: -4px;
  bottom: -18px;
  font-size: 55px;
  letter-spacing: 8px;
  background: transparent;
  border-bottom: none;
}