/* Reset & base styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: #111;
  color: #fff;
  font-family: 'Rubik Moonrocks', cursive;
  overflow-x: hidden;
}

/* Container styling */
.container {
  max-width: 900px;
  margin: 50px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed #4caf50;
  border-radius: 8px;
  position: relative;
}

/* Header section */
.header {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}
.header h1 {
  font-family: 'Permanent Marker', cursive;
  font-size: 4rem;
  color: #e91e63;
  text-shadow: 3px 3px #4caf50;
  display: inline-block;
  animation: jitter 0.2s infinite;
}
.header p {
  font-size: 1.2rem;
  color: #ffeb3b;
  margin-top: 10px;
  font-style: italic;
}

/* Dripping effect under the title */
.header h1::after {
  content: '';
  width: 100%;
  height: 8px;
  background: #e91e63;
  position: absolute;
  left: 0;
  bottom: -10px;
  animation: drip 2s infinite;
}

/* Joker image gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin: 30px 0;
}
.gallery img {
  width: 100%;
  border: 3px solid #e91e63;
  border-radius: 8px;
  transform: rotate(-5deg);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  background: #222;
}
.gallery img:hover {
  transform: rotate(3deg) scale(1.05);
  box-shadow: 0 0 15px rgba(233, 30, 99, 0.7);
}

/* Music button */
.music-btn {
  display: inline-block;
  font-family: 'Permanent Marker', cursive;
  font-size: 1.5rem;
  color: #111;
  background: #4caf50;
  padding: 12px 25px;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  animation: wobble 3s infinite;
  margin: 0 auto;
  display: block;
  width: fit-content;
}
.music-btn:hover {
  background: #e91e63;
  color: #fff;
}

/* Emphatic text block */
.blurb {
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 20px;
  text-align: center;
  color: #fff;
}

/* Footer styling */
.footer {
  margin-top: 40px;
  text-align: center;
  font-size: 0.9rem;
  color: #757575;
}
.footer a {
  color: #4caf50;
  text-decoration: none;
  font-weight: bold;
}

/* Animations */
@keyframes jitter {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  20% { transform: translate(-1px, -1px) rotate(-1deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  60% { transform: translate(-1px, 1px) rotate(0deg); }
  80% { transform: translate(1px, 1px) rotate(-1deg); }
  100% { transform: translate(0, 0) rotate(1deg); }
}

@keyframes drip {
  0% { height: 8px; }
  50% { height: 25px; }
  100% { height: 8px; }
}

@keyframes wobble {
  0% { transform: translateX(0px) rotate(0deg); }
  25% { transform: translateX(5px) rotate(2deg); }
  50% { transform: translateX(-5px) rotate(-2deg); }
  75% { transform: translateX(5px) rotate(1deg); }
  100% { transform: translateX(0px) rotate(0deg); }
}
