/* ==========================================================
   OM NAMAH SHIVAY SPORTS PHOTOGRAPHY - INTERACTIVE COMPONENTS
   Floating WhatsApp Bar, Smart Promo Modal, Lightbox & Badges
   ========================================================== */

/* ==========================================================
   1. FLOATING FULL-WIDTH / FLOATING STICKY WHATSAPP BAR
   Vastly superior to find03.online: modern glassmorphic dock
   with glowing pulse, live agent status & 1-tap WhatsApp action.
   ========================================================== */
.sticky-wa-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(5, 8, 17, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(37, 211, 102, 0.35);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  animation: slideUpBar 0.5s ease-out;
}

@keyframes slideUpBar {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.sticky-wa-inner {
  width: 100%;
  max-width: 1240px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-wa-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sticky-wa-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #090e1d;
  border: 2px solid var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.4);
}

.sticky-wa-avatar svg {
  width: 26px;
  height: 26px;
  fill: var(--wa-green);
}

.sticky-wa-badge {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 12px;
  height: 12px;
  background: var(--wa-green);
  border: 2px solid #050811;
  border-radius: 50%;
}

.sticky-wa-text h5 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.sticky-wa-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.sticky-wa-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.sticky-call-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.sticky-chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--wa-green), var(--wa-teal));
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.sticky-chat-btn:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.1);
}

@media (max-width: 680px) {
  .sticky-call-btn {
    display: none;
  }
  .sticky-wa-text p {
    display: none;
  }
  .sticky-chat-btn {
    padding: 10px 18px;
    font-size: 0.88rem;
  }
  .sticky-wa-bar {
    height: 64px;
  }
}

/* ==========================================================
   BANNER POPUP MODAL (DESKTOP CENTERED / MOBILE FULL SCREEN)
   Exact requirement: mobile pe full screen, desktop/laptop pe normal popup
   ========================================================== */
.banner-popup-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: popupFade 0.35s ease;
}

.banner-popup-container {
  position: relative;
  max-width: 440px;
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 40px rgba(239, 68, 68, 0.15);
  animation: popupZoom 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner-popup-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  background: #150307;
  display: flex;
  flex-direction: column;
}

.banner-popup-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  object-fit: cover;
}

.close-banner-popup-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.close-banner-popup-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: scale(1.08);
}

@keyframes popupFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popupZoom {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* MOBILE FULL SCREEN STYLES (Requested by user) */
@media (max-width: 680px) {
  .banner-popup-modal {
    padding: 0 !important;
    background: #0d0204 !important;
    align-items: stretch !important;
    justify-content: stretch !important;
  }

  .banner-popup-container {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: none !important;
    animation: none !important;
  }

  .banner-popup-card {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    border: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: #0d0204 !important;
  }

  .banner-popup-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
  }

  .close-banner-popup-btn {
    top: 20px !important;
    right: 20px !important;
    width: 46px !important;
    height: 46px !important;
    font-size: 1.5rem !important;
    background: rgba(0, 0, 0, 0.75) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
  }

  .banner-popup-card .whatsapp-overlay-btn {
    bottom: 35px !important;
    width: 88% !important;
    max-width: 330px !important;
    font-size: 1.25rem !important;
    padding: 16px 24px !important;
  }
}

/* ==========================================================
   2. SMART VIP OFFER MODAL (Replaces find03.online intrusive popup)
   Appears smoothly after 4s or when clicking promo banner.
   ========================================================== */
.vip-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 15, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.vip-modal-backdrop.show {
  display: flex;
  opacity: 1;
}

.vip-modal-card {
  background: linear-gradient(145deg, #0d1527 0%, #060a16 100%);
  border: 1.5px solid rgba(37, 211, 102, 0.45);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  padding: 40px 32px;
  position: relative;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(37, 211, 102, 0.2);
  transform: scale(0.9);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.vip-modal-backdrop.show .vip-modal-card {
  transform: scale(1);
}

.close-vip-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.close-vip-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}

.vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.vip-modal-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 12px;
}

.vip-modal-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 24px;
}

.vip-deal-box {
  background: rgba(37, 211, 102, 0.08);
  border: 1px dashed rgba(37, 211, 102, 0.4);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 26px;
}

.vip-deal-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--wa-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vip-deal-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-top: 4px;
}

.vip-modal-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, var(--wa-green), var(--wa-teal));
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  padding: 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
}

.vip-modal-cta:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.vip-modal-footnote {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ==========================================================
   3. ACTION LIGHTBOX (FULLSCREEN SPORTS ZOOM)
   ========================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 12, 0.94);
  backdrop-filter: blur(16px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content-box {
  max-width: 1100px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrap {
  width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.lightbox-img-wrap img {
  width: 100%;
  height: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.lightbox-caption-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.lightbox-title-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.lightbox-exif-text {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--accent-cyan);
}

.lightbox-close-btn {
  position: absolute;
  top: -48px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-light);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: var(--transition);
}

.lightbox-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
}

/* ==========================================================
   4. TOAST NOTIFICATIONS
   ========================================================== */
.toast-msg {
  position: fixed;
  bottom: 90px;
  right: 24px;
  background: #0f172a;
  border: 1px solid var(--wa-green);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-msg.show {
  transform: translateY(0);
}
