/* =====================================================
 * ZONA ASUPAN69 — style.css v7.2
 * Mobile-First | Production-Ready | Zero !important
 * ===================================================== */

:root {
  --neon-purple: #8b5cf6;
  --neon-cyan: #00d4ff;
  --accent-pink: #ec4899;
  --bg-dark: #060609;
  --bg-darker: #05050a;
  --card-bg: #12121a;
  --text-light: #f9fafb;
  --text-muted: #a1a8b0;
  --border-color: rgba(139, 92, 246, 0.2);
  --gradient: linear-gradient(135deg, #8b5cf6, #ec4899, #00d4ff);
  --gradient-card: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(236, 72, 153, 0.04));
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.15), transparent 70%);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-pill: 100px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-neon: 0 0 30px rgba(139, 92, 246, 0.5), 0 0 60px rgba(236, 72, 153, 0.3);
  --z-header: 30;
  --z-telegram: 40;
  --z-overlay: 50;
  --z-modal: 60;
  --z-toast: 70;
  --z-progress: 80;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  height: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
  color: var(--text-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  padding: 9px;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

button, a {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.2s var(--ease);
  touch-action: manipulation;
}

a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
[role="button"]:focus-visible,
.sidebar-item:focus-visible,
.category-item:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Utility — visually-hidden uses !important as required by a11y pattern */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ===== SKELETON ===== */
.skeleton {
  background: linear-gradient(90deg, #1a1a1f 25%, #2a2a2f 50%, #1a1a1f 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient);
  z-index: var(--z-progress);
  transition: width 0.1s ease-out;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
  will-change: width;
}

/* ===== VIP OVERLAY & POPUP ===== */
.vip-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.vip-overlay.show { opacity: 1; visibility: visible; }

.vip-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 93%;
  max-width: 380px;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease-bounce);
  pointer-events: none;
}

.vip-popup.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.vip-card {
  background: linear-gradient(180deg, #0a0814, #05030a);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  border: 1px solid rgba(144, 105, 233, 0.6);
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.vip-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: var(--gradient-glow);
  opacity: 0.5;
  pointer-events: none;
}

.vip-title {
  text-align: center;
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.vip-desc-card {
  margin: 16px 0;
  background: rgba(0, 0, 0, 0.4);
  padding: 14px;
  border-radius: var(--radius);
  border: 1px dashed rgba(144, 105, 233, 0.25);
  position: relative;
  z-index: 1;
}

.vip-desc-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #e0e0e0;
  text-align: center;
}

.vip-features-card {
  background: rgba(0, 0, 0, 0.3);
  padding: 14px;
  border-radius: var(--radius);
  border-left: 3px solid var(--neon-purple);
  margin: 14px 0;
  position: relative;
  z-index: 1;
}

.vip-features-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.vip-features-header strong { font-size: 14px; color: var(--neon-cyan); font-weight: 700; }

.vip-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.vip-features-list li {
  position: relative;
  padding-left: 22px;
  font-size: 12px;
  line-height: 1.5;
  color: #d0d0d0;
}

.vip-features-list li::before {
  content: "✪";
  position: absolute;
  left: 0;
  color: var(--neon-purple);
  font-size: 12px;
}

.vip-cta-text {
  text-align: center;
  margin: 16px 0 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--neon-cyan);
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

.vip-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.vip-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(144, 105, 233, 0.25), rgba(144, 105, 233, 0.15));
  border: 1px solid rgba(144, 105, 233, 0.4);
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.vip-btn:hover {
  transform: translateY(-2px);
  border-color: var(--neon-purple);
  box-shadow: var(--shadow-md);
  background: linear-gradient(90deg, rgba(144, 105, 233, 0.35), rgba(144, 105, 233, 0.2));
}

.vip-btn:active { transform: translateY(0) scale(0.98); }

.vip-close-btn {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(144, 105, 233, 0.15);
  border: 1px solid rgba(144, 105, 233, 0.3);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.vip-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(6, 6, 9, 0.95);
  padding: 6px 0;
  border-bottom: 1px solid rgba(144, 105, 233, 0.3);
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo69 {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: contain;
  border: 0.69px solid var(--neon-purple);
  flex-shrink: 0;
}

.header-info { flex: 1; min-width: 0; }

.title69 {
  font-weight: 800;
  font-size: 21px;
  line-height: 1.2;
  background: linear-gradient(180deg, #b693f9, #9069e9, #3c2882);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 9px #090909);
}

.subtitle69 {
  color: cyan;
  font-size: 0.69rem;
  font-weight: 400;
  text-shadow: 0 0 9px #090909;
  margin-top: 1px;
}

/* ===== BANNER ===== */
.banner-zonaasupan69 {
  margin: 16px 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 6px rgba(144, 105, 233, 0.3);
  border: 1px solid rgba(169, 119, 255, 0.45);
  cursor: pointer;
}

.banner-zonaasupan69 img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease);
}

.banner-zonaasupan69:hover img { transform: scale(1.02); }

.click-again-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  z-index: 10;
}

.click-again-overlay.visible {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.click-again-text {
  color: var(--neon-cyan);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 12px 20px;
  background: rgba(144, 105, 233, 0.3);
  border: 2px solid var(--neon-purple);
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ===== SEARCH & FILTER ===== */
.search-filter-container {
  display: flex;
  gap: 10px;
  max-width: 1200px;
  margin: 14px auto;
  padding: 0 8px;
  align-items: center;
}

.search-wrapper { position: relative; flex: 1; min-width: 0; }

.search-input {
  width: 100%;
  padding: 9px 42px 9px 16px;
  border-radius: 24px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  font-size: 13px;
  background: rgba(18, 18, 26, 0.8);
  color: #fff;
  transition: all 0.2s var(--ease);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.3);
  -webkit-appearance: none;
}

.search-input:focus {
  outline: none;
  border-color: var(--neon-purple);
  transform: translateY(-1px);
  box-shadow: 0 3px 9px rgba(139, 92, 246, 0.3), 0 0 18px rgba(139, 92, 246, 0.2);
  background: rgba(18, 18, 26, 0.96);
}

.search-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.search-input::-webkit-search-cancel-button { display: none; }

.search-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s var(--ease);
}

.search-btn:hover {
  color: var(--neon-purple);
  transform: translateY(-50%) scale(1.1);
}

/* ===== CATEGORY DROPDOWN ===== */
.category-dropdown-wrapper {
  position: relative;
  flex-shrink: 0;
  min-width: 118px;
  max-width: 169px;
}

.category-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 9px 12px;
  border-radius: 20px;
  border: 1px solid rgba(144, 105, 233, 0.6);
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  width: 100%;
  justify-content: space-between;
}

.category-dropdown-btn:hover {
  border-color: var(--neon-purple);
  transform: translateY(-1px);
}

.category-dropdown-btn .dropdown-icon {
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.category-dropdown-btn[aria-expanded="true"] .dropdown-icon {
  transform: rotate(180deg);
}

.category-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  background: linear-gradient(145deg, rgba(15, 15, 20, 0.99), rgba(10, 10, 15, 0.99));
  border: 1px solid rgba(144, 105, 233, 0.3);
  border-radius: var(--radius);
  padding: 4px;
  display: none;
  flex-direction: column;
  gap: 3px;
  z-index: 20;
  box-shadow: var(--shadow-md);
}

.category-dropdown-menu.show {
  display: flex;
  animation: fadeIn 0.2s var(--ease);
}

.category-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  position: relative;
}

.category-item:hover {
  background: rgba(144, 105, 233, 0.2);
  transform: translateX(4px);
}

.category-item.active {
  background: linear-gradient(90deg, rgba(144, 105, 233, 0.3), rgba(144, 105, 233, 0.15));
  color: var(--neon-cyan);
}

.category-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 65%;
  background: var(--neon-cyan);
  border-radius: 2px;
}

.category-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.category-item span { flex: 1; }

/* ===== TABS ===== */
.tabs { margin: 16px auto; max-width: 1200px; }
.tab-panel { display: none; }
.tab-panel.visible {
  display: block;
  animation: fadeInPanel 0.4s var(--ease);
}

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

/* ===== VIDEO GRID ===== */
.sidebar-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 18px;
}

/* ===== VIDEO CARD ===== */
.sidebar-item {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(144, 105, 233, 0.25);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  cursor: pointer;
}

.sidebar-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.1));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.sidebar-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 40px rgba(144, 105, 233, 0.2);
  border-color: rgba(144, 105, 233, 0.5);
  border-bottom-width: 2px;
  border-bottom-color: var(--neon-purple);
}

.sidebar-item:hover::before { opacity: 1; }
.sidebar-item:active { transform: translateY(-2px) scale(1.01); }

.thumbnail {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: transform 0.3s var(--ease);
}

.sidebar-item:hover .thumbnail { transform: scale(1.05); }

.sidebar-info {
  padding: 9px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.sidebar-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

.sidebar-channel, .sidebar-meta {
  font-size: 9px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.sidebar-channel svg, .sidebar-meta svg,
.sidebar-channel i, .sidebar-meta i {
  width: 10px;
  height: 10px;
  font-size: 9px;
  flex-shrink: 0;
}

/* ===== IFRAME CONTAINER (JAV TAB) ===== */
.iframe-container {
  position: relative;
  width: 100%;
  min-height: 100svh;
  background: #000;
  overflow: hidden;
  border-radius: var(--radius);
}

.iframe-container iframe {
  width: 100%;
  height: 100svh;
  border: none;
  display: block;
}

/* ===== TOAST ===== */
.toast-container {
  position: fixed;
  top: 70px;
  right: 12px;
  left: 12px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: all;
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(15, 15, 20, 0.98), rgba(10, 10, 15, 0.98));
  border: 1px solid rgba(144, 105, 233, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 16px rgba(144, 105, 233, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastSlideIn 0.4s var(--ease-bounce);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.toast.removing { animation: toastSlideOut 0.3s var(--ease) forwards; }

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes toastSlideOut {
  to { opacity: 0; transform: translateX(100%); }
}

.toast-icon {
  font-size: 18px;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(144, 105, 233, 0.2);
}

.toast-success .toast-icon { color: #00ff88; background: rgba(0, 255, 136, 0.15); }
.toast-error .toast-icon { color: #ff6b00; background: rgba(255, 107, 0, 0.15); }
.toast-info .toast-icon { color: #00ffff; background: rgba(0, 255, 255, 0.15); }
.toast-warning .toast-icon { color: #ffaa00; background: rgba(255, 170, 0, 0.15); }

.toast-content { flex: 1; min-width: 0; }
.toast-title { font-size: 12px; font-weight: 700; color: var(--text-light); margin-bottom: 2px; }
.toast-message { font-size: 11px; color: rgba(255, 255, 255, 0.7); line-height: 1.4; }

.toast-close {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1;
}

.toast-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: scale(1.1);
}

/* ===== TELEGRAM FLOAT ===== */
.telegram-float {
  position: fixed;
  left: 12px;
  bottom: 20px;
  z-index: var(--z-telegram);
  cursor: pointer;
  animation: floatUpDown 3s ease-in-out infinite;
  text-decoration: none;
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.telegram-float-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 39px;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.97), rgba(9, 9, 9, 0.97));
  border: 1px solid rgba(144, 105, 233, 0.4);
  color: var(--text-light);
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.telegram-float-inner:hover {
  background: linear-gradient(135deg, rgba(144, 105, 233, 0.5), rgba(144, 105, 233, 0.3));
  border-color: var(--neon-purple);
  box-shadow: var(--shadow-neon);
}

.telegram-float-inner svg {
  display: block;
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.9));
  flex-shrink: 0;
}

/* ===== LOAD MORE ===== */
.load-more-wrapper {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  padding: 0 12px;
}

.load-more-btn-big {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: rgba(18, 18, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: subtleGlow 4s ease-in-out infinite;
}

@keyframes subtleGlow {
  0%, 100% { box-shadow: 0 4px 16px rgba(139, 92, 246, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
  50% { box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2), 0 0 30px rgba(139, 92, 246, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
}

.load-more-btn-big:hover {
  transform: translateY(-2px);
  background: rgba(18, 18, 26, 0.85);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3), 0 0 40px rgba(139, 92, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.load-more-btn-big:active { transform: translateY(0); }

.load-more-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(0, 212, 255, 0.15));
  border-radius: 50%;
  flex-shrink: 0;
  z-index: 1;
}

.load-more-icon i {
  font-size: 14px;
  color: var(--neon-cyan);
  animation: gentleBounce 3s ease-in-out infinite;
}

@keyframes gentleBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.load-more-content { display: flex; flex-direction: column; gap: 3px; z-index: 1; }
.load-more-title { font-size: 14px; font-weight: 700; color: #f9f9f9; letter-spacing: 0.3px; }
.load-more-counter { font-size: 11px; color: rgba(255, 255, 255, 0.5); font-weight: 400; }

.load-more-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(0, 212, 255, 0.15);
  border-radius: 50%;
  z-index: 1;
  transition: all 0.3s var(--ease);
}

.load-more-btn-big:hover .load-more-arrow {
  transform: translateY(2px);
  background: rgba(0, 212, 255, 0.25);
}

.load-more-arrow i { font-size: 12px; color: var(--neon-cyan); }

.load-complete-message {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(0, 255, 136, 0.06);
  border: 1.5px solid rgba(0, 255, 136, 0.2);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(0, 255, 136, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.load-complete-message i { font-size: 20px; color: #00ff88; animation: scaleIn 0.5s var(--ease-bounce); }

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

.complete-title { font-size: 12px; font-weight: 700; color: #00ff88; }
.complete-count { font-size: 11px; color: rgba(0, 255, 136, 0.6); font-weight: 400; margin-left: 4px; }

/* ===== FOOTER ===== */
.footer-copyright {
  text-align: center;
  padding: 16px 12px;
  margin-top: 24px;
  border-top: 1px solid var(--border-color);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
}

.footer-copyright p {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 1.6;
}

/* ===== AD FOOTER BANNER ===== */
.ad-footer-banner {
  width: 100%;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.98), rgba(5, 5, 10, 0.98));
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  padding: 12px 0;
  text-align: center;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
  margin-top: 4px;
}

.ad-footer-label {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  font-weight: 600;
}

.ad-footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
}

.ad-footer-content iframe { max-width: 100%; border: none; display: block; }

/* ===== VIP HEADER BUTTON ===== */
.vip-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(236, 72, 153, 0.15));
  border: 1px solid rgba(139, 92, 246, 0.5);
  color: var(--text-light);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
  cursor: pointer;
}

.vip-header-btn:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(236, 72, 153, 0.25));
  border-color: var(--neon-purple);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.vip-header-btn i { font-size: 11px; color: #f59e0b; }

/* ===== WATCH PAGE ===== */
.watch-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 4px;
  gap: 12px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.btn-back:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--neon-purple);
  transform: translateX(-2px);
}

.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  margin-left: auto;
  transition: all 0.2s var(--ease);
}

.btn-share:hover {
  background: rgba(0, 212, 255, 0.2);
  border-color: var(--neon-cyan);
  transform: translateY(-1px);
}

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

.main-player {
  max-width: 1400px;
  margin: 0 auto 24px;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.video-container { position: relative; width: 100%; background: #000; }

.player-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  overflow: hidden;
}

.player-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #000;
}

.player-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
  z-index: 10;
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(135deg, #0a0a0f, #050509);
  z-index: 100;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(139, 92, 246, 0.2);
  border-top-color: var(--neon-purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ===== VIDEO INFO ===== */
.video-info { padding: 16px 20px; background: #0f0f14; }

.video-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-light);
  margin: 0 0 12px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(139, 92, 246, 0.15);
}

.meta-left, .meta-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.meta-item i { font-size: 13px; color: rgba(139, 92, 246, 0.8); }

/* ===== ACTION BUTTONS ===== */
.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.action-btn:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--neon-purple);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.action-btn:active { transform: translateY(0); }
.action-btn i { font-size: 13px; }

.action-btn.download {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 212, 255, 0.08));
  border-color: rgba(0, 212, 255, 0.3);
}

.action-btn.download:hover {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(0, 212, 255, 0.15));
  border-color: var(--neon-cyan);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.action-btn.download i { color: var(--neon-cyan); }

.action-btn.telegram {
  background: linear-gradient(135deg, rgba(41, 182, 246, 0.15), rgba(41, 182, 246, 0.08));
  border-color: rgba(41, 182, 246, 0.3);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.action-btn.telegram:hover {
  background: linear-gradient(135deg, rgba(41, 182, 246, 0.25), rgba(41, 182, 246, 0.15));
  border-color: #29b6f6;
  box-shadow: 0 4px 12px rgba(41, 182, 246, 0.3);
}

.action-btn.telegram svg { color: #29b6f6; flex-shrink: 0; }

/* ===== THEATER MODE ===== */
.main-player.theater-mode {
  position: fixed;
  inset: 0;
  z-index: 999;
  max-width: 100vw;
  margin: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

.main-player.theater-mode .video-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.main-player.theater-mode .player-wrapper {
  width: 100%;
  height: 100%;
  padding-bottom: 0;
}

.main-player.theater-mode .video-info {
  flex-shrink: 0;
  max-height: 180px;
  overflow-y: auto;
}

/* ===== DOWNLOAD MODAL ===== */
.download-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.download-modal.show { opacity: 1; visibility: visible; }

.download-modal-content {
  background: linear-gradient(180deg, #0f0f14, #0a0a0f);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modalSlideIn 0.4s var(--ease-bounce);
}

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

.modal-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin: 16px 0 24px;
  line-height: 1.5;
}

.modal-subtitle span { color: var(--neon-cyan); font-weight: 700; }

.download-action-btn {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.download-action-btn:hover:not(.disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.5);
}

.download-action-btn.disabled {
  background: rgba(139, 92, 246, 0.3);
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.download-action-btn.unlock-ready {
  background: linear-gradient(90deg, #00ff88, #00d4ff);
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 16px rgba(0, 255, 136, 0.3); }
  50% { box-shadow: 0 4px 24px rgba(0, 255, 136, 0.6), 0 0 40px rgba(0, 255, 136, 0.3); }
}

.download-action-btn.download-ready {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
}

.modal-footer-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.modal-footer-text i { color: #00ff88; }

/* ===== AD CIRCLE ===== */
.ad-circle-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 20px auto;
}

.ad-circle-svg { transform: rotate(-90deg); display: block; }

.ad-circle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.ad-countdown-num { font-size: 32px; font-weight: 700; color: var(--neon-cyan); }
.ad-countdown-label { font-size: 11px; color: rgba(255, 255, 255, 0.4); margin-top: 4px; }
#adProgressCircle { transition: stroke-dashoffset 1s linear; }

/* ===== RELATED VIDEOS ===== */
.tabs h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 8px 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-light);
  margin: 0;
}

.tabs h2 i { color: var(--neon-purple); }

#relatedVideosContainer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  padding: 0 4px;
}

/* ===== AD NATIVE ===== */
.ad-native-container {
  max-width: 1400px;
  margin: 24px auto;
  padding: 16px;
  background: rgba(18, 18, 26, 0.5);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: var(--radius-lg);
  text-align: center;
}

.ad-native-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
  .sidebar-container { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (min-width: 768px) {
  body { padding: 12px; }
  .sidebar-container { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  #relatedVideosContainer { gap: 12px; }
  .toast-container { right: 20px; left: auto; max-width: 380px; }
  .category-dropdown-menu { left: auto; right: 0; min-width: 220px; }
  .video-title { font-size: 20px; }
  .video-info { padding: 20px 24px; }
  .meta-item { font-size: 13px; }
  .action-btn { padding: 9px 16px; }
}

@media (min-width: 1024px) {
  .sidebar-container { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  #relatedVideosContainer { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .video-title { font-size: 22px; }
  .main-player { margin-bottom: 32px; }
}

@media (min-width: 1440px) {
  .sidebar-container { grid-template-columns: repeat(6, 1fr); }
  #relatedVideosContainer { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .video-title { font-size: 16px; }
  .video-info { padding: 12px 14px; }
  .video-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .meta-left, .meta-right { width: 100%; justify-content: space-between; }
  .action-btn span { display: none; }
  .action-btn { padding: 8px 10px; }
  .btn-back span { display: none; }
  .btn-back { padding: 8px 12px; }
  .load-more-btn-big { padding: 10px 20px; gap: 10px; }
  .load-more-arrow { display: none; }
  .load-more-icon { width: 28px; height: 28px; }
  .load-more-title { font-size: 13px; }
  .load-more-counter { font-size: 10px; }
}

@media (max-width: 896px) and (orientation: landscape) {
  .main-player { margin-bottom: 16px; }
  .video-info { padding: 12px 16px; }
  #relatedVideosContainer { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}

@media print {
  .header, .banner-zonaasupan69, .search-filter-container,
  .telegram-float, .vip-overlay, .vip-popup, .scroll-progress, .toast-container,
  .load-more-wrapper, .ad-footer-banner, .ad-native-container, .download-modal { display: none; }
  body { background: #fff; color: #000; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
  .scroll-progress { transition: none; }
}

@media (prefers-contrast: high) {
  :root {
    --text-muted: #c0c8d0;
    --border-color: rgba(139, 92, 246, 0.5);
  }
  .sidebar-item, .vip-card { border-width: 2px; }
}
