/* ============================================================
   NOTES APP — Corkboard of sticky notes. Informal and alive.
   Character: A founder's desk covered in ideas. Imperfect on purpose.
   ============================================================ */

.window.app-notes .window-body {
  overflow: auto;
  height: 100%;
  /* Corkboard texture */
  background:
    radial-gradient(circle at 20% 40%, rgba(180,130,60,0.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(160,110,50,0.14), transparent 50%),
    repeating-linear-gradient(
      45deg,
      rgba(160,110,50,0.06) 0 2px,
      transparent 2px 12px
    ),
    linear-gradient(180deg, #c8a878, #b89860);
}

.window.app-notes .notes-pane {
  padding: 18px;
  min-height: 100%;
}

.window.app-notes .notes-header {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(60,30,0,0.60);
  margin: 0 0 18px;
  padding: 6px 10px;
  background: rgba(0,0,0,0.08);
  border-radius: 4px;
  display: inline-block;
}

/* Note card grid */
.window.app-notes .note-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

/* Each sticky note */
.window.app-notes .note-card {
  background: linear-gradient(160deg, #fffa80, #ffe840);
  border: 0;
  border-radius: 2px;
  padding: 16px 16px 20px;
  box-shadow:
    2px 3px 0 rgba(0,0,0,0.10),
    4px 6px 12px rgba(0,0,0,0.14);
  position: relative;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

/* Pin effect */
.window.app-notes .note-card::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff6666, #cc2222);
  box-shadow: 0 2px 4px rgba(0,0,0,0.30);
  z-index: 2;
}

/* Subtle lined paper texture */
.window.app-notes .note-card::after {
  content: "";
  position: absolute;
  inset: 28px 12px 12px;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 20px,
    rgba(100,80,0,0.10) 20px 21px
  );
  pointer-events: none;
}

/* Color variety across 8 notes */
.window.app-notes .note-card:nth-child(1) { transform: rotate(-1.2deg); background: linear-gradient(160deg, #fffa80, #ffe840); }
.window.app-notes .note-card:nth-child(2) { transform: rotate(0.8deg);  background: linear-gradient(160deg, #c8ffb0, #a8f070); }
.window.app-notes .note-card:nth-child(3) { transform: rotate(-0.7deg); background: linear-gradient(160deg, #b8e4ff, #88ccff); }
.window.app-notes .note-card:nth-child(4) { transform: rotate(1.0deg);  background: linear-gradient(160deg, #ffe4c8, #ffc890); }
.window.app-notes .note-card:nth-child(5) { transform: rotate(-0.9deg); background: linear-gradient(160deg, #ffd8f0, #ffb0e0); }
.window.app-notes .note-card:nth-child(6) { transform: rotate(0.6deg);  background: linear-gradient(160deg, #e8ffb8, #ccf080); }
.window.app-notes .note-card:nth-child(7) { transform: rotate(-1.4deg); background: linear-gradient(160deg, #fff8b8, #ffe060); }
.window.app-notes .note-card:nth-child(8) { transform: rotate(0.5deg);  background: linear-gradient(160deg, #d8f8ff, #b0eeff); }

.window.app-notes .note-card:hover {
  transform: rotate(0deg);
  box-shadow: 3px 5px 14px rgba(0,0,0,0.18);
  z-index: 5;
}

.window.app-notes .note-card h3 {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a1200;
  margin: 0 0 8px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.window.app-notes .note-card span {
  font-size: 0.78rem;
  color: #3a2a00;
  line-height: 1.6;
  display: block;
  position: relative;
  z-index: 1;
}
