/**
 * Theme Name: German IPTV - #1 Bester 4K IPTV Anbieter & Testline
 * Theme URI: https://deutschlandiptv.store/
 * Author: German IPTV
 * Author URI: https://deutschlandiptv.store/
 * Description: Premium German IPTV WordPress Theme (Modern OLED Dark Edition). Bester IPTV Anbieter für 4K UHD & 24h IPTV Testline. Über 35.000 Live-Sender (Live-Sport in 4K, Free-TV, Pay-Per-View) und 120.000+ VODs mit Anti-Freeze Technologie und Frankfurt DE-CIX Servern.
 * Version: 2.0.0
 * Requires at least: 6.0
 * Tested up to: 6.7
 * Requires PHP: 7.4
 * License: GNU General Public License v2 or later
 * Text Domain: iptvmn
 * Tags: german-iptv, iptv-kaufen, iptv-testline, iptv-deutsch, full-width-template, translation-ready
 */

/* Import compiled styles from theme.css */
@import url('assets/css/theme.css');

/* Crisp, perfectly centered Bestseller Badge */
.pricing-bestseller-badge {
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 35;
  pointer-events: none;
}

.pricing-bestseller-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #e11d48 0%, #db2777 100%);
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55), 0 0 12px rgba(225, 29, 72, 0.4);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  white-space: nowrap;
}

/* ========================================================
   Mobile Responsiveness & Utility Overrides
   ======================================================== */

/* Ensure .hidden overrides any element display styles */
.hidden {
  display: none !important;
}

/* Responsive Display Utilities */
@media (min-width: 640px) {
  .sm\:flex { display: flex !important; }
  .sm\:block { display: block !important; }
  .sm\:inline-flex { display: inline-flex !important; }
  .sm\:hidden { display: none !important; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex !important; }
  .lg\:block { display: block !important; }
  .lg\:hidden { display: none !important; }
}

@media (min-width: 1280px) {
  .xl\:inline-flex { display: inline-flex !important; }
  .xl\:flex { display: flex !important; }
  .xl\:hidden { display: none !important; }
}

/* Mobile Screens (< 640px) Layout Tuning */
@media (max-width: 639px) {
  /* Prevent horizontal overflow on phones */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  /* Compact section padding to avoid massive vertical gaps */
  .band {
    padding-block: 3.25rem !important;
  }

  /* Responsive 3D sports gallery cylinder */
  .rolling-gallery-cylinder {
    width: 180px !important;
    height: 240px !important;
  }

  /* Touch scrolling for wide comparison tables */
  .overflow-x-auto {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
}

/* Mobile Navigation Drawer Enhancements */
#mn-mobile-nav {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background-color: rgba(6, 6, 9, 0.96);
}

/* Grid Column Utilities */
.grid-cols-2 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (min-width: 1024px) {
  .lg\:grid-cols-4 {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* ========================================================
   Floating WhatsApp Live Support Widget
   ======================================================== */
.iptv-whatsapp-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99999;
  display: flex;
  align-items: center;
  pointer-events: auto;
}

.iptv-whatsapp-link {
  position: relative;
  display: flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
  color: #ffffff !important;
  box-shadow: 0 8px 24px -4px rgba(37, 211, 102, 0.5), 0 0 16px rgba(37, 211, 102, 0.25);
  text-decoration: none !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  user-select: none;
}

.iptv-whatsapp-link:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 14px 32px -4px rgba(37, 211, 102, 0.65), 0 0 25px rgba(37, 211, 102, 0.4);
}

.iptv-wa-icon {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.iptv-whatsapp-link:hover .iptv-wa-icon {
  transform: scale(1.08);
}

/* Pulsing Outer Ripple */
@keyframes iptvWaPing {
  0% {
    transform: scale(0.95);
    opacity: 0.75;
  }
  75% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.iptv-wa-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  background: rgba(37, 211, 102, 0.4);
  animation: iptvWaPing 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
  z-index: -1;
  pointer-events: none;
}

/* Notification Badge */
@keyframes iptvWaBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.iptv-wa-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  border: 2px solid #ffffff;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  animation: iptvWaBounce 2.5s ease-in-out infinite;
  pointer-events: none;
}

/* Desktop Hover Tooltip */
.iptv-wa-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #0c1120;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65), 0 0 12px rgba(37, 211, 102, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.iptv-wa-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: #0c1120;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.iptv-whatsapp-link:hover .iptv-wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.iptv-wa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (min-width: 640px) {
  .iptv-wa-tooltip {
    display: flex;
  }
}

@media (max-width: 639px) {
  .iptv-whatsapp-wrap {
    bottom: 20px !important;
    right: 20px !important;
  }
  .iptv-whatsapp-link {
    width: 52px !important;
    height: 52px !important;
  }
  .iptv-wa-icon {
    width: 28px !important;
    height: 28px !important;
  }
  .iptv-wa-badge {
    min-width: 20px !important;
    height: 20px !important;
    font-size: 10px !important;
    top: -2px !important;
    right: -2px !important;
  }
}



