/* ============================================
   AuraStream — Legal Watch Layer
   Provider badges + watch panel + guide cards
   ============================================ */

/* --- Provider badges on poster cards --- */
.provider-row {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    max-width: calc(100% - 70px);
    z-index: 12;
}

.provider-chip {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(8, 8, 12, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.provider-chip img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
    display: block;
}

.provider-chip.provider-more {
    font-size: 0.66rem;
    font-weight: 700;
    color: #e4e4e7;
    letter-spacing: -0.02em;
}

/* --- Watch panel --- */
.watch-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(4, 4, 6, 0.92);
    backdrop-filter: blur(18px);
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.watch-overlay.active {
    opacity: 1;
}

.watch-shell {
    max-width: 1080px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.watch-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.watch-back {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.15rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.watch-back:hover {
    background: rgba(255, 255, 255, 0.12);
}

.watch-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

.watch-brand span {
    color: #a855f7;
}

.watch-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0b0b10;
    margin-bottom: 2rem;
}

.watch-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.32;
    filter: blur(2px);
}

.watch-hero-inner {
    position: relative;
    display: flex;
    gap: 1.75rem;
    padding: 1.75rem;
    background: linear-gradient(90deg, rgba(6, 6, 8, 0.92) 0%, rgba(6, 6, 8, 0.55) 100%);
}

.watch-poster {
    width: 170px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    background: #14141c;
}

.watch-poster img {
    width: 100%;
    display: block;
}

.watch-headline h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.65rem;
}

.watch-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
    color: #a1a1aa;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.watch-facts .dot {
    color: #52525b;
}

.watch-score {
    color: #fbbf24;
    font-weight: 700;
}

.watch-overview {
    color: #d4d4d8;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 62ch;
}

.watch-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.watch-section {
    margin-bottom: 2.5rem;
}

.watch-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #e4e4e7;
    margin-bottom: 0.35rem;
}

.watch-section-note {
    color: #71717a;
    font-size: 0.85rem;
    margin-bottom: 1.1rem;
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.85rem;
}

.provider-tile {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: #f4f4f5;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.provider-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(168, 85, 247, 0.55);
    background: rgba(168, 85, 247, 0.1);
}

.provider-tile img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.35);
    padding: 4px;
    flex-shrink: 0;
}

.provider-tile-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.provider-tile-text strong {
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.provider-tile-text small {
    font-size: 0.74rem;
    color: #a1a1aa;
}

.watch-trailer {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #000;
}

.watch-trailer iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.watch-attrib {
    color: #52525b;
    font-size: 0.78rem;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 1.1rem;
}

.watch-attrib a {
    color: #a855f7;
    text-decoration: none;
}

.watch-empty {
    padding: 1.25rem;
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    color: #a1a1aa;
    font-size: 0.9rem;
    line-height: 1.6;
}

.watch-loading {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #71717a;
    font-size: 0.9rem;
    padding: 1rem 0;
}

.watch-spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(168, 85, 247, 0.25);
    border-top-color: #a855f7;
    animation: watch-spin 0.8s linear infinite;
}

@keyframes watch-spin {
    to { transform: rotate(360deg); }
}

/* --- Where-to-watch guide cards (sports / channels) --- */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.guide-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem;
    border-radius: 16px;
    background: var(--bg-card, #101018);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.guide-card:hover {
    border-color: rgba(168, 85, 247, 0.45);
    transform: translateY(-2px);
}

.guide-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.guide-card p {
    color: var(--text-secondary, #a1a1aa);
    font-size: 0.87rem;
    line-height: 1.6;
}

.guide-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.75rem;
}

.guide-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e9d5ff;
    background: rgba(168, 85, 247, 0.14);
    border: 1px solid rgba(168, 85, 247, 0.32);
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.18s ease;
}

.guide-link:hover {
    background: rgba(168, 85, 247, 0.28);
}

@media (max-width: 720px) {
    .watch-hero-inner {
        flex-direction: column;
        padding: 1.25rem;
    }

    .watch-poster {
        width: 120px;
    }

    .watch-shell {
        padding: 1.25rem 1rem 3rem;
    }

    .provider-grid {
        grid-template-columns: 1fr 1fr;
    }
}
