@import url('https://fonts.googleapis.com/css2?family=Droid+Serif:ital@0;1&display=swap');

:root {
  --bg:         #000000;
  --bg-dark:    #111111;
  --text:       #EEEEEE;
  --text-muted: #888888;
  --link:       #66FDFD;
  --border:     #999999;
  --shadow:     rgba(0,0,0,.6);
  --sans:       lucida, helvetica, arial, sans-serif;
  --serif:      'Droid Serif', serif;

  /* win95 */
  --w95-bg:     #c0c0c0;
  --w95-text:   #000000;
  --w95-light:  #ffffff;
  --w95-dark:   #808080;
  --w95-darker: #404040;
  --w95-title:  #000080;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }

body {
  background-image: url("assets/backgrounds/background-0.gif");
  background-color: #000000;
  background-repeat: repeat;
  background-size: 300px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 100%;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 16px;
}

a         { color: var(--link); }
a:visited { color: var(--link); }
a:hover   { text-decoration: underline; }

/* ── WIN95 WINDOW ── */
.window {
  width: 100%;
  max-width: 720px;
  background: var(--w95-bg);
  /* raised border: light top/left, dark bottom/right */
  border-top:    2px solid var(--w95-light);
  border-left:   2px solid var(--w95-light);
  border-right:  2px solid var(--w95-darker);
  border-bottom: 2px solid var(--w95-darker);
  box-shadow: 1px 1px 0 var(--w95-dark), -1px -1px 0 var(--w95-dark);
}

.window-titlebar {
  background: var(--w95-title);
  color: #ffffff;
  font-family: var(--sans);
  font-size: 82%;
  font-weight: bold;
  padding: 3px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.window-title { letter-spacing: .03em; }

.window-controls { display: flex; gap: 2px; }

.window-btn {
  background: var(--w95-bg);
  border-top:    1px solid var(--w95-light);
  border-left:   1px solid var(--w95-light);
  border-right:  1px solid var(--w95-darker);
  border-bottom: 1px solid var(--w95-darker);
  width: 16px;
  height: 14px;
  font-size: 9px;
  line-height: 13px;
  text-align: center;
  color: var(--w95-text);
  cursor: default;
  font-family: var(--sans);
}

.window-content {
  background: var(--bg);
  margin: 3px;
  border-top:    1px solid var(--w95-dark);
  border-left:   1px solid var(--w95-dark);
  border-right:  1px solid var(--w95-light);
  border-bottom: 1px solid var(--w95-light);
}

main {
  padding: 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* ── HEADER ── */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

#logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

#computer { width: 140px; }
#text3d   { width: 400px; }

#status {
  font-size: 20px;
  color: var(--text);
  font-family: var(--serif);
}

.stylized-text {
  color: yellow;
  text-shadow: 2px 2px 0 purple;
  font-style: italic;
}

.serif { font-family: var(--serif); }

/* ── BUTTONS ── */
#my-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 80%;
  color: var(--text-muted);
}

#badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.special-button {
  height: 40px;
  image-rendering: pixelated;
}

.button {
  height: 31px;
  image-rendering: pixelated;
}

/* ── HR ── */
hr {
  width: 100%;
  border: none;
  border-top: 1px solid var(--border);
}

/* ── ABOUT ── */
#about {
  font-size: 95%;
  max-width: 560px;
  width: 100%;
  text-align: center;
}

#about h3 { margin-bottom: 8px; font-size: 100%; }
#about p  { margin-bottom: 0; color: var(--text); }

/* ── SECTION NAV ── */
#sections {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

#sections a { display: block; }

#sections img {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 1px solid var(--border);
  image-rendering: pixelated;
}

#sections img:hover { outline: 2px solid var(--link); }

.under-construction-gif {
  width: 300px;
}

/* ── LATEST ── */
#latest { width: 100%; }

#latest h3 {
  font-size: 80%;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

#latest-post { font-size: 90%; }

/* ── FOOTER ── */
footer {
  font-size: 80%;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  width: 100%;
  text-align: center;
}

/* radio */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 12px;
  margin-top: 32px;

  background: var(--bg-dark);
}

.footer-radio {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;

  font-family: monospace;
}

.radio-btn {
  background: var(--bg);
  border: 1px solid var(--border);

  color: var(--text);

  padding: 4px 10px;
  cursor: pointer;
}

.radio-btn:hover {
  background: var(--bg-darker);
}

.radio-main {
  font-weight: bold;
}

.footer-radio-meta {
  display: flex;
  flex-direction: column;

  min-width: 180px;
}

.radio-title {
  font-size: 0.95rem;
}

.radio-artist {
  font-size: 0.75rem;
  opacity: 0.7;
}

.footer-radio-progress {
  display: flex;
  align-items: center;
  gap: 8px;

  flex: 1;
  min-width: 220px;
}

#radio-seek {
  flex: 1;
}

#radio-volume {
  width: 90px;
}

#radio-playlist {
  margin-top: 16px;

  list-style: none;
  padding: 0;
}

#radio-playlist li {
  display: flex;
  justify-content: space-between;

  padding: 6px 8px;
  cursor: pointer;

  border-bottom: 1px solid var(--border);
}

#radio-playlist li:hover {
  background: var(--bg-dark);
}

#radio-playlist li.playing {
  background: var(--bg-darker);
}

/* ── MOBILE ── */
@media (max-width: 480px) {
  body      { padding: 0; }
  .window   { max-width: 100%; }
  main      { padding: 20px 16px; }
  #computer { width: 30%; }
  #text3d   { width: 80%; }
  #sections img { width: 64px; height: 64px; }
  .button   { height: 24px; }
}

.rss-icon {
  width: 20px;
}

.rss-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
