
/* Fairdeal Premium Panel v1.1.0
   Fully scoped to .fdp-panel to avoid theme conflicts.
*/
.fdp-panel,
.fdp-panel * {
    box-sizing: border-box;
}

.fdp-panel {
    --fdp-bg: #06091a;
    --fdp-bg-2: #080d22;
    --fdp-surface: #0d1430;
    --fdp-surface-2: #111a39;
    --fdp-line: rgba(255,255,255,.085);
    --fdp-text: #f7f9ff;
    --fdp-muted: #aab5d3;
    --fdp-cyan: #20d7ff;
    --fdp-blue: #2463ff;
    --fdp-red: #ff334f;
    --fdp-orange: #ff6a2a;
    --fdp-gold: #ffcc4d;
    --fdp-radius: 18px;
    --fdp-shadow: 0 18px 55px rgba(0,0,0,.34);

    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    background:
        radial-gradient(circle at 12% -4%, rgba(36,99,255,.20), transparent 30rem),
        radial-gradient(circle at 95% 10%, rgba(32,215,255,.10), transparent 28rem),
        linear-gradient(180deg, #06091a 0%, #070b1c 55%, #050815 100%);
    color: var(--fdp-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.fdp-panel a { text-decoration: none; }

.fdp-shell {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
}

.fdp-topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(5,8,22,.94);
    border-bottom: 1px solid rgba(32,215,255,.20);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.fdp-topbar-inner {
    min-height: 70px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.fdp-logo {
    display: inline-flex;
    align-items: center;
    min-width: 140px;
    color: #fff;
}

.fdp-logo-img {
    display: block;
    width: auto;
    height: 42px;
    max-width: 180px;
    object-fit: contain;
}

.fdp-wordmark {
    font-size: 26px;
    line-height: 1;
    font-weight: 950;
    font-style: italic;
    letter-spacing: -.8px;
    text-transform: lowercase;
    color: #fff;
}

.fdp-mark {
    color: var(--fdp-gold);
    font-size: 17px;
    vertical-align: 4px;
    margin-right: 2px;
}

.fdp-main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.fdp-main-nav a {
    color: #cdd7f5;
    font-size: 13px;
    font-weight: 760;
    padding: 10px 11px;
    border-radius: 10px;
    transition: .2s ease;
}

.fdp-main-nav a:hover {
    color: #fff;
    background: rgba(255,255,255,.065);
}

.fdp-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.fdp-btn {
    min-height: 41px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 900;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.fdp-btn:hover { transform: translateY(-1px); }

.fdp-btn-ghost {
    color: #fff;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.045);
}

.fdp-btn-soft {
    color: #e9f7ff;
    border: 1px solid rgba(32,215,255,.20);
    background: rgba(32,215,255,.08);
}

.fdp-btn-hot {
    color: #fff;
    background: linear-gradient(135deg, #ff2448, #ff6a2a);
    box-shadow: 0 9px 24px rgba(255,51,79,.23);
}

.fdp-live-strip {
    background: linear-gradient(90deg, #111a3b, #0b1026);
    border-bottom: 1px solid rgba(255,255,255,.065);
}

.fdp-live-strip-inner {
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 18px;
    overflow: hidden;
}

.fdp-live-label {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 950;
    font-size: 11px;
    letter-spacing: .9px;
}

.fdp-live-label i,
.fdp-hero-copy b i {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--fdp-red);
    box-shadow: 0 0 0 0 rgba(255,51,79,.55);
    animation: fdpPulse 1.8s infinite;
}

@keyframes fdpPulse {
    0% { box-shadow: 0 0 0 0 rgba(255,51,79,.55); }
    70% { box-shadow: 0 0 0 8px rgba(255,51,79,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,51,79,0); }
}

.fdp-live-scroll {
    display: flex;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.fdp-live-scroll::-webkit-scrollbar { display:none; }

.fdp-live-scroll a {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    color: #fff;
    background: rgba(255,255,255,.035);
}

.fdp-live-scroll strong {
    font-size: 11px;
    font-weight: 850;
}

.fdp-live-scroll span {
    color: var(--fdp-cyan);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.fdp-main {
    padding-top: 22px;
    padding-bottom: 52px;
}

.fdp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .8fr);
    gap: 14px;
}

.fdp-hero-main,
.fdp-mini-feature {
    position: relative;
    overflow: hidden;
    display: block;
    border: 1px solid rgba(255,255,255,.095);
    border-radius: var(--fdp-radius);
    background: var(--fdp-surface);
    box-shadow: var(--fdp-shadow);
}

.fdp-hero-main { min-height: 430px; }

.fdp-hero-main img,
.fdp-mini-feature img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}

.fdp-hero-main:hover img,
.fdp-mini-feature:hover img {
    transform: scale(1.035);
}

.fdp-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4,7,20,.95) 0%, rgba(4,7,20,.62) 38%, rgba(4,7,20,.08) 78%),
        linear-gradient(0deg, rgba(4,7,20,.45), transparent 50%);
}

.fdp-hero-copy {
    position: absolute;
    left: 32px;
    bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 520px;
}

.fdp-hero-copy b {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.fdp-hero-copy strong {
    color: #fff;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.00;
    font-weight: 950;
    letter-spacing: -1.8px;
    text-shadow: 0 4px 18px rgba(0,0,0,.35);
}

.fdp-hero-sub {
    margin-top: 11px;
    max-width: 470px;
    color: #d4def7;
    font-size: 13px;
    line-height: 1.6;
}

.fdp-hero-copy em {
    margin-top: 18px;
    display: inline-flex;
    padding: 10px 15px;
    border-radius: 10px;
    background: #fff;
    color: #0a0f26;
    font-size: 12px;
    font-weight: 950;
    font-style: normal;
}

.fdp-hero-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
}

.fdp-mini-feature { min-height: 208px; }

.fdp-mini-feature:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(4,6,17,.88));
}

.fdp-mini-feature > span {
    position: absolute;
    z-index: 2;
    left: 20px;
    right: 20px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
}

.fdp-mini-feature b {
    color: var(--fdp-cyan);
    font-size: 9px;
    letter-spacing: 1px;
    font-weight: 950;
}

.fdp-mini-feature strong {
    color: #fff;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 950;
}

.fdp-mini-feature small {
    margin-top: 5px;
    color: #d8e0f8;
    font-size: 10px;
    font-weight: 800;
}

.fdp-trust-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 10px;
    margin-top: 14px;
}

.fdp-trust-row > div {
    min-width: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
    min-height: 68px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 13px;
    background: rgba(255,255,255,.035);
}

.fdp-trust-row span {
    grid-row: 1 / 3;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 950;
    background: rgba(32,215,255,.10);
    border: 1px solid rgba(32,215,255,.13);
}

.fdp-trust-row b {
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.fdp-trust-row small {
    color: #8f9bbc;
    font-size: 9px;
}

.fdp-category-tabs {
    position: sticky;
    top: 70px;
    z-index: 40;
    display: flex;
    gap: 8px;
    margin: 14px 0 8px;
    padding: 9px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 15px;
    background: rgba(9,14,34,.92);
    backdrop-filter: blur(14px);
}

.fdp-category-tabs::-webkit-scrollbar { display:none; }

.fdp-category-tabs a {
    flex: 0 0 auto;
    padding: 9px 13px;
    border-radius: 10px;
    color: #dce5ff;
    font-size: 11px;
    font-weight: 850;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.045);
}

.fdp-category-tabs a:hover {
    color: #fff;
    border-color: rgba(32,215,255,.30);
    background: rgba(32,215,255,.075);
}

.fdp-section {
    padding: 28px 0 8px;
    scroll-margin-top: 140px;
    content-visibility: auto;
    contain-intrinsic-size: 820px;
}

.fdp-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
}

.fdp-kicker {
    display: block;
    color: var(--fdp-cyan);
    font-size: 9px;
    letter-spacing: 1.35px;
    font-weight: 950;
}

.fdp-section-head h2,
.fdp-info-card h2,
.fdp-cta-band h2 {
    margin: 3px 0 0;
    color: #fff;
    font-size: 28px;
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -.6px;
}

.fdp-section-head p {
    max-width: 640px;
    margin: 7px 0 0;
    color: #8e9abb;
    font-size: 11px;
    line-height: 1.55;
}

.fdp-section-head > a {
    flex: 0 0 auto;
    color: #c9d3f3;
    font-size: 11px;
    font-weight: 850;
}

.fdp-section-head > a span { color: var(--fdp-cyan); }

.fdp-grid {
    display: grid;
    gap: 12px;
}

.fdp-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.fdp-card {
    min-width: 0;
    overflow: hidden;
    display: block;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,.085);
    background: linear-gradient(180deg, #111936, #0a1027);
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.fdp-card:hover {
    transform: translateY(-3px);
    border-color: rgba(32,215,255,.34);
    box-shadow: 0 18px 38px rgba(0,0,0,.28);
}

.fdp-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #10152b;
}

.fdp-card-media:after {
    content: "";
    position: absolute;
    inset: 50% 0 0;
    background: linear-gradient(180deg, transparent, rgba(2,4,12,.62));
    pointer-events: none;
}

.fdp-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease, filter .35s ease;
}

.fdp-card:hover .fdp-card-media img {
    transform: scale(1.04);
    filter: saturate(1.07) contrast(1.03);
}

.fdp-badge {
    position: absolute;
    z-index: 3;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 7px;
    color: #fff;
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .75px;
    background: var(--fdp-red);
    box-shadow: 0 5px 15px rgba(255,51,79,.28);
}

.fdp-card-play {
    position: absolute;
    z-index: 3;
    right: 10px;
    bottom: 10px;
    transform: translateY(6px);
    opacity: 0;
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 9px;
    color: #06101c;
    background: #fff;
    font-size: 9px;
    font-weight: 950;
    transition: .22s ease;
}

.fdp-card:hover .fdp-card-play {
    transform: translateY(0);
    opacity: 1;
}

.fdp-card-bottom {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 850;
}

.fdp-arrow {
    color: var(--fdp-cyan);
    font-size: 21px;
    line-height: 1;
}

.fdp-cta-band {
    margin-top: 34px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 25px;
    border: 1px solid rgba(32,215,255,.14);
    border-radius: 18px;
    background:
        radial-gradient(circle at 5% 30%, rgba(36,99,255,.19), transparent 24rem),
        linear-gradient(135deg, #0c1432, #0a1027);
    box-shadow: 0 18px 48px rgba(0,0,0,.23);
}

.fdp-cta-band p {
    margin: 9px 0 0;
    color: #9aa6c6;
    font-size: 11px;
}

.fdp-cta-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.fdp-info-grid {
    display: grid;
    grid-template-columns: 1.18fr 1fr 1fr;
    gap: 12px;
    padding-top: 34px;
    scroll-margin-top: 140px;
    content-visibility: auto;
    contain-intrinsic-size: 360px;
}

.fdp-info-card {
    min-height: 235px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.085);
    background:
        linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.014)),
        #0c122c;
    box-shadow: 0 14px 38px rgba(0,0,0,.21);
}

.fdp-about {
    background:
        radial-gradient(circle at 0 0, rgba(36,99,255,.18), transparent 45%),
        linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.012)),
        #0c122c;
}

.fdp-info-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    background: linear-gradient(145deg, rgba(32,215,255,.21), rgba(36,99,255,.15));
    border: 1px solid rgba(32,215,255,.20);
}

.fdp-info-card p {
    margin: 12px 0 0;
    color: var(--fdp-muted);
    font-size: 12px;
    line-height: 1.65;
}

.fdp-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px;
}

.fdp-inline-actions a,
.fdp-text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 37px;
    padding: 0 12px;
    border-radius: 9px;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    background: rgba(255,255,255,.065);
    border: 1px solid rgba(255,255,255,.075);
}

.fdp-text-link {
    margin-top: 16px;
    background: rgba(32,215,255,.085);
    border-color: rgba(32,215,255,.17);
    color: #dffbff;
}

.fdp-payment-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.fdp-payment-chips span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 9px;
    color: #eaf0ff;
    font-size: 10px;
    font-weight: 850;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.07);
}

.fdp-footer {
    border-top: 1px solid rgba(255,255,255,.075);
    background: #040713;
}

.fdp-footer-inner {
    display: grid;
    grid-template-columns: 1.55fr repeat(3, minmax(130px,.7fr));
    gap: 28px;
    padding-top: 34px;
    padding-bottom: 26px;
}

.fdp-footer-brand p {
    max-width: 430px;
    margin: 14px 0 0;
    color: #7f8bad;
    font-size: 10px;
    line-height: 1.65;
}

.fdp-footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.fdp-footer-col strong {
    margin-bottom: 2px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.fdp-footer-col a {
    color: #9da9c9;
    font-size: 10px;
    font-weight: 720;
}

.fdp-footer-col a:hover { color: #fff; }

.fdp-footer-note {
    grid-column: 1 / -1;
    margin: 4px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.065);
    color: #6f7b9b;
    font-size: 9px;
    text-align: center;
}

@media (max-width: 1040px) {
    .fdp-main-nav { display: none; }

    .fdp-topbar-inner {
        grid-template-columns: auto 1fr;
    }

    .fdp-actions { justify-self: end; }

    .fdp-hero { grid-template-columns: 1fr; }

    .fdp-hero-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .fdp-mini-feature { min-height: 220px; }

    .fdp-grid-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fdp-info-grid { grid-template-columns: 1fr 1fr; }

    .fdp-about { grid-column: 1 / -1; }

    .fdp-footer-inner {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .fdp-footer-col:last-of-type {
        grid-column: 2 / 4;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .fdp-footer-col:last-of-type strong {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .fdp-shell {
        width: min(100% - 20px, 1320px);
    }

    .fdp-topbar-inner {
        min-height: 61px;
        gap: 10px;
    }

    .fdp-logo { min-width: 0; }

    .fdp-logo-img {
        max-width: 130px;
        height: 34px;
    }

    .fdp-wordmark { font-size: 22px; }

    .fdp-actions { gap: 6px; }

    .fdp-btn {
        min-height: 36px;
        padding: 0 11px;
        font-size: 11px;
    }

    .fdp-live-strip-inner {
        min-height: 46px;
        gap: 10px;
    }

    .fdp-live-label { font-size: 9px; }

    .fdp-main { padding-top: 12px; }

    .fdp-hero-main { min-height: 335px; }

    .fdp-hero-copy {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .fdp-hero-copy strong {
        font-size: clamp(30px, 10vw, 43px);
        letter-spacing: -1px;
    }

    .fdp-hero-sub { font-size: 11px; }

    .fdp-hero-side { gap: 10px; }

    .fdp-mini-feature { min-height: 150px; }

    .fdp-mini-feature > span {
        left: 14px;
        bottom: 13px;
    }

    .fdp-mini-feature strong { font-size: 16px; }

    .fdp-trust-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .fdp-category-tabs {
        top: 61px;
        margin-top: 10px;
    }

    .fdp-section {
        padding-top: 22px;
        scroll-margin-top: 127px;
    }

    .fdp-section-head {
        align-items: flex-start;
    }

    .fdp-section-head h2,
    .fdp-info-card h2,
    .fdp-cta-band h2 {
        font-size: 23px;
    }

    .fdp-section-head p {
        max-width: 430px;
        font-size: 10px;
    }

    .fdp-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .fdp-card { border-radius: 12px; }

    .fdp-card-media { aspect-ratio: 1 / .78; }

    .fdp-card-bottom {
        min-height: 44px;
        padding: 9px 10px;
        font-size: 10px;
    }

    .fdp-card-play {
        opacity: 1;
        transform: none;
        right: 8px;
        bottom: 8px;
        padding: 6px 8px;
        font-size: 8px;
    }

    .fdp-badge {
        top: 8px;
        left: 8px;
    }

    .fdp-cta-band {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 17px;
    }

    .fdp-cta-actions { justify-content: flex-start; }

    .fdp-info-grid {
        grid-template-columns: 1fr;
        padding-top: 26px;
    }

    .fdp-about { grid-column: auto; }

    .fdp-info-card {
        min-height: 0;
        padding: 20px;
    }

    .fdp-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 24px 18px;
    }

    .fdp-footer-brand {
        grid-column: 1 / -1;
    }

    .fdp-footer-col:last-of-type {
        grid-column: 1 / -1;
    }
}

@media (max-width: 430px) {
    .fdp-shell { width: min(100% - 14px, 1320px); }

    .fdp-btn-ghost { display: none; }

    .fdp-hero-main { min-height: 290px; }

    .fdp-hero-side { grid-template-columns: 1fr 1fr; }

    .fdp-mini-feature { min-height: 132px; }

    .fdp-trust-row > div {
        min-height: 62px;
        padding: 10px;
    }

    .fdp-grid-4 { gap: 7px; }

    .fdp-card-bottom span:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .fdp-section-head > a {
        display: none;
    }

    .fdp-footer-inner {
        grid-template-columns: 1fr;
    }

    .fdp-footer-brand,
    .fdp-footer-col:last-of-type {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fdp-panel *,
    .fdp-panel *::before,
    .fdp-panel *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
