/* ─── Reset & Base ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

html, body {
  height: 100%;
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  color: #fff6ea;
  background: #120d12;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

body {
  background:
    radial-gradient(circle at 14% 0%, rgba(215,168,110,.16), transparent 30vh),
    radial-gradient(circle at 86% 8%, rgba(185,74,104,.12), transparent 28vh),
    #120d12;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  outline: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ─── Loading Screen ──────────────────────────────────── */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background:
    radial-gradient(circle at 50% 30%, rgba(215,168,110,.18), transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(185,74,104,.12), transparent 40%),
    #120d12;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.loading-logo-wrap {
  position: relative;
  width: 80px;
  height: 80px;
}

.loading-logo {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 0 40px rgba(215,168,110,.4), 0 16px 32px rgba(0,0,0,.5);
  animation: logoPulse 2s ease-in-out infinite;
}

.loading-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 28px;
  border: 2px solid rgba(215,168,110,.3);
  animation: pulseRing 1.5s ease-out infinite;
}

.loading-text {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: rgba(255,246,234,.5);
}

.loading-bar {
  width: 120px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}

.loading-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #d7a86e, #b94a68);
  animation: loadProgress 1.8s ease-in-out forwards;
}

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

@keyframes pulseRing {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}

@keyframes loadProgress {
  0% { width: 0%; }
  60% { width: 70%; }
  100% { width: 100%; }
}

/* ─── Main Content ────────────────────────────────────── */
.main-content {
  opacity: 0;
  transition: opacity 0.6s ease;
  padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
}

.main-content.visible {
  opacity: 1;
}

/* ─── Top Header ──────────────────────────────────────── */
.top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  background: rgba(18,13,18,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

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

.header-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
}

.header-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.header-brand {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
}

.header-tagline {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,246,234,.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.header-right {
  display: flex;
  align-items: center;
}

.header-download-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d7a86e, #b94a68);
  color: #120d12;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(215,168,110,.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.header-download-btn:active {
  transform: scale(0.96);
}

.header-download-btn svg {
  flex-shrink: 0;
}

/* ─── Category Tabs ───────────────────────────────────── */
.category-tabs {
  position: sticky;
  top: calc(62px + env(safe-area-inset-top, 0px));
  z-index: 90;
  background: rgba(18,13,18,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.tab-scroll {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tab-scroll::-webkit-scrollbar {
  display: none;
}

.tab {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  color: rgba(255,246,234,.55);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.tab:active {
  transform: scale(0.97);
}

.tab.active {
  color: #120d12;
  background: linear-gradient(135deg, #d7a86e, #e0b57a);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(215,168,110,.3);
}

.tab svg {
  flex-shrink: 0;
}

/* ─── Sort Bar ────────────────────────────────────────── */
.sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 8px;
}

.sort-left {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.sort-label {
  font-size: 15px;
  font-weight: 800;
  color: #fff6ea;
}

.sort-count {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,246,234,.4);
}

.sort-right {
  display: flex;
  gap: 4px;
}

.sort-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: rgba(255,246,234,.4);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
  transition: all 0.15s ease;
}

.sort-btn.active {
  color: #d7a86e;
  background: rgba(215,168,110,.12);
  border-color: rgba(215,168,110,.2);
}

/* ─── Video Waterfall Grid ────────────────────────────── */
.video-waterfall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 4px 10px 20px;
}

.video-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: cardFadeIn 0.5s ease backwards;
}

.video-card:active {
  transform: scale(0.98);
}

.video-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.video-thumb-wrap {
  position: relative;
  overflow: hidden;
}

.video-thumb {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #1a1218 0%, #2a1828 50%, #1a1218 100%);
  background-size: 200% 200%;
  animation: shimmer 1.5s ease infinite;
}

.video-duration {
  position: absolute;
  bottom: 6px;
  right: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: rgba(0,0,0,.35);
}

.video-card:hover .video-play-overlay {
  opacity: 1;
}

.video-play-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(215,168,110,.9);
  box-shadow: 0 4px 16px rgba(215,168,110,.4);
}

.video-play-icon svg {
  margin-left: 2px;
}

.video-vip-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 8px;
  border-radius: 4px;
  background: linear-gradient(135deg, #d7a86e, #e8c88a);
  color: #120d12;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(215,168,110,.3);
}

.video-live-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(232,68,90,.9);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.video-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: livePulse 1.5s ease infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.video-card-info {
  padding: 8px 10px 10px;
}

.video-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff6ea;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}

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

.video-views {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,246,234,.4);
}

.video-views svg {
  flex-shrink: 0;
}

.video-likes {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,246,234,.4);
}

.video-likes svg {
  flex-shrink: 0;
}

/* ─── Load More ───────────────────────────────────────── */
.load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  color: rgba(255,246,234,.4);
  font-size: 12px;
  font-weight: 600;
}

.load-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.1);
  border-top-color: #d7a86e;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ─── Download Toast ──────────────────────────────────── */
.download-toast {
  position: fixed;
  right: max(14px, env(safe-area-inset-right, 0px));
  bottom: max(96px, calc(env(safe-area-inset-bottom, 0px) + 86px));
  z-index: 200;
  display: flex;
  width: min(268px, calc(100vw - 28px));
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(97,217,193,.35);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(17,25,30,.96);
  box-shadow: 0 18px 48px rgba(49,178,153,.2), 0 0 0 1px rgba(255,255,255,.06) inset;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.3s ease;
  animation: toastSlideIn 0.4s ease 3s backwards;
  opacity: 0;
}

.download-toast.visible {
  opacity: 1;
}

.download-toast:active {
  transform: scale(0.98);
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
}

.download-toast-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.download-toast-body {
  flex: 1;
  min-width: 0;
}

.download-toast-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.download-toast-desc {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  margin-top: 2px;
}

.download-toast-pulse {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #38d878;
  box-shadow: 0 0 0 5px rgba(56,216,120,.15);
  animation: pulseDot 2s ease infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(56,216,120,.15); }
  50% { box-shadow: 0 0 0 8px rgba(56,216,120,.05); }
}

/* ─── Bottom Navigation ───────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 8px 4px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(16,17,20,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,.08);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  color: rgba(255,246,234,.4);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-item.active {
  color: #d7a86e;
}

.nav-item:active {
  opacity: 0.7;
}

.nav-download {
  position: relative;
}

.nav-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d7a86e, #b94a68);
  color: #fff;
  box-shadow: 0 8px 24px rgba(215,168,110,.35);
  margin-top: -16px;
  transition: transform 0.15s ease;
}

.nav-download:active .nav-download-btn {
  transform: scale(0.94);
}

.nav-download span {
  color: #d7a86e;
  font-weight: 700;
}

/* ─── Player Overlay ──────────────────────────────────── */
.player-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.player-overlay.active {
  opacity: 1;
  visibility: visible;
}

.player-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.player-container {
  position: relative;
  width: 100%;
  max-height: 92vh;
  background: #120d12;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.player-overlay.active .player-container {
  transform: translateY(0);
}

.player-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  color: #fff;
}

.player-video-area {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0a070a;
  overflow: hidden;
}

.player-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.3);
}

.player-play-icon svg {
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.5));
}

.player-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,.15);
}

.player-progress-fill {
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, #d7a86e, #b94a68);
  border-radius: 0 2px 2px 0;
}

.player-info {
  padding: 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

.player-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff6ea;
  line-height: 1.35;
  margin-bottom: 6px;
}

.player-meta {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,246,234,.45);
  margin-bottom: 16px;
}

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

.player-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,246,234,.7);
  font-size: 12px;
  font-weight: 700;
  transition: all 0.15s ease;
}

.player-action-btn:active {
  transform: scale(0.97);
}

.player-download-cta {
  flex: 1;
  justify-content: center;
  background: linear-gradient(135deg, #d7a86e, #b94a68);
  border-color: transparent;
  color: #120d12;
  box-shadow: 0 6px 16px rgba(215,168,110,.3);
}

/* ─── Download Modal ──────────────────────────────────── */
.download-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4,8,12,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-card {
  position: relative;
  width: min(100%, 400px);
  padding: 0 22px 20px;
  border: 1px solid rgba(215,168,110,.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 6%, rgba(215,168,110,.22), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(185,74,104,.18), transparent 30%),
    linear-gradient(180deg, #1a1218, #120d12);
  box-shadow: 0 26px 80px rgba(0,0,0,.6);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.download-modal.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-strip {
  height: 4px;
  margin: 0 -22px 18px;
  background: linear-gradient(90deg, #d7a86e, #b94a68);
}

.modal-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 100px;
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(215,168,110,.15), rgba(185,74,104,.08)),
    rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  margin-bottom: 16px;
}

.modal-phone {
  position: relative;
  width: 56px;
  height: 72px;
  border: 2px solid rgba(255,255,255,.22);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.1), transparent 30%),
              linear-gradient(145deg, #1a1218, #1a0f1c);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-phone-hd {
  position: absolute;
  top: 7px;
  left: 8px;
  color: #d7a86e;
  font-size: 9px;
  font-weight: 900;
}

.modal-phone-pill {
  width: 26px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d7a86e, #b94a68);
}

.modal-play-circle {
  width: 68px;
  height: 68px;
  border: 1px solid rgba(215,168,110,.25);
  border-radius: 22px;
  background:
    radial-gradient(circle at 35% 28%, rgba(215,168,110,.22), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,.35));
}

.modal-play-triangle {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #d7a86e;
}

.modal-signal {
  display: grid;
  grid-template-columns: repeat(3, 7px);
  gap: 4px;
  align-items: flex-end;
  height: 56px;
  padding-bottom: 10px;
}

.modal-signal i {
  display: block;
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d7a86e, #b94a68);
}

.modal-signal i:nth-child(1) { height: 16px; opacity: .6; }
.modal-signal i:nth-child(2) { height: 26px; opacity: .8; }
.modal-signal i:nth-child(3) { height: 38px; }

.modal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.04);
}

.modal-brand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
}

.modal-brand strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
}

.modal-brand span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.modal-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.modal-benefits span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.06);
  color: #fff6ea;
  font-size: 12px;
  font-weight: 800;
}

.modal-benefits b {
  font-size: 14px;
}

.modal-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #d7a86e, #b94a68);
  color: #120d12;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(215,168,110,.3);
  transition: transform 0.15s ease;
}

.modal-download-btn:active {
  transform: scale(0.98);
}

.modal-close-btn {
  width: 100%;
  height: 44px;
  margin-top: 8px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: rgba(255,246,234,.6);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.15s ease;
}

.modal-close-btn:active {
  opacity: 0.7;
}

/* ─── Responsive ──────────────────────────────────────── */
@media (min-width: 480px) {
  .video-waterfall {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .video-waterfall {
    grid-template-columns: repeat(4, 1fr);
    max-width: 900px;
    margin: 0 auto;
  }

  .top-header,
  .category-tabs,
  .sort-bar {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1024px) {
  .video-waterfall {
    grid-template-columns: repeat(5, 1fr);
    max-width: 1100px;
  }

  .top-header,
  .category-tabs,
  .sort-bar {
    max-width: 1100px;
  }
}

/* ─── Scrollbar Styles ────────────────────────────────── */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.1);
  border-radius: 999px;
}

/* ─── Utility Animations ──────────────────────────────── */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,.04) 25%, rgba(255,255,255,.08) 50%, rgba(255,255,255,.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
