.home .wp-site-blocks { padding: 0; }
body.home .wp-site-blocks > .wp-block-post-content,
body.home .wp-block-post-content > .biptv-header,
body.home .wp-block-post-content > #biptv-main,
body.home #biptv-main > section,
body.home .wp-block-post-content > .biptv-footer { margin-block: 0; }
html { scroll-padding-top: 112px; }

.biptv-wrap { width: min(calc(100% - 48px), 1200px); margin-inline: auto; }
.biptv-section { padding-block: clamp(48px, 7vw, 96px); }
.biptv-section h2 { margin: 0 0 16px; }
.biptv-section p { margin-block: 0 24px; }
.biptv-intro { max-width: 57ch; }

.biptv-skip {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100;
    padding: 12px;
    background: #fff;
    color: #0f172a;
    transform: translateY(-150%);
}
.biptv-skip:focus { transform: none; }
.biptv-header {
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0px);
    z-index: 10;
    background: #081225;
    color: #fff;
    border-bottom: 1px solid #243650;
}
.biptv-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.biptv-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 800 1.05rem var(--wp--preset--font-family--sora); text-decoration: none; }
.biptv-brand__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #4f46e5; color: #fff; }
.biptv-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.biptv-nav a { color: #e2e8f0; font-size: .9375rem; font-weight: 600; text-decoration: none; }
.biptv-brand:hover, .biptv-nav a:hover { color: #a5f3fc; }
.biptv-home-cta { display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; border: 1px solid transparent; border-radius: 10px; background: #4f46e5; color: #fff; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; }
.biptv-home-cta:hover, .biptv-home-cta:focus-visible { background: #4338ca; color: #fff; }
.biptv-home-cta--secondary { border-color: #a3b5cc; background: #081225; }

.biptv-hero {
    --biptv-showcase-surface: #fff;
    --biptv-showcase-ink: #0b1021;
    --biptv-showcase-text: #475569;
    --biptv-showcase-accent: #4f46e5;
}
html[data-biptv-mode="dark"] .biptv-hero {
    --biptv-showcase-surface: #172339;
    --biptv-showcase-ink: #f8fafc;
    --biptv-showcase-text: #e2e8f0;
    --biptv-showcase-accent: #c7d2fe;
}
.biptv-hero {
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    display: grid;
    align-items: center;
    min-height: 430px;
    overflow: hidden;
    padding: clamp(32px, 3.2vw, 48px) max(24px, calc((100% - 1200px) / 2)) 62px;
    background: transparent;
    color: var(--biptv-showcase-text);
}
.iptvhero2__bg {
    position: absolute;
    z-index: 1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    mask-image: linear-gradient(#000 74%, transparent);
}
.hero-img-slide {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.hero-img-slide img {
    display: block;
    width: 62%;
    height: 100%;
    margin-inline-start: auto;
    object-fit: cover;
    object-position: center 42%;
}
.hero-img-slide.is-on { z-index: 2; opacity: 1; }
.hero-img-slide.is-leaving { z-index: 1; transition: opacity 0s 1.5s; }
.hero-img-slide:is(.is-on, .is-leaving) img {
    animation: biptv-hero-ken-burns 8s ease-out forwards paused;
}
.biptv-hero[data-hero-slider-playing] .hero-img-slide img { animation-play-state: running; }
@keyframes biptv-hero-ken-burns {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}
.iptvhero2__shade {
    position: absolute;
    z-index: 3;
    inset: 0;
    background: linear-gradient(90deg, var(--biptv-showcase-surface) 41%, color-mix(in srgb, var(--biptv-showcase-surface) 78%, transparent) 52%, transparent 75%, transparent 95%, var(--biptv-showcase-surface));
}
.iptvhero2__pause {
    position: absolute;
    z-index: 3;
    inset-block-start: 16px;
    inset-inline-end: 5%;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #ffffffa3;
    border-radius: 50%;
    background: #0b1021b3;
    backdrop-filter: blur(4px);
    color: #fff;
    cursor: pointer;
}
.iptvhero2__pause[hidden],
.iptvhero2__pause[aria-label="Pause slideshow"] [data-play-icon],
.iptvhero2__pause[aria-label="Play slideshow"] [data-pause-icon] { display: none; }
.iptvhero2__pause:hover { background: #142b59; }
@media (prefers-reduced-motion: reduce) {
    .hero-img-slide { transition: none; }
    .hero-img-slide:is(.is-on, .is-leaving) img { animation: none; }
    .iptvhero2__pause { display: none; }
}
.biptv-hero__inner { position: relative; z-index: 2; width: min(100%, 54vw, 590px); margin: 0; }
.biptv-hero h1 {
    margin: 0 0 10px;
    color: var(--biptv-showcase-ink);
    font-family: var(--wp--preset--font-family--sora);
    font-size: clamp(2.75rem, 4.2vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.05;
}
.biptv-hero h1 span { display: block; }
.biptv-hero p {
    max-width: 500px;
    margin: 0 0 12px;
    color: var(--biptv-showcase-text);
    font: 400 clamp(.9375rem, 1.1vw, 1rem)/1.55 var(--wp--preset--font-family--inter);
}
.biptv-hero .biptv-hero__subtitle {
    width: fit-content;
    max-width: 100%;
    margin: 0 0 16px;
    color: var(--biptv-showcase-accent);
    font: 800 clamp(1.375rem, 2.25vw, 1.875rem)/1.18 var(--wp--preset--font-family--sora);
    letter-spacing: -.02em;
}
@supports (background-clip: text) {
    .biptv-hero .biptv-hero__subtitle {
        background-image: linear-gradient(90deg, #d97000 0%, #ff007f 50%, #4f46e5 100%);
        background-clip: text;
        color: transparent;
    }
    html[data-biptv-mode="dark"] .biptv-hero .biptv-hero__subtitle {
        background-image: linear-gradient(90deg, #ffae5a 0%, #ff76b9 50%, #b9b5ff 100%);
    }
}
@media (forced-colors: active) {
    .biptv-hero .biptv-hero__subtitle { background: none; color: CanvasText; }
}
.biptv-hero :focus-visible { outline: 2px solid var(--biptv-showcase-accent); outline-offset: 4px; }
.biptv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.biptv-hero .biptv-actions { gap: 10px; margin-top: 22px; }
.biptv-hero .biptv-hero__plans,
.biptv-hero__trial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    gap: 8px;
    min-height: 46px;
    padding: 10px 18px;
    border: 2px solid var(--biptv-showcase-ink);
    border-radius: 12px;
    font: 600 1rem/1.25 var(--wp--preset--font-family--inter);
    transition: background-color .2s, color .2s;
}
.biptv-hero .biptv-hero__plans { border-color: #142b59; background: #142b59; color: #fff; }
.biptv-hero .biptv-hero__plans:hover { border-color: #234275; background: #234275; }
html[data-biptv-mode="dark"] .biptv-hero .biptv-hero__plans { border-color: #a5b4fc; }
.biptv-hero__trial { background: var(--biptv-showcase-surface); color: var(--biptv-showcase-ink); cursor: not-allowed; }
.biptv-hero .biptv-hero__trial-note { margin: 8px 0 0; font-size: .8125rem; }
.biptv-hero__benefits { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.biptv-hero__benefits li { display: inline-flex; align-items: center; gap: 6px; color: var(--biptv-showcase-ink); font-size: .8125rem; font-weight: 500; }
.biptv-hero__benefits svg { width: 16px; height: 16px; flex: none; color: var(--biptv-showcase-accent); stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

body.home #biptv-main { isolation: isolate; }
body.home #biptv-main > .category-section {
    position: relative;
    z-index: 10;
    margin-top: -30px;
    padding-bottom: 36px;
    background: transparent;
}
.category-section .grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 14px;
}
.neon-card {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    box-sizing: border-box;
    height: 184px;
    overflow: hidden;
    padding: 16px;
    border: 1px solid rgb(var(--neon-colour));
    border-radius: 16px;
    background: #0b1021;
    box-shadow: 0 0 25px rgba(var(--neon-colour), .5);
}
.neon-card--orange { --neon-colour: 249, 115, 22; }
.neon-card--red { --neon-colour: 239, 68, 68; }
.neon-card--pink { --neon-colour: 236, 72, 153; }
.neon-card--purple { --neon-colour: 168, 85, 247; }
.neon-card img, .neon-card::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.neon-card img { z-index: -2; display: block; object-fit: cover; }
.neon-card--orange img { object-position: 58% center; }
.neon-card--red img { object-position: 62% center; filter: brightness(1.28); }
.neon-card--pink img { object-position: 36% center; }
.neon-card::before {
    z-index: -1;
    background: linear-gradient(0deg, rgba(8, 13, 28, .97), rgba(8, 13, 28, .72) 32%, rgba(8, 13, 28, .13) 62%, transparent 85%);
    content: "";
}
.neon-card h3 { margin: 6px 0 3px; color: #fff; font-size: 18px; font-weight: 700; line-height: 1.2; }
.neon-card p { margin: 0; color: #cbd5e1; font-size: 12px; line-height: 1.45; }
.neon-card svg { display: block; width: 24px; height: 24px; color: rgb(var(--neon-colour)); }

@media (max-width: 960px) {
    .category-section .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
    .biptv-hero:has(+ .category-section) { padding-bottom: 44px; }
}
@media (max-width: 768px) {
    .category-section .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .neon-card { height: 160px; padding: 0; border-width: 1.5px; }
    .neon-card__content { box-sizing: border-box; width: 100%; min-width: 0; padding: 12px; }
    .neon-card h3 { margin: 6px 0 2px; font-size: 15px; letter-spacing: -.02em; white-space: nowrap; }
    .neon-card p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
        font-size: 11px;
        line-height: 1.3;
    }
    .neon-card svg { width: 20px; height: 20px; }
    .neon-card--orange img {
        height: calc(100% - 24px);
        mask-image: linear-gradient(#000 84%, transparent);
    }
}
@media (max-width: 360px) {
    .category-section .grid { width: calc(100% - 24px); }
    .neon-card h3 { letter-spacing: -.035em; }
}

.biptv-stats { background: #0c1a31; color: #e2e8f0; border-block: 1px solid #243650; }
.biptv-stats ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 20px 0; margin-block: 0; text-align: center; font-weight: 600; }

.pricing-header {
    max-width: 54rem;
    margin: 0 auto 48px;
    text-align: center;
}
.pricing-header h2 {
    margin: 0 0 16px;
    color: #0b1021;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    text-wrap: balance;
}
.pricing-header p { margin: 0; color: #64748b; font-size: 1.125rem; }
:is(.pricing-header, .iptvsim__intro, .seo-text-wrap, .apps-text) .gradient-text { color: #4f46e5; }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
    :is(.pricing-header, .iptvsim__intro, .seo-text-wrap, .apps-text) .gradient-text {
        background: linear-gradient(90deg, #ff8a00 0%, #ff007f 50%, #4f46e5 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
    html[data-biptv-mode="dark"] :is(.pricing-header, .iptvsim__intro, .seo-text-wrap, .apps-text) .gradient-text {
        background-image: linear-gradient(90deg, #ffae5a 0%, #ff76b9 50%, #b9b5ff 100%);
    }
}
html[data-biptv-mode="dark"] .pricing-header p { color: #cbd5e1; }
@media (forced-colors: active), (prefers-contrast: more) {
    :is(.pricing-header, .iptvsim__intro, .seo-text-wrap, .apps-text) .gradient-text { background: none; color: inherit; }
}


.annual-pricing__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.annual-pricing .new-price-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}
.annual-pricing .border-max { border: 2px solid #f97316; }
.annual-pricing .card-image-wrap { position: relative; height: 160px; flex: none; }
.annual-pricing .card-image-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.annual-pricing .card-image-wrap::after {
    position: absolute;
    inset: auto 0 0;
    height: 46px;
    background: linear-gradient(transparent, #fff);
    content: "";
    pointer-events: none;
}
.annual-pricing .card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
    text-align: left;
}
.annual-pricing .card-body h3 {
    margin: 0 0 12px;
    color: #0b1021;
    font: 700 24px/1.2 var(--wp--preset--font-family--sora);
}
.annual-pricing .price-pill {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin-bottom: 12px;
    padding: 8px 16px;
    border-radius: 8px;
    background: #f8fafc;
    color: #4f46e5;
    font-weight: 700;
    font-size: 20px;
}
.annual-pricing .plan-term { color: #64748b; font-size: 14px; font-weight: 500; white-space: nowrap; }
.annual-pricing .highlight-pill { background: #fff7ed; }
.annual-pricing .badge-free {
    padding: 2px 8px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.annual-pricing .step-text { margin: 0 0 24px; color: #64748b; font-size: 14px; }
.annual-pricing .feature-list { flex: 1; margin: 0 0 32px; padding: 0; list-style: none; }
.annual-pricing .feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #0f172a;
    font-size: 14px;
}
.annual-pricing .feature-list svg { color: #4f46e5; flex: none; }
.annual-pricing .feature-list :is(.feature-player, .feature-activation) { color: #6d28d9; font-weight: 700; }
.annual-pricing .feature-list .feature-trial { color: #be185d; font-weight: 700; }
.annual-pricing .feature-trial svg { color: inherit; }
.annual-pricing .btn-choose {
    display: block;
    margin-top: auto;
    padding: 14px;
    border: 2px solid #4f46e5;
    border-radius: 12px;
    color: #4f46e5;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}
.annual-pricing .btn-choose:hover { background: #eef2ff; }
.annual-pricing .btn-choose:focus-visible { outline: 2px solid #312e81; outline-offset: 3px; }
.annual-pricing .btn-gradient {
    border-color: transparent;
    background: linear-gradient(90deg, #ff8a00, #ff007f 50%, #4f46e5);
    color: #fff;
    text-shadow: 0 1px 3px #421438;
}
.annual-pricing .btn-gradient:hover { background: #4338ca; color: #fff; }
.annual-pricing .plan-badge {
    position: absolute;
    z-index: 1;
    right: 12px;
    bottom: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff8a00, #ff007f);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-shadow: 0 1px 3px #73211e;
}
@media (max-width: 1023px) {
    .annual-pricing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
    .annual-pricing__grid { grid-template-columns: minmax(0, 1fr); }
}


.annual-pricing:has(+ .device-section) { padding-bottom: 0; }

.iptvsim {
    --sim-ink: #0b1021;
    --sim-muted: #475569;
    --sim-surface: #fff;
    --sim-panel: #f7f8ff;
    --sim-border: #dbe0f4;
    --sim-accent: #4338ca;
    --sim-selected: #eeedff;
    --sim-saving-bg: #dcfce7;
    --sim-saving-text: #166534;
}
html[data-biptv-mode="dark"] .iptvsim {
    --sim-ink: #f8fafc;
    --sim-muted: #cbd5e1;
    --sim-surface: #172339;
    --sim-panel: #1e293b;
    --sim-border: #475569;
    --sim-accent: #c4b5fd;
    --sim-selected: #2c3057;
    --sim-saving-bg: #12442a;
    --sim-saving-text: #bbf7d0;
}
.iptvsim [hidden] { display: none; }
.iptvsim__layout {
    display: grid;
    align-items: center;
    gap: clamp(28px, 4vw, 56px);
}
.iptvsim__intro .iptvsim__label {
    width: fit-content;
    margin: 0 0 14px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--sim-selected);
    color: var(--sim-accent);
    font-size: .8125rem;
    font-weight: 700;
}
.iptvsim__intro h2 {
    margin: 0 0 16px;
    color: var(--sim-ink);
    font: 800 clamp(1.875rem, 4vw, 2.875rem)/1.12 var(--wp--preset--font-family--sora);
    letter-spacing: -.025em;
}
.iptvsim__intro p { max-width: 48ch; color: var(--sim-muted); line-height: 1.6; }
.iptvsim__benefits {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--sim-ink);
    font-size: .9375rem;
}
.iptvsim__benefits li { display: flex; align-items: center; gap: 12px; }
.iptvsim__benefits li > span {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    height: 36px;
    border: 1px solid var(--sim-border);
    border-radius: 10px;
    background: var(--sim-surface);
    color: var(--sim-accent);
}
.iptvsim__panel {
    min-width: 0;
    padding: clamp(14px, 2.5vw, 28px);
    border: 1px solid var(--sim-border);
    border-radius: 22px;
    background: linear-gradient(145deg, var(--sim-panel), var(--sim-surface));
    box-shadow: 0 18px 38px -18px rgba(30, 27, 75, .22);
    color: var(--sim-ink);
}
.iptvsim__steps { display: grid; gap: 22px; margin-bottom: 20px; }
.iptvsim__steps fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.iptvsim__steps legend { margin: 0 0 10px; padding: 0; font-size: .9375rem; font-weight: 800; }
.iptvsim__steps legend span {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-inline-end: 5px;
    border-radius: 8px;
    background: #3730a3;
    color: #fff;
    font-size: 13px;
}
.sim-options { display: grid; gap: 8px; }
.sim-options--plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sim-options--duration { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sim-options--devices { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sim-options label { position: relative; min-width: 0; }
.sim-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sim-opt {
    position: relative;
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 100%;
    min-height: 70px;
    padding: 12px 4px 8px;
    border: 1px solid var(--sim-border);
    border-radius: 12px;
    background: var(--sim-surface);
    color: var(--sim-ink);
    cursor: pointer;
    text-align: center;
}
.sim-options--plans .sim-opt { align-items: start; min-height: 88px; padding-inline: 10px; text-align: left; }
.sim-opt svg { flex: none; color: var(--sim-accent); }
.sim-opt strong { font-size: .8125rem; line-height: 1.25; }
.sim-opt small { color: var(--sim-muted); font-size: .6875rem; line-height: 1.25; }
.sim-options input:checked + .sim-opt {
    border-color: var(--sim-accent);
    background: var(--sim-selected);
    box-shadow: inset 0 0 0 1px var(--sim-accent);
}
.sim-options input:focus-visible + .sim-opt { outline: 2px solid var(--sim-accent); outline-offset: 3px; }
.sim-opt__badge {
    position: absolute;
    top: -7px;
    right: 4px;
    padding: 2px 5px;
    border-radius: 999px;
    background: var(--sim-saving-bg);
    color: var(--sim-saving-text);
    font-size: .625rem;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
}
.sim-opt__badge--plan { background: #4338ca; color: #fff; }
.iptvsim__summary {
    padding: clamp(12px, 2vw, 18px);
    border: 1px solid var(--sim-border);
    border-radius: 14px;
    background: var(--sim-surface);
}
.iptvsim__amounts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px 16px;
}
.iptvsim__caption { display: block; color: var(--sim-muted); font-size: .75rem; }
.iptvsim__amounts [data-sim-selection] { display: block; margin-top: 2px; font-size: .9375rem; }
.iptvsim__estimate { text-align: right; }
#sim-total {
    display: block;
    color: var(--sim-accent);
    font: 800 clamp(1.25rem, 3.5vw, 1.75rem)/1.2 var(--wp--preset--font-family--sora);
}
#sim-saving { color: var(--sim-saving-text); font-size: .75rem; }
.iptvsim__checkout { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--sim-border); }
.iptvsim__checkout p { margin: 0 0 12px; color: var(--sim-muted); font-size: .8125rem; line-height: 1.45; }
.iptvsim__checkout a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 8px 12px;
    border-radius: 10px;
    background: linear-gradient(110deg, #142b59, #4338ca);
    color: #fff;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.iptvsim__checkout a:hover { background: #3730a3; color: #fff; }
.iptvsim__checkout a:focus-visible { outline: 2px solid var(--sim-accent); outline-offset: 3px; }
.iptvsim__panel .iptvsim__fallback-label { margin: 16px 0 8px; font-size: .875rem; }
.iptvsim__fallback { display: grid; gap: 6px; margin: 0; padding-inline-start: 20px; }
.iptvsim__fallback a { color: var(--sim-accent); }

@media (min-width: 1024px) {
    .iptvsim__layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); }
}
@media (min-width: 1160px) {
    .sim-options--plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
    .sim-options { gap: 6px; }
    .sim-options--devices .sim-opt strong { font-size: .75rem; }
    .iptvsim__amounts { grid-template-columns: minmax(0, 1fr); }
    .iptvsim__estimate { text-align: left; }
}

.apps-showcase-section + .iptvsim { padding-top: clamp(36px, 5vw, 64px); }
.device-section {
    position: relative;
    z-index: 10;
    padding-block: 48px;
    background: transparent;
}
.device-section .biptv-wrap { max-width: 1152px; }
.device-section .device-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}
.device-section .device-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .02);
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.device-section .device-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .05);
}
.device-card--tv { --device-icon: #2563eb; }
.device-card--phone { --device-icon: #16a34a; }
.device-card--computer { --device-icon: #9333ea; }
.device-card--firestick { --device-icon: #f97316; }
.device-card--box { --device-icon: #db2777; }
.device-card--tablet { --device-icon: #0d9488; }
.device-section .device-card svg { flex: none; margin-bottom: 12px; color: var(--device-icon); }
.device-section .device-card h3 {
    margin: 0 0 4px;
    color: #0f172a;
    font: 700 15px/1.25 var(--wp--preset--font-family--sora);
}
.device-section .device-card p { margin: 0; color: #64748b; font-size: 12px; }
.device-section .trust-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 32px;
    margin: 0;
    padding: 14px 24px;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    background: rgba(240, 253, 244, .6);
    color: #0f172a;
    list-style: none;
}
.device-section .trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.device-section .trust-item svg { flex: none; color: #16a34a; }
html[data-biptv-mode="dark"] .device-section .device-card { border-color: #475569; background: #1e293b; }
html[data-biptv-mode="dark"] .device-section .device-card h3 { color: #f8fafc; }
html[data-biptv-mode="dark"] .device-section .device-card p { color: #cbd5e1; }
html[data-biptv-mode="dark"] .device-section .trust-bar { border-color: #286143; background: rgba(20, 83, 45, .45); color: #e2e8f0; }
html[data-biptv-mode="dark"] .device-section .trust-item svg { color: #4ade80; }
@media (min-width: 768px) {
    .device-section .device-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .device-section .device-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .device-section .device-card { transition: none; }
    .device-section .device-card:hover { transform: none; }
}

html:not([data-biptv-mode="dark"]) #plans .biptv-price-card {
    border-color: rgba(226, 232, 240, .8);
    background: #fff;
    color: #475569;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, .08);
}
html:not([data-biptv-mode="dark"]) #plans .biptv-price-card--popular { border-color: #22c55e; }
html:not([data-biptv-mode="dark"]) #plans :is(.biptv-price-card h3, .biptv-price-card__price) { color: #0b1021; }
html:not([data-biptv-mode="dark"]) #plans .biptv-price-card__features svg { color: #15803d; }
html:not([data-biptv-mode="dark"]) #plans .biptv-price-card:not(.biptv-price-card--popular) .biptv-price-card__link:not(:hover, :focus-visible) {
    color: #142b59;
}
html:not([data-biptv-mode="dark"]) #plans .biptv-price-card__link:focus-visible { outline-color: #4338ca; }

.biptv-section .biptv-price-card p { margin-block: 8px 0; }
.biptv-section .biptv-price-card .biptv-price-card__price { margin-top: 16px; }
.device-section:has(+ .seo-premium-section) { padding-bottom: 0; }
.seo-premium-section {
    position: relative;
    z-index: 10;
    padding-block: clamp(48px, 5.6vw, 80px);
}
.seo-premium-grid {
    display: grid;
    align-items: center;
    gap: clamp(28px, 4vw, 48px);
    max-width: 1152px;
}
@media (min-width: 1024px) {
    .seo-premium-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.seo-text-wrap h2 {
    margin: 0 0 24px;
    color: #0b1021;
    font: 800 clamp(1.875rem, 3.5vw, 2.25rem)/1.2 var(--wp--preset--font-family--sora);
    text-wrap: balance;
}
.seo-text-wrap p {
    margin: 0 0 16px;
    color: #475569;
    font: 400 16px/1.65 var(--wp--preset--font-family--inter);
}
.seo-text-wrap strong { color: #0f172a; font-weight: 600; }
.seo-text-wrap .seo-card-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.seo-text-wrap .seo-card-links a {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    background: rgba(255, 255, 255, .7);
    color: #4338ca;
    font: 600 14px/1.35 var(--wp--preset--font-family--inter);
    text-decoration: none;
}
.seo-text-wrap .seo-card-links a:hover { background: #eef2ff; color: #312e81; }
.seo-text-wrap .seo-card-links a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.seo-text-wrap .seo-card-links svg { flex: none; }
.quick-facts-card {
    position: relative;
    overflow: hidden;
    padding: clamp(20px, 4vw, 32px);
    border: 1px solid rgba(226, 232, 240, .8);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, .08);
    color: #334155;
}
.quick-facts-card::before {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(79, 70, 229, .1);
    filter: blur(40px);
    content: "";
    pointer-events: none;
}
.quick-facts-card > * { position: relative; z-index: 1; }
.quick-facts-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}
.quick-facts-heading h3 {
    margin: 0;
    color: #0b1021;
    font: 700 20px/1.2 var(--wp--preset--font-family--sora);
}
.quick-facts-icon {
    display: grid;
    place-items: center;
    flex: none;
    padding: 8px;
    border-radius: 8px;
    background: #eef2ff;
    color: #4f46e5;
}
.quick-facts-list { margin: 0; }
.quick-facts-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 0;
    border-bottom: 1px solid #f1f5f9;
}
.quick-facts-row:last-child { padding-bottom: 0; border-bottom: 0; }
.quick-facts-row dt { font-weight: 500; }
.quick-facts-value {
    flex: none;
    margin: 0;
    padding: 4px 12px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 14px;
    font-weight: 700;
}
.quick-facts-value--positive { background: #dcfce7; color: #166534; }

html[data-biptv-mode="dark"] .seo-text-wrap :is(h2, strong),
html[data-biptv-mode="dark"] .quick-facts-heading h3 { color: #f8fafc; }
html[data-biptv-mode="dark"] .seo-text-wrap p { color: #cbd5e1; }
html[data-biptv-mode="dark"] .seo-card-links a { border-color: #4f46e5; background: #1e293b; color: #c7d2fe; }
html[data-biptv-mode="dark"] .seo-card-links a:hover { background: #27345c; color: #fff; }
html[data-biptv-mode="dark"] .quick-facts-card { border-color: #475569; background: #1e293b; color: #e2e8f0; }
html[data-biptv-mode="dark"] :is(.quick-facts-heading, .quick-facts-row) { border-color: #334155; }

.seo-premium-section:has(+ .apps-showcase-section),
.apps-showcase-section:has(+ .iptvsim) { padding-bottom: 0; }
.apps-showcase-section { padding-block: clamp(48px, 5.6vw, 80px); }
.apps-showcase-grid {
    display: grid;
    align-items: center;
    gap: clamp(28px, 4vw, 48px);
    max-width: 1152px;
}
@media (min-width: 1024px) {
    .apps-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.apps-text h2 {
    margin: 0 0 24px;
    color: #0b1021;
    font: 800 clamp(1.875rem, 3.5vw, 2.25rem)/1.2 var(--wp--preset--font-family--sora);
    text-wrap: balance;
}
.apps-text p { margin: 0 0 16px; color: #475569; font-size: 16px; line-height: 1.65; }
.apps-text strong { color: #0f172a; font-weight: 600; }
.apps-text .apps-setup, .apps-text > .apps-setup-button { margin-top: 16px; }
.apps-setup-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 12px;
    background: #0b1021;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    list-style: none;
}
.apps-setup-button::-webkit-details-marker { display: none; }
.apps-setup-button:hover { background: #1e293b; color: #fff; }
.apps-setup-button:focus-visible { outline: 2px solid #4f46e5; outline-offset: 3px; }
.apps-setup-button svg { flex: none; }
.apps-setup[open] summary svg { transform: rotate(90deg); }
.apps-setup ol { margin: 16px 0; padding-inline-start: 24px; }
.apps-setup li + li { margin-top: 8px; }
.apps-setup a { color: #4338ca; text-underline-offset: 3px; }
.apps-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.apps-list .app-card {
    display: flex;
    align-items: center;
    gap: clamp(14px, 3vw, 24px);
    min-width: 0;
    padding: clamp(16px, 3vw, 24px);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .035);
}
.apps-list .app-card h3 {
    margin: 0 0 4px;
    color: #0b1021;
    font: 700 clamp(1rem, 2.4vw, 1.25rem)/1.2 var(--wp--preset--font-family--sora);
}
.apps-list .app-card p { margin: 0; color: #64748b; font-size: .875rem; line-height: 1.5; }
.app-card__mark {
    display: grid;
    place-items: center;
    flex: 0 0 64px;
    height: 64px;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 800;
}
.app-card__mark--smarters { background: #eef2ff; color: #4f46e5; }
.app-card__mark--tivimate { background: #fff7ed; color: #c2410c; }
.app-card__mark--ibo { background: #f0fdf4; color: #15803d; }
@media (hover: hover) {
    .apps-list .app-card:hover { border-color: #4f46e5; box-shadow: 0 10px 26px rgba(15, 23, 42, .08); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .apps-list .app-card { transition: transform .2s ease, box-shadow .2s ease; }
    .apps-list .app-card:hover { transform: translateX(8px); }
}
html[data-biptv-mode="dark"] .apps-text :is(h2, strong),
html[data-biptv-mode="dark"] .apps-list .app-card h3 { color: #f8fafc; }
html[data-biptv-mode="dark"] .apps-text p,
html[data-biptv-mode="dark"] .apps-list .app-card p { color: #cbd5e1; }
html[data-biptv-mode="dark"] .apps-list .app-card { border-color: #475569; background: #1e293b; }
html[data-biptv-mode="dark"] .apps-setup-button { border: 1px solid #64748b; }
html[data-biptv-mode="dark"] .apps-setup a { color: #c7d2fe; }

.biptv-tiles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; list-style: none; padding: 0; margin: 24px 0 0; }
.biptv-tiles li { border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; padding: 24px; box-shadow: var(--wp--preset--shadow--card); }
.biptv-tiles strong { color: #0f172a; }
.biptv-tiles p { margin: 8px 0 0; }
.biptv-compare { margin-top: 24px; }
.biptv-compare summary { cursor: pointer; font-weight: 700; color: #0f172a; }
.biptv-compare table { width: 100%; border-collapse: collapse; margin-top: 12px; text-align: left; }
.biptv-compare th, .biptv-compare td { padding: 10px 8px; border-bottom: 1px solid #e2e8f0; vertical-align: top; }
.biptv-faq { max-width: 760px; }
.biptv-faq details { border-bottom: 1px solid #e2e8f0; padding: 16px 0; }
.biptv-faq summary { color: #0f172a; font-weight: 600; cursor: pointer; }
.biptv-faq details p { margin: 12px 0 0; }
.biptv-trial { text-align: center; }
.biptv-footer { background: #081225; color: #cbd5e1; padding-block: 40px; }
.biptv-footer strong, .biptv-footer a { color: #fff; }
.biptv-footer nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.biptv-footer p { margin: 0; }

.biptv-header :focus-visible, .biptv-footer :focus-visible { outline: 2px solid #a5f3fc; outline-offset: 4px; }
.biptv-trial :focus-visible, .biptv-faq summary:focus-visible, .biptv-compare summary:focus-visible { outline: 2px solid #4f46e5; outline-offset: 4px; }

@media (max-width: 880px) {
    .biptv-hero {
        --biptv-hero-image-space: clamp(150px, 24vh, 250px);
        --biptv-hero-image-space: clamp(150px, 24svh, 250px);
        --biptv-hero-shade-start: rgba(255, 255, 255, .1);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: stretch;
        min-height: 0;
        padding: var(--biptv-hero-image-space) 5% 30px;
        background: var(--biptv-showcase-surface);
    }
    html[data-biptv-mode="dark"] .biptv-hero { --biptv-hero-shade-start: rgba(23, 35, 57, .1); }
    .iptvhero2__shade {
        background: linear-gradient(to bottom, var(--biptv-hero-shade-start), var(--biptv-showcase-surface) var(--biptv-hero-image-space));
    }
    .iptvhero2__bg { mask-image: none; }
    .hero-img-slide img { width: 100%; height: calc(var(--biptv-hero-image-space) + 64px); margin-inline-start: 0; object-position: center; }
    .biptv-hero .biptv-hero__inner { width: 100%; }
    .biptv-hero h1 { margin-bottom: 8px; font-size: clamp(2rem, 11vw, 2.75rem); line-height: 1.1; }
    .biptv-hero .biptv-hero__subtitle { margin-bottom: 16px; font-size: 1.5rem; }
    .biptv-hero p { font-size: .9375rem; }
    .biptv-hero .biptv-actions { flex-direction: column; width: 100%; gap: 12px; margin-top: 24px; }
    .biptv-hero .biptv-hero__plans,
    .biptv-hero__trial { width: 100%; min-height: 48px; padding: 14px 20px; }
    .biptv-hero__benefits { margin-top: 16px; }
}
@media (max-width: 850px) {
    .biptv-header__inner { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding-top: 12px; }
    .biptv-nav { grid-row: 2; grid-column: 1 / -1; padding-bottom: 12px; }
}
@media (max-width: 600px) {
    .biptv-wrap { width: calc(100% - 32px); }
    .biptv-nav { gap: 12px; justify-content: space-between; }
    .biptv-nav a { font-size: .8125rem; }
    .biptv-brand { gap: 6px; font-size: .875rem; }
    .biptv-brand__mark { width: 28px; height: 28px; }
    .biptv-header__inner > .biptv-home-cta { padding: 10px 11px; font-size: .8125rem; }
    .biptv-stats ul { font-size: .78rem; gap: 8px; }
    .biptv-tiles { grid-template-columns: 1fr; }
    .biptv-compare table { font-size: .875rem; }
}
