/* ── Windows 95 System Font ── */
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

:root {
  --win-bg:      #008080;
  --win-gray:    #c0c0c0;
  --win-dark:    #808080;
  --win-black:   #000000;
  --win-white:   #ffffff;
  --win-title-l: #000080;
  --win-title-r: #1084d0;
}

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

body {
  background: var(--win-bg);
  background-image:
    radial-gradient(circle at 20% 80%, rgba(0,0,0,.15) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(0,0,0,.10) 1px, transparent 1px);
  background-size: 4px 4px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 32px 16px 80px;
  font-family: 'VT323', 'Courier New', monospace;
}

/* ── Main Window ── */
.window {
  width: 100%;
  max-width: 760px;
  background: var(--win-gray);
  border-top:    2px solid var(--win-white);
  border-left:   2px solid var(--win-white);
  border-right:  2px solid var(--win-dark);
  border-bottom: 2px solid var(--win-dark);
  box-shadow: 2px 2px 0 var(--win-black);
}

/* ── Title Bar ── */
.title-bar {
  background: linear-gradient(to right, var(--win-title-l), var(--win-title-r));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 4px;
  user-select: none;
}
.title-bar-text {
  color: var(--win-white);
  font-size: 18px;
  letter-spacing: 1px;
  padding-left: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.title-icon {
  width: 16px;
  height: 16px;
  image-rendering: pixelated;
}
.title-buttons { display: flex; gap: 2px; }
.title-btn {
  width: 16px;
  height: 14px;
  background: var(--win-gray);
  border-top:    1px solid var(--win-white);
  border-left:   1px solid var(--win-white);
  border-right:  1px solid var(--win-black);
  border-bottom: 1px solid var(--win-black);
  font-size: 10px;
  line-height: 12px;
  text-align: center;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: var(--win-black);
}
.title-btn:active {
  border-top:    1px solid var(--win-dark);
  border-left:   1px solid var(--win-dark);
  border-right:  1px solid var(--win-white);
  border-bottom: 1px solid var(--win-white);
}

/* ── Menu Bar ── */
.menu-bar {
  background: var(--win-gray);
  border-bottom: 1px solid var(--win-dark);
  padding: 2px 6px;
  display: flex;
  font-size: 16px;
}
.menu-item {
  padding: 1px 8px;
  cursor: pointer;
  color: var(--win-black);
}
.menu-item:hover {
  background: var(--win-title-l);
  color: var(--win-white);
}
.menu-item span { text-decoration: underline; }

/* ── Window Content ── */
.window-content { padding: 16px; }

/* ── Logo Area ── */
.logo-area {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0 16px;
}
.logo-area img {
  max-width: 220px;
  max-height: 100px;
  object-fit: contain;
  image-rendering: pixelated;
}

/* ── Divider (sunken) ── */
.divider {
  border: none;
  border-top:    1px solid var(--win-dark);
  border-bottom: 1px solid var(--win-white);
  margin: 8px 0;
}

/* ── Nav Toolbar ── */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 4px;
  background: var(--win-gray);
  border-top:    1px solid var(--win-white);
  border-left:   1px solid var(--win-white);
  border-right:  1px solid var(--win-dark);
  border-bottom: 1px solid var(--win-dark);
  margin-bottom: 12px;
}

/* ── Windows 95 Button / Link ── */
.win-btn {
  min-width: 80px;
  padding: 4px 14px;
  background: var(--win-gray);
  color: var(--win-black);
  font-family: 'VT323', 'Courier New', monospace;
  font-size: 20px;
  letter-spacing: 1px;
  cursor: pointer;
  border-top:    2px solid var(--win-white);
  border-left:   2px solid var(--win-white);
  border-right:  2px solid var(--win-dark);
  border-bottom: 2px solid var(--win-dark);
  outline: 1px solid var(--win-black);
  outline-offset: -1px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition: none;
}
.win-btn:hover { background: #d4d0c8; }
.win-btn:active,
.win-btn.active {
  border-top:    2px solid var(--win-dark);
  border-left:   2px solid var(--win-dark);
  border-right:  2px solid var(--win-white);
  border-bottom: 2px solid var(--win-white);
  padding: 5px 13px 3px 15px;
}

/* ── Content Panel ── */
.content-panel {
  border-top:    2px solid var(--win-dark);
  border-left:   2px solid var(--win-dark);
  border-right:  2px solid var(--win-white);
  border-bottom: 2px solid var(--win-white);
  background: var(--win-white);
  padding: 16px;
  min-height: 260px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--win-black);
}
.content-panel h2 {
  font-size: 26px;
  margin-bottom: 8px;
  color: var(--win-title-l);
}
.content-panel p { margin-bottom: 8px; }

/* ── Hero image ── */
.hero-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-top:    2px solid var(--win-dark);
  border-left:   2px solid var(--win-dark);
  border-right:  2px solid var(--win-white);
  border-bottom: 2px solid var(--win-white);
  margin-bottom: 12px;
}

/* ── Marquee ── */
.marquee-wrap {
  background: var(--win-black);
  color: #00ff00;
  font-size: 18px;
  padding: 3px 0;
  overflow: hidden;
  margin-bottom: 12px;
  border-top:    1px solid var(--win-dark);
  border-bottom: 1px solid var(--win-dark);
}
.marquee-inner {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 18s linear infinite;
}
@keyframes scroll-left {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}

/* ── Status Bar ── */
.status-bar {
  background: var(--win-gray);
  border-top: 1px solid var(--win-dark);
  display: flex;
  gap: 4px;
  padding: 2px 4px;
  font-size: 15px;
  color: var(--win-black);
}
.status-cell {
  border-top:    1px solid var(--win-dark);
  border-left:   1px solid var(--win-dark);
  border-right:  1px solid var(--win-white);
  border-bottom: 1px solid var(--win-white);
  padding: 1px 8px;
  flex: 1;
}

/* ── Taskbar ── */
.taskbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 36px;
  background: var(--win-gray);
  border-top: 2px solid var(--win-white);
  display: flex;
  align-items: center;
  padding: 0 4px;
  gap: 6px;
  z-index: 100;
}
.start-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: var(--win-gray);
  border-top:    2px solid var(--win-white);
  border-left:   2px solid var(--win-white);
  border-right:  2px solid var(--win-dark);
  border-bottom: 2px solid var(--win-dark);
  font-family: 'VT323', monospace;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  outline: 1px solid var(--win-black);
  outline-offset: -1px;
}
.start-btn img { width: 20px; height: 20px; object-fit: contain; }
.taskbar-clock {
  margin-left: auto;
  border-top:    1px solid var(--win-dark);
  border-left:   1px solid var(--win-dark);
  border-right:  1px solid var(--win-white);
  border-bottom: 1px solid var(--win-white);
  padding: 2px 10px;
  font-size: 16px;
  color: var(--win-black);
  min-width: 70px;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 520px) {
  .toolbar  { gap: 4px; }
  .win-btn  { font-size: 17px; min-width: 60px; padding: 3px 8px; }
}

/* ── Responsive video embeds ── */
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  margin-bottom: 16px;
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}
