body {
  font-family: 'Inter', sans-serif;
  margin: 0;
}

/* Header styling */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background-color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  top: 0;
  z-index: 1000;
}

/* Logo */
.logo-link {
  font-family: 'Marck Script', cursive;
  font-size: 45px;
  color: #ff5e66;
  letter-spacing: -0.08em;
  text-decoration: none;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  gap: 1.5rem;
}

.nav-item {
  font-size: 1rem;
  color: #333;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.nav-item:hover {
  background-color: #f1f1f1;
}

.nav-item.active {
  background-color: #ff5e66;
  color: #fff;
  font-weight: bold;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
}

/* Show nav when hamburger is clicked */
.nav-menu.show {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 3rem;
  background: #ffffff;
  padding: 1rem 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 999;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 3rem 2rem 2rem;
  background: linear-gradient(to right, #ffe5ec, #fff);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Upload Box */
.upload-box {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  margin: 2rem auto;
  width: 80%;
  max-width: 600px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.upload-box button {
  margin-top: 1rem;
  padding: 0.8rem 2rem;
  background-color: #ff5a5f;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.upload-box button:hover {
  background-color: #e0484e;
}

.upload-note {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

/* Preview Section */
.preview-section {
  text-align: center;
  padding: 2rem;
}

.preview-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.preview-section img {
  max-width: 100%;
  height: auto;
  border: 2px dashed #ddd;
  border-radius: 10px;
}

/* Download Button */
.download-btn {
  margin-top: 1rem;
}

.download-btn button {
  padding: 0.8rem 1.5rem;
  background-color: #28a745;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.download-btn button:hover {
  background-color: #218838;
}

/* Ad Section */
.ad-section {
  text-align: center;
  padding: 2rem;
  background: #fff4f4;
  color: #cc0000;
  font-weight: bold;
  border-top: 1px solid #ffd6d6;
  border-bottom: 1px solid #ffd6d6;
}

/* Other Tools */
.other-tools {
  background-color: #1e1e1e;
  padding: 60px 20px;
  max-width: 100%;
  margin: auto;
  color: white;
}

.tool {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
}

.tool.reverse {
  flex-direction: row-reverse;
}

.tool-img img {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 30px;
}

.tool-text {
  max-width: 500px;
}

.tool-text h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.tool-text p {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

.tool-text a {
  display: inline-block;
  padding: 10px 20px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.8s ease;
}

.tool-text a:hover {
  background: #0056cc;
}

footer {
  text-align: center;
  padding: 20px;
  background: #171717;
  color: #555;
  font-size: 14px;
}

.footer-legal {
  margin-left: 15px;
  color: #0077ff;
  text-decoration: none;
  font-weight: 600;
}

.footer-legal:hover {
  text-decoration: underline;
}

/* ======================================================
   ⭐ COMING SOON ANIMATION
====================================================== */

.coming-soon-box {
  text-align: center;
  padding: 30px 20px;
  margin-top: 10px;
  position: relative;
}

.coming-soon-box .cs-image {
  width: 100%;
  max-width: 1200px;
  border-radius: 14px;
  position: relative;
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

/* Gradient Glow Animation */
.coming-soon-box::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130%;
  height: 140%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 0% 0%,
      rgba(255, 0, 120, 0.35),
      rgba(0, 130, 255, 0.25),
      rgba(255, 255, 255, 0)
  );
  filter: blur(80px);
  animation: gradientMove 6s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

@keyframes gradientMove {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-45%, -48%) scale(1.15); }
  100% { transform: translate(-52%, -55%) scale(1); }
}

/* Hide tool UI since it's Coming Soon */
.upload-box,
.preview-section,
.ad-section {
  display: none !important;
}

/* ======================================================
   ⭐ TOP BANNER AD
====================================================== */

.banner-ad {
  max-width: 900px;
  margin: 25px auto;
  text-align: center;
}

/* ======================================================
   ⭐ SIDE ADS (Left + Right)
====================================================== */

.tools-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px 10px;
}

.side-ad-vertical {
  width: 160px;
  max-width: 100%;
}

@media (max-width: 1024px) {
  .side-ad-vertical {
    display: none;
  }
}

.coming-wrapper {
  width: 100%;
  max-width: 700px;
}

/* BOTTOM STICKY AD */
.bottom-sticky-ad {
  position: fixed;
  bottom: -100px; /* start hidden */
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  background: white;
  padding: 10px;
  display: block; /* keep it block; we control visibility with animation */
  z-index: 9999;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.25);
  border-radius: 18px;
  opacity: 0;
  animation: slideUp 0.8s ease-out forwards;
}

/* SLIDE UP ANIMATION */
@keyframes slideUp {
  0% {
    bottom: -100px;
    opacity: 0;
  }
  100% {
    bottom: 15px;
    opacity: 1;
  }
}

.close-sticky {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #000;
  color: #fff;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  z-index: 99999;
  opacity: 0.8;
}

.close-sticky:hover {
  opacity: 1;
}


/* MOBILE RESPONSIVE */
@media(max-width: 600px) {
  .bottom-sticky-ad {
    width: 90%;
  }
}

/* Normalize ad alignment */
.adsbygoogle {
  margin: 0 auto;
}
/* ------------------ Responsive ------------------ */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
  }

  .tool {
    flex-direction: column;
    gap: 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .upload-box {
    width: 90%;
    padding: 1.5rem;
  }

  .preview-section img {
    max-width: 90%;
  }

  .tool-img img {
    max-width: 100%;
  }
}
