/* ==========================================================================
   SoundBPM - Hero, Catálogo de Álbuns, Lançamentos e Minha Lista (Backlog)
   ========================================================================== */
.hero-carousel-section {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: -80px; 
    padding: calc(6rem + 80px) 2rem 5rem 2rem; 
    text-align: center;
    overflow: hidden;
    background-color: var(--bg-base);
}

.hero-bg-backdrop {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: 100% 100%; 
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(40px) brightness(0.4);
    transform: scale(1.3); 
    z-index: 1;
    transition: background-image 1s ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(20, 24, 28, 0.3) 0%, var(--bg-base) 100%);
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    z-index: 3;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(223, 177, 91, 0.15);
    color: var(--accent-gold);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content-wrapper h1 {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.hero-content-wrapper p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}



.hero-features-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.45rem;
    min-height: 88px;
    padding: 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    background: var(--bg-card);
}

.hero-feature strong {
    font-size: 1rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.hero-feature span {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
}



.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.75rem;
}

.section-header-flex h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-header-flex p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.view-more-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    transition: var(--transition-base);
}

.view-more-link:hover {
    color: var(--text-main);
}

.poster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.75rem;
}

.poster-card {
    background-color: var(--bg-card);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

.poster-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.poster-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.poster-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

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

.poster-overlay-actions {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transition: var(--transition-base);
    z-index: 4;
    pointer-events: none;
}

.poster-card:hover .poster-overlay-actions,
.poster-image-wrap:hover .poster-overlay-actions {
    opacity: 1;
    pointer-events: auto;
}

.action-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.action-icon-btn:hover {
    background-color: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
}

.poster-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.poster-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.poster-artist {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.poster-rating-stars {
    font-size: 0.75rem;
    color: var(--accent-orange);
    margin-top: 0.4rem;
}

.numeric-score {
    color: var(--text-muted);
    margin-left: 0.25rem;
}




.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.upcoming-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 1.25rem 1.5rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition-base);
    width: 100%;
}

.upcoming-card:hover {
    background-color: var(--bg-card-hover);
}

.upcoming-card img {
    width: 75px;
    height: 75px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.upcoming-date-badge {
    background-color: var(--bg-base);
    border: 1px solid var(--border-subtle);
    padding: 0.6rem 0.8rem;
    border-radius: 4px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-gold);
    min-width: 60px;
}

.upcoming-details {
    flex: 1;
}

.upcoming-details h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.upcoming-artist {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
}

.upcoming-details p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.btn-notify {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-base);
    text-transform: uppercase;
}

.btn-notify:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}




.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.dash-block {
    background-color: var(--bg-card);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

.dash-block h3 {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.dash-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.dash-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dash-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card-hover);
    padding: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-base);
}

.dash-item:hover {
    background: var(--border-subtle);
}

.dash-item img {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
}

.dash-item-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.dash-item-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.sync-action {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}



    .poster-image-wrap {
        position: relative;
        width: 100%;
        aspect-ratio: 1/1;
        overflow: hidden;
    }

    .remove-favorite-btn,
    #profile-favorites-grid .poster-image-wrap button,
    #profile-favorites-grid .poster-image-wrap .remove-favorite,
    #profile-favorites-grid .poster-image-wrap [class*="remove"],
    .poster-image-wrap button[class*="remove"] {
        position: absolute !important;
        top: 5px !important;
        right: 5px !important;
        left: auto !important;
        bottom: auto !important;
        background: rgba(0, 0, 0, 0.75) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 50% !important;
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;
        min-height: 18px !important;
        max-height: 18px !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 10px !important;
        line-height: 1 !important;
        z-index: 5 !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
        opacity: 1 !important;
    }

    .remove-favorite-btn:hover {
        background: rgba(223, 177, 91, 0.9) !important;
        color: #000 !important;
    }

