/* ===========================
   Popup Styles (Mr Sudz)
   =========================== */
:root {
  --primary-color: #00f0ff;
  --primary-color-rgb: 0, 240, 255;
  --popup-bg-img: url("/images/mr-sudz/gallery/2.jpg");
  --popup-overlay: rgba(0, 0, 0, 0.85);
  --popup-card-bg: rgba(0, 0, 0, 0.65);
  --popup-radius: 14px;
}

/* Overlay */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: var(--popup-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(2px);
}
.popup-overlay.active {
  visibility: visible;
  animation: overlay-in 0.4s ease forwards;
}
.popup-overlay.closing {
  animation: overlay-out 0.28s ease forwards;
}

/* Card */
.popup-content {
  position: relative;
  width: min(92vw, 720px);
  padding: 44px 48px;
  border-radius: var(--popup-radius);
  color: #fff;
  text-align: center;
  overflow: hidden;
  background: var(--popup-card-bg);

  /* 👇 glowing border */
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(var(--primary-color-rgb), 0.6),
    0 0 40px rgba(var(--primary-color-rgb), 0.4);

  animation: borderGlow 3s ease-in-out infinite;
}
@keyframes borderGlow {
  0% {
    box-shadow: 0 0 12px rgba(var(--primary-color-rgb), 0.4),
      0 0 24px rgba(var(--primary-color-rgb), 0.2);
    border-color: rgba(var(--primary-color-rgb), 0.6);
  }
  50% {
    box-shadow: 0 0 25px rgba(var(--primary-color-rgb), 0.9),
      0 0 50px rgba(var(--primary-color-rgb), 0.7);
    border-color: rgba(var(--primary-color-rgb), 1);
  }
  100% {
    box-shadow: 0 0 12px rgba(var(--primary-color-rgb), 0.4),
      0 0 24px rgba(var(--primary-color-rgb), 0.2);
    border-color: rgba(var(--primary-color-rgb), 0.6);
  }
}
.popup-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--popup-bg-img) center/cover no-repeat;
  z-index: -2;
  filter: brightness(0.65) contrast(1.05);
}
.popup-content::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75));
  z-index: -1;
}

/* Enter / Exit motions */
.popup-overlay.active .popup-content {
  animation: pop-in 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.popup-overlay.closing .popup-content {
  animation: pop-out 0.28s cubic-bezier(0.4, 0, 0.6, 1) both;
}

/* Header bits */
.popup-logo img {
  display: block;
  margin: 0 auto 18px;
  animation: floaty 3.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes floaty {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  } /* float up */
  100% {
    transform: translateY(0);
  } /* back down */
}
.popup-logo img {
  animation: floaty 3.5s ease-in-out infinite, glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 6px rgba(var(--primary-color-rgb), 0.7));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(var(--primary-color-rgb), 1));
  }
}
.popup-title {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 6px 0 14px;
}
.popup-text {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  margin: 0 0 12px;
}
.popup-text .accent {
  color: var(--primary-color);
}

/* CTA – glossy, animated sheen */
.popup-btn {
  --glow: rgba(var(--primary-color-rgb), 0.45);
  position: relative;
  display: inline-block;
  margin-top: 12px;
  padding: 14px 28px;
  border-radius: 12px;
  background: var(--primary-color);
  color: #000;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 26px var(--glow);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  overflow: hidden;
}
.popup-btn::before {
  /* animated sheen */
  content: "";
  position: absolute;
  inset: -120% -40%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 65%
  );
  transform: translateX(-60%) rotate(8deg);
  animation: shine 2.2s ease-in-out infinite;
  pointer-events: none;
}
.popup-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(var(--primary-color-rgb), 0.58),
    0 0 14px rgba(0, 0, 0, 0.35);
  filter: brightness(1.08) saturate(1.06);
  color: #000; /* keep readable */
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.55),
    0 -1px 2px rgba(0, 0, 0, 0.35);
}

/* Close */
.popup-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 22px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.2s ease;
  backdrop-filter: blur(2px);
}
.popup-close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.04);
}

/* Keyframes */
@keyframes overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes overlay-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes pop-in {
  0% {
    transform: translateY(24px) scale(0.94);
    opacity: 0;
  }
  60% {
    transform: translateY(-4px) scale(1.02);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
@keyframes pop-out {
  from {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  to {
    transform: translateY(12px) scale(0.96);
    opacity: 0;
  }
}
@keyframes shine {
  0% {
    transform: translateX(-60%) rotate(8deg);
  }
  100% {
    transform: translateX(60%) rotate(8deg);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .popup-overlay,
  .popup-btn {
    transition: none !important;
  }
  .popup-overlay.active,
  .popup-overlay.closing,
  .popup-overlay.active .popup-content,
  .popup-overlay.closing .popup-content {
    animation: none !important;
  }
}

/* Small screens */
@media (max-width: 480px) {
  .popup-content {
    padding: 32px 22px;
  }
  .popup-close {
    top: 8px;
    right: 8px;
  }
}

/* logo header */
/* Default floating logo */
#logo img {
  animation: logo-float 4s ease-in-out infinite;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Hover effect: soft pop + glow */
#logo img:hover {
  transform: scale(1.08); /* slightly bigger */
  filter: brightness(1.05) drop-shadow(0 0 8px var(--primary-color));
  box-shadow: 0 0 12px rgba(var(--primary-color-rgb), 0.4);
}

/* for the icons */
.icon-img {
  width: 60px; /* same size as your fs-40 icon */
  height: 60px; /* keep it square */
  position: absolute; /* if you want it positioned like icofont */
  left: 0; /* same as start-0 */
}
.counter-icon {
  width: 40px; /* same size as your fs-40 icon */
  height: 40px; /* keep it square */
  position: absolute; /* if you want it positioned like icofont */
  left: 0; /* same as start-0 */
}
/* membership */

.highlight-text {
  color: #00f0ff;
  text-shadow: 0 0 10px #00f0ff, 0 0 20px #00f0ff;
}

.ul-style-2 li {
  transition: transform 0.3s ease, color 0.3s ease;
}

.ul-style-2 li:hover {
  transform: scale(1.05);
  color: #00f0ff;
}

/* buttons */
/* Popup layout with centered logo on left */
/* Popup layout with centered logo on left */
.popup-body-with-logo {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  text-align: left;
  min-height: 300px;
}

.popup-logo-left {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 100%;
  min-height: 300px;
}

.popup-logo-left img {
  max-width: 100%;
  height: auto;
}

.popup-content-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
}

.popup-benefits {
  margin: 20px 0;
  flex-grow: 1;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.benefits-list li {
  padding: 8px 0;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

/* Button container */
.popup-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: flex-start;
}

.popup-btn {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  min-width: 120px;
}

.primary-btn {
  background-color: #00f0ff;
  color: #000;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.primary-btn:hover {
  background-color: #00d4e6;
  transform: translateY(-2px);
  box-shadow: 0 5px 25px rgba(0, 240, 255, 0.5);
}

.secondary-btn {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.secondary-btn:hover {
  background-color: #fff;
  color: #000;
  transform: translateY(-2px);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .popup-body-with-logo {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    min-height: auto;
  }

  .popup-logo-left {
    width: 100%;
    min-height: auto;
    justify-content: center;
    margin-bottom: 20px;
  }

  .popup-logo-left img {
    height: 100px;
  }

  .popup-content-right {
    min-height: auto;
  }

  .popup-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .app-store-btn img {
    width: 120px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .popup-body-with-logo {
    gap: 15px;
  }

  .popup-logo-left img {
    height: 80px;
  }

  .benefits-list li {
    font-size: 14px;
    padding: 5px 0;
  }

  .popup-buttons {
    gap: 8px;
  }
}
.text-color {
  color: #00f0ff;
}
@keyframes coolBounce {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-8px) rotate(2deg);
  }
  75% {
    transform: translateY(-4px) rotate(-1deg);
  }
}

img[src*="packages/1.png"]:hover {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 5px 15px rgba(0, 240, 255, 0.6));
}
