/*
Theme Name: 4K IPTV NOW Pro V9
Theme URI: https://4kiptv-it.com/
Author: Antigravity
Author URI: https://4kiptv-it.com/
Description: Calming, Ultra-Modern Streaming Theme with Blog, Soothing Slate, WhatsApp Green Conversion Buttons, Trust & E-E-A-T Signals, and Optimized Performance.
Version: 9.0.0
*/

:root {
  --primary-sky: #0EA5E9;
  --primary-sky-hover: #0284C7;
  --primary-blue: #2563EB;
  --wa-green: #25D366;
  --wa-green-dark: #128C7E;
  --accent-emerald: #10B981;
  --accent-emerald-dark: #059669;
  --bg-dark: #0B0F19;
  --bg-dark-card: #111827;
  --bg-dark-card-elevated: #162032;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --border-subtle: #1E293B;
  --border-card: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

body {
  overflow-x: hidden;
  line-height: 1.5;
  background-color: var(--bg-dark);
}

h1, h2, h3, .font-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* Subtle, Soothing Pulse */
@keyframes softPulse {
  0%, 100% { box-shadow: 0 0 15px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 0 30px rgba(37, 211, 102, 0.65); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-pulse-glow {
  animation: softPulse 2.5s infinite;
}

.animate-marquee {
  display: flex;
  width: 200%;
  animation: marquee 30s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

/* Iconic WhatsApp Green Action Buttons */
.whatsapp-btn, .primary-btn, .yellow-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 22px -4px rgba(37, 211, 102, 0.38);
}

.whatsapp-btn:hover, .primary-btn:hover, .yellow-btn:hover {
  background: linear-gradient(135deg, #2BF075 0%, #0E796D 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(37, 211, 102, 0.5);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF !important;
}

.whatsapp-btn:active, .primary-btn:active, .yellow-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px -2px rgba(37, 211, 102, 0.4);
}

/* Secondary Button */
.secondary-btn {
  background-color: rgba(255, 255, 255, 0.05);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Elegant Dark Cards */
.card-slate {
  background-color: var(--bg-dark-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  transition: all 0.25s ease;
}

.card-slate:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.4);
  border-color: rgba(14, 165, 233, 0.4);
}

/* Clean Accordion */
.accordion-item {
  border: 1px solid #E2E8F0;
  border-radius: 1rem;
  background: #FFFFFF;
  overflow: hidden;
  transition: all 0.25s ease;
}

.accordion-item:hover {
  border-color: #CBD5E1;
}

.accordion-item.active {
  border-color: rgba(14, 165, 233, 0.5);
  box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.06);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--primary-sky);
}