/* ===== RESET ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Verdana, sans-serif;
  color: #2b3f73;
  background: radial-gradient(circle at top, #f4f7ff, #ffffff 65%);
  overflow-x: hidden;
}

/* ===== WRAPPER (ALIGN HEADER + DESKTOP) ===== */
.wrapper {
  width: 1100px;
  margin: auto;
}

/* ===== HEADER ===== */
.header {
  text-align: center;
  padding: 26px 0 16px;
  font-size: 26px;
  font-weight: bold;
}

/* ===== DESKTOP LAYOUT ===== */
.desktop {
  width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 160px 1fr 140px;
  gap: 14px;
  position: relative;
  z-index: 2;
}

/* ===== PANELS ===== */
.panel {
  border: 1px solid #9bbcff;
  border-radius: 14px;
  padding: 12px;
  background: #ffffff;
}

/* ===== NAV BUTTONS ===== */
.nav-btn {
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  background: linear-gradient(#ffffff, #f2f5ff);
  border: 1px solid #9bbcff;
  border-radius: 12px;
  color: #2b3f73;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav-btn.small {
  font-size: 13px;
}

.nav-btn:hover {
  background: #e6eeff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(120,140,255,0.35);
}

.nav-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ===== MAIN WINDOWS ===== */
.window {
  border: 1px solid #9bbcff;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(120,140,255,0.18);
}

.window h2 {
  margin: 0 0 8px;
}

.window h2::before {
  content: "✦ ";
  color: #7fa1ff;
}

/* DECORATIVE WINDOW */
.window.deco {
  text-align: center;
  font-style: italic;
  background: #f8faff;
}

/* ===== FLOATING CHARACTER ===== */
#floating-char {
  position: absolute;
  right: -35px;
  bottom: 35px;
  width: 130px;
  pointer-events: none;
  z-index: 5;
}

/* ===== BUBBLE BACKGROUND ===== */
#bubble-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bubble {
  position: absolute;
  bottom: -40px;
  background: rgba(170, 190, 255, 0.35);
  border-radius: 50%;
  animation: bubbleUp linear forwards;
}

@keyframes bubbleUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-120vh);
  }
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 16px;
  font-size: 13px;
  color: #2b3f73;
}
