:root {
  --bg-color: #06070c;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --text-muted: #9ba1ad;
  --accent-cyan: #00f0ff;
  --accent-pink: #ff007f;
  --accent-green: #00ff88;
  --font-family: 'Outfit', sans-serif;
}

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

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-family);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
}

.hidden {
  display: none !important;
}

/* Background Ambient Glows */
.bg-glow-1 {
  position: fixed;
  top: -10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.09) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.bg-glow-2 {
  position: fixed;
  bottom: 5%;
  right: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 0, 127, 0.07) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* Navigation Header */
.social-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 6%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.logo-badge {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  margin-left: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link-home {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-link-home:hover {
  color: #fff;
}

.nav-app-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--accent-cyan);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.2s;
}

.nav-app-btn:hover {
  background: rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.nav-install-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #00ff88, #00f0ff);
  border: none;
  color: #000;
  padding: 0.5rem 0.95rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(0, 255, 136, 0.35);
  animation: pulse-install 2s infinite ease-in-out;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-install-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(0, 255, 136, 0.55);
}

@keyframes pulse-install {
  0%, 100% { box-shadow: 0 0 12px rgba(0, 255, 136, 0.3); }
  50% { box-shadow: 0 0 22px rgba(0, 240, 255, 0.6); }
}

/* Page Layout Wrapper (center + 2 sticky sidebars) */
.page-layout {
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  gap: 1.5rem;
  max-width: 1260px;
  margin: 0 auto;
  align-items: start;
  padding: 0 1rem;
}

/* Sticky Sidebar Ad Columns */
.sidebar-ad {
  position: sticky;
  top: 30px;
  display: flex;
  justify-content: center;
  padding-top: 1rem;
  height: fit-content;
  z-index: 10;
}

.sidebar-ad-left  { grid-column: 1; }
.sidebar-ad-right { grid-column: 3; }

/* Only show sidebars when there's enough room */
@media (max-width: 1240px) {
  .page-layout {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
  }
  .sidebar-ad {
    display: none;
  }
  .social-container {
    grid-column: 1 !important;
  }
}

/* Container */
.social-container {
  grid-column: 2;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 1.2rem 4rem 1.2rem;
  text-align: center;
}

/* Hero Elements */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #00ff88;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff88;
  animation: pulse 1.5s infinite;
}

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

.main-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.highlight-cyan { color: #00f0ff; }
.highlight-pink { color: #ff007f; }
.highlight-orange { color: #ff6a00; }
.highlight-blue { color: #2d88ff; }

.main-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2rem auto;
  font-weight: 400;
}

/* Platform Tabs */
.platform-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 0.6rem 1rem;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.tab-btn.active {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

/* SVG icons inside tab buttons */
.tab-btn svg.tab-icon {
  flex-shrink: 0;
  display: block;
}

.badge-mini {
  background: #00ff88;
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  text-transform: uppercase;
}

/* Downloader Main Card */
.downloader-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  margin-bottom: 2.5rem;
  text-align: left;
}

.input-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.input-box {
  flex: 1;
  min-width: 280px;
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0 0.8rem 0 1rem;
  transition: border-color 0.25s;
}

.input-box:focus-within {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.search-icon {
  color: var(--text-muted);
  margin-right: 0.5rem;
}

.input-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.9rem 0;
}

.input-box input::placeholder {
  color: #717785;
}

.paste-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.paste-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.submit-btn {
  background: linear-gradient(90deg, var(--accent-cyan), #7928ca);
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9rem 1.8rem;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s;
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 240, 255, 0.45);
}

.btn-loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Status Notifications */
.status-msg {
  margin-top: 1rem;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.status-msg.error {
  background: rgba(255, 50, 50, 0.1);
  border: 1px solid rgba(255, 50, 50, 0.3);
  color: #ff5555;
}

/* Result Box */
.result-box {
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  animation: fadeIn 0.4s ease;
}

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

.result-header {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.thumbnail-container {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.duration-tag {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.platform-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.result-info {
  flex: 1;
}

.result-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.result-author {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.result-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge-feature {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.25);
  color: #00ff88;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

/* Download Action Buttons */
.download-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.dl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}

.dl-btn-video {
  background: linear-gradient(90deg, #00f0ff, #00a8ff);
  color: #000;
  box-shadow: 0 8px 20px rgba(0, 240, 255, 0.3);
}

.dl-btn-video:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 240, 255, 0.45);
}

.dl-btn-audio {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.dl-btn-audio:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Ads Wrappers */
.ad-wrapper-top,
.ad-wrapper-middle,
.ad-wrapper-native,
.ad-wrapper-wide,
.ad-wrapper-footer {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

/* Two 300x250 side by side */
.ad-wrapper-double {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin: 1.8rem 0;
}

.ad-box-wrapper {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
}

/* Platforms Features Grid */
.features-section {
  margin: 3.5rem 0 2.5rem 0;
  text-align: center;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  text-align: left;
}

@media (max-width: 580px) {
  .platforms-grid {
    grid-template-columns: 1fr;
  }
}

.platform-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(15px);
  transition: transform 0.25s;
}

.platform-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
}

.p-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.tiktok-grad { background: rgba(0, 242, 254, 0.15); border: 1px solid #00f2fe; }
.insta-grad { background: rgba(220, 39, 67, 0.15); border: 1px solid #dc2743; }
.kwai-grad { background: rgba(255, 80, 0, 0.15); border: 1px solid #ff5000; }
.fb-grad { background: rgba(24, 119, 242, 0.15); border: 1px solid #1877f2; }

.platform-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.platform-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Desktop Upsell Banner */
.desktop-banner {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08), rgba(85, 20, 180, 0.15));
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 20px;
  padding: 2.2rem 2rem;
  margin-top: 3rem;
  text-align: center;
}

.desktop-tag {
  display: inline-block;
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

.desktop-banner h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.desktop-banner p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 1.5rem auto;
  font-size: 0.95rem;
}

.desktop-cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
  color: #fff;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(255, 0, 127, 0.35);
  transition: transform 0.2s;
}

.desktop-cta-btn:hover {
  transform: scale(1.03);
}

/* Interstitial Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-card {
  position: relative;
  background: rgba(15, 17, 26, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  max-width: 440px;
  max-height: 92vh;
  overflow-y: auto;
  width: 100%;
  padding: 2.2rem 1.6rem;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

@media (max-width: 480px) {
  .modal-card {
    padding: 1.4rem 0.8rem;
    max-height: 94vh;
  }
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 1.1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.modal-hourglass {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.modal-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.modal-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.countdown-circle {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: 3px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin: 0 auto 0.8rem auto;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
}

.countdown-text {
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.modal-btn-disabled {
  width: 100%;
  padding: 0.9rem;
  border-radius: 12px;
  border: none;
  background: #333;
  color: #888;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: not-allowed;
}

.modal-btn-active {
  width: 100%;
  padding: 0.9rem;
  border-radius: 12px;
  border: none;
  background: linear-gradient(90deg, #00f0ff, #7928ca);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

/* Anti-AdBlock Strict Modal Styles */
.adblock-card {
  max-width: 480px;
  border: 1px solid rgba(255, 71, 87, 0.4);
  box-shadow: 0 0 50px rgba(255, 71, 87, 0.25), 0 25px 60px rgba(0, 0, 0, 0.95);
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.adblock-icon-wrapper {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.adblock-icon {
  font-size: 2.8rem;
  z-index: 2;
}

.adblock-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 71, 87, 0.2);
  animation: adblockPulse 2s infinite ease-out;
}

@keyframes adblockPulse {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

.adblock-card h2 {
  color: #ff4757;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.adblock-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.4rem;
}

.adblock-desc strong {
  color: #fff;
}

.adblock-instructions {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.1rem 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.instruction-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #cfd3dc;
  line-height: 1.35;
}

.step-num {
  background: rgba(255, 71, 87, 0.2);
  border: 1px solid #ff4757;
  color: #ff4757;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.instruction-step strong {
  color: #fff;
}

.adblock-btn {
  background: linear-gradient(90deg, #ff4757, #ff6b81);
  box-shadow: 0 0 25px rgba(255, 71, 87, 0.45);
  font-size: 1rem;
  padding: 1rem;
  transition: all 0.25s ease;
}

.adblock-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 71, 87, 0.6);
}

.adblock-alert-msg {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: #ff4757;
  font-weight: 600;
}

.adblock-vip-teaser {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.adblock-vip-teaser .vip-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.adblock-vip-teaser .vip-link:hover {
  color: #00ff88;
  text-decoration: underline;
}

/* Shake animation when AdBlock is still active */
@keyframes shakeCard {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.shake {
  animation: shakeCard 0.4s ease;
}

/* Footer */
.social-footer {
  text-align: center;
  padding: 2.5rem 1rem 3rem;
  color: #5d6370;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #00f0ff;
  text-decoration: underline;
}

.footer-dot {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
}

.footer-disclaimer {
  max-width: 680px;
  margin: 0.6rem auto 0 auto !important;
  font-size: 0.78rem !important;
  color: #555b66 !important;
  line-height: 1.45;
}

/* Responsive Mobile Rules */
@media (max-width: 768px) {
  /* Hide desktop 728px banners on mobile to prevent overflow */
  .ad-wrapper-native,
  .ad-wrapper-wide {
    display: none !important;
  }
}

@media (max-width: 680px) {
  /* Hide PC App button on mobile devices so user only sees Mobile PWA */
  .nav-app-btn {
    display: none !important;
  }

  .social-nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    gap: 0.5rem;
  }

  .nav-logo {
    font-size: 1.25rem;
  }

  .nav-logo svg {
    width: 26px;
    height: 26px;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .nav-install-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
  }

  .nav-link-home {
    font-size: 0.82rem;
    padding: 0.4rem 0.6rem;
  }

  .social-container {
    padding: 0.8rem 0.8rem 3rem 0.8rem;
  }

  .downloader-card {
    padding: 1.1rem;
  }

  .input-form {
    flex-direction: column;
    gap: 0.75rem;
  }

  .input-box {
    min-width: 0;
    width: 100%;
  }

  .submit-btn {
    width: 100%;
    padding: 0.95rem;
  }

  .main-title {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .main-subtitle {
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
  }

  .platform-tabs {
    gap: 0.4rem;
  }

  .tab-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
  }

  .download-actions {
    grid-template-columns: 1fr;
  }

  .result-header {
    flex-direction: column;
    text-align: center;
  }

  .thumbnail-container {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }

  .result-tags {
    justify-content: center;
  }

  .desktop-banner {
    padding: 1.5rem 1rem;
    margin-top: 2rem;
  }

  .desktop-banner h2 {
    font-size: 1.3rem;
  }
}

/* Download Status Banner & Manual Re-download */
.dl-status-banner {
  margin-top: 1.2rem;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.35);
  border-radius: 14px;
  padding: 1.2rem;
  text-align: left;
  animation: fadeIn 0.3s ease;
}

.dl-status-content {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.dl-status-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}

.dl-status-texts strong {
  display: block;
  font-size: 1rem;
  color: #00ff88;
  margin-bottom: 0.25rem;
}

.dl-status-texts p {
  font-size: 0.85rem;
  color: #bbb;
  margin: 0;
  line-height: 1.4;
}

.btn-manual-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: linear-gradient(90deg, #00ff88, #00c3ff);
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.2rem;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.btn-manual-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.5);
  color: #000;
}
