/*
Theme Name: Ax ipTV
Theme URI: https://iptv.gpu0.net
Author: Ax ipTV
Author URI: https://iptv.gpu0.net
Description: Ax ipTV müşteri paneli teması — koyu, oturaklı, siyah + altın-turuncu (uygulama Theme.kt paletiyle birebir). "Ax ipTV Panel" eklentisiyle birlikte çalışır.
Version: 0.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: axiptv-theme
*/

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; overflow-x:hidden; }
:root{
  --bg:#0A0E14; --bg2:#0D131B; --card:#12181F; --card2:#171F28; --line:#232D38;
  --text:#EDF1F5; --muted:#8A99A8; --dim:#5C6B7A;
  --accent:#F2B705; --accent-2:#FF8A00; --accent-soft:rgba(242,183,5,.12);
  --radius:14px; --maxw:1140px;
}
body{
  background:var(--bg); color:var(--text);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  line-height:1.55; -webkit-font-smoothing:antialiased;
}
a{ color:var(--accent); text-decoration:none; }
img{ max-width:100%; height:auto; }

/* Altın scroll çubuğu */
html{ scrollbar-color:var(--accent) var(--bg2); scrollbar-width:thin; }
::-webkit-scrollbar{ width:12px; height:12px; }
::-webkit-scrollbar-track{ background:var(--bg2); }
::-webkit-scrollbar-thumb{ background:var(--accent); border-radius:8px; border:3px solid var(--bg2); }
::-webkit-scrollbar-thumb:hover{ background:#ffcb1f; }

/* Kayan duyuru şeridi — sayfanın en üstü */
.ax-ticker{ display:flex; align-items:stretch; background:linear-gradient(90deg,rgba(242,183,5,.16),rgba(242,183,5,.04)); border-bottom:1px solid var(--line); font-size:14px; }
.ax-ticker-label{ flex-shrink:0; display:flex; align-items:center; padding:0 16px; background:var(--accent); color:#0A0E14; font-weight:700; font-size:13px; }
.ax-ticker-view{ flex:1; overflow:hidden; white-space:nowrap; }
.ax-ticker-track{ display:inline-block; animation:ax-scroll 60s linear infinite; will-change:transform; backface-visibility:hidden; }
.ax-ticker:hover .ax-ticker-track{ animation-play-state:paused; }
.ax-ticker-item{ display:inline-block; padding:9px 0; color:var(--text); }
.ax-ticker-item::before{ content:"•"; color:var(--accent); margin:0 26px; }
@keyframes ax-scroll{ from{ transform:translate3d(0,0,0); } to{ transform:translate3d(-50%,0,0); } }

/* Misafir ana sayfa: header gizli, full-screen hero */
.ax-guest-landing .ax-site-header{ display:none; }
.ax-guest-landing .ax-main{ padding-top:0; }
.ax-guest-landing .ax-hero{ min-height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.ax-guest-landing .ax-hero.has-video{ min-height:100vh; }

/* ---------- Header ---------- */
.ax-site-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 28px; border-bottom:1px solid var(--line);
  background:rgba(10,14,20,.72); position:sticky; top:0; z-index:20; backdrop-filter:blur(10px);
}
.ax-panel-toggle{ display:none; background:transparent; border:0; color:var(--text); cursor:pointer; padding:6px; margin-right:4px; }
.ax-panel-toggle .dashicons{ font-size:26px; width:26px; height:26px; }
@media (max-width:820px){ .axiptv-panel-page .ax-panel-toggle{ display:inline-flex; align-items:center; } }
.ax-brand{ font-weight:800; font-size:21px; letter-spacing:.2px; color:var(--text); }
.ax-brand b{ color:var(--accent); font-weight:800; }
.ax-brand-logo{ height:52px; width:auto; max-width:220px; display:block; }
@media (max-width:600px){ .ax-brand-logo{ height:42px; } }
/* Hero üstü büyük logo (opsiyonel) */
.ax-hero-logo{ max-height:170px; max-width:min(86%,440px); width:auto; margin:0 auto 26px; display:block; }
@media (max-width:600px){ .ax-hero-logo{ max-height:120px; } }
.ax-nav{ display:flex; align-items:center; gap:20px; }
.ax-nav a{ color:var(--muted); font-weight:600; font-size:15px; }
.ax-nav a:hover{ color:var(--text); }
.ax-cta{
  padding:10px 20px; border-radius:11px; font-weight:700; font-size:15px;
  color:#0A0E14!important; background:var(--accent);
  border:1px solid #d9a600; box-shadow:0 1px 0 rgba(0,0,0,.25);
  transition:background .15s, transform .15s;
}
.ax-cta:hover{ background:#ffcb1f; transform:translateY(-1px); }
.ax-nav-admin{ padding:9px 16px; border-radius:11px; border:1px solid var(--line); color:var(--text)!important; font-weight:600; }
.ax-nav-admin:hover{ border-color:var(--accent); color:var(--accent)!important; }
.ax-hi{ color:var(--muted); font-size:14px; }
.ax-hi b{ color:var(--text); font-weight:700; }
@media (max-width:720px){ .ax-hi{ display:none; } }

.ax-main{ max-width:var(--maxw); margin:0 auto; padding:0 20px 72px; }

/* Panel sayfası tam genişlik */
.axiptv-panel-page .ax-main{ max-width:100%; padding:0; }

/* ---------- Hero ---------- */
.ax-hero{ text-align:center; padding:84px 16px 30px; position:relative; }
.ax-hero.has-video{
  position:relative; left:50%; margin-left:-50vw; width:100vw;
  min-height:82vh; display:flex; flex-direction:column; align-items:center; justify-content:center;
  overflow:hidden; padding:90px 20px 70px;
}
.ax-hero-video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.ax-hero-shade{ position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg,rgba(10,14,20,.55),rgba(10,14,20,.72) 68%,var(--bg)),radial-gradient(75% 70% at 50% 45%,rgba(10,14,20,.15),rgba(10,14,20,.55)); }
.ax-hero.has-video > *:not(.ax-hero-video):not(.ax-hero-shade){ position:relative; z-index:2; max-width:820px; }
.ax-eyebrow{
  display:inline-flex; align-items:center; gap:8px; margin-bottom:22px;
  padding:6px 14px; border-radius:100px; font-size:13px; font-weight:600;
  color:var(--accent); background:var(--accent-soft); border:1px solid rgba(242,183,5,.25);
}
.ax-eyebrow::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px rgba(242,183,5,.18); }
.ax-hero h1{ font-size:clamp(34px,6vw,60px); line-height:1.04; letter-spacing:-.02em; margin:0 0 18px; font-weight:800; }
.ax-hero h1 em{ font-style:normal; color:var(--accent); }
.ax-hero p{ color:var(--muted); font-size:clamp(16px,2vw,19px); max-width:600px; margin:0 auto 30px; }
.ax-hero-cta{ display:flex; gap:14px; justify-content:center; align-items:center; flex-wrap:wrap; }
.ax-btn-lg{ font-size:16px; padding:14px 30px; }
.ax-btn-outline{ display:inline-flex; align-items:center; justify-content:center; gap:6px;
  padding:14px 26px; border-radius:12px; border:1px solid var(--line); color:var(--text)!important;
  font-weight:700; font-size:16px; text-decoration:none; transition:border-color .15s, color .15s; }
.ax-btn-outline:hover{ border-color:var(--accent); color:var(--accent)!important; }
@media (max-width:560px){
  .ax-hero-cta{ flex-direction:column; width:100%; max-width:340px; margin:0 auto; }
  .ax-hero-cta > a{ width:100%; }
}
.ax-link-ghost{ color:var(--muted); font-weight:600; font-size:15px; padding:14px 8px; }
.ax-link-ghost:hover{ color:var(--text); }

.ax-devices{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-top:40px; }
.ax-chip{
  display:inline-flex; align-items:center; gap:8px; padding:8px 16px; border-radius:100px;
  background:var(--card); border:1px solid var(--line); color:var(--muted); font-size:13px; font-weight:600;
}
.ax-chip svg{ width:16px; height:16px; stroke:var(--accent); }

/* ---------- Özellikler ---------- */
.ax-section-title{ text-align:center; margin:66px 0 8px; font-size:26px; letter-spacing:-.01em; }
.ax-section-sub{ text-align:center; color:var(--muted); margin:0 auto 34px; max-width:520px; }
.ax-features{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:16px; }
.ax-feat{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:24px;
  transition:border-color .15s, transform .15s;
}
.ax-feat:hover{ border-color:rgba(242,183,5,.45); transform:translateY(-2px); }
.ax-feat-ico{
  width:44px; height:44px; border-radius:11px; display:flex; align-items:center; justify-content:center;
  background:var(--accent-soft); border:1px solid rgba(242,183,5,.25); margin-bottom:16px;
}
.ax-feat-ico svg{ width:22px; height:22px; stroke:var(--accent); fill:none; stroke-width:1.8; }
.ax-feat h3{ margin:0 0 6px; font-size:16px; }
.ax-feat p{ color:var(--muted); margin:0; font-size:14px; }

/* ---------- Adımlar ---------- */
.ax-steps{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px; }
.ax-step{ background:linear-gradient(180deg,var(--card),var(--bg2)); border:1px solid var(--line); border-radius:var(--radius); padding:24px; }
.ax-step-n{ width:32px; height:32px; border-radius:9px; background:var(--accent); color:#0A0E14; font-weight:800; display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.ax-step h3{ margin:0 0 6px; font-size:16px; }
.ax-step p{ color:var(--muted); margin:0; font-size:14px; }

/* ---------- Alt CTA ---------- */
.ax-cta-band{
  margin-top:64px; text-align:center; padding:48px 24px; border-radius:20px;
  background:radial-gradient(600px 200px at 50% 0%,rgba(242,183,5,.10),transparent 70%),linear-gradient(180deg,var(--card),var(--bg2));
  border:1px solid var(--line);
}
.ax-cta-band h2{ margin:0 0 10px; font-size:26px; }
.ax-cta-band p{ color:var(--muted); margin:0 0 22px; }

/* ---------- Footer ---------- */
.ax-site-footer{ border-top:1px solid var(--line); padding:26px; text-align:center; color:var(--dim); font-size:14px; }

/* Misafir paket modalı (CSS-only, sayfa kaymaz) */
.ax-modal{ position:fixed; inset:0; z-index:9999; display:none; align-items:center; justify-content:center; padding:20px; }
.ax-modal:target{ display:flex; }
.ax-modal-back{ position:absolute; inset:0; background:rgba(0,0,0,.72); backdrop-filter:blur(3px); }
.ax-modal-box{ position:relative; z-index:1; width:100%; max-width:1160px; max-height:90vh; overflow:auto; background:var(--card); border:1px solid var(--line); border-radius:18px; padding:32px 34px; box-shadow:0 40px 100px rgba(0,0,0,.6); }
.ax-modal-x{ position:absolute; top:10px; right:16px; font-size:30px; line-height:1; color:var(--muted); }
.ax-modal-x:hover{ color:var(--text); }
.ax-modal-box h2{ margin:0 0 4px; }
.ax-modal-sub{ color:var(--muted); margin:0 0 22px; }
.ax-price-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px; }
.ax-price{ position:relative; background:linear-gradient(180deg,var(--card),var(--bg2)); border:1px solid var(--line); border-radius:16px; padding:26px 22px 22px; text-align:center; transition:transform .15s, border-color .15s; }
.ax-price:hover{ transform:translateY(-3px); border-color:rgba(242,183,5,.4); }
.ax-price.is-featured{ border-color:var(--accent); box-shadow:0 0 0 1px var(--accent), 0 16px 46px rgba(242,183,5,.12); }
.ax-price-badge{ position:absolute; top:-11px; left:50%; transform:translateX(-50%); background:var(--accent); color:#0A0E14; font-size:11px; font-weight:700; padding:4px 12px; border-radius:20px; white-space:nowrap; }
.ax-price-ico{ font-size:36px; line-height:1; margin-bottom:8px; }
.ax-price h3{ margin:4px 0 4px; font-size:18px; }
.ax-price-meta{ color:var(--muted); font-size:13px; }
.ax-price-vals{ margin:16px 0; }
.ax-price-old{ display:block; color:var(--muted); text-decoration:line-through; font-size:15px; opacity:.8; }
.ax-price-val{ display:block; font-size:30px; font-weight:800; color:var(--accent); line-height:1.1; }
.ax-price-disc{ display:inline-block; margin-top:8px; background:rgba(242,183,5,.15); color:var(--accent); font-size:12px; font-weight:700; padding:4px 12px; border-radius:100px; }
.ax-price-feats{ list-style:none; padding:0; margin:0 0 18px; text-align:left; }
.ax-price-feats li{ font-size:13px; color:var(--muted); padding:5px 0 5px 24px; position:relative; }
.ax-price-feats li::before{ content:"\2713"; position:absolute; left:2px; color:var(--accent); font-weight:700; }
.ax-price .ax-cta{ display:inline-block; font-size:14px; }

/* 404 */
.ax-404{ text-align:center; padding:90px 20px 100px; }
.ax-404-signal{ display:inline-flex; align-items:flex-end; gap:6px; height:40px; margin-bottom:18px; }
.ax-404-signal span{ width:8px; background:var(--accent); border-radius:3px; animation:ax-sig 1s ease-in-out infinite; opacity:.7; }
.ax-404-signal span:nth-child(1){ height:14px; animation-delay:0s; }
.ax-404-signal span:nth-child(2){ height:24px; animation-delay:.15s; }
.ax-404-signal span:nth-child(3){ height:34px; animation-delay:.3s; }
.ax-404-signal span:nth-child(4){ height:20px; animation-delay:.45s; }
@keyframes ax-sig{ 0%,100%{ transform:scaleY(.5); } 50%{ transform:scaleY(1); } }
.ax-404-code{ font-size:clamp(80px,18vw,180px); font-weight:900; line-height:1; letter-spacing:-.04em; color:var(--accent); }
.ax-404 h1{ font-size:clamp(24px,4vw,40px); margin:6px 0 12px; }
.ax-404 p{ color:var(--muted); max-width:460px; margin:0 auto 26px; }
.ax-404 .ax-hero-cta{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* WhatsApp yüzen buton */
.ax-wa{ position:fixed; right:22px; bottom:22px; z-index:9998; width:56px; height:56px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center; box-shadow:0 8px 22px rgba(0,0,0,.45);
  transition:transform .15s; }
.ax-wa:hover{ transform:scale(1.08); }
.ax-wa svg{ width:32px; height:32px; fill:#fff; }
@media (max-width:560px){ .ax-wa{ width:52px; height:52px; right:16px; bottom:16px; } }

@media (max-width:600px){
  .ax-site-header{ padding:14px 18px; }
  .ax-hero{ padding:56px 12px 20px; }
}
