/* Browse page */
.browse-controls {
  display: flex; gap: 12px; padding: 24px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.browse-search { flex: 1; min-width: 200px; }
.browse-layout { display: flex; gap: 32px; padding: 32px 0 60px; }
.browse-sidebar { width: 240px; flex-shrink: 0; }
.browse-results { flex: 1; min-width: 0; }
.sidebar-section { margin-bottom: 28px; }
.sidebar-section h4 { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.sidebar-checks { display: flex; flex-direction: column; gap: 8px; }
.check-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-muted); cursor: pointer; transition: color 0.2s; }
.check-item:hover { color: var(--text); }
.check-item input { accent-color: var(--purple); width: 16px; height: 16px; }
.results-meta { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
@media (max-width: 700px) {
  .browse-layout { flex-direction: column; }
  .browse-sidebar { width: 100%; }
}

/* Video page */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.video-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  transition: all 0.2s;
}
.video-card:hover { border-color: var(--purple); transform: translateY(-3px); }
.video-thumb {
  height: 160px; display: flex; align-items: center; justify-content: center;
  font-size: 54px; position: relative;
}
.vt-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.4); opacity: 0; transition: opacity 0.2s;
  font-size: 36px; color: #fff;
}
.video-card:hover .vt-play { opacity: 1; }
.vt-duration {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.7); color: #fff;
  font-size: 11px; padding: 3px 7px; border-radius: 6px;
}
.video-body { padding: 14px; }
.video-user { font-size: 12px; color: var(--purple); margin-bottom: 4px; }
.video-title { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.video-meta { font-size: 12px; color: var(--text-muted); }

/* Sell / Upload form */
.sell-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; padding: 48px 0 80px; }
.sell-main .card { margin-bottom: 20px; }
.sell-sidebar .card { margin-bottom: 20px; }
.price-row { display: flex; gap: 10px; }
.price-row input { flex: 1; }
.price-row select { width: 130px; }
.upload-zone {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 40px; text-align: center; cursor: pointer;
  transition: border-color 0.2s; color: var(--text-muted);
}
.upload-zone:hover { border-color: var(--purple); color: var(--purple); }
.upload-zone .uz-icon { font-size: 36px; margin-bottom: 10px; }
.upload-zone p { font-size: 14px; }
.tip-list { list-style: none; }
.tip-list li { font-size: 13px; color: var(--text-muted); padding: 6px 0; border-bottom: 1px solid var(--border); display: flex; gap: 10px; }
.tip-list li::before { content: '✓'; color: var(--green); flex-shrink: 0; }
@media (max-width: 800px) { .sell-layout { grid-template-columns: 1fr; } }

/* Payments page */
.pay-hero { padding: 80px 0 60px; text-align: center; }
.pay-hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 14px; letter-spacing: -1.5px; }
.pay-hero p { color: var(--text-muted); max-width: 500px; margin: 0 auto; }
.payment-section-block { margin-bottom: 48px; }
.payment-section-block h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.payment-section-block p { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.pay-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pay-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 20px; text-align: center;
  transition: all 0.2s; cursor: pointer;
}
.pay-card:hover { border-color: var(--purple); background: rgba(108,99,255,0.08); transform: translateY(-2px); }
.pay-card-icon { font-size: 28px; margin-bottom: 8px; }
.pay-card-name { font-size: 14px; font-weight: 500; }
.pay-card-code { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.pay-card-crypto { border-color: rgba(255,165,0,0.2); }
.pay-card-crypto:hover { border-color: orange; background: rgba(255,165,0,0.06); }
.escrow-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.ef-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 24px; }
.ef-icon { font-size: 32px; margin-bottom: 12px; }
.ef-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.ef-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* Advertise page */
.ad-hero { padding: 80px 0 60px; text-align: center; background: linear-gradient(135deg, rgba(108,99,255,0.12), transparent); border-bottom: 1px solid var(--border); }
.ad-format-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 32px; }
.af-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 28px; transition: all 0.2s; }
.af-card:hover { border-color: var(--purple); }
.af-card .af-icon { font-size: 36px; margin-bottom: 16px; }
.af-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.af-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.af-price { font-size: 22px; font-weight: 700; color: var(--green); }
.af-price span { font-size: 13px; color: var(--text-muted); font-weight: 400; }
.campaign-form-card { max-width: 600px; margin: 0 auto; }

/* Auth pages */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 40px; width: 100%; max-width: 440px; }
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-card h2 { font-size: 28px; font-weight: 700; margin-bottom: 8px; text-align: center; }
.auth-card .auth-sub { font-size: 14px; color: var(--text-muted); text-align: center; margin-bottom: 32px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.auth-divider hr { flex: 1; border: none; border-top: 1px solid var(--border); }
.auth-divider span { font-size: 12px; color: var(--text-muted); }
.social-btn { width: 100%; padding: 12px; margin-bottom: 10px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 14px; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.social-btn:hover { border-color: var(--purple); background: rgba(108,99,255,0.08); }
.auth-switch { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-muted); }
.auth-switch a { color: var(--purple); }
