body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
  
  background-color: #fff0f8;
  background-image: url('assets/backgrounds/roses.gif');
  background-repeat: repeat;
  background-size: 200px; 
}

.bookcase {
  position: relative;
  width: 600px;
  background-color: #d4956a; 
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 38px,
    rgba(0,0,0,0.04) 38px,
    rgba(0,0,0,0.04) 40px
  ); 
  
  padding: 18px;
  border-radius: 4px;
  
  
  border-top: 28px solid #c8845a;
  border-left: 28px solid #b87040;
  border-right: 28px solid #c8845a;
  border-bottom: 32px solid #b07040;
  
  
  box-shadow:
    inset 0 0 30px rgba(0,0,0,0.25),  
    4px 8px 24px rgba(0,0,0,0.35);    
}

.bookshelf {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.shelf {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 16px 12px 0 12px;
  min-height: 180px;
}

.shelf::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -4px;
  right: -4px;
  height: 16px;
  background: linear-gradient(
    to bottom,
    #e8b87a 0%,   
    #d4956a 60%,   
    #b87040 100%  
  );
  border-top: 2px solid #f0cc99; 
  box-shadow:
    0 4px 8px rgba(0,0,0,0.3),  
    inset 0 2px 4px rgba(255,255,255,0.2); 
  z-index: 1;
}

.item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.item:hover {
  transform: translateY(-8px); 
}

.item img {
  height: 160px; 
  width: auto;
  object-fit: contain;
  filter: drop-shadow(2px 4px 4px rgba(0,0,0,0.2));
}

.home-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
}

.home-button img {
  display: block;
}

.home-button:hover {
  transform: translateY(-8px); 
}

.bookcase-header {
  display: block;
  margin: 0 auto 12px auto;
}


.postit {
  position: fixed;
  left: 80px;
  top: 40%;
  transform: translateY(-50%);
  width: 160px;
  background: #fff9c4;
  padding: 0;
  box-shadow: 3px 3px 8px rgba(0,0,0,0.2);
  rotate: -2deg;
  z-index: 999;
}

.postit-header {
  background: #f7e84e;
  padding: 6px 10px;
  font-size: 11px;
  cursor: grab;
  user-select: none;
  color: #888;
}

.postit p {
  padding: 10px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}