/* ============================
   VARIÁVEIS
============================ */
:root { 
    --red: #e50914; 
    --text: #ffffff; 
}

/* ============================
   RESET
============================ */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', sans-serif; 
}

/* ============================
   BODY (AJUSTADO)
============================ */
html, body {
    height: 100%;
    overflow-x: hidden; /* 🔥 não corta menu */
}

body { 
    display: flex; 
    flex-direction: column;
    color: var(--text);

    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.65)), 
                url('img/bg-home.png') no-repeat center center / cover;
    background-color: #000;
}

/* ============================
   NAVBAR
============================ */
.navbar { 
    height: 90px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 0 80px; 
    background: transparent;
    position: relative; /* 🔥 necessário */
}

.logo-img { 
    height: 60px; 
}

/* BOTÃO MENU */
.menu-toggle {
    display: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
}

/* LINKS DESKTOP */
.nav-links { 
    display: flex; 
    align-items: center;
    gap: 35px; 
}

.nav-item { 
    color: #fff; 
    font-size: 14px; 
    font-weight: 600; 
    text-transform: uppercase; 
    text-decoration: none;
    transition: 0.3s;
}

.nav-item:hover {
    color: var(--red);
}

.btn-nav-active {
    border: 2px solid var(--red);
    padding: 8px 25px;
    border-radius: 30px;
}

/* ============================
   🔥 MENU MOBILE CORRIGIDO
============================ */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
        font-size: 28px;
    }

    .nav-links {
        position: fixed; /* 🔥 tira do layout */
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;

        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        background: rgba(0,0,0,0.98);

        z-index: 99999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-item {
        font-size: 20px;
        padding: 18px;
    }
}

/* ============================
   HERO
============================ */
.hero-section { 
    flex: 1;
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center;
}

/* ============================
   LOGO GRANDE DO APP
============================ */
.tv-img { 
    max-height: 32vh; 
    margin-bottom: 20px;

    filter: drop-shadow(0 15px 40px #000)
            drop-shadow(0 0 25px rgba(229,9,20,0.6));

    animation: float 4s ease-in-out infinite;
}

@keyframes float { 
    0%, 100% { transform: translateY(0); } 
    50% { transform: translateY(-15px); } 
}

/* ============================
   TEXTO
============================ */
.hero-title { 
    font-size: 6vh; 
    font-weight: 900; 
    line-height: 1.1; 
    text-shadow: 0 5px 20px #000; 
}

.hero-sub { 
    margin-top: 25px;
    font-size: 2.6vh;
    text-shadow: 0 2px 10px #000; 
}

.highlight {
    color: var(--red);
}

/* ============================
   LOGOS
============================ */
.hero-store {
    margin-top: 25px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 20px;
    flex-wrap: wrap;
}

.aton-inline {
    height: 32px;
}

.lg-logo {
    width: 150px;
}

/* ============================
   FOOTER
============================ */
.footer-custom {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: rgba(0,0,0,0.85);
    border-top: 2px solid var(--red);
    letter-spacing: 1px;
}

.footer-custom a {
    color: var(--red);
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.footer-custom a:hover {
    color: #fff;
}

/* ============================
   BACKGROUND
============================ */
#bg-fixo {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: url("https://atonflix.shop/app/img/Backgroundlogin.png") no-repeat center center / cover;
    z-index: -200;
}

#bg-glow-overlay {
    position: fixed; 
    top:0; 
    left:0; 
    width:100%; 
    height:100%;
    background: radial-gradient(circle at center, rgba(229,9,20,0.25) 0%, rgba(0,0,0,0.92) 100%);
    z-index: -100;
}