/*
Theme Name: KenoIPTV
Theme URI: https://kenoiptv.shop
Author: KenoIPTV
Description: Dark cinematic IPTV sales theme with WooCommerce support. Landing page with hero, features, WooCommerce-powered pricing, devices, reviews, FAQ and WhatsApp button.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kenoiptv
Tags: dark, e-commerce, one-page
*/

:root {
  --bg: #08080C;
  --bg-2: #0B0B11;
  --card: #0E0E15;
  --card-hi: #15151F;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #EDEDF2;
  --text-2: #A8A8B8;
  --text-3: #8A8A99;
  --accent: #E5343E;
  --accent-glow: rgba(229, 52, 62, 0.3);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Sora', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.1; }

.wrap { max-width: 1400px; margin: 0 auto; padding: 0 6vw; }

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 6vw;
  background: rgba(8, 8, 12, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff;
}
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.brand-name span { color: var(--accent); }
.site-nav .menu { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: #9C9CAB; }
.site-nav .menu a { color: inherit; text-decoration: none; }
.site-nav .menu a:hover { color: var(--text); }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 15px 30px; border-radius: 12px; border: 0; cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 40px var(--accent-glow); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-2); background: transparent; font-weight: 600; }
.btn-sm { padding: 11px 22px; font-size: 14px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
  padding: 90px 6vw 80px; max-width: 1400px; margin: 0 auto;
}
.hero-glow {
  position: absolute; top: -200px; right: -150px; width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none; animation: pulseGlow 6s ease-in-out infinite;
}
@keyframes pulseGlow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes floatUp { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-copy { position: relative; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 16px;
  font-size: 13px; color: #C9C9D4; margin-bottom: 26px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; }
.hero h1 { font-size: clamp(42px, 4.6vw, 68px); margin: 0 0 22px; font-weight: 700; }
.hero h1 span { color: var(--accent); }
.hero p.lead { font-size: 18px; color: var(--text-2); margin: 0 0 36px; max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; }
.hero-stats .num { font-family: var(--font-display); font-size: 28px; font-weight: 700; }
.hero-stats .lbl { font-size: 13px; color: var(--text-3); }
.tv-mock { position: relative; animation: floatUp 7s ease-in-out infinite; }
.tv-frame {
  border-radius: 18px; border: 1px solid rgba(255,255,255,0.12);
  background: var(--card); padding: 14px; box-shadow: 0 40px 90px rgba(0,0,0,0.6);
}
.tv-screen {
  border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; position: relative;
  background: #14141D; display: grid; place-items: center;
}
.tv-screen img { width: 100%; height: 100%; object-fit: cover; }
.live-badge {
  position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px; letter-spacing: .06em;
}
.tv-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.tv-tiles div {
  border-radius: 8px; background: #14141D; border: 1px solid rgba(255,255,255,0.07);
  padding: 10px 8px; text-align: center; font-size: 11px; color: #9C9CAB; font-weight: 600;
}

/* Hero channel animation (no image set) */
@keyframes chanCycle { 0%, 30% { opacity: 1; } 33.33%, 96.66% { opacity: 0; } 100% { opacity: 1; } }
@keyframes ballRoll { 0% { transform: translateX(-140px); } 50% { transform: translateX(140px); } 100% { transform: translateX(-140px); } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes zoomSlow { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.chan { position: absolute; inset: 0; overflow: hidden; animation: chanCycle 12s infinite; }
.chan-cup { background: linear-gradient(160deg, #0B4D2B 0%, #0E6B3A 55%, #0B4D2B 100%); }
.chan-sport { background: linear-gradient(180deg, #101A33 0%, #0A0F1F 100%); animation-delay: -4s; }
.chan-cinema { background: radial-gradient(120% 120% at 30% 20%, #2A1030 0%, #12060F 60%, #050308 100%); animation-delay: -8s; }
.pitch-stripes { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 40px, transparent 40px 80px); }
.pitch-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,0.35); }
.pitch-circle { position: absolute; left: 50%; top: 50%; width: 90px; height: 90px; margin: -45px 0 0 -45px; border: 2px solid rgba(255,255,255,0.35); border-radius: 50%; }
.ball { position: absolute; left: 50%; top: 62%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,0.4); animation: ballRoll 4s ease-in-out infinite; }
.scorebar { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; background: rgba(0,0,0,0.65); border-radius: 8px; padding: 7px 14px; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: #fff; }
.scorebar b { color: #FFD34D; } .scorebar i { color: #3DDC84; font-style: normal; font-size: 11px; }
.chan-label { position: absolute; bottom: 12px; left: 12px; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #fff; letter-spacing: .08em; }
.cinema-glow { position: absolute; inset: 0; animation: zoomSlow 8s ease-in-out infinite; background: radial-gradient(60% 50% at 70% 60%, rgba(229,52,62,0.35) 0%, transparent 70%); }
.bar { position: absolute; left: 0; right: 0; height: 11%; background: #000; } .bar-top { top: 0; } .bar-bottom { bottom: 0; }
.cinema-title { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; }
.cinema-title div { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: .24em; color: #fff; }
.cinema-title small { display: block; font-size: 11px; letter-spacing: .5em; color: #C9A24D; margin-top: 6px; }
.sport-title { position: absolute; left: 0; right: 0; top: 42%; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #fff; letter-spacing: .1em; }
.sport-title span { color: #FFD34D; }
.ticker { position: absolute; bottom: 14px; left: 0; right: 0; overflow: hidden; white-space: nowrap; }
.ticker div { display: inline-block; animation: marquee 14s linear infinite; font-size: 11px; font-weight: 600; color: #8FA3D9; letter-spacing: .1em; }
.live-badge { z-index: 2; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #fff; margin-right: 5px; animation: blink 1.2s infinite; }

/* Strip */
.strip {
  border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 22px 6vw; display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
  font-size: 13px; color: #6E6E80; font-weight: 600; letter-spacing: .08em;
}

/* Sections */
.section { padding: 100px 6vw; }
.section-alt { background: var(--bg-2); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.kicker { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .14em; margin-bottom: 14px; }
.section h2 { font-size: clamp(30px, 3.2vw, 44px); margin: 0 0 14px; }
.section .sub { color: var(--text-2); font-size: 16px; margin: 0; }
.center { text-align: center; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px;
  transition: border-color .2s;
}
.card:hover { border-color: rgba(255,255,255,0.2); }
.card .num { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.card h3 { font-size: 17px; margin: 0 0 10px; font-family: var(--font-body); font-weight: 700; }
.card p { font-size: 14px; color: #9C9CAB; margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.step { text-align: center; padding: 0 16px; }
.step .ball {
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 22px;
  margin: 0 auto 20px; box-shadow: 0 6px 30px var(--accent-glow);
}

/* Pricing (WooCommerce products) */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; margin-top: 56px; }
.plan {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 32px 26px; display: flex; flex-direction: column;
}
.plan.featured { background: var(--card-hi); border-color: var(--accent); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.plan-name { font-weight: 700; font-size: 16px; color: #C9C9D4; }
.plan-price { font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -0.03em; margin: 18px 0 4px; }
.plan-price del { font-size: 20px; color: var(--text-3); font-weight: 400; margin-right: 8px; }
.plan-price ins { text-decoration: none; }
.plan-per { font-size: 13px; color: var(--text-3); margin-bottom: 22px; }
.plan-feats { display: flex; flex-direction: column; gap: 11px; font-size: 13.5px; color: #B8B8C6; margin-bottom: 28px; }
.plan .btn { margin-top: auto; text-align: center; }
.plan:not(.featured) .btn { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.2); box-shadow: none; }
.plans-note { text-align: center; color: #6E6E80; font-size: 13px; margin-top: 28px; }

/* Devices */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1400px; margin: 0 auto; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 18px; font-size: 13px; font-weight: 600; color: #C9C9D4; }
.apps-kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: #6E6E80; margin: 26px 0 12px; }
.chips-apps span { border-color: var(--accent-glow); background: rgba(229,52,62,0.06); color: var(--text); }

/* Devices animation (no image set) */
.devices-anim { position: relative; background: radial-gradient(90% 90% at 50% 10%, #131320 0%, #0B0B11 70%); }
.dev { position: absolute; background: #06060A; box-shadow: 0 20px 50px rgba(0,0,0,0.55); }
.dev-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 5px; }
.dev .app { position: absolute; inset: 0; display: grid; place-items: center; animation: chanCycle 12s infinite; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 15px; letter-spacing: .04em; text-align: center; }
.dev .app-1 { background: linear-gradient(140deg, #14233F, #0E3B63); }
.dev .app-2 { background: linear-gradient(140deg, #3A1430, #6B1E3A); animation-delay: -4s; }
.dev .app-3 { background: linear-gradient(140deg, #123A2C, #1E6B4A); animation-delay: -8s; }
.dev-tv { left: 8%; top: 12%; width: 62%; aspect-ratio: 16/10; border: 3px solid #1E1E2A; border-radius: 10px; padding: 6px; }
.dev-stand { position: absolute; left: 30%; top: 76%; width: 18%; height: 3px; background: #1E1E2A; border-radius: 2px; }
.dev-tablet { right: 10%; top: 34%; width: 26%; aspect-ratio: 3/4; border: 3px solid #22222f; border-radius: 12px; padding: 5px; animation: floatUp 6s ease-in-out infinite; }
.dev-tablet .app { font-size: 11px; }
.dev-phone { right: 30%; top: 58%; width: 13%; aspect-ratio: 9/18; border: 3px solid #262635; border-radius: 14px; padding: 4px; animation: floatUp 7s ease-in-out infinite; animation-delay: -2s; z-index: 2; }
.play { width: 0; height: 0; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }

.media-ph {
  border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--line);
  background: #12121A; display: grid; place-items: center;
}
.media-ph img { width: 100%; height: 100%; object-fit: cover; }

/* Reviews */
.review .stars { color: var(--accent); letter-spacing: 3px; font-size: 15px; margin-bottom: 16px; }
.review blockquote { font-size: 14.5px; color: #C9C9D4; margin: 0 0 20px; }
.review .who { font-weight: 700; font-size: 14px; }
.review .where { font-size: 12.5px; color: var(--text-3); }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-list details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; list-style: none;
  padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 15px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--accent); font-size: 20px; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list .answer { padding: 0 24px 20px; font-size: 14px; color: #9C9CAB; }

/* Blog */
.blog-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.post-card { text-decoration: none; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-thumb { aspect-ratio: 16/9; background: #14141D; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-body { padding: 24px; }
.post-cat { font-size: 12px; color: var(--accent); font-weight: 700; letter-spacing: .08em; margin-bottom: 10px; }
.post-card h3 { font-size: 16.5px; line-height: 1.4; margin: 0 0 10px; font-family: var(--font-body); font-weight: 700; color: var(--text); }
.post-date { font-size: 13px; color: var(--text-3); }
.pagination { margin-top: 48px; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 8px; }
.pagination .page-numbers {
  display: inline-block; min-width: 40px; padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--line-2); color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600;
}
.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Single article */
.article-page { max-width: 820px; margin: 0 auto; padding: 70px 6vw 100px; }
.article-head .post-cat { margin-bottom: 14px; }
.article-head h1 { font-size: clamp(32px, 3.6vw, 48px); margin: 0 0 16px; }
.article-head .post-date { margin-bottom: 36px; }
.article-hero { border-radius: 16px; overflow: hidden; margin: 36px 0; }
.article-hero img { display: block; width: 100%; height: auto; }
.article-content { font-size: 16.5px; line-height: 1.8; color: #C9C9D4; }
.article-content h2, .article-content h3 { color: var(--text); margin-top: 44px; }
.article-content a { color: var(--accent); }
.article-content img { border-radius: 12px; }
.article-content blockquote { border-left: 3px solid var(--accent); margin: 28px 0; padding: 4px 0 4px 22px; color: var(--text-2); }
.article-cta {
  margin: 60px 0; padding: 40px; text-align: center;
  background: var(--card-hi); border: 1px solid var(--accent); border-radius: 18px;
}
.article-cta h3 { font-family: var(--font-display); font-size: 26px; margin: 0 0 8px; }
.article-cta p { color: var(--text-2); margin: 0 0 24px; }
.related h3 { font-family: var(--font-display); font-size: 24px; margin: 0 0 28px; }

/* CTA */
.cta { position: relative; overflow: hidden; text-align: center; padding: 110px 6vw; }
.cta-glow {
  position: absolute; bottom: -300px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%); pointer-events: none;
}
.cta h2 { position: relative; font-size: clamp(34px, 4vw, 56px); margin: 0 0 18px; }
.cta p { position: relative; color: var(--text-2); font-size: 17px; margin: 0 0 36px; }
.cta .hero-ctas { position: relative; justify-content: center; }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06); padding: 36px 6vw;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  color: #6E6E80; font-size: 13px;
}
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: inherit; text-decoration: none; }

/* WhatsApp */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; text-decoration: none;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4); color: #fff; font-size: 12px; font-weight: 700;
}

/* Generic content pages + Woo */
.page-content { max-width: 900px; margin: 0 auto; padding: 70px 6vw; }
.woocommerce .wrap { padding-top: 60px; padding-bottom: 80px; }
.woocommerce ul.products li.product { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; text-align: center; list-style: none; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 0; margin: 40px 0; }
.woocommerce ul.products li.product .price { color: var(--text); font-family: var(--font-display); font-size: 26px; font-weight: 700; display: block; margin: 10px 0; }
.woocommerce ul.products li.product .button,
.woocommerce a.button, .woocommerce button.button {
  background: var(--accent); color: #fff; border-radius: 10px; padding: 12px 22px; font-weight: 700; border: 0;
}
.woocommerce ul.products li.product h2 { font-size: 16px; font-family: var(--font-body); }

/* Responsive */
@media (max-width: 1024px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .site-nav .menu { display: none; }
}
@media (max-width: 560px) {
  .plans, .grid-3, .woocommerce ul.products { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}
