:root {
  --main-theme: #800000;         /* Deep Maroon */
  --theme-bright: #ff4d4d;       /* Bright accent red */
  --theme-glow: #000000;         /* Glowing red */
  --bg-dark: #0a0202;            /* Very dark maroon-black background */
  --box-bg: #140404;             /* Container box background */
  --text-main: #ffcccc;          /* Light pinkish text for high contrast */
  --header-grad-top: #4a0000;    /* Dark red gradient top */
  --header-grad-bottom: #260000;/* Dark red gradient bottom */
  --glow-black: #2A1F1B;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  padding-top: 200px;
  background-image: 
    linear-gradient(45deg, #1f0505 25%, transparent 25%), 
    linear-gradient(-45deg, #1f0505 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, #1f0505 75%), 
    linear-gradient(-45deg, transparent 75%, #1f0505 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  color: var(--text-main);
  font-family: "Courier New", Courier, monospace;
  display: flex;
  justify-content: center;
  padding: 50px 10px;
  padding-top: 200px;
  overflow: hidden;
  margin: 0;
}


.site-wrapper {
  width: 100%;
  max-width: 980px;
  background: var(--box-bg);
  border-radius: 70px 70px 0px 0px; 
  position: relative;
  padding: 60px; /* Inner spacing around your content boxes */
  margin-top: 140px;
 
  
  /* 1. Outer Border Outline Glow */
  border: 7px ridge #0a0202;
 box-shadow: 0 0 12px var(--theme-glow);

}

/* 2. THE MOVING BORDER TRACK (Sits between wrapper & content) */
.site-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  border-radius: 66px 66px 0px 0px;

  /* Animated Checkerboard Pattern */
  background-image: 
    linear-gradient(45deg, var(--main-theme) 25%, transparent 25%), 
    linear-gradient(-45deg, var(--main-theme) 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, var(--main-theme) 75%), 
    linear-gradient(-45deg, transparent 75%, var(--main-theme) 75%);
  background-size: 16px 16px;
  
  /* Scroll Animation */
  animation: moveBorderTrack 2s linear infinite;
}

/* 3. INNER MASK (Blocks the pattern from covering the middle) */
.site-wrapper::after {
  content: "";
  position: absolute;
  /* Adjust top/left/right/bottom to control border thickness (e.g. 12px) */
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 0;
  background-image: url('/scenepng/lace.jpg');
  background-repeat: repeat;
  background-position: center top; /* Solid inner background */
  border: 7px ridge #0a0202; /* Inner edge line */
  border-radius: 54px 54px 0px 0px;
}

/* KEEP ALL CONTENT FLOATING ABOVE BOTH LAYERS */
.top-header,
.inner-layout,.header-logo-container {
  position: relative;
  z-index: 5;
  
}


/* ANIMATION KEYFRAMES */
@keyframes moveBorderTrack {
  0% {
    background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
  }
  100% {
    background-position: 32px 0, 32px 8px, 40px -8px, 24px 0px;
  }
}
.top-header {
  height: 110px;
  background-image: url("/scenepng/Kirs2.png"); 
  background-repeat: no-repeat; 
  background-position: center;
  background-size: contain;
  border: 7px ridge #0a0202;
  border-radius: 54px 54px 0px 0px; 
  position: relative;
  margin-bottom: 0;
  box-shadow: 
    inset 0 0 0 2px rgba(0, 0, 0, 0.75), 
    inset 0 0 8px 3px rgba(0, 0, 0, 0.9), 
    0 0 0 2px #000000;       
}

/* OVERLAPPING CENTER LOGO */
.header-logo-container {
  position: absolute;
  top: -170px; /* Make this more negative (e.g., -60px, -70px, -80px) to pull it up */
  left: auto;
  right:-80px;
  margin-right: 0; 
  transform:none ;
  z-index: 10;
}

.header-logo {
  max-width: 600px;
  height: auto;
  filter: 
    drop-shadow(0px 0px 6px #000000) 
    drop-shadow(0px 0px 12px #000000);
}

.inner-layout {
  display: grid !important;
  grid-template-columns: 180px 1fr 200px !important;
  gap: 7px !important;
  align-items: stretch !important; 
  padding-top: 25px !important;

}

.custom-new-box {
  /* 1. APPEARANCE & BORDER */
  background: var(--box-bg);
  border: 7px ridge #0a0202;
  box-shadow: inset 0 0 5px rgba(128, 0, 0, 0.5);
  padding: 10px;
  
  /* 2. CUSTOM SIZE (Change these values to whatever you want!) */
  width: 300px;         /* Exact width */
  height: 150px;        /* Fixed height (or set to 'auto' to shrink-wrap content) */
  
  /* 3. CENTERING & SPACING */
  margin: 20px auto;    /* Centers the box horizontally & adds 20px top/bottom space */
  box-sizing: border-box;
  
  /* 4. SCROLLING (If content overflows the fixed height) */
  overflow-y: auto;
  overflow-x: hidden;

/* 2. GENERAL BOX WRAPPER */
.box {
  background: var(--box-bg);
  border: 7px ridge var(--main-theme);
  border-radius: 20px;
  padding: 50px;
  height: 100%; 
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* 3. PIXEL BOX (Now fills 100% height of parent container) */
.pixel-box {
  background: var(--box-bg);
  border: 7px ridge #0a0202;
  padding: 6px;
  
  margin-top: 20px !important; /* <--- CHANGED THIS FROM 0 TO 20px */
  margin-bottom: 0 !important;
  box-shadow: inset 0 0 5px rgba(128, 0, 0, 0.5);
  
  height: 100% !important;
  min-height: 100% !important;
  box-sizing: border-box !important;
  
  display: flex;
  flex-direction: column;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}


/* HEADER BARS INSIDE BOXES */
.box-header {
  background: linear-gradient(180deg, var(--header-grad-top) 0%, var(--header-grad-bottom) 100%);
  color: #ffcccc;
  font-weight: bold;
  font-style: italic;
  font-size: 14px;
  padding: 4px 10px;
  border: 1px solid var(--main-theme);
  border-radius: 18px 0px 0px 0px;
  margin-bottom: 8px;
}

.box-header-link {
  text-decoration: none;
  display: block;
}

.box-header-link:hover .box-header {
  background: linear-gradient(180deg, #ff0000 0%, #800000 100%);
  color: #ffffff;
  cursor: pointer;
}

/* NAVIGATION LINKS */
.nav-links {
  list-style: none;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 12px;
  display: block;
  padding: 3px 6px;
}

.nav-links a:hover {
  color: #ffffff;
  background: var(--main-theme);
}

/* ANIMATED FLOATING WELCOME HEADER */
.welcome-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 15px 0;
}

.moving-welcome {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--theme-bright);
  text-shadow: 0 0 5px var(--main-theme), 0 0 12px var(--theme-glow), 0 0 20px #4a0000;
  animation: float 2.5s ease-in-out infinite alternate;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-8px);
  }
}

.pixel-mascot {
  width: 40px;
  height: auto;
}

.welcome-text-content {
  font-size: 12px;
  line-height: 1.5;
  padding: 10px;
}

.small-info {
  font-size: 10px;
  margin-bottom: 4px;
}

.link-textarea {
  width: 100%;
  height: 45px;
  background: #000;
  color: var(--theme-bright);
  border: 1px solid var(--main-theme);
  font-size: 10px;
  resize: none;
}
.box-header-link {
  text-decoration: none;
  display: block;
}

.box-header-link:hover .box-header {
  background: linear-gradient(180deg, #ff0000 0%, #800000 100%);
  color: #ffffff;
  cursor: pointer;
}

/* SCROLLABLE PICTURE BOX (REPLACES TEXTAREA) */
.scroll-picture-box {
  width: 100%;
  height: 100px; /* Adjust height of the box as needed */
  background: #000;
  border: 1px solid var(--main-theme);
  padding: 5px;
  overflow-y: auto; /* Enables vertical scrolling for images */
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

/* IMAGE SIZING INSIDE THE SCROLL BOX */
.scroll-picture-box {
  width: 100%;
  height: 120px; /* Fixed height creates the scrolling window */
  background: #000000;
  border: 1px solid var(--main-theme);
  padding: 6px;
  overflow-y: scroll; /* Forces vertical scrollbar */
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* RESIZE & CONTAIN IMAGES */
.scroll-picture-box img {
  max-width: 80px; /* Controls image width so they stay small */
  height: auto;
  display: block;
  object-fit: contain;
}

/* RETRO CUSTOM SCROLLBAR STYLING */
.scroll-picture-box::-webkit-scrollbar {
  width: 8px;
}

.scroll-picture-box::-webkit-scrollbar-track {
  background: #0a0202;
  border-left: 1px solid var(--main-theme);
}

.scroll-picture-box::-webkit-scrollbar-thumb {
  background: var(--main-theme);
  border-radius: 2px;
}

.scroll-picture-box::-webkit-scrollbar-thumb:hover {
  background: var(--theme-bright);
}

/*webmusic */
 #musicplayer {
 
  font-family: 'Radio1', monospace !important;
  font-weight: bold;
  height: 40px; /* Slightly increased to fit 30px slider thumbs cleanly */
  width: 100%;
  left: 0;
  top: 0;
  position: fixed; /* Keep fixed if you want it pinned to the top of the screen */
  z-index: 9999;
  display: flex;
  align-items: center; /* Vertically centers controls, song title, and seekbars */
  justify-content: space-between;
  padding: 0 8px;
  box-sizing: border-box;

  background: linear-gradient(180deg, #3d0006 0%, #7a000d 45%, #1a0205 47%, #3d0006 100%);
  border: ridge 2px #5e000a;
  outline: solid 2px #000000;
  box-shadow: 
    inset 10px 0px 6px -10px #0d0002, 
    inset -13px 0px 6px -10px #0d0002, 
    inset 0px 10px 6px -10px #aa0014, 
    inset 0px -13px 6px -10px #0d0002;
}

.songtitle {
  display: block;
  padding: 2px 6px;
  font-family: 'Radio1', monospace;
  font-size: 12px;
  color: #ff2e2e; 
  letter-spacing: 1px;
  white-space: nowrap;

  background: #0d0002; /* Dark background */
  border: #4a0000 inset 1px;
  border-radius: 4px;
  box-shadow: 
    inset 13px 0px 6px -10px rgb(0 0 0 / 60%), 
    inset -13px 0px 6px -10px rgb(0 0 0 / 80%), 
    inset 0px 13px 6px -10px #3d0006, 
    inset 0px -13px 6px -10px rgb(0 0 0 / 60%);
}

.controls {
  font-size: 12px;
  text-align: center;
  width: 90px;
  height: auto;
  text-decoration: none;
  filter: 
    drop-shadow(2px 0 0 white) drop-shadow(0 2px 0 white) 
    drop-shadow(-2px 0 0 white) drop-shadow(0 -2px 0 white) 
    drop-shadow(-0.5px 0.5px 0 black) drop-shadow(0.5px 0.5px 0 black);
}

.controls td {
  padding: 0 2px;
}

.seeking {
  width: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 2px;
}

.current-time,
.total-duration {
  font-size: 12px;
  color: #000;
  filter: 
    drop-shadow(1px 0 0 white) drop-shadow(0 1px 0 white) 
    drop-shadow(-1px 0 0 white) drop-shadow(0 -1px 0 white);
}

.ctrlimg {
  height: 16px;
  width: 16px;
  display: block;
}

.ctrlimg:hover {
  cursor: pointer;
}

/* RANGE INPUT BASE STYLES */
input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background: transparent;
}

input[type=range]:focus {
  outline: none;
}

/* SEEK BAR TRACK & THUMB */
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  border-radius: 6px;
  background: black;
  border: 1px white solid;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 24px;
  width: 20px;
  background-image: url('https://file.garden/Zztv0a9yEhr5pmEq/tumblr_40786d3985453eb5412348aad980ac51_3a9a1088_1280%20(1).gif');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: -9px;
  cursor: pointer;
}

/* Firefox Compatibility */
input[type=range]::-moz-range-thumb {
  height: 24px;
  width: 20px;
  background-image: url('https://file.garden/Zztv0a9yEhr5pmEq/tumblr_40786d3985453eb5412348aad980ac51_3a9a1088_1280%20(1).gif');
  background-size: contain;
  background-repeat: no-repeat;
  border: none;
}

/* VOLUME BAR TRACK & THUMB */
input[type=range].volume_slider::-webkit-slider-runnable-track { 
  background: #000000;
  border:1px solid white;
  filter: drop-shadow(-0.5px 0.5px 0 black) drop-shadow(0 0.5px 0 black);
}

input[type=range].volume_slider::-webkit-slider-thumb {
  background-image: url('https://neocities.org/site_thumbnails/21/08/sharkizzah06/scenepng/heart.gif.210x158.webp');
  background-size: contain;
  background-repeat: no-repeat;
  height: 18px;
  width: 18px;
  margin-top: -6px;
  filter: drop-shadow(0px 0px 8px #000000) drop-shadow(0px 0px 14px #000000);
}


html {
  overflow-y: scroll;
}

body {
  overflow: hidden;
  margin: 0;
}

/* 1. Scrollbar Overall Width & Outer Black Border */
html::-webkit-scrollbar {
  width: 16px;
  height: 16px;
  border-left: 2px solid #000000; /* Solid black outer border */
}

/* 2. Scrollbar Track (Inside background - Pitch Black) */
html::-webkit-scrollbar-track {
  background-color: #000000 !important; /* Pure black inside */
  background-image: none !important;     /* Removes the pattern */
}

/* 3. The Draggable Thumb (Dark Red 3D block with black border) */
html::-webkit-scrollbar-thumb {
  background-color: #5a000a;
  border-top: 1px solid #ff3333;   /* Bright red top highlight */
  border-left: 1px solid #ff3333;  /* Bright red left highlight */
  border-right: 1px solid #000000; /* Black right edge */
  border-bottom: 1px solid #000000;/* Black bottom edge */
  box-shadow: inset 1px 1px 0 0 #800000, inset -1px -1px 0 0 #000000;
  width: 16px;
  height: 16px;
}

/* 4. Scrollbar Corner */
html::-webkit-scrollbar-corner {
  background-color: #000000;
}

/* 5. Top & Bottom Arrow Buttons (Black borders) */
html::-webkit-scrollbar-button {
  background-color: #5a000a;
  border-top: 1px solid #ff3333;
  border-left: 1px solid #ff3333;
  border-right: 1px solid #000000;
  border-bottom: 1px solid #000000;
  box-shadow: inset 1px 1px 0 0 #800000, inset -1px -1px 0 0 #000000;
  display: block;
  width: 16px;
  height: 16px;
  image-rendering: pixelated;
  background-repeat: no-repeat;
  background-position: center center;
  filter: invert(30%) sepia(100%) saturate(500%) hue-rotate(330deg);
}

/* 6. Button Click State */
html::-webkit-scrollbar-button:active {
  background-position: 2px 2px;
  border: 1px solid #000000;
  box-shadow: none;
}

/* ARROW BUTTON ASSIGNMENTS */
html::-webkit-scrollbar-button:horizontal:decrement {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAHklEQVQY02NgoBT8xyX8H5fwf1zCpOjAYwceV1EEAAO2D/HsQ4vsAAAAAElFTkSuQmCC");
}

html::-webkit-scrollbar-button:horizontal:increment {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAHUlEQVQY02NgIB/8xy3xH7fEf9wS/0nUQZqrKAYAK44P8ZRmzLQAAAAASUVORK5CYII=");
}

html::-webkit-scrollbar-button:vertical:decrement {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGklEQVR4AWMYxuA/SYphmETFhDX9x4mHGQAAcL4P8dQiMq8AAAAASUVORK5CYII=");
}

html::-webkit-scrollbar-button:vertical:increment {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAQAAAD8fJRsAAAAF0lEQVQY02NgoBf4jwJxSOHQhcNAOgMAWWAP8Rv2U3UAAAAASUVORK5CYII=");
}

/* HIDE DUPLICATE ARROWS */
html::-webkit-scrollbar-button:horizontal:increment:start,
html::-webkit-scrollbar-button:horizontal:decrement:end,
html::-webkit-scrollbar-button:vertical:increment:start,
html::-webkit-scrollbar-button:vertical:decrement:end {
  display: none;
}

html, body {
  cursor: url('/scenepng/cursorpoint.png'), auto;
}

a, 
a:hover, 
a *, 
button, 
button:hover, 
input[type="submit"], 
input[type="button"],
.clickable {
  cursor: url('/scenepng/eye3.png') 0 0, pointer !important;
}

