/*
Theme Name: BUYIPTVMAX
Theme URI: https://buyiptvmax.com
Author: BUYIPTVMAX
Author URI: https://buyiptvmax.com
Description: Premium IPTV service theme with dark design, 30,000+ channels showcase, pricing, FAQ, and contact pages.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: buyiptvmax
Tags: iptv, dark, premium, streaming, entertainment
*/

/* ============================================================
   BUYIPTVMAX WordPress Theme — Global Styles
   ============================================================ */

:root {
  --purple: #8b5cf6;
  --purple-d: #7c3aed;
  --blue: #3b82f6;
  --blue-d: #2563eb;
  --gold: #f59e0b;
  --gold-d: #d97706;
  --white: #f1f5f9;
  --muted: #94a3b8;
  --bg: #0a0a0f;
  --bg-2: #0f0f1a;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-h: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-h: rgba(255,255,255,0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--muted);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* WordPress body classes */
body.admin-bar .navbar { top: 32px; }

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* ── TYPOGRAPHY ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--white);
  line-height: 1.15;
}
p { margin-bottom: 0; }

.gradient-text {
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── LAYOUT ────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }

.section-header { margin-bottom: 56px; }
.section-header.text-center { text-align: center; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border: 1px solid var(--border-h);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bg-card);
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-primary.btn-lg { padding: 16px 36px; font-size: 1rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--muted) !important;
  border: 1px solid var(--border-h);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-ghost:hover { border-color: var(--purple); color: var(--white) !important; }

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: rgba(255,255,255,0.1);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.18); }

/* ── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.navbar.scrolled {
  background: rgba(10,10,15,0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white) !important;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-icon { font-size: 1rem; color: var(--purple); }
.logo-accent { color: var(--purple); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-links li a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted) !important;
  transition: all var(--transition);
}
.nav-links li a:hover,
.nav-links li a.nav-active { color: var(--white) !important; background: var(--bg-card); }

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 16px; }
  .nav-actions .btn-primary { display: none; }
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.9rem;
  margin: 16px 0 24px;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all var(--transition);
}
.footer-social a svg { width: 18px; height: 18px; }
.footer-social a:hover { background: var(--bg-card-h); color: var(--white); border-color: var(--border-h); }
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}
.footer-bottom p { font-size: 0.85rem; }
.footer-disclaimer { font-size: 0.78rem !important; max-width: 600px; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── CTA BANNER ─────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
  background: var(--bg-2);
}
.cta-bg { position: absolute; inset: 0; overflow: hidden; }
.cta-bg .orb-cta-1 { position: absolute; width: 400px; height: 400px; background: var(--purple); border-radius: 50%; filter: blur(100px); opacity: 0.2; top: -100px; left: -100px; }
.cta-bg .orb-cta-2 { position: absolute; width: 300px; height: 300px; background: var(--blue); border-radius: 50%; filter: blur(80px); opacity: 0.2; bottom: -80px; right: -80px; }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
.cta-content p { font-size: 1.05rem; margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── ICON COLORS ─────────────────────────────────────────────── */
.icon-purple { background: rgba(139,92,246,0.15); color: var(--purple); }
.icon-blue   { background: rgba(59,130,246,0.15); color: var(--blue); }
.icon-gold   { background: rgba(245,158,11,0.15); color: var(--gold); }
.dot-purple  { background: var(--purple); }
.dot-blue    { background: var(--blue); }
.dot-gold    { background: var(--gold); }

/* ── REVEAL ANIMATION ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
