@import url('font-faces.css');

/* ============================================
   ROOT VARIABLES
   ============================================ */

:root {
    /* Colors */
    --color-white: #fff;
    --color-off-white: #fafafa;
    --color-dark: #0D0D0D;
    --color-dark-grey: #1a1a1a;
    --color-light-grey: #f5f5f5;
    --color-medium-grey: #666;
    --color-border: #e0e0e0;
    --color-text: #2a2a2a;
    --color-text-light: #666;
    --color-accent: #0D0D0D;
    
    /* Typography */
    --font-primary: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1rem;
    --border-radius-lg: 1.5rem;
    
    /* Shadows */
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --shadow-xl: none;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.4s ease;
    
    /* Font Sizes - Responsive */
    --text-xs: clamp(0.75rem, 1vw, 0.875rem);
    --text-sm: clamp(0.875rem, 1.2vw, 1rem);
    --text-base: clamp(1rem, 1.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1.8vw, 1.25rem);
    --text-xl: clamp(1.25rem, 2vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 3vw, 2rem);
    --text-3xl: clamp(2rem, 4vw, 3rem);
    --text-4xl: clamp(3rem, 6vw, 4.5rem);
    --text-5xl: clamp(4rem, 8vw, 6rem);
}

/* ============================================
   RESET & BASE
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    font-weight: 300;
    background-color: var(--color-white);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: var(--color-light-grey);
}

body::-webkit-scrollbar-thumb {
    background: var(--color-medium-grey);
    border-radius: 0;
}

body::-webkit-scrollbar-thumb:hover {
    background: var(--color-dark-grey);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-dark);
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

a:hover {
    opacity: 0.7;
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button {
    font-family: var(--font-primary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

ul, ol {
    list-style: none;
}

input, textarea, select {
    font-family: var(--font-primary);
}

/* ============================================
   HEADER
   ============================================ */

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

#header.scrolled {
    padding: 1rem 5%;
}

/* ============================================
   ALBUM HERO - LARGE FEATURED SECTION
   ============================================ */

.album-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 4rem;
  
}

.album-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: center;
}

.album-cover-container {
    position: relative;
}

.album-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-grey) 100%);
    border-radius: 0;
display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform var(--transition-normal);
}

.album-cover:hover {
    transform: scale(1.02);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.play-button:hover {
    transform: scale(1.1);
}

.album-info {
    padding: 2rem 0;
}

.album-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--color-dark);
    color: var(--color-white);
    border-radius: 0;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.album-info h1 {
    font-size: var(--text-5xl);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.album-artist {
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.album-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-label {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.meta-value {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-dark);
}

.album-info .album-description {
    font-size: var(--text-lg);
    line-height: 1.75;
    color: var(--color-text);
    margin-bottom: 2.5rem;
    text-align: justify;
    hyphens: auto;
}

.album-info .album-description.prose-body p {
    margin-bottom: 0;
    line-height: 1.75;
    text-align: justify;
    hyphens: auto;
}

.album-info .album-description.prose-body p + p {
    margin-top: 0;
    text-indent: 0.5cm;
}

.streaming-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ============================================
   BUTTONS
   ============================================ */



.button:hover {
    background: var(--color-dark-grey);
    border-color: var(--color-dark-grey);
    transform: translateY(-2px);
opacity: 1;
}

.button-outline {
    background: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-border);
}

.button-outline:hover {
    background: var(--color-light-grey);
    border-color: var(--color-dark);
}

/* ============================================
   SECTIONS
   ============================================ */

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: var(--text-xs);
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: var(--text-4xl);
    color: var(--color-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}








/* ============================================
   ALBUM COVER CONTAINER
   ============================================ */

.album-cover-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.album-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Perfect square */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0;
    overflow: hidden;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.album-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-cover:hover::before {
    opacity: 1;
}

.album-cover:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Play Button */
.album-cover .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
z-index: 10;
}

.album-cover:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.album-cover .play-button svg {
    width: 32px;
    height: 32px;
    fill: var(--color-dark, #000);
    margin-left: 4px; /* Optical centering for play icon */
}

/* Responsive */
@media (max-width: 768px) {
    .album-cover-container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .album-cover .play-button {
        width: 60px;
        height: 60px;
    }
    
    .album-cover .play-button svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .album-cover {
        border-radius: 0;
    }
}

/* Loading state (opciono) */
.album-cover:not([style*="background-image"]) {
    background-color: #f0f0f0;
    background-image: linear-gradient(
        135deg,
        #f0f0f0 25%,
        #e0e0e0 25%,
        #e0e0e0 50%,
        #f0f0f0 50%,
        #f0f0f0 75%,
        #e0e0e0 75%,
        #e0e0e0
    );
    background-size: 40px 40px;
    animation: loading-pattern 1s linear infinite;
}

@keyframes loading-pattern {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

/* ============================================
   TRACKLIST SECTION
   ============================================ */

.tracklist-section {
    padding: 5rem 0;
    background: var(--color-white);
}

.tracklist {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: 0;
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.track-item {
    display: grid;
    grid-template-columns: 60px 1fr auto 50px;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.track-item:last-child {
    border-bottom: none;
}

.track-item:hover {
    background: var(--color-off-white);
}

.track-number {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: var(--text-lg);
    color: var(--color-text-light);
}

.track-item:hover .track-number {
    color: var(--color-dark);
}

.track-info h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--color-dark);
}

.track-credits {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    font-weight: 400;
}

.track-duration {
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--color-text-light);
}

.track-play {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    opacity: 0;
}

.track-item:hover .track-play {
    opacity: 1;
    background: var(--color-dark);
    color: var(--color-white);
}

.track-play svg {
    fill: currentColor;
}

/* ============================================
   CREDITS SECTION
   ============================================ */

.credits-section {
    padding: 5rem 0;
    background: var(--color-off-white);
}

.credits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.credit-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 0;
    border: 1px solid var(--color-border);
}

.credit-card h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.credit-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credit-list li {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.credit-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.credit-role {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    font-weight: 500;
}

.credit-name {
    font-size: var(--text-sm);
    color: var(--color-dark);
    font-weight: 600;
    text-align: right;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */

.reviews-section {
    padding: 5rem 0;
    background: var(--color-white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--color-off-white);
    padding: 2.5rem;
    border-radius: 0;
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.review-card:hover {
    transform: translateY(-8px);
}

.review-stars {
    font-size: var(--text-xl);
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.review-text {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 2rem;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.review-author-name {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.review-source {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    font-weight: 500;
}

/* ============================================
   SIMILAR ALBUMS SECTION
   ============================================ */

.similar-section {
    padding: 5rem 0;
    background: var(--color-off-white);
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.album-card {
    background: var(--color-white);
    border-radius: 0;
    overflow: hidden;
transition: all var(--transition-normal);
    cursor: pointer;
    border: 1px solid var(--color-border);
}

.album-card:hover {
    transform: translateY(-8px);
}

.album-card-cover {
    width: 100%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    background-color: var(--color-light-grey);
}

.album-card-content {
    padding: 1.5rem;
}

.album-card-content h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.album-card-year {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--color-dark);
    color: var(--color-white);
    text-align: center;
    padding: 3rem 5%;
}

footer p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .album-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .album-cover {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .album-meta {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .streaming-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .album-hero {
        padding: 6rem 5% 3rem;
    }
    
    .album-info h1 {
        font-size: var(--text-4xl);
    }
    
    .album-meta {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .meta-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .track-item {
        grid-template-columns: 40px 1fr auto;
        gap: 1rem;
        padding: 1.25rem 1rem;
    }
    
    .track-play {
        display: none;
    }
    
    .track-number {
        font-size: var(--text-base);
    }
    
    .track-info h3 {
        font-size: var(--text-base);
    }
    
    .track-credits {
        font-size: var(--text-xs);
    }
    
    .credits-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .albums-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .section-header {
        margin-bottom: 2rem;
    }
    
    .album-description {
        font-size: var(--text-base);
    }
    
    .streaming-links {
        flex-direction: column;
    }
    
    .button {
        display: flex !important;
        justify-content: center;
        width: 100%;
    }
    
    .credit-card {
        padding: 1.5rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }