/* 🌐 Body Setup & Background */
body.zaviera-desktop {
  background:
    linear-gradient(to bottom right, #2a233b, #3f344f),
    url('https://zavieracomplains.neocities.org/zc/graphics/BACKGROUND.jpeg');
  background-repeat: repeat;
  background-blend-mode: overlay;
  font-family: 'Pixelated', sans-serif;
  color: #eee0ff;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  box-sizing: border-box;
  position: relative;
  overflow-x: hidden;
}

/* 🪶 Misty Lilac Veil Overlay */
.background-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(220, 181, 245, 0.28);
  backdrop-filter: blur(6px);
  z-index: 0;
  pointer-events: none;
  animation: mistBreath 10s ease-in-out infinite;
}

@keyframes mistBreath {
  0%   { opacity: 0.38; }
  50%  { opacity: 0.58; }
  100% { opacity: 0.48; }
}

/* ✨ Floating Sparkle Glints Behind Veil */
.mist-sparkle {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #f5d7ff;
  opacity: 0.08;
  animation: glintTwinkle 6s ease-in-out infinite;
  z-index: 0;
}

@keyframes glintTwinkle {
  0%, 100% { opacity: 0.08; transform: scale(1); }
  50%      { opacity: 0.2; transform: scale(1.3); }
}

/* 🖱 Cursor Shark */
html, body, a, a:hover {
  cursor: url('https://zavieracomplains.neocities.org/zc/pixelgraphics/shark2.gif'), auto !important;
}

/* 💻 Window Frame */
.window-frame {
  max-width: 95vw;
  width: 600px;
  border: 4px solid #5a4b7c;
  background: #3c3053;
  box-shadow: 4px 4px 8px rgba(68, 54, 97, 0.4);
  border-radius: 8px;
  overflow: hidden;
  z-index: 1;
}

/* 💜 Window Header Bar */
.window-header {
  background: linear-gradient(to right, #594570, #7e638e);
  padding: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #5a4b7c;
}

.window-title {
  font-weight: bold;
  font-size: 18px;
}

/* 🔘 Pixel Buttons */
.btn-pixel {
  background: #f8f4fd;
  border: 2px solid #443661;
  color: #443661;
  margin-left: 4px;
  padding: 4px 8px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
}

/* 📦 Pixel Window Styling */
.pixel-window {
  width: 100%;
  margin: 24px 0;
  border: 3px solid #5a4b7c;
  background: #3c3053;
  box-shadow: 2px 2px 6px rgba(68, 54, 97, 0.3);
  border-radius: 8px;
  overflow: hidden;
  z-index: 1;
}

/* 🌒 Section Header */
.pixel-header {
  background: linear-gradient(to right, #594570, #7e638e);
  padding: 6px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #443661;
  font-weight: bold;
  font-size: 16px;
  color: #f8f4fd;
}

/* 🪄 Section Body Gradient */
.pixel-body {
  background: linear-gradient(to top left, #7e638e, #594570);
  padding: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #eee0ff;
  border-top: 1px dashed #5a4b7c;
  border-radius: 0 0 8px 8px;
  z-index: 1;
}

/* 🍬 Flavour Chart Styles */
.flavour-chart {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.flavour-bar {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  font-weight: bold;
  color: #2a233b;
  box-shadow: 1px 1px 0 #443661;
}

/* ✨ Flavour Zones */
.flavour-bar.love {
  background-color: #a6efc0;
}
.flavour-bar.neutral {
  background-color: #f5d7ff;
}
.flavour-bar.loathe {
  background-color: #ffb2d6;
}

/* 🐾 Collection Chart Styles */
.collection-chart {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.collection-bar {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  font-weight: bold;
  color: #2a233b;
  box-shadow: 1px 1px 0 #443661;
  background-color: #dcb5f5;
}

.collection-bar:hover {
  background-color: #f3ecff;
  transform: scale(1.05);
  transition: 0.3s ease;
}

/* 🐸 Frog Sparkle Bar */
.sparkle-frog {
  position: relative;
  animation: sparkleGlow 2s infinite ease-in-out;
  background-color: #a6efc0;
  box-shadow: 0 0 6px #a6efc0, 0 0 12px #eee0ff;
}

@keyframes sparkleGlow {
  0%   { box-shadow: 0 0 6px #a6efc0, 0 0 12px #eee0ff; }
  50%  { box-shadow: 0 0 12px #dcb5f5, 0 0 20px #a6efc0; }
  100% { box-shadow: 0 0 6px #a6efc0, 0 0 12px #eee0ff; }
}

/* 🧷 Pixel Image Frames */
.pixel-img-frame {
  margin: 24px 0;
  text-align: center;
  border: 2px dashed #5a4b7c;
  padding: 12px;
  background: #2d243c;
  border-radius: 8px;
}
.pixel-img-frame img {
  max-width: 100%;
  height: auto;
}
.pixel-img-frame img[alt="my face"] {
  width: 120px;
  height: auto;
  display: inline-block;
  margin: 12px auto;
}

/* 🖋️ Link Styling */
a {
  color: #f8d8ff;
  text-decoration: underline;
}
a:hover {
  color: #eee0ff;
  text-decoration: none;
}

/* ✒️ Subheading Icons */
.pixel-body h3:nth-of-type(1)::before { content: "🖼 "; }
.pixel-body h3:nth-of-type(2)::before { content: "🐾 "; }
.pixel-body h3:nth-of-type(3)::before { content: "📺 "; }
.pixel-body h3:nth-of-type(4)::before { content: "🍬 "; }
.pixel-body h3:nth-of-type(5)::before { content: "🐈 "; }

/* 🍬 Flavour List Styling */
.flavour-list {
  font-style: italic;
  color: #dcb5f5;
}

/* ✒️ Subheading Styling */
.pixel-body h3 {
  margin-top: 16px;
  font-size: 15px;
  color: #f0d8ff;
}
