/*
Theme Name: Best IPTV UK
Theme URI: https://bestiptvukv.it.com/
Author: Best IPTV UK
Description: 1:1 Exact Clone Theme matching iiptvuk layout, exact color scheme, fonts, badges, pricing grids, and WhatsApp routing.
Version: 3.0.0
Text Domain: best-iptv-uk
*/

:root {
  --bg-dark: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.97);
  --bg-card: #ffffff;
  --bg-card-alt: #f8fafc;
  --bg-section-alt: #f5f7fa;
  --primary-red: #b00020;
  --primary-red-hover: #8f001a;
  --accent-gold: #ffffff;
  --accent-green: #20c997;
  --text-white: #0b1f3a;
  --text-muted: #94a3b8;
  --border-color: rgba(11, 31, 58, 0.12);
  --border-red: rgba(176, 0, 32, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TOP ANNOUNCEMENT BAR */
.top-bar {
  background: linear-gradient(90deg, #b00020 0%, #d4002a 100%);
  color: #fff;
  text-align: center;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--bg-header);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #0b1f3a;
  text-transform: uppercase;
}

.logo span {
  color: var(--primary-red);
}

.nav-menu {
  display: flex;
  gap: 25px;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  color: var(--text-white);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: var(--primary-red);
}

.btn-nav-trial {
  background: var(--primary-red);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 15px rgba(176, 0, 32, 0.3);
}

.btn-nav-trial:hover {
  background: var(--primary-red-hover);
  transform: translateY(-1px);
}

/* HERO SECTION */
.hero {
  padding: 90px 0 70px;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(176, 0, 32, 0.12) 0%, transparent 70%);
}

.hero-badge {
  display: inline-block;
  background: rgba(176, 0, 32, 0.12);
  border: 1px solid var(--border-red);
  color: var(--primary-red);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 auto 20px;
  max-width: 900px;
}

.hero h1 span {
  color: var(--primary-red);
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 35px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-orange {
  background: var(--primary-red);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 35px;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(176, 0, 32, 0.4);
  transition: all 0.2s;
  display: inline-block;
}

.btn-orange:hover {
  background: var(--primary-red-hover);
  transform: translateY(-2px);
}

.btn-dark {
  background: #0b1f3a;
  border: 1px solid #0b1f3a;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 15px 35px;
  border-radius: 6px;
  transition: all 0.2s;
  display: inline-block;
}

.btn-dark:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

/* FEATURE HIGHLIGHTS BAR */
.highlights-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.hl-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.hl-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.hl-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.hl-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* SECTION TITLES */
.sec-title-area {
  text-align: center;
  margin-bottom: 50px;
}

.sec-subtitle {
  color: var(--primary-red);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.sec-title {
  font-size: 36px;
  font-weight: 800;
}

/* PRICING SECTION */
.pricing-section {
  padding: 80px 0;
  background: var(--bg-section-alt);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 35px 25px;
  position: relative;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-red);
}

.price-card.best-seller {
  border: 2px solid var(--primary-red);
  background: var(--bg-card-alt);
}

.badge-pop {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
}

.plan-duration {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.plan-amount {
  font-size: 42px;
  font-weight: 900;
  color: var(--primary-red);
  margin-bottom: 20px;
}

.plan-amount span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}

.plan-list {
  list-style: none;
  text-align: left;
  margin-bottom: 30px;
}

.plan-list li {
  font-size: 14px;
  color: #334155;
  padding: 10px 0;
  border-bottom: 1px solid rgba(11, 31, 58, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-list li::before {
  content: "✓";
  color: var(--accent-green);
  font-weight: bold;
}

.btn-buy {
  background: var(--primary-red);
  color: #fff;
  font-weight: 700;
  padding: 13px;
  border-radius: 6px;
  display: block;
  font-size: 15px;
  transition: background 0.2s;
}

.btn-buy:hover {
  background: var(--primary-red-hover);
}

/* CHANNELS SECTION */
.channels-section {
  padding: 80px 0;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ch-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
}

.ch-box h3 {
  font-size: 18px;
  color: var(--primary-red);
  margin-bottom: 8px;
}

.ch-box p {
  font-size: 14px;
  color: var(--text-muted);
}

/* FEATURES SECTION */
.features-section {
  padding: 80px 0;
  background: var(--bg-section-alt);
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 10px;
}

.feat-icon {
  font-size: 32px;
  color: var(--primary-red);
  margin-bottom: 15px;
}

.feat-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feat-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ SECTION */
.faq-section {
  padding: 80px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-title {
  padding: 20px 25px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  color: var(--text-muted);
  font-size: 14px;
  transition: all 0.3s ease;
}

.faq-item.active .faq-content {
  max-height: 180px;
  padding-bottom: 20px;
}

.faq-item.active .faq-title {
  color: var(--primary-red);
}

/* FOOTER */
footer {
  background: #0b1f3a;
  padding: 60px 0 25px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 15px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-col ul a:hover {
  color: var(--primary-red);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 13px;
}

/* WHATSAPP FLOAT */
.wa-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 99999;
}

@media (max-width: 992px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights-bar { grid-template-columns: repeat(2, 1fr); }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
}

@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .highlights-bar { grid-template-columns: 1fr; }
  .channel-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .hero h1 { font-size: 30px; }
}

/* White / Navy / Blood Red palette */
body { background: #fff; color: #0b1f3a; }
.hero, .channels-section, .faq-section { background: #fff; }
.hero h1, .sec-title, .plan-duration, .hl-title, .feat-card h3, .faq-title { color: #0b1f3a; }
.pricing-section, .features-section { background: #f5f7fa; }
.hl-card, .price-card, .ch-box, .feat-card, .faq-item { background: #fff; border-color: rgba(11,31,58,.12); }
footer .logo, footer .footer-col h4 { color: #fff; }


/* SVG replacements for theme emoji icons */
.theme-emoji-svg {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    vertical-align: -0.18em;
    flex: 0 0 auto;
}



/* Dynamic Hero Heading */
#best-iptv-dynamic-heading {
    display: inline-block;
    transition: opacity .25s ease, transform .25s ease;
}
#best-iptv-dynamic-heading.best-iptv-heading-changing {
    opacity: 0;
    transform: translateY(5px);
}

