/* CM视频转码器 - 产品介绍页样式 */
/* 配色参考 DaVinci Resolve 深色主题 */

:root {
  --bg-primary: #060608;
  --bg-secondary: #0b0b0e;
  --bg-tertiary: #111114;
  --bg-card: #141418;
  --bg-card-hover: #1a1a1f;
  --bg-hover: #1f1f25;
  --text-primary: #e4e4e8;
  --text-secondary: #9696a0;
  --text-muted: #5c5c68;
  --accent: #7050e0;
  --accent-hover: #8464f4;
  --accent-dim: rgba(112, 80, 224, 0.10);
  --accent-glow: rgba(112, 80, 224, 0.22);
  --success: #34c759;
  --success-dim: rgba(52, 199, 89, 0.10);
  --border: #1c1c22;
  --border-light: #26262e;
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.7);
  --transition: 0.2s ease;
  --accent-grad: linear-gradient(135deg, #8464f4 0%, #7050e0 50%, #5a3cc8 100%);
  --font: 'Roboto', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(112, 80, 224, 0.03) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(52, 199, 89, 0.015) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ====== Navigation ====== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 6, 8, 0.7);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.nav.scrolled {
  background: rgba(6, 6, 8, 0.94);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.4);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.nav-brand:hover { color: var(--text-primary); }
.nav-logo {
  width: 28px;
  height: 28px;
  transition: transform var(--transition);
}
.nav-brand:hover .nav-logo {
  transform: rotate(-8deg) scale(1.08);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-github {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  transition: all var(--transition);
}
.nav-github:hover {
  border-color: var(--text-muted);
  background: var(--bg-hover);
  color: var(--text-primary);
}
.nav-lang {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-muted);
  transition: all var(--transition);
}
.nav-lang:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
  background: var(--bg-hover);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(6, 6, 8, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu.hidden { display: none; }
.mobile-menu a {
  color: var(--text-secondary);
  font-size: 15px;
  padding: 8px 0;
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-grad);
  background-size: 140% 140%;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(112, 80, 224, 0.24);
  transition: background-position var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-primary:hover {
  background-position: 100% 100%;
  color: #fff;
  box-shadow: 0 6px 28px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-light);
}
.btn-outline:hover {
  border-color: var(--text-muted);
  background: var(--bg-hover);
  color: var(--text-primary);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}
.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}
.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: var(--radius);
}

/* ====== Hero ====== */
.hero {
  position: relative;
  padding: 168px 0 110px;
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* Subtle dot grid */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, transparent 75%);
}
.hero-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 920px;
  height: 680px;
  background: radial-gradient(ellipse, rgba(112, 80, 224, 0.28) 0%, rgba(112, 80, 224, 0.08) 35%, transparent 70%);
  filter: blur(80px);
  animation: heroGlow 9s ease-in-out infinite;
}
.hero-glow::after {
  content: '';
  position: absolute;
  top: 140px;
  left: 10%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(52, 199, 89, 0.08) 0%, transparent 70%);
  filter: blur(60px);
  animation: heroGlow 11s ease-in-out infinite reverse;
}
@keyframes heroGlow {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.75; }
  50% { transform: translateX(-50%) scale(1.06); opacity: 1; }
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 15px;
  background: var(--accent-dim);
  border: 1px solid rgba(112, 80, 224, 0.22);
  border-radius: 100px;
  color: var(--accent-hover);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
  box-shadow: 0 0 0 1px rgba(112, 80, 224, 0.04), 0 4px 20px rgba(112, 80, 224, 0.10);
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, #c0c0c8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(18px, 3vw, 24px);
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 20px;
}
.hero-desc {
  max-width: 640px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}
.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 13px;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.5;
}

/* ====== Sections ====== */
.section {
  padding: 100px 0;
  position: relative;
}
.section-alt {
  background: var(--bg-secondary);
}
.section-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 3px;
  background: var(--accent-grad);
  opacity: 0.9;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 16px;
}

/* ====== Features Grid ====== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  overflow: hidden;
}
.feature-card.reveal.in-view {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(112, 80, 224, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(132, 100, 244, 0.4), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow), 0 0 40px rgba(112, 80, 224, 0.08);
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(112, 80, 224, 0.15);
  border-radius: 11px;
  margin-bottom: 20px;
  color: var(--accent-hover);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-3deg);
  background: rgba(112, 80, 224, 0.16);
  box-shadow: 0 0 20px rgba(112, 80, 224, 0.15);
}
.feature-icon svg {
  width: 22px;
  height: 22px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* Extra features */
.extra-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  max-width: 800px;
  margin: 0 auto;
}
.extra-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
}
.extra-item svg {
  flex-shrink: 0;
  color: var(--success);
}

/* ====== Screenshots ====== */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.screenshot-item {
  text-align: center;
}
.screenshot-frame {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.screenshot-frame img {
  width: 100%;
  aspect-ratio: 2428 / 1476;
  object-fit: cover;
  display: block;
}
.screenshot-frame:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(112, 80, 224, 0.06);
}
.screenshot-placeholder {
  aspect-ratio: 2428 / 1476;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14px;
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-card) 100%);
}
.screenshot-hint {
  font-size: 12px;
  opacity: 0.5;
}
.screenshot-caption {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 13px;
}

/* ====== Formats ====== */
.formats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}
.format-group {
  text-align: center;
}
.format-group h4 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.format-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  transition: transform var(--transition), border-color var(--transition);
}
.tag:hover {
  transform: translateY(-2px);
  border-color: var(--border-light);
}
.tag-accent {
  background: var(--accent-dim);
  border-color: rgba(112, 80, 224, 0.16);
  color: var(--accent-hover);
}
.tag-green {
  background: var(--success-dim);
  border-color: rgba(52, 199, 89, 0.16);
  color: var(--success);
}

/* ====== Download ====== */
.download-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(112, 80, 224, 0.08) 0%, transparent 45%),
    var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}
.download-main {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}
.download-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 14px;
  color: var(--accent-hover);
}
.download-icon svg {
  width: 32px;
  height: 32px;
}
.download-info {
  flex: 1;
}
.download-info h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}
.download-platform {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 4px;
}
.download-size {
  color: var(--text-muted);
  font-size: 13px;
}
.download-btn {
  flex-shrink: 0;
}
.download-notes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.download-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}
.download-note svg {
  flex-shrink: 0;
  color: var(--text-muted);
}

/* ====== Open Source ====== */
.opensource-card {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px;
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(52, 199, 89, 0.04) 0%, transparent 50%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.opensource-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 20px;
  color: var(--accent-hover);
}
.opensource-icon svg {
  width: 40px;
  height: 40px;
}
.opensource-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.opensource-content p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.opensource-content strong {
  color: var(--text-primary);
  font-weight: 600;
}
.opensource-actions {
  display: flex;
  gap: 12px;
}

/* ====== Footer ====== */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}
.footer-logo {
  width: 24px;
  height: 24px;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 13px;
}
.footer-links a:hover { color: var(--text-secondary); }
.footer-copy {
  color: var(--text-muted);
  font-size: 13px;
}
.footer-beian a {
  color: var(--text-muted);
  font-size: 12px;
}
.footer-beian a:hover { color: var(--text-secondary); }

/* ====== Responsive ====== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu { display: flex; }
  .mobile-menu.hidden { display: none; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .screenshots-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
  .opensource-card {
    flex-direction: column;
    text-align: center;
  }
  .opensource-actions {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero { padding: 120px 0 60px; }
  .hide-mobile { display: none !important; }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }
  .hero-meta {
    flex-wrap: wrap;
    gap: 10px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .extra-features {
    grid-template-columns: 1fr;
  }
  .formats-grid {
    gap: 20px;
  }
  .download-card {
    padding: 28px 20px;
  }
  .download-main {
    flex-direction: column;
    text-align: center;
  }
  .download-btn {
    width: 100%;
  }
  .section {
    padding: 64px 0;
  }
  .section-header {
    margin-bottom: 36px;
  }
}

/* ====== SHA-256 校验和 ====== */
.sha {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  word-break: break-all;
}

/* ====== Feedback 页 ====== */
.feedback-section {
  padding-top: 120px;
}
.container-narrow {
  max-width: 680px;
}
.fb-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.fb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.fb-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fb-field label {
  font-size: 14px;
  color: var(--text-secondary);
}
.fb-field .req { color: var(--accent-hover); }
.fb-field input,
.fb-field select,
.fb-field textarea {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 14px;
  padding: 11px 13px;
  transition: border-color var(--transition);
}
.fb-field textarea { resize: vertical; line-height: 1.6; }
.fb-field input:focus,
.fb-field select:focus,
.fb-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.fb-field input::placeholder,
.fb-field textarea::placeholder { color: var(--text-muted); }
.fb-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.fb-status { font-size: 14px; color: var(--text-secondary); }
.fb-status.ok { color: var(--success); }
.fb-status.err { color: #ff6b6b; }
.fb-alt {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}
.fb-alt a { color: var(--accent-hover); }
@media (max-width: 560px) {
  .fb-row { grid-template-columns: 1fr; }
  .fb-form { padding: 22px; }
  .fb-actions { flex-direction: column; align-items: stretch; }
}

/* ====== Lightbox Styles ====== */
.screenshot-frame a {
  display: block;
  cursor: zoom-in;
}

.screenshot-frame a img {
  transition: opacity 0.3s ease;
}

.screenshot-frame a:hover img {
  opacity: 0.92;
}

/* PhotoSwipe custom styles */
.pswp {
  --pswp-bg: rgba(0, 0, 0, 0.97);
}

.pswp__bg {
  background: rgba(0, 0, 0, 0.97) !important;
}

.pswp__top-bar {
  background: rgba(0, 0, 0, 0.5) !important;
}

.pswp__button {
  color: #fff !important;
}

.pswp__button:hover {
  color: #6a4ad8 !important;
}

/* Mobile-specific lightbox styles */
@media (max-width: 768px) {
  .pswp__top-bar {
    padding: 8px 12px !important;
  }
  
  .pswp__button {
    width: 44px !important;
    height: 44px !important;
    padding: 10px !important;
  }
  
  .pswp__counter {
    font-size: 14px !important;
  }
}
