/* ==========================================================
   HYPERSONIC MUSIC
   MASTER STYLESHEET
   Version: 2.2.0

   Used by:
   - Music homepage
   - Store homepage
   - Song pages
   - Album pages
   - Lyrics pages
   - Video pages
   - Purchase pages
========================================================== */

/* =========================
   RESET
========================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #0b1120;
    color: #f8fafc;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #60a5fa;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* =========================
   TOP NAVIGATION
========================= */

.top-nav {
    background: #111827;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 4px 18px rgba(0,0,0,.35);
}

.top-nav .nav-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.logo span {
    color: #22c55e;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 22px;
}

.nav-links a {
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 600;
    transition: color .25s ease, transform .25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #22c55e;
}

.nav-links a:hover {
    transform: translateY(-1px);
}

/* =========================
   COMMON SECTIONS
========================= */

.song-hero,
.album-hero {
    text-align: center;
    padding: 90px 20px;
    background:
        linear-gradient(rgba(2,6,23,.72), rgba(2,6,23,.88)),
        url("/images/music/heroes/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.song-hero h1,
.album-hero h1 {
    max-width: 1000px;
    margin: 0 auto 18px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.song-hero p,
.album-hero p {
    max-width: 850px;
    margin: 10px auto;
    color: #d1d5db;
    font-size: 19px;
}

.version-label {
    font-size: .55em;
    color: #fbbf24;
    white-space: nowrap;
}

.album-badge {
    color: #fbbf24 !important;
    font-weight: 700;
    letter-spacing: 1px;
}

/* =========================
   STORE HOMEPAGE
========================= */

.available-eps {
    background: #0f172a;
    padding: 75px 20px;
    text-align: center;
}

.available-eps > h2,
.Singles > h2,
.track-list > h2,
.buy-ep > h2,
.download-info > h2 {
    margin-bottom: 14px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
}

.available-eps > p,
.Singles > p {
    max-width: 850px;
    margin: 0 auto 45px;
    color: #cbd5e1;
    font-size: 18px;
}

/* EP grid */

.available-eps .music-grid {
    width: min(1200px, 100%);
    margin: 0 auto;
}

/* =========================
   MUSIC GRID / CARDS
========================= */

.music-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: stretch;
}

.music-card {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 0 0 28px;
    display: flex;
    flex-direction: column;
    background: #1e293b;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(0,0,0,.28);
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.music-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 50px rgba(0,0,0,.42);
    border-color: rgba(34,197,94,.35);
}

.music-card > a:first-child {
    display: block;
    overflow: hidden;
}

.music-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform .45s ease;
}

.music-card:hover img {
    transform: scale(1.035);
}

.music-card h3 {
    min-height: 0;
    margin: 24px 20px 10px;
    font-size: 25px;
    line-height: 1.25;
}

.music-card h3 a {
    color: #fff;
    text-decoration: none;
}

.music-card h3 a:hover {
    color: #fbbf24;
}

.music-card p {
    margin: 7px 20px;
    color: #cbd5e1;
}

.music-card p strong {
    color: #f8fafc;
}

.music-card .song-buttons {
    margin-top: auto;
    padding: 18px 20px 0;
}

/* =========================
   BUTTONS
========================= */

.song-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.song-buttons a,
.buy-button {
    display: inline-block;
    padding: 13px 25px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.song-buttons a:hover,
.buy-button:hover {
    transform: translateY(-2px);
}

.buy-btn,
.buy-button {
    background: #f59e0b;
    color: #111827 !important;
}

.buy-btn:hover,
.buy-button:hover {
    background: #fbbf24;
    box-shadow: 0 10px 24px rgba(245,158,11,.22);
}

.listen-btn {
    background: #22c55e;
    color: #fff !important;
}

.lyrics-btn {
    background: #2563eb;
    color: #fff !important;
}

.video-btn {
    background: #dc2626;
    color: #fff !important;
}

/* =========================
   TRACK LIST
========================= */

.track-list {
    background: #111827;
    padding: 75px 20px;
    text-align: center;
}

.track-list ol {
    width: min(720px, 100%);
    margin: 35px auto 0;
    padding: 0 0 0 45px;
    text-align: left;
}

.track-list li {
    margin: 0;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 18px;
}

.track-list li:last-child {
    border-bottom: 0;
}

.track-list a {
    color: #e5e7eb;
    text-decoration: none;
}

.track-list a:hover {
    color: #fbbf24;
}

/* =========================
   COMPLETE EP PURCHASE
========================= */

.buy-ep {
    padding: 80px 20px;
    text-align: center;
    background:
        linear-gradient(rgba(15,23,42,.94), rgba(15,23,42,.97)),
        url("/images/music/heroes/hero-bg.jpg");
    background-size: cover;
    background-position: center;
}

.buy-ep p {
    max-width: 700px;
    margin: 0 auto 12px;
    color: #cbd5e1;
    font-size: 18px;
}

.buy-ep .saving-note {
    color: #22c55e;
    font-weight: 700;
}

.buy-ep .buy-button {
    margin-top: 22px;
    font-size: 19px;
}

.buy-ep .price {
    margin-top: 18px;
    color: #fbbf24;
    font-size: 20px;
}

/* =========================
   LATEST SINGLES
========================= */

.Singles,
.singles {
    background: #0b1120;
    padding: 80px 20px;
    text-align: center;
}

.Singles .music-grid,
.singles .music-grid {
    width: min(1200px, 100%);
    margin: 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.Singles .music-card,
.singles .music-card {
    max-width: 390px;
}

.Singles .music-card img,
.singles .music-card img {
    aspect-ratio: 1 / 1;
}

/* =========================
   DOWNLOAD INFORMATION
========================= */

.download-info {
    background: #0f172a;
    padding: 75px 20px;
    text-align: center;
}

.download-info ul {
    width: min(650px, 100%);
    margin: 35px auto 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.download-info li {
    margin: 12px 0;
    padding: 14px 18px;
    background: #1e293b;
    border-radius: 10px;
    color: #e5e7eb;
}

/* =========================
   ALBUM PAGES
========================= */

.album-information {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
    padding: 80px 0;
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 55px;
    align-items: center;
}

.album-information .album-cover img {
    width: 100%;
    display: block;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,.45);
}

.album-details {
    text-align: left;
}

.album-details h2 {
    margin-bottom: 25px;
    font-size: 42px;
}

.album-details p {
    margin: 12px 0;
    color: #cbd5e1;
}

.album-notes {
    max-width: 900px;
    margin: 0 auto;
    padding: 70px 20px;
    color: #cbd5e1;
}

.album-notes h2 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 25px;
}

.album-notes p {
    font-size: 18px;
    line-height: 1.9;
}

/* =========================
   SONG INFORMATION
========================= */

.song-info {
    background: #111827;
    padding: 80px 20px;
}

.song-container {
    width: min(1100px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 55px;
    align-items: center;
}

.song-container .album-cover img {
    width: 100%;
    display: block;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,.45);
}

.song-details {
    text-align: left;
}

.song-details h2 {
    margin-bottom: 25px;
    font-size: 42px;
    line-height: 1.2;
}

.song-details p {
    margin: 10px 0;
    color: #cbd5e1;
    font-size: 18px;
}

.song-description {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 65px 0;
    color: #cbd5e1;
    font-size: 19px;
    line-height: 1.9;
}

/* =========================
   AUDIO PLAYER
========================= */

.audio-player {
    background: #0f172a;
    padding: 65px 20px;
    text-align: center;
}

.audio-player h2 {
    margin-bottom: 25px;
}

.audio-player audio {
    width: min(700px, 100%);
}

/* =========================
   PURCHASE PAGES
========================= */

.purchase,
section.price {
    background: #111827;
    padding: 70px 20px;
    text-align: center;
}

.purchase h2,
section.price h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.purchase a {
    display: inline-block;
    margin: 8px;
    padding: 13px 25px;
    border-radius: 999px;
    background: #f59e0b;
    color: #111827;
    text-decoration: none;
    font-weight: 700;
}

.purchase a:hover {
    background: #fbbf24;
}

section.price p {
    font-size: 32px;
    font-weight: 700;
    color: #22c55e;
}

.secure-digital-checkout {
    background: #18181b;
    padding: 55px 20px;
    text-align: center;
}

.secure-digital-checkout h2 {
    color: #22c55e;
}

.what-included {
    background: #0f172a;
    padding: 70px 20px;
    text-align: center;
}

.what-included ul {
    max-width: 650px;
    margin: 30px auto;
    text-align: left;
}

.what-included li {
    margin-bottom: 14px;
    font-size: 18px;
}

.licence {
    max-width: 900px;
    margin: auto;
    padding: 60px 20px;
    color: #cbd5e1;
    line-height: 1.8;
}

.back-to-store {
    padding: 40px 20px;
    text-align: center;
}

/* =========================
   LYRICS / RELATED CONTENT
========================= */

.lyrics-preview,
.music-video,
.related-songs {
    background: #111827;
    padding: 70px 20px;
    text-align: center;
}

.lyrics-preview p,
.music-video p {
    max-width: 750px;
    margin: 0 auto 25px;
    color: #cbd5e1;
}

.lyrics-preview a,
.music-video a {
    display: inline-block;
    padding: 12px 24px;
    background: #2563eb;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.related-song {
    max-width: 700px;
    margin: 25px auto;
    padding: 25px;
    background: #1f2937;
    border-radius: 15px;
}

.related-song a {
    display: inline-block;
    padding: 12px 25px;
    background: #f59e0b;
    color: #111827;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
}

/* =========================
   FOOTER
========================= */

footer {
    background: #020617;
    padding: 32px 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.08);
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
    margin: 0 8px;
}

footer a:hover {
    color: #22c55e;
}

/* =========================
   ACCESSIBILITY
========================= */

a:focus-visible,
button:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 3px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
    .music-grid {
        grid-template-columns: 1fr 1fr;
    }

    .Singles .music-grid,
    .singles .music-grid {
        grid-template-columns: 1fr 1fr;
    }

    .album-information,
    .song-container {
        grid-template-columns: 320px 1fr;
        gap: 35px;
    }
}

@media (max-width: 768px) {
    .top-nav .nav-container {
        width: min(100% - 30px, 1200px);
        min-height: auto;
        padding: 14px 0;
        flex-direction: column;
        gap: 12px;
    }

    .nav-links {
        justify-content: center;
        gap: 12px 17px;
    }

    .nav-links a {
        font-size: 15px;
    }

    .song-hero,
    .album-hero {
        padding: 65px 18px;
    }

    .song-hero p,
    .album-hero p {
        font-size: 17px;
    }

    .available-eps,
    .Singles,
    .singles,
    .track-list,
    .buy-ep,
    .download-info {
        padding: 60px 16px;
    }

    .music-grid,
    .Singles .music-grid,
    .singles .music-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .music-card {
        max-width: 520px;
    }

    .album-information,
    .song-container {
        width: min(100% - 32px, 700px);
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 60px 0;
    }

    .album-information .album-cover,
    .song-container .album-cover {
        width: min(100%, 430px);
        margin: 0 auto;
    }

    .album-details,
    .song-details {
        text-align: center;
    }

    .album-details h2,
    .song-details h2 {
        font-size: 34px;
    }

    .track-list ol {
        padding-left: 35px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 21px;
    }

    .nav-links {
        gap: 9px 13px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .song-buttons a,
    .buy-button,
    .purchase a {
        width: 100%;
        text-align: center;
    }

    .music-card h3 {
        font-size: 22px;
    }

    .download-info li {
        font-size: 16px;
    }

    footer a {
        display: inline-block;
        margin: 4px 6px;
    }
}

/* ==========================================================
   END OF HYPERSONIC MUSIC MASTER STYLESHEET
========================================================== */

/* ==========================================================
   DOWNLOAD CENTRE / DOWNLOAD PAGES
   Compatibility layer for HM-S001–HM-S010 and EP downloads.
   Added without changing the existing store/payment styles.
========================================================== */

/* Download pages that use nav-links directly inside top-nav */
.top-nav > .nav-links {
    width: min(1200px, calc(100% - 40px));
    min-height: 70px;
    margin: 0 auto;
}

.download-welcome,
.download-hero {
    text-align: center;
    padding: 80px 20px;
    background:
        linear-gradient(rgba(2,6,23,.72), rgba(2,6,23,.90)),
        url("/images/music/heroes/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.download-welcome h1,
.download-hero h1 {
    max-width: 1000px;
    margin: 0 auto 18px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.1;
}

.download-welcome p,
.download-hero p {
    max-width: 820px;
    margin: 10px auto;
    color: #d1d5db;
    font-size: 18px;
}

.download-welcome ul {
    width: min(650px, 100%);
    margin: 28px auto 0;
    padding: 0;
    list-style: none;
}

.download-welcome li {
    display: inline-block;
    margin: 6px 8px;
    padding: 8px 14px;
    background: #1e293b;
    border-radius: 999px;
    color: #e5e7eb;
}

.downloads {
    background: #0f172a;
    padding: 75px 20px;
    text-align: center;
}

.downloads > h2 {
    margin-bottom: 35px;
    font-size: clamp(30px, 4vw, 44px);
}

.download-card {
    width: min(900px, 100%);
    margin: 0 auto 18px;
    padding: 25px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #1e293b;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
    text-align: left;
}

.download-card h3 {
    margin: 0;
    line-height: 1.35;
}

.download-button,
.download-centre-button {
    display: inline-block;
    padding: 13px 25px;
    border-radius: 999px;
    background: #22c55e;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.download-button:hover,
.download-centre-button:hover {
    transform: translateY(-2px);
    background: #16a34a;
    box-shadow: 0 10px 24px rgba(34,197,94,.22);
}

.purchase-confirmation,
.download-success {
    background: #111827;
    padding: 55px 20px;
    text-align: center;
}

.purchase-confirmation h2,
.download-success h2 {
    margin-bottom: 15px;
    color: #22c55e;
}

.purchase-confirmation p,
.download-success p {
    max-width: 760px;
    margin: 8px auto;
    color: #cbd5e1;
    font-size: 18px;
}

.download-action {
    background: #0f172a;
    padding: 55px 20px;
    text-align: center;
}

.download-action .download-button {
    font-size: 19px;
}

.download-note {
    max-width: 720px;
    margin: 20px auto 0;
    color: #94a3b8;
}

.song-information {
    background: #111827;
    padding: 80px 20px;
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 55px;
    align-items: center;
}

.song-information .album-cover {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.song-information .album-cover img {
    width: 100%;
    display: block;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,.45);
}

.song-information .song-details {
    text-align: left;
}

.song-information .song-details h2 {
    margin-bottom: 25px;
    font-size: 42px;
    line-height: 1.2;
}

.song-information .song-details p {
    margin: 10px 0;
    color: #cbd5e1;
    font-size: 18px;
}

.download-file,
.download-instructions,
.related-music,
.support,
.back-links {
    text-align: center;
    padding: 65px 20px;
}

.download-file,
.download-instructions,
.support {
    background: #0f172a;
}

.download-file h2,
.download-instructions h2,
.related-music h2,
.related-music h3,
.support h2 {
    margin-bottom: 20px;
    font-size: 32px;
}

.download-file p,
.download-instructions p,
.related-music p,
.support p {
    max-width: 760px;
    margin: 8px auto 20px;
    color: #cbd5e1;
}

.download-file h3 {
    margin: 28px 0 15px;
}

.download-file a:not(.download-button),
.support a,
.back-links a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 700;
}

.download-file a:not(.download-button):hover,
.support a:hover,
.back-links a:hover {
    color: #fbbf24;
}

.download-instructions ul {
    width: min(650px, 100%);
    margin: 25px auto 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.download-instructions li {
    margin: 12px 0;
    padding: 14px 18px;
    background: #1e293b;
    border-radius: 10px;
    color: #e5e7eb;
}

.related-music {
    background: #111827;
}

.related-music .buy-button {
    display: inline-block;
    margin-top: 10px;
}

.support {
    border-top: 1px solid rgba(255,255,255,.06);
}

.back-links {
    background: #0b1120;
}

/* Purchase-page sections used by the established EP/single templates */
.after-purchase,
.customer-info,
.related-releases,
.back-to-music-store {
    padding: 65px 20px;
    text-align: center;
}

.after-purchase,
.customer-info {
    background: #0f172a;
}

.after-purchase h2,
.customer-info h2,
.related-releases h2 {
    margin-bottom: 20px;
    font-size: 32px;
}

.after-purchase p {
    max-width: 760px;
    margin: 10px auto;
    color: #cbd5e1;
    font-size: 18px;
}

.after-purchase .download-centre-button,
.related-releases a {
    margin-top: 18px;
}

.customer-info ul {
    width: min(700px, 100%);
    margin: 25px auto 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.customer-info li {
    margin: 10px 0;
    padding: 12px 16px;
    background: #1e293b;
    border-radius: 10px;
}

.related-releases,
.back-to-music-store {
    background: #111827;
}

.related-releases a,
.back-to-music-store a {
    display: inline-block;
    padding: 12px 24px;
    background: #f59e0b;
    color: #111827;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.related-releases a:hover,
.back-to-music-store a:hover {
    background: #fbbf24;
}

@media (max-width: 768px) {
    .top-nav > .nav-links {
        width: min(100% - 30px, 1200px);
        min-height: auto;
        padding: 14px 0;
    }

    .download-welcome,
    .download-hero {
        padding: 60px 16px;
    }

    .downloads,
    .download-file,
    .download-instructions,
    .related-music,
    .support,
    .back-links,
    .after-purchase,
    .customer-info,
    .related-releases,
    .back-to-music-store {
        padding: 55px 16px;
    }

    .download-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .download-card .download-button {
        width: 100%;
        text-align: center;
    }

    .song-information {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 60px 16px;
    }

    .song-information .song-details {
        text-align: center;
    }

    .song-information .song-details h2 {
        font-size: 34px;
    }
}

@media (max-width: 480px) {
    .download-welcome h1,
    .download-hero h1 {
        font-size: 34px;
    }

    .download-button,
    .download-centre-button,
    .related-releases a,
    .back-to-music-store a {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================
   END DOWNLOAD CENTRE COMPATIBILITY LAYER
========================================================== */

