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

body {
  font-family: 'Nunito', sans-serif;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
  background-size: 400% 400%;
  animation: gradientMove 12s ease infinite;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* Title */
.app-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

/* Meme Container - Glassmorphism */
.meme-container {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 20px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.meme-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

/* Meme Title */
.meme-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #fff;
}

/* Author */
.author {
  font-size: 0.9rem;
  color: #e0e0e0;
}

/* Button - Neon Glow */
button {
  margin-bottom: 20px;
  border: none;
  font: inherit;
  padding: 14px 18px;
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  background: linear-gradient(90deg, #06d6a0, #118ab2);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(6, 214, 160, 0.7);
}

button:hover {
  background: linear-gradient(90deg, #118ab2, #06d6a0);
  box-shadow: 0 0 25px rgba(6, 214, 160, 0.9);
  transform: scale(1.05);
}

button:active {
  transform: scale(0.98);
}

/* Image */
img {
  width: 100%;
  border-radius: 12px;
  margin: 12px 0;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

img[src] {
  opacity: 1;
  transform: scale(1);
}

/* Background Animation */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
