/* ---------- Variables ---------- */
:root {
  --ink: #1e2330;
  --muted: #5a6475;
  --accent: #7b3ff2;
  --radius: 14px;
  --container: 980px;
}


/* ---------- Base ---------- */
html, body {
  height: 100%;
}

body {
  margin: 0;
  color: #fff; /* Changed to white for better contrast */
  font: 16px/1.5 "Segoe UI", "Segoe UI Variable Text", "Segoe UI Variable Display", SegoeUI, -apple-system, system-ui, "Helvetica Neue", Arial, sans-serif;
  background: url("Backround.webp") no-repeat center center fixed; /* Use the provided background image */
  background-size: cover;
  padding: 4px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* ---------- Frutiger Aero–style card ---------- */
.card {
  text-align: center;
  margin: 24px auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25); /* Lighter border */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 2px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

.heading-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  top: -2px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6));
}

/* ---------- Card Header (logo + title) ---------- */
.header-inner {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 12px;
  padding: 18px;
  padding-bottom: 16px;
  background: radial-gradient(1200px 220px at 50% -80px, rgba(255, 255, 255, 0.28), transparent 60%), linear-gradient(115deg, transparent 0 42%, rgba(126, 201, 127, 0.6) 55%, rgba(182, 240, 255, 0.45) 74%, transparent 88%), linear-gradient(180deg, #0b3551 0%, #0f5876 58%, #d0ff01 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25), 0 6px 14px rgba(0, 0, 0, 0.3);
}

.brand {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 400;
  color: #f0f8ff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}

/* ---------- Links inside card with Vista-style split bar ---------- */
.topbar {
  margin: 0;
  width: 100%;
  border-radius: 0;
  padding: 6px 0;
  background: linear-gradient(to bottom, rgba(60, 150, 170, 0.95) 0%, rgba(60, 150, 170, 0.95) 50%, rgba(20, 80, 90, 0.9) 50%, rgba(20, 80, 90, 0.9) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.4);
}

.topbar .links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.topbar a {
  color: #fff;
  font-weight: 400;
  font-family: "Segoe UI", -apple-system, system-ui, sans-serif;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 3px;
  transition: all 0.2s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 1);
}

.topbar a:hover {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.4), 0 0 6px rgba(0, 200, 255, 0.5);
  text-decoration: none;
}

/* ---------- Link icons ---------- */
.link-icon {
  width: 16px;
  height: 16px;
  margin-right: 3px;
  position: relative;
  top: 2px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6));
}

/* ---------- Card Body ---------- */
.card-body {
  padding: 22px 26px;
  background: rgba(20, 20, 20, 0.65);
  background-image: url("aero_glass.png"), radial-gradient(150% 80% at 50% -40%, rgba(255, 255, 255, 0.15), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 30%);
  background-blend-mode: overlay;
  background-size: cover;
}

.welcome-title, .section-title {
  margin-top: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: #f0f8ff;
  text-shadow: 0 0 6px rgba(200, 226, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.8);
}

.card p {
  color: #e0e0e0;
}

.upcoming-list li {
  color: #e0e0e0; /* Changed to match other text */
  margin-bottom: 8px;
  text-align: left;
}

.green-item {
  color: rgb(155, 255, 155); /* Lighter green for readability */
  text-shadow: 0 0 4px rgba(0, 255, 0, 0.5);
}

.yellow-item {
  color: rgb(255, 255, 100); /* Lighter yellow */
  text-shadow: 0 0 4px rgba(255, 255, 0, 0.5);
}

.note-text {
  text-align: left;
  color: #e0e0e0;
}

/* ---------- Helpers ---------- */
.centered-img {
  display: block;
  margin: 12px auto;
  max-width: 100%;
  height: auto;
}

.centered-list {
  display: inline-block;
  text-align: left;
}

/* ---------- Horizontal rule ---------- */
hr {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.4), rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0.4));
  margin: 20px 0;
}

/* Links */
a {
  color: var(--accent);
}

a:hover {
  filter: brightness(1.1);
}

/* Footer */
.footer {
  color: var(--muted);
  padding: 16px 0 40px;
  text-align: center;
}

.window,
.window .window-body,
.window .title-bar {
  color: black; /* or #000 to match Windows 7 look */
}
