body {
  background: #111;
  font-family: monospace, arial;
  font-size: 10px;
  color: #6E8F68;
  letter-spacing: 1px;
  line-height: 13px;
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  /* Prevents accidental horizontal scrolling if an image peaks off-screen */
}

.bg-element {
  position: absolute;
  /* Allows you to use top/bottom/left/right to position them */
  z-index: -1;
  /* CRITICAL: Forces the images to sit BEHIND your text and menu */
  opacity: 1;
  /* Optional: Makes them slightly see-through so they don't distract */
  pointer-events: none;
  /* Makes the images "ghosts" so users can click right through them */
}

/* 3. Scatter them across the screen using individual IDs */
#bg-shape1 {
  top: 50%;
  left: 7%;
  width: 350px;
  animation: spin2 1.5s steps(2) infinite;
  /* Initialize with no animation, but allows it to be triggered on hover */
}

#bg-shape2 {
  top: 15%;
  left: 12%;
  width: 155px;
  animation: spin2 1.5s steps(2) infinite;
}

#bg-shape3 {
  top: 15%;
  right: 10%;
  width: 260px;
  animation: spin2 1.5s steps(2) infinite;
}

#bg-shape4 {
  top: 52%;
  right: 12%;
  width: 200px;
  animation: spin2 1.5s steps(2) infinite;
}

a:link,
a:visited,
a:active {
  font-weight: bold;
  color: #bbb;
  text-decoration: none;
}

a:hover {
  color: #ddd;
}

b {
  color: #888;
}

i {
  color: #aaa;
}

u {
  color: #888;
}

::-webkit-scrollbar-thumb {
  background: #111;
  border: 1px solid #666;
}

::-webkit-scrollbar {
  width: 7px;
  background: transparent;
}

#layout {
  width: 758px;
  margin: 0 auto;
}

#columns {
  overflow: hidden;
  background: #171717;
}

#header {
  height: 150px;
  background: #111 url(/Images/Belle.gif) no-repeat center / 100px;
  box-sizing: border-box;
  padding-top: 75px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.Burnice {
  max-width: 100px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.Burnice:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

#sitename a {
  font: 20px courier new;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 8px;
  background: #101010;
  border-radius: 30px;
  padding: 4px 20px;
}

#menu {
  height: 20px;
  line-height: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

#menu a {
  font: bold 11px monospace;
  text-transform: uppercase;
  padding: 4px;
  margin-right: 10px;
  letter-spacing: 1px;
  color: #666;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}

#menu a:hover {
  color: #ccc;
  text-decoration: underline;
  transform: translateY(-1px);
}

.menu-clock {
  font: bold 11px monospace;
  color: #666;
}

#live-clock {
  font: bold 11px monospace;
  color: #616161;
}

#left1,
#content1,
#right1 {
  float: left;
  padding: 6px;
  margin: 0;
}

#left1 {
  width: 180px;
  background: #171717;
  color: #5a5a5a;
  border-right: 1px dashed #222;
}

#content1 {
  width: 360px;
  background: #202020;
  color: #656565;
}

#right1 {
  width: 180px;
  background: #171717;
  color: #5a5a5a;
  border-right: 1px dashed #222;
}

.title {
  font: bold 10px verdana;
  color: #999;
  letter-spacing: 3px;
  margin-bottom: 2px;
}

.scrollbox {
  background: #111;
  height: 100px;
  overflow: auto;
  overflow-x: hidden;
  margin-top: 4px;
}

.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  color: #5a5a5a;
  gap: 5px;
}

/* --- INTERACTIVE ALBUM PLAYER --- */

.player-container {
  width: 100%;
  margin-top: 15px;
}

/* Container acts as the wrapper and button */
#lol {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  cursor: pointer;
  bottom: 5px;
}

/* Album Cover Image */
#lol .player-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  z-index: 999;
  transition: transform 0.4s ease, filter 0.3s ease;
  border: 1px solid #ffffff;
}

/* Dim the album art slightly on hover to look clickable */
#lol:hover .player-img {
  filter: brightness(80%);
  transform: translateY(-2px);
}

/* The Spinning CD/Disk */
#lol .disk-img {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 90px;
  height: 90px;
  z-index: 800;
  transition: left 0.4s ease;

  transform: rotate(0deg);
}

/* HOVER: CD Slides out */
#lol:hover .disk-img {
  left: 55px;
  transform: translateY(-2px);
}

/* ACTIVE STATE: When the music is playing, make the CD spin! */
#lol.playing .disk-img {
  animation: spin 4s linear infinite;
  transform: translateY(-2px);
}

#lol.playing:hover .disk-img {
  transform: none;
}

/* OPTIONAL: Play status indicator symbol in the center of the artwork */
.play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  color: #fff;
  font: bold 9px verdana;
  text-shadow: 1px 1px 3px #000;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  /* Keeps it from blocking clicks */
}

/* Show 'PLAY' hint when hovering while paused */
#lol:not(.playing):hover .play-indicator::after {
  content: "PLAY";
  opacity: 1;
}

/* Show 'PAUSE' hint when hovering while playing */
#lol.playing:hover .play-indicator::after {
  content: "PAUSE";
  opacity: 1;
}

#lol:hover .play-indicator {
  opacity: 1;
}

/* --- MUSIC PLAYER TITLE EXTRA --- */
#track-title {
  margin-top: 15px;
  font-family: monospace;
  font-size: 11px;
  color: #666;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-top: 1px dashed #2d2d2d;
  padding-top: 8px;
}

#track-title .green-text {
  color: #6E8F68;
  font-weight: bold;
}

/* --- JUKEBOX EXTENSIONS --- */

/* Centers everything and aligns buttons side-by-side with art */
.player-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 0 auto;
}

/* Retro-styled lo-fi console buttons */
.nav-btn {
  background: #1b1f1b;
  border: 1px solid #2d2d2d;
  color: #6E8F68;
  font-family: monospace;
  font-size: 14px;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background: #2d2d2d;
  color: #fff;
  border-color: #6E8F68;
}

/* Dynamic length tracker stylings */
#track-duration {
  font-family: monospace;
  font-size: 10px;
  color: #555;
  text-align: center;
  margin-top: 4px;
  letter-spacing: 1px;
}

/* --- POST PAGE SPECIFIC STYLES --- */

.blog-container {
  max-width: 800px;
  margin: 30px auto;
  padding: 0 20px;
}

/* Big blocks inspired by imageboards */
.blog-post {
  background: #181818;          /* Slightly lighter than #111 to stand out */
  border: 1px solid #2d2d2d;    /* Rigid box outline */
  padding: 12px;
  margin-bottom: 20px;
  font-family: monospace, arial;
}

/* Header line inside the block containing meta-info */
.post-header {
  font-size: 11px;
  color: #666;
  margin-bottom: 10px;
  border-bottom: 1px dashed #2d2d2d;
  padding-bottom: 6px;
}

.post-title {
  color: #6E8F68;              /* Your main green accent color */
  font-weight: bold;
  font-size: 13px;
  margin-right: 8px;
}

.post-author {
  color: #888;
  font-weight: bold;
  margin-right: 8px;
}

.post-date {
  margin-right: 8px;
}

.post-id {
  color: #555;
}

/* Body content inside the blocks */
.post-body {
  font-size: 12px;
  color: #ccc;
  line-height: 16px;
}

/* Imageboard image attachment layouts */
.file-info {
  font-size: 10px;
  color: #555;
  margin-bottom: 6px;
}
.file-info a {
  color: #6E8F68;
}

.post-content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.post-thumb {
  border: 1px solid #2d2d2d;
  background: #111;
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
}

/* Classic quote text decoration style */
.green-text {
  color: #6E8F68;
}

/* Footer layout rules */
.blog-footer {
  text-align: center;
  font-family: monospace, arial;
  font-size: 11px;
  color: #444;
  margin: 50px 0 20px 0;
}
.blog-footer .thanks {
  color: #666;
  text-decoration: none;
}
.blog-footer .thanks:hover {
  text-decoration: underline;
}
/* --- MULTI-TRACK PROGRESS SLIDER STYLING --- */
#seek-bar {
  display: block;
  width: 85%;
  margin: 10px auto;
  cursor: pointer;
  
  /* The layout uses a fallback fill background color combined with a linear gradient track */
  background: linear-gradient(to right, #6E8F68 0%, #6E8F68 0%, #1b1f1b 0%, #1b1f1b 100%);
  
  border: 1px solid #2d2d2d;
  height: 6px;
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

/* Custom retro thumb control node for Webkit browsers (Chrome, Safari, Edge) */
#seek-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: #6E8F68;
  border: 1px solid #111;
  border-radius: 2px;
  cursor: pointer;
}

/* Custom retro thumb control node for Firefox */
#seek-bar::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #6E8F68;
  border: 1px solid #111;
  border-radius: 2px;
  cursor: pointer;
}

/* --- GAME CATALOGUE SPECIFIC STYLES --- */

.catalog-container {
  max-width: 950px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Flexbox/Grid alignment for side-by-side cards */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 25px;
}

/* Individual Game Cards */
.game-card {
  background: #181818;
  border: 1px solid #2d2d2d;
  padding: 12px;
  font-family: monospace, arial;
  display: flex;
  flex-direction: column;
}

.game-cover {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border: 1px solid #2d2d2d;
  background: #111;
  margin-bottom: 10px;
}

.game-title {
  color: #ccc;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 2px;
}

.game-meta {
  font-size: 10px;
  color: #666;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* Custom Progress Bar Elements */
.progress-container {
  margin-top: auto; /* Forces status block to align neatly to the card bottom */
}

.status-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #6E8F68; /* Main theme green */
  margin-bottom: 5px;
}

.progress-bar-bg {
  background: #111;
  border: 1px solid #2d2d2d;
  height: 10px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.progress-bar-fill {
  background: #6E8F68;
  height: 100%;
  width: 0%; /* Adjusted dynamically by JavaScript */
  transition: width 0.4s ease;
}

/* Centers the status text alignment horizontally when progress bar is missing */
.centered-status .status-label {
  justify-content: center;
  text-align: center;
  width: 100%;
}

/* --- FAVORITE GAME CARD MODIFIERS --- */

/* The favorite box gets your signature green border and a slight lift */
.game-card.is-favorite {
  border: 1px solid #6E8F68; 
  position: relative;        /* Necessary to position the absolute badge */
  background: #1b1f1b;       /* Subtle dark green tint background */
  box-shadow: 0 0 10px rgba(110, 143, 104, 0.15); /* Muted retro glow */
}

/* Text adjustments inside the favorite card */
.game-card.is-favorite .game-title {
  color: #fff;               /* Brighter text headline for clarity */
}

/* Old-school imageboard style overlay badge text */
.favorite-badge {
  position: absolute;
  top: -10px;
  left: 10px;
  background: #6E8F68;
  color: #111;
  font-family: monospace;
  font-size: 9px;
  font-weight: bold;
  padding: 2px 6px;
  border: 1px solid #111;
  letter-spacing: 1px;
  z-index: 10;
}

/* Container adjustments to match the text board wrapper width */
.unified-container {
  max-width: 850px;
  margin: 0 auto;
}

.content-wrapper {
  padding: 0 10px;
}

/* Two-column grid used for sections on the homepage */
.main-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

/* Ensure list items inside elements match the retro monospace vibe */
.game-card ul, .blog-post ul {
  padding-left: 20px;
  margin: 8px 0;
}

.game-card p {
  margin: 8px 0;
}

/* --- ANIMATION KEYFRAMES --- */
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin2 {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(15deg);
  }

  /* Tilts right */
  50% {
    transform: rotate(0deg);
  }

  /* Back to center */
  75% {
    transform: rotate(-15deg);
  }

  /* Tilts left */
  100% {
    transform: rotate(0deg);
  }


}