/*
Theme Name: NTN Page Premium
Theme URI: https://clubedatela.com.br
Author: Clube da Tela
Author URI: https://clubedatela.com.br
Description: Tema premium para Landing Page de Alta Conversão focado em Streaming/IPTV. Inclui Painel de Opções exclusivo, PWA, SEO/GEO nativo, e Cookie Consent. Design Dark Neon ultra-rápido.
Version: 1.31
Requires at least: 5.8
Tested up to: 6.5
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: ntn-page
Tags: dark, one-column, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, full-width-template, sticky-post, theme-options
*/

@font-face { font-family: 'Lato'; src: url('assets/fonts/Lato-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Lato'; src: url('assets/fonts/Lato-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'Lato'; src: url('assets/fonts/Lato-Black.ttf') format('truetype'); font-weight: 900; font-style: normal; }

:root {
    --primary: #f82d63; /* Pink/Magenta Neon */
    --primary-hover: #d21d4d;
    --bg-dark: #0a0a0a;
    --bg-light: #111111;
    --text-main: #ffffff;
    --text-muted: #a3a3a3;
    --font-family: 'Lato', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-family); background: var(--bg-dark); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { line-height: 1.2; }

/* REUSABLE CLASSES */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; position: relative; z-index: 2; }
.text-primary { color: var(--primary); }
.btn { display: inline-flex; justify-content: center; align-items: center; padding: 14px 28px; border-radius: 50px; font-weight: 700; cursor: pointer; transition: 0.3s; font-size: 1rem; border: 2px solid transparent; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 15px rgba(248,45,99,0.4); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(248,45,99,0.6); }
.btn-outline { background: transparent; color: #fff; border-color: var(--glass-border); backdrop-filter: blur(10px); }
.btn-outline:hover { border-color: #fff; transform: translateY(-2px); }

/* TOP ANNOUNCEMENT BAR */
.top-announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    text-align: center;
    padding: 12px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.top-announcement-bar a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-block;
    letter-spacing: 0.5px;
}
.top-announcement-bar a:hover {
    text-decoration: underline;
}

/* SECTION BLEND OVERLAYS (DARK WINE) */
section {
    position: relative;
}
section::before,
section::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
    pointer-events: none;
}
section::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(25, 2, 8, 1) 0%, rgba(25, 2, 8, 0) 100%);
}
section::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(25, 2, 8, 1) 0%, rgba(25, 2, 8, 0) 100%);
}
.hero::before {
    display: none; /* No top gradient for Hero */
}

/* HERO */
.hero { position: relative; padding: 180px 0 100px; text-align: left; }
.hero h1 { font-size: 3.5rem; font-weight: 900; margin-bottom: 20px; max-width: 800px; letter-spacing: -1.5px; }
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-rating { margin-top: 30px; display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: #888; }
.stars { color: #facc15; font-size: 1rem; }

/* VIDEO SECTION (SPLIT + GLOW NEON + PORTRAIT) */
.video-section { padding: 80px 0; position: relative; }
.video-split-container { display: flex; align-items: center; justify-content: space-between; gap: 80px; max-width: 1100px; margin: 0 auto; }
.video-split-text { flex: 1; }
.video-split-text h1 { font-size: 3rem; font-weight: 900; margin-bottom: 20px; letter-spacing: -1px; }
.ntn-video-subtitle-area { font-size: 1.1rem; color: var(--text-muted); }

/* PRICING CARD (Inserted via HTML in admin panel) */
.ntn-pricing-card { background: rgba(20, 20, 20, 0.6); border: 1px solid var(--glass-border); border-radius: 20px; padding: 30px; max-width: 350px; text-align: center; margin-top: 20px; }
.ntn-pricing-header { font-size: 0.9rem; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.ntn-pricing-price { font-size: 3.5rem; font-weight: 900; color: #ccff00; margin-bottom: 25px; letter-spacing: -2px; line-height: 1; }
.ntn-pricing-features { list-style: none; padding: 0; margin: 0 0 30px 0; }
.ntn-pricing-features li { font-size: 0.95rem; color: #ccc; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; gap: 10px; }
.ntn-pricing-features li:last-child { border-bottom: none; }
.ntn-pricing-features li i { color: #ccff00; font-style: normal; font-weight: bold; }
.ntn-pricing-btn { display: block; background: #ccff00; color: #000; font-weight: 900; padding: 15px; border-radius: 50px; text-transform: uppercase; text-decoration: none; transition: 0.3s; box-shadow: 0 4px 20px rgba(204, 255, 0, 0.2); }
.ntn-pricing-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(204, 255, 0, 0.4); color: #000; }

.video-glow-wrapper { width: 320px; max-width: 100%; flex-shrink: 0; position: relative; z-index: 1; margin: 0 auto; }
.video-glow-wrapper::before {
    content: ''; position: absolute; top: -10px; left: -10px; right: -10px; bottom: -10px;
    background: linear-gradient(45deg, var(--primary), transparent, var(--primary));
    z-index: -1; filter: blur(30px); opacity: 0.6; border-radius: 30px;
}
.video-container { position: relative; aspect-ratio: 9/16; border-radius: 20px; overflow: hidden; border: 1px solid var(--glass-border); background: #111; box-shadow: 0 10px 40px rgba(0,0,0,0.8); }
.video-container iframe, .video-container img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.play-btn-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; background: rgba(248,45,99,0.8); backdrop-filter: blur(5px); border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: 0.3s; border: 2px solid #fff; box-shadow: 0 0 20px rgba(248,45,99,0.6); z-index: 10; }
.play-btn-overlay:hover { background: rgba(248,45,99,1); transform: translate(-50%, -50%) scale(1.1); }
.play-btn-overlay i { width: 0; height: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 14px solid #fff; margin-left: 5px; }

/* Modal for video */
#cf-video-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); display: none; justify-content: center; align-items: center; z-index: 10001; backdrop-filter: blur(10px); }
#cf-video-modal .cf-video-content { position: relative; width: 100%; max-width: 400px; aspect-ratio: 9/16; background: #000; border-radius: 20px; overflow: hidden; border: 1px solid var(--glass-border); }
#cf-video-modal iframe { width: 100%; height: 100%; border: none; }
.close-cf-modal { position: absolute; top: 15px; right: 20px; color: #fff; font-size: 2rem; cursor: pointer; z-index: 2; font-weight: bold; }

/* FEATURES (ZIG ZAG) */
.feature-section { padding: 80px 0; }
.feature-row { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-text h2 { font-size: 2.8rem; font-weight: 800; margin-bottom: 20px; letter-spacing: -1px; }
.feature-text p { font-size: 1.1rem; color: var(--text-muted); }
.feature-image { flex: 1; border-radius: 20px; overflow: hidden; border: 1px solid var(--glass-border); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.feature-image img { width: 100%; display: block; }

/* TESTIMONIALS (GLASSMORPHISM) */
.testimonials-section { padding: 80px 0; overflow: hidden; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.testimonial-card { background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(10px); border-radius: 20px; padding: 30px; transition: 0.3s; }
.testimonial-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }
.t-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.t-avatar { width: 50px; height: 50px; border-radius: 50%; background: #333; overflow: hidden; }
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-info h4 { font-size: 1rem; margin-bottom: 2px; }
.t-info p { font-size: 0.8rem; color: #888; margin: 0; }
.t-body p { font-size: 0.95rem; color: #ccc; line-height: 1.5; }

/* DEVICES SECTION */
.devices-section { padding: 80px 0; text-align: center; border-bottom: 1px solid var(--glass-border); }
.devices-section h2 { font-size: 2rem; margin-bottom: 40px; }
.devices-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; opacity: 0.6; align-items: center; }
.devices-grid img { height: 35px; filter: grayscale(100%) brightness(200%); }

/* FAQ (SPLIT LAYOUT) */
.faq-section { padding: 100px 0; }
.faq-container { display: flex; gap: 50px; align-items: flex-start; }
.faq-left { flex: 1; position: sticky; top: 100px; }
.faq-left h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 15px; }
.faq-left p { color: var(--text-muted); }
.faq-right { flex: 1.5; }
details { background: var(--glass-bg); border: 1px solid var(--glass-border); margin-bottom: 15px; border-radius: 12px; transition: 0.3s; }
details:hover { background: rgba(255,255,255,0.06); }
summary { padding: 20px; font-size: 1.1rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: #888; }
details[open] summary::after { content: '−'; color: var(--primary); }
details p { padding: 0 20px 20px; margin: 0; color: #ccc; font-size: 0.95rem; line-height: 1.6; }

/* BOTTOM CTA */
.bottom-cta { padding: 100px 0; text-align: center; position: relative; }
.bottom-cta-box { background: linear-gradient(180deg, #161616 0%, #0a0a0a 100%); border: 1px solid var(--glass-border); border-radius: 30px; padding: 60px 30px; max-width: 800px; margin: 0 auto; box-shadow: 0 -20px 60px rgba(0,0,0,0.5); }
.bottom-cta h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 20px; }
.checkmarks { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.check-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: #ccc; }
.check-item i { color: var(--primary); font-style: normal; font-weight: bold; }
.cta-buttons { display: flex; justify-content: center; gap: 15px; }

/* FOOTER */
footer { padding: 60px 0 30px; border-top: 1px solid var(--glass-border); font-size: 0.85rem; color: #777; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid #222; }

@media (max-width: 900px) { 
    .video-split-container, .faq-container, .feature-row, .feature-row.reverse { flex-direction: column; gap: 30px; }
    .video-split-text { text-align: center; } 
    .faq-left { position: relative; top: 0; }
    .hero h1 { font-size: 2.5rem; }
    .video-split-text h1 { font-size: 2.2rem; }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 10px;
    }
    .hero-buttons .btn {
        flex: 1;
        padding: 12px 10px; /* Reduce padding to fit side by side */
        white-space: nowrap;
        font-size: 1rem; /* Keep text size as requested */
    }
}

/* Modals & Cookie */
#cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: #111; color: #fff; padding: 15px 20px; display: none; justify-content: space-between; align-items: center; z-index: 9999; border-top: 1px solid #333; }
#cookie-banner button { background: var(--primary); color: #fff; border: none; padding: 10px 20px; border-radius: 50px; cursor: pointer; font-weight: bold; }
#pwa-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); display: none; justify-content: center; align-items: center; z-index: 10000; backdrop-filter: blur(5px); }
.pwa-content { background: #1a1a1a; padding: 30px; border-radius: 20px; text-align: center; max-width: 400px; border: 1px solid var(--glass-border); }
.pwa-content h3 { margin-bottom: 15px; color: #fff; }
.pwa-content p { color: #ccc; margin-bottom: 20px; }
.pwa-buttons { display: flex; gap: 10px; justify-content: center; }
.pwa-buttons button { padding: 12px 20px; border: none; border-radius: 50px; cursor: pointer; font-weight: bold; }
#btn-install-pwa { background: var(--primary); color: white; }
#btn-close-pwa { background: transparent; color: white; border: 1px solid #555; }

/* WhatsApp Flutuante */
.floating-wa-container { position: fixed; bottom: 20px; right: 10px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; }
.wa-bubble { background: #fff; color: #111; padding: 10px 15px; border-radius: 20px 20px 0 20px; font-size: 0.9rem; font-weight: bold; margin-bottom: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); animation: bounceBubble 2s infinite; position: relative; }
.wa-bubble::after { content: ''; position: absolute; bottom: -8px; right: 15px; border-width: 8px 8px 0; border-style: solid; border-color: #fff transparent; display: block; width: 0; }
@keyframes bounceBubble { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.floating-wa-btn { width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; transition: transform 0.3s; position: relative; border-radius: 50%; }
.floating-wa-btn:hover { transform: scale(1.1); }
