/* ====================================================
   COLOR TOKENS
   ==================================================== */
:root {
  --desktop-bg: #f8beec;
  --window-bg: #fbdbef;
  --titlebar-1: rgba(253, 172, 223, 0.85);
  --titlebar-2: #d97fe7;
  --text: #000000;
  --white: #ffffff;
  --shadow-dark: #611d48;
  --shadow-darker: #dd32b3;
  --shadow-light: #f9f0f0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 24px 12px;
  background-color: var(--desktop-bg);
  background-image: url(images/starsrbowbg.gif);
  background-size: auto;
  font-family: Tahoma, Geneva, Verdana, sans-serif;
  font-size: 13px;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* ====================================================
   THE "BEVELED" 3D LOOK
   ==================================================== */
.raised {
  box-shadow:
    inset -1px -1px var(--shadow-darker),
    inset 1px 1px var(--white),
    inset -2px -2px var(--shadow-dark),
    inset 2px 2px var(--shadow-light);
}
.sunken {
  box-shadow:
    inset 1px 1px var(--shadow-darker),
    inset -1px -1px var(--white),
    inset 2px 2px var(--shadow-dark),
    inset -2px -2px var(--shadow-light);
}

.window {
  width: 100%;
  max-width: 880px;
  background: var(--window-bg);
  padding: 3px;
}

.title-bar {
  background: linear-gradient(90deg, var(--titlebar-1), var(--titlebar-2));
  color: var(--white);
  font-weight: bold;
  padding: 4px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title-bar-controls {
  display: flex;
  gap: 3px;
}

.title-bar-controls span {
  width: 16px;
  height: 14px;
  background: var(--window-bg);
  color: var(--text);
  font-size: 10px;
  line-height: 14px;
  text-align: center;
  font-weight: bold;
}

/* ---------- Window 1: the custom banner ---------- */
.banner-window .content {
  padding: 22px 10px;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 1px;
}

/* ---------- Window 2: nav buttons ---------- */
.nav-window .content {
  padding: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.nav-window .content marquee {
  width: 181px;
  flex-shrink: 0;
} 

.nav-window .content marquee img {
  width: 400px;
  height: 28px;
}

.nav-button {
  background: var(--window-bg);
  border: none;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}

a.nav-button {
  display: inline-block;
  text-decoration: none;
  color: var(--text);
}

.nav-button:active {
  box-shadow:
    inset 1px 1px var(--shadow-darker),
    inset -1px -1px var(--white),
    inset 2px 2px var(--shadow-dark),
    inset -2px -2px var(--shadow-light);
}

/* ---------- Windows 3 & 4: sidebar + main content, side by side ---------- */
.windows-row {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 880px;
  align-items: flex-start;
}

.windows-row .window {
  width: auto;
  max-width: none;
}

.sidebar-window {
  flex: 0 0 220px;
}
.main-window {
  flex: 1 1 auto;
  min-width: 0;
}

.main-window .content {
  padding: 10px;
}

.sidebar {
  padding: 8px;
  text-align: center;
}

.sidebar p {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}

.blinkie-slot {
  width: 88px;
  height: 31px;
  background: var(--white);
  margin: 0 auto 6px;
}

.content-body {
  flex: 1;
  min-width: 0;
}

.content-body h1 {
  margin-top: 0;
  font-size: 20px;
}

.content-body p {
  line-height: 1.5;
}

.blink::after {
  content: "_";
  animation: blink-cursor 1s steps(1) infinite;
}
@keyframes blink-cursor {
  50% {
    opacity: 0;
  }
}

/* ---------- iPod widget ---------- */
.ipod {
  --black: #5b3a53;
  --dark: Purple;
  --med: #dd89c2;
  --light: #f8beec;
  --white: #fee6f9;

  width: 180px;
  height: 322px;
  border: 5px var(--med) solid;
  padding: 15px;
  position: relative;
  margin: 10px auto;
  border-radius: 22px;
  background: var(--light);
  box-shadow: 15px 15px var(--med);
}

audio {
  border-radius: 25px;
  width: 87%;
  height: 30px;
  background: var(--med);
  color: white;
  mix-blend-mode: hard-light;
  opacity: 0.4;
  margin: 10px;
}

.ipod:nth-of-type(even) {
  background: var(--med);
  box-shadow: 8px 8px var(--dark);
  border-color: var(--dark);
  margin-top: -5px;
}
.ipod:nth-of-type(even) .button .button {
  background: var(--med);
  border: 1px double var(--light);
}

.screen {
  height: 55%;
  background: var(--white);
  width: auto;
  border-radius: 12px 0px 0px 0px;
  overflow: hidden;
  outline: 2px var(--white) solid;
  outline-offset: 3px;
  font-family: 'ChicagoFLF', 'Chicago', monospace;
  font-size: 12px;
  text-align: center;
  margin: 0 auto;
}

.screen b {
  background: var(--med);
  color: var(--white);
  width: 100%;
  display: block;
  padding: 3px 5px;
  font-size: 0.9em;
  margin-top: 5px;
  border-top: 15px double var(--white);
}

.screen .caption {
  padding: 0px 11px;
}

.button {
  border: 1px double var(--med);
  background: var(--white);
  height: 40%;
  aspect-ratio: 1 / 1;
  margin: 10% auto;
  border-radius: 50%;
  overflow: hidden;
  text-align: center;
  position: relative;
}
.button .b {
  position: absolute;
  width: 100%;
  text-align: center;
  font-weight: bold;
  color: var(--black) !important;
}
.b.b-top {
  top: 5%;
  font-size: 0.9em;
}
.b.b-bottom {
  bottom: 5%;
  font-size: 0.6em;
}
.b.b-left {
  left: 3%;
  top: 40%;
  width: 20%;
}
.b.b-right {
  right: 3%;
  top: 40%;
  width: 20%;
}

.button .button {
  height: 50%;
  aspect-ratio: 1 / 1;
  margin: 25% auto;
  background: var(--light);
}
