@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Quicksand:wght@400;700&display=swap');

/* Pixel starfield animated background */
body {
  margin: 0;
  padding: 0;
  background: black;
  background-image: url("https://sadhost.neocities.org/images/starfield.gif");
  background-size: cover;
  animation: starscroll 90s linear infinite;
  font-family: 'Quicksand', sans-serif;
  color: #fff;
}

/* Soft fade in */
.page-fade {
  position: fixed;
  width: 100%;
  height: 100%;
  background: black;
  animation: fadein 2.5s forwards ease-in-out;
  z-index: 50;
}

@keyframes fadein {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

/* Slow starfield scroll */
@keyframes starscroll {
  from { background-position-y: 0; }
  to { background-position-y: -2000px; }
}

/* Layout grid */
.layout {
  display: grid;
  grid-template-columns: 280px auto;
  height: 100vh;
}

/* Sidebar */
.sidebar {
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-right: 2px solid #ffbbff;
  overflow-y: auto;
  backdrop-filter: blur(3px);
}

.sidebar img.avatar {
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
  display: block;
  margin: 0 auto;
}

.side-title {
  font-family: 'Press Start 2P';
  text-align: center;
  color: #ffc8ff;
  text-shadow: 0 0 10px #ff77ff;
}

/* Nav */
.nav a {
  display: block;
  padding: 8px;
  margin: 6px 0;
  background: rgba(255, 150, 255, 0.25);
  border: 1px solid #ffb7ff;
  text-decoration: none;
  color: #ffe4ff;
  font-family: 'Press Start 2P';
  font-size: 12px;
}

.nav a:hover {
  background: rgba(255, 200, 255, 0.5);
  box-shadow: 0 0 10px #ff77ff;
}

/* Boxes */
.stat-box, .os-box, .updates, .playlist {
  background: rgba(0, 0, 20, 0.45);
  border: 1px solid #ffbaff;
  margin: 15px 0;
  padding: 10px;
  font-size: 14px;
}

/* Green glowing text */
.green {
  color: #7CFF86;
  text-shadow: 0 0 6px #7CFF86;
}

/* Main content */
.content {
  padding: 40px;
  overflow-y: auto;
}

.page-title {
  font-family: 'Press Start 2P';
  color: #ffccff;
  text-shadow: 0 0 10px #ffaaff;
  margin-bottom: 30px;
}

/* Diary entries */
.entry {
  background: rgba(0, 0, 30, 0.45);
  border: 2px solid #ffbaff;
  padding: 20px;
  margin-bottom: 40px;
  backdrop-filter: blur(3px);
}

.entry h2 {
  font-family: 'Press Start 2P';
  color: #ffddff;
  text-shadow: 0 0 10px #ff99ff;
}

.divider {
  height: 16px;
  background-image: url("Image Assets/divider.png"); /* add your 32x32 pixel divider here */
  background-repeat: repeat-x;
  margin: 8px 0;
}
