:root {
  --background-color: #ffffff;
  --glow-color: #00ff00;
}

body {
  background: var(--background-color);
  background-image: url("https://sadhost.neocities.org/images/tiles/trees.png");
  background-repeat: repeat;
  background-size: auto;
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: url('https://sadhost.neocities.org/images/cursor.png'), auto;
}

.regal-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.regal {
  width: 600px;
  height: auto;
  display: block;
  z-index: 10;
}

.hoverable {
  position: absolute;
  display: inline-block;
}

.item {
  position: absolute;
  height: auto;
  cursor: inherit;
  transition: all 0.3s ease;
}

.item:not(.sessel):not(.outfit):not(.table):not(.teppisch):not(.pteranodon):not(.frosch):not(.kopfhoerer):not(.book-row):not(.spezi):not(.moon-hidden):hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 15px var(--glow-color));
}

.teppisch,
.frosch,
.kopfhoerer,
.book-row,
.spezi,
.moon-hidden {
  pointer-events: none;
}

.speech {
  display: none !important;
}

.poster { 
  width: 180px; 
  top: -280px; 
  left: 270px; 
  z-index: 5; 
  transform: rotate(-3deg); 
}

.spezi { 
    width: 25px;       
    top: 340px;      
    left: 460px;   
    z-index: 15;    
}

#majora-moon {
    width: 400px;
    top: -210px;
    right: -720px;
    z-index: 5;
    opacity: 0;
    transition: opacity 4s ease-in;
}

.games { width: 80px; top: -199.463px; left: 65.5369px; z-index: 15; }
.sessel { width: 200px; top: 41px; left: 445px; z-index: 20; }
.me { width: 110px; top: -115px; left: -801px; z-index: 30; }
.music { width: 100px; top: -189.387px; left: 138.614px; z-index: 15; }
.goose { width: 150px; top: 39.0885px; left: 477.589px; z-index: 25; }
.outfit { width: 250px; top: -167px; left: -856px; z-index: 10; }
.lamp { width: 60px; top: 74.4079px; left: -200.517px; z-index: 10; }
.cube { width: 50px; top: -113.787px; left: 175.301px; z-index: 10; }
.pteranodon { width: 400px; top: -462.541px; left: -436.75px; z-index: 10; }
.gamecube { width: 100px; top: 53.8126px; left: -58.0937px; z-index: 10; }
.wanderer { width: 100px; top: -177.5px; left: -458.547px; z-index: 10; }
.smiski { width: 40px; top: -118.793px; left: -69.6594px; z-index: 10; }
.frosch { width: 100px; top: 50.5203px; left: -553.547px; z-index: 20; }
.table { width: 200px; top: 75.6562px; left: -576.562px; z-index: 10; }
.gengar { width: 40px; top: -136.765px; left: -211.429px; z-index: 10; }
.teppisch { width: 1800px; top: 100.594px; left: -913.125px; z-index: 5; }
.yoshi { width: 150px; top: -25.3871px; left: 255.934px; z-index: 10; }
.kirby { width: 150px; top: 237.656px; left: 347.781px; z-index: 10; }
.camera { width: 100px; top: -194px; left: -34px; z-index: 15; }
.kopfhoerer { width: 100px; top: 91px; left: -482px; z-index: 25; }
.book-row { width: 200px; top: -48px; left: -68px; z-index: 14; }
.guestbook { width: 10px; top: -55px; left: 81px; z-index: 15; }

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.modal-content {
  background-image: url('images/open_book_bg.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-color: transparent;
  border: none;
  width: 700px;
  height: 500px;
  position: relative;
  box-shadow: none;
  animation: openBookAnim 0.8s ease-out forwards;
  transform-origin: center center;
}

.book-pages {
  padding: 40px 60px;
  height: 80%;
  overflow: hidden;
  text-align: center;
}

.close {
  color: #555;
  position: absolute;
  right: 30px;
  top: 20px;
  font-size: 30px;
  font-weight: bold;
  z-index: 100;
}

.close:hover,
.close:focus { color: #000; cursor: pointer; }

@keyframes openBookAnim {
  0% { opacity: 0; transform: scale(0.1) rotateY(90deg); }
  60% { transform: scale(1.1) rotateY(-5deg); }
  100% { opacity: 1; transform: scale(1) rotateY(0deg); }
}

body.music-page-layout {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: row; 
    align-items: stretch;
    background: #fff;
    font-family: 'Courier New', Courier, monospace;
    overflow: hidden; 
}

.sidebar {
    width: 250px;
    background: #eee;
    border-right: 2px solid #000;
    display: flex;
    flex-direction: column;
    padding: 20px;
    flex-shrink: 0;
    min-height: 100vh; 
}

.sidebar-header {
    font-size: 1.5rem;
    font-weight: bold;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.nav-btn {
    background: transparent;
    border: none;
    text-align: left;
    font-family: inherit;
    font-size: 1.1rem;
    padding: 10px 0;
    cursor: pointer;
    border-bottom: 1px dotted #ccc;
    color: #555;
}

.nav-btn:hover { color: #000; padding-left: 5px; }

.nav-btn.active {
    color: #000;
    font-weight: bold;
    background: #fff;
    border: 1px solid #000;
    padding: 5px;
    margin-bottom: 5px;
}

.spacer { flex-grow: 1; }

.exit-btn {
    text-decoration: none;
    color: #000;
    border: 1px solid #000;
    padding: 5px;
    text-align: center;
}

.exit-btn:hover { background: #000; color: #fff; }

.content-area {
    flex-grow: 1;
    padding: 40px;
    overflow-y: auto; 
    background: #fff;
}

.page-title {
    margin-top: 0;
    text-transform: uppercase;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.latest-card {
    border: 1px solid #000;
    padding: 20px;
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    background: #fafafa;
}

.latest-img {
    width: 200px;
    height: 200px;
    border: 1px solid #000;
    background: #ccc;
    flex-shrink: 0;
}

.latest-img img { width: 100%; height: 100%; object-fit: cover; }

.latest-info h2 { margin: 0; text-transform: uppercase; }
.latest-info h3 { margin: 0 0 10px 0; font-weight: normal; }
.meta { font-size: 0.8rem; color: #666; margin-bottom: 10px; }
.review { border-top: 1px dotted #000; padding-top: 10px; font-style: italic; }

.collection-filters {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

.filter-btn {
    background: #eee;
    border: 1px solid #000;
    padding: 5px 15px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
}

.filter-btn.active {
    background: #000;
    color: #fff;
}

.filter-btn:hover {
    background: #ccc;
}

.excel-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.excel-table th {
    border: 1px solid #000;
    background: #eee;
    padding: 10px;
    text-align: left;
    font-weight: bold;
}

.excel-table td {
    border: 1px solid #000;
    padding: 8px;
}

.excel-table tr:nth-child(even) { background: #fafafa; }
.excel-table tr:hover { background: #f0f0f0; }

body.dark-mode .glow-in-dark {
  z-index: 950 !important;
  filter: drop-shadow(0 0 20px rgba(255, 255, 0, 0.8)) brightness(1.2);
}

body.dark-mode .lamp {
  z-index: 950 !important;
  filter: drop-shadow(0 0 30px #ff00de) brightness(1.3);
}

.player-container {
    margin-bottom: 20px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    padding: 15px 0;
    background: #fafafa;
    margin-top: 20px;
}

.player-label {
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 5px;
}