body{
    background-color: #D0C397; 
    color: #947A24;
    margin: 0;
    padding: 0;
}

h1{
    text-align: center;
}

.pile{
    height: 100%;
    width: auto;
    object-fit: cover;
    position: fixed;
    top: 0;
    right: 0;
    z-index: -1;
    opacity: 0.7;
}

.container{
    max-width: 960px;
    margin: 0 auto;
    padding: 1rem 1.25rem 3rem;
    position: relative;
}

.song-grid{
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.pagination{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #947A24;
}

.pagination__numbers{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination__num{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0px 4px;
    color: #947A24;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
}

.pagination__num:hover{
    color: #5c4a15;
}

.pagination__num--current{
    color: #947A24;
    border-bottom: 1px solid #947A24;
    cursor: default;
}

.pagination__btn{
    color: #947A24;
    font-weight: 600;
    text-decoration: none;
    padding: 0.15rem 0;
}

.pagination__btn:hover{
    border-bottom-color: #5c4a15;
}

.pagination__btn--disabled{
    opacity: 0.6;
    pointer-events: none;
    border-bottom-color: transparent;
    cursor: default;
}

.song-card{
    display: flex;
    flex-direction: column;
    height: 500px;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 250, 232, 0.75);
    border: 1px solid rgba(148, 122, 36, 0.35);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(107, 86, 24, 0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.song-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(107, 86, 24, 0.18);
    border-color: rgba(107, 86, 24, 0.45);
}

.song-card:focus-visible{
    outline: 2px solid #6b5618;
    outline-offset: 3px;
}

.song-card__media{
    position: relative;
    width: 100%;
    height: 80%;
    background: rgba(208, 195, 151, 0.6);
    flex-shrink: 0;
}

.song-card__thumb{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.song-card__placeholder{
    width: 100%;
    height: 100%;
    min-height: 0;
    background: linear-gradient(
        135deg,
        rgba(208, 195, 151, 0.9) 0%,
        rgba(176, 158, 110, 0.75) 100%
      );
    background-size: cover;
}

.song-card__body{
    padding: 0.9rem 1rem 1.1rem;
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.song-card__title{
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: #5c4a15;
}

.back{
    display: inline-block;
    margin-bottom: 1rem;
    color: #6b5618;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(107, 86, 24, 0.35);
}

.back:hover{
    border-bottom-color: #6b5618;
}

.detail-title{
    font-size: 1.35rem;
    margin: 0 0 1.25rem;
    line-height: 1.3;
}

.detail-section{
    margin-bottom: 2rem;
}

.detail-section h3{
    font-size: 1rem;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.9;
}

.embed{
    margin-bottom: 1.5rem;
}

.embed-label{
    margin: 0 0 0.4rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.embed-player{
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
}

.embed-player iframe{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.embed-missing,
.error{
    color: #5c4a15;
    font-size: 0.95rem;
}

.error code{
    font-size: 0.85em;
}