/* CSS Variables */
:root {
  color-scheme: dark;
  /* Brand */
  --primary-color: #3880ff; /* modern green, pops on dark */

  /* Backgrounds */
  --background: #0a0a0b; /* main app background */
  --surface: #0a0c0e; /* cards, sections */
  --card-bg: #101317; /* elevated cards */

  /* Text */
  --text-primary: #e5e7eb; /* main text */
  --text-secondary: #9ca3af; /* muted text */

  /* UI */
  --border-color: #2a2f36;
  --blur-bg: rgba(15, 17, 21, 0.85);

  /* Effects */
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.3);

  /* Layout */
  --max-width: 100%;
  --border-radius: 12px;
}

h1 {
  font-size: clamp(1.4rem, 2vw + 0.5rem, 2rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.3rem, 1.8vw + 0.5rem, 1.7rem);
  line-height: 1.18;
}

h3 {
  font-size: clamp(1.2rem, 1.5vw + 0.5rem, 1.5rem);
  line-height: 1.22;
}

h4 {
  font-size: clamp(1.1rem, 1.2vw + 0.5rem, 1.3rem);
  line-height: 1.25;
}

h5 {
  font-size: clamp(1rem, 1vw + 0.4rem, 1.15rem);
  line-height: 1.28;
}

h6 {
  font-size: clamp(0.9rem, 0.8vw + 0.4rem, 1rem);
  line-height: 1.3;
}

.lead {
  font-size: clamp(1.05rem, 1vw + 0.8rem, 1.25rem);
  font-weight: 300;
  line-height: 1.4;
}

a {
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.navmr {
  margin-top: 66px;
}

/* ═══════════════════════════════════
   MINIMAL NAVBAR — Apple/Netflix Style
   ═══════════════════════════════════ */

.tv-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(10, 10, 11, .85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,.04);
}

.tv-nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

/* Logo */
.tv-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.tv-logo img {
    height: 26px;
    width: auto;
}

/* Center Menu */
.tv-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0 auto;
}

.tv-link {
    color: #8b8b8b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 8px;
    transition: all .15s;
    white-space: nowrap;
    letter-spacing: .01em;
}

.tv-link:hover {
    color: #fff;
    background: rgba(255,255,255,.05);
}

.tv-link.active {
    color: #fff;
    background: rgba(255,255,255,.08);
}

/* Right */
.tv-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Language Dropdown */
.tv-lang {
    position: relative;
}

.tv-lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 8px;
    color: #999;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    transition: all .15s;
    font-family: inherit;
}
.tv-lang-btn::-webkit-details-marker { display: none; }
.tv-lang-btn:hover,
.tv-lang[open] .tv-lang-btn {
    color: #fff;
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
}
.tv-lang-btn i { font-size: 14px; }
.tv-lang-btn svg {
    transition: transform .2s;
    opacity: .5;
}
.tv-lang[open] .tv-lang-btn svg {
    transform: rotate(180deg);
}

.tv-lang-list {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #141418;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
    padding: 4px;
    min-width: 160px;
    max-height: 300px;
    overflow-y: auto;
    list-style: none;
    z-index: 999;
    box-shadow: 0 16px 48px rgba(0,0,0,.5);
    animation: tvDrop .15s ease;
}

@keyframes tvDrop {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.tv-lang-item {
    display: block;
    padding: 8px 12px;
    color: #888;
    font-size: 13px;
    border-radius: 8px;
    transition: all .12s;
    text-decoration: none;
}
.tv-lang-item:hover {
    background: rgba(255,255,255,.05);
    color: #fff;
}
.tv-lang-item.active {
    color: #fff;
    background: rgba(255,255,255,.08);
    font-weight: 600;
}

.tv-lang-list::-webkit-scrollbar { width: 3px; }
.tv-lang-list::-webkit-scrollbar-track { background: transparent; }
.tv-lang-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.08); border-radius: 3px; }

/* Hamburger */
.tv-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.tv-burger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: #999;
    border-radius: 2px;
    transition: all .25s;
    transform-origin: center;
}

.tv-burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
    background: #fff;
}
.tv-burger.open span:nth-child(2) {
    opacity: 0;
}
.tv-burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    background: #fff;
}

/* ═══ MOBILE ═══ */
@media (max-width: 768px) {
    .tv-menu {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 11, .97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 8px 16px 16px;
        gap: 2px;
        border-bottom: 1px solid rgba(255,255,255,.04);
        transform: translateX(0) translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all .25s ease;
    }

    .tv-menu.open {
        transform: translateX(0) translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .tv-link {
        width: 100%;
        padding: 10px 14px;
        font-size: 14px;
    }

    .tv-link.active {
        background: rgba(255,255,255,.06);
    }

    .tv-burger {
        display: flex;
    }

    .tv-nav-inner {
        height: 52px;
    }

    .tv-lang-btn span {
        display: none;
    }
    .tv-lang-btn {
        padding: 6px 10px;
    }
}

.social-share {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 5px;
  max-width: 800px;
  margin: auto;
}

.share-btn {
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s ease;
  min-width: 130px;
  text-align: center;
  cursor: pointer;
}

.share-btn svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.share-btn span {
  display: inline-block;
  font-weight: 500;
}

.facebook {
  background-color: #3b5998;
}
.twitter {
  background-color: #1da1f2;
}
.whatsapp {
  background-color: #25d366;
}
.telegram {
  background-color: #0088cc;
}

.native {
  background-color: #65035a;
}

.share-btn:hover {
  opacity: 0.85;
  color: #fff;
}

.footer {
  background-color: var(--background);
  color: var(--text-secondary);
  padding: 40px 0 20px;
  margin-top: 1em;
  border-top: 1px solid var(--border-color);
}

.footer a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-color);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-left {
  flex: 1;
  display: flex;
  align-items: start;
  gap: 1em;
  max-width: 750px;
}

.footer-logo img {
  max-width: 160px;
  height: auto;
  margin-bottom: 5px;
}

.footer-links {
  display: flex;
  gap: 8px 25px;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.paragraph a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
}

.sidebar_heading {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-primary);
  text-align: center;
  border-bottom: 2px dashed var(--border-color);
}

.m_headeing {
  font-size: 18px;
  font-weight: bold;
  margin-top: 2em;
  margin-bottom: 10px;
  color: var(--text-primary);
  text-align: center;
  border-bottom: 2px dashed var(--border-color);
}
.poupHeading {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-primary);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-modal {
  background: var(--background);
  padding: 20px;
  border-radius: 10px;
  position: relative;
  max-width: 90%;
  width: 400px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0);
  border: 1px solid var(--border-color);
  max-height: 80%;
  overflow-y: auto;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #f20000;
  border: none;
  font-size: 25px;
  cursor: pointer;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.nav-btn {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-btn:hover {
  border: 1px solid var(--primary-color);
}
.view_content {
  display: flex;
  gap: 20px;
  margin-block: 1em;
}

.view_main {
  flex: 1;
  width: 100%;
  min-width: 0;
}

/* When no sidebar, view_main takes full width */
.view_main:only-child {
  width: 100%;
}

.view_sidebar {
  width: 330px;
  position: sticky;
  top: 80px;
  height: fit-content;
  margin-top: 1em;
}

/* If view_content has no sidebar, make main full width */
.view_content:not(:has(.view_sidebar)) .view_main {
  width: 100%;
}

.blog_img {
  max-width: 700px;
}

.post_list {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-color);
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  margin-bottom: 5px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  color: var(--text-primary);
}

.post_list:hover {
  border: 1px solid var(--primary-color);
}

.post_list img {
  display: block;
  width: 80px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 6px;
}

.post-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  margin-bottom: 20px;
}

.post-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  background-color: var(--card-bg);
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-media {
  flex: 0 0 20%;
  max-width: 20%;
}

.post-thumb {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

.post-content {
  flex: 1;
}

.post-title {
  margin: 0 0 10px 0;
  font-size: 1.5rem;
  line-height: 1.2;
}

.post-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.sidebar_heading {
  margin-top: 1em;
  font-size: 20px;
  padding: 10px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 10px;
  text-align: center;
}

.thumb169 {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.content {
  width: 100%;
  line-height: 1.6;
  word-wrap: break-word;
}

.content p {
  margin-bottom: 1.25em;
  font-size: 1rem;
}

.content strong {
  font-weight: 700;
}

.content em {
  font-style: italic;
}

.content a {
  color: var(--primary-color);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.content a:hover {
  text-decoration: none;
  color: #0056b3;
}

.content ul,
.content ol {
  margin-bottom: 1.25em;
  padding-left: 1.5em;
}

.content li {
  margin-bottom: 0.5em;
}

.content ul ul,
.content ol ol,
.content ul ol,
.content ol ul {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em 0;
  border-radius: 4px;
}

.content blockquote {
  margin: 1.5em 0;
  padding: 0.5em 1em;
  border-left: 4px solid var(--border-color);
  background-color: var(--card-bg);
  color: var(--text-secondary);
  font-style: italic;
}

.content pre {
  background-color: var(--card-bg);
  padding: 1em;
  overflow-x: auto;
  border-radius: 4px;
  margin-bottom: 1.5em;
}

.content code {
  background-color: var(--card-bg);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-size: 0.9em;
}

.content pre code {
  padding: 0;
  background: none;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
}

.content th,
.content td {
  padding: 0.75em;
  border: 1px solid var(--border-color);
  text-align: left;
}

.content th {
  background-color: var(--surface);
  font-weight: 600;
}

.content tr:nth-child(even) {
  background-color: var(--background);
}

.content hr {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 2em 0;
}

#goToTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  background: 0;
  cursor: pointer;
  border: 0;
}

#goToTopBtn svg {
  fill: var(--primary-color);
  background-color: #fff;
  border-radius: 50%;
  padding: 1px;
}

#goToTopBtn svg:hover {
  fill: #000;
}

.pagination-text {
  text-align: center;
  margin-top: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pagination {
  margin-top: 5px;
  margin-bottom: 1em;
  text-align: center;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: var(--text);
  border-radius: 10px;
  height: 40px;
  min-width: 40px;
  font-weight: 600;
}

.pagination a.active,
.pagination a.disabled {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  cursor: default;
  pointer-events: none;
}

.pagination a:hover {
  background: var(--card-bg);
  border-color: var(--text-secondary);
}

.not-found {
  padding: 40px;
  text-align: center;
}

.not-found h1 {
  font-size: 80px;
  margin: 0 0 20px;
  color: #e74c3c;
  font-weight: bold;
}

.not-found .lead {
  font-size: 28px;
  margin: 0 0 20px;
  color: var(--text-primary);
  font-weight: 600;
}

.not-found p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 30px;
}

.not-found a {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 16px;
  font-size: 20px;
  border-radius: var(--border-radius);
}

.not-found a:hover {
  border: 1px solid var(--primary-color);
  background-color: var(--surface);
}

.footer_social {
  display: flex;
  align-items: center;
  gap: 1em;
  width: 100%;
  margin-top: 1em;
}

.footer_social a {
  text-decoration: none;
  color: var(--text-secondary);
}

.content h2 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.3em;
}

.sidebar-toggle {
  display: none;
}

.flex {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-block: 5px;
}

.imflex {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mb1 {
  margin-bottom: 1em;
}

.channel-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 16px;
  margin: 10px auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.channel-card h2 {
  font-size: 20px;
}

.channel-card h2 a {
  color: var(--text-primary);
}

.channel-card h2 a:hover {
  color: var(--primary-color);
}

.channel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.channel-info {
  display: flex;
  gap: 12px;
  align-items: center;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.status {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 20px;
  font-weight: 600;
}

.status.terminated {
  background: #270606;
  color: #ff5c5c;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 16px 0;
}

.stat {
  background: var(--surface);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  font-weight: 600;
}

.stat small {
  display: block;
  font-size: 11px;
  opacity: 0.6;
}

.videos-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.videos-row::-webkit-scrollbar {
  height: 6px;
}

.videos-row::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 10px;
}

.video-card {
  width: 300px;
  background: var(--surface);
  border-radius: 12px;
  padding: 10px;
  scroll-snap-align: start;
  display: block;
  border: 1px solid var(--border-color);
}

.video-card a {
  color: var(--text-primary);
}

.video-card:hover {
  border: 1px solid var(--primary-color);
}

.video-card img {
  width: 100%;
  border-radius: 10px;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.video-card p {
  font-size: 14px;
  margin: 8px 0 4px;
  line-height: 1.3;
}

.video-card span {
  font-size: 12px;
  opacity: 0.6;
}

.filter-links,
.filter-links-lang {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-links li a,
.filter-links-lang li a {
  display: block;
  padding: 6px 8px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-primary);
  background: var(--background);
  transition: all 0.2s ease;
}

.filter-links li a:hover,
.filter-links-lang li a:hover {
  border-color: var(--primary-color);
}

.filter-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.filter-links-lang {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.filter-links a.active,
.filter-links-lang a.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.m-zero {
  margin-top: 0px !important;
  padding-top: 0px !important;
}

.mtop {
  margin-top: 1em;
}

.advanced-filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 28px;
}

.adv-filter-item {
  background: #16213e4d;
  border: 1px solid #0f3460;
  border-radius: 10px;
  padding: 18px 16px;
}

.adv-filter-item > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #a0c4ff;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Range Values Row ── */
.range-values {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.range-value-input {
  flex: 1;
  background: #000;
  border: 1px solid #1a5276;
  border-radius: 6px;
  color: #fff;
  padding: 6px 10px;
  font-size: 13px;
  text-align: center;
  width: 0;
  /* let flex handle it */
  outline: none;
  transition: border-color 0.2s;
}

.range-value-input:focus {
  border-color: #a0c4ff;
}

.range-value-separator {
  color: #607d8b;
  font-size: 13px;
  flex-shrink: 0;
}

/* ── Dual Range Slider ── */
.multi-range {
  position: relative;
  height: 18px;
  /* tall enough to hold the thumb without clipping */
  margin: 8px 0 4px;
  display: flex;
  align-items: center;
}

/* Grey base track — sits behind everything */
.multi-range::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 6px;
  background: #0f3460;
  border-radius: 3px;
  z-index: 0;
}

/* Blue active segment — sits above the grey base */
.multi-range .active-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  background: #a0c4ff;
  border-radius: 3px;
  pointer-events: none;
  z-index: 1;
}

/* Range inputs — transparent tracks, thumbs on top of everything */
.multi-range input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  pointer-events: none;
  z-index: 2;
}

/* Webkit: invisible track, thumb above all layers */
.multi-range input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
  /* track drawn by ::before + active-track instead */
}

.multi-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #a0c4ff;
  border: 2.5px solid #1a1a2e;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  margin-top: -7px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 3;
  /* above active-track */
  transition:
    background 0.15s,
    transform 0.15s;
}

.multi-range input[type="range"]::-webkit-slider-thumb:hover {
  background: #c5deff;
  transform: scale(1.15);
}

/* Firefox: invisible track, thumb above all layers */
.multi-range input[type="range"]::-moz-range-track {
  height: 6px;
  background: transparent;
}

.multi-range input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #a0c4ff;
  border: 2.5px solid #1a1a2e;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 3;
}

/* ── Language Filter ── */
#language-search-input {
  width: 100%;
  padding: 7px 10px;
  border-radius: 6px;
  border: 1px solid #1a5276;
  background: #0f3460;
  color: #fff;
  font-size: 13px;
  outline: none;
  margin-bottom: 8px;
}

#language-search-input:focus {
  border-color: #a0c4ff;
}

.language-checkbox-container {
  max-height: 160px;
  overflow-y: auto;
  padding-right: 4px;
}

.language-checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 4px;
  border-radius: 4px;
  cursor: pointer;
}

.language-checkbox-item:hover {
  background: #1a3a5c;
}

.language-checkbox-item input[type="checkbox"] {
  accent-color: #a0c4ff;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.language-checkbox-item label {
  font-size: 13px;
  color: #ccc;
  cursor: pointer;
  user-select: none;
}

/* ── Buttons ── */
.modal-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}

.button {
  padding: 10px 28px;
  border: none;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
}

#reset-advanced-filters {
  background: #0f3460;
  color: #a0c4ff;
}

#reset-advanced-filters:hover {
  background: #1a5276;
}

#apply-advanced-filters {
  background: #a0c4ff;
  color: #1a1a2e;
}

#apply-advanced-filters:hover {
  background: #c5deff;
}

.button:active {
  transform: scale(0.96);
}

/* =========================
   TERMINATED HERO SECTION
   ========================= */

.th-hero {
    background: #0a0a0f;
    border-radius: 20px;
    padding: 40px 24px 34px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Floating particles */
.th-hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.th-hero-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ef4444;
    border-radius: 50%;
    opacity: 0;
    animation: thFloat 6s infinite;
}

.th-hero-particles span:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.th-hero-particles span:nth-child(2) { top: 5%; right: 8%; animation-delay: 1s; }
.th-hero-particles span:nth-child(3) { top: 20%; right: 15%; animation-delay: 2s; width: 2px; height: 2px; }
.th-hero-particles span:nth-child(4) { top: 60%; left: 10%; animation-delay: 0.5s; }
.th-hero-particles span:nth-child(5) { top: 80%; right: 5%; animation-delay: 3s; width: 2px; height: 2px; }
.th-hero-particles span:nth-child(6) { top: 40%; left: 3%; animation-delay: 1.5s; }
.th-hero-particles span:nth-child(7) { top: 15%; left: 50%; animation-delay: 4s; width: 2px; height: 2px; }
.th-hero-particles span:nth-child(8) { top: 70%; right: 20%; animation-delay: 2.5s; }

@keyframes thFloat {
    0%, 100% { opacity: 0; transform: translateY(0) scale(1); }
    20% { opacity: .6; }
    50% { opacity: .8; transform: translateY(-15px) scale(1.2); }
    80% { opacity: .4; }
}

/* Content */
.th-hero-content {
    position: relative;
    z-index: 2;
}

.th-hero-h1 {
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.th-hero-sub {
    font-size: clamp(15px, 2.5vw, 19px);
    color: #9ca3af;
    margin: 0 auto 28px;
    max-width: 460px;
    line-height: 1.5;
    font-weight: 400;
}

/* Search bar */
.th-hero-search {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 32px;
    padding: 15px 22px;
    background: rgba(255, 255, 255, .03);
    border: 1.5px solid rgba(255, 255, 255, .07);
    border-radius: 16px;
    transition: all .25s;
}

.th-hero-search:focus-within {
    border-color: rgba(239, 68, 68, .35);
    background: rgba(255, 255, 255, .05);
    box-shadow: 0 0 20px rgba(239, 68, 68, .06);
}

.th-hero-search i {
    color: #4b5563;
    font-size: 16px;
    flex-shrink: 0;
}

.th-hero-search input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #e5e7eb;
    font-size: 15px;
    font-family: inherit;
}

.th-hero-search input::placeholder {
    color: #374151;
}

/* Counter stats */
.th-hero-counters {
    display: flex;
    justify-content: center;
    gap: clamp(30px, 8vw, 60px);
}

.th-hc { text-align: center; }

.th-hc-val {
    font-size: clamp(1.5rem, 5vw, 2.4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.th-hc-lbl {
    font-size: clamp(11px, 2vw, 14px);
    color: #6b7280;
    margin-top: 4px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 480px) {
    .th-hero { padding: 30px 16px 26px; border-radius: 14px; }
    .th-hero-search { padding: 12px 16px; border-radius: 12px; }
    .th-hero-search input { font-size: 14px; }
    .th-hero-counters { gap: 24px; }
    .th-hero-sub { margin-bottom: 22px; }
}

/* =========================
   FILTER BAR – REDESIGNED
   ========================= */

.tf-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.tf-filter-bar select {
    flex: 1;
    min-width: 120px;
    padding: 8px 28px 8px 10px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%239ca3af'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    transition: border-color 0.15s;
}

.tf-filter-bar select:focus,
.tf-filter-bar select:hover {
    border-color: var(--primary-color);
}

.tf-filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.tf-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--text-primary);
}

.tf-filter-btn svg,
.tf-filter-btn i {
    font-size: 13px;
    width: 14px;
    height: 14px;
}

@media (max-width: 480px) {
    .tf-filter-bar {
        padding: 8px;
        gap: 6px;
    }
    .tf-filter-bar select {
        min-width: 0;
        flex: 1 1 calc(50% - 3px);
        font-size: 12px;
        padding: 7px 24px 7px 8px;
    }
    .tf-filter-btn {
        flex: 1;
        justify-content: center;
        padding: 7px 10px;
        font-size: 12px;
    }
}

/* OLD filter-container kept for backward compat */
.filter-container {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #0f1115;
  border: 1px solid #1f2430;
  border-radius: 10px;
  margin-top: 10px;
}

/* SIDE BLOCKS */
.filter-container > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* LEFT SIDE */
.filter-container-side1 {
  flex: 1;
}

/* FILTER CONTAINER SIDE 2 - RESPONSIVE */

/* Desktop (Default) */
.filter-container-side2 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .filter-container-side2 {
        gap: 8px;
    }
    
    .filter-container-side2 .control-btn {
        padding: 9px 14px;
        font-size: 13px;
    }
}

/* Mobile Large (481px - 768px) */
@media (max-width: 768px) {
    .filter-container-side2 {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }
    
    .filter-container-side2 .control-btn {
        flex: 1;
        justify-content: center;
        min-width: 0;
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
    .filter-container-side2 {
        width: 100%;
        gap: 8px;
    }
    
    .filter-container-side2 .control-btn {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    /* Hide button text, show only icons */
    .filter-container-side2 .control-btn span.btn-text,
    .filter-container-side2 .control-btn span:not(.icon-only) {
        display: none;
    }
    
    .filter-container-side2 .control-btn {
        min-width: 44px;
        justify-content: center;
    }
    
    .filter-container-side2 .control-btn svg,
    .filter-container-side2 .control-btn i {
        margin: 0;
    }
}

/* Extra Small Mobile (< 360px) */
@media (max-width: 359px) {
    .filter-container-side2 {
        gap: 6px;
    }
    
    .filter-container-side2 .control-btn {
        padding: 8px 10px;
        min-width: 40px;
    }
    
    .filter-container-side2 .control-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .filter-container-side2 .control-btn i {
        font-size: 13px;
    }
}

/* Complete Responsive Structure */
.filter-container {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 20px;
    align-items: center;
}

/* Desktop Layout */
@media (min-width: 769px) {
    .filter-container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .filter-container-side1 {
        display: flex;
        gap: 10px;
        flex: 1;
    }
    
    .filter-container-side2 {
        display: flex;
        gap: 10px;
        flex-shrink: 0;
    }
}

/* Tablet Layout */
@media (min-width: 481px) and (max-width: 768px) {
    .filter-container {
        flex-wrap: wrap;
    }
    
    .filter-container-side1 {
        flex: 1;
        min-width: 100%;
        display: flex;
        gap: 8px;
    }
    
    .filter-container-side2 {
        flex: 1;
        width: 100%;
        margin-top: 8px;
    }
}

/* Mobile Layout */
@media (max-width: 480px) {
    .filter-container {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }
    
    .filter-container-side1 {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .filter-container-side2 {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
    
    /* Make selects full width */
    .filter-container-side1 select {
        width: 100%;
    }
}

/* Utility Classes */
.hide-mobile {
    display: inline;
}

.show-mobile {
    display: none;
}

@media (max-width: 480px) {
    .hide-mobile {
        display: none !important;
    }
    
    .show-mobile {
        display: inline !important;
    }
}

/* Button Responsive States */
.control-btn {
    padding: 10px 14px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .control-btn {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .control-btn {
        padding: 10px 12px;
        gap: 4px;
    }
}

/* Toggle Videos Button Specific */
#toggle-videos-btn {
    position: relative;
}

@media (max-width: 480px) {
    #toggle-videos-text {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
    }
    
    #toggle-videos-text .btn-text {
        display: none;
    }
    
    #toggle-videos-text i {
        margin: 0;
    }
}

/* Advanced Filters Button */
@media (max-width: 480px) {
    button[onclick*="popup2"] span:not(.icon-only) {
        display: none;
    }
}

/* SELECT */
.filter-container select {
  padding: 10px 5px;
  background: #151922;
  border: 1px solid #2a3142;
  border-radius: 8px;
  color: #e6e6e6;
  font-size: 14px;
  cursor: pointer;
}

/* BUTTONS */
.filter-container button,
.search-container button {
  padding: 10px 14px;
  background: #1c2230;
  border: 1px solid #2a3142;
  border-radius: 8px;
  color: #e6e6e6;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.filter-container button:hover,
.search-container button:hover {
  background: #232b3d;
  border-color: #3a4560;
}

.filter-container button:active,
.search-container button:active {
  transform: scale(0.97);
}

/* ICON COLOR */
.filter-container svg,
.search-container i {
  color: #9fb3ff;
}

.link-icon {
  color: var(--primary-color) !important;
  font-size: 12px;
}

.search-container form {
  display: flex;
  width: 100%;
  gap: 8px;
}

/* INPUT */
.search-container input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  background: #151922;
  border: 1px solid #2a3142;
  border-radius: 8px;
  color: #e6e6e6;
  font-size: 14px;
}
.search-container input[type="text"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(93, 169, 255, 0.25);
  background: #151922;
}
.search-container input[type="text"] {
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.search-container input::placeholder {
  color: #8b93a7;
}

.yt-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.yt-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 10px;
  scroll-snap-align: start;
  display: block;
  border: 1px solid var(--border-color);
}

.yt-card a {
  color: var(--text-primary);
}

.yt-card:hover {
  border: 1px solid var(--primary-color);
}

.yt-card h2 {
  font-size: 16px;
  margin: 8px 0 4px;
  line-height: 1.2;
  height: 38px;
  overflow: hidden;
}

.yt-card img {
  width: 100%;
  border-radius: 10px;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.view-badge {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
}

.alert-danger {
  background-color: #ffdddd;
  border-left: 6px solid #f44336;
  padding: 10px 16px;
  margin-bottom: 20px;
  color: #a94442;
}

.country-dropdown {
  position: relative;
  max-width: 320px;
}

#countryInput {
  width: 100%;
  padding: 12px 14px;
  background: #151922;
  border: 1px solid #2a3142;
  border-radius: 8px;
  color: #e6e6e6;
  font-size: 14px;
}

#countryInput:focus {
  outline: none;
  border-color: #4da3ff;
  box-shadow: 0 0 0 2px rgba(77, 163, 255, 0.15);
}

.country-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #0f1320;
  border: 1px solid #2a3142;
  border-radius: 8px;
  margin-top: 6px;
  max-height: 260px;
  overflow-y: auto;
  z-index: 999;
}

.country-item {
  padding: 10px 14px;
  cursor: pointer;
  color: #d9d9d9;
  font-size: 14px;
}

.country-item:hover {
  background: #1c2233;
  color: #ffffff;
}

/* scrollbar (optional) */
.country-list::-webkit-scrollbar {
  width: 6px;
}
.country-list::-webkit-scrollbar-thumb {
  background: #2a3142;
  border-radius: 10px;
}

.itsaflex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1em;
}

.ytdl_box {
  margin: 40px auto;
}

.ytdl_box input {
  width: 100%;
  padding: 14px;
  background: #151922;
  border: 1px solid #2a3142;
  color: #fff;
  border-radius: 8px;
}

.ytdl_box input:focus {
  outline: none;
  border-color: #4da3ff;
}

.ytdl_box button {
  margin-top: 10px;
  padding: 12px 18px;
  background: #4da3ff;
  border: none;
  border-radius: 8px;
  color: #000;
  cursor: pointer;
}

.ytdl_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.ytdl_card {
  background: #151922;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}

.ytdl_card img {
  width: 100%;
  border-radius: 6px;
}
.ytdl_box h3 {
  margin-block: 1em;
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .nav-container {
    padding: 0 6px;
  }
}

@media (max-width: 768px) {
  #countryInput {
    margin: 10px auto 0px auto;
  }
  .itsaflex {
    display: block;
    margin-bottom: 1em;
  }
  .post-card {
    flex-direction: column;
    gap: 1px;
  }

  .post-media {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 15px;
  }
  .hide_on_mobile {
    display: none;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
    gap: 0px;
    text-align: left;
    max-width: 100%;
    font-size: 14px;
  }

  .footer-right {
    align-items: center;
  }

  .footer_social {
    justify-content: space-around;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .not_404_container {
    padding: 10px;
  }

  .not_404_title {
    font-size: 2rem;
  }

  .not_404_message {
    font-size: 1.1rem;
  }

  .not_404_links,
  .not_404_note {
    font-size: 0.95rem;
  }

  .view_content {
    flex-direction: column;
  }

  .view_main,
  .view_sidebar {
    flex: 1;
    width: 100%;
  }

  .view_sidebar {
    position: relative;
    top: 0px;
  }

  .content ul.ulflex {
    margin-bottom: -10px;
  }
  .sidebar-toggle {
    display: flex;
    background-color: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0px;
    align-items: center;
    gap: 0px;
    justify-content: center;
  }
  #sidebar {
    display: none;
    width: calc(100% - 20px);
    position: fixed;
    padding: 1em 1em 1em 0;
    top: 90px;
    height: auto;
    background-color: var(--background);
    z-index: 9999;
    overflow-y: auto;
    max-height: calc(100vh - 90px);
  }
  .close-svg {
    display: none;
  }

  .channel-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .channel-card h2 {
    font-size: 18px;
  }

  .channel-info span {
    font-size: 14px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .status {
    margin-top: 10px;
  }

  .video-card {
    min-width: 180px;
    max-width: 180px;
  }

  .avatar {
    width: 40px;
    height: 40px;
  }

  .filter-container {
    flex-direction: column;
  }

  .filter-container-side1,
  .filter-container-side2 {
    width: 100%;
  }

  .filter-container-side2 {
    justify-content: space-between;
  }

  .filter-container button,
  .filter-container select {
    flex: 1;

    justify-content: center;
  }
}

@media (min-width: 992px) {
  .filter-links-lang {
    grid-template-columns: repeat(3, 1fr);
  }
  .filter-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Pagination Styles ===== */
.pagination-wrapper {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #000;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(.disabled) {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
    transform: translateY(-1px);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-btn svg {
    width: 18px;
    height: 18px;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #000;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-number:hover:not(.active) {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
}

.pagination-number.active {
    background: #ff0000;
    border-color: #ff0000;
    color: #fff;
    font-weight: 600;
    cursor: default;
}

.pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: #9ca3af;
    font-weight: 600;
}

.pagination-info {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

/* ===== Responsive Pagination ===== */
@media (max-width: 640px) {
    .pagination {
        gap: 6px;
    }

    .pagination-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .pagination-number {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 13px;
    }

    .pagination-dots {
        min-width: 30px;
        height: 36px;
    }

    .pagination-info {
        font-size: 13px;
    }
}


.alert-warning {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 2px solid #fb923c;
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    text-align: center;
}

.alert-warning h3 {
    color: #ea580c;
    margin: 0 0 15px 0;
    font-size: 24px;
}

.alert-warning p {
    color: #7c2d12;
    margin: 10px 0;
    font-size: 16px;
}

.country-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.country-suggestion-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #fb923c;
    border-radius: 8px;
    color: #ea580c;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 14px;
}

.country-suggestion-btn:hover {
    background: #ea580c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

@media (max-width: 640px) {
    .country-suggestions {
        flex-direction: column;
    }
    
    .country-suggestion-btn {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════ */
/* MERGED: Tool-specific styles (scoped, no global overrides)    */
/* ═══════════════════════════════════════════════════════════════ */


/* ═══ FROM: index_dashboard.php ═══ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* Top Bar */
.db-top{height:56px;background:#0d1117;border-bottom:1px solid rgba(255,255,255,.06);display:flex;align-items:center;justify-content:space-between;padding:0 20px;position:fixed;top:0;left:0;right:0;z-index:100}
.db-top-left{display:flex;align-items:center;gap:12px}
.db-top-burger{width:36px;height:36px;border-radius:8px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06);color:#9CA3AF;font-size:15px;cursor:pointer;display:none;align-items:center;justify-content:center}
.db-top-logo{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:800;color:#fff}
.db-top-logo img{height:28px;width:auto}
.db-top-logo span{background:rgba(108,60,225,.12);color:#a78bfa;font-size:10px;font-weight:700;padding:2px 8px;border-radius:4px}
.db-top-right{display:flex;align-items:center;gap:12px}
.db-top-home{padding:6px 14px;border-radius:8px;font-size:12px;font-weight:600;color:#9CA3AF;border:1px solid rgba(255,255,255,.06);transition:.2s;display:flex;align-items:center;gap:5px}
.db-top-home:hover{color:#fff;border-color:rgba(108,60,225,.3)}

/* Notification bell */
.db-bell{position:relative;width:36px;height:36px;border-radius:8px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06);display:flex;align-items:center;justify-content:center;cursor:pointer;color:#9CA3AF;font-size:14px;transition:.2s}
.db-bell:hover{color:#fff;border-color:rgba(108,60,225,.3)}
.db-bell-count{position:absolute;top:-4px;right:-4px;background:#ff4d4f;color:#fff;font-size:8px;font-weight:800;width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid #0d1117}
.db-bell-drop{display:none;position:absolute;top:42px;right:0;background:#111827;border:1px solid rgba(255,255,255,.08);border-radius:10px;width:320px;max-height:360px;overflow-y:auto;box-shadow:0 10px 40px rgba(0,0,0,.5);z-index:200}
.db-bell-drop.show{display:block}
.db-bell-head{padding:10px 14px;border-bottom:1px solid rgba(255,255,255,.06);display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:700;color:#fff}
.db-bell-head a{font-size:10px;color:#a78bfa;font-weight:600}
.db-notif{padding:10px 14px;border-bottom:1px solid rgba(255,255,255,.03);transition:.1s}
.db-notif:hover{background:rgba(255,255,255,.02)}
.db-notif:last-child{border:none}
.db-notif-title{font-size:12px;font-weight:600;color:#E5E7EB;margin-bottom:2px;display:flex;align-items:center;gap:6px}
.db-notif-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}
.db-notif-dot.info{background:#3b82f6}.db-notif-dot.success{background:#10B981}.db-notif-dot.warning{background:#ff9f43}.db-notif-dot.danger{background:#ff4d4f}
.db-notif-msg{font-size:11px;color:#6B7280;line-height:1.4}
.db-notif-time{font-size:9px;color:#4B5563;margin-top:3px}
.db-notif-empty{padding:30px;text-align:center;color:#4B5563;font-size:12px}

/* Avatar & dropdown */
.db-top-avatar{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#6C3CE1,#8B5CF6);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;color:#fff;cursor:pointer;position:relative}
.db-top-dropdown{display:none;position:absolute;top:42px;right:0;background:#111827;border:1px solid rgba(255,255,255,.08);border-radius:10px;min-width:180px;box-shadow:0 10px 40px rgba(0,0,0,.5);overflow:hidden;z-index:200}
.db-top-dropdown.show{display:block}
.db-top-dd-item{display:flex;align-items:center;gap:8px;padding:10px 16px;font-size:12px;color:#9CA3AF;transition:.15s}
.db-top-dd-item:hover{background:rgba(255,255,255,.04);color:#fff}
.db-top-dd-item.danger{color:#f87171}
.db-top-dd-divider{height:1px;background:rgba(255,255,255,.06)}

/* Sidebar */
.db-side{width:250px;background:#0d1117;border-right:1px solid rgba(255,255,255,.06);position:fixed;top:56px;bottom:0;left:0;overflow-y:auto;padding:16px 0;z-index:90;transition:transform .25s}
.db-side::-webkit-scrollbar{width:3px}.db-side::-webkit-scrollbar-thumb{background:rgba(255,255,255,.06);border-radius:3px}
.db-side-label{font-size:9px;font-weight:700;color:#4B5563;text-transform:uppercase;letter-spacing:1.2px;padding:12px 18px 6px}
.db-side-nav{padding:0 8px}
.db-nav{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:8px;color:#9CA3AF;font-size:13px;font-weight:500;transition:.15s;margin-bottom:1px}
.db-nav:hover{background:rgba(255,255,255,.04);color:#E5E7EB}
.db-nav.on{background:rgba(108,60,225,.1);color:#a78bfa;font-weight:600}
.db-nav i{width:18px;text-align:center;font-size:13px;flex-shrink:0}
.db-nav .badge{margin-left:auto;background:rgba(108,60,225,.15);color:#a78bfa;font-size:9px;font-weight:700;padding:2px 7px;border-radius:4px}
.db-nav .new-badge{margin-left:auto;background:rgba(16,185,129,.12);color:#6ee7b7;font-size:8px;font-weight:700;padding:2px 6px;border-radius:4px}
.db-nav .lock-badge{margin-left:auto;font-size:10px;color:#4B5563}
.db-nav-divider{height:1px;background:rgba(255,255,255,.04);margin:4px 8px}
.db-side-plan{margin:12px 12px 0;padding:14px;background:linear-gradient(135deg,rgba(108,60,225,.1),rgba(108,60,225,.03));border:1px solid rgba(108,60,225,.15);border-radius:10px;text-align:center}
.db-side-plan p{font-size:11px;color:#9CA3AF;margin-bottom:8px}
.db-side-plan a{display:inline-flex;align-items:center;gap:5px;padding:6px 16px;background:linear-gradient(135deg,#6C3CE1,#5228B5);color:#fff;border-radius:6px;font-size:11px;font-weight:700;transition:.2s}
.db-side-plan a:hover{box-shadow:0 4px 14px rgba(108,60,225,.3)}

/* Main */
.db-main{margin-left:250px;margin-top:56px;padding:24px 28px;min-height:calc(100vh - 56px)}

/* Components */
.db-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;flex-wrap:wrap;gap:10px}
.db-header h1{font-size:22px;font-weight:800;color:#fff}
.db-header-sub{font-size:12px;color:#6B7280;margin-top:2px}

.db-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin-bottom:24px}
.db-stat{background:#111827;border:1px solid rgba(255,255,255,.06);border-radius:12px;padding:18px;transition:.2s}
.db-stat:hover{border-color:rgba(108,60,225,.15);transform:translateY(-2px)}
.db-stat-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:15px;margin-bottom:10px}
.db-stat-icon.purple{background:rgba(108,60,225,.1);color:#a78bfa}
.db-stat-icon.green{background:rgba(16,185,129,.1);color:#6ee7b7}
.db-stat-icon.yellow{background:rgba(245,158,11,.1);color:#fcd34d}
.db-stat-icon.blue{background:rgba(59,130,246,.1);color:#93c5fd}

.db-card{background:#111827;border:1px solid rgba(255,255,255,.06);border-radius:14px;padding:24px;margin-bottom:16px}
.db-card-title{font-size:15px;font-weight:700;color:#fff;margin-bottom:16px;display:flex;align-items:center;gap:8px}
.db-card-title i{color:#6C3CE1;font-size:14px}

.db-tools{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
.db-tool{display:flex;flex-direction:column;align-items:center;gap:8px;padding:18px 12px;background:#0d1117;border:1px solid rgba(255,255,255,.04);border-radius:12px;font-size:11px;font-weight:600;text-align:center;transition:.2s;color:#E5E7EB}
.db-tool:hover{border-color:rgba(108,60,225,.25);transform:translateY(-2px);color:#fff}
.db-tool-icon{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:18px}

.db-activity{display:flex;flex-direction:column}
.db-act-item{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.04)}
.db-act-item:last-child{border:none}
.db-act-dot{width:8px;height:8px;border-radius:50%;margin-top:5px;flex-shrink:0}
.db-act-text{font-size:13px;color:#E5E7EB}.db-act-time{font-size:11px;color:#4B5563;margin-top:2px}

.db-fg{margin-bottom:14px}
.db-fg label{display:block;font-size:11px;font-weight:600;color:#6B7280;margin-bottom:5px;text-transform:uppercase;letter-spacing:.4px}
.db-fg input{width:100%;padding:11px 14px;background:#0d1117;border:1px solid rgba(255,255,255,.06);border-radius:8px;color:#fff;font-size:13px;font-family:inherit;outline:none;transition:.2s}
.db-fg input:focus{border-color:#6C3CE1;box-shadow:0 0 0 3px rgba(108,60,225,.08)}
.db-fg input:read-only{opacity:.5;cursor:not-allowed}
.db-fg-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}

.db-btn{padding:10px 22px;background:linear-gradient(135deg,#6C3CE1,#5228B5);color:#fff;border:none;border-radius:8px;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit;transition:.2s;display:inline-flex;align-items:center;gap:6px}
.db-btn:hover{box-shadow:0 4px 16px rgba(108,60,225,.35);transform:translateY(-1px)}

.db-msg{padding:10px 14px;border-radius:8px;font-size:12px;margin-bottom:12px;display:flex;align-items:center;gap:6px}
.db-msg.ok{background:rgba(16,185,129,.08);border:1px solid rgba(16,185,129,.15);color:#6ee7b7}
.db-msg.err{background:rgba(239,68,68,.08);border:1px solid rgba(239,68,68,.15);color:#f87171}

.db-welcome{background:linear-gradient(135deg,rgba(108,60,225,.12),rgba(139,92,246,.04));border:1px solid rgba(108,60,225,.2);border-radius:14px;padding:22px;margin-bottom:20px;display:flex;align-items:center;gap:14px}
.db-welcome-icon{font-size:30px;flex-shrink:0}
.db-welcome h3{font-size:16px;font-weight:700;color:#fff;margin-bottom:2px}
.db-welcome p{font-size:12px;color:#9CA3AF}

.db-plan-banner{background:linear-gradient(135deg,rgba(108,60,225,.1),rgba(108,60,225,.02));border:1px solid rgba(108,60,225,.15);border-radius:12px;padding:20px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:16px}

/* Notification banner in overview */
.db-notif-banner{background:#111827;border:1px solid rgba(255,255,255,.06);border-radius:12px;padding:14px 18px;margin-bottom:16px;display:flex;align-items:flex-start;gap:10px}
.db-notif-banner .nb-dot{width:8px;height:8px;border-radius:50%;margin-top:5px;flex-shrink:0}
.db-notif-banner .nb-content{flex:1}
.db-notif-banner .nb-title{font-size:13px;font-weight:600;color:#fff}
.db-notif-banner .nb-msg{font-size:11px;color:#9CA3AF;margin-top:2px}
.db-notif-banner .nb-time{font-size:9px;color:#4B5563;margin-top:4px}

.db-nav.locked{opacity:.5}.db-nav.locked:hover{opacity:.7}
.db-upgrade-modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:9999;align-items:center;justify-content:center}
.db-upgrade-modal.show{display:flex}
.db-upgrade-box{background:#111827;border:1px solid rgba(108,60,225,.2);border-radius:16px;padding:32px;text-align:center;max-width:380px;width:90%;box-shadow:0 20px 60px rgba(0,0,0,.4)}
.db-upgrade-box .ub-icon{width:64px;height:64px;border-radius:16px;background:rgba(108,60,225,.1);display:flex;align-items:center;justify-content:center;margin:0 auto 16px;font-size:24px;color:#a78bfa}
.db-upgrade-box h3{font-size:18px;font-weight:800;color:#fff;margin-bottom:6px}
.db-upgrade-box p{font-size:13px;color:#6B7280;margin-bottom:20px;line-height:1.5}
.db-upgrade-box .ub-plan{display:inline-block;background:rgba(108,60,225,.12);color:#a78bfa;font-size:11px;font-weight:700;padding:3px 12px;border-radius:6px;margin-bottom:12px}
.db-upgrade-box .ub-btns{display:flex;gap:8px;justify-content:center}
.db-upgrade-box .ub-close{padding:10px 20px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);color:#9CA3AF;font-family:inherit}
.db-upgrade-box .ub-close:hover{background:rgba(255,255,255,.1);color:#fff}

/* Mobile */
.db-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:85}
.db-overlay.open{display:block}
@media(max-width:768px){
    .db-top-burger{display:flex}.db-side{transform:translateX(-100%)}.db-side.open{transform:translateX(0)}
    .db-main{margin-left:0;padding:16px}.db-stats{grid-template-columns:1fr 1fr}.db-fg-row{grid-template-columns:1fr}
    .db-tools{grid-template-columns:1fr 1fr 1fr}.db-top-home span{display:none}.db-bell-drop{width:280px;right:-40px}
}
@media(max-width:420px){.db-tools{grid-template-columns:1fr 1fr}}

/* ═══ FROM: index_dashboard.php ═══ */
/* Tabs */
.ex-tabs{display:flex;gap:4px;background:rgba(255,255,255,.03);border-radius:12px;padding:4px;margin-bottom:20px;overflow-x:auto;border:1px solid rgba(255,255,255,.05);-webkit-overflow-scrolling:touch}
.ex-tab{padding:10px 18px;font-size:11px;font-weight:600;color:#6B7280;cursor:pointer;border-radius:8px;white-space:nowrap;transition:.2s;display:flex;align-items:center;gap:5px}
.ex-tab:hover{color:#fff;background:rgba(255,255,255,.05)}
.ex-tab.on{background:linear-gradient(135deg,#6C3CE1,#8b5cf6);color:#fff}
.ex-tab.locked{opacity:.35;cursor:not-allowed}
.ex-tab .lk{font-size:8px;color:#f59e0b;margin-left:2px}

/* Algrow-style Channel Card */
.ex-list{display:flex;flex-direction:column;gap:16px}
.ex-card{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);border-radius:16px;padding:20px;transition:.2s}
.ex-card:hover{border-color:rgba(108,60,225,.25);background:rgba(255,255,255,.045)}

/* Card Header: Avatar + Name + Badge */
.ex-hd{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.ex-av{width:52px;height:52px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.08);flex-shrink:0}
.ex-av-placeholder{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800;color:#fff;flex-shrink:0}
.ex-info{flex:1;min-width:0}
.ex-nm{font-size:16px;font-weight:700;color:#fff;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ex-nm a{color:#fff;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ex-nm a:hover{color:#a78bfa}
.ex-nm .yt-link{color:#6B7280;font-size:12px;transition:.2s}
.ex-nm .yt-link:hover{color:#a78bfa}
.ex-meta{font-size:12px;color:#6B7280;margin-top:3px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ex-meta .dot{width:3px;height:3px;border-radius:50%;background:#4B5563;display:inline-block}
.ex-meta .money{color:#4ade80;font-size:14px}
.ex-badge{padding:5px 14px;border-radius:6px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;flex-shrink:0;margin-left:auto}
.ex-badge.active{background:rgba(74,222,128,.12);color:#4ade80;border:1px solid rgba(74,222,128,.2)}
.ex-badge.trending{background:rgba(239,68,68,.12);color:#ef4444;border:1px solid rgba(239,68,68,.2)}

/* Stats - Full width stacked like Algrow */
.ex-stats{display:flex;flex-direction:column;gap:8px;margin-bottom:4px}
.ex-st{background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.05);border-radius:12px;padding:14px 16px;display:flex;align-items:center;gap:12px}
.ex-st .ic{font-size:18px;color:#4B5563;width:22px;text-align:center;flex-shrink:0}
.ex-st .vl{font-size:20px;font-weight:800;color:#fff}
.ex-st .lb{font-size:12px;color:#4B5563;text-transform:uppercase;letter-spacing:.3px;margin-left:6px;font-weight:500}

/* Recent Videos */
.ex-vids-label{font-size:12px;font-weight:600;color:#9CA3AF;margin-bottom:10px;display:flex;align-items:center;gap:6px}
.ex-vids-label i{color:#f59e0b}
.ex-vids{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}
.ex-vids::-webkit-scrollbar{height:4px}.ex-vids::-webkit-scrollbar-thumb{background:rgba(255,255,255,.1);border-radius:2px}
.ex-vid{flex-shrink:0;width:180px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.05);border-radius:10px;overflow:hidden;transition:.2s;cursor:pointer;text-decoration:none}
.ex-vid:hover{border-color:rgba(108,60,225,.3);transform:translateY(-2px)}
.ex-vid-thumb{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.ex-vid-info{padding:8px 10px}
.ex-vid-title{font-size:11px;font-weight:600;color:#e5e7eb;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.3}
.ex-vid-views{font-size:10px;color:#6B7280;margin-top:3px}

/* Search & Filters */
.ex-search{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}
.ex-search input,.ex-search select{padding:11px 14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07);border-radius:10px;color:#fff;font-size:12px;font-family:inherit;outline:none;transition:.2s}
.ex-search input::placeholder{color:#4B5563}
.ex-search input:focus,.ex-search select:focus{border-color:#6C3CE1;box-shadow:0 0 0 3px rgba(108,60,225,.08)}
.ex-search input{flex:1;min-width:200px}
.ex-search select option{background:#1a1a2e;color:#fff}
.ex-search-btn{padding:11px 20px;background:linear-gradient(135deg,#6C3CE1,#8b5cf6);border:none;border-radius:10px;color:#fff;font-size:12px;font-weight:600;cursor:pointer;font-family:inherit;display:flex;align-items:center;gap:5px;transition:.2s}
.ex-search-btn:hover{box-shadow:0 4px 12px rgba(108,60,225,.3)}

/* Categories */
.ex-cats{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:20px}
.ex-cat{padding:7px 16px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06);border-radius:20px;color:#9CA3AF;font-size:11px;font-weight:600;cursor:pointer;transition:.2s;font-family:inherit}
.ex-cat:hover,.ex-cat.on{background:linear-gradient(135deg,#6C3CE1,#8b5cf6);color:#fff;border-color:transparent}

/* Empty & Loading */
.ex-empty{text-align:center;padding:60px 20px;color:#4B5563}
.ex-empty i{font-size:44px;display:block;margin-bottom:12px;color:#374151}

/* Pagination */
.ex-pg{display:flex;gap:4px;justify-content:center;margin-top:18px;flex-wrap:wrap}
.ex-pg button{padding:7px 14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06);border-radius:8px;color:#9CA3AF;font-size:11px;font-weight:500;cursor:pointer;font-family:inherit;transition:.15s}
.ex-pg button:hover{background:rgba(255,255,255,.08);color:#fff}
.ex-pg button.on{background:#6C3CE1;color:#fff;border-color:#6C3CE1}
.ex-pg .info{font-size:10px;color:#4B5563;padding:7px 10px}

/* Responsive */
@media(max-width:640px){
    .ex-stats{grid-template-columns:1fr}
    .ex-hd{flex-wrap:wrap}
    .ex-badge{margin-left:0;margin-top:4px}
    .ex-search{flex-direction:column}
    .ex-search input,.ex-search select{width:100%}
    .ex-nm{font-size:14px}
    .ex-vid{width:150px}
    .ex-card{padding:14px}
}

/* ═══ FROM: cb.php ═══ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;600;700&display=swap');

.rc *{box-sizing:border-box;margin:0;padding:0}
.rc{--p:#6C3CE1;--p2:#5228B5;--p3:rgba(108,60,225,.08);--g:#10B981;--r:#EF4444;--y:#F59E0B;--bg:#0B0F1A;--c1:#111827;--c2:#1a1f2e;--bd:rgba(255,255,255,.06);--t1:#fff;--t2:#E5E7EB;--t3:#6B7280;font-family:'Inter',sans-serif;color:var(--t2);line-height:1.6}
.rc h1,.rc h2,.rc h3,.rc h4{font-family:'Inter',sans-serif;color:var(--t1)}

/* ── Urgency Bar ── */
.rc-urgency{background:linear-gradient(90deg,#dc2626,#b91c1c,#dc2626);background-size:200% 100%;animation:urgShift 3s ease infinite;padding:10px 20px;text-align:center;font-size:13px;font-weight:600;color:#fff;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
@keyframes urgShift{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
.rc-urgency .timer{font-family:'JetBrains Mono',monospace;background:rgba(0,0,0,.3);padding:2px 10px;border-radius:6px;font-size:14px;letter-spacing:1px}

/* ── Hero ── */
.rc-hero{position:relative;padding:60px 20px 50px;text-align:center;overflow:hidden;background:radial-gradient(ellipse at 50% -10%,rgba(108,60,225,.12) 0%,transparent 60%)}
.rc-hero-badge{display:inline-flex;align-items:center;gap:8px;background:var(--p3);border:1px solid rgba(108,60,225,.2);padding:6px 16px;border-radius:50px;font-size:12px;font-weight:600;color:var(--p);margin-bottom:20px}
.rc-hero-badge .dot{width:7px;height:7px;background:var(--g);border-radius:50%;animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(16,185,129,.4)}50%{opacity:.7;box-shadow:0 0 0 6px transparent}}
.rc-hero h1{font-size:clamp(28px,5vw,48px);font-weight:900;line-height:1.1;margin-bottom:16px;color:#fff}
.rc-hero h1 span{background:linear-gradient(135deg,#a78bfa,#7c3aed);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.rc-hero>p{font-size:16px;color:var(--t3);max-width:560px;margin:0 auto 28px}
.rc-hero-btns{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-bottom:0}

/* ── Buttons ── */
.rc-btn{display:inline-flex;align-items:center;gap:8px;padding:13px 28px;border-radius:10px;font-size:14px;font-weight:700;text-decoration:none;border:none;cursor:pointer;transition:all .2s;font-family:'Inter',sans-serif}
.rc-btn-p{background:linear-gradient(135deg,var(--p),var(--p2));color:#fff;box-shadow:0 4px 16px rgba(108,60,225,.3)}
.rc-btn-p:hover{box-shadow:0 6px 24px rgba(108,60,225,.45);transform:translateY(-2px);color:#fff;text-decoration:none}
.rc-btn-o{background:transparent;color:var(--t2);border:1px solid var(--bd)}
.rc-btn-o:hover{border-color:var(--p);color:var(--p);text-decoration:none}

/* ── Stats Counter ── */
.rc-stats{display:flex;justify-content:center;gap:0;flex-wrap:wrap;border-top:1px solid var(--bd);border-bottom:1px solid var(--bd);margin:0;padding:0}
.rc-stat{flex:1;min-width:140px;padding:24px 16px;text-align:center;border-right:1px solid var(--bd)}
.rc-stat:last-child{border-right:none}
.rc-stat .num{font-family:'JetBrains Mono',monospace;font-size:28px;font-weight:800;color:#fff}
.rc-stat .num .accent{color:var(--p)}
.rc-stat .lbl{font-size:11px;color:var(--t3);text-transform:uppercase;letter-spacing:1px;font-weight:600;margin-top:2px}

/* ── Trust Bar ── */
.rc-trust{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;padding:20px;background:var(--c1);border-bottom:1px solid var(--bd)}
.rc-trust-item{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:var(--t3)}
.rc-trust-item i{font-size:16px;color:var(--g)}

/* ── Section ── */
.rc-sec{padding:50px 20px;max-width:1000px;margin:0 auto}
.rc-sec-title{font-size:clamp(22px,3.5vw,32px);font-weight:800;text-align:center;margin-bottom:8px}
.rc-sec-sub{text-align:center;color:var(--t3);font-size:14px;margin-bottom:36px;max-width:500px;margin-left:auto;margin-right:auto}

/* ── Live Checker ── */
.rc-checker{max-width:640px;margin:0 auto;background:var(--c1);border:1px solid var(--bd);border-radius:16px;padding:28px;position:relative;overflow:hidden}
.rc-checker::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--p),var(--g),var(--p))}
.rc-checker-title{font-size:16px;font-weight:800;color:#fff;margin-bottom:4px;display:flex;align-items:center;gap:8px}
.rc-checker-desc{font-size:12px;color:var(--t3);margin-bottom:16px}
.rc-checker-bar{display:flex;gap:8px}
.rc-checker-bar input{flex:1;padding:12px 16px;background:var(--c2);border:1px solid var(--bd);border-radius:10px;color:#fff;font-size:13px;font-family:'Inter',sans-serif;outline:none;transition:.2s}
.rc-checker-bar input:focus{border-color:var(--p);box-shadow:0 0 0 3px rgba(108,60,225,.1)}
.rc-checker-bar button{padding:12px 24px;background:linear-gradient(135deg,var(--p),var(--p2));color:#fff;border:none;border-radius:10px;font-size:13px;font-weight:700;cursor:pointer;font-family:'Inter',sans-serif;transition:.2s;white-space:nowrap;display:flex;align-items:center;gap:6px}
.rc-checker-bar button:hover{box-shadow:0 4px 16px rgba(108,60,225,.35)}
.rc-checker-bar button.loading{opacity:.7;pointer-events:none}
.rc-checker-bar button .spin{display:none;width:14px;height:14px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:sp .5s linear infinite}
.rc-checker-bar button.loading .spin{display:block}
.rc-checker-bar button.loading .btxt{display:none}
@keyframes sp{to{transform:rotate(360deg)}}
.rc-chk-result{margin-top:16px;display:none}
.rc-chk-result.show{display:block;animation:fadeUp .3s ease}
@keyframes fadeUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.rc-chk-card{background:var(--c2);border-radius:12px;padding:20px;border:1px solid var(--bd)}
.rc-chk-status{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:6px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}
.rc-chk-status.terminated{background:rgba(239,68,68,.1);color:#f87171;border:1px solid rgba(239,68,68,.2)}
.rc-chk-status.active{background:rgba(16,185,129,.1);color:#6ee7b7;border:1px solid rgba(16,185,129,.2)}
.rc-chk-status.suspended{background:rgba(245,158,11,.1);color:#fcd34d;border:1px solid rgba(245,158,11,.2)}
.rc-chk-status.unknown{background:rgba(107,114,128,.1);color:#9ca3af;border:1px solid rgba(107,114,128,.2)}
.rc-chk-info{margin-top:14px;display:flex;flex-direction:column;gap:8px}
.rc-chk-row{display:flex;justify-content:space-between;font-size:13px;padding:6px 0;border-bottom:1px solid var(--bd)}
.rc-chk-row:last-child{border:none}
.rc-chk-row .k{color:var(--t3);font-weight:500}.rc-chk-row .v{color:#fff;font-weight:600;font-family:'JetBrains Mono',monospace;font-size:12px}
.rc-chk-cta{margin-top:14px;padding:14px;background:linear-gradient(135deg,rgba(108,60,225,.08),rgba(108,60,225,.03));border:1px solid rgba(108,60,225,.15);border-radius:10px;text-align:center}
.rc-chk-cta p{font-size:12px;color:var(--t3);margin-bottom:8px}

/* ── Steps ── */
.rc-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.rc-step{background:var(--c1);border:1px solid var(--bd);border-radius:14px;padding:24px 20px;transition:.25s;position:relative}
.rc-step:hover{border-color:rgba(108,60,225,.2);transform:translateY(-3px);box-shadow:0 8px 30px rgba(0,0,0,.2)}
.rc-step-num{width:36px;height:36px;border-radius:10px;background:var(--p3);color:var(--p);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:16px;margin-bottom:14px}
.rc-step h3{font-size:15px;font-weight:700;margin-bottom:6px}
.rc-step p{font-size:13px;color:var(--t3);line-height:1.6}

/* ── Reasons ── */
.rc-reasons{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}
.rc-reason{background:var(--c1);border:1px solid var(--bd);border-radius:12px;padding:20px 16px;text-align:center;transition:.2s}
.rc-reason:hover{border-color:rgba(108,60,225,.2)}
.rc-reason-icon{width:42px;height:42px;border-radius:10px;background:var(--p3);display:flex;align-items:center;justify-content:center;margin:0 auto 10px;font-size:18px;color:var(--p)}
.rc-reason h4{font-size:13px;font-weight:700;margin-bottom:4px}
.rc-reason p{font-size:11px;color:var(--t3)}

/* ── Pricing ── */
.rc-pricing{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;max-width:700px;margin:0 auto}
.rc-price{background:var(--c1);border:1px solid var(--bd);border-radius:16px;padding:28px 24px;transition:.2s;position:relative}
.rc-price:hover{transform:translateY(-3px)}
.rc-price.pop{border-color:var(--p);background:linear-gradient(180deg,rgba(108,60,225,.06) 0%,var(--c1) 100%);box-shadow:0 0 40px rgba(108,60,225,.1)}
.rc-price.pop::before{content:'MOST POPULAR';position:absolute;top:-11px;left:50%;transform:translateX(-50%);background:linear-gradient(135deg,var(--p),var(--p2));color:#fff;font-size:10px;font-weight:700;letter-spacing:1px;padding:3px 14px;border-radius:20px}
.rc-price-tag{font-size:11px;font-weight:700;color:var(--p);text-transform:uppercase;letter-spacing:1px;margin-bottom:6px}
.rc-price-name{font-size:20px;font-weight:800;margin-bottom:4px}
.rc-price-desc{font-size:13px;color:var(--t3);margin-bottom:16px}
.rc-price-amt{font-size:36px;font-weight:900;color:#fff;margin-bottom:2px}
.rc-price-amt span{font-size:14px;font-weight:500;color:var(--t3)}
.rc-price-note{font-size:12px;color:var(--t3);margin-bottom:20px}
.rc-price ul{list-style:none;padding:0;margin:0 0 20px}
.rc-price li{display:flex;align-items:flex-start;gap:8px;padding:7px 0;font-size:13px;border-bottom:1px solid var(--bd)}
.rc-price li:last-child{border:none}
.rc-price li i{color:var(--g);margin-top:3px;flex-shrink:0;font-size:12px}

/* ── Form ── */
.rc-form-wrap{max-width:640px;margin:0 auto;background:var(--c1);border:1px solid var(--bd);border-radius:16px;padding:32px 28px}
.rc-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.rc-form-full{grid-column:1/-1}
.rc-fg{margin-bottom:0}
.rc-fg label{display:block;font-size:12px;font-weight:600;color:var(--t3);margin-bottom:5px;text-transform:uppercase;letter-spacing:.3px}
.rc-fg input,.rc-fg select,.rc-fg textarea{width:100%;padding:11px 14px;background:var(--c2);border:1px solid var(--bd);border-radius:8px;color:#fff;font-size:13px;font-family:'Inter',sans-serif;outline:none;transition:.2s}
.rc-fg input:focus,.rc-fg select:focus,.rc-fg textarea:focus{border-color:var(--p);box-shadow:0 0 0 3px rgba(108,60,225,.08)}
.rc-fg textarea{resize:vertical;min-height:80px}
.rc-fg select option{background:var(--c2)}

/* ── Success ── */
.rc-success{text-align:center;padding:36px 20px;background:var(--c1);border:1px solid rgba(16,185,129,.2);border-radius:16px;max-width:480px;margin:30px auto}
.rc-success .ico{width:56px;height:56px;border-radius:50%;background:rgba(16,185,129,.1);color:var(--g);display:flex;align-items:center;justify-content:center;margin:0 auto 14px;font-size:24px}
.rc-success h3{font-size:20px;font-weight:800;margin-bottom:6px}
.rc-success p{font-size:13px;color:var(--t3)}

/* ── FAQ ── */
.rc-faq{max-width:640px;margin:0 auto}
.rc-faq-item{background:var(--c1);border:1px solid var(--bd);border-radius:10px;margin-bottom:8px;overflow:hidden}
.rc-faq-q{width:100%;padding:16px 18px;border:none;background:none;color:#fff;font-size:14px;font-weight:600;text-align:left;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-family:'Inter',sans-serif;transition:.2s}
.rc-faq-q:hover{color:var(--p)}
.rc-faq-q .arrow{transition:transform .2s;font-size:11px;color:var(--t3)}
.rc-faq-q.active .arrow{transform:rotate(180deg);color:var(--p)}
.rc-faq-a{padding:0 18px;max-height:0;overflow:hidden;transition:max-height .3s,padding .3s;color:var(--t3);font-size:13px;line-height:1.7}
.rc-faq-a.open{max-height:300px;padding:0 18px 16px}

/* ── CTA ── */
.rc-cta{text-align:center;padding:50px 20px;background:linear-gradient(180deg,transparent,rgba(108,60,225,.04));border-top:1px solid var(--bd)}
.rc-cta h2{font-size:26px;font-weight:800;margin-bottom:8px}
.rc-cta p{color:var(--t3);margin-bottom:20px;font-size:14px}

/* ── WhatsApp Float ── */
.rc-wa{position:fixed;bottom:24px;right:24px;z-index:999;display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.rc-wa-btn{width:56px;height:56px;border-radius:50%;background:#25D366;color:#fff;display:flex;align-items:center;justify-content:center;font-size:26px;box-shadow:0 4px 20px rgba(37,211,102,.4);cursor:pointer;transition:.2s;border:none;text-decoration:none}
.rc-wa-btn:hover{transform:scale(1.1);box-shadow:0 6px 30px rgba(37,211,102,.5)}
.rc-wa-tooltip{background:var(--c1);border:1px solid var(--bd);border-radius:10px;padding:10px 14px;font-size:12px;color:var(--t2);box-shadow:0 4px 20px rgba(0,0,0,.3);max-width:200px;display:none}
.rc-wa:hover .rc-wa-tooltip{display:block}

@media(max-width:640px){
    .rc-form-grid{grid-template-columns:1fr}
    .rc-stat{min-width:100px;padding:16px 10px}
    .rc-stat .num{font-size:22px}
    .rc-pricing{grid-template-columns:1fr}
    .rc-checker-bar{flex-direction:column}
    .rc-checker-bar button{justify-content:center}
    .rc-trust{gap:14px;padding:14px}
    .rc-wa{bottom:16px;right:16px}
}

/* ═══ FROM: list_video_extractor.php ═══ */
/* ═══ VIDEO EXTRACTOR — FRONTEND ═══ */
.vx-wrap{max-width:820px;margin:0 auto;padding:0 4px}

/* Hero */
.vx-hero{text-align:center;padding:40px 20px 30px;margin-bottom:24px}
.vx-hero-icon{width:64px;height:64px;border-radius:16px;background:linear-gradient(135deg,#ff0000,#cc0000);display:flex;align-items:center;justify-content:center;margin:0 auto 16px;box-shadow:0 8px 25px rgba(255,0,0,.2)}
.vx-hero-icon i{color:#fff;font-size:1.6rem}
.vx-hero p{color:#8b8da8;font-size:.82rem;max-width:480px;margin:10px auto 0;line-height:1.5}

/* Input */
.vx-input-card{background:linear-gradient(145deg,#1a1b2e,#16172b);border-radius:16px;border:1px solid rgba(255,255,255,.04);padding:20px;margin-bottom:24px}
.vx-input-row{display:flex;gap:10px}
.vx-input-row input{flex:1;background:#111225;border:1.5px solid rgba(255,255,255,.06);border-radius:12px;padding:14px 18px;color:#e7e7ff;font-size:.88rem;transition:border-color .2s}
.vx-input-row input:focus{outline:none;border-color:#ff0000;box-shadow:0 0 0 3px rgba(255,0,0,.08)}
.vx-input-row input::placeholder{color:#444}
.vx-btn-fetch{background:linear-gradient(135deg,#ff0000,#cc0000);color:#fff;border:none;border-radius:12px;padding:14px 28px;font-weight:700;font-size:.85rem;cursor:pointer;display:flex;align-items:center;gap:6px;transition:all .2s;white-space:nowrap}
.vx-btn-fetch:hover{transform:translateY(-1px);box-shadow:0 6px 20px rgba(255,0,0,.25)}
.vx-btn-fetch:disabled{opacity:.5;transform:none;cursor:not-allowed}
.vx-hint{display:flex;align-items:center;gap:16px;margin-top:10px;flex-wrap:wrap}
.vx-hint span{font-size:.64rem;color:#444;display:flex;align-items:center;gap:3px}
.vx-hint span i{font-size:.55rem;color:#555}

/* Loading */
.vx-loading{display:none;text-align:center;padding:50px 20px}
.vx-spinner{width:44px;height:44px;border:3px solid rgba(255,255,255,.04);border-top-color:#ff0000;border-radius:50%;animation:vxSpin .7s linear infinite;margin:0 auto 14px}
@keyframes vxSpin{to{transform:rotate(360deg)}}
.vx-loading-text{color:#666;font-size:.82rem}

/* Error */
.vx-error{display:none;text-align:center;padding:36px 20px;background:linear-gradient(145deg,#1a1b2e,#16172b);border-radius:16px;border:1px solid rgba(255,60,60,.08);margin-bottom:20px}
.vx-error-icon{width:48px;height:48px;border-radius:50%;background:rgba(255,60,60,.08);display:flex;align-items:center;justify-content:center;margin:0 auto 12px;color:#ff4444;font-size:1.2rem}
.vx-error p{color:#888;font-size:.82rem;margin:0}

/* Result */
.vx-result{display:none}

/* Video Card */
.vx-vid-card{background:linear-gradient(145deg,#1a1b2e,#16172b);border-radius:16px;border:1px solid rgba(255,255,255,.04);overflow:hidden;margin-bottom:16px}

/* Thumbnail */
.vx-thumb-wrap{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#0a0b16}
.vx-thumb-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.vx-vid-card:hover .vx-thumb-wrap img{transform:scale(1.02)}
.vx-thumb-dur{position:absolute;bottom:12px;right:12px;background:rgba(0,0,0,.85);color:#fff;padding:4px 10px;border-radius:6px;font-size:.72rem;font-weight:700;letter-spacing:.3px;backdrop-filter:blur(4px)}
.vx-thumb-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:56px;height:56px;border-radius:50%;background:rgba(255,0,0,.9);display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s}
.vx-vid-card:hover .vx-thumb-play{opacity:1}
.vx-thumb-play i{color:#fff;font-size:1.2rem;margin-left:3px}

.vx-vid-body{padding:24px}

/* Section */
.vx-section{margin-bottom:20px}
.vx-sec-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.vx-sec-label{font-size:.7rem;font-weight:700;color:#6b6d8a;text-transform:uppercase;letter-spacing:.8px;display:flex;align-items:center;gap:6px}
.vx-sec-label i{font-size:.75rem;color:#555}

/* Copy button */
.vx-copy-btn{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.05);color:#6b6d8a;font-size:.66rem;padding:5px 14px;border-radius:8px;cursor:pointer;display:flex;align-items:center;gap:4px;transition:all .15s;font-weight:600}
.vx-copy-btn:hover{background:rgba(113,221,55,.06);color:#71dd37;border-color:rgba(113,221,55,.12)}
.vx-copy-btn.copied{background:rgba(113,221,55,.1);color:#71dd37;border-color:#71dd37}

/* Title */
.vx-title{font-size:1.15rem;font-weight:800;color:#e7e7ff;line-height:1.45;word-break:break-word}

/* Stats */
.vx-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:20px}
.vx-stat{background:#111225;border-radius:12px;padding:14px 10px;text-align:center;border:1px solid rgba(255,255,255,.02);transition:border-color .15s}
.vx-stat:hover{border-color:rgba(255,255,255,.06)}
.vx-stat-val{font-size:1rem;font-weight:800;color:#e7e7ff}
.vx-stat-lbl{font-size:.58rem;color:#555;text-transform:uppercase;letter-spacing:.5px;margin-top:3px}
.vx-stat-icon{font-size:.7rem;margin-bottom:4px}
.vx-stat-icon.views{color:#3b82f6}
.vx-stat-icon.likes{color:#ef4444}
.vx-stat-icon.comments{color:#f59e0b}
.vx-stat-icon.date{color:#8b5cf6}

/* Channel */
.vx-channel{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#111225;border-radius:12px;border:1px solid rgba(255,255,255,.02)}
.vx-channel img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.06)}
.vx-ch-name{font-size:.85rem;font-weight:700;color:#e7e7ff}
.vx-ch-link{font-size:.68rem;color:#71dd37;text-decoration:none;display:flex;align-items:center;gap:3px;margin-top:2px}
.vx-ch-link:hover{text-decoration:underline}

/* Description */
.vx-desc-box{background:#111225;border-radius:12px;padding:16px 18px;max-height:220px;overflow-y:auto;font-size:.8rem;color:#9698b5;line-height:1.75;white-space:pre-wrap;word-break:break-word;border:1px solid rgba(255,255,255,.02);scrollbar-width:thin;scrollbar-color:#222 transparent}
.vx-desc-box::-webkit-scrollbar{width:4px}
.vx-desc-box::-webkit-scrollbar-thumb{background:#333;border-radius:10px}
.vx-desc-box a{color:#71dd37;text-decoration:none}
.vx-desc-box a:hover{text-decoration:underline}

/* Tags */
.vx-tags{display:flex;flex-wrap:wrap;gap:6px}
.vx-tag{background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.04);color:#9698b5;font-size:.72rem;padding:5px 14px;border-radius:20px;cursor:pointer;transition:all .15s;user-select:none}
.vx-tag:hover{background:rgba(113,221,55,.06);color:#71dd37;border-color:rgba(113,221,55,.12);transform:translateY(-1px)}
.vx-tag.copied{background:rgba(113,221,55,.1);color:#71dd37;border-color:#71dd37}
.vx-tag-hash{color:#71dd37;border-color:rgba(113,221,55,.08)}
.vx-no-tags{font-size:.76rem;color:#444;font-style:italic;padding:8px 0}

/* Copy All Bar */
.vx-copy-all{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:20px 24px;border-top:1px solid rgba(255,255,255,.025)}
.vx-btn-all{background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.04);color:#8b8da8;padding:12px 8px;border-radius:10px;text-align:center;cursor:pointer;font-size:.7rem;font-weight:700;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:5px}
.vx-btn-all:hover{background:rgba(113,221,55,.06);color:#71dd37;border-color:rgba(113,221,55,.12);transform:translateY(-1px)}
.vx-btn-all.copied{background:rgba(113,221,55,.1);color:#71dd37;border-color:#71dd37}

/* Toast */
.vx-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(100px);background:#71dd37;color:#111;font-size:.78rem;font-weight:700;padding:10px 24px;border-radius:10px;z-index:9999;transition:transform .3s;box-shadow:0 6px 20px rgba(113,221,55,.3);display:flex;align-items:center;gap:6px}
.vx-toast.show{transform:translateX(-50%) translateY(0)}

/* ═══ RESPONSIVE ═══ */
@media(max-width:768px){
    .vx-hero{padding:24px 12px 20px}
    .vx-hero-icon{width:52px;height:52px;border-radius:12px}
    .vx-hero-icon i{font-size:1.3rem}
    .vx-input-row{flex-direction:column}
    .vx-btn-fetch{width:100%;justify-content:center;padding:14px}
    .vx-vid-body{padding:18px}
    .vx-stats{grid-template-columns:repeat(2,1fr)}
    .vx-title{font-size:1rem}
    .vx-copy-all{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:480px){
    .vx-hero p{font-size:.75rem}
    .vx-stats{grid-template-columns:1fr 1fr;gap:8px}
    .vx-stat{padding:10px 8px}
    .vx-stat-val{font-size:.88rem}
    .vx-title{font-size:.92rem}
    .vx-copy-all{grid-template-columns:1fr 1fr;gap:6px}
    .vx-btn-all{font-size:.64rem;padding:10px 4px}
    .vx-desc-box{font-size:.75rem;padding:12px 14px}
}

/* ═══ FROM: list_yt.php ═══ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
.ytP,.ytP *{box-sizing:border-box;margin:0;padding:0}
.ytP{font-family:'Inter',system-ui,-apple-system,sans-serif;color:#e2e8f0;max-width:100%}
.ytP a{text-decoration:none;color:inherit}

/* ═══ H1 HEADING ═══ */
.yt-h1{padding:0 0 16px}
.yt-h1 h1{font-size:22px;font-weight:800;color:#f1f5f9;display:flex;align-items:center;gap:10px;flex-wrap:wrap;line-height:1.3;margin:0}
.yt-h1 h1 .yt-ico{width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,#ff0000,#cc0000);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.yt-h1 h1 .yt-ico svg{width:16px;height:16px}

/* ═══ CHIPS BAR ═══ */
.yt-chips-bar{position:sticky;top:0;z-index:50;background:#0f0f0f;border-bottom:1px solid #272727;padding:0 24px}
.yt-chips-sc{display:flex;gap:10px;padding:14px 0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.yt-chips-sc::-webkit-scrollbar{display:none}
.yt-chip{flex-shrink:0;height:34px;padding:0 14px;border-radius:8px;font-size:13px;font-weight:500;background:#272727;color:#aaa;border:1px solid #333;cursor:pointer;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;transition:all .2s}
.yt-chip:hover{background:#333;color:#e2e8f0;border-color:#444}
.yt-chip.on{background:#f1f5f9;color:#0f0f0f;border-color:#f1f5f9}
.yt-chip.on:hover{background:#e2e8f0}

/* ═══ CONTENT ═══ */
.yt-cnt{max-width:1360px;margin:0 auto;padding:24px 16px 0}
@media(min-width:1000px){.yt-cnt{padding:28px 24px 0}}
@media(min-width:1400px){.yt-cnt{padding:28px 0 0}}

/* ═══ GRID ═══ */
.yt-grid{display:grid;grid-template-columns:repeat(<?=$tr_cols_mobile?>,1fr);column-gap:<?=$tr_card_gap?>px;row-gap:<?=$tr_card_gap + 8?>px}
@media(min-width:500px){.yt-grid{grid-template-columns:repeat(2,1fr);column-gap:16px;row-gap:24px}}
@media(min-width:900px){.yt-grid{grid-template-columns:repeat(<?=$tr_cols_tablet?>,1fr);column-gap:18px;row-gap:26px}}
@media(min-width:1200px){.yt-grid{grid-template-columns:repeat(<?=$tr_cols_desktop?>,1fr);column-gap:20px;row-gap:28px}}

/* ═══ VIDEO CARD ═══ */
.yt-v{position:relative;background:#181818;border-radius:12px;overflow:hidden;transition:all .2s ease;border:1px solid #272727}
<?php if($tr_show_hover): ?>
.yt-v:hover{border-color:#3a3a3a;box-shadow:0 8px 24px rgba(0,0,0,.35)}
@media(min-width:900px){.yt-v:hover{transform:translateY(-2px)}}
.yt-v:hover .yt-th img{transform:scale(1.03)}
.yt-v .yt-th::after{content:'';position:absolute;bottom:0;left:0;height:3px;width:0;background:#ff0000;transition:width .4s ease;z-index:3}
.yt-v:hover .yt-th::after{width:100%}
<?php else: ?>
.yt-v .yt-th::after{display:none}
<?php endif; ?>

/* Thumbnail */
.yt-v .yt-th{position:relative;width:100%;aspect-ratio:16/9;background:#111;overflow:hidden}
.yt-v .yt-th img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}

/* Rank */
.yt-v .yt-rk{position:absolute;top:8px;left:8px;z-index:2;background:rgba(0,0,0,.7);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:#fff;font-size:11px;font-weight:700;padding:4px 10px;border-radius:6px;letter-spacing:.3px}
.yt-v .yt-rk.hot{background:rgba(255,0,0,.8)}

/* Card body */
.yt-v .yt-body{padding:12px 14px 14px}
.yt-v .yt-nfo{display:flex;gap:10px}

/* Avatar */
.yt-v .yt-av{width:36px;height:36px;border-radius:50%;flex-shrink:0;overflow:hidden;cursor:pointer;background:#272727}
.yt-v .yt-av img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.yt-v .yt-al{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:700;color:#fff;flex-shrink:0;cursor:pointer}

/* Text */
.yt-v .yt-tx{flex:1;min-width:0}
.yt-v .yt-tt{font-size:14px;font-weight:600;color:#f1f5f9;line-height:20px;margin-bottom:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.yt-v .yt-ch{font-size:12px;color:#94a3b8;line-height:18px;display:flex;align-items:center;gap:4px;margin-bottom:2px}
.yt-v .yt-ch:hover{color:#e2e8f0}
.yt-v .yt-ch svg{width:14px;height:14px;flex-shrink:0;fill:#94a3b8}
.yt-v .yt-mt{font-size:12px;color:#64748b;line-height:18px;display:flex;align-items:center;gap:4px}
.yt-v .yt-mt svg{width:12px;height:12px;fill:#64748b;flex-shrink:0}

/* 3-dot */
.yt-v .yt-dot{position:absolute;right:10px;bottom:12px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:50%;cursor:pointer;opacity:0;transition:all .2s}
.yt-v:hover .yt-dot{opacity:1}
.yt-v .yt-dot:hover{background:rgba(255,255,255,.08)}

/* ═══ AD CARD (same size as video card) ═══ */
.yt-ad-card{background:#181818;border-radius:12px;overflow:hidden;border:1px solid #272727;display:flex;flex-direction:column;min-height:0}
.yt-ad-card .yt-ad-inner{aspect-ratio:16/9;overflow:hidden;background:#111;display:flex;align-items:center;justify-content:center;position:relative}
.yt-ad-card .yt-ad-inner:empty::after{content:'Ad';color:#333;font-size:12px;font-weight:600}
.yt-ad-card .yt-ad-body{padding:10px 14px;display:flex;align-items:center;gap:8px}
.yt-ad-card .yt-ad-label{font-size:10px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.5px;background:#1e1e1e;padding:3px 8px;border-radius:4px}

/* Full width ad (for header/footer) */
.yt-ad-full{grid-column:1/-1;border-radius:12px;overflow:hidden;min-height:90px}
.yt-ad-inline{border-radius:12px;overflow:hidden;min-height:90px}
.yt-ad-mob{display:none}
.yt-ad-desk{display:block}
@media(max-width:768px){.yt-ad-mob{display:block}.yt-ad-desk{display:none}}

/* ═══ PAGINATION ═══ */
.yt-pg{text-align:center;padding:36px 0 28px}
.yt-pgr{display:inline-flex;align-items:center;gap:4px;background:#181818;padding:6px;border-radius:12px;border:1px solid #272727}
.yt-pgr a,.yt-pgr span{min-width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;font-size:14px;font-weight:500;transition:all .2s}
.yt-pgr a{color:#94a3b8;cursor:pointer}
.yt-pgr a:hover{background:#272727;color:#f1f5f9}
.yt-pgr .on{background:#f1f5f9;color:#0f0f0f;font-weight:700}
.yt-pgr .off{opacity:.2;pointer-events:none}
.yt-pgr .gap{color:#64748b;min-width:20px}
.yt-pgi{font-size:12px;color:#64748b;margin-top:10px}

/* ═══ INLINE PLAYER (overlay on card — just visual, iframe is in fixed container) ═══ */
.yt-v .yt-player{display:none}
.yt-v.playing .yt-th{visibility:hidden}
.yt-v .yt-th{cursor:pointer}
.yt-v .yt-th .yt-play-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:48px;height:48px;border-radius:50%;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:2;opacity:0;transition:opacity .2s;pointer-events:none}
.yt-v:hover .yt-play-icon{opacity:1}
.yt-v .yt-play-icon svg{width:22px;height:22px;fill:#fff;margin-left:2px}

/* ═══ VIDEO CONTAINER (always fixed, never moves) ═══ */
#ytFixed{position:fixed;z-index:9999;background:#000;overflow:hidden;display:none;transition:all .3s ease}
#ytFixed iframe{width:100%;height:100%;border:none;display:block}
#ytFixed .yt-f-close{position:absolute;top:6px;right:6px;z-index:10;width:26px;height:26px;border-radius:50%;background:rgba(0,0,0,.75);border:none;color:#fff;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center}
#ytFixed .yt-f-close:hover{background:rgba(255,0,0,.9)}
#ytFixed .yt-f-bar{display:none;align-items:center;justify-content:space-between;padding:5px 10px;background:#181818;position:absolute;top:0;left:0;right:0;z-index:10}
#ytFixed .yt-f-bar span{font-size:10px;font-weight:600;color:#ccc;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1;margin-right:6px}
#ytFixed.mini .yt-f-close{display:none}
#ytFixed.mini .yt-f-bar{display:flex}

/* ═══ SCROLL TOP ═══ */
.yt-btt{position:fixed;bottom:28px;right:28px;width:44px;height:44px;border-radius:50%;background:#f1f5f9;color:#0f0f0f;border:none;display:none;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.4);z-index:99;transition:all .2s}
.yt-btt:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.5)}
.yt-btt.vis{display:flex}

/* ═══ MOBILE ═══ */
@media(max-width:499px){
    .yt-cnt{padding:16px 10px 0}
    .yt-h1{padding:0 10px 12px}
    .yt-h1 h1{font-size:17px}
    .yt-h1 h1 .yt-ico{width:28px;height:28px;border-radius:6px}
    .yt-grid{row-gap:14px;column-gap:10px}
    .yt-v{border-radius:10px}
    .yt-v .yt-body{padding:10px 12px 12px}
    .yt-v .yt-av,.yt-v .yt-al{width:34px;height:34px}
    .yt-v .yt-tt{font-size:13px;line-height:18px}
    .yt-chips-bar{padding:0 10px}
    .yt-v:hover{transform:none}
    .yt-ad-card{border-radius:10px}
}
@media(min-width:500px) and (max-width:899px){
    .yt-cnt{padding:20px 16px 0}
    .yt-h1{padding:0 16px 14px}
}

/* ═══ FROM: list_post.php ═══ */
.channel-card-modern{border-radius:<?=$lp_card_radius?>px!important;margin-bottom:<?=$lp_card_gap?>px!important}
body .channel-card-modern .videos-section.lp-hidden,
.channel-card-modern .videos-section.lp-hidden,
div.videos-section.lp-hidden{display:none!important;height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;border:0!important}

/* ═══ FILTER HIGHLIGHT BLINK ═══ */
<?php if($lp_show_blink): $bc=$lp_blink_color; ?>
@keyframes lpBlink{
    0%{box-shadow:0 0 0 0 <?=$bc?>00}
    20%{box-shadow:0 0 20px 4px <?=$bc?>66}
    40%{box-shadow:0 0 0 0 <?=$bc?>00}
    60%{box-shadow:0 0 16px 3px <?=$bc?>4d}
    80%{box-shadow:0 0 0 0 <?=$bc?>00}
    100%{box-shadow:0 0 10px 2px <?=$bc?>26}
}
.channel-card-modern.lp-blink{
    animation:lpBlink 2s ease-out forwards;
    border:1.5px solid <?=$bc?>4d!important
}
<?php endif; ?>

/* ═══ AUTO-SUGGEST DROPDOWN — YouTube Style ═══ */
.th-hero-search{position:relative;z-index:50}
.lp-suggest{position:absolute;top:calc(100% + 4px);left:0;right:0;background:#212121;border:none;border-radius:12px;max-height:380px;overflow-y:auto;overflow-x:hidden;z-index:999;display:none;box-shadow:0 8px 30px rgba(0,0,0,.7),0 0 0 1px rgba(255,255,255,.06);scrollbar-width:thin;scrollbar-color:#333 transparent}
.lp-suggest::-webkit-scrollbar{width:5px}
.lp-suggest::-webkit-scrollbar-thumb{background:#444;border-radius:10px}
.lp-suggest.open{display:block;animation:lpSgIn .18s ease-out}
@keyframes lpSgIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}

.lp-sg-item{display:flex;align-items:center;gap:12px;padding:10px 16px;cursor:pointer;transition:all .1s ease}
.lp-sg-item:hover,.lp-sg-item.active{background:#2a2a2a}
.lp-sg-item+.lp-sg-item{border-top:1px solid rgba(255,255,255,.04)}

.lp-sg-item img{width:36px;height:36px;border-radius:50%;object-fit:cover;flex-shrink:0;border:2px solid #333}
.lp-sg-letter{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:800;color:#fff;flex-shrink:0;text-transform:uppercase}

.lp-sg-info{flex:1;min-width:0;line-height:1.3}
.lp-sg-name{font-size:13px;font-weight:600;color:#f1f1f1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lp-sg-name mark{background:none;color:#ff4e45;font-weight:700;text-decoration:none}
.lp-sg-meta{font-size:10px;color:#888;margin-top:2px;display:flex;align-items:center;gap:4px}
.lp-sg-meta i{font-size:8px}

.lp-sg-arrow{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#666;flex-shrink:0;transition:all .15s}
.lp-sg-item:hover .lp-sg-arrow{color:#fff;background:rgba(255,255,255,.08)}

.lp-sg-empty{padding:24px 16px;text-align:center;color:#666}
.lp-sg-empty i{font-size:20px;display:block;margin-bottom:8px;color:#444}
.lp-sg-empty span{font-size:12px}

<?php if($lp_custom_css): echo $lp_custom_css; endif; ?>

/* ═══ FROM: list_post.php ═══ */
body .channel-card-modern .videos-section.lp-hidden,div.videos-section.lp-hidden{display:none!important;height:0!important;overflow:hidden!important;margin:0!important;padding:0!important}

/* ═══ FROM: list_shorts.php ═══ */

.ytP,.ytP *{box-sizing:border-box;margin:0;padding:0}
.ytP{font-family:'Inter',system-ui,-apple-system,sans-serif;color:#e2e8f0;max-width:100%}
.ytP a{text-decoration:none;color:inherit}

/* ═══ H1 HEADING ═══ */
.yt-h1{padding:0 0 16px}
.yt-h1 h1{font-size:22px;font-weight:800;color:#f1f5f9;display:flex;align-items:center;gap:10px;flex-wrap:wrap;line-height:1.3;margin:0}
.yt-h1 h1 .yt-ico{width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,#ff0000,#cc0000);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.yt-h1 h1 .yt-ico svg{width:16px;height:16px}

/* ═══ CHIPS BAR ═══ */
.yt-chips-bar{position:sticky;top:0;z-index:50;background:#0f0f0f;border-bottom:1px solid #272727;padding:0 24px}
.yt-chips-sc{display:flex;gap:10px;padding:14px 0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.yt-chips-sc::-webkit-scrollbar{display:none}
.yt-chip{flex-shrink:0;height:34px;padding:0 14px;border-radius:8px;font-size:13px;font-weight:500;background:#272727;color:#aaa;border:1px solid #333;cursor:pointer;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;transition:all .2s}
.yt-chip:hover{background:#333;color:#e2e8f0;border-color:#444}
.yt-chip.on{background:#f1f5f9;color:#0f0f0f;border-color:#f1f5f9}
.yt-chip.on:hover{background:#e2e8f0}

/* ═══ CONTENT ═══ */
.yt-cnt{max-width:1360px;margin:0 auto;padding:24px 16px 0}
@media(min-width:1000px){.yt-cnt{padding:28px 24px 0}}
@media(min-width:1400px){.yt-cnt{padding:28px 0 0}}

/* ═══ GRID — Admin-controlled columns for shorts ═══ */
.yt-grid{display:grid;grid-template-columns:repeat(<?=$sh_cols_mobile?>,1fr);column-gap:<?=$tr_card_gap?>px;row-gap:<?=$tr_card_gap + 8?>px}
@media(min-width:500px){.yt-grid{grid-template-columns:repeat(<?=max($sh_cols_mobile,2)?>,1fr);column-gap:14px;row-gap:22px}}
@media(min-width:900px){.yt-grid{grid-template-columns:repeat(<?=$sh_cols_tablet?>,1fr);column-gap:16px;row-gap:24px}}
@media(min-width:1200px){.yt-grid{grid-template-columns:repeat(<?=$sh_cols_desktop?>,1fr);column-gap:18px;row-gap:26px}}

/* ═══ VIDEO CARD ═══ */
.yt-v{position:relative;background:#181818;border-radius:12px;overflow:hidden;transition:all .2s ease;border:1px solid #272727}
<?php if($tr_show_hover): ?>
.yt-v:hover{border-color:#3a3a3a;box-shadow:0 8px 24px rgba(0,0,0,.35)}
@media(min-width:900px){.yt-v:hover{transform:translateY(-2px)}}
.yt-v:hover .yt-th img{transform:scale(1.03)}
.yt-v .yt-th::after{content:'';position:absolute;bottom:0;left:0;height:3px;width:0;background:#ff0000;transition:width .4s ease;z-index:3}
.yt-v:hover .yt-th::after{width:100%}
<?php else: ?>
.yt-v .yt-th::after{display:none}
<?php endif; ?>

/* Thumbnail — 9:16 VERTICAL for Shorts */
.yt-v .yt-th{position:relative;width:100%;aspect-ratio:9/16;background:#111;overflow:hidden}
.yt-v .yt-th img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}

/* Rank */
.yt-v .yt-rk{position:absolute;top:8px;left:8px;z-index:2;background:rgba(0,0,0,.7);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:#fff;font-size:11px;font-weight:700;padding:4px 10px;border-radius:6px;letter-spacing:.3px}
.yt-v .yt-rk.hot{background:rgba(255,0,0,.8)}

/* Duration badge */
.yt-v .yt-dur{position:absolute;bottom:8px;right:8px;background:rgba(0,0,0,.75);color:#fff;font-size:10px;font-weight:700;padding:2px 6px;border-radius:4px;z-index:2}

/* Play button overlay */
.yt-v .yt-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:44px;height:44px;border-radius:50%;background:rgba(255,0,0,.8);display:flex;align-items:center;justify-content:center;z-index:2;opacity:0;transition:opacity .2s}
.yt-v:hover .yt-play{opacity:1}
.yt-v .yt-play svg{width:20px;height:20px;fill:#fff;margin-left:2px}

/* Card body */
.yt-v .yt-body{padding:12px 14px 14px}
.yt-v .yt-nfo{display:flex;gap:10px}

/* Avatar */
.yt-v .yt-av{width:36px;height:36px;border-radius:50%;flex-shrink:0;overflow:hidden;cursor:pointer;background:#272727}
.yt-v .yt-av img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.yt-v .yt-al{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:700;color:#fff;flex-shrink:0;cursor:pointer}

/* Text */
.yt-v .yt-tx{flex:1;min-width:0}
.yt-v .yt-tt{font-size:14px;font-weight:600;color:#f1f5f9;line-height:20px;margin-bottom:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.yt-v .yt-ch{font-size:12px;color:#94a3b8;line-height:18px;display:flex;align-items:center;gap:4px;margin-bottom:2px}
.yt-v .yt-ch:hover{color:#e2e8f0}
.yt-v .yt-ch svg{width:14px;height:14px;flex-shrink:0;fill:#94a3b8}
.yt-v .yt-mt{font-size:12px;color:#64748b;line-height:18px;display:flex;align-items:center;gap:4px}
.yt-v .yt-mt svg{width:12px;height:12px;fill:#64748b;flex-shrink:0}

/* 3-dot */
.yt-v .yt-dot{position:absolute;right:10px;bottom:12px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:50%;cursor:pointer;opacity:0;transition:all .2s}
.yt-v:hover .yt-dot{opacity:1}
.yt-v .yt-dot:hover{background:rgba(255,255,255,.08)}

/* ═══ AD CARD ═══ */
.yt-ad-card{background:#181818;border-radius:12px;overflow:hidden;border:1px solid #272727;display:flex;flex-direction:column;min-height:0}
.yt-ad-card .yt-ad-inner{aspect-ratio:9/16;overflow:hidden;background:#111;display:flex;align-items:center;justify-content:center;position:relative}
.yt-ad-card .yt-ad-inner:empty::after{content:'Ad';color:#333;font-size:12px;font-weight:600}
.yt-ad-card .yt-ad-body{padding:10px 14px;display:flex;align-items:center;gap:8px}
.yt-ad-card .yt-ad-label{font-size:10px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.5px;background:#1e1e1e;padding:3px 8px;border-radius:4px}

.yt-ad-inline{border-radius:12px;overflow:hidden;min-height:90px}
.yt-ad-mob{display:none}
.yt-ad-desk{display:block}
@media(max-width:768px){.yt-ad-mob{display:block}.yt-ad-desk{display:none}}

/* ═══ PAGINATION ═══ */
.yt-pg{text-align:center;padding:36px 0 28px}
.yt-pgr{display:inline-flex;align-items:center;gap:4px;background:#181818;padding:6px;border-radius:12px;border:1px solid #272727}
.yt-pgr a,.yt-pgr span{min-width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;font-size:14px;font-weight:500;transition:all .2s}
.yt-pgr a{color:#94a3b8;cursor:pointer}
.yt-pgr a:hover{background:#272727;color:#f1f5f9}
.yt-pgr .on{background:#f1f5f9;color:#0f0f0f;font-weight:700}
.yt-pgr .off{opacity:.2;pointer-events:none}
.yt-pgr .gap{color:#64748b;min-width:20px}
.yt-pgi{font-size:12px;color:#64748b;margin-top:10px}

/* ═══ SCROLL TOP ═══ */
.yt-btt{position:fixed;bottom:28px;right:28px;width:44px;height:44px;border-radius:50%;background:#f1f5f9;color:#0f0f0f;border:none;display:none;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.4);z-index:99;transition:all .2s}
.yt-btt:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.5)}
.yt-btt.vis{display:flex}

/* ═══ MOBILE ═══ */
@media(max-width:499px){
    .yt-cnt{padding:16px 10px 0}
    .yt-h1{padding:0 10px 12px}
    .yt-h1 h1{font-size:17px}
    .yt-h1 h1 .yt-ico{width:28px;height:28px;border-radius:6px}
    .yt-grid{row-gap:14px;column-gap:10px}
    .yt-v{border-radius:10px}
    .yt-v .yt-body{padding:10px 10px 12px}
    .yt-v .yt-av,.yt-v .yt-al{width:32px;height:32px;font-size:13px}
    .yt-v .yt-tt{font-size:12px;line-height:17px}
    .yt-v .yt-play{opacity:.6;width:38px;height:38px}
    .yt-chips-bar{padding:0 10px}
    .yt-v:hover{transform:none}
    .yt-ad-card{border-radius:10px}
}
@media(min-width:500px) and (max-width:899px){
    .yt-cnt{padding:20px 16px 0}
    .yt-h1{padding:0 16px 14px}
}

/* ═══ FROM: index_page.php ═══ */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Inter:wght@400;500;600;700;800&display=swap');

/* Full width background fix */
.sml-wrapper{background:#0f1117;min-height:100vh;padding:1px 0}
.sml{max-width:760px;margin:0 auto;padding:30px 20px 50px}

/* Breadcrumb */
.sml-bread{display:flex;align-items:center;gap:6px;font:500 13px/1 'Inter',sans-serif;margin-bottom:24px;flex-wrap:wrap}
.sml-bread a{color:#7c3aed;text-decoration:none}
.sml-bread a:hover{text-decoration:underline}
.sml-bread i{font-size:9px;color:#475569}
.sml-bread span{color:#64748b}

/* Header */
.sml h1{font:900 34px/1.35 'Merriweather',Georgia,serif;margin:0 0 16px;letter-spacing:-.3px}
.sml-meta{display:flex;align-items:center;gap:14px;font:500 13px/1 'Inter',sans-serif;color:#64748b;flex-wrap:wrap;margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid rgba(255,255,255,.06)}
.sml-meta i{color:#7c3aed;font-size:12px;margin-right:2px}
.sml-meta b{width:3px;height:3px;border-radius:50%;background:#475569;display:inline-block}

/* Share Bar */
.sml-share{display:flex;align-items:center;gap:8px;margin-bottom:28px;padding:12px 16px;background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.06);border-radius:10px;font-family:'Inter',sans-serif;flex-wrap:wrap}
.sml-share label{font-size:11px;font-weight:800;color:#64748b;letter-spacing:.5px;margin-right:4px}
.sml-sb{width:32px;height:32px;border-radius:8px;border:1px solid rgba(255,255,255,.08);background:none;display:inline-flex;align-items:center;justify-content:center;color:#64748b;text-decoration:none;transition:.2s;font-size:13px;cursor:pointer}
.sml-sb:hover{border-color:#7c3aed;color:#a78bfa;background:rgba(124,58,237,.08)}

/* TOC */
.sml-toc{background:rgba(124,58,237,.04);border:1px solid rgba(124,58,237,.12);border-radius:12px;padding:18px 22px;margin-bottom:32px;font-family:'Inter',sans-serif;display:none}
.sml-toc-head{font-size:14px;font-weight:800;margin:0 0 10px;display:flex;align-items:center;gap:8px;cursor:pointer;user-select:none}
.sml-toc-head i{color:#7c3aed}
.sml-toc-head .arr{margin-left:auto;font-size:10px;color:#64748b;transition:.2s}
.sml-toc.off .arr{transform:rotate(-90deg)}
.sml-toc.off ol{display:none}
.sml-toc ol{margin:0;padding-left:20px}
.sml-toc li{margin:5px 0}
.sml-toc li a{color:#94a3b8;text-decoration:none;font-size:13px;font-weight:500;transition:.15s}
.sml-toc li a:hover{color:#a78bfa}

/* ═══ Content — ShoutMeLoud Style ═══ */
.sml-body{font:400 17px/2 'Merriweather',Georgia,serif;color:#cbd5e1;letter-spacing:.01em}
.sml-body p{margin:0 0 20px}
.sml-body h2{font:800 24px/1.3 'Inter',sans-serif;margin:42px 0 16px;color:#f1f5f9;padding-bottom:10px;border-bottom:2px solid rgba(124,58,237,.2);scroll-margin-top:20px}
.sml-body h3{font:700 20px/1.3 'Inter',sans-serif;margin:34px 0 12px;color:#e2e8f0;scroll-margin-top:20px}
.sml-body h4{font:700 17px/1.4 'Inter',sans-serif;margin:24px 0 10px;color:#e2e8f0}
.sml-body a{color:#a78bfa;text-decoration:underline;text-underline-offset:3px}
.sml-body a:hover{color:#c4b5fd}
.sml-body strong{color:#f1f5f9}
.sml-body img{max-width:100%;height:auto;border-radius:10px;margin:20px 0;box-shadow:0 4px 20px rgba(0,0,0,.25)}
.sml-body blockquote{border-left:4px solid #7c3aed;padding:14px 20px;margin:24px 0;background:rgba(124,58,237,.04);border-radius:0 10px 10px 0;font-style:italic;color:#94a3b8;font-size:16px;line-height:1.8}
.sml-body pre{background:#0f172a;color:#e2e8f0;padding:20px;border-radius:10px;overflow-x:auto;font:13px/1.6 'Fira Code',monospace;margin:20px 0;border:1px solid rgba(255,255,255,.06)}
.sml-body code{background:rgba(124,58,237,.1);padding:2px 7px;border-radius:4px;font:14px 'Fira Code',monospace;color:#c4b5fd}
.sml-body pre code{background:none;padding:0;color:inherit;font-size:13px}
.sml-body ul,.sml-body ol{padding-left:28px;margin:16px 0}
.sml-body li{margin:8px 0;line-height:1.8}
.sml-body table{width:100%;border-collapse:collapse;margin:20px 0;font:14px/1.5 'Inter',sans-serif}
.sml-body td,.sml-body th{border:1px solid rgba(255,255,255,.08);padding:10px 14px}
.sml-body th{background:rgba(255,255,255,.04);font-weight:700;color:#e2e8f0}
.sml-body tr:hover{background:rgba(255,255,255,.02)}
.sml-body hr{border:none;border-top:2px solid rgba(255,255,255,.06);margin:32px 0}

/* Updated Badge */
.sml-updated{display:inline-flex;align-items:center;gap:5px;background:rgba(34,197,94,.08);border:1px solid rgba(34,197,94,.2);color:#22c55e;padding:3px 10px;border-radius:20px;font-size:11px;font-weight:700;font-family:'Inter',sans-serif}

/* Share CTA */
.sml-cta{margin-top:32px;padding:24px;background:linear-gradient(135deg,rgba(124,58,237,.08),rgba(59,130,246,.06));border:1px solid rgba(124,58,237,.15);border-radius:14px;text-align:center;font-family:'Inter',sans-serif}
.sml-cta p{font-size:16px;font-weight:800;color:#e2e8f0;margin:0 0 4px}
.sml-cta span{font-size:12px;color:#64748b;display:block;margin-bottom:14px}
.sml-cta-btns{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.sml-cta-btn{padding:8px 18px;border-radius:8px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);color:#cbd5e1;text-decoration:none;font-size:12px;font-weight:700;display:inline-flex;align-items:center;gap:6px;transition:.2s}
.sml-cta-btn:hover{background:rgba(124,58,237,.15);border-color:#7c3aed;color:#a78bfa}
.sml-cta-btn i{font-size:14px}

/* Author */
.sml-author{display:flex;gap:16px;padding:22px;background:rgba(124,58,237,.04);border:1px solid rgba(124,58,237,.1);border-radius:14px;margin:36px 0;font-family:'Inter',sans-serif}
.sml-av{width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#7c3aed,#3b82f6);display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:800;color:#fff;flex-shrink:0}
.sml-author h4{margin:0 0 4px;font-size:15px;font-weight:800;color:#f1f5f9}
.sml-author p{margin:0;font-size:13px;color:#64748b;line-height:1.6}

@media(max-width:600px){
    .sml{padding:20px 16px 40px}
    .sml h1{font-size:24px}
    .sml-body{font-size:15px;line-height:1.85}
    .sml-body h2{font-size:20px;margin-top:30px}
    .sml-body h3{font-size:17px}
    .sml-author{flex-direction:column;align-items:center;text-align:center}
}

/* ═══ FROM: index_channel_back.php ═══ */

.cb{font-family:'Inter',system-ui,sans-serif;color:#E5E7EB;line-height:1.6;overflow:hidden}

/* Hero */
.cb-hero{position:relative;padding:80px 20px 70px;text-align:center;overflow:hidden}
.cb-hero::before{content:'';position:absolute;top:-60%;left:50%;transform:translateX(-50%);width:800px;height:800px;background:radial-gradient(circle,rgba(108,60,225,.10) 0%,transparent 70%);pointer-events:none}
.cb-hero-tag{display:inline-flex;align-items:center;gap:8px;background:rgba(108,60,225,.08);border:1px solid rgba(108,60,225,.15);padding:7px 18px;border-radius:50px;font-size:12px;font-weight:600;color:#a78bfa;margin-bottom:24px}
.cb-hero-tag i{font-size:10px}
.cb-hero h1{font-size:clamp(32px,5vw,52px);font-weight:900;color:#fff;line-height:1.08;margin-bottom:18px;max-width:700px;margin-left:auto;margin-right:auto}
.cb-hero h1 em{font-style:normal;background:linear-gradient(135deg,#a78bfa,#6C3CE1);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.cb-hero>p{font-size:17px;color:#6B7280;max-width:520px;margin:0 auto 32px;line-height:1.7}
.cb-hero-cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* Buttons */
.cb-btn{display:inline-flex;align-items:center;gap:8px;padding:14px 30px;border-radius:12px;font-size:14px;font-weight:700;text-decoration:none;border:none;cursor:pointer;transition:.25s;font-family:inherit}
.cb-btn:hover{text-decoration:none}
.cb-btn-p{background:linear-gradient(135deg,#6C3CE1,#5228B5);color:#fff;box-shadow:0 4px 24px rgba(108,60,225,.25)}
.cb-btn-p:hover{box-shadow:0 8px 36px rgba(108,60,225,.4);transform:translateY(-2px);color:#fff}
.cb-btn-g{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);color:#9CA3AF}
.cb-btn-g:hover{border-color:rgba(108,60,225,.3);color:#fff}

/* Brands bar */
.cb-brands{border-top:1px solid rgba(255,255,255,.04);border-bottom:1px solid rgba(255,255,255,.04);padding:20px;text-align:center}
.cb-brands p{font-size:11px;color:#374151;text-transform:uppercase;letter-spacing:2px;font-weight:600;margin-bottom:12px}
.cb-brands-row{display:flex;justify-content:center;gap:32px;flex-wrap:wrap;align-items:center;opacity:.35}
.cb-brands-row span{font-size:20px;font-weight:800;color:#fff;letter-spacing:-0.5px}

/* Section */
.cb-sec{max-width:960px;margin:0 auto;padding:60px 20px}
.cb-sec-head{text-align:center;margin-bottom:40px}
.cb-sec-head h2{font-size:clamp(24px,3.5vw,34px);font-weight:900;color:#fff;margin-bottom:8px}
.cb-sec-head p{font-size:15px;color:#6B7280;max-width:480px;margin:0 auto}

/* How it works */
.cb-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;background:rgba(255,255,255,.03);border-radius:16px;overflow:hidden}
.cb-step{padding:36px 28px;background:#0B0F1A;position:relative;transition:.3s}
.cb-step:hover{background:#111827}
.cb-step-num{font-size:48px;font-weight:900;color:rgba(108,60,225,.12);position:absolute;top:12px;right:16px;line-height:1}
.cb-step-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:18px;margin-bottom:16px}
.cb-step h3{font-size:15px;font-weight:800;color:#fff;margin-bottom:6px}
.cb-step p{font-size:13px;color:#6B7280;line-height:1.6}

/* Reasons grid */
.cb-reasons{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.cb-reason{background:#111827;border:1px solid rgba(255,255,255,.04);border-radius:14px;padding:24px 18px;text-align:center;transition:.25s}
.cb-reason:hover{border-color:rgba(108,60,225,.15);transform:translateY(-2px)}
.cb-reason-icon{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;margin:0 auto 12px;font-size:20px}
.cb-reason h4{font-size:13px;font-weight:700;color:#fff;margin-bottom:4px}
.cb-reason p{font-size:11px;color:#4B5563}

/* Features */
.cb-feats{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.cb-feat{display:flex;align-items:flex-start;gap:14px;background:#111827;border:1px solid rgba(255,255,255,.04);border-radius:14px;padding:22px 20px;transition:.2s}
.cb-feat:hover{border-color:rgba(108,60,225,.12)}
.cb-feat-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}
.cb-feat h4{font-size:14px;font-weight:700;color:#fff;margin-bottom:3px}
.cb-feat p{font-size:12px;color:#6B7280;line-height:1.5}

/* FAQ */
.cb-faq{max-width:640px;margin:0 auto}
.cb-faq-item{border-bottom:1px solid rgba(255,255,255,.04)}
.cb-faq-q{width:100%;padding:18px 0;border:none;background:none;color:#E5E7EB;font-size:14px;font-weight:600;text-align:left;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-family:inherit;transition:.2s;gap:12px}
.cb-faq-q:hover{color:#a78bfa}
.cb-faq-q i{font-size:10px;color:#4B5563;transition:.2s;flex-shrink:0}
.cb-faq-item.open .cb-faq-q i{transform:rotate(180deg);color:#a78bfa}
.cb-faq-a{max-height:0;overflow:hidden;transition:.3s;font-size:13px;color:#6B7280;line-height:1.7}
.cb-faq-item.open .cb-faq-a{max-height:200px;padding-bottom:18px}

/* CTA */
.cb-cta{text-align:center;padding:64px 20px;position:relative}
.cb-cta::before{content:'';position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:600px;height:400px;background:radial-gradient(circle,rgba(108,60,225,.06) 0%,transparent 70%);pointer-events:none}
.cb-cta h2{font-size:clamp(24px,4vw,36px);font-weight:900;color:#fff;margin-bottom:10px}
.cb-cta>p{font-size:15px;color:#6B7280;margin-bottom:28px;max-width:440px;margin-left:auto;margin-right:auto}

/* Trust strip */
.cb-trust{display:flex;justify-content:center;gap:28px;flex-wrap:wrap;padding:16px 20px;margin-top:12px}
.cb-trust span{font-size:12px;color:#4B5563;display:flex;align-items:center;gap:6px}
.cb-trust i{color:#6C3CE1;font-size:13px}

@media(max-width:768px){
    .cb-steps{grid-template-columns:1fr}
    .cb-feats{grid-template-columns:1fr}
    .cb-reasons{grid-template-columns:1fr 1fr}
    .cb-hero{padding:50px 16px 40px}
}
@media(max-width:480px){
    .cb-reasons{grid-template-columns:1fr}
}

/* ═══ FROM: list_viral.php ═══ */
/* ═══ VIRAL-SPECIFIC OVERRIDES (on top of existing channel-card-modern) ═══ */
.channel-card-modern{border-radius:<?=$vp_card_radius?>px!important;margin-bottom:<?=$vp_card_gap?>px!important}
body .channel-card-modern .videos-section.lp-hidden,
.channel-card-modern .videos-section.lp-hidden,
div.videos-section.lp-hidden{display:none!important;height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;border:0!important}

/* Type border-top accent */
.channel-card-modern.vp-type-viral{border-top:2.5px solid <?=$vp_viral_color?>}
.channel-card-modern.vp-type-trending{border-top:2.5px solid <?=$vp_trending_color?>}

/* Viral/Trending badge (reuses status-badge slot) */
.vp-badge-viral{background:linear-gradient(135deg,<?=$vp_viral_color?>,<?=$vp_viral_color?>cc);color:#fff;font-size:.65rem;font-weight:700;padding:4px 10px;border-radius:20px;display:inline-flex;align-items:center;gap:4px;letter-spacing:.3px;border:none}
.vp-badge-trending{background:linear-gradient(135deg,<?=$vp_trending_color?>,<?=$vp_trending_color?>cc);color:#1a1e27;font-size:.65rem;font-weight:700;padding:4px 10px;border-radius:20px;display:inline-flex;align-items:center;gap:4px;letter-spacing:.3px;border:none}

/* Viral pills row */
.vp-pills{display:flex;align-items:center;gap:6px;padding:4px 16px 8px;flex-wrap:wrap}
.vp-pill{font-size:.65rem;padding:3px 10px;border-radius:20px;display:inline-flex;align-items:center;gap:3px;font-weight:600}
.vp-pill-growth{background:rgba(113,221,55,.06);border:1px solid rgba(113,221,55,.12);color:#71dd37}
.vp-pill-reason{background:rgba(255,171,0,.06);border:1px solid rgba(255,171,0,.1);color:#ffab00}
.vp-pill-since{background:rgba(168,170,189,.05);border:1px solid rgba(168,170,189,.08);color:#8b8da8}

/* Growth stat-card special */
.stat-card.vp-growth-card{border:1px solid <?=$vp_viral_color?>33;background:<?=$vp_viral_color?>0d}
.stat-card.vp-growth-card .stat-icon{background:<?=$vp_viral_color?>26;color:<?=$vp_viral_color?>}
.stat-card.vp-growth-card .stat-value{color:<?=$vp_viral_color?>}

/* Earnings bar */
.vp-earn{margin:0 16px 10px;padding:12px 14px;background:rgba(255,255,255,.02);border-radius:10px;border:1px solid rgba(255,255,255,.04)}
.vp-earn-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.vp-earn-title{font-size:.62rem;color:#888;text-transform:uppercase;letter-spacing:.8px;font-weight:700;display:flex;align-items:center;gap:4px}
.vp-earn-title i{color:<?=$vp_viral_color?>;font-size:.7rem}
.vp-earn-cpm{font-size:.55rem;color:#666;background:rgba(255,255,255,.03);padding:2px 7px;border-radius:4px}
.vp-earn-row{display:flex;gap:10px}
.vp-earn-box{flex:1;text-align:center;padding:8px 4px;background:rgba(255,255,255,.015);border-radius:8px;border:1px solid rgba(255,255,255,.025)}
.vp-earn-val{font-size:.88rem;font-weight:800;background:linear-gradient(135deg,<?=$vp_viral_color?>,#56ca00);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.vp-earn-lbl{font-size:.5rem;color:#666;text-transform:uppercase;letter-spacing:.5px;margin-top:2px}
.vp-earn-bar{height:4px;background:rgba(255,255,255,.03);border-radius:2px;margin-top:8px;overflow:hidden}
.vp-earn-fill{height:100%;border-radius:2px;background:linear-gradient(90deg,<?=$vp_viral_color?>,<?=$vp_trending_color?>)}

/* Channel footer info */
.vp-foot-info{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 16px 12px;border-top:1px solid rgba(255,255,255,.03)}
.vp-foot-info span{font-size:.65rem;color:#666;display:inline-flex;align-items:center;gap:3px}
.vp-foot-info span i{font-size:.6rem}
.vp-foot-info .vp-age{color:<?=$vp_viral_color?>;font-weight:600}

/* Blink */
<?php if($vp_show_blink): $bc=$vp_blink_color; ?>
@keyframes vpBlink{0%{box-shadow:0 0 0 0 <?=$bc?>00}20%{box-shadow:0 0 20px 4px <?=$bc?>66}40%{box-shadow:0 0 0 0 <?=$bc?>00}60%{box-shadow:0 0 16px 3px <?=$bc?>4d}80%{box-shadow:0 0 0 0 <?=$bc?>00}100%{box-shadow:0 0 10px 2px <?=$bc?>26}}
.channel-card-modern.vp-blink{animation:vpBlink 2s ease-out forwards;border:1.5px solid <?=$bc?>4d!important}
<?php endif; ?>

<?php if($vp_custom_css): echo $vp_custom_css; endif; ?>

/* ═══ FROM: index_pricing.php ═══ */
.pricing{max-width:960px;margin:0 auto;padding:40px 16px 60px;font-family:'Inter',system-ui,sans-serif}
.pricing-top{text-align:center;margin-bottom:48px}
.pricing-top h1{font-size:36px;font-weight:900;color:#fff;margin:0 0 10px}
.pricing-top p{font-size:15px;color:#6B7280;margin:0;max-width:440px;margin-inline:auto;line-height:1.6}

.pricing-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}

.p-card{background:#111827;border:2px solid rgba(255,255,255,.05);border-radius:16px;padding:32px 24px;display:flex;flex-direction:column;transition:.3s}
.p-card:hover{transform:translateY(-4px);border-color:rgba(255,255,255,.1)}
.p-card.highlight{border-color:rgba(108,60,225,.4);position:relative}
.p-card.highlight::after{content:'POPULAR';position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:linear-gradient(135deg,#6C3CE1,#8B5CF6);color:#fff;font-size:10px;font-weight:800;padding:4px 16px;border-radius:20px;letter-spacing:1px}

.p-name{font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:12px}
.p-price{margin-bottom:4px}
.p-price b{font-size:42px;font-weight:900;color:#fff}
.p-price span{font-size:15px;color:#6B7280;font-weight:500}
.p-cycle{font-size:12px;color:#4B5563;margin-bottom:24px}

.p-divider{height:1px;background:rgba(255,255,255,.05);margin-bottom:20px}

.p-features{list-style:none;padding:0;margin:0 0 28px;flex:1}
.p-features li{padding:7px 0;font-size:13px;color:#9CA3AF;display:flex;align-items:center;gap:10px}
.p-features li::before{content:'✓';font-size:13px;font-weight:700;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}

.p-card:nth-child(1) .p-name{color:#6B7280}
.p-card:nth-child(1) .p-features li::before{color:#6B7280;background:rgba(107,114,128,.1)}
.p-card:nth-child(2) .p-name{color:#a78bfa}
.p-card:nth-child(2) .p-features li::before{color:#a78bfa;background:rgba(108,60,225,.1)}
.p-card:nth-child(3) .p-name{color:#fcd34d}
.p-card:nth-child(3) .p-features li::before{color:#fcd34d;background:rgba(245,158,11,.1)}

.p-btn{display:block;width:100%;padding:14px;border:none;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;text-align:center;text-decoration:none;font-family:inherit;transition:.2s}
.p-btn:hover{text-decoration:none}

.p-btn-ghost{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);color:#9CA3AF}
.p-btn-ghost:hover{border-color:rgba(255,255,255,.15);color:#fff}

.p-btn-primary{background:linear-gradient(135deg,#6C3CE1,#5228B5);color:#fff;box-shadow:0 4px 20px rgba(108,60,225,.2)}
.p-btn-primary:hover{box-shadow:0 8px 30px rgba(108,60,225,.35);transform:translateY(-1px);color:#fff}

.p-btn-gold{background:linear-gradient(135deg,#F59E0B,#D97706);color:#fff;box-shadow:0 4px 20px rgba(245,158,11,.2)}
.p-btn-gold:hover{box-shadow:0 8px 30px rgba(245,158,11,.35);transform:translateY(-1px);color:#fff}

.p-btn-current{background:rgba(16,185,129,.08);border:1px solid rgba(16,185,129,.15);color:#6ee7b7;cursor:default;pointer-events:none}

.pricing-trust{text-align:center;margin-top:36px;color:#4B5563;font-size:12px;display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap}
.pricing-trust span{display:flex;align-items:center;gap:5px}
.pricing-trust i{color:#6C3CE1}

@media(max-width:768px){
    .pricing-cards{grid-template-columns:1fr}
    .pricing-top h1{font-size:28px}
    .p-price b{font-size:34px}
}

/* ═══ FROM: index_register.php ═══ */
.auth-page{max-width:420px;margin:40px auto;padding:0 16px}
.auth-card{background:#111827;border:1px solid rgba(255,255,255,.06);border-radius:16px;padding:32px 28px}
.auth-logo{text-align:center;margin-bottom:24px}
.auth-logo i{font-size:32px;color:#6C3CE1}
.auth-title{font-size:22px;font-weight:800;color:#fff;text-align:center;margin-bottom:4px}
.auth-sub{font-size:13px;color:#6B7280;text-align:center;margin-bottom:24px}
.auth-error{background:rgba(239,68,68,.1);border:1px solid rgba(239,68,68,.2);color:#f87171;padding:10px 14px;border-radius:8px;font-size:13px;margin-bottom:16px;display:flex;align-items:center;gap:8px}
.auth-fg{margin-bottom:16px}
.auth-fg label{display:block;font-size:12px;font-weight:600;color:#9CA3AF;margin-bottom:5px;text-transform:uppercase;letter-spacing:.3px}
.auth-fg input{width:100%;padding:11px 14px;background:#1a1f2e;border:1px solid rgba(255,255,255,.06);border-radius:8px;color:#fff;font-size:14px;font-family:inherit;outline:none;transition:.2s}
.auth-fg input:focus{border-color:#6C3CE1;box-shadow:0 0 0 3px rgba(108,60,225,.1)}
.auth-fg input::placeholder{color:#4B5563}
.auth-fg .hint{font-size:11px;color:#4B5563;margin-top:4px}
.auth-btn{width:100%;padding:13px;background:linear-gradient(135deg,#6C3CE1,#5228B5);color:#fff;border:none;border-radius:10px;font-size:15px;font-weight:700;cursor:pointer;font-family:inherit;transition:.2s;display:flex;align-items:center;justify-content:center;gap:8px}
.auth-btn:hover{box-shadow:0 4px 20px rgba(108,60,225,.4);transform:translateY(-1px)}
.auth-divider{text-align:center;color:#4B5563;font-size:12px;margin:20px 0;position:relative}
.auth-divider::before,.auth-divider::after{content:'';position:absolute;top:50%;width:calc(50% - 30px);height:1px;background:rgba(255,255,255,.06)}
.auth-divider::before{left:0}
.auth-divider::after{right:0}
.auth-link{text-align:center;font-size:13px;color:#9CA3AF;margin-top:16px}
.auth-link a{color:#6C3CE1;font-weight:600;text-decoration:none}
.auth-link a:hover{text-decoration:underline}
.auth-gmail-note{display:flex;align-items:center;gap:8px;background:rgba(108,60,225,.06);border:1px solid rgba(108,60,225,.12);border-radius:8px;padding:10px 14px;font-size:12px;color:#a78bfa;margin-bottom:16px}
.auth-gmail-note i{font-size:16px}
.hp-field{position:absolute;left:-9999px;opacity:0;height:0;width:0}
.auth-pw-wrap{position:relative}
.auth-pw-toggle{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:none;border:none;color:#6B7280;cursor:pointer;font-size:14px;padding:4px}
.auth-pw-toggle:hover{color:#9CA3AF}

/* ═══ FROM: index_login.php ═══ */
.auth-page{max-width:420px;margin:40px auto;padding:0 16px}
.auth-card{background:#111827;border:1px solid rgba(255,255,255,.06);border-radius:16px;padding:32px 28px}
.auth-logo{text-align:center;margin-bottom:24px}
.auth-logo i{font-size:32px;color:#6C3CE1}
.auth-title{font-size:22px;font-weight:800;color:#fff;text-align:center;margin-bottom:4px}
.auth-sub{font-size:13px;color:#6B7280;text-align:center;margin-bottom:24px}
.auth-error{background:rgba(239,68,68,.1);border:1px solid rgba(239,68,68,.2);color:#f87171;padding:10px 14px;border-radius:8px;font-size:13px;margin-bottom:16px;display:flex;align-items:center;gap:8px}
.auth-fg{margin-bottom:16px}
.auth-fg label{display:block;font-size:12px;font-weight:600;color:#9CA3AF;margin-bottom:5px;text-transform:uppercase;letter-spacing:.3px}
.auth-fg input{width:100%;padding:11px 14px;background:#1a1f2e;border:1px solid rgba(255,255,255,.06);border-radius:8px;color:#fff;font-size:14px;font-family:inherit;outline:none;transition:.2s}
.auth-fg input:focus{border-color:#6C3CE1;box-shadow:0 0 0 3px rgba(108,60,225,.1)}
.auth-fg input::placeholder{color:#4B5563}
.auth-btn{width:100%;padding:13px;background:linear-gradient(135deg,#6C3CE1,#5228B5);color:#fff;border:none;border-radius:10px;font-size:15px;font-weight:700;cursor:pointer;font-family:inherit;transition:.2s;display:flex;align-items:center;justify-content:center;gap:8px}
.auth-btn:hover{box-shadow:0 4px 20px rgba(108,60,225,.4);transform:translateY(-1px)}
.auth-link{text-align:center;font-size:13px;color:#9CA3AF;margin-top:16px}
.auth-link a{color:#6C3CE1;font-weight:600;text-decoration:none}
.auth-link a:hover{text-decoration:underline}
.auth-pw-wrap{position:relative}
.auth-pw-toggle{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:none;border:none;color:#6B7280;cursor:pointer;font-size:14px;padding:4px}
.auth-pw-toggle:hover{color:#9CA3AF}
.auth-remember{display:flex;align-items:center;gap:8px;margin-bottom:16px;font-size:13px;color:#9CA3AF}
.auth-remember input{accent-color:#6C3CE1}

/* ═══ FROM: maintenance.php ═══ */
.g{position:fixed;border-radius:50%;filter:blur(100px);opacity:.12;pointer-events:none}
.g1{width:500px;height:500px;background:#3b82f6;top:-150px;left:-150px}
.g2{width:400px;height:400px;background:#8b5cf6;bottom:-120px;right:-120px}
.g3{width:250px;height:250px;background:#ef4444;top:60%;left:40%}
.wrap{position:relative;z-index:1;text-align:center;max-width:520px;padding:40px 20px}
.logo-img{max-height:40px;margin-bottom:30px;opacity:.6;filter:brightness(0) invert(1)}
.gear-box{position:relative;width:100px;height:100px;margin:0 auto 28px}
.gear{position:absolute;border-radius:50%;border:3px solid rgba(255,255,255,.1)}
.gear1{width:100px;height:100px;top:0;left:0;animation:spin 8s linear infinite}
.gear2{width:60px;height:60px;top:20px;left:20px;animation:spin 5s linear infinite reverse;border-color:rgba(59,130,246,.3)}
.gear-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:14px;height:14px;background:#3b82f6;border-radius:50%;box-shadow:0 0 20px rgba(59,130,246,.5)}
@keyframes spin{to{transform:rotate(360deg)}}
h1 span{background:linear-gradient(135deg,#3b82f6,#8b5cf6);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.msg{font-size:15px;color:#737373;line-height:1.8;margin-bottom:30px;max-width:420px;margin-left:auto;margin-right:auto}
.pill{display:inline-flex;align-items:center;gap:8px;padding:10px 22px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06);border-radius:100px;font-size:12px;color:#525252;font-weight:500}
.dot{width:8px;height:8px;background:#f59e0b;border-radius:50%;animation:blink 1.5s ease-in-out infinite}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.2}}
.timer{margin-top:20px;font-size:11px;color:#404040}
@media(max-width:480px){h1{font-size:22px}.msg{font-size:13px}}

/* ═══════════════════════════════════════════════════════════════ */
/* MERGED: thumbnail-downloader.css                              */
/* Thumbnail tool + Channel card modern + Videos grid            */
/* ═══════════════════════════════════════════════════════════════ */

/* ===== YouTube Thumbnail Downloader Styles ===== */
/* Add this CSS file after your main stylesheet */

.thumbnail-downloader {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero-banner {
    background: linear-gradient(135deg, var(--surface) 0%, var(--card-bg) 100%);
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    margin-bottom: 30px;
    border: 2px solid var(--border-color);
}

.hero-banner h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.hero-tagline {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.feature-pills {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.pill {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.pill.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Input Section */
.input-section {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-light);
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--text-secondary);
    z-index: 1;
}

#videoUrl {
    width: 100%;
    padding: 18px 18px 18px 55px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
    background: var(--surface);
    color: var(--text-primary);
}

#videoUrl:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(56, 128, 255, 0.2);
}

#videoUrl::placeholder {
    color: var(--text-secondary);
    font-family: inherit;
}

.btn-group {
    display: flex;
    gap: 12px;
}

.btn {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a5fc7 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(56, 128, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 128, 255, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin-loader 0.6s linear infinite;
    margin-left: 8px;
}

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

/* Video Info Card */
.video-info-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    display: none;
    animation: slideDownThumb 0.4s ease;
}

@keyframes slideDownThumb {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-info-card.show {
    display: block;
}

.video-preview {
    display: flex;
    gap: 20px;
    align-items: start;
}

.video-thumb-preview {
    width: 200px;
    height: 112px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.video-details {
    flex: 1;
}

.video-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.video-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-secondary);
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Thumbnails Container */
.thumbnails-container {
    display: none;
}

.thumbnails-container.show {
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.download-all-btn {
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-all-btn:hover {
    background: #2a5fc7;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(56, 128, 255, 0.4);
}

.download-all-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.thumb-item {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fadeInThumb 0.5s ease;
}

@keyframes fadeInThumb {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.thumb-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.thumb-preview-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: var(--surface);
    overflow: hidden;
}

.thumb-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumb-item:hover .thumb-preview {
    transform: scale(1.05);
}

.quality-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.quality-tag.ultra {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.quality-tag.high {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.quality-tag.medium {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.resolution-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #0a0a0b;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.thumb-info {
    padding: 18px;
}

.thumb-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.thumb-size {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.thumb-actions {
    display: flex;
    gap: 8px;
}

.thumb-btn {
    flex: 1;
    padding: 11px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.thumb-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.thumb-btn-download {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.thumb-btn-download:hover {
    background: #2a5fc7;
    border-color: #2a5fc7;
}

/* Alert Messages */
#alertBox .alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    animation: slideDownThumb 0.3s ease;
}

#alertBox .alert-error {
    background: #2d1515;
    border: 2px solid #dc2626;
    color: #fca5a5;
}

#alertBox .alert-success {
    background: #14291b;
    border: 2px solid #22c55e;
    color: #86efac;
}

#alertBox .alert-info {
    background: #1e293b;
    border: 2px solid var(--primary-color);
    color: #93c5fd;
}

/* Loading State */
.loading-overlay {
    text-align: center;
    padding: 40px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin-loader 0.8s linear infinite;
    margin: 0 auto 20px;
}

.loading-text {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 600;
}

/* Article Content Styles */
.article-content {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    margin-top: 40px;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 40px 0 20px 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 30px 0 15px 0;
}

.article-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
    color: var(--text-secondary);
}

.article-content li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.7;
}

.article-content li strong {
    color: var(--text-primary);
}

.article-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.article-content a:hover {
    color: #5d9fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .thumbnail-downloader {
        padding: 10px;
    }

    .hero-banner {
        padding: 30px 20px;
    }

    .hero-banner h1 {
        font-size: 28px;
    }

    .hero-tagline {
        font-size: 16px;
    }

    .feature-pills {
        gap: 8px;
    }

    .pill {
        font-size: 12px;
        padding: 6px 16px;
    }

    .input-section {
        padding: 20px;
    }

    #videoUrl {
        padding: 16px 16px 16px 50px;
        font-size: 14px;
    }

    .input-icon {
        font-size: 18px;
        left: 16px;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn {
        font-size: 14px;
        padding: 14px 20px;
    }

    .video-preview {
        flex-direction: column;
    }

    .video-thumb-preview {
        width: 100%;
        height: auto;
    }

    .video-title {
        font-size: 16px;
    }

    .video-meta {
        font-size: 13px;
    }

    .thumbnails-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .section-title {
        font-size: 20px;
    }

    .download-all-btn {
        width: 100%;
        justify-content: center;
    }

    .thumb-label {
        font-size: 14px;
    }

    .thumb-size {
        font-size: 12px;
    }

    .thumb-btn {
        font-size: 13px;
        padding: 10px 12px;
    }

    .article-content {
        padding: 24px;
    }

    .article-content h2 {
        font-size: 24px;
    }

    .article-content h3 {
        font-size: 20px;
    }

    .article-content p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero-banner h1 {
        font-size: 24px;
    }

    .hero-tagline {
        font-size: 14px;
    }

    .thumbnails-grid {
        gap: 12px;
    }

    .quality-tag {
        font-size: 10px;
        padding: 4px 10px;
    }

    .resolution-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/* Language Dropdown Styles */
.nav-lang-dropdown {
    position: relative;
}

.nav-lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    transition: all 0.3s ease;
}

.nav-lang-toggle:hover {
    border-color: var(--primary-color);
    background: var(--card-bg);
}

.nav-lang-toggle i {
    font-size: 16px;
}

.lang-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-lang-dropdown[open] .lang-arrow {
    transform: rotate(180deg);
}

.nav-lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: var(--shadow);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    z-index: 1000;
}

.nav-lang-menu li {
    margin: 0;
}

.nav-lang-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-lang-menu a:hover {
    background: var(--surface);
    color: var(--primary-color);
}

.nav-lang-menu a.active {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

/* Scrollbar */
.nav-lang-menu::-webkit-scrollbar {
    width: 6px;
}

.nav-lang-menu::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

.nav-lang-menu::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-lang-menu {
        right: auto;
        left: 0;
        min-width: 180px;
    }
}


/* Modern Channel Card Styles */
.channel-card-modern {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease;
}

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

.channel-card-modern:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

/* HEADER */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.header-left {
    display: flex;
    gap: 16px;
    flex: 1;
}

/* Avatar */
.avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.channel-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    object-fit: cover;
    transition: all 0.3s ease;
}

.channel-card-modern:hover .channel-avatar {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.avatar-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 24px;
    height: 24px;
    background: #ff0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--card-bg);
}

.avatar-badge i {
    color: white;
    font-size: 12px;
}

/* Channel Details */
.channel-details {
    flex: 1;
    min-width: 0;
}

.channel-title {
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.channel-title a {
    color: var(--text-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.channel-title a:hover {
    color: var(--primary-color);
}

.channel-title i {
    font-size: 14px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.channel-title a:hover i {
    opacity: 1;
    transform: translateX(2px) translateY(-2px);
}

/* Channel Meta */
.channel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-secondary);
    font-weight: 500;
}

.meta-item i {
    font-size: 12px;
}

.meta-item.monetized {
    background: linear-gradient(135deg, #b1ff00 0%, #8fcc00 100%);
    border-color: #b1ff00;
    color: #0a0a0b;
}

/* Status Badge */
.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.terminated {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

/* STATS GRID */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a5fc7 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    color: white;
    font-size: 18px;
}

.stat-card.terminated-date .stat-icon {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

.stat-content {
    flex: 1;
    min-width: 0;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Updated CSS - Horizontal Videos & Responsive TERMINATED */

/* Updated CSS - Horizontal Videos & Responsive TERMINATED */

/* VIDEOS SECTION - HORIZONTAL SCROLL */
.videos-section {
    margin-top: 24px;
}

.section-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.section-title i {
    color: var(--primary-color);
}

.videos-count {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Horizontal Videos Grid - Both Mobile & Desktop */
.videos-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
    padding-bottom: 8px;
}

.videos-grid::-webkit-scrollbar {
    height: 6px;
}

.videos-grid::-webkit-scrollbar-track {
    background: transparent;
}

.videos-grid::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

.videos-grid::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Video Card */
.video-card-modern {
    display: block;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    flex: 0 0 280px;
    scroll-snap-align: start;
}

.video-card-modern:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: var(--background);
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card-modern:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.video-card-modern:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-overlay i {
    color: white;
    font-size: 20px;
    margin-left: 3px;
}

.views-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(10px);
}

.views-badge i {
    font-size: 10px;
}

.video-info {
    padding: 12px;
}

.video-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .channel-card-modern {
        padding: 16px;
    }

    .card-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .header-left {
        width: 100%;
    }

    .channel-avatar {
        width: 56px;
        height: 56px;
    }

    .avatar-badge {
        width: 20px;
        height: 20px;
    }

    .avatar-badge i {
        font-size: 10px;
    }

    .channel-title {
        font-size: 18px;
    }

    .channel-title i {
        font-size: 12px;
    }

    .channel-meta {
        gap: 8px;
    }

    .meta-item {
        font-size: 12px;
        padding: 3px 8px;
    }

    /* TERMINATED button - Full width on mobile */
    .status-badge {
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
        font-size: 11px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 20px;
    }

    .stat-card {
        padding: 12px;
        gap: 10px;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
    }

    .stat-icon i {
        font-size: 16px;
    }

    .stat-value {
        font-size: 16px;
    }

    .stat-label {
        font-size: 10px;
    }

    .videos-section {
        margin-top: 20px;
    }

    .section-header {
        margin-bottom: 12px;
    }

    .section-title {
        font-size: 14px;
    }

    .section-title i {
        font-size: 14px;
    }

    .videos-count {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    /* Mobile: Smaller video cards but still horizontal */
    .video-card-modern {
        flex: 0 0 240px;
    }

    .video-info {
        padding: 10px;
    }

    .video-title {
        font-size: 12px;
    }

    .views-badge {
        font-size: 10px;
        padding: 3px 6px;
    }

    .play-overlay {
        width: 44px;
        height: 44px;
    }

    .play-overlay i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .channel-card-modern {
        padding: 14px;
        border-radius: 12px;
    }

    .channel-avatar {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }

    .channel-title {
        font-size: 16px;
    }

    .status-badge {
        font-size: 10px;
        padding: 6px 10px;
    }

    .stats-grid {
        gap: 8px;
    }

    .stat-card {
        padding: 10px;
    }

    .stat-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .stat-icon i {
        font-size: 14px;
    }

    .stat-value {
        font-size: 15px;
    }

    /* Extra small screens: Even smaller video cards */
    .video-card-modern {
        flex: 0 0 200px;
    }

    .section-title {
        font-size: 13px;
    }

    .videos-count {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
}

@media (min-width: 769px) {
    /* Desktop: TERMINATED badge inline (not full width) */
    .status-badge {
        align-self: flex-start;
        width: auto;
    }

    /* Desktop: Slightly larger video cards */
    .video-card-modern {
        flex: 0 0 320px;
    }
}
