/* ========== Base ========== */
:root{
  --bg-tile: url("images/tile.png"); /* put your tile image here */
  --accent: hotpink;                 /* easy to theme later */
  --card-w:  min(800px, 92vw);       /* max width of window */
  --card-h:  min(70vh, 900px);       /* max height of window */
  --card-pad: clamp(14px, 2.5vw, 28px);
}

/* Full-page repeating tiled background */
html, body {
  height: 100%;
}
body {
  margin: 0;
  font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #111;
  background-image: var(--bg-tile);
  background-repeat: repeat;      /* tile across page */
  background-attachment: fixed;   /* optional: fixed for subtle parallax */
  background-size: auto;          /* use actual tile size; change to 128px 128px etc if needed */
}

/* Top/bottom bits */
.site-header, .site-footer {
  text-align: center;
  padding: 10px 0;
  color: #222;
  text-shadow: 0 1px 0 #fff;
}
.site-header h1 {
  margin: 12px 0 0;
  font-size: clamp(22px, 4vw, 36px);
  letter-spacing: 0.02em;
}

/* Flex center wrapper so the window sits in the middle */
.center-wrap {
  min-height: calc(100svh - 100px); /* leaves space for header/footer; svh handles mobile chrome */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* Frameless floating window */
.floating-window {
  width: var(--card-w);
  max-height: var(--card-h);
  overflow: auto;                 /* scroll inside when tall */
  padding: var(--card-pad);
  background: rgba(255,255,255,0.9); /* “frameless”: no border; soft glass look */
  backdrop-filter: blur(4px);        /* graceful if unsupported */
  -webkit-backdrop-filter: blur(4px);
  border-radius: 14px;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.18),
    0 2px 6px rgba(0,0,0,0.10);
}

/* Optional accent styling */
.floating-window h2 {
  margin-top: 0;
  font-size: clamp(18px, 3.5vw, 28px);
  letter-spacing: 0.01em;
  color: #111;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 6px;
}

/* Nice, thin scrollbars (supported browsers only) */
.floating-window::-webkit-scrollbar {
  width: 10px;
}
.floating-window::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
.floating-window::-webkit-scrollbar-thumb:hover {
  background: #bbb;
  