:root {
    --primary-color: #6a46be;
    --text-color: #ffffff;
    --background: #141414;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none !important;
}

:root {
    --main-color: #6a46be;
}

body {
    background-color: #141414;
    font-family: Arial, sans-serif;
    color: #fff;
}

/* Navbar - Estilo Netflix */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 10%, transparent);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    transition: background-color 0.3s;
}

.navbar.scrolled {
    background: rgb(20, 20, 20);
}

.navbar .logo img {
    height: 40px;
    width: 40px;
}

.landing-buttons {
    display: flex;
    gap: 15px;
}

.landing-buttons button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.l-entrar {
    background-color: var(--main-color);
    color: #000;
    border: none;
}

.l-cadastrar {
    background-color: transparent;
    color: #fff;
    border: 2px solid var(--main-color);
}

.landing-buttons .l-download {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid var(--main-color);
    backdrop-filter: blur(5px);
    padding: 7px 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.landing-buttons .l-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 70, 190, 0.4);
}

.landing-buttons button i {
    margin-right: 8px;
}

.landing-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 70, 190, 0.4);
}

/* Banner Principal - Estilo Netflix */
.banner {
    height: 100vh;
    background-image: url('/assets/images/bg-gif.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    position: relative;
    text-align: center;
    border-radius: 0;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.7);
    margin-top: -80px; /* Compensar navbar fixed */
}

.banner.banner-gradient {
    height: 100vh;
    background-image: url('/assets/images/bg-gif.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    position: relative;
    text-align: center;
    margin-top: -80px;
    border: none !important; /* Remove qualquer borda */
    outline: none !important; /* Remove outline */
}

.banner::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        0deg,
        rgba(0,0,0,0.95) 0%,
        rgba(0,0,0,0.7) 40%,
        rgba(0,0,0,0.4) 60%,
        rgba(0,0,0,0.7) 100%
    );
    border-radius: 0;
}

.banner.banner-gradient::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        0deg,
        rgba(0,0,0,0.95) 0%,
        rgba(0,0,0,0.7) 40%,
        rgba(0,0,0,0.4) 60%,
        rgba(0,0,0,0.7) 100%
    );
    border: none !important;
}

/* Banner Gradient */
.banner-gradient {
    position: relative;
}

.banner-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(20, 20, 20, 0.8) 0%,
        rgba(20, 20, 20, 0.4) 50%,
        rgba(20, 20, 20, 0.8) 100%
    );
    z-index: 1;
}

/* Reset específico para o banner */
.banner * {
    color: #fff !important; /* Força a cor branca */
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    padding-top: 140px;
    color: #fff !important;
}

.banner-content h1,
.banner-content p {
    color: #fff !important;
}

.banner h1 {
    font-size: 4rem;
    max-width: 800px;
    margin-bottom: 1rem;
    font-weight: 900;
    line-height: 1.1;
}

.banner p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.banner .btn {
    background-color: var(--main-color);
    color: #000 !important; /* Força a cor preta para o botão */
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.banner .btn i {
    margin-right: 10px;
}

.banner .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 70, 190, 0.4);
}

/* Content Toggle - Estilo Netflix */
.content-toggle {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.content-toggle button {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid var(--main-color);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.content-toggle button i {
    margin-right: 8px;
}

.content-toggle button.active {
    background-color: var(--main-color);
    color: #000;
}

.content-toggle button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 70, 190, 0.4);
}

/* Movies Grid - Estilo Netflix */
.content {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.category {
    margin-bottom: 40px;
}

.row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
}

.movie {
    flex: 0 0 auto;
    width: 45%; /* Ajustado para 45% para caber 2 cards lado a lado */
    scroll-snap-align: start;
    position: relative;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.movie img {
    width: 100%;
    height: auto;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Esconde a barra de rolagem mas mantém a funcionalidade */
.row::-webkit-scrollbar {
    display: none;
}

.row {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (min-width: 768px) {
    .movie {
        width: 200px; /* Tamanho original para desktop */
    }
}

.movie:hover {
    transform: scale(1.05);
    z-index: 2;
}

.movie:hover img {
    box-shadow: 0 5px 15px rgba(106, 70, 190, 0.4);
}

.movie-number {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
}

/* Playstore Button */
.playstore {
    display: flex;
    justify-content: center;
    margin: 60px 0;
}

.playstore a {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid var(--main-color);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    box-shadow: 0px 0px 20px rgba(106, 70, 190, 0.5);
}

.playstore a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 70, 190, 0.4);
    background-color: var(--main-color);
    color: #000;
}

.playstore img {
    width: 150px;
    margin-left: 15px;
}

/* FAQ - Estilo Netflix */
.faq-container {
    background: transparent;
    padding: 70px 45px;
    border-radius: 15px;
    margin: 40px auto;
    max-width: 815px;
}

.faq-title {
    font-size: 3rem;
    margin-bottom: 50px;
    text-align: center;
    color: #fff;
    font-weight: 900;
}

.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    font-size: 1.625rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-bottom: 8px;
    position: relative;
    padding-right: 40px;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--main-color);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    display: none;
    background: rgba(32, 32, 32, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px 30px;
    margin-top: 10px;
    line-height: 1.6;
    font-size: 1.625rem;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animações */
.opacity-0 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Navegação dos Slides */
.row-container {
    position: relative;
    padding: 0 40px;
}

.row-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 20px 15px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 2;
}

.row-nav-btn:hover {
    background: var(--main-color);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Remove outline dos botões e elementos interativos */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Força a remoção de bordas em elementos interativos */
*:focus {
    outline: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* Responsividade - Estilo Netflix */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .banner {
        height: 50vh;
        padding: 20px;
    }

    .banner h1 {
        font-size: 2.5rem;
    }

    .banner p {
        font-size: 1.25rem;
    }

    .banner-content {
        padding: 0 20px;
    }

    .landing-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .landing-buttons button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .row {
        padding: 20px;
    }

    .movie img {
        height: 225px;
    }

    .faq-container {
        padding: 40px 20px;
        margin: 20px;
    }

    .faq-title {
        font-size: 2rem;
    }

    .faq-question,
    .faq-answer {
        font-size: 1.125rem;
        padding: 16px 20px;
    }

    .row-container {
        padding: 0 20px;
    }

    .row-nav-btn {
        padding: 15px 10px;
    }

    .movie {
        width: 140px;
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .content-toggle {
        flex-direction: column;
        align-items: center;
    }

    .content-toggle button {
        width: 100%;
        justify-content: center;
    }

    .playstore a {
        flex-direction: column;
        text-align: center;
    }

    .playstore img {
        margin: 15px 0 0 0;
    }
}
