@import url('https://cdn.jsdelivr.net/npm/@fontsource/iosevka@5/index.css');

/* --- Base Styles --- */
:root {
  --accent: #e8634a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #0b0b0b;
  color: #f2f2f2;
  font-family: 'Iosevka', monospace;
  letter-spacing: 0.02em;
  min-height: 100vh;
  overflow-x: hidden;
}

main {
  position: relative;
  z-index: 1;
  width: 95%;
  max-width: 1180px;
  margin: 2em auto;
  padding: 0 20px;
}

/* Particles */
.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  bottom: -10px;
  width: 3px; height: 3px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.1;
  animation: floatUp 20s linear infinite;
}
@keyframes floatUp {
  0%   { transform: translateY(0) translateX(0); opacity: 0.05; }
  50%  { transform: translateY(-55vh) translateX(2vw); opacity: 0.15; }
  100% { transform: translateY(-110vh) translateX(-1vw); opacity: 0; }
}

/* Links */
main a { color: #f2f2f2; text-decoration: none; }
main a:hover { text-decoration: underline; }

/* Hero */
.hero {
  max-width: 720px;
  margin: 2.5rem auto 2rem;
  text-align: center;
}
.hero img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 16px;
  border: 2px solid #333;
  box-shadow: 0 4px 25px rgba(0,0,0,0.7);
}

/* Grid */
.grid-container {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 2rem;
  max-width: 1160px;
  margin: 1.5rem auto;
}

.center-column { display: flex; flex-direction: column; gap: 2.2rem; }
.sidebar { display: flex; flex-direction: column; gap: 2rem; }

.box {
  background: #0a0a0a;
  border: 2px solid #444;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
  text-align: left;
}

h2, h3 { color: #eee; margin: 0 0 1.2rem 0; }
.latest-title { font-size: 1.3em; display: block; margin-bottom: 0.4rem; color: #ddd; }
.counter { font-size: 3.5rem; font-family: 'Iosevka', monospace; color: #ddd; text-align: center; margin: 1rem 0 0.4rem; }
.status-item { display: flex; justify-content: space-between; margin: 0.85rem 0; color: #ccc; }

.updates-list, .links-list { list-style: none; padding: 0; }
.updates-list li { display: flex; justify-content: space-between; margin: 1rem 0; }
.date { color: #666; font-size: 0.85em; }
.more-link { display: block; margin-top: 1rem; color: #aaa; }

/* Mobile */
@media (max-width: 1150px) {
  .grid-container { grid-template-columns: 1fr; }
  .hero { margin: 1.5rem auto; }
}

/* Tiny retro touch */
.box::before {
  content: "◉ ◉ ◉";
  display: block;
  text-align: center;
  color: #444;
  font-size: 0.7em;
  letter-spacing: 6px;
  margin-bottom: 1rem;
}

/* ====================== REFINED 2000s LAYOUT ====================== */
.header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.header h1 {
  font-size: 2.6rem;
  margin: 0 0 0.3rem;
  letter-spacing: 1px;
}
.tagline {
  color: #888;
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
}
.nav {
  font-size: 1.15rem;
  letter-spacing: 1px;
}
.nav a {
  margin: 0 0.9rem;
  color: #ddd;
}
.nav a:hover { color: #fff; }

.grid-container {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 2.2rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
}

.center-column { display: flex; flex-direction: column; gap: 2.4rem; }
.sidebar { display: flex; flex-direction: column; gap: 2rem; }

.box {
  background: #0a0a0a;
  border: 2px solid #444;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
  text-align: left;
}

h2, h3 {
  color: #eee;
  margin: 0 0 1.2rem 0;
  font-size: 1.25rem;
}

/* Status box – clean & not squished */
.status-item {
  display: flex;
  justify-content: space-between;
  margin: 0.95rem 0;
  color: #ccc;
  font-size: 0.98rem;
}

/* Song box */
.song-box {
  text-align: center;
}
.song-title {
  font-size: 1.25rem;
  color: #ddd;
  margin: 0.4rem 0 0.2rem;
}
.song-artist {
  color: #888;
  font-size: 0.95rem;
}

/* Visitor box */
.visitor-box {
  text-align: center;
}
.counter {
  font-size: 3.8rem;
  font-family: 'Iosevka', monospace;
  color: #ddd;
  margin: 0.6rem 0 0.3rem;
}
.unique {
  font-size: 1.1rem;
  color: #aaa;
  margin: 0.4rem 0;
}

/* Blog box */
.blog-box .updates-list {
  list-style: none;
  padding: 0;
}
.blog-box .updates-list li {
  display: flex;
  justify-content: space-between;
  margin: 1.1rem 0;
}
.date { color: #666; font-size: 0.85rem; }

/* Interests box */
.interests-box .links-list {
  list-style: none;
  padding: 0;
}
.interests-box .links-list li {
  margin: 0.9rem 0;
}

/* Mobile */
@media (max-width: 1150px) {
  .grid-container {
    grid-template-columns: 1fr;
  }
}

/* Tiny retro dots on every box */
.box::before {
  content: "◉ ◉ ◉";
  display: block;
  text-align: center;
  color: #444;
  font-size: 0.7rem;
  letter-spacing: 6px;
  margin-bottom: 1.2rem;
}
/* Anime page */
.anime-page-title {
  color: #eee;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  font-family: 'Iosevka', monospace;
  font-weight: bold;
  letter-spacing: 0.05em;
}
.anime-page-subtitle {
  color: #666;
  font-size: 0.85rem;
  margin-top: 0;
  margin-bottom: 2.5rem;
  font-family: 'Iosevka', monospace;
  line-height: 1.75;
}
.anime-section-label {
  color: #444;
  opacity: 1;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  border-top: 1px solid #222;
  padding-top: 1rem;
  margin-top: 2rem;
  margin-bottom: 0;
  font-family: 'Iosevka', monospace;
}
.anime-entry {
  border-bottom: 1px solid #222;
  padding: 1.8rem 0;
}
.anime-entry:last-child {
  border-bottom: none;
}
.anime-meta {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}
.anime-rank { color: #333; font-size: 0.8rem; }
.anime-title { color: #eee; font-size: 1rem; font-weight: bold; font-family: 'Iosevka', monospace; }
.anime-status {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-family: 'Iosevka', monospace;
  letter-spacing: 0.05em;
}
.status-completed { background: #1a1a2a; color: #7070cc; border: 1px solid #2a2a4a; }
.status-watching  { background: #1a2a1a; color: #6aaa6a; border: 1px solid #2a4a2a; }
.status-onhold    { background: #2a2a1a; color: #aaaa5a; border: 1px solid #3a3a2a; }
.anime-rating { margin-left: auto; color: #555; font-size: 0.85rem; font-family: 'Iosevka', monospace; }
.anime-rating .label { color: #333; }
.anime-writeup {
  margin: 0;
  padding-left: 2.2rem;
  color: #888;
  font-family: 'Iosevka', monospace;
  font-size: 0.92rem;
  line-height: 1.75;
}