/* Highlights Grid */
.highlight-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  padding: 60px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.highlight-item {
  position: relative;
  background: #fff;
  padding: 12px 12px 45px 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 320px;
  transform: rotate(var(--rotation));
}

.highlight-item:hover {
  transform: scale(1.05) rotate(0deg) !important;
  z-index: 10;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.highlight-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05) brightness(1.02);
  border: 1px solid #eee;
}

.highlight-caption {
  font-family: 'Kelly Slab', cursive;
  text-align: center;
  margin-top: 15px;
  font-size: 1.3rem;
  color: #444;
  transform: rotate(-1deg);
}

/* Washi Tape Effect */
.tape {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%) rotate(var(--tape-rotation, -2deg));
  width: 100px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  opacity: 0.8;
  border-left: 2px dashed rgba(0, 0, 0, 0.1);
  border-right: 2px dashed rgba(0, 0, 0, 0.1);
  z-index: 5;
}

/* Scrapbook decorative elements */
.corner-decoration {
  position: absolute;
  width: 40px;
  height: 40px;
  border-top: 3px solid #C4704A;
  border-left: 3px solid #C4704A;
  top: -5px;
  left: -5px;
  opacity: 0.6;
  pointer-events: none;
}

.highlight-item:nth-child(even) .corner-decoration {
  border: none;
  border-bottom: 3px solid #C4704A;
  border-right: 3px solid #C4704A;
  top: auto;
  left: auto;
  bottom: -5px;
  right: -5px;
}

/* Spotify Playlist Section */
.playlist-section {
  max-width: 800px;
  margin: 40px auto 80px;
  padding: 0 20px;
  text-align: center;
  position: relative;
}

.playlist-container {
  background: #fff;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: rotate(-1deg);
  position: relative;
  border: 1px solid #eee;
}

.playlist-container iframe {
  border-radius: 12px;
  display: block;
}

.playlist-title {
  font-family: 'Neucha', cursive;
  font-size: 3rem;
  color: #7A3B1E;
  margin-bottom: 30px;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.5);
  display: inline-block;
  position: relative;
}

/* Tape for Playlist */
.playlist-tape {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%) rotate(2deg);
  width: 140px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  opacity: 0.9;
  border-left: 2px dashed rgba(0, 0, 0, 0.1);
  border-right: 2px dashed rgba(0, 0, 0, 0.1);
  z-index: 10;
}

/* Responsive */
@media (max-width: 768px) {
  .highlight-grid {
    gap: 30px;
    padding: 40px 20px;
  }

  .playlist-section {
    margin-bottom: 120px;
    /* Space for the floating note */
  }
}