:root {
  --primary: #743CF3;
  --primary-hover: #6025e6;
  --accent-pink: #FF2D80;
  --accent-purple: #9E67FF;
  --accent-orange: #FF8A65;
  --bg-gradient: radial-gradient(52% 24% at 105% -5%, #76B4FF 0%, transparent 100%),
                 radial-gradient(38% 58% at 5% 100%, #FF11F2 0%, transparent 100%),
                 radial-gradient(25% 32% at 100% 100%, #FF9F7A 0%, transparent 100%),
                 linear-gradient(180deg, #9E67FF 0%, #FF2D80 100%);
  --text-dark: #1F2438;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --card-bg: #FFFFFF;
  --card-border: #E2E8F0;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: #F8F9FD;
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  min-width: 0;
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 16px 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #FFD600 0%, #FF0069 50%, #7638FA 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #FFFFFF;
}

.brand-badge {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-left: 2px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 14.5px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.16);
  text-decoration: none;
}

.nav-link.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.5);
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
}

/* Instagram Header Dropdown */
.nav-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dropdown-chevron {
  transition: transform 0.2s ease;
}

.nav-dropdown-wrapper:hover .dropdown-chevron,
.nav-dropdown-wrapper:focus-within .dropdown-chevron,
.nav-dropdown-wrapper.open .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 270px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  transition-delay: 0.12s;
}

/* Invisible hover bridge: eliminates gap between trigger and menu */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: -10px;
  right: -10px;
  height: 20px;
  background: transparent;
  pointer-events: auto;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper:focus-within .nav-dropdown-menu,
.nav-dropdown-wrapper.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.15s ease;
  background: transparent;
}

.nav-dropdown-item:hover {
  background: #F1F5F9;
  transform: translateX(3px);
}

.nav-dropdown-item.active {
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
}

.dropdown-item-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.dropdown-item-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.3;
}

.nav-dropdown-item.active .item-title {
  color: var(--primary);
}

.item-sub {
  font-size: 11px;
  color: #64748B;
  line-height: 1.3;
}

/* Mobile Subtools Grid in Drawer */
.mobile-subtools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin: 8px 0 16px;
}

.mobile-subtool-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: all 0.15s ease;
}

.mobile-subtool-pill:hover,
.mobile-subtool-pill:active {
  background: #EEF2FF;
  color: var(--primary);
  border-color: #C7D2FE;
}

.mobile-subtool-pill.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(116, 60, 243, 0.25);
}

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

.lang-select-btn {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
  transition: all 0.2s;
}

.lang-select-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  min-width: 140px;
  padding: 6px 0;
  display: none;
  z-index: 100;
}

.lang-menu.show {
  display: block;
}

.lang-option {
  display: block;
  padding: 8px 16px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s;
}

.lang-option:hover {
  background: #F1F5F9;
  color: var(--primary);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: var(--bg-gradient);
  padding: 120px 0 70px;
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Tab Navigation */
.tabs-nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 4px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.tabs-nav-container::-webkit-scrollbar {
  display: none;
}

.tabs-pill-bar {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  padding: 6px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  gap: 4px;
  width: max-content;
  min-width: max-content;
  max-width: none;
  flex-shrink: 0;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tab-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.tab-btn:hover {
  color: var(--primary);
  background: rgba(116, 60, 243, 0.08);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pink) 100%);
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(116, 60, 243, 0.3);
}

.tab-btn.active svg {
  fill: #FFFFFF;
}

/* Hero Titles */
.hero-title {
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 760px;
  margin: 0 auto 36px;
  font-weight: 400;
}

/* Downloader Input Box */
.downloader-box {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 20;
}

/* Downloader Compliance Disclaimer Note */
.downloader-compliance-note {
  max-width: 860px;
  margin: 16px auto 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.downloader-compliance-note strong {
  color: #FFFFFF;
  font-weight: 700;
}

.downloader-compliance-note a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.downloader-compliance-note a:hover {
  opacity: 0.8;
}

.input-group-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-full);
  padding: 8px;
  display: flex;
  align-items: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.input-group-wrapper:focus-within {
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.input-icon-slot {
  padding-left: 18px;
  display: flex;
  align-items: center;
  color: #94A3B8;
}

.input-field {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 16px;
  font-size: 17px;
  color: var(--text-dark);
  background: transparent;
}

.input-field::placeholder {
  color: #94A3B8;
}

.input-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 4px;
}

.action-btn-paste {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.action-btn-paste:hover {
  background: #E2E8F0;
  color: var(--text-dark);
}

.action-btn-clear {
  display: none;
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 8px;
  font-size: 16px;
}

.action-btn-clear:hover {
  color: var(--text-dark);
}

.btn-download-main {
  background: linear-gradient(135deg, #743CF3 0%, #FF2D80 100%);
  color: #FFFFFF;
  border: none;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(116, 60, 243, 0.4);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-download-main:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(116, 60, 243, 0.5);
}

.btn-download-main:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

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

/* Alert Notification */
.alert-box {
  margin-top: 16px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  display: none;
  animation: fadeIn 0.3s;
}

.alert-error {
  background: #FEE2E2;
  color: #B91C1C;
  border: 1px solid #FCA5A5;
}

.alert-info {
  background: #E0E7FF;
  color: #3730A3;
  border: 1px solid #C7D2FE;
}

.alert-warning {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
}

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

/* Download Result Box */
.result-section {
  display: none;
  max-width: 900px;
  margin: 30px auto 0;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  color: var(--text-dark);
  text-align: left;
  animation: slideUp 0.35s ease;
}

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

.result-card-layout {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

.media-preview-container {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0F172A;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-preview-container video {
  width: 100%;
  max-height: 440px;
  display: block;
  object-fit: contain;
}

.media-preview-container img {
  width: 100%;
  max-height: 440px;
  display: block;
  object-fit: cover;
}

.result-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.result-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.creator-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary);
  font-size: 15px;
}

.stats-badges {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.result-title {
  font-size: 15.5px;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

/* Carousel Items Selector Bar */
.carousel-selector-area {
  display: none;
  margin-top: 6px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.carousel-title-label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.carousel-thumbnails-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #A855F7 #F1F5F9;
  -webkit-overflow-scrolling: touch;
}

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

.carousel-thumbnails-row::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 999px;
}

.carousel-thumbnails-row::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 999px;
}

.carousel-thumbnails-row::-webkit-scrollbar-thumb:hover {
  background: #743CF3;
}

.carousel-thumb-item {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #E2E8F0;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
  background: #0F172A;
}

.carousel-thumb-item:hover {
  transform: translateY(-2px);
  border-color: #A855F7;
}

.carousel-thumb-item.active {
  border-color: #743CF3;
  box-shadow: 0 0 0 3px rgba(116, 60, 243, 0.25);
  transform: scale(1.04);
}

.carousel-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-thumb-badge {
  position: absolute;
  top: 3px;
  left: 3px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
  backdrop-filter: blur(2px);
}

.carousel-thumb-type {
  position: absolute;
  bottom: 3px;
  right: 3px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 9.5px;
  padding: 1px 3px;
  border-radius: 4px;
  backdrop-filter: blur(2px);
}

/* Download Action Buttons */
.download-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
}

.btn-dl-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #743CF3 0%, #FF2D80 100%);
  color: #FFFFFF;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15.5px;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(116, 60, 243, 0.25);
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
}

.btn-dl-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(116, 60, 243, 0.35);
  color: #FFFFFF;
}

.btn-dl-audio {
  background: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.btn-dl-audio:hover {
  background: linear-gradient(135deg, #0284c7 0%, #7c3aed 100%);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
  color: #FFFFFF;
}

.btn-dl-secondary {
  background: #F1F5F9;
  color: #334155;
  box-shadow: none;
  border: 1px solid #E2E8F0;
}

.btn-dl-secondary:hover {
  background: #E2E8F0;
  color: #0F172A;
  box-shadow: none;
}

.btn-reset-dl {
  background: transparent;
  color: #64748B;
  border: none;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0;
  transition: color 0.2s;
  text-align: center;
  width: 100%;
}

.btn-reset-dl:hover {
  color: var(--primary);
}

/* Carousel All Slides Gallery Grid Section */
.carousel-gallery-section {
  display: none;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #E2E8F0;
  width: 100%;
  box-sizing: border-box;
}

.carousel-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.carousel-gallery-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-gallery-sub {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: var(--text-muted);
}

.btn-download-all-slides {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13.5px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  text-decoration: none;
}

.btn-download-all-slides:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
  color: #FFFFFF;
}

.carousel-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
}

.carousel-card-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.carousel-card-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #CBD5E1;
}

.carousel-card-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0F172A;
  overflow: hidden;
  cursor: pointer;
}

.carousel-card-preview img,
.carousel-card-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.85);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.carousel-card-type-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.85);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.carousel-card-actions {
  padding: 10px;
  background: #FFFFFF;
  border-top: 1px solid #F1F5F9;
}

.btn-carousel-card-dl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(135deg, #743CF3 0%, #FF2D80 100%);
  color: #FFFFFF;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12.5px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-carousel-card-dl:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  color: #FFFFFF;
}



/* Section: Supported Types */
.section-supported-types {
  padding: 70px 0;
  background: #FFFFFF;
}

.section-heading-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 17px;
  color: #64748B;
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.type-card {
  background: #FFFFFF;
  border: 1px solid #F1F5F9;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.type-card:hover {
  transform: translateY(-4px);
  border-color: #E2E8F0;
  box-shadow: 0 16px 32px rgba(116, 60, 243, 0.08);
}

.type-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.type-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.type-icon.video { background: #EEF2FF; color: #4F46E5; }
.type-icon.reels { background: #FDF2F8; color: #DB2777; }
.type-icon.photo { background: #ECFDF5; color: #059669; }
.type-icon.story { background: #FFF7ED; color: #EA580C; }
.type-icon.highlights { background: #FEF9C3; color: #CA8A04; }
.type-icon.carousel { background: #FAF5FF; color: #9333EA; }
.type-icon.igtv { background: #EFF6FF; color: #2563EB; }
.type-icon.profile { background: #FEF2F2; color: #DC2626; }
.type-icon.viewer { background: #F0FDF4; color: #16A34A; }

.type-title {
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
}

.type-desc {
  font-size: 14px;
  color: #64748B;
  flex: 1;
  margin-bottom: 16px;
}

.type-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Section: Features */
.section-features {
  padding: 70px 0;
  background: #F8FAFC;
}

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

.feature-box {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.feature-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.feature-title {
  font-size: 19px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 15px;
  color: #64748B;
  line-height: 1.6;
}

/* Section: How to download */
.section-how-to {
  padding: 70px 0;
  background: #FFFFFF;
}

.device-toggle-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.device-toggle-pill {
  background: #F1F5F9;
  padding: 6px;
  border-radius: var(--radius-full);
  display: inline-flex;
  gap: 4px;
}

.device-btn {
  border: none;
  background: transparent;
  padding: 8px 24px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}

.device-btn.active {
  background: #FFFFFF;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pink) 100%);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  margin: 0 auto 18px;
  box-shadow: 0 4px 12px rgba(116, 60, 243, 0.3);
}

.step-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 10px;
}

.step-card-desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
}

/* Section: FAQ */
.section-faq {
  padding: 70px 0;
  background: #F8FAFC;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.2s;
}

.faq-question {
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: #64748B;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 1000px;
  padding: 0 24px 20px;
}

/* Footer */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  padding: 60px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about p {
  color: #64748B;
  font-size: 14px;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #64748B;
  font-size: 14px;
  transition: color 0.15s;
}

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

.footer-bottom {
  border-top: 1px solid #F1F5F9;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #94A3B8;
}

.disclaimer-note {
  max-width: 600px;
  line-height: 1.5;
}

/* ============================================================
   RESPONSIVE & MOBILE STYLES (Professional Mobile Navigation)
============================================================ */

/* ---- Header Mobile Actions (Language + Hamburger) ---- */
.header-mobile-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.mobile-lang-wrapper {
  position: relative;
}

.mobile-lang-btn {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.mobile-lang-btn:hover,
.mobile-lang-btn:active {
  background: rgba(255, 255, 255, 0.28);
}

.mobile-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  padding: 6px 0;
  z-index: 250;
  display: none;
}

.mobile-lang-menu.show {
  display: block;
}

/* Mobile Drawer Language Pills */
.mobile-lang-pills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.mobile-lang-pill {
  padding: 9px 12px;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.mobile-lang-pill:hover,
.mobile-lang-pill:active {
  background: #EEF2FF;
  border-color: #C7D2FE;
  color: var(--primary);
}

.mobile-lang-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(116, 60, 243, 0.3);
}

/* ---- Hamburger Button ---- */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  z-index: 101;
}

.hamburger-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

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

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2.2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.hamburger-btn.open span:nth-child(1) {
  transform: translateY(7.2px) rotate(45deg);
}
.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-7.2px) rotate(-45deg);
}

/* ---- Professional Mobile Navigation Drawer ---- */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.mobile-nav-drawer.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100%;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.mobile-nav-drawer.open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

.brand-logo-mobile {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #1E293B;
  text-decoration: none;
}

.brand-logo-mobile strong {
  color: var(--primary);
  font-weight: 800;
}

.logo-icon-sm {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #FFD600 0%, #FF0069 50%, #7638FA 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.logo-icon-sm svg {
  width: 18px;
  height: 18px;
  fill: #FFFFFF;
}

.mobile-nav-close {
  width: 38px;
  height: 38px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  transition: all 0.2s ease;
}

.mobile-nav-close:hover {
  background: #F1F5F9;
  color: #0F172A;
  transform: scale(1.05);
}

.mobile-nav-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-group-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94A3B8;
  margin: 16px 6px 10px;
}

.mobile-nav-group-title:first-child {
  margin-top: 4px;
}

.mobile-platforms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.mobile-platform-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #F1F5F9;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-platform-item:hover,
.mobile-platform-item:active {
  background: #EEF2FF;
  border-color: #C7D2FE;
  transform: translateX(3px);
}

.mobile-platform-item.active {
  background: #EEF2FF;
  border-color: var(--primary);
  box-shadow: 0 2px 10px rgba(116, 60, 243, 0.15);
}

.mobile-platform-item.active .m-plat-name {
  color: var(--primary);
  font-weight: 800;
}

.m-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.m-all { background: linear-gradient(135deg, #743CF3, #FF2D80); color: #FFF; }
.m-ig { background: linear-gradient(135deg, #FFD600, #FF0069, #7638FA); color: #FFF; }
.m-tt { background: #000000; color: #00F2FE; }
.m-fb { background: #1877F2; color: #FFF; }
.m-sc { background: #FFFC00; color: #000; }
.m-rd { background: #FF4500; color: #FFF; }
.m-pin { background: #E60023; color: #FFF; }

.m-plat-info {
  display: flex;
  flex-direction: column;
}

.m-plat-name {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
}

.m-plat-sub {
  font-size: 11px;
  color: #64748B;
}

.mobile-links-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-link-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: all 0.15s ease;
}

.mobile-link-row svg {
  color: #94A3B8;
  flex-shrink: 0;
  transition: color 0.15s;
}

.mobile-link-row:hover,
.mobile-link-row:active {
  background: #F1F5F9;
  color: var(--primary);
}

.mobile-link-row:hover svg {
  color: var(--primary);
}

.mobile-nav-footer {
  padding: 14px 20px;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  text-align: center;
}

.mobile-footer-text {
  font-size: 12px;
  font-weight: 600;
  color: #94A3B8;
}

/* ---- Tablet Breakpoint: ≤ 900px ---- */
@media (max-width: 900px) {
  .hero-section {
    padding: 100px 0 54px;
    max-width: 100%;
    overflow-x: clip;
  }

  .tabs-nav-container {
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    box-sizing: border-box !important;
    padding: 6px 2px 14px !important;
  }

  .tabs-pill-bar {
    flex-shrink: 0;
  }

  .hero-title {
    font-size: 32px;
    letter-spacing: -0.4px;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .result-card-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

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

  .features-grid,
  .platforms-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Header Responsive Breakpoints ---- */
@media (max-width: 1280px) and (min-width: 1025px) {
  .header-nav {
    gap: 3px;
  }
  .nav-link {
    font-size: 13.5px;
    padding: 5px 8px;
  }
  .nav-dropdown-menu {
    min-width: 260px;
  }
}

@media (max-width: 1024px) {
  .site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 10px 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }

  .header-nav {
    display: none;
  }

  .header-mobile-actions {
    display: flex;
  }

  .hamburger-btn {
    display: flex;
  }
}

/* ---- Mobile Breakpoint: ≤ 768px ---- */
@media (max-width: 768px) {

  /* Hero Section */
  .hero-section {
    padding: 42px 0 44px;
  }

  .hero-title {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 22px;
    padding: 0 6px;
  }

  /* Horizontal Scrollable Tabs Pill Bar */
  .tabs-nav-container {
    display: flex;
    justify-content: flex-start !important;
    align-items: center;
    padding: 6px 2px 14px;
    margin-bottom: 22px;
    -webkit-overflow-scrolling: touch !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .tabs-nav-container::-webkit-scrollbar {
    display: none;
  }

  .tabs-pill-bar {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 5px 6px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
  }

  .tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .tab-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
  }

  .tab-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pink) 100%);
    color: #FFFFFF;
    box-shadow: 0 3px 10px rgba(116, 60, 243, 0.35);
  }

  /* Downloader Input Box */
  .downloader-box {
    padding: 0 4px;
  }

  .input-group-wrapper {
    flex-direction: column;
    align-items: stretch;
    border-radius: 18px;
    padding: 10px;
    background: #FFFFFF;
    gap: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  }

  .input-icon-slot {
    display: none;
  }

  .input-field {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    background: #F8FAFC;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
  }

  .input-field:focus {
    background: #FFFFFF;
    border-color: var(--primary);
  }

  .input-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2px;
    width: 100%;
  }

  .action-btn-paste {
    flex: 1;
    justify-content: center;
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 10px;
  }

  .btn-download-main {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 800;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(116, 60, 243, 0.35);
  }

  /* Result section */
  .result-section {
    padding: 18px 16px;
    margin-top: 22px;
    border-radius: 18px;
  }

  .media-preview-container video,
  .media-preview-container img {
    max-height: 320px;
  }

  .btn-dl-option {
    padding: 14px 18px;
    font-size: 15px;
  }

  /* General Content Sections */
  .section-supported-types,
  .section-features,
  .section-how-to,
  .section-faq,
  .section-guide,
  .section-platforms {
    padding: 48px 0;
  }

  .section-title {
    font-size: 24px;
    letter-spacing: -0.3px;
  }

  .section-subtitle {
    font-size: 15px;
  }

  .section-heading-center {
    margin-bottom: 30px;
  }

  /* Types Grid */
  .types-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
  }

  /* Features Grid */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-box {
    padding: 22px 18px;
  }

  /* Steps Grid */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .step-card {
    padding: 22px 18px;
  }

  /* Guide Grid */
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .guide-card {
    padding: 22px 18px;
  }

  /* Platforms Grid */
  .platforms-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* FAQ */
  .faq-question {
    font-size: 15px;
    padding: 16px 18px;
  }

  .faq-answer {
    font-size: 14px;
  }

  /* Footer */
  .site-footer {
    padding: 40px 0 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Profile card */
  .profile-header-card {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
  }

  .profile-tag-badges {
    justify-content: center;
  }

  .profile-avatar-container {
    width: 96px;
    height: 96px;
  }

  /* Stories grid */
  .stories-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }
}

/* ---- Small Mobile Breakpoint: ≤ 480px ---- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 23px;
  }

  .hero-subtitle {
    font-size: 13.5px;
  }

  .brand-logo {
    font-size: 20px;
    gap: 8px;
  }

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

  .logo-icon svg {
    width: 18px;
    height: 18px;
  }

  .brand-badge {
    display: none;
  }

  .tab-btn {
    padding: 7px 11px;
    font-size: 12px;
  }

  .btn-download-main {
    padding: 14px 18px;
    font-size: 15px;
  }

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

  .types-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .type-card {
    padding: 14px 12px;
  }

  .type-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .type-title {
    font-size: 15px;
  }

  .type-desc {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .platform-card {
    padding: 20px 16px;
  }

  .platform-title {
    font-size: 19px;
  }

  .stories-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .footer-top {
    gap: 20px;
  }
}

/* ============================================================
   Profile & Stories Display
============================================================ */
.profile-result-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile-header-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 24px;
}

.profile-avatar-container {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.profile-avatar-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.3);
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #FFFFFF;
}

.profile-info-content {
  flex: 1;
}

.profile-user-title {
  font-size: 24px;
  font-weight: 800;
  color: #1E293B;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-handle {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 2px;
}

.profile-tag-badges {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.profile-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: #EEF2FF;
  color: #4F46E5;
}

.profile-badge.story-active {
  background: #FDF2F8;
  color: #DB2777;
  display: flex;
  align-items: center;
  gap: 4px;
}

.story-active::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EC4899;
  animation: pulse 1.5s infinite;
}

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

.profile-notice-box {
  background: #F1F5F9;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: #475569;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Stories Grid Section */
.stories-gallery-section {
  margin-top: 24px;
}

.stories-section-title {
  font-size: 18px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.story-card-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.story-media-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 280px;
  background: #000;
  overflow: hidden;
}

.story-media-preview img,
.story-media-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-type-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.story-actions-box {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #FFFFFF;
}

.btn-story-dl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pink) 100%);
  color: #FFFFFF;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-story-dl:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(116, 60, 243, 0.3);
}

/* ============================================================
   Supported Platforms Section
============================================================ */
.section-platforms {
  padding: 70px 0;
  background: #FFFFFF;
  border-top: 1px solid #F1F5F9;
}

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

.platform-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.platform-card:hover {
  transform: translateY(-6px);
  border-color: #CBD5E1;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.platform-card.tiktok::before { background: linear-gradient(90deg, #00F2FE 0%, #FE0979 100%); }
.platform-card.facebook::before { background: #1877F2; }
.platform-card.instagram::before { background: linear-gradient(90deg, #833AB4, #FD1D1D, #FCB045); }
.platform-card.snapchat::before { background: #FFFC00; }
.platform-card.reddit::before { background: #FF4500; }
.platform-card.pinterest::before { background: #E60023; }

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

.platform-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.platform-icon-wrap.tiktok { background: #000000; color: #FFFFFF; }
.platform-icon-wrap.facebook { background: #1877F2; color: #FFFFFF; }
.platform-icon-wrap.instagram { background: linear-gradient(135deg, #FFD600 0%, #FF0069 50%, #7638FA 100%); color: #FFFFFF; }
.platform-icon-wrap.snapchat { background: #FFFC00; color: #000000; }
.platform-icon-wrap.reddit { background: #FF4500; color: #FFFFFF; }
.platform-icon-wrap.pinterest { background: #E60023; color: #FFFFFF; }

.platform-status-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: #F1F5F9;
  color: #475569;
}

.platform-status-badge.active-tool {
  background: #DCFCE7;
  color: #15803D;
}

.platform-title {
  font-size: 22px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 8px;
}

.platform-desc {
  font-size: 15px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.platform-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.platform-pill {
  font-size: 12px;
  font-weight: 600;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #334155;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.btn-open-platform {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: #F1F5F9;
  color: #1E293B;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-open-platform:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.btn-open-platform svg {
  transition: transform 0.2s;
}

.btn-open-platform:hover svg {
  transform: translateX(4px);
}




/* Platform Hero Themes */
.hero-tiktok {
  background: radial-gradient(52% 28% at 105% -5%, #00F2FE 0%, transparent 100%),
              radial-gradient(38% 58% at 5% 100%, #FE0979 0%, transparent 100%),
              linear-gradient(180deg, #090B10 0%, #171923 100%) !important;
}
.hero-facebook {
  background: radial-gradient(52% 28% at 105% -5%, #60A5FA 0%, transparent 100%),
              radial-gradient(38% 58% at 5% 100%, #1D4ED8 0%, transparent 100%),
              linear-gradient(180deg, #1E3A8A 0%, #0F172A 100%) !important;
}
.hero-instagram {
  background: radial-gradient(52% 28% at 105% -5%, #FFD600 0%, transparent 100%),
              radial-gradient(38% 58% at 5% 100%, #833AB4 0%, transparent 100%),
              linear-gradient(180deg, #9E67FF 0%, #FF2D80 100%) !important;
}
.hero-snapchat {
  background: radial-gradient(52% 28% at 105% -5%, #FEF08A 0%, transparent 100%),
              radial-gradient(38% 58% at 5% 100%, #CA8A04 0%, transparent 100%),
              linear-gradient(180deg, #18181B 0%, #27272A 100%) !important;
}
.hero-reddit {
  background: radial-gradient(52% 28% at 105% -5%, #FB923C 0%, transparent 100%),
              radial-gradient(38% 58% at 5% 100%, #EA580C 0%, transparent 100%),
              linear-gradient(180deg, #1C1917 0%, #292524 100%) !important;
}
.hero-pinterest {
  background: radial-gradient(52% 28% at 105% -5%, #F87171 0%, transparent 100%),
              radial-gradient(38% 58% at 5% 100%, #991B1B 0%, transparent 100%),
              linear-gradient(180deg, #7F1D1D 0%, #310808 100%) !important;
}

/* Deep-Dive Guide Section */
.section-guide {
  padding: 70px 0;
  background: #FFFFFF;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.guide-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.25s ease;
}

.guide-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.guide-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-card p {
  font-size: 15px;
  color: #64748B;
  line-height: 1.7;
}

.guide-card ul {
  margin-top: 14px;
  padding-left: 20px;
  color: #475569;
  font-size: 14px;
  line-height: 1.8;
}

.pro-tip-box {
  background: #EFF6FF;
  border-left: 4px solid #3B82F6;
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-top: 30px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pro-tip-box svg {
  flex-shrink: 0;
  color: #2563EB;
  margin-top: 2px;
}

.pro-tip-text {
  font-size: 14px;
  color: #1E40AF;
  line-height: 1.6;
}

.pro-tip-text strong {
  font-weight: 700;
}




/* ==========================================================================
   PUBLIC SITE: THEME SWITCHER (DARK MODE & LIGHT MODE)
   ========================================================================== */

/* Theme Toggle Button in Header */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0;
  margin-left: 6px;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.06);
}

.theme-toggle-btn svg {
  width: 17px;
  height: 17px;
  stroke: #FFFFFF;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle-btn:active svg {
  transform: rotate(30deg) scale(0.9);
}

/* Mobile Theme Toggle Button */
.mobile-theme-toggle-btn {
  width: 34px;
  height: 34px;
}

/* --------------------------------------------------------------------------
   DARK THEME PALETTE OVERRIDES ([data-theme="dark"]) - OPTIMIZED LUXURY EDITION
   -------------------------------------------------------------------------- */

[data-theme="dark"] {
  --bg-gradient: radial-gradient(ellipse 80% 55% at 50% -10%, rgba(120, 60, 243, 0.42) 0%, rgba(255, 45, 128, 0.16) 40%, rgba(10, 14, 23, 0) 85%),
                 radial-gradient(40% 40% at 85% 15%, rgba(118, 180, 255, 0.1) 0%, transparent 100%),
                 #0A0E17;
  --text-dark: #FFFFFF;
  --text-muted: #94A3B8;
  --card-bg: #101626;
  --card-border: rgba(255, 255, 255, 0.08);
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] body {
  background-color: #0A0E17 !important;
  color: #F1F5F9 !important;
}

/* Base Sections: Seamless Deep Canvas (#0A0E17) */
[data-theme="dark"] .section-supported-types,
[data-theme="dark"] .section-how-to,
[data-theme="dark"] .section-platforms,
[data-theme="dark"] .section-faq,
[data-theme="dark"] .section-guide,
[data-theme="dark"] .section-blog,
[data-theme="dark"] .section-blog-single,
[data-theme="dark"] .section-legal,
[data-theme="dark"] .site-content {
  background: #0A0E17 !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

/* Alternating Sections: Deep Navy Slate (#0D121F) for Layered Visual Hierarchy */
[data-theme="dark"] .section-features,
[data-theme="dark"] .section-stats,
[data-theme="dark"] .section-related-tools,
[data-theme="dark"] .blog-single-header,
[data-theme="dark"] .author-box {
  background: #0D121F !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

/* Hero Section: Atmospheric Ambient Lighting (Ultra-Modern Dark Theme) */
[data-theme="dark"] .hero-section,
[data-theme="dark"] .page-hero,
[data-theme="dark"] .blog-hero {
  background: radial-gradient(ellipse 80% 55% at 50% -10%, rgba(120, 60, 243, 0.45) 0%, rgba(255, 45, 128, 0.18) 40%, rgba(10, 14, 23, 0) 85%),
              radial-gradient(40% 40% at 85% 15%, rgba(118, 180, 255, 0.12) 0%, transparent 100%),
              #0A0E17 !important;
  color: #FFFFFF !important;
}

/* Platform-Specific Hero Atmospheric Glows */
[data-theme="dark"] .hero-tiktok {
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(0, 242, 254, 0.25) 0%, rgba(254, 9, 121, 0.2) 40%, rgba(10, 14, 23, 0) 80%),
              radial-gradient(35% 35% at 90% 20%, rgba(0, 242, 254, 0.12) 0%, transparent 100%),
              #0A0E17 !important;
}
[data-theme="dark"] .hero-facebook {
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(37, 99, 235, 0.38) 0%, rgba(29, 78, 216, 0.18) 45%, rgba(10, 14, 23, 0) 80%),
              radial-gradient(35% 35% at 10% 20%, rgba(96, 165, 250, 0.12) 0%, transparent 100%),
              #0A0E17 !important;
}
[data-theme="dark"] .hero-instagram {
  background: radial-gradient(ellipse 80% 55% at 50% -10%, rgba(131, 58, 180, 0.42) 0%, rgba(253, 29, 29, 0.18) 35%, rgba(252, 176, 69, 0.1) 55%, rgba(10, 14, 23, 0) 85%),
              #0A0E17 !important;
}
[data-theme="dark"] .hero-snapchat {
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(234, 179, 8, 0.28) 0%, rgba(202, 138, 4, 0.12) 45%, rgba(10, 14, 23, 0) 80%),
              #0A0E17 !important;
}
[data-theme="dark"] .hero-reddit {
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(255, 69, 0, 0.3) 0%, rgba(234, 88, 12, 0.14) 45%, rgba(10, 14, 23, 0) 80%),
              #0A0E17 !important;
}
[data-theme="dark"] .hero-pinterest {
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(220, 38, 38, 0.32) 0%, rgba(185, 28, 28, 0.14) 45%, rgba(10, 14, 23, 0) 80%),
              #0A0E17 !important;
}

/* Headings, Titles & Primary Typography */
[data-theme="dark"] .section-title,
[data-theme="dark"] .type-title,
[data-theme="dark"] .platform-title,
[data-theme="dark"] .feature-title,
[data-theme="dark"] .step-card-title,
[data-theme="dark"] .step-title,
[data-theme="dark"] .faq-question h3,
[data-theme="dark"] .faq-question-btn,
[data-theme="dark"] .faq-question,
[data-theme="dark"] .blog-card-title,
[data-theme="dark"] .blog-single-title,
[data-theme="dark"] .result-title,
[data-theme="dark"] .legal-title,
[data-theme="dark"] .guide-card h3,
[data-theme="dark"] .info-card-title,
[data-theme="dark"] .author-name {
  color: #FFFFFF !important;
}

/* Secondary Text, Subtitles & Descriptions */
[data-theme="dark"] .section-subtitle,
[data-theme="dark"] .platform-desc,
[data-theme="dark"] .type-desc,
[data-theme="dark"] .feature-desc,
[data-theme="dark"] .step-card-desc,
[data-theme="dark"] .step-desc,
[data-theme="dark"] .faq-answer,
[data-theme="dark"] .faq-answer p,
[data-theme="dark"] .blog-card-excerpt,
[data-theme="dark"] .footer-about p,
[data-theme="dark"] .legal-content p,
[data-theme="dark"] .guide-card p,
[data-theme="dark"] .guide-card ul,
[data-theme="dark"] .guide-card li,
[data-theme="dark"] .info-card-desc,
[data-theme="dark"] .author-bio,
[data-theme="dark"] .blog-single-body p {
  color: #94A3B8 !important;
}

/* ==========================================================================
   HERO TABS & SEARCH INPUT BAR (ELEVATED DARK GLASSMORPHISM)
   ========================================================================== */
[data-theme="dark"] .tabs-pill-bar {
  background: rgba(16, 22, 38, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .tab-btn {
  color: #94A3B8 !important;
  background: transparent !important;
}

[data-theme="dark"] .tab-btn:hover {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .tab-btn.active {
  background: linear-gradient(135deg, #743CF3 0%, #FF2D80 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(116, 60, 243, 0.45) !important;
}

[data-theme="dark"] .tab-btn svg {
  fill: currentColor !important;
}

/* Downloader Search Container: PRESERVE ORIGINAL CRISP WHITE DESIGN PER USER REQUEST */
[data-theme="dark"] .downloader-box .input-group-wrapper,
[data-theme="dark"] .input-group-wrapper {
  background: #FFFFFF !important;
  border: none !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .downloader-box .input-group-wrapper:focus-within,
[data-theme="dark"] .input-group-wrapper:focus-within {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6) !important;
  border: none !important;
}

[data-theme="dark"] .downloader-box .input-icon-slot svg,
[data-theme="dark"] .input-icon-slot svg {
  color: #94A3B8 !important;
}

[data-theme="dark"] .downloader-box .input-field,
[data-theme="dark"] .input-field {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #1F2438 !important;
  box-shadow: none !important;
}

[data-theme="dark"] .downloader-box .input-field:focus,
[data-theme="dark"] .input-field:focus {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #1F2438 !important;
}

[data-theme="dark"] .downloader-box .input-field::placeholder,
[data-theme="dark"] .input-field::placeholder {
  color: #94A3B8 !important;
}

[data-theme="dark"] .downloader-box .action-btn-clear,
[data-theme="dark"] .action-btn-clear {
  color: #94A3B8 !important;
}

[data-theme="dark"] .downloader-box .action-btn-clear:hover,
[data-theme="dark"] .action-btn-clear:hover {
  color: #475569 !important;
}

[data-theme="dark"] .downloader-box .action-btn-paste,
[data-theme="dark"] .action-btn-paste {
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  color: #475569 !important;
}

[data-theme="dark"] .downloader-box .action-btn-paste:hover,
[data-theme="dark"] .action-btn-paste:hover {
  background: #E2E8F0 !important;
  border-color: #CBD5E1 !important;
  color: #1E293B !important;
}

@media (max-width: 768px) {
  [data-theme="dark"] .downloader-box .input-group-wrapper,
  [data-theme="dark"] .input-group-wrapper {
    background: #FFFFFF !important;
    border-radius: 18px !important;
  }
  [data-theme="dark"] .downloader-box .input-field,
  [data-theme="dark"] .input-field {
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    color: #1F2438 !important;
  }
}
/* Downloader Button: Per-tool specific colors preserved identically in dark mode */

[data-theme="dark"] .downloader-compliance-note {
  color: #8899B0 !important;
  text-shadow: none !important;
}

[data-theme="dark"] .downloader-compliance-note strong {
  color: #CBD5E1 !important;
}

[data-theme="dark"] .downloader-compliance-note a {
  color: #818CF8 !important;
}

/* ==========================================================================
   HOW TO DOWNLOAD IN 3 STEPS
   ========================================================================== */
[data-theme="dark"] .device-toggle-pill {
  background: #101626 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .device-btn {
  color: #94A3B8 !important;
}

[data-theme="dark"] .device-btn.active {
  background: linear-gradient(135deg, #743CF3 0%, #FF2D80 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(116, 60, 243, 0.35) !important;
}

[data-theme="dark"] .step-card {
  background: #101626 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.25s ease !important;
}

[data-theme="dark"] .step-card:hover {
  background: #131B2F !important;
  border-color: rgba(129, 140, 248, 0.35) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 20px rgba(116, 60, 243, 0.12) !important;
}

[data-theme="dark"] .step-number {
  background: linear-gradient(135deg, #743CF3 0%, #FF2D80 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(116, 60, 243, 0.4) !important;
}

/* ==========================================================================
   ALL SUPPORTED PLATFORMS: CARDS & BUTTONS
   ========================================================================== */
[data-theme="dark"] .platform-card {
  background: #101626 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.25s ease !important;
}

[data-theme="dark"] .platform-card:hover {
  background: #141C2E !important;
  border-color: rgba(129, 140, 248, 0.38) !important;
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(116, 60, 243, 0.18) !important;
}

[data-theme="dark"] .platform-pill {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #CBD5E1 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: all 0.2s ease !important;
}

[data-theme="dark"] .platform-pill:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

[data-theme="dark"] .btn-open-platform {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #F8FAFC !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: all 0.2s ease !important;
}

[data-theme="dark"] .btn-open-platform:hover {
  background: linear-gradient(135deg, #743CF3 0%, #FF2D80 100%) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  box-shadow: 0 6px 20px rgba(116, 60, 243, 0.4) !important;
}

[data-theme="dark"] .btn-open-platform svg {
  stroke: #F8FAFC !important;
}

[data-theme="dark"] .btn-open-platform:hover svg {
  stroke: #FFFFFF !important;
}

[data-theme="dark"] .platform-status-badge.active-tool {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #34D399 !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
}

/* ==========================================================================
   CARDS & BOXES: UNIVERSAL TYPES, FEATURES, GUIDES, STATS
   ========================================================================== */
[data-theme="dark"] .type-card,
[data-theme="dark"] .feature-box,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .result-card,
[data-theme="dark"] .result-card-layout,
[data-theme="dark"] .profile-card-layout,
[data-theme="dark"] .guide-card,
[data-theme="dark"] .contact-card-box,
[data-theme="dark"] .legal-highlight-box,
[data-theme="dark"] .legal-mini-card,
[data-theme="dark"] .author-box {
  background: #101626 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.25s ease !important;
}

[data-theme="dark"] .type-card:hover,
[data-theme="dark"] .feature-box:hover,
[data-theme="dark"] .blog-card:hover,
[data-theme="dark"] .guide-card:hover {
  background: #141C2E !important;
  border-color: rgba(129, 140, 248, 0.3) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5) !important;
}

/* Universal Media Format Icons */
[data-theme="dark"] .type-icon {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
[data-theme="dark"] .type-icon.video { background: rgba(99, 102, 241, 0.18) !important; color: #818CF8 !important; border-color: rgba(99, 102, 241, 0.3) !important; }
[data-theme="dark"] .type-icon.reels { background: rgba(236, 72, 153, 0.18) !important; color: #F472B6 !important; border-color: rgba(236, 72, 153, 0.3) !important; }
[data-theme="dark"] .type-icon.photo { background: rgba(16, 185, 129, 0.18) !important; color: #34D399 !important; border-color: rgba(16, 185, 129, 0.3) !important; }
[data-theme="dark"] .type-icon.story { background: rgba(249, 115, 22, 0.18) !important; color: #FB923C !important; border-color: rgba(249, 115, 22, 0.3) !important; }
[data-theme="dark"] .type-icon.highlights { background: rgba(234, 179, 8, 0.18) !important; color: #FACC15 !important; border-color: rgba(234, 179, 8, 0.3) !important; }
[data-theme="dark"] .type-icon.carousel { background: rgba(168, 85, 247, 0.18) !important; color: #C084FC !important; border-color: rgba(168, 85, 247, 0.3) !important; }
[data-theme="dark"] .type-icon.igtv { background: rgba(59, 130, 246, 0.18) !important; color: #60A5FA !important; border-color: rgba(59, 130, 246, 0.3) !important; }
[data-theme="dark"] .type-icon.profile { background: rgba(239, 68, 68, 0.18) !important; color: #F87171 !important; border-color: rgba(239, 68, 68, 0.3) !important; }
[data-theme="dark"] .type-icon.viewer { background: rgba(34, 197, 94, 0.18) !important; color: #4ADE80 !important; border-color: rgba(34, 197, 94, 0.3) !important; }

/* Feature Box Badges ("Why Choose SaveClip") */
[data-theme="dark"] .feature-icon-badge {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

/* Card Links */
[data-theme="dark"] .type-link,
[data-theme="dark"] .info-card-link {
  color: #818CF8 !important;
  font-weight: 700 !important;
}

[data-theme="dark"] .type-link:hover,
[data-theme="dark"] .info-card-link:hover {
  color: #A5B4FC !important;
  text-decoration: underline !important;
}

/* ==========================================================================
   FAQ ACCORDION IN DARK MODE
   ========================================================================== */
[data-theme="dark"] .faq-item {
  transition: all 0.25s ease !important;
}

[data-theme="dark"] .faq-item:hover {
  border-color: rgba(129, 140, 248, 0.3) !important;
}

[data-theme="dark"] .faq-item.open,
[data-theme="dark"] .faq-item.active {
  background: #131B2F !important;
  border-color: #743CF3 !important;
  box-shadow: 0 6px 24px rgba(116, 60, 243, 0.2) !important;
}

[data-theme="dark"] .faq-chevron {
  stroke: #818CF8 !important;
}

/* ==========================================================================
   DROPDOWNS, LANGUAGE SELECTOR & NAVIGATION
   ========================================================================== */
[data-theme="dark"] .nav-dropdown-menu,
[data-theme="dark"] .lang-menu,
[data-theme="dark"] .mobile-lang-menu {
  background: #101626 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

[data-theme="dark"] .dropdown-item-text .item-title,
[data-theme="dark"] .lang-option {
  color: #F1F5F9 !important;
}

[data-theme="dark"] .dropdown-item-text .item-sub {
  color: #8899B0 !important;
}

[data-theme="dark"] .nav-dropdown-item:hover,
[data-theme="dark"] .lang-option:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

[data-theme="dark"] .lang-option.active {
  background: rgba(116, 60, 243, 0.25) !important;
  color: #A5B4FC !important;
}

[data-theme="dark"] .lang-select-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
}

[data-theme="dark"] .lang-select-btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .mobile-lang-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
}

[data-theme="dark"] .hamburger-btn span {
  background: #FFFFFF !important;
}

/* Mobile Drawer - Comprehensive Dark Theme Optimization */
[data-theme="dark"] .mobile-nav-drawer {
  background: transparent !important;
}

[data-theme="dark"] .mobile-nav-overlay {
  background: rgba(0, 0, 0, 0.78) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

[data-theme="dark"] .mobile-nav-panel {
  background: #0B0F19 !important;
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: -16px 0 50px rgba(0, 0, 0, 0.7) !important;
}

[data-theme="dark"] .mobile-nav-header {
  background: #111827 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .brand-logo-mobile {
  color: #FFFFFF !important;
}

[data-theme="dark"] .brand-logo-mobile strong {
  color: #A855F7 !important;
}

[data-theme="dark"] .mobile-nav-close {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #CBD5E1 !important;
}

[data-theme="dark"] .mobile-nav-close:hover,
[data-theme="dark"] .mobile-nav-close:active {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
}

[data-theme="dark"] .mobile-nav-body {
  background: #0B0F19 !important;
}

[data-theme="dark"] .mobile-nav-group-title {
  color: #94A3B8 !important;
}

[data-theme="dark"] .mobile-platform-item {
  background: #131B2E !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}

[data-theme="dark"] .mobile-platform-item:hover,
[data-theme="dark"] .mobile-platform-item:active {
  background: #1E293B !important;
  border-color: rgba(168, 85, 247, 0.45) !important;
}

[data-theme="dark"] .mobile-platform-item.active {
  background: linear-gradient(135deg, rgba(116, 60, 243, 0.28), rgba(255, 45, 128, 0.2)) !important;
  border-color: #8B5CF6 !important;
  box-shadow: 0 4px 16px rgba(116, 60, 243, 0.3) !important;
}

[data-theme="dark"] .mobile-platform-item .m-plat-name {
  color: #F8FAFC !important;
}

[data-theme="dark"] .mobile-platform-item .m-plat-sub {
  color: #94A3B8 !important;
}

[data-theme="dark"] .mobile-platform-item.active .m-plat-name {
  color: #FFFFFF !important;
  font-weight: 800 !important;
}

[data-theme="dark"] .mobile-platform-item.active .m-plat-sub {
  color: #CBD5E1 !important;
}

[data-theme="dark"] .mobile-subtool-pill {
  background: #131B2E !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #E2E8F0 !important;
}

[data-theme="dark"] .mobile-subtool-pill:hover,
[data-theme="dark"] .mobile-subtool-pill:active {
  background: #1E293B !important;
  color: #A855F7 !important;
  border-color: rgba(168, 85, 247, 0.4) !important;
}

[data-theme="dark"] .mobile-lang-pill {
  background: #131B2E !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #CBD5E1 !important;
}

[data-theme="dark"] .mobile-lang-pill:hover,
[data-theme="dark"] .mobile-lang-pill:active {
  background: #1E293B !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

[data-theme="dark"] .mobile-lang-pill.active {
  background: linear-gradient(135deg, #743CF3 0%, #FF2D80 100%) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(116, 60, 243, 0.4) !important;
}

[data-theme="dark"] .mobile-link-row {
  color: #E2E8F0 !important;
}

[data-theme="dark"] .mobile-link-row svg {
  color: #64748B !important;
}

[data-theme="dark"] .mobile-link-row:hover,
[data-theme="dark"] .mobile-link-row:active {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #A855F7 !important;
}

[data-theme="dark"] .mobile-link-row:hover svg {
  color: #A855F7 !important;
}

[data-theme="dark"] .mobile-nav-footer {
  background: #080C14 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .mobile-footer-text {
  color: #64748B !important;
}

/* Pro Tip Boxes & Callouts */
[data-theme="dark"] .pro-tip-box {
  background: rgba(30, 58, 138, 0.22) !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
  border-left: 4px solid #3B82F6 !important;
}

[data-theme="dark"] .pro-tip-text {
  color: #93C5FD !important;
}

/* ==========================================================================
   FOOTER: COMPREHENSIVE DARK THEME STYLING
   ========================================================================== */
[data-theme="dark"] .site-footer {
  background: #080C16 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .site-footer .brand-logo,
[data-theme="dark"] .footer-about .brand-logo {
  color: #FFFFFF !important;
}

[data-theme="dark"] .site-footer .brand-badge,
[data-theme="dark"] .footer-about .brand-badge {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #A5B4FC !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

[data-theme="dark"] .footer-col h4 {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

[data-theme="dark"] .footer-about p {
  color: #8899B0 !important;
}

[data-theme="dark"] .footer-links a {
  color: #94A3B8 !important;
  transition: color 0.15s ease !important;
}

[data-theme="dark"] .footer-links a:hover {
  color: #818CF8 !important;
}

[data-theme="dark"] .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: #64748B !important;
}

[data-theme="dark"] .disclaimer-note {
  color: #64748B !important;
}

[data-theme="dark"] .disclaimer-note strong {
  color: #94A3B8 !important;
}

[data-theme="dark"] .site-footer a[href^="mailto:"] {
  color: #818CF8 !important;
}

[data-theme="dark"] .site-footer a[href^="mailto:"]:hover {
  color: #A5B4FC !important;
  text-decoration: underline !important;
}

/* ==========================================================================
   CONTACT PAGE: DARK THEME OPTIMIZATION
   ========================================================================== */
[data-theme="dark"] .contact-card-box {
  background: #101626 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .contact-card-box h2 {
  color: #FFFFFF !important;
}

[data-theme="dark"] .contact-card-box p.intro-desc {
  color: #94A3B8 !important;
}

[data-theme="dark"] .form-label {
  color: #E2E8F0 !important;
}

[data-theme="dark"] .form-control {
  background: #0A0E17 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
}

[data-theme="dark"] .form-control:focus {
  background: #101626 !important;
  border-color: #818CF8 !important;
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.25) !important;
}

[data-theme="dark"] .form-control::placeholder {
  color: #64748B !important;
}

[data-theme="dark"] .info-card-item {
  background: #101626 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .info-card-title {
  color: #FFFFFF !important;
}

[data-theme="dark"] .info-card-desc {
  color: #94A3B8 !important;
}

[data-theme="dark"] .info-card-link {
  color: #818CF8 !important;
}

[data-theme="dark"] .info-card-link:hover {
  color: #A5B4FC !important;
}

[data-theme="dark"] .compliance-form-note {
  color: #94A3B8 !important;
}

[data-theme="dark"] .compliance-form-note a {
  color: #818CF8 !important;
}

/* ==========================================================================
   LEGAL PAGES (PRIVACY & TERMS): DARK THEME OPTIMIZATION
   ========================================================================== */
[data-theme="dark"] .legal-content {
  background: #101626 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #CBD5E1 !important;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .legal-content h2,
[data-theme="dark"] .legal-content h3 {
  color: #FFFFFF !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .legal-content p,
[data-theme="dark"] .legal-content li {
  color: #94A3B8 !important;
}

[data-theme="dark"] .legal-content strong {
  color: #FFFFFF !important;
}

[data-theme="dark"] .legal-content a {
  color: #818CF8 !important;
}

[data-theme="dark"] .legal-meta-badge {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #CBD5E1 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .legal-highlight-box {
  background: #0A0E17 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-left: 4px solid #818CF8 !important;
  color: #CBD5E1 !important;
}

[data-theme="dark"] .legal-highlight-box strong {
  color: #A5B4FC !important;
}

[data-theme="dark"] .legal-mini-card {
  background: #0D121F !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .legal-mini-card h4 {
  color: #FFFFFF !important;
}

[data-theme="dark"] .legal-mini-card p {
  color: #94A3B8 !important;
}

/* ==========================================================================
   BLOG & SINGLE POST: DARK THEME OPTIMIZATION
   ========================================================================== */
[data-theme="dark"] .section-blogs {
  background: #0A0E17 !important;
}

[data-theme="dark"] .blog-search-box input {
  background: #101626 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .blog-search-box input:focus {
  border-color: #818CF8 !important;
  background: #141C2E !important;
}

[data-theme="dark"] .blog-search-box input::placeholder {
  color: #64748B !important;
}

[data-theme="dark"] .blog-search-icon {
  color: #64748B !important;
}

[data-theme="dark"] .blog-filter-pill {
  background: #101626 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #CBD5E1 !important;
}

[data-theme="dark"] .blog-filter-pill:hover {
  background: #141C2E !important;
  color: #818CF8 !important;
  border-color: rgba(129, 140, 248, 0.3) !important;
}

[data-theme="dark"] .featured-blog-card {
  background: #101626 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .featured-blog-card:hover {
  background: #141C2E !important;
  border-color: rgba(129, 140, 248, 0.3) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55) !important;
}

[data-theme="dark"] .featured-title,
[data-theme="dark"] .featured-title a {
  color: #FFFFFF !important;
}

[data-theme="dark"] .featured-desc {
  color: #94A3B8 !important;
}

[data-theme="dark"] .post-content-container {
  background: transparent !important;
}

[data-theme="dark"] .post-body {
  color: #CBD5E1 !important;
}

[data-theme="dark"] .post-body h2,
[data-theme="dark"] .post-body h3,
[data-theme="dark"] .post-body h4,
[data-theme="dark"] .post-body strong {
  color: #FFFFFF !important;
}

[data-theme="dark"] .post-body p,
[data-theme="dark"] .post-body li {
  color: #CBD5E1 !important;
}

[data-theme="dark"] .post-body a {
  color: #818CF8 !important;
}

[data-theme="dark"] .post-body code {
  background: #1E293B !important;
  color: #F472B6 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .post-cta-box {
  background: #101626 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .cta-box-text h4 {
  color: #FFFFFF !important;
}

[data-theme="dark"] .cta-box-text p {
  color: #94A3B8 !important;
}

[data-theme="dark"] .post-footer-actions {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .post-action-btn {
  background: #101626 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #CBD5E1 !important;
}

[data-theme="dark"] .post-action-btn:hover {
  background: #141C2E !important;
  color: #818CF8 !important;
  border-color: rgba(129, 140, 248, 0.3) !important;
}

/* ==========================================================================
   DOWNLOADER RESULT CARDS & DOWNLOAD BUTTONS
   ========================================================================== */
[data-theme="dark"] .result-section {
  background: #101626 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .media-title {
  color: #FFFFFF !important;
}

[data-theme="dark"] .media-meta-item {
  color: #94A3B8 !important;
}

[data-theme="dark"] .btn-dl-option {
  background: #172033 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #FFFFFF !important;
}

[data-theme="dark"] .btn-dl-option:hover {
  background: #1E2B45 !important;
  border-color: #818CF8 !important;
}

[data-theme="dark"] .btn-dl-option .opt-label {
  color: #FFFFFF !important;
}

[data-theme="dark"] .btn-dl-option .opt-size {
  color: #94A3B8 !important;
}

[data-theme="dark"] .story-actions-box {
  background: #101626 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .btn-reset-dl {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #94A3B8 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] .btn-reset-dl:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #FFFFFF !important;
}