/* Section title for home page services */
.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #111;
  text-align: center;
  margin: 90px 0 24px 0;
  letter-spacing: -1.2px;
  text-shadow: 0 2px 12px #2196f322, 0 1px 0 #fff;
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.1;
}
/* Hero section wrapper for logo overlap */
.hero-section {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 0 auto;
  padding-top: 90px; /* space for logo overlap */
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 600px) {
  .hero-section {
    padding-top: 60px;
  }
}
/* Video Downloader Box Hover Effect (reuse same style) */
.video-downloader-box {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 32px #2196f31a;
  padding: 36px 32px 32px 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  transition: box-shadow 0.18s, transform 0.18s;
  min-height: 220px;
}
.video-downloader-box:hover {
  box-shadow: 0 8px 40px #2196f340;
  transform: scale(1.035);
}
/* Image Converter Box Hover Effect */
.image-converter-box {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 32px #2196f31a;
  padding: 36px 32px 32px 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  transition: box-shadow 0.18s, transform 0.18s;
  min-height: 220px;
}
.image-converter-box:hover {
  box-shadow: 0 8px 40px #2196f340;
  transform: scale(1.035);
}
/* Modal overlay for video preview */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.modal-content {
  background: #111;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  padding: 32px 32px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}
.modal-content video {
  width: 70vw;
  max-width: 900px;
  max-height: 70vh;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.modal-close {
  margin-top: 18px;
  background: #dc3545;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 28px;
  font-size: 1.1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}
.modal-close:hover {
  background: #b71c1c;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #4de2ec, #49c3fb);
  min-height: 100vh;
  overflow-x: hidden;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container {
  max-width: 800px;
  width: 95vw;
  margin: 60px auto 0 auto;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  padding: 48px 0 48px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.logo {
  width: 120px;
  max-width: 100%;
  margin-bottom: 18px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Hero section logo (home page) */

.hero-logo {
  width: 180px;
  max-width: 320px;
  min-width: 120px;
  height: auto;
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -70%);
  z-index: 2;
  box-shadow: 0 4px 32px #2196f340;
  background: #fff;
  border-radius: 24px;
  padding: 28px 36px;
}

@media (max-width: 600px) {
  .hero-logo {
    width: 110px;
    min-width: 80px;
    padding: 12px 14px;
  }
}

.nav-logo {
  margin-bottom: 0;
  margin-left: 32px;
  margin-right: 32px;
  margin-top: 0;
  width: 80px;
  height: auto;
  display: block;
  align-self: center;
}

h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

.upload-box {
  width: 560px;
  height: 260px;
  background: #f3f3f3;
  border: 2px dashed #bdbdbd;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px auto;
  font-size: 1.25rem;
  color: #222;
  transition: border 0.2s, background 0.2s;
}

.custom-file-upload {
  display: inline-block;
  background: #2196f3;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 16px 32px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 32px #2196f340;
  border: none;
  transition: box-shadow 0.18s, transform 0.18s, background 0.18s;
  margin-bottom: 18px;
}
.custom-file-upload:hover {
  background: #1976d2;
  box-shadow: 0 8px 40px #1976d2a0;
  transform: scale(1.07);
}

input[type="file"] {
  display: none;
}


button {
  background-color: #28a745;
  color: white;
  padding: 12px 25px;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  margin-top: 20px;
  cursor: pointer;
  transition: box-shadow 0.18s, transform 0.18s;
}

/* Home page hero CTA button scaling effect */
.hero-section .start-convert-btn {
  font-size: 1.25rem;
  font-weight: 700;
  background: #2196f3;
  color: #fff;
  padding: 20px 38px;
  border-radius: 12px;
  box-shadow: 0 4px 32px #2196f340;
  margin-top: 36px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.hero-section .start-convert-btn:hover,
.hero-section button.start-convert-btn:hover {
  box-shadow: 0 8px 40px #1976d2a0 !important;
  transform: scale(1.07) !important;
  background: #1976d2 !important;
}

.downloadlist, .download-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 40px;
  width: 100%;
}

.preview-item {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  box-shadow: 0 0 18px rgba(0,0,0,0.10);
  padding: 40px 0 30px 0;
  border-radius: 10px;
}

.preview-item img {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
  margin: 0 auto 24px auto;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

.preview-item iframe, .preview-item blockquote.tiktok-embed {
  width: 80%;
  max-width: 640px;
  min-height: 320px;
  margin: 0 auto 0 auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  background: #000;
}

.preview-item button {
  margin: 0 10px 0 0;
  display: inline-block;
  vertical-align: middle;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 0;
}

.button-row button:last-child, .preview-item button.delete-btn {
  background-color: #dc3545;
  color: #fff;
}

.topbar {
  width: 100vw;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 56px;
}

.tab {
  padding: 18px 36px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2196f3;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: none;
  background: transparent;
  outline: none;
  border-radius: 0;
}

.tab.active {
  color: #fff;
  background: #2196f3;
  border-radius: 0 0 10px 10px;
}

.tab:hover:not(.active) {
  background: #e3f2fd;
  color: #1976d2;
}

.left-tab { border-right: 1px solid #e0e0e0; }
.center-tab { border-right: 1px solid #e0e0e0; }
.right-tab { }

.profile-pic {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  margin-left: auto;
  margin-right: 32px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
  transition: box-shadow 0.2s;
}
.profile-pic:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

#videoUrl {
  width: 100%;
  max-width: 900px;
  min-width: 350px;
  box-sizing: border-box;
  padding: 16px 22px;
  font-size: 1.18rem;
  border: 1.5px solid #bdbdbd;
  border-radius: 8px;
  outline: none;
  transition: border 0.2s;
}