body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: radial-gradient(circle at center, #0b0b0b, #1a1a1a);
  color: white;
  overflow-x: hidden;
}

/* Header */
header {
  text-align: center;
  padding: 20px;
  position: relative;
}

.corner-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 70px;
  height: auto;
  border-radius: 12px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 6px #00ffcc); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 10px #00ffcc); }
}

/* Upload Section */
.upload-section {
  text-align: center;
  margin: 20px;
}

.upload-box {
  border: 2px dashed #00ff99;
  border-radius: 12px;
  padding: 30px;
  cursor: pointer;
  transition: 0.3s;
  background: rgba(255, 255, 255, 0.05);
}
.upload-box:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Gallery */
.gallery-section {
  margin: 40px 10px;
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  justify-items: center;
}

.gallery img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
  height: 250px;
  transition: 0.3s;
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.download-btn,
.delete-btn {
  position: absolute;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px;
  border-radius: 8px;
  cursor: pointer;
  color: white;
  font-size: 14px;
  transition: 0.3s;
}

.download-btn { left: 10px; }
.download-btn:hover { color: #00ff99; }
.delete-btn { right: 10px; }
.delete-btn:hover { color: #ff5555; }

/* Heart Animation */
#hearts-container {
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: visible;
  z-index: 0;
}

.heart {
  position: absolute;
  color: rgba(255, 0, 100, 0.5);
  animation: floatUp 6s linear infinite;
  font-size: 12px;
  user-select: none;
}

@keyframes floatUp {
  from { transform: translateY(100vh) scale(0.8); opacity: 1; }
  to { transform: translateY(-10vh) scale(1.4); opacity: 0; }
}

@media (max-width: 600px) {
  .gallery img { height: 200px; }
}

