/* IPTV Germany — Custom Styles */

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  background: #ef4444;
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ef4444; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #f87171; }

/* ── Smooth scroll ── */
html { scroll-behavior: smooth; }

/* ── Glassmorphism ── */
.glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
}
.glass-light {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,0.08);
}

/* ── Gradient text ── */
.gradient-text {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-blue {
  background: linear-gradient(135deg, #f87171, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hero gradient ── */
.hero-gradient {
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(239,68,68,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 80% 50%, rgba(220,38,38,0.10) 0%, transparent 60%);
}

/* ── Neon glow ── */
.neon-blue { box-shadow: 0 0 20px rgba(239,68,68,0.4), 0 0 60px rgba(239,68,68,0.15); }
.neon-blue:hover { box-shadow: 0 0 30px rgba(239,68,68,0.6), 0 0 80px rgba(239,68,68,0.25); }

/* ── Card hover lift ── */
.card-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* ── Gradient border ── */
.gradient-border {
  position: relative;
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ── Featured plan glow ── */
.plan-featured {
  box-shadow: 0 0 0 1px rgba(239,68,68,0.5), 0 20px 60px rgba(239,68,68,0.2);
}

/* ── Prose for blog content ── */
.prose-custom h2 { color: #f1f5f9; font-size: 1.5rem; font-weight: 700; margin-top: 2rem; margin-bottom: 1rem; }
.prose-custom h3 { color: #e2e8f0; font-size: 1.25rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.75rem; }
.prose-custom p { color: #94a3b8; line-height: 1.8; margin-bottom: 1rem; }
.prose-custom a { color: #f87171; text-decoration: underline; }
.prose-custom a:hover { color: #fca5a5; }
.prose-custom ul, .prose-custom ol { color: #94a3b8; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose-custom li { margin-bottom: 0.5rem; }
.prose-custom blockquote { border-left: 4px solid #ef4444; padding-left: 1rem; margin: 1.5rem 0; color: #64748b; font-style: italic; }
.prose-custom code { background: rgba(239,68,68,0.15); color: #fca5a5; padding: 0.2em 0.5em; border-radius: 4px; font-size: 0.875em; }
.prose-custom pre { background: #0f1117; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 1rem; overflow-x: auto; }
.prose-custom img { border-radius: 12px; margin: 1.5rem auto; }
.prose-custom strong { color: #e2e8f0; font-weight: 700; }

/* Light mode prose */
.light .prose-custom h2, .light .prose-custom h3 { color: #1e293b; }
.light .prose-custom p, .light .prose-custom ul, .light .prose-custom ol, .light .prose-custom li { color: #475569; }
.light .prose-custom code { background: rgba(239,68,68,0.1); color: #dc2626; }
.light .prose-custom pre { background: #f8fafc; border-color: #e2e8f0; }
.light .prose-custom strong { color: #1e293b; }

/* ── FAQ accordion ── */
.faq-item details[open] summary { color: #f87171; }
.faq-item details summary::marker { display: none; }
.faq-item details summary::-webkit-details-marker { display: none; }
.faq-item details summary { list-style: none; cursor: pointer; }

/* ── Star rating ── */
.stars { color: #f59e0b; letter-spacing: -1px; }

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.badge-blue { background: rgba(239,68,68,0.15); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.badge-green { background: rgba(34,197,94,0.15); color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }
.badge-purple { background: rgba(239,68,68,0.15); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.badge-orange { background: rgba(249,115,22,0.15); color: #fb923c; border: 1px solid rgba(249,115,22,0.3); }

/* ── Pulse dot ── */
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  position: relative;
  display: inline-block;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22c55e;
  animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite;
}
@keyframes ping {
  75%, 100% { transform: scale(2.2); opacity: 0; }
}

/* ── Animated gradient border on focus ── */
input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(239,68,68,0.4);
}

/* ── Country flag badges ── */
.flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
}

/* ── Section gradient separators ── */
.section-sep {
  background: linear-gradient(to bottom, transparent, rgba(239,68,68,0.05) 50%, transparent);
}

/* ── Animated number counter ── */
.stat-number {
  font-variant-numeric: tabular-nums;
}

/* ── Loading skeleton ── */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Channel category pill ── */
.cat-pill {
  cursor: pointer;
  transition: all 0.2s ease;
}
.cat-pill.active {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}

/* ── Responsive video ── */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.6s ease both; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float { animation: floatY 4s ease-in-out infinite; }

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer-text {
  background: linear-gradient(90deg, #ef4444 0%, #dc2626 50%, #ef4444 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* ── Hero floating cards ── */
@keyframes heroFloat1 {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-14px) rotate(0.5deg); }
}
@keyframes heroFloat2 {
  0%, 100% { transform: translateY(-8px) rotate(1deg); }
  50%       { transform: translateY(8px) rotate(-0.5deg); }
}
@keyframes heroFloat3 {
  0%, 100% { transform: translateY(0px) rotate(0.5deg); }
  33%       { transform: translateY(-10px) rotate(-1deg); }
  66%       { transform: translateY(5px) rotate(0deg); }
}
.hero-float-1 { animation: heroFloat1 6s ease-in-out infinite; }
.hero-float-2 { animation: heroFloat2 7.5s ease-in-out infinite; }
.hero-float-3 { animation: heroFloat3 5s ease-in-out infinite; }

/* ── Hero background orbs ── */
@keyframes orbPulse1 {
  0%, 100% { transform: scale(1) translateY(0); opacity: 0.8; }
  50%       { transform: scale(1.15) translateY(-30px); opacity: 1; }
}
@keyframes orbPulse2 {
  0%, 100% { transform: scale(1.1) translateY(0); opacity: 0.6; }
  50%       { transform: scale(0.9) translateY(20px); opacity: 0.9; }
}
.hero-orb-1 { animation: orbPulse1 10s ease-in-out infinite; }
.hero-orb-2 { animation: orbPulse2 13s ease-in-out infinite; }

/* ── Hero 4K progress bar ── */
@keyframes barFill {
  from { width: 0%; }
  to   { width: 92%; }
}
.hero-bar-anim { animation: barFill 2.5s ease-out 0.8s both; }

/* ── Hero category pills entrance ── */
@keyframes pillIn {
  from { opacity: 0; transform: translateY(12px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-pill {
  animation: pillIn 0.5s ease both;
  transition: border-color 0.2s, background-color 0.2s;
}
.hero-pill:hover {
  border-color: rgba(239,68,68,0.4);
  background-color: rgba(239,68,68,0.08);
  color: #fca5a5;
}
