/* ── ANIMEFFLIX HUB ── */
:root {
    --afh-purple: #9B1FC1;
    --afh-purple-dark: #7a189a;
    --afh-dark: #111827;
    --afh-gray: #6b7280;
    --afh-light: #f3f4f6;
    --afh-border: #e5e7eb;
    --afh-white: #ffffff;
    --afh-gold: #f59e0b;
}

/* HERO */
.afh-hero {
    min-height: 80vh;
    background-size: cover;
    background-position: center top;
    background-color: #0a0a0a;
    position: relative;
    color: #fff;
}
.afh-hero__overlay {
    min-height: 80vh;
    background: linear-gradient(to right, rgba(10,10,10,.95) 0%, rgba(10,10,10,.7) 50%, rgba(10,10,10,.4) 100%),
                linear-gradient(to bottom, transparent 60%, rgba(10,10,10,1) 100%);
    padding: 4rem 2rem 5rem;
}
.afh-hero__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    align-items: start;
}
.afh-hero__cover { position: relative; }
.afh-hero__cover img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,.6);
    display: block;
}
.afh-type-badge {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--afh-purple);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
}
.afh-hero__genres { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.afh-genre {
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.afh-hero__title { font-size: clamp(1.8rem,4vw,3rem); font-weight: 800; margin: 0 0 4px; color: #fff; line-height: 1.1; }
.afh-hero__native { font-size: 13px; color: rgba(255,255,255,.55); margin: 0 0 4px; }
.afh-hero__english { font-size: 14px; color: rgba(255,255,255,.7); margin: 0 0 12px; }
.afh-hero__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 12px; font-size: 13px; color: rgba(255,255,255,.8); align-items: center; }
.afh-score { color: var(--afh-gold); font-weight: 700; font-size: 16px; }
.afh-status { background: rgba(255,255,255,.15); padding: 2px 8px; border-radius: 4px; font-size: 12px; }
.afh-hero__synopsis { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.85); margin: 0 0 18px; max-width: 600px; }
.afh-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.afh-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 6px; font-weight: 600; font-size: 14px; text-decoration: none; border: none; cursor: pointer; transition: opacity .15s, transform .15s; }
.afh-btn:hover { opacity: .9; transform: translateY(-1px); }
.afh-btn--primary { background: #fff; color: #000; }
.afh-btn--secondary { background: rgba(255,255,255,.15); color: #fff; backdrop-filter: blur(4px); }
.afh-ficha { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 12px; margin: 0; }
.afh-ficha dt { color: rgba(255,255,255,.5); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; font-size: 10px; align-self: center; }
.afh-ficha dd { color: rgba(255,255,255,.85); margin: 0; }

/* CONTAINER */
.afh-container { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }

/* SEÇÕES */
.afh-section { margin-bottom: 3rem; }
.afh-section__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--afh-dark);
    margin: 0 0 1.25rem;
    padding-bottom: .6rem;
    border-bottom: 3px solid var(--afh-purple);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* SINOPSE */
.afh-synopsis { font-size: 15px; line-height: 1.7; color: #374151; margin: 0; }
.afh-toggle { background: none; border: none; color: var(--afh-purple); font-weight: 700; font-size: 13px; cursor: pointer; padding: 0; margin-left: 6px; text-decoration: underline; }
.afh-toggle:hover { color: var(--afh-purple-dark); }

/* TRAILER */
.afh-trailer-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; }
.afh-trailer-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* PERSONAGENS */
.afh-chars { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px,1fr)); gap: 1rem; }
.afh-char { text-align: center; }
.afh-char img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 8px; display: block; margin-bottom: .5rem; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.afh-char__info { font-size: 12px; line-height: 1.3; }
.afh-char__info strong { display: block; font-size: 13px; color: var(--afh-dark); margin-bottom: 2px; }
.afh-char__info span { color: var(--afh-gray); display: block; }
.afh-char__role { display: inline-block; background: var(--afh-light); padding: 1px 6px; border-radius: 4px; font-size: 10px; margin-top: 3px; color: var(--afh-gray); }

/* ANÁLISE */
.afh-analysis { background: #fafafa; border: 1px solid var(--afh-border); border-radius: 12px; padding: 1.75rem; }
.afh-nota { display: inline-flex; align-items: center; gap: .65rem; margin-bottom: 1.25rem; }
.afh-nota__num { font-size: 2.5rem; font-weight: 800; color: var(--afh-dark); line-height: 1; }
.afh-nota__num::before { content: '★ '; color: var(--afh-gold); font-size: 2rem; vertical-align: 2px; }
.afh-nota__label small { color: #888; font-size: 1rem; }
.afh-analise__texto p { font-size: 15px; line-height: 1.7; color: #374151; margin-bottom: 1rem; }
.afh-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.25rem 0; }
.afh-pros h3, .afh-contras h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 .75rem; }
.afh-pros h3 { color: #059669; }
.afh-contras h3 { color: #dc2626; }
.afh-pros ul, .afh-contras ul { list-style: none; margin: 0; padding: 0; font-size: 14px; color: #374151; }
.afh-pros li, .afh-contras li { padding: .35rem 0 .35rem 1.2rem; position: relative; border-bottom: 1px dashed #e5e7eb; }
.afh-pros li::before { content: '✓'; position: absolute; left: 0; color: #059669; font-weight: 700; }
.afh-contras li::before { content: '✗'; position: absolute; left: 0; color: #dc2626; font-weight: 700; }
.afh-veredito { margin-top: 1.25rem; padding: 1rem 1.25rem; background: var(--afh-purple); color: #fff; border-radius: 8px; font-size: 15px; font-weight: 600; }
.afh-veredito span { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; opacity: .75; margin-right: 6px; }

/* STREAMING */
.afh-streaming { display: flex; flex-wrap: wrap; gap: 8px; }
.afh-stream-btn { background: var(--afh-dark); color: #fff !important; padding: 8px 18px; border-radius: 6px; font-size: 13px; font-weight: 600; text-decoration: none !important; transition: background .2s; }
.afh-stream-btn:hover { background: var(--afh-purple); }

/* RELAÇÕES */
.afh-relations { display: flex; flex-wrap: wrap; gap: 1rem; }
.afh-rel-card { display: flex; gap: .75rem; align-items: center; background: var(--afh-light); border-radius: 8px; padding: .75rem; width: calc(50% - .5rem); }
.afh-rel-card img { width: 50px; height: 70px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.afh-rel-info { display: flex; flex-direction: column; gap: 2px; }
.afh-rel-type { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--afh-purple); }
.afh-rel-info strong { font-size: 13px; color: var(--afh-dark); }
.afh-rel-info small { color: var(--afh-gray); font-size: 11px; }

/* FAQ */
.afh-faq__list { display: flex; flex-direction: column; gap: .5rem; }
.afh-faq__item { border: 1px solid var(--afh-border); border-radius: 8px; overflow: hidden; }
.afh-faq__q { width: 100%; text-align: left; background: var(--afh-light); border: none; padding: 1rem 1.25rem; font-size: 14px; font-weight: 600; color: var(--afh-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.afh-faq__q:hover { background: #e9eaec; }
.afh-faq__q span { color: var(--afh-purple); font-size: 1.3rem; font-weight: 400; }
.afh-faq__a { padding: 1rem 1.25rem; background: #fff; }
.afh-faq__a p { margin: 0; font-size: 14px; line-height: 1.6; color: #374151; }

/* POSTS */
.afh-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.25rem; }
.afh-post-card { display: flex; flex-direction: column; border: 1px solid var(--afh-border); border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.afh-post-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.afh-post-card__img img { width: 100%; height: 180px; object-fit: cover; display: block; }
.afh-post-card__body { padding: .875rem; }
.afh-post-card__date { font-size: 11px; color: var(--afh-gray); margin-bottom: 4px; display: block; }
.afh-post-card__body h3 { font-size: 14px; font-weight: 700; color: var(--afh-dark); margin: 0; line-height: 1.4; }

/* RESPONSIVE */
@media (max-width: 700px) {
    .afh-hero__inner { grid-template-columns: 1fr; }
    .afh-hero__cover { max-width: 200px; margin: 0 auto; }
    .afh-proscons { grid-template-columns: 1fr; }
    .afh-rel-card { width: 100%; }
    .afh-chars { grid-template-columns: repeat(auto-fill, minmax(100px,1fr)); }
}
