
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(45deg, #FFE5F1, #FFC0CB);
  font-family: Arial, sans-serif;
}

.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 192, 203, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.login-box {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  text-align: center;
}

.login-box h2 {
  color: #FF1493;
  margin-bottom: 20px;
}

.login-box input {
  padding: 10px;
  margin: 10px 0;
  border: 2px solid #FFB6C1;
  border-radius: 5px;
  width: 200px;
}

.login-box button {
  background: #FF1493;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s;
}

.login-box button:hover {
  transform: scale(1.05);
}

.hidden {
  display: none !important;
}

.moodboard {
  display: none;
}

.moodboard.show {
  display: block;
}

.moodboard {
  padding: 20px;
}

h1 {
  text-align: center;
  color: #FF1493;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.8s ease-out;
  opacity: 0;
  transform: translateY(50px) rotate(-5deg);
  cursor: pointer;
  will-change: transform, opacity;
}

.item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 20, 147, 0.3);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.pulse {
  animation: pulse 0.8s ease;
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 15px;
  }
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.letter-btn {
  display: none;
  margin: 20px auto;
  padding: 15px 30px;
  background: #FF69B4;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.3s;
}

.letter-btn:hover {
  transform: scale(1.05);
}

.letter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.letter-paper {
  background: #fff9f9;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  max-width: 500px;
  width: 90%;
  position: relative;
  background-image: linear-gradient(#ffd5e5 1px, transparent 1px);
  background-size: 100% 2em;
}

.letter-content {
  font-family: 'Brush Script MT', cursive;
  color: #FF1493;
  font-size: 1.5em;
  line-height: 2;
}

.signature {
  text-align: right;
  margin-top: 30px;
}

.close-letter {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #FF1493;
}
