body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  font-family: Arial, sans-serif;
  background: #2B3030;
  cursor: url("/RedCursors/RedCursorDefault.png") 12 12, default;
}
html::-webkit-scrollbar {
  display: none;
}

.cabinet-wrapper {
  position: relative;
}

/* FILES */
.scroll-box {
  top: 385px;
  left: 15px;
  z-index: 1;
  overflow-y: scroll;
 width: 428px;
  height: 140px;
  border: none;
  padding: 10px;
  background: #2D3832;
  display: flex;
  flex-direction: column;
  align-items: center;

  clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
  position: relative;
  -ms-overflow-style: none; /* IE 10+ */
}
.scroll-box::-webkit-scrollbar {
  display: none;
}

/* CABINET */
.cabinet-img {
  position: relative;
  z-index: 2;
  width: 480px;
  display: block;
  justify-content: center;
  pointer-events: none;
}
/*Cork Board*/
.corkboard-wrapper {
  position: absolute;
  top: 130px;        
  left: 470px;
}
.corkboard-img {
  position: relative;
  z-index: 1;
  left: 40px;
  width: 400px;
  display: block;
  pointer-events: none;
}
/*Cork Buttons*/
.corkboard-button {
  position: absolute;
  top: 50px;
  left: 100px;
  z-index: 2; 
  background: none;
  border: none;
  padding: 0;
  cursor: url("/RedCursors/RedCursorPointer.png") 12 2, pointer;
  width: 140px;
  height: auto;
  display: block;
  transition: transform 0.15s ease;
}

.corkboard-button:hover {
  transform: rotate(1deg) scale(1.05);
}
/* Menu buttons */
.menu-button {
will-change: transform;
 display: flex;             
  align-items: flex-start;   
  justify-content: flex-start; 
  color: #000000;
  width: 70%;
  height: 100px;
  line-height: 1;
  padding: 12px;
  margin-bottom: -15px; 
  cursor: url("/RedCursors/RedCursorPointer.png") 12 2, pointer;
  background: #E8DECA; 
  border: 1px solid #ADA289;
  border-radius: 4px 4px 0 0;
  text-align: left;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
  font-family: "Courier Prime", monospace;
  font-weight: normal;
  font-size: 20px;
  position: relative;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 1;
  transition: transform 0.1s, z-index 0.9s;
}

.menu-button:hover {
  background: #EBE5D8;
}
.desk-wrapper {
  position: absolute;
  left: -580px;   
  z-index: 1;
  bottom: 0;
}
.desk-img {
  display: block;
  width: 580px; 
  height: auto;
  pointer-events: none;
}

.table-wrapper {
  position: absolute;
  left: 510px;  
  top: 642px; 
  z-index: 1;
}
.table-img {
  display: block;
  width: 500px; 
  height: auto;
  pointer-events: none;
}
.radio-img {
  position: absolute;
  bottom: 165px;  
  left: 44px; 
  width: 190px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}
.view-wrapper {
  position: absolute;
  left: -550px;
  top: 40px;
  width: 550px;
  z-index: 5;
}

.view-img {
  width: 100%;
  display: block;
}
/* Blinds */
.blinds {
  position: absolute;
  top: 75px;
  width: 100%;
  pointer-events: none;
}

.blinds-open {
  opacity: 0;
}

.blinds-closed {
  opacity: 1;
}

.view.open .blinds-open {
  opacity: 1;
}

.view.open .blinds-closed {
  opacity: 0;
}

/* String */
.blind-string {
  position: absolute;
  right: 20px;
  top: 170px;
  width: 50px;
  cursor: url("/RedCursors/RedCursorPointer.png") 12 2, pointer;
  z-index: 5;
  transition: transform 0.1s ease;
}

.blind-string:hover {
  transform: translateY(2px);
}
/* Window (Folder)*/
.window {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  padding-top: 20px;
  padding-bottom: 20px;
  border: 3px solid #ADA289;
   background-color: #ECEDE1;
  z-index: 10;
 overflow: visible;
  display: none;
  box-sizing: border-box;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.window::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://thesillyimages.carrd.co/assets/images/image07.jpg?v=f1917684");
  background-repeat: repeat;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.window > * {
  position: relative;
  z-index: 2;
}
.window-open {
  overflow: hidden;
}

.newspaper-thumb {
  position: absolute;
  bottom: 75px;
  left: 70px;
  width: 230px;
  cursor: url("/RedCursors/RedCursorPointer.png") 12 2, pointer;
  transition: transform 0.15s ease;
  z-index: 3;
}

.newspaper-thumb:hover {
  transform: rotate(-1deg) scale(1.03);
}
.newspaper-window {
  width: 550px;
  height: 470px;
  display: none;
  background: #878383;
  border: solid #1F1B1B 2px;
}

.newspaper-content {
  height: 450px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.newspaper-large {
  width: 110%;
  height: auto;
  background: transparent;
}
.lamp-img {
  position: absolute;
  bottom: 155px;  
  right: 60px;     
  width: 300px;
  height: auto;
  cursor: url("/RedCursors/RedCursorPointer.png") 12 2, pointer;
  z-index: 3;
  user-select: none;
}


/* Folder tab (name) */
.folder-tab {
  position: absolute;
  top: -46px;
  left: 20px; 
  background: #E8DECA;
  width: 300px;
  height: 40px; 
  border: 3px solid #ADA289;
  border-bottom: none; 
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
 font-family: "Meow Script", cursive;
 padding: 4px 0px 0px 20px;
 color: #911F24;
  font-weight: 500;
  font-style: normal;
  font-size: 30px;
  text-align: left;
  z-index: 2;
}

/* Close tab (X button) */
.close-tab {
  position: absolute;
  top: -28px; 
  right: 30px;
  background: #D86C6C;
  color: white;
  font-weight: bold;
  font-size: 18px;
  padding: 5px 10px;
  border: 2px solid #B14949;
  border-bottom: none; 
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  z-index: 3;
  cursor: url("/RedCursors/RedCursorPointer.png") 12 2, pointer;
}

.close-tab:hover {
  background: #FF7A7A;
}

.close-btn {
  background: none;
  color: #730A14;
  border: #42413E;
  padding-right: 50px;
}

/* Images */

.window-content {
  padding: 10px;
  font-size: 14px;
  height: calc(100% - 30px);
  box-sizing: border-box;
}
.taped-photo {
  position: relative;
  display: inline-block;
  background: transparent;
  border: none;
  box-shadow: 5px 5px rgba(79, 79, 79, 0.2);
  transform: rotate(-1deg);
}

/* THE IMAGE ITSELF */
.taped-photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* TAPE STRIPS */
.taped-photo::before,
.taped-photo::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 25px;
  background: rgba(240, 230, 180, 0.35);
  border: 1px solid rgba(170, 160, 110, 0.8);
  box-shadow: inset 0 0 2px rgba(0,0,0,0.2);
  
  /* TORN VERTICAL EDGES */
  clip-path: polygon(
    0% 0%,
    6% 12%,
    0% 25%,
    8% 40%,
    0% 55%,
    6% 70%,
    0% 85%,
    8% 100%,

    100% 100%,
    94% 85%,
    100% 70%,
    92% 55%,
    100% 40%,
    94% 25%,
    100% 12%,
    94% 0%
  );
}

/* TOP-LEFT TAPE */
.taped-photo::before {
  top: -12px;
  left: -17px;
  transform: rotate(-10deg);
}

/* Bottom-RIGHT TAPE */
.taped-photo::after {
  bottom: -13px;
  right: -14px;
  transform: rotate(6deg);
}
.character-layout {
  display: flex;
  gap: 10px;
  height: 100%;
  align-items: flex-start;
}
.character-viewer {
  width: 50%;
  border: none;
  padding: 20px;
  text-align: center;
}
.character-viewer img {
  width: 300;
  height: 470px;
  object-fit: contain;
  background: #E6E4CA;
  border: none;
  box-shadow: 5px 5px rgba(79, 79, 79, 0.3);
}
.character-info {
  width: 50%;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 5px;
}

.character-info button {
  flex-shrink: 0;
  margin-bottom: 5px;
}
.headshot-group {
  position: relative;
  margin-top: 10px;
  width: 420px;
  height: 260px;
}

.headshot {
  width: 200px;
  background: #E6E0DA;
  padding: 10px 10px 40px 10px;
  border: 2px solid #ADA289;
  box-shadow: 5px 5px rgba(79, 79, 79, 0.3);
  border-radius: 6px;
  overflow: hidden;

  position: relative;
  left: 170px;
  transform: rotate(3deg);
  z-index: 1;

  cursor: url("/RedCursors/RedCursorPointer.png") 12 2, pointer;
  transition: transform 0.15s ease, z-index 0s;
}

.headshot img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.headshotb {
  position: absolute;
  left: -40px;
  top: 10px;
  transform: rotate(-3deg);
}
.headshot.top {
  z-index: 2;
  transform: rotate(3deg) translateY(-2px);
}

.headshotb.top {
  transform: rotate(-3deg) translateY(-2px);
}

/* Tabs (accessories, bios, stats) */

.file-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: -1px; 
}

.file-tab {
background: #ADA289;
  border: 2px solid #827351;
  border-bottom: none;
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: url("/RedCursors/RedCursorPointer.png") 12 2, pointer;

  border-top-left-radius: 6px;
  border-top-right-radius: 6px;

  position: relative;
  top: 1px;
}

.file-tab.active {
  background: #E8DECA;
  border: solid 2px #ADA289;
  border-bottom: none;
 z-index: 2;
 }

.file-tab:hover {
  background: #EBE5D8;
  transform: translateY(-4px);
}

.file-content {
  border: none;
  padding: 8px;
  background-image: url("https://thesillyimages.carrd.co/assets/images/image18.jpg?v=50b981af");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  flex-grow: 1;
  overflow-y: auto;  
  box-shadow: 2px 2px 0 #C7C6AF;
  overflow: hidden;
}
.file-tab:nth-child(1) { top: 3px; }
.file-tab:nth-child(2) { top: 1px; }
.file-tab:nth-child(3) { top: 2px; }
.stats-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: normal;
}

/* Stats */

.stat-group {
  border: none;
  padding: 8px 10px;
  background-color: #DCDDDE;


  background-image:
    repeating-linear-gradient(
      to bottom,
      rgba(0,0,0,0.1),
      rgba(0,0,0,0.1) 1px,
      transparent 1px,
      transparent 12px
    );

  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: normal;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
  position: relative;
}

.stat-group h3 {
  margin: 0 0 3px;
  font-size: 12px;
  letter-spacing: 1.4px;
  background: rgba(209, 219, 222,0.6);
  display: inline-block;
  padding: 1px 10px;

  border: 1px solid #b7b19a;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  line-height: 10px;
  align-items: center;
  font-size: 11px;
  margin: 1px 14px;
}

.stat-name {
  width: 50px;
}

.stat-value {
  display: flex;
  gap: 2px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(60, 60, 60, 0.7);
  background: transparent;
  display: inline-block;
  transform: scale(0.95);
}

.dot.filled {
  background: #313247;
  border-color: #1F1F26;

  transform: scale(1);
}
.stats-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.stats-bottom {
  display: flex;
  justify-content: center;
}
.stats-bottom .stat-group {
  width: calc(50% - 5px);
}
.stat-group {
  display: flex;
  flex-direction: column;
}

/* Bios */

.bio-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
}

.bio-column {
  background-image: url("https://thesillyimages.carrd.co/assets/images/image19.jpg?v=ba5d17cd");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border: 1px solid #798A84;
 padding: 10px 10px;
font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: normal;
  font-size: 13px;
  line-height: 25px;
  letter-spacing: -1px;
  color: #992230;
  white-space: pre-wrap;
  text-align:left;
  box-shadow: 2px 2px 0 #8F968D;
  max-height: 150px;    
  overflow-y: auto; 
}
.bio-column::-webkit-scrollbar {
  display: none;
}
.bio-columns.clipped {
  position: relative;
  padding-top: 10px;
}

/* Staple */

.bio-columns.clipped::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%) rotate(-8deg);

  width: 38px;
  height: 20px;

  border: 2px solid #555;
  border-bottom: none;
  border-radius: 10px 10px 0 0;

  background: transparent;
}

/*Previous and Next Buttons*/
.nav-buttons {
   position: absolute;   /* relative to the .window */
  top: 50%;
  left: 0;
  width: 100%;          /* span the window */
  height: 0;            /* optional, prevents extra space */
  pointer-events: none;
}

.nav-buttons button {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: auto;
  cursor: url("/RedCursors/RedCursorPointer.png") 12 2, pointer;
}

.nav-buttons button:first-child {
  left: -34px;           
  border-radius: 12px 0 0 12px; 
  transform: translateY(-50%) rotate(-5deg);
  background: rgba(135, 153, 163, 0.5);
  padding: 3px;
  width: 40px;
}

.nav-buttons button:last-child {
  right: -34px;          
  border-radius: 0 12px 12px 0; 
  transform: translateY(-50%) rotate(5deg);
  background: rgba(135, 163, 139, 0.5);
  padding: 3px;
  width: 40px;
}

.nav-buttons button:first-child:hover {
  transform: translateY(-55%) rotate(-5deg);
  background: #CED6D4;
}

.nav-buttons button:last-child:hover {
  transform: translateY(-55%) rotate(5deg);
  background: #CED6D4;
}

.accessories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
}

/* normal accessories */
.accessory-item {
 height: 100px;           
  display: flex;           
  justify-content: center; 
  align-items: center; 
  padding: 0;
  background: none;
  width: 100%; 
}
.accessory-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
  transform-origin: center;
}

.accessory-item:nth-child(3) {
  grid-column: 1 / span 2;
  width: auto;  
  height: 90px;
}
/* Hover zoom */
.accessory-item:hover img {
  transform: scale(1.05);
}
.accessory-item:hover {
  transform: translateY(2px);
}
/*Old Film Effect*/
.old-film-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  box-shadow: 0 0 150px black inset;
  z-index: 9999;
  pointer-events: none;
}

.overlay {
  position: relative;
	width: 100%;
	height: 100%;
	filter: blur(0.5px);
}
.overlay:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: repeating-linear-gradient(90deg, #0002 0 2px, transparent 4px 35vmin);
	animation: vlines 0.45s steps(4) infinite;
}

@keyframes  vlines {
	0%, 100% {
		transform: translateX(0);
		opacity: 0.2;}
	10% {transform: translateX(-1%);}
	20% {transform: translateX(1%);}
	30% {transform: translateX(-2%);
		opacity: 0.4;}
	40% {transform: translateX(3%);}
	50% {transform: translateX(-3%);
		opacity: 0.3;}
	60% {transform: translateX(8%);}
	70% {transform: translateX(-3%);}
	80% {transform: translateX(10%);
		opacity: 0.06;}
	90% {transform: translateX(-2%);}
}

.overlay:after {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0.3;
	background: repeating-conic-gradient(black 0%, transparent 0.00003%, transparent 0.0005%, transparent 0.00095%), repeating-conic-gradient(black 0%, transparent 0.00005%, transparent 0.00015%, transparent 0.0009%);
	animation: grains 0.5s steps(1) infinite;
	}

@keyframes  grains {
	0%, 100% {
		transform: translate(0,0);}
	10% {transform: translate(-1%, -1%);}
	20% {transform: translate(1%, 1%);}
	30% {transform: translate(-2%, -2%);}
	40% {transform: translate(3%, 3%);}
	50% {transform: translate(-3%, -3%);}
	60% {transform: translate(4%, 4%);}
	70% {transform: translate(-4%, -4%);}
	80% {transform: translate(2%, 2%);}
	90% {transform: translate(-3%, -3%);}
}

.accessory-item {
  position: relative;
}

.accessory-title {
  position: absolute;
  bottom: 4px;
  left: 40%;
  transform: translateX(-50%);

  background: rgba(88, 104, 112, 0.85);
  color: #F5F5E6;
  font-size: 12px;
  padding: 3px 6px;
  border-radius: 3px;
  white-space: nowrap;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 0.15s ease;
  font-family: "Courier Prime", monospace;
}

.accessory-item:hover .accessory-title {
  opacity: 1;
  visibility: visible;
  animation: glitchText 0.2s steps(2);
}

@keyframes glitchText {
  0% { transform: translateX(-50%) skewX(0deg); }
  50% { transform: translateX(-48%) skewX(10deg); }
  100% { transform: translateX(-50%) skewX(0deg); }
}
.lineup-window {
  background:
    repeating-linear-gradient(
      to bottom,
      #BFBDB0 0px,
      #BFBDB0 24px,
      #4E545E 25px
    );
  background-size: auto 25px;
  width: 1350px; 
  height: 560px;
  top: 50%;         
  left: 50%;
  transform: translate(-50%, -50%);
  border: 3px solid #66655F;
  border-radius: 5px;
}
.lineup-window::before {
  content: none;
}
.lineup-window .window-content {
  height: 100%;       
  overflow-x: auto; 
  overflow-y: hidden;
  background:
    repeating-linear-gradient(
      to bottom,
      #BFBDB0 0px,
      #BFBDB0 24px,
      #4E545E 25px
    ); 
  position: relative;
  
}
.lineup-window .close-tab {
  top: 20px;
  right: 20px;
  z-index: 10;
  border: 2px solid #B14949;
  border-radius: 4px;
}

.lineup-scroll {
  height: 100%;
  padding: 28px 24px;

  display: flex;
  flex-direction: row;
  gap: 1px;

  overflow-x: auto;
  overflow-y: hidden;

  position: relative;
  background: transparent;
}

.lineup-item {
  height: 100%;
  width: auto;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: url("/RedCursors/RedCursorGrab.png") 16 16, grab;
  transition: 
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.lineup-item:active {
  cursor: url("/RedCursors/RedCursorGrabbing.png") 16 16, grabbing;
}

.lineup-item img {
  width: auto;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  opacity:0.88;
  padding-bottom: 50px;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;  
}
.lineup-item:hover img {
  transform: scale(1.02);
}
.lineup-title {
  font-family: "Courier Prime", monospace;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;

  border-bottom: 2px dashed rgba(0,0,0,0.3);

  color: #3A3A3A;
  text-align: center;
}

.lineup-item.dragging {
  cursor: url("/RedCursors/RedCursorGrabbing.png") 16 16, grabbing;
}


