/* ── Reset & Base ─────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:#0f0f0f;color:#e5e5e5;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}

/* ── Colors ──────────────────────────────── */
:root{--red:#e50914;--red-dark:#c40812;--bg:#0f0f0f;--bg2:#161616;--gray900:#111;--gray800:#1a1a1a;--gray700:#2a2a2a;--gray600:#404040;--gray400:#9ca3af;--gray300:#d1d5db;--white:#fff}
.tvd-red{color:var(--red)}

/* ── Header ─────────────────────────────── */
.tvd-header{position:fixed;top:0;left:0;right:0;z-index:100;transition:background .3s;background:linear-gradient(to bottom,rgba(0,0,0,.85),transparent)}
.tvd-header.scrolled{background:rgba(0,0,0,.96);backdrop-filter:blur(12px);box-shadow:0 2px 20px rgba(0,0,0,.5)}
.tvd-header-inner{max-width:1600px;margin:0 auto;padding:0 20px;height:64px;display:flex;align-items:center;gap:24px}
.tvd-logo{display:flex;align-items:center;gap:8px;font-size:22px;font-weight:900;color:var(--white);flex-shrink:0}
.tvd-logo svg{color:var(--red)}
.tvd-logo-icon{width:32px;height:32px;color:var(--red)}
.tvd-live-dot{width:8px;height:8px;background:var(--red);border-radius:50%;animation:pulse 2s infinite;border:2px solid var(--bg)}
.tvd-nav{display:none;align-items:center;gap:4px;flex:1}
@media(min-width:1024px){.tvd-nav{display:flex}}
.tvd-nav-link{padding:8px 14px;border-radius:6px;font-size:14px;font-weight:500;color:#ccc;transition:all .2s}
.tvd-nav-link:hover{color:var(--white);background:rgba(255,255,255,.08)}
.tvd-header-right{display:flex;align-items:center;gap:8px;margin-left:auto}
.tvd-live-badge{display:flex;align-items:center;gap:6px;background:rgba(229,9,20,.1);border:1px solid rgba(229,9,20,.3);color:var(--red);font-size:12px;font-weight:700;padding:6px 12px;border-radius:20px;transition:background .2s}
.tvd-live-badge:hover{background:rgba(229,9,20,.2)}
.tvd-signal-dot{width:7px;height:7px;background:var(--red);border-radius:50%;animation:pulse 1.5s infinite}
.tvd-search-btn,.tvd-burger{background:none;border:none;color:#ccc;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;transition:color .2s}
.tvd-search-btn:hover,.tvd-burger:hover{color:var(--white)}
.tvd-burger{display:flex;flex-direction:column;gap:5px;width:36px;height:36px;justify-content:center;align-items:center}
.tvd-burger span{display:block;width:22px;height:2px;background:#ccc;transition:all .3s;border-radius:2px}
.tvd-burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.tvd-burger.open span:nth-child(2){opacity:0}
.tvd-burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media(min-width:1024px){.tvd-burger{display:none}}
.tvd-search-bar{max-height:0;overflow:hidden;transition:max-height .3s;background:rgba(0,0,0,.95);border-bottom:1px solid #222}
.tvd-search-bar.open{max-height:80px}
.tvd-search-inner{max-width:600px;margin:0 auto;padding:12px 20px;display:flex;gap:8px}
.tvd-search-inner input{flex:1;background:#1a1a1a;border:1px solid #333;color:var(--white);padding:10px 16px;border-radius:10px;font-size:14px;outline:none}
.tvd-search-inner input:focus{border-color:var(--red)}
.tvd-search-inner button{background:var(--red);color:var(--white);border:none;padding:10px 20px;border-radius:10px;font-weight:600;cursor:pointer;font-size:14px;transition:background .2s}
.tvd-search-inner button:hover{background:var(--red-dark)}
.tvd-mobile-nav{display:none;flex-direction:column;background:rgba(0,0,0,.98);border-top:1px solid #222;padding:8px 0}
.tvd-mobile-nav.open{display:flex}
.tvd-mobile-nav a{padding:14px 24px;font-size:14px;font-weight:500;color:#ccc;transition:all .2s;border-bottom:1px solid #111}
.tvd-mobile-nav a:hover{color:var(--white);background:rgba(255,255,255,.04)}

/* ── Main ────────────────────────────────── */
.tvd-main{padding-top:64px;min-height:100vh}

/* ── Hero ────────────────────────────────── */
.tvd-hero{background:linear-gradient(to bottom,rgba(229,9,20,.15),transparent);padding:48px 20px 60px;text-align:center}
.tvd-hero-inner{max-width:800px;margin:0 auto}
.tvd-hero h1{font-size:clamp(2rem,5vw,3.5rem);font-weight:900;color:var(--white);line-height:1.1;margin:16px 0 20px}
.tvd-hero p{font-size:clamp(1rem,2vw,1.2rem);color:#9ca3af;max-width:600px;margin:0 auto 32px}
.tvd-hero-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-bottom:28px}
.tvd-cat-pills{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.tvd-cat-pill{background:#1a1a1a;border:1px solid #2a2a2a;color:#ccc;padding:6px 16px;border-radius:20px;font-size:13px;font-weight:500;transition:all .2s}
.tvd-cat-pill:hover{background:var(--red);border-color:var(--red);color:var(--white)}
.mb-4{margin-bottom:16px}

/* ── Buttons ─────────────────────────────── */
.tvd-btn{display:inline-flex;align-items:center;gap:8px;font-weight:700;padding:12px 28px;border-radius:12px;transition:all .2s;border:none;cursor:pointer;font-size:15px}
.tvd-btn-primary{background:var(--red);color:var(--white)}
.tvd-btn-primary:hover{background:var(--red-dark)}
.tvd-btn-secondary{background:#1a1a1a;color:var(--white);border:1px solid #333}
.tvd-btn-secondary:hover{background:#222}

/* ── Sections ────────────────────────────── */
.tvd-section{max-width:1600px;margin:0 auto;padding:32px 20px}
.tvd-section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.tvd-section-title{display:flex;align-items:center;gap:8px;font-size:clamp(1.1rem,2.5vw,1.5rem);font-weight:900;color:var(--white)}
.tvd-view-all{font-size:14px;color:var(--red);font-weight:600;transition:color .2s}
.tvd-view-all:hover{color:#ff4d4d}
.tvd-live-pulse{width:10px;height:10px;background:var(--red);border-radius:50%;animation:pulse 1.5s infinite}
.tvd-pulse{animation:pulse 2s infinite}

/* ── Channel Grid ────────────────────────── */
.tvd-channel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px}
@media(min-width:640px){.tvd-channel-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:14px}}
@media(min-width:1024px){.tvd-channel-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:16px}}

/* ── Channel Card ────────────────────────── */
.tvd-channel-card{background:#1a1a1a;border:1px solid #222;border-radius:14px;padding:14px 10px 12px;display:flex;flex-direction:column;align-items:center;gap:8px;cursor:pointer;transition:all .25s;text-align:center;position:relative}
.tvd-channel-card:hover{background:#222;border-color:#404040;transform:translateY(-3px);box-shadow:0 8px 24px rgba(229,9,20,.15)}
/* Card bottom row — LIVE badge + ❤ Favori button */
.tvd-ch-bottom{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:2px;gap:4px}
.tvd-fav-btn{background:none;border:1px solid #2a2a2a;border-radius:6px;padding:3px 7px;font-size:10px;font-weight:700;color:#6b7280;cursor:pointer;transition:all .2s;white-space:nowrap;line-height:1.5;flex-shrink:0}
.tvd-fav-btn:hover{color:#ef4444;border-color:#ef4444;background:rgba(239,68,68,.08)}
.tvd-fav-btn.active{color:#ef4444;border-color:#ef4444;background:rgba(239,68,68,.1)}
/* Favorites empty state */
.tvd-fav-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:36px 20px;color:#6b7280;text-align:center;border:2px dashed #222;border-radius:12px}
.tvd-fav-empty strong{font-size:15px;color:#9ca3af}
.tvd-fav-empty p{margin:0;font-size:13px;line-height:1.6}
.tvd-ch-logo{width:64px;height:64px;border-radius:10px;overflow:hidden;background:#111;display:flex;align-items:center;justify-content:center;flex-shrink:0}
@media(min-width:640px){.tvd-ch-logo{width:72px;height:72px}}
.tvd-ch-logo img{width:100%;height:100%;object-fit:contain;padding:6px}
.tvd-ch-initial{font-size:24px;font-weight:900;color:var(--white)}
.tvd-ch-name{font-size:12px;font-weight:600;color:var(--white);line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
@media(min-width:640px){.tvd-ch-name{font-size:13px}}
.tvd-ch-cat{font-size:10px;color:#6b7280}
.tvd-ch-badge{display:flex;align-items:center;gap:4px;font-size:9px;font-weight:700;background:rgba(229,9,20,.2);color:var(--red);padding:2px 6px;border-radius:10px}
.tvd-ch-badge-dot{width:5px;height:5px;background:var(--red);border-radius:50%;animation:pulse 1.5s infinite}

/* ── VOD Poster Card ─────────────────────── */
.tvd-vod-item-card{background:#1a1a1a;border:1px solid #222;border-radius:12px;overflow:hidden;cursor:pointer;transition:all .25s;display:flex;flex-direction:column}
.tvd-vod-item-card:hover{border-color:#444;transform:translateY(-4px);box-shadow:0 12px 28px rgba(229,9,20,.2)}
.tvd-vod-poster{aspect-ratio:2/3;background:#111;overflow:hidden;display:flex;align-items:center;justify-content:center;position:relative}
.tvd-vod-poster img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.tvd-vod-item-card:hover .tvd-vod-poster img{transform:scale(1.06)}
.tvd-vod-poster-fallback{font-size:52px;font-weight:900;color:#2a2a2a;user-select:none}
.tvd-vod-play-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.45);opacity:0;transition:opacity .2s;font-size:28px;color:#fff}
.tvd-vod-item-card:hover .tvd-vod-play-overlay{opacity:1}
.tvd-vod-info{padding:8px 10px 10px;display:flex;flex-direction:column;gap:3px;flex:1}
.tvd-vod-title{font-size:12px;font-weight:600;color:var(--white);line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0}
.tvd-vod-cat{font-size:10px;color:#6b7280;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.tvd-vod-page .tvd-channel-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}
@media(min-width:480px){.tvd-vod-page .tvd-channel-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}
@media(min-width:1024px){.tvd-vod-page .tvd-channel-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px}}

/* ── Stats ───────────────────────────────── */
.tvd-stats{max-width:1600px;margin:0 auto 32px;padding:0 20px}
.tvd-stats-inner{background:#1a1a1a;border:1px solid #222;border-radius:20px;padding:28px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px}
.tvd-stat{text-align:center}
.tvd-stat span{display:block;font-size:2rem;font-weight:900;color:var(--white)}
.tvd-stat small{color:#6b7280;font-size:13px}

/* ── Blog Grid ───────────────────────────── */
.tvd-blog-grid{display:grid;grid-template-columns:1fr;gap:24px}
@media(min-width:640px){.tvd-blog-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.tvd-blog-grid{grid-template-columns:repeat(3,1fr)}}
.tvd-blog-card{background:#1a1a1a;border:1px solid #222;border-radius:14px;overflow:hidden;transition:border-color .2s}
.tvd-blog-card:hover{border-color:#404040}
.tvd-blog-thumb{display:block;aspect-ratio:16/9;overflow:hidden}
.tvd-blog-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.tvd-blog-card:hover .tvd-blog-thumb img{transform:scale(1.04)}
.tvd-blog-body{padding:16px}
.tvd-blog-meta{font-size:12px;color:#6b7280;margin-bottom:8px}
.tvd-blog-body h3{font-size:16px;font-weight:700;color:var(--white);line-height:1.4;margin-bottom:8px}
.tvd-blog-body h3 a:hover{color:var(--red)}
.tvd-blog-body p{font-size:13px;color:#9ca3af;line-height:1.6;margin-bottom:12px}
.tvd-blog-read{font-size:13px;font-weight:600;color:var(--red);transition:color .2s}
.tvd-blog-read:hover{color:#ff4d4d}

/* ── SEO Section ─────────────────────────── */
.tvd-seo-section{border-top:1px solid #111;background:#000;padding:48px 20px}
.tvd-seo-inner{max-width:900px;margin:0 auto}
.tvd-seo-inner h2{font-size:20px;font-weight:700;color:#ccc;margin-bottom:16px}
.tvd-seo-grid{display:grid;grid-template-columns:1fr;gap:16px;font-size:13px;color:#6b7280;line-height:1.8}
@media(min-width:640px){.tvd-seo-grid{grid-template-columns:1fr 1fr}}
.tvd-seo-grid strong{color:#9ca3af}

/* ── Live Page ───────────────────────────── */
.tvd-live-page{padding:20px}
.tvd-live-header{max-width:1600px;margin:0 auto 20px;display:flex;align-items:center;justify-content:space-between}
.tvd-live-header h1{display:flex;align-items:center;gap:10px;font-size:clamp(1.3rem,3vw,2rem);font-weight:900;color:var(--white)}
.tvd-live-header p{color:#6b7280;font-size:14px;margin-top:4px}

/* ── Player ──────────────────────────────── */
.tvd-player-container{max-width:900px;margin:0 auto 24px;border-radius:16px;overflow:hidden;background:#000;border:1px solid #222}
.tvd-player-box{position:relative;aspect-ratio:16/9;background:#000}
.tvd-player-box video{width:100%;height:100%;display:block}
.tvd-player-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between}
.tvd-overlay-loading,.tvd-overlay-error{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(0,0,0,.75);gap:12px;color:#ccc;font-size:14px}
.tvd-overlay-error p{font-size:16px;font-weight:600;color:var(--white)}
.tvd-player-controls{display:flex;flex-direction:column;justify-content:space-between;height:100%;opacity:0;transition:opacity .3s;background:linear-gradient(to bottom,rgba(0,0,0,.6) 0%,transparent 40%,transparent 60%,rgba(0,0,0,.8) 100%)}
.tvd-player-box:hover .tvd-player-controls{opacity:1}
.tvd-controls-top,.tvd-controls-bottom{display:flex;align-items:center;gap:12px;padding:12px 16px}
.tvd-controls-top{justify-content:space-between}
.tvd-controls-bottom{gap:10px}
.tvd-ctrl-live{display:flex;align-items:center;gap:6px;font-size:12px;color:#ccc;flex:1;justify-content:center}
.tvd-close-btn{background:rgba(0,0,0,.5);border:none;color:var(--white);width:30px;height:30px;border-radius:50%;cursor:pointer;font-size:16px;display:flex;align-items:center;justify-content:center}
.tvd-player-controls button:not(.tvd-close-btn){background:none;border:none;color:var(--white);cursor:pointer;font-size:18px;padding:4px;transition:color .2s}
.tvd-player-controls button:hover:not(.tvd-close-btn){color:var(--red)}
#tvd-volume{width:80px;accent-color:var(--red)}

/* ── Search & Cats ───────────────────────── */
.tvd-search-section{max-width:1600px;margin:0 auto 16px}
.tvd-search-wrap{position:relative;max-width:480px}
.tvd-search-wrap svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#6b7280}
.tvd-search-wrap input{width:100%;background:#1a1a1a;border:1px solid #2a2a2a;color:var(--white);padding:10px 16px 10px 40px;border-radius:10px;font-size:14px;outline:none}
.tvd-search-wrap input:focus{border-color:var(--red)}
.tvd-cats-bar{max-width:1600px;margin:0 auto 20px;display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
.tvd-cats-bar::-webkit-scrollbar{display:none}
.tvd-cat-btn{flex-shrink:0;background:#1a1a1a;border:1px solid #2a2a2a;color:#9ca3af;padding:6px 16px;border-radius:20px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap}
.tvd-cat-btn:hover,.tvd-cat-btn.active{background:var(--red);border-color:var(--red);color:var(--white)}
.tvd-live-grid{max-width:1600px;margin:0 auto}

/* ── Single Post ─────────────────────────── */
.tvd-single-post,.tvd-page-content,.tvd-archive{padding:40px 20px;min-height:70vh}
.tvd-post-container{max-width:800px;margin:0 auto}
.tvd-post-thumb{border-radius:16px;overflow:hidden;margin-bottom:24px;aspect-ratio:16/9}
.tvd-post-thumb img{width:100%;height:100%;object-fit:cover}
.tvd-post-meta{font-size:13px;color:#6b7280;margin-bottom:12px;display:flex;gap:8px}
.tvd-post-title{font-size:clamp(1.5rem,4vw,2.5rem);font-weight:900;color:var(--white);line-height:1.2;margin-bottom:24px}
.tvd-post-content{color:#d1d5db;line-height:1.8;font-size:16px}
.tvd-post-content h2,.tvd-post-content h3{color:var(--white);margin:28px 0 12px;font-weight:700}
.tvd-post-content h2{font-size:1.4rem}
.tvd-post-content h3{font-size:1.2rem}
.tvd-post-content p{margin-bottom:16px}
.tvd-post-content a{color:var(--red);text-decoration:underline}
.tvd-post-content img{border-radius:10px;margin:20px 0}
.tvd-post-back{margin-top:40px}
.tvd-pagination{margin-top:32px;display:flex;justify-content:center}

/* ── Footer ──────────────────────────────── */
.tvd-footer{background:#000;border-top:1px solid #1a1a1a;margin-top:60px}
.tvd-footer-inner{max-width:1600px;margin:0 auto;padding:48px 20px 24px}
.tvd-footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-bottom:40px}
@media(min-width:768px){.tvd-footer-grid{grid-template-columns:2fr 1fr 1fr 1fr}}
.tvd-footer-brand p{font-size:14px;color:#6b7280;line-height:1.7;margin-top:12px}
.tvd-footer h4{color:var(--white);font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.05em;margin-bottom:16px}
.tvd-footer ul{list-style:none}
.tvd-footer ul li{margin-bottom:10px}
.tvd-footer ul li a{font-size:14px;color:#6b7280;transition:color .2s}
.tvd-footer ul li a:hover{color:var(--white)}
.tvd-footer-seo{border-top:1px solid #1a1a1a;padding:20px 0;font-size:12px;color:#404040;line-height:1.8}
.tvd-footer-seo strong{color:#6b7280}
.tvd-footer-bottom{border-top:1px solid #1a1a1a;padding-top:20px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.tvd-footer-bottom p{font-size:13px;color:#404040}
.tvd-footer-links{display:flex;gap:16px}
.tvd-footer-links a{font-size:12px;color:#404040;transition:color .2s}
.tvd-footer-links a:hover{color:#6b7280}

/* ── Loading / Spinner ───────────────────── */
.tvd-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px;gap:16px;color:#6b7280;font-size:14px;grid-column:1/-1}
.tvd-spinner{width:36px;height:36px;border:3px solid #222;border-top-color:var(--red);border-radius:50%;animation:spin .8s linear infinite}
.tvd-empty{grid-column:1/-1;text-align:center;padding:60px 20px;color:#6b7280}
.tvd-empty h3{font-size:18px;color:#9ca3af;margin-bottom:8px}

/* ── Animations ──────────────────────────── */
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}
@keyframes spin{to{transform:rotate(360deg)}}

/* ── Ad slots ────────────────────────────── */
.tvd-ad{text-align:center;overflow:hidden;line-height:0}
.tvd-ad-header_banner{padding:10px 0;background:rgba(0,0,0,.3);border-bottom:1px solid #1a1a1a}
.tvd-ad-middle_banner{max-width:1600px;margin:0 auto 12px;padding:10px 20px;text-align:center}
.tvd-ad-footer_banner{padding:10px 0;background:rgba(0,0,0,.3);border-top:1px solid #1a1a1a;margin-top:20px}
.tvd-ad iframe,.tvd-ad ins,.tvd-ad>div{display:inline-block!important;max-width:100%}

/* ── Utilities ───────────────────────────── */
.hidden{display:none!important}

/* ── Dropdown Nav ────────────────────────── */
.tvd-nav-dropdown{position:relative}
.tvd-dropdown-btn{display:flex;align-items:center;gap:5px;background:none;border:none;cursor:pointer;font-size:14px;font-weight:500;color:#ccc;padding:8px 14px;border-radius:6px;transition:all .2s}
.tvd-dropdown-btn:hover{color:var(--white);background:rgba(255,255,255,.08)}
.tvd-dropdown-menu{position:absolute;top:calc(100% + 8px);left:0;background:#1a1a1a;border:1px solid #2a2a2a;border-radius:12px;min-width:180px;overflow:hidden;z-index:200;opacity:0;visibility:hidden;transform:translateY(-6px);transition:all .2s}
.tvd-dropdown-menu.open{opacity:1;visibility:visible;transform:translateY(0)}
.tvd-dropdown-item{display:flex;align-items:center;gap:10px;padding:10px 16px;color:#ccc;font-size:14px;transition:all .2s}
.tvd-dropdown-item:hover{background:#222;color:var(--white)}
.tvd-flag{font-size:18px;line-height:1}

/* Mobile section */
.tvd-mobile-section{border-top:1px solid #1a1a1a;border-bottom:1px solid #1a1a1a;padding:4px 0;margin:4px 0}
.tvd-mobile-section-title{display:block;padding:8px 24px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#404040}
.tvd-mobile-country{display:flex;align-items:center;gap:8px;padding:10px 24px;font-size:14px;color:#9ca3af;transition:all .2s;border:none}
.tvd-mobile-country:hover{color:var(--white);background:rgba(255,255,255,.04)}

/* ── Countries Section (Homepage) ───────── */
.tvd-countries-section{border-top:1px solid #1a1a1a;border-bottom:1px solid #1a1a1a;background:#0a0a0a}
.tvd-countries-inner{max-width:1600px;margin:0 auto;padding:28px 20px}
.tvd-country-grid-home{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:16px}
@media(min-width:480px){.tvd-country-grid-home{grid-template-columns:repeat(4,1fr)}}
@media(min-width:768px){.tvd-country-grid-home{grid-template-columns:repeat(7,1fr)}}
.tvd-country-card{display:flex;flex-direction:column;align-items:center;gap:6px;background:#1a1a1a;border:1px solid #222;border-radius:14px;padding:16px 10px;cursor:pointer;transition:all .25s;text-decoration:none;text-align:center}
.tvd-country-card:hover{background:#222;border-color:#404040;transform:translateY(-3px);box-shadow:0 8px 24px rgba(229,9,20,.12)}
.tvd-country-flag{font-size:32px;line-height:1}
.tvd-country-card strong{font-size:13px;font-weight:700;color:var(--white)}
.tvd-country-card span{font-size:10px;color:#6b7280}

/* ── Country Page ────────────────────────── */
.tvd-country-page .tvd-country-header{flex-wrap:wrap;gap:16px}
.tvd-country-flag-lg{font-size:36px;line-height:1;margin-right:4px}
.tvd-country-switcher{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.tvd-switcher-btn{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;background:#1a1a1a;border:1px solid #2a2a2a;border-radius:10px;font-size:20px;text-decoration:none;transition:all .2s;cursor:pointer}
.tvd-switcher-btn:hover{background:#222;border-color:#404040;transform:scale(1.1)}
.tvd-country-embed{padding:20px 0}

/* ── Legal Pages ─────────────────────────── */
.tvd-legal-page{padding:40px 20px;min-height:80vh}
.tvd-legal-container{max-width:860px;margin:0 auto}
.tvd-legal-header{margin-bottom:40px;padding-bottom:28px;border-bottom:1px solid #1a1a1a}
.tvd-legal-header h1{font-size:clamp(1.6rem,4vw,2.4rem);font-weight:900;color:var(--white);margin-bottom:10px}
.tvd-legal-header p{color:#6b7280;font-size:15px;line-height:1.6}
.tvd-legal-content{color:#d1d5db;font-size:15px;line-height:1.8}
.tvd-legal-section{margin-bottom:36px;padding-bottom:36px;border-bottom:1px solid #111}
.tvd-legal-section:last-of-type{border-bottom:none}
.tvd-legal-section h2{font-size:1.2rem;font-weight:800;color:var(--white);margin-bottom:14px}
.tvd-legal-section h3{font-size:1rem;font-weight:700;color:#e5e5e5;margin:16px 0 10px}
.tvd-legal-section p{margin-bottom:12px}
.tvd-legal-section ul,.tvd-legal-section ol{padding-left:20px;margin-bottom:12px}
.tvd-legal-section li{margin-bottom:8px}
.tvd-legal-section a{color:var(--red);text-decoration:underline;transition:color .2s}
.tvd-legal-section a:hover{color:#ff4d4d}
.tvd-legal-updated{background:#1a1a1a;border:1px solid #222;border-radius:10px;padding:14px 18px;margin-top:32px;font-size:13px;color:#6b7280}
.tvd-legal-nav{display:flex;flex-wrap:wrap;gap:10px;margin-top:40px;padding-top:28px;border-top:1px solid #1a1a1a}

/* Contact card */
.tvd-contact-card{background:#1a1a1a;border:1px solid #222;border-radius:12px;padding:20px;margin-top:16px}
.tvd-contact-card p{margin-bottom:8px;font-size:14px}
.tvd-contact-card p:last-child{margin-bottom:0}
.tvd-contact-card strong{color:var(--white)}
.tvd-contact-card a{color:var(--red)}

/* Contact page */
.tvd-contact-grid{display:grid;grid-template-columns:1fr;gap:40px;margin-top:8px}
@media(min-width:768px){.tvd-contact-grid{grid-template-columns:1.3fr 1fr}}
.tvd-contact-form-wrap h2,.tvd-contact-info h2{font-size:1.2rem;font-weight:800;color:var(--white);margin-bottom:20px}
.tvd-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:480px){.tvd-form-row{grid-template-columns:1fr}}
.tvd-form-group{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.tvd-form-group label{font-size:13px;font-weight:600;color:#9ca3af}
.tvd-required{color:var(--red)}
.tvd-form-group input,.tvd-form-group select,.tvd-form-group textarea{background:#1a1a1a;border:1px solid #2a2a2a;color:var(--white);padding:10px 14px;border-radius:10px;font-size:14px;outline:none;font-family:inherit;transition:border-color .2s}
.tvd-form-group input:focus,.tvd-form-group select:focus,.tvd-form-group textarea:focus{border-color:var(--red)}
.tvd-form-group select option{background:#1a1a1a}
.tvd-form-group textarea{resize:vertical;min-height:120px}
.tvd-btn-full{width:100%;justify-content:center}
.tvd-form-success{text-align:center;padding:48px 20px;color:#9ca3af}
.tvd-form-success svg{margin:0 auto 16px;color:#22c55e}
.tvd-form-success h3{font-size:1.3rem;color:var(--white);margin-bottom:8px}
.tvd-form-error{background:rgba(229,9,20,.1);border:1px solid rgba(229,9,20,.3);border-radius:10px;padding:12px 16px;margin-bottom:16px;color:var(--red);font-size:14px}
.tvd-contact-item{display:flex;align-items:flex-start;gap:14px;margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid #111}
.tvd-contact-item:last-of-type{border-bottom:none}
.tvd-contact-icon{width:40px;height:40px;background:#1a1a1a;border:1px solid #222;border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--red);flex-shrink:0}
.tvd-contact-item strong{display:block;font-size:13px;color:#9ca3af;margin-bottom:4px}
.tvd-contact-item a,.tvd-contact-item span{font-size:14px;color:var(--white)}
.tvd-contact-item a:hover{color:var(--red)}
.tvd-contact-faq{background:#0a0a0a;border:1px solid #1a1a1a;border-radius:12px;padding:18px}
.tvd-contact-faq h3{font-size:13px;font-weight:700;color:#9ca3af;text-transform:uppercase;letter-spacing:.05em;margin-bottom:14px}
.tvd-contact-faq ul{list-style:none;padding:0}
.tvd-contact-faq li{font-size:13px;color:#6b7280;line-height:1.7;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #111}
.tvd-contact-faq li:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}
.tvd-contact-faq strong{color:#9ca3af}
.tvd-contact-faq a{color:var(--red)}

/* ── Adsterra Smartlink ─────────────────────── */
.tvd-adsterra-bar{
  background:linear-gradient(135deg,#1a0a00,#2d1200);
  border-top:1px solid rgba(255,140,0,.2);
  border-bottom:1px solid rgba(255,140,0,.2);
  padding:10px 16px;
  text-align:center;
}
.tvd-adsterra-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:linear-gradient(135deg,#ff8c00,#ff5500);
  color:#fff;
  font-weight:700;
  font-size:14px;
  padding:10px 24px;
  border-radius:30px;
  text-decoration:none;
  box-shadow:0 4px 20px rgba(255,140,0,.35);
  transition:all .2s;
  max-width:100%;
}
.tvd-adsterra-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 28px rgba(255,140,0,.5);
  color:#fff;
  text-decoration:none;
}
.tvd-adsterra-btn span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Floating Adsterra button */
.tvd-adsterra-float{
  position:fixed;
  bottom:80px;
  right:18px;
  z-index:999;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  animation:tvdFloatPulse 2.5s ease-in-out infinite;
}
.tvd-adsterra-float a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:54px;height:54px;
  border-radius:50%;
  background:linear-gradient(135deg,#ff8c00,#ff5500);
  color:#fff;
  font-size:22px;
  text-decoration:none;
  box-shadow:0 4px 18px rgba(255,140,0,.5);
  transition:all .2s;
  border:2px solid rgba(255,255,255,.2);
}
.tvd-adsterra-float a:hover{transform:scale(1.1);box-shadow:0 6px 28px rgba(255,140,0,.7);}
.tvd-adsterra-float-label{
  font-size:10px;
  font-weight:700;
  color:#ff8c00;
  text-transform:uppercase;
  letter-spacing:.05em;
  text-shadow:0 1px 3px rgba(0,0,0,.8);
  text-align:center;
}
@keyframes tvdFloatPulse{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-5px)}
}
@media(max-width:480px){
  .tvd-adsterra-float{bottom:70px;right:12px}
  .tvd-adsterra-float a{width:46px;height:46px;font-size:18px}
  .tvd-adsterra-bar{padding:8px 12px}
  .tvd-adsterra-btn{font-size:12px;padding:8px 16px}
}
