/* public/css/releases.css */

.releases-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    color: #3f3f46;
    font-family: 'Inter', sans-serif;
}

/* Header Editorial */
.releases-header {
    text-align: center;
    margin-bottom: 3rem;
    background: #6F00D0;
    color: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(111, 0, 208, 0.2);
}

.newspaper-title {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin: 0;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1;
    font-family: 'Georgia', serif; /* To give the newspaper feel */
    text-shadow: 2px 2px 0px #6F00D0, -2px -2px 0px #c084fc;
}

.newspaper-date {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e9d5ff;
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 0;
    display: inline-block;
}

.newspaper-subtitle {
    font-size: 1.2rem;
    margin-top: 15px;
    color: #f3e8ff;
    font-style: italic;
}

.newspaper-divider {
    border: none;
    border-top: 4px solid #6F00D0;
    border-bottom: 1px solid #6F00D0;
    height: 8px;
    margin: 2rem 0;
}

.newspaper-divider-light {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

/* Section Headings */
.section-heading {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #c084fc;
    padding-bottom: 10px;
}

.section-heading h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #18181b;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.section-heading span {
    font-size: 0.9rem;
    color: #71717a;
}

/* Layout Newspaper */
.newspaper-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

/* Cards Generales */
.release-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.release-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(111, 0, 208, 0.15);
    border-color: #6F00D0;
}

.release-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.release-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #18181b;
}

.release-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.release-card:hover .release-image-wrapper img {
    transform: scale(1.05);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #3f3f46;
}

.badge-exclusive {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #6F00D0;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.release-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.release-type {
    font-size: 0.75rem;
    font-weight: 700;
    color: #c084fc;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.release-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #18181b;
    line-height: 1.3;
}

.release-artist {
    font-size: 0.95rem;
    color: #52525b;
    margin: 0;
}

.release-description {
    font-size: 0.9rem;
    color: #3f3f46;
    margin-top: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Feature Principal (Portada) */
.main-feature {
    grid-column: 1 / 2;
    background: transparent;
    border: none;
    border-radius: 0;
}

.main-feature:hover {
    transform: none;
    box-shadow: none;
}

.main-feature .release-image-wrapper {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.main-feature .release-info {
    padding: 2rem 0 0 0;
}

.main-feature .headline {
    font-size: 3rem;
    font-family: 'Georgia', serif;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 10px;
}

/* Secondary Features (Sidebar) */
.secondary-features {
    grid-column: 2 / 3;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.secondary-card a {
    flex-direction: row;
    align-items: center;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.05);
}

.secondary-card .release-info {
    padding: 1rem;
    width: 65%;
}

.secondary-card .release-image-wrapper {
    width: 35%;
    border-radius: 0 8px 8px 0;
}

.secondary-card .release-title {
    font-size: 1rem;
}

/* Standard Grid */
.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.personalized-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.personalized-section {
    margin-bottom: 5rem;
}

.highlight-card {
    border-color: rgba(192, 132, 252, 0.4);
    background: linear-gradient(145deg, #fdf4ff, #ffffff);
}

.highlight-card .release-title {
    color: #7e22ce;
}

/* Responsive */
@media (max-width: 900px) {
    .newspaper-layout {
        grid-template-columns: 1fr;
    }
    .main-feature {
        grid-column: 1 / -1;
    }
    .secondary-features {
        grid-column: 1 / -1;
    }
    .newspaper-title {
        font-size: 3rem;
    }
    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 600px) {
    .releases-container {
        padding: 1rem;
    }
    .newspaper-title {
        font-size: 2.2rem;
    }
    .main-feature .headline {
        font-size: 2rem;
    }
    .releases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .secondary-card a {
        flex-direction: column-reverse;
    }
    .secondary-card .release-info {
        width: 100%;
    }
    .secondary-card .release-image-wrapper {
        width: 100%;
        border-radius: 8px 8px 0 0;
    }
}

/* Upcoming Releases Section */
.upcoming-section {
    margin-top: 4rem;
}

.upcoming-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.upcoming-card {
    display: flex;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    padding: 1.5rem;
    gap: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.upcoming-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(111, 0, 208, 0.1);
    border-left: 4px solid #6F00D0;
}

.upcoming-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fdf4ff;
    color: #6F00D0;
    padding: 1rem;
    border-radius: 8px;
    min-width: 120px;
    text-align: center;
    border: 1px solid #e9d5ff;
}

.upcoming-day {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.upcoming-month {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.upcoming-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.upcoming-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #18181b;
    margin: 0 0 5px 0;
}

.upcoming-artist {
    font-size: 1rem;
    font-weight: 600;
    color: #6F00D0;
    margin: 0 0 10px 0;
}

.upcoming-type {
    color: #71717a;
    font-weight: 500;
    font-size: 0.9rem;
}

.upcoming-description {
    font-size: 1rem;
    color: #3f3f46;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 600px) {
    .upcoming-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .upcoming-date-badge {
        flex-direction: row;
        gap: 10px;
        min-width: auto;
        padding: 0.5rem;
    }
    .upcoming-day {
        margin-bottom: 0;
        font-size: 1.2rem;
    }
}

/* Genius-style Editorial Layout */
.genius-editorial-section {
    margin-bottom: 4rem;
}

.genius-hero {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

.genius-hero-text {
    flex: 1;
}

.genius-hero-image {
    flex: 1.2;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f4f4f5;
}

.genius-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.genius-hero:hover .genius-hero-image img {
    transform: scale(1.03);
}

.genius-tag {
    font-size: 0.8rem;
    font-weight: 800;
    color: #6F00D0;
    margin-bottom: 15px;
    display: block;
    letter-spacing: 1px;
}

.genius-hero-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #18181b;
    margin: 0 0 15px;
    line-height: 1.2;
    font-family: 'Georgia', serif;
}

.genius-hero-text p {
    font-size: 1.2rem;
    color: #52525b;
    margin: 0 0 20px;
    line-height: 1.5;
}

.genius-meta {
    font-size: 0.85rem;
    color: #a1a1aa;
    text-transform: uppercase;
    font-weight: 600;
}

.genius-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.genius-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid rgba(0,0,0,0.1);
    padding-right: 2rem;
}

.genius-card:last-child {
    border-right: none;
    padding-right: 0;
}

.genius-card-text {
    margin-bottom: 2rem;
}

.genius-card-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #18181b;
    margin: 0 0 15px;
    line-height: 1.35;
    font-family: 'Georgia', serif;
}

.genius-card-image {
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    background: #f4f4f5;
}

.genius-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.genius-card:hover .genius-card-image img {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .genius-hero {
        flex-direction: column;
        gap: 1.5rem;
    }
    .genius-hero-image {
        width: 100%;
        order: -1; /* Image on top for mobile */
    }
    .genius-hero-text h2 {
        font-size: 2rem;
    }
    .genius-card {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        padding-bottom: 2rem;
    }
    .genius-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}
