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

@font-face {
  font-family: 'NDS';
  src: url('fonts/nds-true-bios.otf') format('opentype');
  font-smooth: never;
  -webkit-font-smoothing: none;
}

@font-face {
  font-family: 'BigParty';
  src: url('fonts/BigParty4Blue.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'NDS', Tahoma, sans-serif;
  font-size: 18px;
  color: #cccccc;
  background-color: #0f0f0f;
  background: repeating-linear-gradient(
    45deg,
    #1a1a1a,
    #1a1a1a 10px,
    #0f0f0f 10px,
    #0f0f0f 20px
  );
  display: flex;
  flex-direction: column;
  min-height: 100vh; 
  margin: 0;
}

a { color: #57a5ff; text-decoration: none; cursor: pointer; transition: color 0.2s; }
a:hover { color: #ffffff; text-shadow: 0 0 5px #57a5ff; text-decoration: underline; }

.banner-area {
  max-width: 980px;
  margin: 15px auto 0;
  height: 120px;
  border: 1px solid #444;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #333 0%, #000 100%);
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  overflow: hidden;
}

.banner-placeholder {
  color: #555;
  font-weight: bold;
  font-size: 24px;
  text-shadow: 0px 1px 0px rgba(255,255,255,0.1);
}

.banner-area img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; 
}

.header {
  background: linear-gradient(to bottom, #2a2a2a 0%, #111 100%);
  border-top: 1px solid #444;
  border-bottom: 1px solid #000;
  padding: 8px 0;
  margin-top: 10px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

.header-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 15px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end; 
  position: relative;
}

.site-title { 
  font-family: 'BigParty', Tahoma, sans-serif; 
  font-size: 64px; 
  color: #fff;
  position: absolute; 
  left: 15px; 
  top: 50%;
  transform: translateY(-50%) rotate(-3deg); 
  z-index: 999; 
  pointer-events: none; 
  white-space: nowrap;
  text-shadow: 
    2px 2px 0px #57a5ff,
    4px 4px 0px #000,
    0 0 20px rgba(87, 165, 255, 0.5);
}

.nav-link {
  background: linear-gradient(to bottom, #444 0%, #222 100%);
  border: 1px solid #555;
  padding: 4px 12px;
  color: #ddd;
  text-decoration: none;
  font-weight: bold;
  border-radius: 3px;
  font-size: 18px;
  text-transform: uppercase;
}

.nav-link:hover { 
  background: linear-gradient(to bottom, #555 0%, #333 100%);
  color: #fff;
  border-color: #777;
}

.nav-link.current {
  background: linear-gradient(to bottom, #222 0%, #000 100%);
  color: #57a5ff;
  border-color: #000;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.8);
}

.container {
  max-width: 980px;
  margin: 20px auto;
  padding: 0 15px;
  display: flex;
  gap: 15px;
  flex: 1; 
}

.content { flex: 1; }
.sidebar { width: 240px; }

.panel {
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid #333;
  box-shadow: 0 0 0 1px #000, 0 5px 10px rgba(0,0,0,0.5);
  border-radius: 4px;
  margin-bottom: 15px;
  backdrop-filter: blur(2px);
}

.panel-title {
  background: linear-gradient(to bottom, #404040 0%, #1a1a1a 50%, #000 51%, #1a1a1a 100%);
  padding: 0 10px; 
  font-weight: bold;
  color: #fff;
  border-bottom: 1px solid #000;
  border-radius: 3px 3px 0 0;
  text-shadow: 0 -1px 0 #000;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
  height: 32px;
  align-items: center;
}

.panel-controls .window-btn {
  display: block;
  width: auto;
  height: auto;

}

.panel-body { padding: 12px; }

.update-box {
  background: #000;
  border: 1px solid #333;
  padding: 8px;
  height: 100px;
  overflow-y: auto;
  font-family: 'NDS', monospace;
  font-size: 18px;
  color: #0f0; 
  margin-bottom: 10px;
}

.blog-post {
  border-bottom: 1px dashed #333;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.blog-date { 
  background: #222; color: #57a5ff; 
  display: inline-block; padding: 2px 5px; 
  font-size: 18px; margin-bottom: 5px;
  border: 1px solid #333;
}

.wa-body-bg { background: #222 !important; padding: 8px !important; }

.wa-lcd {
  width: 70px;
  height: 40px;
  background: #000;
  border: 1px inset #444;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.wa-timer {
  color: #0f0;
  font-family: 'NDS', monospace;
  font-size: 16px;
  font-weight: bold;
}

.wa-visualizer {
  display: flex;
  gap: 1px;
  height: 8px;
  align-items: flex-end;
}

.wa-visualizer .bar {
  width: 3px;
  background: #0f0;
  height: 2px;
  animation: wa-bounce 0.6s infinite ease-in-out;
}

.wa-visualizer .bar:nth-child(2) { animation-delay: 0.1s; }
.wa-visualizer .bar:nth-child(3) { animation-delay: 0.2s; }
.wa-visualizer .bar:nth-child(4) { animation-delay: 0.3s; }

@keyframes wa-bounce {
  0%, 100% { height: 2px; }
  50% { height: 8px; }
}

.wa-info {
  flex: 1;
  font-size: 16px;
  color: #0f0;
  overflow: hidden;
}

.wa-scroller {
  background: #000;
  border: 1px inset #444;
  padding: 2px;
  margin-bottom: 2px;
}

.wa-stats { color: #888; letter-spacing: 1px; }
.wa-stereo { color: #57a5ff; font-weight: bold; margin-top: 2px; }

.wa-seek-area {
  width: 100%;
  height: 10px;
  background: #111;
  border: 1px inset #444;
  margin-bottom: 8px;
  position: relative;
  cursor: pointer;
}

.wa-seek-handle {
  width: 0%;
  height: 100%;
  background: #555;
  border-right: 2px solid #57a5ff;
}

.wa-button-row { display: flex; gap: 3px; }

.wa-btn {
  flex: 1;
  background: linear-gradient(to bottom, #666, #333);
  border: 1px outset #888;
  color: #fff;
  font-size: 16px;
  padding: 3px 0;
  cursor: pointer;
}

.wa-btn:active {
  border: 1px inset #000;
  background: #222;
}

.status-row { 
  border-bottom: 1px solid #333; 
  padding: 4px 0; 
  display: flex; 
  justify-content: space-between; 
}

.footer-bar {
  width: 100%;
  min-height: 50px; 
  padding: 20px 15px;
  background: #111;
  border-top: 2px solid #000;
  color: #555;
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
  gap: 10px; 
  box-shadow: 0 -5px 15px rgba(0,0,0,0.8);
}

.blinkie-row {
  display: flex;
  flex-wrap: wrap; 
  justify-content: center;
}

.blinkie-row img {
  height: 20px; 
  width: auto;
  image-rendering: pixelated; 
}