/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  position: relative;
  font-family: 'Playfair Display', serif;
  background: #f9f9f9;
  color: #1a1a1a;
  max-width: 900px;
  margin: auto;
  padding: 1rem;
  overflow-x: hidden;
}

.background-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, #a7bdd8, #f4c2c2, #6b0f1a);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  z-index: -1;
  opacity: 0.5;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.site-header {
  text-align: center;
  margin-bottom: 2rem;
}

.site-header h1 {
  font-family: 'Caveat', cursive;
  font-size: 3.5rem;
  color: #0e1c36;
}

.subtitle {
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  color: #6b0f1a;
  margin-top: 0.5rem;
}

.spotify-section {
  margin: 2rem 0;
}

.spotify-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.spotify-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #a7bdd8;
}

.spotify-info {
  margin-left: 1rem;
}

.spotify-name {
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  color: #0e1c36;
}

.spotify-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background: #6b0f1a;
  color: #f4c2c2;
  border: none;
  border-radius: 15px 30px;
  text-decoration: none;
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  transition: background 0.3s, transform 0.3s;
}

.spotify-btn:hover {
  background: #5a0d15;
  transform: scale(1.05);
}

.photo-gallery {
  margin: 2rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-gap: 0.7rem;
}

.gallery-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.diary-entries {
  margin: 2rem 0;
}

.entry {
  background: rgba(255,255,255,0.9);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.entry h3 {
  font-family: 'Caveat', cursive;
  font-size: 2rem;
  color: #0e1c36;
  margin-bottom: 0.7rem;
}

.entry p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

.moodboard-section {
  margin: 2rem 0;
}

.moodboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.7rem;
}

.moodboard-grid img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 20px;
  filter: grayscale(30%);
  transition: transform 0.4s, filter 0.4s;
}

.moodboard-grid img:hover {
  filter: none;
  transform: scale(1.1) rotate(1deg);
}

.site-footer {
  text-align: center;
  padding: 2rem 0;
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  color: #0e1c36;
}
