/* Bradesco-Inspired Theme — Crimson-Purple Gradient · White Body · Red Accent */

:root {
    --red:          #cc0a2e;
    --red-dark:     #a80824;
    --red-hi:       #e01035;
    --purple:       #4a0e68;
    --purple-dark:  #35054c;
    --purple-mid:   #7b1fa2;
    --grad-header:  linear-gradient(135deg, #cc0a2e 0%, #7b1fa2 55%, #4a0e68 100%);
    --grad-badge:   linear-gradient(90deg, #cc0a2e 0%, #4a0e68 100%);
    --red-pale:     rgba(204,10,46,0.08);
    --red-glow:     rgba(204,10,46,0.25);
    --body-bg:      #f4f4f6;
    --surface:      #ffffff;
    --card:         #ffffff;
    --border:       #e0e0e8;
    --border-dark:  #c8c8d4;
    --text-main:    #1c1c2e;
    --text-second:  #4a4a62;
    --text-muted:   #8888a0;
    --shadow-xs:    0 1px 4px rgba(74,14,104,0.07);
    --shadow-sm:    0 2px 10px rgba(74,14,104,0.10);
    --shadow-md:    0 4px 20px rgba(74,14,104,0.14);
    --shadow-red:   0 4px 16px rgba(204,10,46,0.28);
    --shadow-purple:0 4px 16px rgba(74,14,104,0.22);
    --rad:          6px;
    --rad-sm:       4px;
    --rad-lg:       10px;
    --rad-pill:     999px;
    --ease:         all 0.20s ease;
    --maxw:         1060px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: var(--body-bg);
    color: var(--text-main);
    line-height: 1.55;
    font-size: 14px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== HEADER — crimson→purple gradient ===== */
.bd-header {
    background: var(--grad-header);
    padding: 0;
    border-bottom: none;
    box-shadow: 0 3px 18px rgba(74,14,104,0.35);
}

.bd-header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 11px 0;
}

.bd-logo-link {
    text-decoration: none;
    display: inline-block;
    line-height: 1;
}

.bd-site-name {
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
    font-style: normal;
    border-bottom: none;
    text-decoration: none;
    text-shadow: 0 2px 8px rgba(0,0,0,0.30);
}

.bd-domain-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 16px;
    border: 1.5px solid rgba(255,255,255,0.45);
    border-radius: var(--rad-pill);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
}

.bd-domain-label {
    font-size: 10px;
    font-weight: 800;
    color: rgba(255,255,255,0.85);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.bd-domain-addr {
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.2px;
    white-space: nowrap;
    text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}

/* ===== LAYOUT ===== */
.bd-wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 14px;
}

.bd-row {
    padding: 7px 0;
}

/* ===== PROMO ===== */
.bd-promo {
    overflow: hidden;
    margin-bottom: 7px;
    border-radius: var(--rad-lg);
    box-shadow: var(--shadow-sm);
}

/* ===== CATEGORY NAV — gradient left label + white links ===== */
.bd-catnav {
    background: var(--surface);
    border-radius: var(--rad-lg);
    border: 1.5px solid var(--border);
    margin-bottom: 7px;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

.bd-catrow {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--border);
}

.bd-catrow:last-child { border-bottom: none; }

.bd-catlabel {
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    background: var(--grad-header);
    white-space: nowrap;
    width: 10%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 6px;
    flex-shrink: 0;
    border-right: 2px solid rgba(255,255,255,0.15);
    letter-spacing: 0.2px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.bd-catlinks {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 9px 10px;
    align-items: center;
    background: #fafafa;
}

.bd-catlinks a {
    display: inline-block;
    color: var(--text-second);
    text-decoration: none;
    padding: 5px 4px;
    border-radius: var(--rad-sm);
    transition: var(--ease);
    background: var(--surface);
    border: 1.5px solid var(--border);
    white-space: nowrap;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    width: calc((100% - 42px) / 8);
    flex-shrink: 0;
    flex-grow: 0;
}

.bd-catlinks a:hover {
    background: var(--grad-header);
    color: #ffffff;
    border-color: transparent;
    font-weight: 700;
    box-shadow: var(--shadow-purple);
}

.bd-catlinks a.active {
    background: var(--grad-header);
    color: #ffffff;
    border-color: transparent;
    font-weight: 800;
    box-shadow: var(--shadow-purple);
}

/* ===== SEARCH ===== */
.bd-searchbox {
    background: var(--surface);
    border-radius: var(--rad-lg);
    border: 1.5px solid var(--border);
    padding: 12px 14px;
    margin-bottom: 7px;
    box-shadow: var(--shadow-xs);
}

.bd-searchbox form {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    align-items: center;
}

.bd-searchbox input[type="text"] {
    flex: 1;
    min-width: 150px;
    padding: 9px 14px;
    border: 1.5px solid var(--border-dark);
    border-radius: var(--rad-sm);
    background: var(--body-bg);
    color: var(--text-main);
    font-size: 14px;
    transition: var(--ease);
    outline: none;
    font-weight: 500;
}

.bd-searchbox input[type="text"]:focus {
    border-color: var(--red);
    background: var(--surface);
    box-shadow: 0 0 0 3px var(--red-pale);
}

.bd-searchbox input[type="text"]::placeholder { color: var(--text-muted); }

.bd-searchbox button {
    padding: 9px 18px;
    border: none;
    border-radius: var(--rad-sm);
    background: var(--grad-header);
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: var(--ease);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.bd-searchbox button:hover {
    box-shadow: var(--shadow-red);
    filter: brightness(1.08);
}

/* ===== HOT TAGS ===== */
.bd-tagpool {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
    padding: 12px 14px;
    background: var(--surface);
    border-radius: var(--rad-lg);
    border: 1.5px solid var(--border);
    margin-bottom: 7px;
    box-shadow: var(--shadow-xs);
}

.bd-tagpool a {
    display: inline-block;
    padding: 5px 13px;
    background: var(--red-pale);
    border-radius: var(--rad-pill);
    color: var(--red-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: var(--ease);
    border: 1.5px solid rgba(204,10,46,0.25);
}

.bd-tagpool a:hover {
    background: var(--grad-header);
    color: #ffffff;
    border-color: transparent;
    font-weight: 700;
}

/* ===== HOT HEADING ===== */
.bd-hothd { margin-bottom: 6px; }

.bd-hothd strong {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-second);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== SECTION HEADING ===== */
.bd-filmblk { margin-bottom: 10px; }

.bd-blkhead {
    margin-bottom: 11px;
    padding-bottom: 9px;
    border-bottom: 2px solid var(--border);
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.bd-blkhead::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 52px;
    height: 3px;
    background: var(--grad-badge);
    border-radius: 2px;
}

.bd-blktitle {
    font-size: 17px;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -0.3px;
    text-transform: uppercase;
    margin: 0;
}

.bd-blktitle a { color: inherit; text-decoration: none; transition: var(--ease); }
.bd-blktitle a:hover { color: var(--red); }

/* ===== MEDIA GRID ===== */
.bd-thumbgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    list-style: none;
    padding: 0;
}

.bd-thumbgrid li { animation: bdRise 0.42s ease backwards; }

.bd-thumbgrid li:nth-child(1) { animation-delay: 0.04s; }
.bd-thumbgrid li:nth-child(2) { animation-delay: 0.08s; }
.bd-thumbgrid li:nth-child(3) { animation-delay: 0.12s; }
.bd-thumbgrid li:nth-child(4) { animation-delay: 0.16s; }
.bd-thumbgrid li:nth-child(5) { animation-delay: 0.20s; }
.bd-thumbgrid li:nth-child(6) { animation-delay: 0.24s; }
.bd-thumbgrid li:nth-child(7) { animation-delay: 0.28s; }
.bd-thumbgrid li:nth-child(8) { animation-delay: 0.32s; }

@keyframes bdRise {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.bd-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--rad-lg);
    aspect-ratio: 600 / 350;
    background: var(--border);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-xs);
    transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.bd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.42s ease;
    display: block;
}

.bd-thumb:hover {
    border-color: var(--red);
    box-shadow: var(--shadow-red);
    transform: translateY(-2px);
}

.bd-thumb:hover img { transform: scale(1.07); }

/* gradient overlay on hover — matches Bradesco card style */
.bd-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(204,10,46,0.55) 0%, rgba(74,14,104,0.65) 100%);
    opacity: 0;
    transition: opacity 0.28s ease;
    z-index: 1;
}

.bd-thumb:hover::after { opacity: 1; }

.bd-thumbcap { padding: 7px 0 3px; }

.bd-thumbcap h5 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.bd-thumbcap h5 a {
    color: var(--text-second);
    text-decoration: none;
    transition: var(--ease);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bd-thumbcap h5 a:hover { color: var(--red); }

/* ===== DETAIL TITLE ===== */
.bd-dtlbar {
    line-height: 1.8;
    text-align: center;
    padding: 15px 20px;
    font-size: 16px;
    margin: 8px 0;
    word-break: break-all;
    background: var(--surface);
    border-radius: var(--rad-lg);
    border: 1.5px solid var(--border);
    border-top: 3px solid var(--red);
    box-shadow: var(--shadow-xs);
}

.bd-dtlbar a {
    color: var(--red);
    text-decoration: none;
    font-weight: 800;
    margin-right: 8px;
}

.bd-dtlbar b { color: var(--text-main); font-weight: 700; }

/* ===== INFO PANEL ===== */
.bd-infopanel {
    font-size: 15px;
    line-height: 1.9;
    padding: 18px 22px;
    background: var(--surface);
    border-radius: var(--rad-lg);
    border: 1.5px solid var(--border);
    margin: 7px 0;
    color: var(--text-second);
    box-shadow: var(--shadow-xs);
}

/* ===== CAPTURE ===== */
.bd-capframe { margin-top: 12px; }

.bd-capframe picture,
.bd-capframe img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--rad);
    border: 1.5px solid var(--border);
}

/* ===== ACTION BUTTONS ===== */
.bd-btnrow {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 14px 16px;
    background: var(--surface);
    border-radius: var(--rad-lg);
    border: 1.5px solid var(--border);
    margin: 7px 0;
    box-shadow: var(--shadow-xs);
}

.bd-btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--grad-header);
    color: #ffffff;
    text-decoration: none;
    border-radius: var(--rad-pill);
    font-weight: 800;
    font-size: 14px;
    transition: var(--ease);
    border: none;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: var(--shadow-purple);
}

.bd-btn:hover {
    filter: brightness(1.12);
    box-shadow: var(--shadow-red);
    transform: translateY(-1px);
}

/* ===== SHARE PANEL ===== */
.bd-sharebox {
    background: var(--surface);
    border-radius: var(--rad-lg);
    border: 1.5px solid var(--border);
    padding: 13px 18px;
    margin: 7px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-xs);
}

.bd-shareurl-row {
    background: var(--body-bg);
    border: 1.5px solid var(--border-dark);
    border-radius: var(--rad-sm);
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.share-label {
    font-weight: 800;
    font-size: 11px;
    color: var(--red);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.share-url {
    font-size: 12px;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
    word-break: break-all;
    flex: 1;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
}

.share-copy-btn {
    padding: 10px 20px;
    background: var(--grad-header);
    color: #ffffff;
    border: none;
    border-radius: var(--rad-pill);
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: var(--shadow-purple);
}

.share-copy-btn:hover {
    filter: brightness(1.1);
    box-shadow: var(--shadow-red);
}

.share-copy-btn:active { transform: scale(0.97); }
.share-icon { font-size: 15px; }

/* ===== PAGINATION ===== */
.bd-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    padding: 16px 0;
}

.bd-pgbtn,
.bd-pgcur {
    display: inline-block;
    padding: 7px 14px;
    border-radius: var(--rad-pill);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: var(--ease);
    min-width: 36px;
    text-align: center;
}

.bd-pgbtn {
    background: var(--surface);
    color: var(--text-second);
    border: 1.5px solid var(--border-dark);
}

.bd-pgbtn:hover {
    background: var(--grad-header);
    border-color: transparent;
    color: #ffffff;
    font-weight: 800;
    box-shadow: var(--shadow-purple);
}

.bd-pgcur {
    background: var(--grad-header);
    color: #ffffff;
    border: 1.5px solid transparent;
    cursor: default;
    box-shadow: var(--shadow-purple);
}

/* ===== FOOTER ===== */
.bd-footer {
    padding: 20px 0;
    text-align: center;
    border-top: none;
    margin-top: 14px;
    background: var(--text-main);
}

.bd-footer p {
    margin: 5px 0;
    color: #888;
    font-size: 12px;
}

.bd-footer a { color: #888; text-decoration: none; transition: var(--ease); }
.bd-footer a:hover { color: var(--red); }

/* ===== FRIENDLY LINKS ===== */
.bd-flinks {
    padding: 12px 14px;
    background: var(--surface);
    border-radius: var(--rad-lg);
    border: 1.5px solid var(--border);
    margin-bottom: 7px;
    box-shadow: var(--shadow-xs);
}

.bd-flinks dl { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bd-flinks dd { display: inline-block; margin: 0; }

.bd-flinks a {
    color: var(--text-second);
    text-decoration: none;
    font-size: 13px;
    padding: 3px 10px;
    border: 1.5px solid var(--border-dark);
    border-radius: var(--rad-pill);
    display: inline-block;
    transition: var(--ease);
}

.bd-flinks a:hover {
    background: var(--red-pale);
    border-color: var(--red);
    color: var(--red-dark);
    font-weight: 600;
}

/* ===== VIDEO PLAYER ===== */
.MacPlayer {
    background: #000;
    margin-bottom: 7px;
    overflow: hidden;
    border-radius: var(--rad-lg);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-sm);
}

/* ===== UTILS ===== */
.clearfix::after { content: ''; display: table; clear: both; }
.bd-showpc  { display: block; }
.bd-showmob { display: block; }
img[data-original] { background: var(--border); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .bd-thumbgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

@media (max-width: 768px) {
    .bd-wrap { padding: 0 9px; }
    .bd-header-inner { padding: 9px 0; gap: 10px; }
    .bd-site-name { font-size: 22px; }
    .bd-domain-badge { padding: 4px 12px; gap: 8px; }
    .bd-domain-label { font-size: 9px; }
    .bd-domain-addr { font-size: 15px; }
    .bd-row { padding: 5px 0; }

    /* mobile nav 15/85 */
    .bd-catlabel {
        width: 15%;
        font-size: 10px;
        padding: 7px 2px;
        letter-spacing: 0;
    }
    .bd-catlinks {
        width: 85%;
        gap: 4px;
        padding: 7px 5px;
    }
    .bd-catlinks a {
        font-size: 12px;
        padding: 4px 2px;
        width: calc((100% - 12px) / 4);
        flex-shrink: 0;
        flex-grow: 0;
    }

    .bd-thumbgrid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
    .bd-blktitle { font-size: 15px; }

    .bd-searchbox { padding: 9px 10px; }
    .bd-searchbox form { gap: 6px; }
    .bd-searchbox input[type="text"] { min-width: 90px; padding: 8px 10px; font-size: 13px; }
    .bd-searchbox button { padding: 8px 12px; font-size: 12px; }

    .bd-thumbcap { padding: 5px 0 2px; }
    .bd-thumbcap h5 { font-size: 12px; }

    .bd-btnrow { padding: 11px 8px; gap: 8px; flex-wrap: nowrap; }
    .bd-btn { padding: 9px 16px; font-size: 13px; }

    .bd-sharebox { padding: 10px 11px; gap: 8px; flex-wrap: nowrap; margin: 5px 0; }
    .bd-shareurl-row { padding: 8px 10px; gap: 6px; }
    .share-label { font-size: 10px; }
    .share-url { font-size: 10px; }
    .share-copy-btn { padding: 9px 12px; font-size: 12px; }
    .share-icon { font-size: 13px; }

    .bd-pager { padding: 12px 0; gap: 4px; }
    .bd-pgbtn, .bd-pgcur { padding: 6px 10px; font-size: 12px; min-width: 30px; }

    .bd-tagpool { padding: 9px 10px; gap: 5px; }
    .bd-tagpool a { font-size: 12px; padding: 4px 10px; }

    .bd-dtlbar { font-size: 14px; padding: 12px 14px; }
    .bd-infopanel { font-size: 14px; padding: 13px 14px; }
    .bd-footer { padding: 14px 0; margin-top: 10px; }
}

@media (max-width: 480px) {
    .bd-site-name { font-size: 18px; }
    .bd-domain-addr { font-size: 13px; }

    .bd-catlabel { width: 15%; font-size: 10px; padding: 5px 1px; }
    .bd-catlinks { width: 85%; gap: 3px; padding: 5px 3px; }
    .bd-catlinks a { font-size: 12px; padding: 3px 1px; width: calc((100% - 9px) / 4); }

    .bd-thumbgrid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .bd-thumbcap h5 { font-size: 12px; }
    .bd-blktitle { font-size: 14px; }

    .bd-searchbox input[type="text"] { min-width: 70px; font-size: 12px; }
    .bd-searchbox button { padding: 8px 10px; font-size: 11px; }

    .bd-btnrow { padding: 10px 6px; gap: 6px; }
    .bd-btn { padding: 8px 12px; font-size: 12px; }

    .bd-sharebox { padding: 8px 7px; gap: 5px; }
    .bd-shareurl-row { padding: 7px 8px; gap: 4px; }
    .share-label { font-size: 9px; }
    .share-url { font-size: 9px; }
    .share-copy-btn { padding: 7px 9px; font-size: 11px; }
}

@media (min-width: 769px) { .bd-showmob { display: none !important; } }
@media (max-width: 768px) { .bd-showpc  { display: none !important; } }
