/* Base Styles */
body {
  margin: 0;
  padding: 0;
  background: url('images/bg-sparkly.jpg') repeat fixed center center;
  font-family: 'Comic Sans MS', 'Arial', sans-serif;
  color: #333;
  image-rendering: pixelated;
  cursor: url('images/cursor-star.cur'), auto;
  overflow-x: hidden;
}

.wrapper {
  width: 90%;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.85);
  border: 3px double pink;
  border-radius: 20px;
  box-shadow: 0 0 10px hotpink;
  position: relative;
}

/* Header */
.hero {
  text-align: center;
  background: url('images/header-glitter.png') no-repeat center top;
  background-size: contain;
  padding: 60px 0;
  color: #ff69b4;
  text-shadow: 1px 1px #fff;
}

.hero-img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.tagline {
  font-size: 1.2em;
  color: #b06eb3;
  margin-top: -10px;
}

/* Sidebar */
.sidebar {
  background-color: #ffe3f7;
  border: 2px dotted #ff8bd0;
  padding: 15px;
  margin-top: 20px;
  float: left;
  width: 20%;
  font-size: 0.9em;
}

.sidebar h2 {
  color: #ff47c5;
  font-size: 1.2em;
  border-bottom: 1px dashed pink;
  padding-bottom: 5px;
}

.sidebar ul {
  list-style: none;
  padding-left: 0;
}

.sidebar ul li {
  margin-bottom: 10px;
}

.sidebar ul li a {
  text-decoration: none;
  color: #d94ecc;
  font-weight: bold;
}

/* Main content */
main {
  float: right;
  width: 75%;
  padding: 20px;
  background-color: #fff0fc;
  border-radius: 15px;
  border: 1px solid pink;
}

main section {
  margin-bottom: 30px;
}

main h2 {
  color: #ff4dc4;
  font-size: 1.4em;
  border-bottom: 2px solid #ffc4ea;
  padding-bottom: 4px;
}

summary {
  cursor: pointer;
  color: #ba3aac;
  font-weight: bold;
  padding: 5px 0;
}

/* Music player */
.music-player {
  text-align: center;
  background-color: #ffe6fa;
  border: 2px dashed #ff8bd0;
  padding: 10px;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 0 5px violet;
}

/* Footer */
footer {
  clear: both;
  text-align: center;
  margin-top: 40px;
  font-size: 0.85em;
  color: #999;
  padding: 20px;
  background: #fff5fa;
  border-top: 2px dashed pink;
}

/* Sparkles Animation */
.sparkle {
  position: absolute;
  width: 24px;
  height: 24px;
  animation: float 12s infinite linear;
  pointer-events: none;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: translateY(-200px) rotate(180deg);
    opacity: 0.5;
  }
  100% {
    transform: translateY(-400px) rotate(360deg);
    opacity: 0;
  }
}

/* Responsive */
@media screen and (max-width: 800px) {
  .sidebar, main {
    width: 100%;
    float: none;
  }

  .hero {
    padding: 20px;
  }

  .tagline {
    font-size: 1em;
  }
}
