/* XSY Label - Shared Stylesheet
   Used by: homepage (index.html) and artist pages (mazii/index.html) */

:root {
    --bg: #121212;
    --card: #181818;
    --muted: #b3b3b3;
    --accent: #b91d1d;
    --accent-2: #1ed760;
    --text: #eee;
    --max-width: 1100px;
    --radius: 10px;
    --border: #282828;
}

/* Reset & Base */
* {
    box-sizing: border-box
}

html,
body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header & Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: var(--card);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    height: 6.5rem;
    /* Increased from 1.5rem to 2.5rem */
    margin: -2rem;
    width: auto;
    vertical-align: middle;
    object-fit: contain;
    /* Ensures the image maintains its aspect ratio */
}

.main-nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0
}

.main-nav a {
    color: var(--muted);
    text-decoration: none;
    text-transform: lowercase
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 20px
}

/* Heroes - Homepage & Artist */
.hero,
.artist-hero {
    position: relative;
    padding: 40px 20px;
    overflow: hidden;
}

/* Homepage Hero */
.hero-inner {
    display: flex;
    gap: 40px;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero-left {
    flex: 1;
}

.hero-right {
    width: 320px;
}

/* Artist Hero */
.artist-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 70vh;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: url("https://i1.sndcdn.com/avatars-UBoPDKzomfxNoWIw-RADIrA-t500x500.jpg") no-repeat center center/cover; */
    z-index: -1;
    opacity: 0.3;
    background: linear-gradient(315deg, rgb(248, 245, 241) 0%, rgb(104, 97, 93) 100%);
}

/* Shared Hero Elements */
.eyebrow,
.hero-content span {
    display: inline-block;
    color: var(--accent);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
}

h1 {
    margin: 8px 0 12px;
    font-size: 48px
}

.lead {
    color: var(--muted);
    margin: 0 0 18px
}

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 1.5rem;
    transition: background-color 0.2s;
}

.ghost {
    margin-left: 12px;
    color: var(--muted);
    text-decoration: none
}

.section {
    max-width: var(--max-width);
    margin: 40px auto;
    padding: 0 20px
}

.section.small {
    margin-bottom: 80px
}

.cards .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-top: 16px
}

.card {
    background: var(--card);
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text)
}

.card-art {
    height: 140px;
    background-size: cover;
    background-position: center;
    border-radius: 8px
}

.card h3 {
    margin: 10px 0 4px
}

.muted {
    color: var(--muted)
}

.release {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 12px
}

.album-art {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px
}

.release-info h3 {
    margin: 0
}

.footer,
footer {
    max-width: var(--max-width);
    margin: 40px auto;
    padding: 0 20px;
    color: var(--muted)
}

/* Artist Details */
.artist-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.artist-bio h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.underline {
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.artist-bio h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: var(--muted);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links a {
    background: var(--card);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 500;
}

.social-links a:hover {
    background: #333;
    text-decoration: none;
}

/* Music Player */
.artist-music {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
}

.artist-music h3,
.artist-music h4 {
    margin-bottom: 0.5rem;
}

.artist-music h3 {
    text-transform: uppercase;
    color: var(--muted);
}

.artist-music h4 {
    font-size: 1.5rem;
}

#audio-player {
    width: 100%;
    margin: 1rem 0;
}

#current-track {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1rem;
    font-style: italic;
}

.track-list {
    list-style: none;
}

.track-list li {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background-color 0.2s;
}

.track-list li:hover {
    background: var(--card);
}

.track-list li.playing {
    color: var(--accent);
    font-weight: bold;
}

/* Responsive */
@media (max-width: 900px) {

    /* Artist Hero */
    .artist-hero {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: 50vh;
        padding-top: 4rem;
    }

    .hero-content {
        grid-row: 1;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        margin: 0 auto;
    }

    .artist-details {
        grid-template-columns: 1fr;
    }

    /* Homepage Hero */
    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-right {
        width: 100%;
    }

    /* Navigation */
    .nav-toggle {
        display: block;
    }

    nav ul {
        display: none;
    }

    .main-nav.open {
        display: block;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 64px;
        background: rgba(255, 255, 255, 0.02);
        padding: 16px;
        border-radius: 8px;
    }
}

/* small touches */
.cover-grid {
    position: relative
}

.cover-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px
}

.cover-label {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 8px;
    border-radius: 6px;
    color: var(--accent-2);
    font-weight: 700
}

.youtube_video {
    width: 100%;
    height: 315px;
    border: none;
    border-radius: 10px;
    margin-top: 12px;
}