/* IPTV Polska Theme — main styles */

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

:root {
  --color-bg: #000000;
  --color-bg-dark: #0a0a0a;
  --color-bg-card: #111111;
  --color-bg-card-hover: #1a1a1a;
  --color-red: #DC143C;
  --color-red-dark: #b01030;
  --color-red-light: #ff1a4a;
  --color-white: #ffffff;
  --color-gray: #cccccc;
  --color-gray-dark: #888888;
  --color-border: #222222;
  --font-main: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-red);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-red-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-gray);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }

.section-alt {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg) 100%);
}

.text-center { text-align: center; }
.text-red { color: var(--color-red); }
.text-white { color: var(--color-white); }

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-red-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-red);
}

.btn-outline:hover {
  background: var(--color-red);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }
.btn-lg { padding: 1.1rem 2.8rem; font-size: 1.1rem; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--color-red);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(220, 20, 60, 0.15);
}

.badge {
  display: inline-block;
  background: var(--color-red);
  color: var(--color-white);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  padding: 0.8rem 0;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.navbar.navbar-scrolled {
  background: rgba(0, 0, 0, 0.96);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

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

.nav-logo,
.custom-logo-link {
  font-size: 1.6rem;
  font-weight: 800;
  text-decoration: none;
}

.logo-iptv,
.logo-brand-polska { color: var(--color-white); }
.logo-polska,
.logo-brand-telewizja { color: var(--color-red); }

.logo-brand-polska,
.logo-brand-telewizja {
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.8rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--color-gray);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links .current-menu-item > a::after,
.nav-links .current_page_item > a::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a {
  color: var(--color-white);
}

.nav-cta {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
}

main {
  margin-top: 70px;
}

/* Hero */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  overflow: hidden;
  background: linear-gradient(135deg, #000 0%, #1a0008 45%, #0a0a0a 100%);
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 50%, rgba(220, 20, 60, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 30%, rgba(220, 20, 60, 0.06) 0%, transparent 55%);
  pointer-events: none;
}

.iptv-accent {
  background: linear-gradient(135deg, #ff1a4a, #DC143C, #ff6b8a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.hero-stats .iptv-stat-card {
  background: rgba(17, 17, 17, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.hero-stats .iptv-stat-card:hover {
  border-color: rgba(220, 20, 60, 0.35);
  box-shadow: 0 8px 32px rgba(220, 20, 60, 0.12);
}

.hero-stats .iptv-stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-red);
  line-height: 1.1;
}

.hero-stats .iptv-stat-lbl {
  display: block;
  font-size: 0.82rem;
  color: var(--color-gray-dark);
  margin-top: 0.2rem;
}

.hero-bg-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 20, 60, 0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
  100% { transform: scale(1.15) translate(-20px, 10px); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  margin: 1.5rem 0 0.5rem;
  font-size: 3.2rem;
  line-height: 1.1;
}

.hero-tagline {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-gray);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.hero h1 + .hero-subtitle,
.hero-tagline + .hero-subtitle {
  margin-top: 0;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-gray);
  margin-bottom: 2rem;
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-buttons-center {
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-red);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-gray-dark);
}

.section-desc {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

.card-icon,
.device-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.devices-section {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.devices-grid {
  align-items: stretch;
}

.device-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.25rem 1.5rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

.device-card:hover {
  border-color: rgba(220, 20, 60, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(220, 20, 60, 0.15);
}

.device-card .device-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.2) 0%, rgba(220, 20, 60, 0.08) 100%);
  border: 1px solid rgba(220, 20, 60, 0.25);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(220, 20, 60, 0.12);
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.device-card:hover .device-icon {
  transform: scale(1.06);
  box-shadow: 0 12px 32px rgba(220, 20, 60, 0.22);
}

.device-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.device-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 220px;
  margin: 0 auto;
  color: var(--color-gray);
}

/* Legal pages */
.iptv-legal-page,
.iptv-legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.iptv-legal-page h1 {
  margin-bottom: 0.5rem;
}

.iptv-legal-updated {
  color: var(--color-gray-dark);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.iptv-legal-body h2 {
  font-size: 1.15rem;
  color: var(--color-white);
  margin: 2rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.iptv-legal-body h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.iptv-legal-body p,
.iptv-legal-body li {
  color: var(--color-gray);
  line-height: 1.75;
  font-size: 0.95rem;
}

.iptv-legal-body ul,
.iptv-legal-body ol {
  margin: 0.75rem 0 1rem 1.25rem;
}

.iptv-legal-body a {
  color: var(--color-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Pricing */
.pricing-card {
  text-align: center;
  position: relative;
}

.pricing-popular {
  border-color: var(--color-red);
  box-shadow: 0 0 30px rgba(220, 20, 60, 0.2);
}

.pricing-popular .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}

.price-duration {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-red);
  margin: 1rem 0 0.5rem;
}

.price {
  margin: 0.5rem 0 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
}

.price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-white);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-features li {
  padding: 0.35rem 0;
  color: var(--color-gray);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.82rem;
  line-height: 1.4;
}

/* Main features */
.main-features-section {
  background: linear-gradient(180deg, #000, #0d0003, #000);
}

.main-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.main-feature-card {
  display: flex;
  gap: 1.2rem;
  padding: 2rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.main-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-red);
  opacity: 0;
  transition: opacity var(--transition);
}

.main-feature-card:hover {
  border-color: var(--color-red);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(220, 20, 60, 0.12);
}

.main-feature-card:hover::before {
  opacity: 1;
}

.main-feature-icon {
  font-size: 2.4rem;
  min-width: 50px;
  padding-top: 0.2rem;
}

.main-feature-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.main-feature-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* CTA main */
.cta-main-section {
  background: linear-gradient(135deg, #0a0a0a, #1a0008 40%, #0d0003);
  position: relative;
  overflow: hidden;
}

.cta-main-section::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 20, 60, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-main-wrapper {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  align-items: center;
}

.cta-main-content .badge {
  margin-bottom: 1.5rem;
}

.cta-main-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.cta-main-content > p {
  font-size: 1.05rem;
  color: var(--color-gray);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.cta-benefits {
  list-style: none;
  margin-bottom: 2rem;
}

.cta-benefits li {
  padding: 0.6rem 0;
  color: var(--color-gray);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-main-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-main-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.cta-stat-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.8rem 1.2rem;
  text-align: center;
  transition: all var(--transition);
}

.cta-stat-card:hover {
  border-color: var(--color-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(220, 20, 60, 0.1);
}

.cta-stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-red);
  margin-bottom: 0.3rem;
}

.cta-stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-gray);
}

/* Key features */
.feature-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 12px;
  transition: all var(--transition);
}

.feature-item:hover {
  background: var(--color-bg-card);
}

.feature-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-red);
  opacity: 0.5;
  min-width: 50px;
}

/* Blog */
.blog-home-section {
  background: linear-gradient(180deg, #0a0a0a, #0d0003, #0a0a0a);
}

.blog-home-card {
  text-decoration: none;
  color: inherit;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-home-card:hover {
  color: inherit;
}

.blog-home-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform var(--transition);
}

.blog-home-img-placeholder {
  background: linear-gradient(135deg, #1a0008, #DC143C);
}

.blog-home-card:hover .blog-home-img {
  transform: scale(1.05);
}

.blog-home-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-home-tag {
  display: inline-block;
  background: rgba(220, 20, 60, 0.15);
  color: var(--color-red);
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  width: fit-content;
}

.blog-home-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.blog-home-body p {
  font-size: 0.9rem;
  flex-grow: 1;
}

.blog-home-read {
  color: var(--color-red);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.8rem;
  transition: color var(--transition);
}

.blog-home-card:hover .blog-home-read {
  color: var(--color-red-light);
}

.blog-home-more {
  margin-top: 2.5rem;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-question {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-bg-card);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--color-red);
  transition: transform var(--transition);
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-question:hover {
  background: var(--color-bg-card-hover);
}

.faq-answer {
  padding: 1rem 1.5rem 1.5rem;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
}

.faq-answer p {
  margin-bottom: 0;
}

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, #0a0a0a, #1a0008, #0a0a0a);
}

/* Footer */
.footer {
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
}

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

.footer-desc {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.footer-col h3 {
  color: var(--color-white);
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a,
.footer-col p a {
  color: var(--color-gray-dark);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-col p {
  font-size: 0.9rem;
  color: var(--color-gray-dark);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--color-gray-dark);
}

.footer-bottom a {
  color: var(--color-gray-dark);
}

.footer-bottom a:hover {
  color: var(--color-red);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(17, 17, 17, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  padding: 1.2rem 1.5rem;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.cookie-banner.hidden {
  transform: translateY(110%);
  pointer-events: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.cookie-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.cookie-text p {
  color: var(--color-gray);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-text p:first-child {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.cookie-text a {
  color: var(--color-red);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--color-red);
  color: #fff;
}

.cookie-btn-accept:hover {
  background: #ff1744;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--color-gray);
  border: 1px solid var(--color-border);
}

.cookie-btn-reject:hover {
  color: var(--color-white);
  border-color: var(--color-gray);
}

/* Elementor */
.iptv-elementor-content .elementor-widget-html {
  width: 100%;
}

.iptv-elementor-content .elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 100%;
}

.elementor-editor-active .elementor-widget-html section {
  pointer-events: none;
}

/* Contact */
.contact-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.contact-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-gray);
  font-size: 0.95rem;
}

.contact-list li strong {
  color: var(--color-white);
  display: inline-block;
  min-width: 90px;
}

.contact-form-placeholder {
  padding: 2rem;
  border: 1px dashed var(--color-border);
  border-radius: 8px;
  text-align: center;
}

.text-gray {
  color: var(--color-gray-dark);
}

.iptv-page-content {
  padding: 2rem 0;
}

.iptv-page-content > .container,
.iptv-page-content .section,
.iptv-page-content .section-alt {
  margin-left: auto;
  margin-right: auto;
}

.page-header-section {
  min-height: 40vh;
}

.page-content h1,
.single-post h1 {
  margin-bottom: 1.5rem;
}

.entry-content {
  color: var(--color-gray);
  max-width: 800px;
}

.entry-content h2,
.entry-content h3 {
  color: var(--color-white);
  margin-top: 2rem;
}

.entry-content a {
  text-decoration: underline;
}

.entry-content ul,
.entry-content ol {
  margin: 1rem 0 1rem 1.5rem;
  color: var(--color-gray);
}

.single-post-thumb {
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
}

.single-post-thumb img {
  width: 100%;
}

.post-meta {
  font-size: 0.9rem;
  color: var(--color-gray-dark);
  margin-bottom: 2rem;
}

.pagination {
  margin-top: 3rem;
  text-align: center;
}

.pagination .nav-links {
  display: inline-flex;
  gap: 0.5rem;
  list-style: none;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-gray);
}

.pagination .current {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}

/* Responsive */
@media (max-width: 992px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .grid-3,
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .main-features-grid,
  .cta-main-wrapper { grid-template-columns: 1fr; }
  .cta-main-stats { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .section,
  .section-alt { padding: 3rem 0; }
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .hero { padding: 4rem 0 3rem; }
  .main-feature-card {
    flex-direction: column;
    gap: 0.8rem;
  }
  .cta-main-stats { grid-template-columns: 1fr 1fr; }
  .cta-main-content h2 { font-size: 1.6rem; }
  .nav-links,
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
  }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
}

/* Trust bar */
.trust-bar {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(90deg, rgba(220, 20, 60, 0.06) 0%, transparent 50%, rgba(220, 20, 60, 0.06) 100%);
}

.trust-bar-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-bar-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gray);
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0;
  background: rgba(220, 20, 60, 0.08);
  border: 1px solid rgba(220, 20, 60, 0.15);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  transition: all 0.3s ease;
}

.trust-bar-list li:hover {
  background: rgba(220, 20, 60, 0.14);
  border-color: rgba(220, 20, 60, 0.35);
  color: var(--color-white);
}

.trust-icon {
  font-size: 1.1rem;
}

/* Skip link */
.skip-link.screen-reader-text {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100000;
}

.skip-link.screen-reader-text:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 0.75rem 1.25rem;
  background: var(--color-red);
  color: var(--color-white);
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  clip: auto;
}

/* Breadcrumbs */
.iptv-breadcrumbs {
  margin-bottom: 1.5rem;
}

.iptv-breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.iptv-breadcrumbs-list li:not(:last-child)::after {
  content: "›";
  margin-left: 0.35rem;
  color: var(--color-gray-dark);
}

.iptv-breadcrumbs-list a {
  color: var(--color-gray);
}

.iptv-breadcrumbs-list a:hover {
  color: var(--color-red);
}

.iptv-breadcrumbs-list li:last-child {
  color: var(--color-white);
}

.post-meta-sep {
  margin: 0 0.4rem;
  color: var(--color-gray-dark);
}

/* Scroll reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section heading accent */
.section h2,
.text-center h2 {
  position: relative;
}

.section h2::after,
.page-header-section h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--color-red);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.page-header-section h1::after {
  margin-left: 0;
}

/* Focus states */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 3px;
}

.pricing-popular {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .trust-bar-list {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .pricing-popular {
    transform: none;
  }
}
