/*
 * Band Play — a página.
 *
 * Fundo escuro de propósito: é a única tela do portal em que o leitor senta
 * para assistir, e vídeo pede sala escura. CSS à mão, como o resto do que não
 * cabe no Tailwind compilado do tema.
 */

.bplay {
    --bp-fundo: #0b0f14;
    --bp-fundo2: #121820;
    --bp-linha: rgba(255, 255, 255, .1);
    --bp-texto: #eef1f5;
    --bp-suave: #97a1ae;
    --bp-vermelho: #d8151f;

    background: var(--bp-fundo);
    color: var(--bp-texto);
    padding-bottom: 72px;
}

.bplay__larg { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ── cabeçalho ───────────────────────────────────────────────────────── */

.bplay__cabeca {
    padding: 46px 0 30px;
    background:
        radial-gradient(120% 90% at 12% 0%, rgba(216, 21, 31, .22) 0%, transparent 58%),
        linear-gradient(180deg, #101822 0%, var(--bp-fundo) 100%);
    border-bottom: 1px solid var(--bp-linha);
}

.bplay__marca { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }

.bplay__marca-disco {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--bp-vermelho);
    color: #fff;
}

.bplay__marca-disco svg { width: 15px; height: 15px; margin-left: 2px; }

.bplay__marca-nome {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .26em;
    text-transform: uppercase;
}

.bplay__marca-nome b { font-weight: 900; }

.bplay__titulo {
    font-family: Fraunces, Georgia, "Times New Roman", serif;
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1.04;
    margin: 0 0 10px;
    color: #fff;
}

.bplay__chamada { margin: 0; font-size: 16px; line-height: 1.55; color: var(--bp-suave); max-width: 62ch; }

/* ── ao vivo ─────────────────────────────────────────────────────────── */

.bplay__aovivo { padding: 26px 0 6px; }

.bplay__aovivo-titulo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 14px;
}

.bplay__pisca {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--bp-vermelho);
    box-shadow: 0 0 0 0 rgba(216, 21, 31, .6);
    animation: bplay-pisca 1.8s ease-out infinite;
}

@keyframes bplay-pisca {
    0% { box-shadow: 0 0 0 0 rgba(216, 21, 31, .55); }
    70% { box-shadow: 0 0 0 11px rgba(216, 21, 31, 0); }
    100% { box-shadow: 0 0 0 0 rgba(216, 21, 31, 0); }
}

.bplay__aovivo-lista { display: flex; flex-wrap: wrap; gap: 10px; }

.bplay__aovivo-bt {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(216, 21, 31, .5);
    background: rgba(216, 21, 31, .12);
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.bplay__aovivo-bt:hover { background: var(--bp-vermelho); border-color: var(--bp-vermelho); transform: translateY(-1px); }

.bplay__aovivo-uf { font-size: 10px; font-weight: 900; letter-spacing: .14em; background: #fff; color: #0b0f14; padding: 3px 7px; border-radius: 4px; }
.bplay__aovivo-nome { font-weight: 700; }
.bplay__aovivo-selo { font-size: 9.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }

/* ── palco ───────────────────────────────────────────────────────────── */

.bplay__palco-area { padding: 26px 0 8px; }

.bplay__palco { position: relative; }

/* o player do plugin já vem arredondado; aqui só tiramos a margem dele */
.bplay__palco .bandvid { margin: 0; }

.bplay__iframe {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.bplay__iframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.bplay__ficha { padding: 18px 2px 0; border-bottom: 1px solid var(--bp-linha); padding-bottom: 22px; }

.bplay__ficha-titulo {
    font-family: Fraunces, Georgia, serif;
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin: 0 0 7px;
    color: #fff;
}

.bplay__ficha-meta {
    margin: 0;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--bp-suave);
}

/* ── grade ───────────────────────────────────────────────────────────── */

.bplay__grade-area { padding: 30px 0 0; }

.bplay__grade-topo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.bplay__secao {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin: 0;
    color: #fff;
}

.bplay__filtros { display: flex; flex-wrap: wrap; gap: 7px; }

.bplay__filtro {
    border: 1px solid var(--bp-linha);
    background: transparent;
    color: var(--bp-suave);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .1em;
    padding: 8px 13px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

.bplay__filtro:hover { color: #fff; border-color: rgba(255, 255, 255, .35); }
.bplay__filtro.is-ativo { background: #fff; color: #0b0f14; border-color: #fff; }

.bplay__grade {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
    gap: 26px 20px;
}

.bplay__cartao {
    display: block;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 0;
    color: inherit;
    cursor: pointer;
}

.bplay__cartao-foto {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bp-fundo2);
    margin-bottom: 11px;
}

.bplay__cartao-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.2, .7, .3, 1), opacity .3s ease;
}

.bplay__cartao:hover .bplay__cartao-foto img { transform: scale(1.06); opacity: .78; }

.bplay__cartao-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .22s ease;
}

.bplay__cartao-play svg {
    width: 22px;
    height: 22px;
    margin-left: 3px;
    color: #fff;
}

.bplay__cartao-play::before {
    content: "";
    position: absolute;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: var(--bp-vermelho);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
}

.bplay__cartao-play svg { position: relative; z-index: 2; }
.bplay__cartao:hover .bplay__cartao-play,
.bplay__cartao:focus-visible .bplay__cartao-play { opacity: 1; }
.bplay__cartao:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 14px; }

.bplay__cartao-uf {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 3;
    background: rgba(8, 13, 20, .78);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: .14em;
    padding: 4px 8px;
    border-radius: 5px;
}

.bplay__cartao.is-tocando .bplay__cartao-foto { outline: 2px solid var(--bp-vermelho); outline-offset: 2px; }

.bplay__cartao-titulo {
    display: block;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.34;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bplay__cartao-data {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--bp-suave);
}

.bplay__vazio-filtro { margin: 26px 0 0; color: var(--bp-suave); font-size: 15px; }

/* ── sem canal ───────────────────────────────────────────────────────── */

.bplay__sem { padding: 60px 24px 40px; max-width: 62ch; }
.bplay__sem h2 { font-family: Fraunces, Georgia, serif; font-size: 28px; font-weight: 900; margin: 0 0 12px; color: #fff; }
.bplay__sem p { color: var(--bp-suave); font-size: 15.5px; line-height: 1.6; margin: 0 0 20px; }
.bplay__sem b { color: #fff; }

.bplay__bt {
    display: inline-block;
    background: var(--bp-vermelho);
    color: #fff;
    text-decoration: none;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 13px 22px;
    border-radius: 999px;
}

.bplay__bt:hover { background: #a30f16; color: #fff; }

/* ── telas menores ───────────────────────────────────────────────────── */

@media (max-width: 860px) {
    .bplay__titulo { font-size: 32px; }
    .bplay__ficha-titulo { font-size: 21px; }
    .bplay__grade { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 22px 14px; }
}

@media (max-width: 560px) {
    .bplay__larg { padding: 0 18px; }
    .bplay__cabeca { padding: 32px 0 22px; }
    .bplay__titulo { font-size: 27px; }
    .bplay__chamada { font-size: 14.5px; }
    .bplay__grade { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .bplay__cartao-titulo { font-size: 13.5px; }
}
