* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  min-height: 100vh;
  background: url('webbg1.png') center center / cover no-repeat;
  color: #10202e;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.homepage-layout {
  width: 100%;
  max-width: 1250px;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 560px) 1fr;
  grid-template-areas: "merch album tracklist";
  gap: 32px;
  align-items: start;
}

.album-section {
  grid-area: album;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.album-cover-wrap {
  width: 100%;
  max-width: 360px;
  margin-bottom: 18px;
}

.album-cover {
  width: 100%;
  display: block;
  border-radius: 22px;
  border: 3px solid rgb(255 255 255 / 60%);
  box-shadow: 0 10px 30px rgba(80, 120, 160, 0.18);
}

.hero-card {
  width: 100%;
  max-width: 420px;
  padding: 22px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  border: 3px solid rgb(181 223 255 / 60%);
  box-shadow: 0 10px 30px rgba(80, 120, 160, 0.12);
  text-align: center;
}

.hero-card h1 {
  font-size: 2rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: #ffffff;
  text-shadow:
    0 0 6px rgb(255 158 255 / 60%),
    0 0 12px rgb(255 158 255 / 60%),
    0 0 20px rgb(255 158 255 / 45%);
}

.tagline {
  font-size: 1rem;
  color: #36556d;
  margin-bottom: 18px;
  font-weight: bold;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.signup-form input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #c3d7e8;
  background: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  outline: none;
}

.signup-form button,
.merch-notify-btn {
  padding: 14px 16px;
  border: none;
  border-radius: 14px;
  background: #b8dcf5;
  color: #10202e;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.signup-form button:hover,
.merch-notify-btn:hover {
  background: #a9d4f2;
  transform: translateY(-1px);
}

.signup-note {
  max-width: 420px;
  margin-top: 16px;
  text-align: center;
}

.signup-note p {
  font-size: 0.92rem;
  line-height: 1.45;
  color: #111111;
  margin-bottom: 6px;
}

.socials {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.socials a {
  color: #36556d;
  font-size: 1.6rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.socials a:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

.tracklist-section,
.merch-section {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 24px;
  padding: 22px 20px;
}

.tracklist-section {
  grid-area: tracklist;
}

.merch-section {
  grid-area: merch;
}

.side-heading {
  font-size: 1.25rem;
  color: #10202e;
  margin-bottom: 18px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-align: center;
}

.tracklist {
  padding-left: 24px;
  justify-items: center;
}

.tracklist li {
  font-size: 1rem;
  color: #111111;
  margin-bottom: 10px;
}

.merch-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.merch-image {
  width: 100%;
  display: block;
  border-radius: 20px;
  filter: blur(5px);
  transform: scale(1.03);
}

.merch-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.22);
}

.merch-text {
  margin-top: 14px;
  text-align: center;
}

.merch-text p {
  color: #111111;
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.blur-text {
  filter: blur(4px);
  user-select: none;
}

@media (max-width: 900px) {
  .homepage-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "album"
      "tracklist"
      "merch";
    max-width: 560px;
    gap: 22px;
  }

  .album-cover-wrap,
  .hero-card,
  .signup-note {
    max-width: 100%;
  }

  .tracklist-section,
  .merch-section {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .page-shell {
    padding: 20px 14px;
  }

  .hero-card {
    padding: 20px 16px;
  }

  .hero-card h1 {
    font-size: 1.7rem;
  }

  .tracklist li {
    margin-bottom: 8px;
  }
}

/* ===== HOMEPAGE LAYOUT FIX ===== */

.homepage-layout {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 420px)
        minmax(0, 1fr);

    grid-template-areas: "merch album tracklist";
    align-items: start;
    gap: 35px;
}

/* Center Album Section */

.album-section {
    grid-area: album;
    min-width: 0;
    width: 100%;
    align-items: center;
}

.album-cover-wrap {
    width: 100%;
    max-width: 380px;
    margin: 0 auto 18px;
}

.album-cover {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Smaller Signup Box */

.hero-card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

/* Left Merch Section */

.merch-section {
    grid-area: merch;
    min-width: 0;
    width: 100%;
}

.merch-card {
    position: relative;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    overflow: hidden;
}

.merch-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 280px;
    object-fit: contain;
    filter: blur(11px);
    transform: scale(1.03);
}

/* Right Tracklist */

.tracklist-section {
    grid-area: tracklist;
    min-width: 0;
    width: 100%;
}

/* ===== TABLET & MOBILE ===== */

@media (max-width: 900px) {

    .homepage-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "album"
            "tracklist"
            "merch";

        max-width: 480px;
        gap: 28px;
    }

    .album-cover-wrap {
        max-width: 380px;
    }

    .hero-card {
        max-width: 380px;
    }

    .merch-card {
        max-width: 280px;
    }

}

@media (max-width: 480px) {

    .page-shell {
        padding: 20px 14px;
    }

    .album-cover-wrap {
        max-width: 100%;
    }

    .hero-card {
        max-width: 100%;
    }

    .merch-image {
        height: 260px;
    }

}

/* ===== MERCH EMAIL POPUP ===== */

.merch-signup-modal {
    width: min(420px, 92%);
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 35px 25px 28px;
    border-radius: 24px;

    border: 3px solid rgb(255 158 255 / 60%);

    background: rgba(245, 250, 255, 0.96);

    box-shadow:
        0 10px 35px rgba(80, 120, 160, 0.2),
        0 0 20px rgb(255 158 255 / 25%);

    color: #10202e;
    text-align: center;

    /* Center modal */
    margin: auto;
}

/* Background behind popup */

.merch-signup-modal::backdrop {
    background: rgba(15, 25, 45, 0.5);
    backdrop-filter: blur(7px);
}

/* Close button */

.merch-popup-close {
    position: absolute;
    top: 10px;
    right: 17px;

    background: none;
    border: none;

    color: #36556d;
    font-size: 2rem;

    cursor: pointer;
    line-height: 1;
}

.merch-popup-close:hover {
    color: #111;
}

/* Popup heading */

.merch-signup-modal h2 {
    font-size: 1.8rem;
    color: #ffffff;

    text-shadow:
        0 0 6px rgb(255 158 255 / 60%),
        0 0 12px rgb(255 158 255 / 60%),
        0 0 20px rgb(255 158 255 / 45%);

    margin-bottom: 14px;
}

/* Description */

.merch-popup-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #36556d;
    margin-bottom: 22px;
}

/* Popup email form */

.merch-popup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.merch-popup-form input {
    width: 100%;
    padding: 14px 16px;

    border: 1px solid #c3d7e8;
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    outline: none;
}

.merch-popup-form input:focus {
    border-color: rgb(255 158 255 / 80%);
    box-shadow: 0 0 8px rgb(255 158 255 / 30%);
}

/* Notify button */

.merch-popup-form button {
    padding: 14px 16px;

    border: none;
    border-radius: 14px;

    background: #b8dcf5;
    color: #10202e;

    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;

    transition: background 0.2s ease;
}

.merch-popup-form button:hover {
    background: #a9d4f2;
}

/* Footer text */

.merch-popup-footer {
    margin-top: 18px;
    font-size: 0.78rem;
    color: #526b7e;
    line-height: 1.5;
}

/* Mobile adjustments */

@media (max-width: 600px) {
    .merch-signup-modal {
        width: 92%;
        padding: 32px 20px 24px;
    }

    .merch-signup-modal h2 {
        font-size: 1.5rem;
    }
}

/* Turnstile CAPTCHA */

#album-turnstile,
#merch-turnstile {
    display: flex;
    justify-content: center;
    width: 100%;
}


/* ===== RELEASED TRACK LINK ===== */

.released-track {
    color: #ffffff;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 3px;

    text-shadow:
        0 0 5px rgb(255 158 255 / 70%),
        0 0 12px rgb(255 158 255 / 50%);

    transition: opacity 0.2s ease;
}

.released-track:hover {
    opacity: 0.7;
}


/* ===== HASHTAG STREAMING PAGE ===== */

.streaming-shell {
    padding: 35px 20px;
}

.streaming-section {
    width: 100%;
    max-width: 420px;

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* Cover art */

.streaming-cover-wrap {
    width: 100%;
    max-width: 340px;
    margin-bottom: 18px;
}

.streaming-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;

    display: block;
    object-fit: cover;

    border-radius: 20px;
    border: 3px solid rgb(255 158 255 / 60%);

    box-shadow: 0 10px 30px rgba(80, 120, 160, 0.18);
}


/* Song title */

.streaming-title {
    text-align: center;
    margin-bottom: 20px;
}

.streaming-title h1 {
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    color: #ffffff;

    text-shadow:
        0 0 6px rgb(255 158 255 / 60%),
        0 0 12px rgb(255 158 255 / 60%),
        0 0 20px rgb(255 158 255 / 45%);
}

.streaming-title p {
    font-size: 1rem;
    font-weight: bold;
    color: #36556d;
    margin-top: 5px;
}


/* Streaming card */

.streaming-card {
    width: 100%;
    padding: 24px 20px;

    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);

    border: 3px solid rgb(255 158 255 / 60%);
    border-radius: 24px;

    box-shadow: 0 10px 30px rgba(80, 120, 160, 0.12);

    text-align: center;
}

.streaming-card h2 {
    color: #36556d;
    font-size: 1.15rem;
    margin-bottom: 18px;
}


/* Streaming buttons */

.streaming-links {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.streaming-button {
    width: 100%;
    min-height: 52px;
    padding: 13px 16px;

    display: flex;
    align-items: center;
    gap: 14px;

    border: 1px solid #c3d7e8;
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.9);
    color: #10202e;

    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.streaming-button > i:first-child {
    font-size: 1.35rem;
    width: 25px;
    text-align: center;
}

a.streaming-button:hover {
    background: #b8dcf5;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(80, 120, 160, 0.15);
}

.external-icon {
    margin-left: auto;
    font-size: 0.8rem;
    opacity: 0.65;
}


/* Unavailable platforms */

.streaming-button.unavailable {
    opacity: 0.48;
    cursor: default;
}

.coming-soon {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: normal;
}


/* Back link */

.streaming-back {
    margin-top: 22px;
    color: #36556d;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.streaming-back:hover {
    opacity: 0.7;
}


/* Social footer */

.streaming-socials {
    margin-top: 25px;
}


/* Mobile */

@media (max-width: 600px) {

    .streaming-shell {
        padding: 20px 14px;
    }

    .streaming-section {
        max-width: 100%;
    }

    .streaming-cover-wrap {
        max-width: 300px;
    }

    .streaming-title h1 {
        font-size: 2rem;
    }

    .streaming-card {
        padding: 20px 16px;
    }

    .streaming-button {
        min-height: 50px;
    }
}
