
:root {
  --xp-blue: #245edb;
  --xp-blue-dark: #003399;
  --xp-green: #3ca33c;
  --xp-border: #0a246a;
  --xp-window: #ece9d8;
  --xp-panel: #f7f4e8;
  --xp-text: #111;
  --xp-muted: #444;
  --xp-link: #0645ad;
  --xp-orange: #ffb000;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Tahoma, Verdana, Segoe UI, Arial, sans-serif;
  color: var(--xp-text);
  background:
    linear-gradient(135deg, rgba(0, 100, 220, .35), rgba(0, 160, 120, .18)),
    linear-gradient(180deg, #1f75d6 0%, #0b4aa2 45%, #0b7d51 100%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code {
  font-family: Consolas, monospace;
  background: #fff;
  border: 1px solid #aaa;
  padding: 2px 5px;
}

.desktop {
  width: min(1180px, calc(100% - 24px));
  margin: 18px auto 90px;
}

.top-notice {
  position: fixed;
  top: 58px;
  right: 16px;
  z-index: 120;
  width: min(370px, calc(100% - 24px));
  padding: 12px 14px;
  border: 2px solid #0a246a;
  border-radius: 8px;
  background: linear-gradient(#fffef6, #ece9d8);
  box-shadow: 4px 6px 16px rgba(0,0,0,.28);
}
.top-notice-title {
  margin-bottom: 5px;
  color: #003399;
  font-size: 14px;
  font-weight: 800;
}
.top-notice-text {
  color: #333;
  font-size: 13px;
  line-height: 1.4;
}
.top-notice-text strong { color: #b24300; }

.taskbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  color: #fff;
  background: linear-gradient(#2f7bf0, #1857c9 48%, #0b3b9e 49%, #1b59c8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 2px 8px rgba(0,0,0,.35);
}

.start-button {
  border-radius: 18px;
  border: 1px solid #0b5f12;
  color: white;
  text-shadow: 1px 1px 1px rgba(0,0,0,.45);
  background: linear-gradient(#70d765, #32a93a 45%, #188b27 46%, #3bb448);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 2px 2px 4px rgba(0,0,0,.25);
}
.logo-badge {
  min-height: 34px;
  padding: 5px 16px 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-moon {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fffbd1, #ffe177 60%, #ffb000 100%);
  box-shadow: 0 0 8px rgba(255, 214, 92, .65);
  flex: 0 0 auto;
}
.logo-moon::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(43, 139, 70, .9);
}
.logo-stack {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}
.logo-main {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .2px;
}
.logo-sub {
  font-size: 12px;
  font-weight: 900;
  color: #fff5be;
}

.task-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.task-link {
  min-width: 92px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 3px;
  background: linear-gradient(#3b86f6, #195dd0);
  font-size: 13px;
  font-weight: 700;
}
.task-link:hover { background: linear-gradient(#61a1ff, #2b70e6); }

.window {
  border: 2px solid var(--xp-border);
  border-radius: 8px 8px 0 0;
  background: var(--xp-window);
  box-shadow: 6px 8px 22px rgba(0,0,0,.32);
  overflow: hidden;
  margin-bottom: 22px;
}

.titlebar {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 12px;
  color: white;
  background: linear-gradient(#4892ff, #1762d0 50%, #0641aa 51%, #1b5fcb);
  font-weight: 800;
  text-shadow: 1px 1px 1px rgba(0,0,0,.45);
}

.window-buttons { display: flex; gap: 4px; }
.window-btn {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 3px;
  background: linear-gradient(#7fb1ff, #1b62d1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
  font-size: 13px;
  line-height: 1;
}
.window-btn.close { background: linear-gradient(#ff8c63, #d63816); }

.window-body { padding: 22px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid #2c65b8;
  background: #dce9ff;
  color: #003399;
  font-weight: 800;
  margin-bottom: 14px;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(42px, 7vw, 82px);
  line-height: .95;
  margin-bottom: 16px;
  letter-spacing: -2px;
}
h1 span { color: var(--xp-blue-dark); }
.section-title { font-size: 31px; margin-bottom: 10px; }
.lead, .section-desc, .game-hero p {
  color: var(--xp-muted);
  font-size: 17px;
  line-height: 1.55;
}

.button-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid #777;
  border-radius: 3px;
  background: linear-gradient(#fff, #e7e3d2 45%, #d8d2bd);
  color: #111;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 1px 0 white;
}
.btn:hover { filter: brightness(1.05); }
.btn.primary {
  color: white;
  border-color: #084a0d;
  background: linear-gradient(#7fd96b, #38ac3d 45%, #168b24);
  text-shadow: 1px 1px 1px rgba(0,0,0,.35);
}

.preview-box {
  border: 1px solid #888;
  background: #fff;
  padding: 8px;
  box-shadow: inset 1px 1px 0 white, inset -1px -1px 0 #aaa;
}
.preview-box img { width: 100%; border: 1px solid #333; }

.game-logo-large { max-width: 440px; margin: 0 0 16px; }
.game-logo { max-height: 86px; width: auto; margin-bottom: 12px; }
.game-logo-xl { max-width: 460px; margin-bottom: 16px; }

.games-grid, .features-grid, .info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.features-grid { grid-template-columns: repeat(4, 1fr); }

.game-card, .feature-card, .info-card, .download-card, .step {
  border: 1px solid #9b9b8b;
  background: linear-gradient(#fffdf2, #ece9d8);
  padding: 14px;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #c7c3ad;
}
.game-card {
  display: block;
  color: #111;
  min-height: 250px;
}
.game-card:hover { outline: 3px solid #f7c04a; }
.game-status {
  display: inline-block;
  padding: 3px 8px;
  margin-bottom: 10px;
  border: 1px solid #666;
  background: #eaf7e8;
  color: #116311;
  font-size: 12px;
  font-weight: 800;
}
.game-status.soon { background: #eee; color: #666; }
.thumb { width: 100%; height: 150px; object-fit: cover; border: 1px solid #333; margin-bottom: 12px; }
.placeholder-art {
  height: 150px;
  display: grid;
  place-items: center;
  border: 1px dashed #777;
  background: #f8f8f8;
  color: #777;
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 12px;
}
.disabled { opacity: .72; }

.feature-card h3, .info-card h3 { color: #003399; margin-bottom: 8px; }
.feature-card p, .info-card p { color: #444; line-height: 1.5; }

.download-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  background: linear-gradient(#fff, #e6f0ff);
}
.download-big { font-size: 18px; min-width: 190px; }
.warning { color: #7a3b00; font-weight: 700; }

.video-wrap {
  aspect-ratio: 16 / 9;
  background: #000;
  border: 2px solid #333;
  box-shadow: 4px 4px 0 rgba(0,0,0,.25);
}
.video-wrap iframe { width: 100%; height: 100%; border: 0; }

.install-steps { display: grid; gap: 10px; }
.step { display: flex; gap: 12px; align-items: flex-start; }
.step strong {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--xp-blue);
  border: 1px solid #003399;
}
.step p { margin: 4px 0 0; color: #333; }
.back-link { display: inline-block; color: var(--xp-link); font-weight: 800; margin-bottom: 12px; }

.footerbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(#245edb, #0b3b9e);
  font-size: 13px;
  box-shadow: 0 -2px 8px rgba(0,0,0,.35);
}

@media (max-width: 1100px) {
  .top-notice {
    position: static;
    width: auto;
    margin: 12px 12px 0;
  }
}

@media (max-width: 900px) {
  .hero-grid, .download-card { grid-template-columns: 1fr; }
  .games-grid, .features-grid, .info-grid { grid-template-columns: 1fr; }
  .taskbar { min-height: auto; align-items: flex-start; flex-direction: column; }
  .footerbar { position: static; margin-top: 20px; }
  .desktop { margin-bottom: 20px; }
}
