body {
  margin: 0;
  background: linear-gradient(120deg, #0d1b2a 0%, #1b263b 100%);
  color: #f9f6f2;
  font-family: 'Georgia', serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  padding: 2.5rem 0 1.2rem 0;
  text-align: center;
}

nav a {
  margin: 0 1.1rem;
  color: #ffd700;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1.07rem;
  transition: color 0.2s;
  display: inline-block;
}

nav a:hover:not(.icon-home) {
  color: #fffbe0;
  text-shadow: 0 0 10px #ffd70055;
}

.music-icon {
  width: 32px;
  height: 32px;
  margin-bottom: -7px;
  transition: transform 0.33s cubic-bezier(.68,-0.55,.27,1.55), filter 0.3s;
  filter: drop-shadow(0 0 7px #ffd70099);
}

.icon-home:hover .music-icon {
  transform: scale(1.18) rotate(-10deg);
  filter: drop-shadow(0 0 20px #ffd700cc) brightness(1.2);
}
.icon-home:active .music-icon {
  transform: scale(0.93) rotate(2deg);
}
nav a.icon-home {
  margin-right: 0.6rem;
  padding-right: 0.2rem;
  vertical-align: middle;
}

/* Imagine și suprapuneri */
.image-quote-container {
  position: relative;
  width: 100%;
  max-width: 670px;
  margin: 2rem auto 2.5rem auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 40px 0 rgba(255, 215, 0, 0.09), 0 2px 8px 0 #1b263b99;
}

.tree-hero {
  width: 100%;
  display: block;
  border-radius: 18px;
}

/* Citat sus */
.image-quote.top-quote {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 80%;
  background: rgba(21, 23, 43, 0.47);
  backdrop-filter: blur(2.5px);
  color: #fff9ec;
  font-family: 'Georgia', serif;
  font-size: 2.13rem;
  padding: 1rem 2rem;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 2px 22px 0 #ffd70011;
  letter-spacing: 0.5px;
  line-height: 1.5;
  font-style: italic;
  opacity: 0;
  animation: fadeDown 1.5s cubic-bezier(.62,-0.02,.41,1.09) 0.25s forwards;
  z-index: 2;
}

@keyframes fadeDown {
  to {
    opacity: 1;
  }
}

.image-quote strong {
  color: #ffd700;
  font-style: normal;
  letter-spacing: 1px;
  text-shadow: 0 0 8px #ffd70066;
}

/* Nume + subtitlu central */
.image-signature.center-signature {
  position: absolute;
  left: 50%;
  top: 3%;
  transform: translate(-50%, -50%);
  width: 100%;
  background: rgba(21, 23, 43, 0.45);
  backdrop-filter: blur(4.5px);
  color: #ffd700;
  border-radius: 4px;
  padding: 1rem 0rem 0.6rem 0rem;
  text-align: center;
  opacity: 0;
  animation: fadeUp 0.1s cubic-bezier(.62,-0.02,.41,1.09) 0.0s forwards;
  box-shadow: 0 2px 22px 0 #ffd70011;
  z-index: 2;
}

@keyframes fadeUp {
  to {
    opacity: 1;
  }
}

.hero-title {
  font-size: 2rem;
  letter-spacing: 1.3px;
  font-family: 'Georgia', serif;
  margin: 0 0 0.2rem 0;
  color: #ffd700;
  font-weight: bold;
  text-shadow: 0 0 16px #0d1b2a, 0 0 2px #ffd70099;
  text-align: center;
}

.subtitle {
  font-size: 1.11rem;
  margin-bottom: 0.1rem;
  color: #e0e1dd;
  font-style: italic;
  letter-spacing: 0.6px;
  text-align: center;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer {
  text-align: center;
  padding: 1.2rem 0 0.8rem 0;
  color: #ffd700cc;
  font-size: 1rem;
  background: none;
  letter-spacing: 0.5px;
}

@media (max-width: 800px) {
  .image-quote-container { max-width: 98vw; }
  .hero-title { font-size: 1.25rem; }
  .image-quote.top-quote { font-size: 0.97rem; padding: 0.7rem 0.5rem; }
  .image-signature.center-signature { font-size: 0.99rem; padding: 0.8rem 0.7rem 0.5rem 0.7rem;}
}

@media (max-width: 600px) {
  nav a { margin: 0 0.6rem; font-size: 0.97rem; }
  .image-quote-container { margin-top: 1rem; }
  .image-quote.top-quote { padding: 0.55rem 0.15rem; width: 98%; }
  .image-signature.center-signature { padding: 0.7rem 0.15rem 0.4rem 0.15rem; width: 98%; }
  .hero-title { font-size: 1rem; }
}
