:root {
    --bg-color: #f4f4f5;
    --text-color: #18181b;
    --text-muted: #3f3f46;
    --card-bg: #ffffff;
    --border-color: #e4e4e7;

    --apple-color: #FF4E6B;
    --spotify-color: #1DB954;
    --youtube-color: #FF0000;
    --amazon-color: #00A8E1;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #fdf6ec 0%, #d0e8f2 100%);
    min-height: 100vh;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.7;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
}

.logo {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

h1 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.record-label-container {
    margin-bottom: 35px;
    font-size: 0.90rem;
    font-weight: 600;
    color: var(--text-muted);
}

.record-label-link {
    color: #0066cc;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.record-label-link:hover {
    color: #004499;
    opacity: 0.8;
}

.links-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 45px;
}

.links-container a:last-child:nth-child(odd) {
    grid-column: span 2;
}

.link-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    position: relative;
    padding: 18px 20px;
    background-color: var(--card-bg);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-btn i {
    position: absolute;
    left: 24px;
    font-size: 1.5rem;
}

.link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-apple:hover {
    background-color: var(--apple-color);
    color: white;
    border-color: var(--apple-color);
}

.btn-spotify:hover {
    background-color: var(--spotify-color);
    color: white;
    border-color: var(--spotify-color);
}

.btn-youtube:hover {
    background-color: var(--youtube-color);
    color: white;
    border-color: var(--youtube-color);
}

.btn-amazon:hover {
    background-color: var(--amazon-color);
    color: white;
    border-color: var(--amazon-color);
}

.btn-download:hover {
    background-color: var(--text-color);
    color: var(--card-bg);
    border-color: var(--text-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 45px;
}

.stat-card {
    background: var(--card-bg);
    padding: 20px 15px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.stat-label {
    font-size: 0.75rem;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 6px;
    font-weight: 600;
}

.stat-value {
    font-weight: 700;
    font-size: 1.05rem;
}

.about-section {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
    text-align: justify;
}

.about-section h2 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-align: center;
}

.about-section p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.about-section p:last-child {
    margin-bottom: 0;
}

.contact-footer {
    padding-top: 35px;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    padding: 12px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.contact-link i {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #000000;
    border-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
}

.contact-link:hover i {
    color: #000000;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.disabled-link {
    pointer-events: none;
    cursor: default;
    color: #888888;
    text-decoration: none;
}

.tracklist-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 45px;
}

.track-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.track-btn:hover {
    background: #f4f4f5;
    transform: translateX(5px);
}

.track-btn.active {
    background: var(--text-color);
    color: var(--card-bg);
    border-color: var(--text-color);
}

.lyrics-container {
    text-align: center;
}

.lyrics-container p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.releases-container {
    margin-bottom: 45px;
}

.releases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* Dynamically adjust column counts if fewer than 4 items exist */
.releases-grid:has(> :nth-child(1):last-child) {
    grid-template-columns: repeat(1, 1fr);
    max-width: 25%;
    margin: 0 auto;
}

.releases-grid:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
    max-width: 50%;
    margin: 0 auto;
}

.releases-grid:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
    max-width: 75%;
    margin: 0 auto;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.release-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
}

.release-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.release-art {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.release-info {
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-grow: 1;
}

.release-title {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.release-type {
    margin: auto 0 10px 0;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.release-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: var(--text-color);
    color: var(--card-bg);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    align-self: center;
}

.release-link:hover {
    background-color: var(--text-muted);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 1. Sets the button to stack its internal elements top-to-bottom */
.link-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    padding: 15px;
    /* Adjust based on your preference */
}

/* 2. Groups the icon and main text so they center together perfectly */
.btn-main {
    display: flex;
    align-items: center;
    /* Vertically centers the icon with the text */
    justify-content: center;
    /* Horizontally centers the block inside the button */
    gap: 12px;
    /* Adds breathing room between the icon and text */
    text-align: center;
    /* Keeps the "(1080x1080)" flush directly under "Square" */
}

/* Optional: Make the icon slightly bigger so it matches the two lines of text */
.btn-main i {
    font-size: 1.4rem;
}

/* 3. Styles the small gray description so it sits neatly at the bottom */
.btn-desc {
    display: block;
    font-size: 0.65rem;
    /* Small text size */
    color: #888888;
    /* Gray text */
    font-weight: normal;
    /* Removes any bold styling inherited from the button */
    margin-top: 10px;
    /* Pushes it down slightly from the main text */
    line-height: 1.4;
    /* Makes multi-line text readable */
    text-align: center;
    /* Centers the gray text horizontally */
}

.lyrics-author p {
    display: block;
    font-size: 1rem;
    /* Small text size */
    color: #888888;
    /* Gray text */
    font-weight: normal;
    /* Removes any bold styling inherited from the button */
    margin-top: 50px;
    /* Pushes it down slightly from the main text */
    line-height: 1.4;
    /* Makes multi-line text readable */
    text-align: center;
    /* Centers the gray text horizontally */
}

.lyrics-subtext {
    display: block;
    font-size: 0.7rem;
    color: #888888;
    text-align: center;
}


@media (max-width: 600px) {
    .container {
        padding: 30px 15px;
    }

    .links-container {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 layout on mobile */
        gap: 12px;
    }

    .about-section {
        padding: 25px 20px;
        text-align: justify;
    }

    .link-btn {
        font-size: 1rem;
        padding: 16px;
    }

    .link-btn i {
        left: 18px;
    }

    h1 {
        font-size: 1.75rem;
    }

    .releases-grid {
        grid-template-columns: 1fr;
    }
}