/* Landing page specific styles */
.landing-page {
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

/* Landing header with artist name */
.landing-header {
  position: absolute;
  top: 10%;
  left: 5%;
  z-index: 3;
  animation: fadeInLeft 1.5s ease-out;
}

.artist-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 5px;
  margin: 0 0 20px;
  text-align: center;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  line-height: 1;
  animation: textGlow 3s infinite alternate ease-in-out;
}

/* CD Styles */
.cd-container {
  position: absolute;
  top: 45%;
  left: 8%;
  transform: translateY(-50%);
  perspective: 1500px;
  animation: fadeInLeft 1.5s ease-out;
  z-index: 5;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.7));
}

.cd {
  position: relative;
  width: 300px;
  height: 300px;
  transform-style: preserve-3d;
  transform: rotateY(-30deg) rotateX(5deg);
  animation: cdSpin 15s linear infinite;
}

.cd-disc {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(45deg, #333, #111);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  backface-visibility: hidden;
}

.cd-disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0.8;
  mix-blend-mode: overlay;
}

.cd-hole {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle at center, #444, #111);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cd-shadow {
  position: absolute;
  width: 330px;
  height: 60px;
  bottom: -40px;
  left: -15px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  transform: rotateX(90deg);
  filter: blur(15px);
  opacity: 0.8;
}

.cd-title {
  position: absolute;
  width: 300px;
  top: 100%;
  left: 0;
  text-align: center;
  color: #fff;
  margin-top: 30px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.cd-title h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 5px;
  color: #d4af37;
  letter-spacing: 2px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.cd-title p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: 1px;
}

.cd-release {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-size: 1rem;
  color: #d4af37;
  margin: 15px 0;
  letter-spacing: 1px;
  animation: pulse 2s infinite;
}

.cd-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 15px;
}

.cd-details span {
  font-size: 0.8rem;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 5px 10px;
  border-radius: 20px;
  color: #e0e0e0;
  font-weight: 500;
  letter-spacing: 1px;
  display: inline-block;
}

@keyframes cdSpin {
  0% {
    transform: rotateY(-30deg) rotateX(5deg) rotateZ(0deg);
  }
  100% {
    transform: rotateY(-30deg) rotateX(5deg) rotateZ(360deg);
  }
}

.landing-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0.5) 100%
    ),
    url('images/ABOU7744 (1).jpg');
  background-size: 140% auto;
  background-position: center 40%;
  filter: brightness(1) saturate(1.2);
  z-index: -1;
  animation: slowZoomOut 25s ease-out forwards;
}

/* Imigongo Design Elements */
.imigongo-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.imigongo {
  position: absolute;
  opacity: 0.15;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.3));
  animation: floatImigongo 20s infinite ease-in-out;
}

.imigongo-1 {
  top: 5%;
  left: 5%;
  width: 300px;
  height: 300px;
  background-image: linear-gradient(
      45deg,
      rgba(240, 163, 10, 0.8),
      rgba(240, 163, 10, 0.4)
    ),
    repeating-linear-gradient(
      45deg,
      #000 0px,
      #000 10px,
      transparent 10px,
      transparent 20px
    );
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation-delay: 0s;
  transform-origin: top left;
}

.imigongo-2 {
  top: 70%;
  right: 10%;
  width: 250px;
  height: 250px;
  background-image: linear-gradient(
      -45deg,
      rgba(225, 51, 36, 0.8),
      rgba(225, 51, 36, 0.4)
    ),
    repeating-linear-gradient(
      -45deg,
      #000 0px,
      #000 8px,
      transparent 8px,
      transparent 16px
    );
  clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
  animation-delay: -5s;
  transform-origin: bottom right;
}

.imigongo-3 {
  bottom: 15%;
  left: 15%;
  width: 200px;
  height: 200px;
  background-image: linear-gradient(
      135deg,
      rgba(63, 122, 38, 0.8),
      rgba(63, 122, 38, 0.4)
    ),
    repeating-linear-gradient(
      135deg,
      #000 0px,
      #000 7px,
      transparent 7px,
      transparent 14px
    );
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  animation-delay: -10s;
  transform-origin: center center;
}

.imigongo-4 {
  top: 20%;
  right: 20%;
  width: 180px;
  height: 180px;
  background-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.8),
      rgba(0, 0, 0, 0.4)
    ),
    repeating-linear-gradient(
      90deg,
      #e0a800 0px,
      #e0a800 6px,
      transparent 6px,
      transparent 12px
    );
  clip-path: circle(40% at 50% 50%);
  animation-delay: -15s;
  transform-origin: top right;
}

@keyframes floatImigongo {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, -15px) rotate(5deg);
  }
  50% {
    transform: translate(-10px, 20px) rotate(-3deg);
  }
  75% {
    transform: translate(-20px, -10px) rotate(2deg);
  }
}

.imigongo-5 {
  top: 45%;
  left: 40%;
  width: 120px;
  height: 120px;
  background-image: linear-gradient(
      180deg,
      rgba(225, 51, 36, 0.8),
      rgba(225, 51, 36, 0.4)
    ),
    repeating-linear-gradient(
      0deg,
      #000 0px,
      #000 5px,
      transparent 5px,
      transparent 10px
    );
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation-delay: -7s;
  transform-origin: center center;
}

.imigongo-6 {
  top: 15%;
  left: 60%;
  width: 150px;
  height: 150px;
  background-image: linear-gradient(
      210deg,
      rgba(240, 163, 10, 0.8),
      rgba(240, 163, 10, 0.4)
    ),
    repeating-linear-gradient(
      60deg,
      #000 0px,
      #000 8px,
      transparent 8px,
      transparent 16px
    );
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 25% 50%);
  animation-delay: -12s;
  transform-origin: bottom left;
}

.imigongo-7 {
  bottom: 25%;
  right: 30%;
  width: 180px;
  height: 180px;
  background-image: linear-gradient(
      120deg,
      rgba(63, 122, 38, 0.8),
      rgba(63, 122, 38, 0.4)
    ),
    repeating-linear-gradient(
      120deg,
      #000 0px,
      #000 6px,
      transparent 6px,
      transparent 12px
    );
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
  animation-delay: -8s;
  transform-origin: center bottom;
}

/* Remove 3D cross (spine & page thickness) on landing interactive book */
.landing-page .book-spine,
.landing-page .book-side-top,
.landing-page .book-side-bottom {
  display: none !important;
}

.landing-page .interactive-book {
  transform: rotateY(-12deg) rotateX(5deg);
}

.landing-page .interactive-book.flipped {
  transform: rotateY(168deg) rotateX(5deg);
}

/* Adjust layout to accommodate full image */
@media (min-width: 1200px) {
  .cd-container {
    left: 12%;
  }

  .book-container {
    right: 12%;
  }
}

/* 3D Book Styles */
.book-container {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  perspective: 1500px;
  animation: fadeInRight 1.5s ease-out;
  z-index: 5;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.7));
}

.book {
  position: relative;
  width: 300px;
  height: 450px;
  transform-style: preserve-3d;
  transform: rotateY(-30deg) rotateX(5deg);
  transition: transform 1.5s ease;
}

.book.animate {
  transform: rotateY(-15deg) rotateX(5deg);
}

.book-cover,
.book-back,
.book-spine,
.book-side {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f00;
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.book-cover {
  transform: translateZ(15px);
  background-color: #fff;
  overflow: hidden;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-back {
  transform: translateZ(-15px) rotateY(180deg);
  background-color: #aaa;
}

.book-spine {
  width: 30px;
  transform: rotateY(90deg) translateZ(-15px);
  background-color: #d4af37;
  box-shadow: 5px 0 10px rgba(0, 0, 0, 0.5);
}

.book-side {
  height: 30px;
  transform: rotateX(90deg) translateZ(-15px);
  background-color: #222;
}

.book-shadow {
  position: absolute;
  width: 330px;
  height: 80px;
  bottom: -70px;
  left: -15px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  transform: rotateX(90deg);
  filter: blur(15px);
  opacity: 0.8;
}

.book-title {
  position: absolute;
  width: 300px;
  top: 100%;
  left: 0;
  text-align: center;
  color: #fff;
  margin-top: 30px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.book-title h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 5px;
  color: #d4af37;
  letter-spacing: 2px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.book-title p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: 1px;
}

.book-author {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: #ddd;
}

/* Visit Button */
.visit-button-container {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.visit-button {
  display: inline-block;
  padding: 15px 50px;
  background: linear-gradient(45deg, #d4af37, #f5d76e);
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: pulse 2s infinite;
}

.visit-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: 0.5s;
}

.visit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.visit-button:hover:before {
  left: 100%;
}

/* Animations */
@keyframes slowZoomOut {
  0% {
    background-size: 140% auto;
    background-position: center 40%;
  }
  50% {
    background-size: 120% auto;
    background-position: center 35%;
  }
  100% {
    background-size: 100% auto;
    background-position: center 30%;
  }
}

@keyframes textGlow {
  0% {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
    opacity: 0.9;
  }
  100% {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9),
      0 0 30px rgba(255, 255, 255, 0.5);
    opacity: 1;
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translate(50px, -50%);
  }
  100% {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

/* Landing page interactive book (mirrors door.html simplified) */
.landing-page .interactive-book {
  width: 300px;
  height: 450px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-20deg) rotateX(5deg);
  transition: transform 1.5s ease;
  cursor: pointer;
}

.landing-page .interactive-book.flipped {
  transform: rotateY(160deg) rotateX(5deg);
}

.landing-page .interactive-book div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: visible;
}

.landing-page .book-front,
.landing-page .book-back {
  backface-visibility: hidden;
  overflow: hidden;
}

.landing-page .book-front {
  transform: rotateY(0deg) translateZ(15px);
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.4);
}

.landing-page .book-back {
  transform: rotateY(180deg) translateZ(15px);
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.4);
}

.landing-page .book-front img,
.landing-page .book-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-page .book-spine {
  width: 30px;
  transform: rotateY(90deg) translateZ(15px) translateX(-15px);
  background-color: #d4af37;
  box-shadow: 5px 0 10px rgba(0, 0, 0, 0.5);
}

.landing-page .book-side-top {
  width: 100%;
  height: 30px;
  transform: rotateX(90deg) translateZ(15px) translateY(-15px);
  background: #f8f8f8;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.landing-page .book-side-bottom {
  width: 100%;
  height: 30px;
  transform: rotateX(-90deg) translateZ(420px) translateY(-15px);
  background: #f8f8f8;
}

.landing-page .flip-instruction {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 6px;
  font-size: 0.75rem;
  text-align: center;
  color: #ccc;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.landing-page .book-container:hover .flip-instruction {
  opacity: 1;
}

/* Responsive shrink for interactive book */
@media (max-width: 900px) {
  .landing-page .interactive-book {
    width: 260px;
    height: 390px;
  }

  .landing-page .book-side-bottom {
    transform: rotateX(-90deg) translateZ(360px) translateY(-15px);
  }
}

@media (max-width: 600px) {
  .landing-page .interactive-book {
    width: 70% !important;
    height: auto;
    aspect-ratio: 2 / 3;
    transform: none !important;
  }

  .landing-page .interactive-book.flipped {
    transform: none !important;
  }

  .landing-page .book-spine,
  .landing-page .book-side-top,
  .landing-page .book-side-bottom {
    display: none;
  }
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .book {
    width: 250px;
    height: 375px;
  }

  .cd {
    width: 250px;
    height: 250px;
  }

  .cd-title,
  .book-title {
    width: 250px;
  }
}

@media (max-width: 900px) {
  .book-container {
    right: 5%;
  }

  .cd-container {
    left: 5%;
  }

  .book {
    width: 200px;
    height: 300px;
  }

  .cd {
    width: 200px;
    height: 200px;
  }

  .cd-title,
  .book-title {
    width: 200px;
  }

  .cd-title h2,
  .book-title h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .landing-header {
    width: 90%;
    left: 50%;
    top: 5%;
    transform: translateX(-50%);
    text-align: center;
  }

  .artist-name {
    font-size: 2.5rem;
  }

  .cd-container {
    left: 50%;
    top: 30%;
    transform: translate(-50%, -50%);
  }

  .book-container {
    right: auto;
    left: 50%;
    top: 70%;
    transform: translate(-50%, -50%);
  }

  .visit-button-container {
    bottom: 2%;
  }

  .cd-title,
  .book-title {
    margin-top: 15px;
  }

  .cd-title h2,
  .book-title h2 {
    font-size: 1.3rem;
  }

  .cd-title p,
  .book-title p {
    font-size: 0.8rem;
  }

  .cd-release {
    font-size: 0.9rem;
  }

  .cd-details span {
    font-size: 0.7rem;
    padding: 4px 8px;
  }
}

/* Added media queries for smaller devices */
@media (max-width: 480px) {
  .artist-name {
    font-size: 2rem;
    letter-spacing: 3px;
  }

  .cd {
    width: 180px;
    height: 180px;
  }

  .cd-title,
  .book-title {
    width: 180px;
  }

  .book {
    width: 180px;
    height: 270px;
  }

  .visit-button {
    padding: 12px 35px;
    font-size: 0.9rem;
  }

  .cd-container {
    top: 28%;
  }

  .book-container {
    top: 68%;
  }

  .cd-title h2,
  .book-title h2 {
    font-size: 1.1rem;
    margin-bottom: 2px;
  }

  .book-author {
    font-size: 0.8rem;
  }
}

@media (max-width: 375px) {
  .artist-name {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }

  .cd {
    width: 160px;
    height: 160px;
  }

  .cd-hole {
    width: 30px;
    height: 30px;
  }

  .book {
    width: 160px;
    height: 240px;
  }

  .cd-title,
  .book-title {
    width: 160px;
  }

  .visit-button {
    padding: 10px 30px;
    font-size: 0.8rem;
  }

  .signature {
    font-size: 0.7rem;
  }

  .cd-title p,
  .book-title p {
    font-size: 0.7rem;
  }

  .cd-details {
    gap: 3px;
  }

  .cd-details span {
    font-size: 0.6rem;
    padding: 3px 7px;
  }
}

.album-artwork {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto 25px;
  perspective: 1000px;
  transform-style: preserve-3d;
  transform: rotateY(-10deg) rotateX(5deg);
  transition: transform 0.5s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  animation: albumFloat 6s infinite ease-in-out;
  overflow: hidden;
  background: #fff;
}

.album-artwork:hover {
  transform: rotateY(-5deg) rotateX(3deg) translateZ(10px);
}

.album-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.album-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 0;
  box-sizing: border-box;
  z-index: 2;
}

.album-coming-soon {
  position: absolute;
  top: -15px;
  right: -15px;
  background-color: #d4af37;
  color: #000;
  padding: 8px 15px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: pulse 2s infinite;
  z-index: 5;
  border: 3px solid #fff;
  line-height: 1.2;
}

.album-info {
  text-align: center;
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-left: 3px solid #d4af37;
}

.album-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 5px;
  color: #d4af37;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
}

.album-subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.album-details {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.album-details span {
  font-size: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 5px 10px;
  border-radius: 20px;
  color: #e0e0e0;
  font-weight: 500;
  letter-spacing: 1px;
}

.album-cta-button {
  display: inline-block;
  background: linear-gradient(45deg, #d4af37, #f5d76e);
  color: #000;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.album-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

@keyframes albumFloat {
  0%,
  100% {
    transform: rotateY(-10deg) rotateX(5deg) translateY(0);
  }
  50% {
    transform: rotateY(-10deg) rotateX(5deg) translateY(-10px);
  }
}

/* CD Shine animation */
@keyframes cdShine {
  0% {
    background-position: -100% -100%;
  }
  100% {
    background-position: 200% 200%;
  }
}

.tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 30px;
  color: #e0e0e0;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 15px;
}

.biography-highlight {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.album-announcement {
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 20px 0;
  padding: 15px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.3);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

.accent-text {
  font-weight: 700;
  color: #ffd700;
  letter-spacing: 0.05em;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.release-date {
  display: inline-block;
  background-color: rgba(212, 175, 55, 0.3);
  color: #fff;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-left: 5px;
  border: 1px solid rgba(212, 175, 55, 0.5);
}

/* Album Features styles */
.album-features {
  margin: 20px 0;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 15px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.album-features p {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #e0e0e0;
}

.album-features ul {
  list-style: none;
  padding-left: 5px;
}

.album-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #cccccc;
}

.album-features li:before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #ffd700;
  font-size: 1.2rem;
}

.book-announcement {
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 15px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.book-intro {
  font-size: 1rem;
  margin-bottom: 10px;
}

.book-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #ffd700;
  letter-spacing: 1px;
  font-size: 1.1rem;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
}

.book-description {
  font-style: italic;
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.5;
  color: #e0e0e0;
}

.book-message {
  font-weight: 500;
  font-size: 0.95rem;
  color: #cccccc;
}

/* 3D Book Styles */
.book-container {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  perspective: 1500px;
  animation: fadeInRight 1.5s ease-out;
  z-index: 5;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.7));
}

.book {
  position: relative;
  width: 300px;
  height: 450px;
  transform-style: preserve-3d;
  transform: rotateY(-30deg) rotateX(5deg);
  transition: transform 1.5s ease;
}

.book.animate {
  transform: rotateY(-15deg) rotateX(5deg);
}

.book-cover,
.book-back,
.book-spine,
.book-side {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f00;
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.book-cover {
  transform: translateZ(15px);
  background-color: #fff;
  overflow: hidden;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-back {
  transform: translateZ(-15px) rotateY(180deg);
  background-color: #aaa;
}

.book-spine {
  width: 30px;
  transform: rotateY(90deg) translateZ(-15px);
  background-color: #d4af37;
  box-shadow: 5px 0 10px rgba(0, 0, 0, 0.5);
}

.book-side {
  height: 30px;
  transform: rotateX(90deg) translateZ(-15px);
  background-color: #222;
}

.book-shadow {
  position: absolute;
  width: 330px;
  height: 80px;
  bottom: -70px;
  left: -15px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  transform: rotateX(90deg);
  filter: blur(15px);
  opacity: 0.8;
}

.book-title {
  position: absolute;
  width: 300px;
  top: 100%;
  left: 0;
  text-align: center;
  color: #fff;
  margin-top: 30px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.book-title h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 5px;
  color: #d4af37;
  letter-spacing: 2px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.book-title p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: 1px;
}

.book-author {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: #ddd;
}

/* Visit Button */
.visit-button-container {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.visit-button {
  display: inline-block;
  padding: 15px 50px;
  background: linear-gradient(45deg, #d4af37, #f5d76e);
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: pulse 2s infinite;
}

.visit-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: 0.5s;
}

.visit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.visit-button:hover:before {
  left: 100%;
}

/* Animations */
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translate(-50px, -50%);
  }
  100% {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translate(50px, -50%);
  }
  100% {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

@keyframes textGlow {
  0%,
  100% {
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
  }
  50% {
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  }
}

@keyframes borderPulse {
  0%,
  100% {
    border-color: #d4af37;
  }
  50% {
    border-color: #ffd700;
  }
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .landing-biography-container {
    width: 45%;
  }

  .book {
    width: 250px;
    height: 375px;
  }

  .album-artwork {
    width: 250px;
    height: 250px;
  }

  .album-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 900px) {
  .landing-biography-container {
    width: 50%;
    max-height: 70vh;
    left: 3%;
  }

  .book-container {
    right: 5%;
  }

  .book {
    width: 200px;
    height: 300px;
  }

  .album-artwork {
    width: 200px;
    height: 200px;
  }

  .album-title {
    font-size: 1.4rem;
  }

  .album-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .landing-biography-container {
    width: 90%;
    max-height: 45vh;
    left: 50%;
    top: 25%;
    transform: translate(-50%, -50%);
  }

  .book-container {
    right: auto;
    left: 50%;
    top: 70%;
    transform: translate(-50%, -50%);
  }

  .visit-button-container {
    bottom: 5%;
  }

  .album-artwork {
    width: 180px;
    height: 180px;
  }
}

/* Signature styles */
.signature {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  opacity: 1;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0;
  border-radius: 4px;
  border-left: 3px solid #d4af37;
  transition: all 0.3s ease;
}

.signature a {
  display: block;
  padding: 8px 15px;
  color: #ffffff;
  text-decoration: none;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  letter-spacing: 1.2px;
}

.signature:hover {
  background-color: rgba(0, 0, 0, 0.7);
  border-left: 3px solid #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Landing page specific signature restyle */
.landing-page .signature {
  font-size: 0.65rem; /* decreased size */
  letter-spacing: 1px;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 12px;
  border-radius: 24px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-left: none;
  border-bottom: 2px solid #d4af37;
  right: 50%;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  opacity: 0.85;
}

.landing-page .signature a {
  font-size: inherit;
  padding: 4px 0;
}

.landing-page .signature:hover {
  background: rgba(0, 0, 0, 0.55);
  opacity: 1;
}

/* Reposition landing signature back to original corner while keeping smaller styling */
.landing-page .signature {
  left: auto !important;
  right: 20px !important;
  transform: none !important;
  bottom: 18px !important;
}
@media (max-width: 600px) {
  .landing-page .signature {
    right: 14px !important;
    bottom: 12px !important;
  }
}

/* Responsive styles for Tonzi name and signature on smaller screens */
@media (max-width: 768px) {
  /* Center the artist name at the top */
  .landing-header {
    position: absolute;
    top: 5%;
    left: 0;
    right: 0;
    text-align: center;
    width: 100%;
    z-index: 10;
  }

  .artist-name {
    text-align: center;
    font-size: 3rem;
    margin: 0 auto;
  }

  /* Adjust visit button positioning */
  .visit-button-container {
    position: fixed;
    bottom: 65px;
    width: 100%;
    left: 0;
    right: 0;
    transform: none;
    text-align: center;
    z-index: 10;
  }

  .visit-button {
    padding: 10px 30px;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  }

  /* Center the signature at the bottom */
  .landing-page .signature {
    position: fixed;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    bottom: 20px !important;
    width: 100%;
    text-align: center;
    z-index: 9;
  }

  .landing-page .signature a {
    display: inline-block;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .artist-name {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }

  .visit-button-container {
    bottom: 55px;
  }

  .visit-button {
    padding: 8px 25px;
    font-size: 0.8rem;
  }

  .landing-page .signature {
    bottom: 15px !important;
    font-size: 0.6rem;
  }
}

/* Additional fixes for the smallest screens */
@media (max-width: 375px) {
  .artist-name {
    font-size: 2.2rem;
    margin-top: -15px;
  }

  .book-container,
  .cd-container {
    transform: scale(0.95);
    margin-bottom: -10px;
  }

  .book-title h2 {
    font-size: 1rem;
  }

  .book-title p {
    font-size: 0.65rem;
  }

  .visit-button-container {
    bottom: 50px;
  }

  .visit-button {
    padding: 8px 20px;
    font-size: 0.75rem;
  }

  .landing-page .signature {
    bottom: 12px !important;
  }
}
