/* Windows XP (Luna) lightweight skin. Scoped to [data-theme="winxp"] only. */
:root[data-theme="winxp"] {
  --bg: #ece9d8;
  --ink: #111111;
  --muted: #5a5a5a;
  --line: #aca899;
  --code: #f5f4ec;
  --accent: #245edb;
  --accent-dark: #1a3faa;
  --accent-wash: #d6e4f7;
  --mono: "Tahoma", "Lucida Console", "PingFang SC", "Microsoft YaHei", monospace;
  --sans: "Tahoma", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

:root[data-theme="winxp"] .site-header {
  background: linear-gradient(to bottom, #0058e6 0%, #3a93ff 4%, #288eff 6%, #127dff 8%, #036ffc 20%, #0262ee 40%, #0057e5 60%, #0054e3 80%, #0136b8 100%);
  backdrop-filter: none;
  border-bottom: 1px solid #0831d9;
  color: #ffffff;
}

:root[data-theme="winxp"] .site-header .brand,
:root[data-theme="winxp"] .site-header .site-nav a,
:root[data-theme="winxp"] .site-header .language-switch,
:root[data-theme="winxp"] .site-header .language-switch a {
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

:root[data-theme="winxp"] .site-header .brand-logo {
  filter: brightness(0) invert(1);
}

:root[data-theme="winxp"] .site-header .language-switch a[aria-current="page"] {
  color: #ffffff;
  font-weight: 700;
}

:root[data-theme="winxp"] .button-primary {
  background: linear-gradient(to bottom, #3d8e37 0%, #5cb94f 50%, #3d8e37 100%);
  border: 1px solid #2b6b27;
  border-radius: 8px;
  color: #ffffff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}

:root[data-theme="winxp"] .button-primary:hover {
  background: linear-gradient(to bottom, #4da344 0%, #6cc65e 50%, #4da344 100%);
}

:root[data-theme="winxp"] .button-outline {
  border: 1px solid #0058e6;
  border-radius: 8px;
  background: #ffffff;
  color: #0058e6;
}

:root[data-theme="winxp"] .feature-card {
  border: 1px solid #aca899;
  border-radius: 8px 8px 8px 8px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.12);
}

:root[data-theme="winxp"] .feature-card h3 {
  color: #0058e6;
}

:root[data-theme="winxp"] .feature-icon {
  background: linear-gradient(to bottom, #3a93ff 0%, #0058e6 100%);
  border-radius: 8px;
  color: #ffffff;
}

:root[data-theme="winxp"] .step h3::before {
  background: linear-gradient(to bottom, #ffa540 0%, #f26522 100%);
  border: 1px solid #c14d15;
}

:root[data-theme="winxp"] .terminal,
:root[data-theme="winxp"] .code-block {
  border: 1px solid #7f9db9;
  border-radius: 8px 8px 8px 8px;
}

:root[data-theme="winxp"] .terminal mark,
:root[data-theme="winxp"] .intro-public-ip {
  background: #ffffcc;
  border: 1px solid #aca899;
  color: #c14d15;
}

:root[data-theme="winxp"] .site-footer {
  background: linear-gradient(to bottom, #0058e6 0%, #3a93ff 100%);
  border-top: 1px solid #0831d9;
  color: #ffffff;
}

:root[data-theme="winxp"] .site-footer a {
  color: #ffffff;
  text-decoration: underline;
}

:root[data-theme="winxp"] .site-footer .theme-switcher {
  color: #ffffff;
}

:root[data-theme="winxp"] .site-footer .theme-option {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

:root[data-theme="winxp"] .site-footer .theme-option:hover {
  border-color: #ffffff;
  color: #ffffff;
}

:root[data-theme="winxp"] [data-enhanced] .site-nav {
  background: #ece9d8;
}
