/*
Theme Name: MultiVidz All in One Video Downloader
Theme URI: http://Multividz.com
Author:MultiVidz
Author URI: http://multividz.com
Description:All in One Video Downloader
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: multividz-custom
Tags: custom, responsive, one-page
*/

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&family=Poppins:wght@400;600;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

/* Thumbnail and Title */
.video-title {
  font-size: 26px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
  background: linear-gradient(to right, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  border-bottom: 2px dashed #ddd;
  padding-bottom: 10px;
}

/* Thumbnail Wrapper */
.thumbnail-wrapper {
  position: relative;
  max-width: 500px;
  border-radius: 12px;
  overflow: hidden;
  filter: blur(6px);
  transition: filter 0.5s ease;
  cursor: pointer;

  /* Disable selection & dragging */
  user-select: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
}

/* Clear blur on toggle */
.thumbnail-wrapper.clear {
  filter: blur(1px);
  animation: none;
}

/* Thumbnail image styling */
.video-thumbnail {
  width: 100%;
  display: block;
  border-radius: 12px;

  /* Disable pointer events on image preventing right-click */
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Disable context menu on thumbnail wrapper */
.thumbnail-wrapper,
.thumbnail-wrapper * {
  -webkit-touch-callout: none; /* iOS long press */
  -webkit-user-select: none; /* Chrome/Safari/Opera */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+ */
  user-select: none; /* Standard */
}



.spinner-circle {
  width: 30px;
  height: 30px;
  border: 4px solid #ccc;
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: auto;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
/* Format Container */
.format-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.format-column {
  flex: 1;
  min-width: 250px;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.format-column h4 {
  font-size: 18px;
  color: #007bff;
  margin-bottom: 10px;
  text-align: center;
}
.format-option {
  display: block;
  padding: 10px;
  margin: 5px 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  position: relative;
  transition: background-color 0.2s ease;
}
.format-option:hover {
  background-color: #e9ecef;
}
.format-option.loading .format-text::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #bb2124;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}
.format-option.download-started .format-text::after {
  content: 'Download Started';
  color: #28a745;
  font-size: 12px;
  margin-left: 10px;
}
/* Platform Benefits */
.platform-benefits {
  max-width: 1000px;
  margin: 50px auto;
  padding: 30px 20px;
  font-size: 16px;
  line-height: 1.8;
  color: #222;
  background-color: #fafafa;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.platform-benefits h3 {
  font-family: 'Segoe UI', 'Poppins', sans-serif;
  font-size: 22px;
  color: #bb2124;
  margin-bottom: 8px;
  font-weight: 600;
}
.platform-benefits p {
  margin-bottom: 15px;
  color: #444;
}
.platform-benefits hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 25px 0;
}
/* Error Message */
.error-msg {
  color: red;
  font-size: 14px;
  margin-top: 6px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}
.error-msg.show {
  opacity: 1;
  transform: translateX(0);
}
/* How to Download placeholder*/
   .steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
    max-width: 900px;
    margin: 0 auto 40px;
  }
  .step {
    text-align: center;
  }
  .step h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
  }

  .steps-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.step {
  flex: 1 1 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 2px solid;
}

.step-image-placeholder img {
  width: 100%;
  max-width: 100%; /* limit max width */
  height: auto;
  max-height: 200px; /* reduced max height for smaller image height */
  object-fit: contain; /* keep aspect ratio, no distortion */
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media(min-width: 768px) {
  .step {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

/* Footer */
.platforms-section {
  background: #f5f5f5;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
}
.platforms-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.left-column, .right-column {
  flex: 1;
  min-width: 280px;
}
.left-column h3,
.legal-section h4,
.right-column h4 {
  font-size: 18px;
  color: #222;
  margin-bottom: 12px;
}
.platform-list a,
.legal-section a,
.right-column a {
  display: flex;
  align-items: center;
  margin: 6px 0;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: transform 0.3s ease, color 0.3s ease;
}
.platform-list a i,
.legal-section a i,
.right-column a i {
  margin-right: 8px;
}
.platform-list a:hover,
.legal-section a:hover,
.right-column a:hover {
  transform: translateX(6px);
  color: #bb2124;
}
.footer-bar {
  background: #bb2124;
  padding: 12px 20px;
  text-align: center;
  color: #fff;
  font-size: 14px;
  margin-top: 30px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding: 20px 0;
}
.feature {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.feature i {
  font-size: 32px;
  color: #bb2124;
  margin-bottom: 15px;
}
.feature h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature p {
  font-size: 15px;
  color: #555;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #444;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
header {
  background-color: #bb2124;
  padding: 10px 20px;
  display: flex;
  align-items: center;
}
header img {
  height: 40px;
}
main {
  flex: 1;
  padding: 20px;
  max-width: 600px;
  margin: auto;
}
h2.title {
  font-size: 28px;
  font-family: 'Orbitron', sans-serif;
  text-align: center;
  margin-bottom: 20px;
  color: #bb2124;
}
.input-group {
  display: flex;
  width: 100%;
  max-width: 700px;   /* chaaho to zyada bhi kar sakte ho */
  margin: 20px auto;
}

.input-group input[type="text"] {
  flex: 1;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px 0 0 10px; /* Left side round */
  font-size: 16px;
  outline: none;
}

.input-group button {
  padding: 12px 20px;
  background-color: #bb2124;
  color: white;
  border: none;
  border-radius: 0 10px 10px 0; /* Right side round */
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}
button:disabled {
  background-color: #999;
  cursor: not-allowed;
}
#spinner, #downloadSpinner {
  display: none;
  margin: 10px auto;
  text-align: center;
}
#spinner div, #downloadSpinner div {
  width: 24px;
  height: 24px;
  border: 4px solid #bb2124;
  border-top: 4px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: auto;
}
#spinner p, #downloadSpinner p {
  margin-top: 8px;
  font-size: 14px;
  color: #bb2124;
  font-weight: 600;
}
#videoInfo {
  display: none;
  margin-top: 20px;
  text-align: center;
}
#videoTitle {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 10px;
}
#thumbnail {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-bottom: 15px;
}
.about {
  font-size: 15px;
  margin-top: 30px;
  line-height: 1.7;
  color: #444;
  }
.about h3 {
  text-align: ;
  color: #bb2124;
  margin-bottom: 10px;
}
footer {
  background-color: #f8f9fa;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
footer h2, footer h3 {
  font-size: 18px;
  color: #333;
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 12px;
}
footer p {
  margin: 6px 0;
}
footer a {
  text-decoration: none;
  color: #bb2124;
  display: inline-block;
  transition: transform 0.2s ease, background-color 0.2s ease;
  padding: 2px 6px;
  border-radius: 5px;
}
footer a:hover {
  text-decoration: underline;
}
footer a:active {
  transform: translateX(5px);
  background-color: rgba(0, 123, 255, 0.1);
}
footer li::before {
  content: "\1F517 ";
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Hidden iframe for downloads */
#downloadIframe {
  display: none;
}
/* Reset unwanted gaps */
body, html {
  margin: 0;
  padding: 0;
}

/* Header design */
.site-header {
  background: #bb2124; /* blue */
  padding: 10px;
  border: 2px solid;
  border-color: #bb2124;
  text-align: center;
}

.site-logo {
  height: 50px;
}
/*faq coding*/
    body {
      font-family: Arial, sans-serif;
      background: #f4f6f9;
      margin: 0;
      padding: 0;
      line-height: 1.6;
    }

    .container {
      max-width: max-content;
      margin: 40px auto;
      padding: 20px;
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

    h1 {
      text-align: center;
      margin-bottom: 20px;
      color: #333;
    }

    .faq {
      margin-bottom: 15px;
      border-bottom: 1px solid #ddd;
    }

    .faq button {
      background: #fff;
      color: #333;
      cursor: pointer;
      padding: 15px;
      width: 100%;
      border: none;
      outline: none;
      text-align: left;
      font-size: 18px;
      font-weight: bold;
      transition: 0.3s;
    }

    .faq button:hover {
      background: #f0f0f0;
    }

    .faq button:after {
      content: '+';
      float: right;
      font-size: 20px;
    }

    .faq button.active:after {
      content: '-';
    }

    .faq .answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      background: #fafafa;
      padding: 0 15px;
      color: #555;
    }

    .faq .answer p {
      margin: 15px 0;
    }
/*supported sites grid lsayout*/

/* 🔹 Grid Layout for Platforms */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 15px;
  justify-content: center;
}

/* 🔹 Common platform styles */
.platform {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}

.platform:hover { transform: scale(1.1); opacity: 0.9; }

/* 🔞 Blur effect */
.blur { filter: blur(2.5px); }
.blur:hover { filter: blur(.5px); }

/* 🔹 Platform-specific styles */
.platform.pornhub { background: black; }
.pornhub .porn { color: white; }
.pornhub .hub { color: #ff9900; }

.platform.xvideos { background: black; }
.xvideos .x { color: red; }
.xvideos .videos { color: white; }

.platform.xhamster { background: white; border:4px solid #ddd; }
.xhamster .x { color: red; }
.xhamster .hamster { color: black; }

.platform.xnxx { background: #001f3f; }
.xnxx .xn { color: #00ccff; font-size: x-large; }
.xnxx .xx { color: white; }

.platform.redtube { background: transparent; border: 4px solid #ddd; }
.redtube .red { color: red; }
.redtube .tube { color: black; }

.platform.youporn { background: #111; }
.youporn .you { color: #ff69b4; }
.youporn .porn { color: white; }

.platform.spankbang { background: black; }
.spankbang span { color: white; }

.platform.tube8 { background: black; }
.tube8 .tube { color: white; }
.tube8 .num { color: #00aced; }

.platform.beeg { background: #333; }
.beeg span { color: #ffcc00; }

.platform.pornhd { background: black; }
.pornhd .porn { color: white; } 
.pornhd .hd { color: red; }

.platform.eporner { background: #222; }
.eporner span { color: #ff3300; }

.platform.javhd { background: #001f3f; }
.javhd .jav { color: white; }
.javhd .hd { color: #00ccff; }

.platform.onlyfans { background: white;border: 4px solid #ddd;  }
.onlyfans .only { color: #5f94e8; }
.onlyfans .fans { color: #1c6ae8; }

.platform.rutube { background: #222; }
.rutube .jav { color: #ff6600; }
.rutube .hd { color: white; }
