/* ===== Rombred — XP/Chrome theme ===== */

/* Page base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);

  /* repeating wallpaper */
  background-image: url('https://i.postimg.cc/prGKB2rY/angelsbackground.jpg');
  background-repeat: repeat;
  background-size: auto;
}

.wrap { padding: 24px 12px 40px; }

/* Top section with two rows */
.top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.top-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.bottom-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* Big chrome panels */
h1, h2 {
  display: inline-block;
  margin: 0;
  padding: 8px 14px;
  font-size: 1.3rem;
  font-weight: bold;
  color: #000;
  background: linear-gradient(to bottom, #e0e0e0, #a0a0a0);
  border: 3px ridge #c0c0c0;
  border-radius: 6px;
  box-shadow: inset 1px 1px 2px #fff, inset -1px -1px 2px #555;
  text-shadow: 1px 1px 1px #fff;
}

/* Smaller chrome badges */
h3, h4 {
  display: inline-block;
  margin: 0;
  padding: 3px 8px;
  font-size: 0.85rem;
  font-weight: bold;
  color: #000;
  background: linear-gradient(to bottom, #e0e0e0, #a0a0a0);
  border: 2px ridge #c0c0c0;
  border-radius: 4px;
  box-shadow: inset 1px 1px 2px #fff, inset -1px -1px 2px #555;
  text-shadow: 1px 1px 1px #fff;
  max-width: fit-content;
  white-space: nowrap;
  flex: 0 0 auto;
  align-self: center;
  height: auto;
}

/* Checklist panel */
ol {
  display: inline-block;
  text-align: left;
  padding: 10px 20px 10px 30px;
  color: #000;
  background: linear-gradient(to bottom, #e0e0e0, #a0a0a0);
  border: 3px ridge #c0c0c0;
  border-radius: 6px;
  box-shadow: inset 1px 1px 2px #fff, inset -1px -1px 2px #555;
  margin: 0;
}

/* Frame holding message + image (title bar above) */
.chrome-frame {
  display: inline-block;
  margin: 0 auto;
  /* Smaller + responsive */
  width: 90vw;
  max-width: 420px;

  border: 6px ridge #c0c0c0;
  border-radius: 6px;
  box-shadow: 4px 4px 12px rgba(0,0,0,.6);
  overflow: hidden; /* trims scaled image at the edges, not the bar */
}

/* Message bar aligned with image width, pinned on top */
.chrome-frame .message {
  position: relative;
  z-index: 2;              /* always above the image */
  display: block;
  width: 100%;
  padding: 6px 10px;
  font-weight: bold;
  text-align: center;
  color: #000;
  background: linear-gradient(to bottom, #f5f5f5, #c0c0c0);
  border-bottom: 3px ridge #a0a0a0;
  text-shadow: 1px 1px 1px #fff;
}

/* Image inside the frame + retro FX + blending */
.chrome-frame .chrome-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border: none; /* frame provides the border */

  /* Retro FX */
  filter: contrast(1.3) brightness(1.1) saturate(1.4) hue-rotate(10deg);
  mix-blend-mode: overlay;   /* blends with wallpaper behind the frame */
  opacity: 0.95;

  /* Make scale grow downward so it doesn't cover the bar */
  transform-origin: center top;
  transition: filter .35s ease, transform .35s ease, box-shadow .35s ease;
}

/* Hover glow (no more bar clipping) */
.chrome-frame:hover .chrome-img {
  filter: contrast(1.5) brightness(1.2) saturate(1.6) hue-rotate(25deg);
  box-shadow:
    0 0 10px #ff00ff,
    0 0 20px #00ffff,
    0 0 30px #ffff00;
  transform: scale(1.03);
}
