/*
Theme Name: MagisTVTheme
Theme URI: magistvtheme
Author: I_ZEESHANBAJWA
Author URI: @I_ZEESHANBAJWA
Description: Um tema WordPress de página única, otimizado para SEO, para download do MagisTv APK, em português.
Version: 1.4
License: GNU General Public License v2 or later
Text Domain: magistvtheme
Tags: one-page, seo, responsive, streaming, apk-download
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
    color: #333333;
    background: #FFFFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(90deg, #1A1A3D, #2A2A5D);
    color: #FFFFFF;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

header .logo {
    font-size: 26px;
    font-weight: bold;
    transition: transform 0.3s, color 0.3s;
}

header .logo:hover {
    transform: scale(1.1);
    color: #FF5733;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu li a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.nav-menu li a:hover {
    background: #FF5733;
    color: #FFFFFF;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 24px;
    color: #FFFFFF;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s;
}

.hamburger:hover {
    color: #FF5733;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: #1A1A3D;
        width: 250px;
        padding: 20px;
        box-shadow: -4px 0 8px rgba(0,0,0,0.2);
        transition: transform 0.3s ease;
        transform: translateX(100%);
    }

    .nav-menu.active {
        display: flex;
        transform: translateX(0);
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .nav-menu li a {
        font-size: 18px;
        display: block;
    }
}

section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero {
    background: linear-gradient(45deg, #1A1A3D, #FF5733);
    text-align: center;
    color: #FFFFFF;
    padding: 150px 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23FFFFFF" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #FF5733;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    margin: 10px;
}

.btn:hover {
    background: #FFC107;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Download Section */
.download-section {
    padding: 60px 0;
    background: linear-gradient(45deg, #FFF3E0, #FFFFFF);
}

.download-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.download-text {
    flex: 1;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.download-screenshot {
    flex: 1;
    text-align: center;
}

.screenshot-placeholder {
    width: 100%;
    max-width: 300px;
    height: 500px;
    background: linear-gradient(135deg, #FF5733, #FFC107);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    margin: 0 auto;
}

@media (max-width: 768px) {
    .download-content {
        flex-direction: column;
        gap: 20px;
    }

    .screenshot-placeholder {
        max-width: 250px;
        height: 400px;
        font-size: 20px;
    }
}

.download-section, .about, .features, .installation, .faq, .article, .testimonials, .troubleshooting, .categories, .about-us, .contact, .dmca, .privacy {
    padding: 60px 0;
    background: #FFFFFF;
}

.download-section::after, .about::after, .features::after, .installation::after, .faq::after, .article::after, .testimonials::after, .troubleshooting::after, .categories::after, .about-us::after, .contact::after, .dmca::after, .privacy::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #FFFFFF);
}

h2 {
    font-size: 36px;
    margin-bottom: 25px;
    text-align: center;
    color: #1A1A3D;
}

h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #1A1A3D;
}

h4, h5, h6 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #333333;
}

.features-grid, .card-grid, .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-item, .card-item, .testimonial-item {
    background: #FFFFFF;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid #FF5733;
}

.feature-item:hover, .card-item:hover, .testimonial-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.feature-item i, .card-item i, .testimonial-item i {
    font-size: 40px;
    color: #FF5733;
    margin-bottom: 15px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item summary {
    font-weight: bold;
    cursor: pointer;
    padding: 12px;
    background: #FFFFFF;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background 0.3s;
}

.faq-item summary:hover {
    background: #FFF3E0;
}

.social-links a {
    color: #FF5733;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #FFC107;
}

footer {
    background: linear-gradient(90deg, #1A1A3D, #2A2A5D);
    color: #FFFFFF;
    text-align: center;
    padding: 30px 0;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    section {
        padding: 50px 0;
    }

    .features-grid, .card-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.btn-pulse {
    animation: pulse 1.5s infinite;
}