/**
 * AzenFlix Styles
 * Autor: @azenoficial (Instagram)
 * Paleta: Preto e Laranja Dourado
 */

:root {
    --color-black: #000000;
    --color-dark-gray: #1a1a1a;
    --color-gray: #2a2a2a;
    --color-light-gray: #3a3a3a;
    --color-gold-orange: #ffa500;
    --color-gold-orange-dark: #cc8400;
    --color-gold-orange-light: #ffb733;
    --color-text: #ffffff;
    --color-text-secondary: #cccccc;
    --color-error: #ff4444;
    --color-success: #44ff44;
    
    /* PWA Padding - AJUSTE AQUI */
    --pwa-padding-top: 60px;  /* Altere este valor conforme necessário */
}

/* Dynamic Island / Status Bar Fix - iPhone */
.dynamic-island-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: env(safe-area-inset-top, 0px);
    background: #000000;
    z-index: 1001;
    display: block;
}

/* Fallback for devices without safe-area-inset-top support */
@supports not (height: env(safe-area-inset-top)) {
    .dynamic-island-bar {
        height: 20px; /* Small fallback height for mobile */
    }
}

/* Show only on mobile devices */
@media (max-width: 768px) {
    .dynamic-island-bar {
        display: block;
    }
}

/* Hide on desktop */
@media (min-width: 769px) {
    .dynamic-island-bar {
        display: none;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Prevenir zoom no mobile */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

html {
    /* Prevenir zoom no mobile */
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-black);
    color: var(--color-text);
    line-height: 1.6;
    /* Prevenir zoom no mobile */
    touch-action: manipulation;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Prevenir zoom em inputs no mobile iOS */
input,
textarea,
select,
button {
    font-size: 16px !important; /* iOS não dá zoom se font >= 16px */
    touch-action: manipulation;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="search"],
textarea {
    font-size: 16px !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Garantir que botões não causem zoom */
button,
a {
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

/* Mobile - Container ajustado */
@media (max-width: 768px) {
    .container {
        padding: 0;
    }
    
    /* Manter padding apenas no header e texto */
    .page-header,
    .genre-header {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Genre row sem padding extra */
    .genre-row {
        margin-left: 0;
        margin-right: 0;
    }
}

/* ==================== NAVBAR ==================== */

.navbar {
    background-color: var(--color-dark-gray);
    border-bottom: 2px solid var(--color-gold-orange);
    padding: 1rem 0;
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 100;
}

/* PWA Install Prompt */
.pwa-install-prompt {
    position: fixed;
    bottom: 80px;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0 1rem;
    animation: slideUp 0.5s ease;
}

.pwa-prompt-content {
    background: linear-gradient(135deg, var(--color-gold-orange) 0%, #ff8c00 100%);
    color: var(--color-black);
    padding: 1rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 -4px 20px rgba(255, 165, 0, 0.4);
    max-width: 600px;
    margin: 0 auto;
}

.pwa-icon {
    flex-shrink: 0;
}

.pwa-icon img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 2px solid var(--color-black);
}

.pwa-text {
    flex: 1;
}

.pwa-text h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-black);
}

.pwa-text p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.8);
}

.pwa-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pwa-btn-install {
    background: var(--color-black);
    color: var(--color-gold-orange);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.pwa-btn-install:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.pwa-btn-close {
    background: rgba(0, 0, 0, 0.2);
    color: var(--color-black);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwa-btn-close:hover {
    background: rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal de Instruções PWA */
.pwa-instructions-modal {
    background: var(--color-dark-gray);
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    border: 2px solid var(--color-gold-orange);
}

.pwa-instructions-modal h3 {
    color: var(--color-gold-orange);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.instructions-section {
    background: var(--color-gray);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.instructions-section h4 {
    color: var(--color-text);
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
}

.instructions-section ol {
    margin: 0;
    padding-left: 1.5rem;
    color: var(--color-text-secondary);
}

.instructions-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.pwa-instructions-modal .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Desktop - esconde o prompt */
@media (min-width: 769px) {
    .pwa-install-prompt {
        display: none;
    }
}

/* Bottom Navigation Mobile */
.bottom-nav-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-dark-gray);
    border-top: 2px solid var(--color-gold-orange);
    z-index: 1000;
    padding: 0.5rem 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.bottom-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem;
    text-decoration: none;
    color: var(--color-text-secondary);
    transition: all 0.3s;
    flex: 1;
    min-width: 0;
}

.bottom-nav-item.active {
    color: var(--color-gold-orange);
}

.bottom-nav-icon {
    font-size: 1.5rem;
}

.bottom-nav-label {
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.bottom-nav-item:active {
    transform: scale(0.95);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-height: 70px;
}

.navbar-brand a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.navbar-brand h1 {
    color: var(--color-gold-orange);
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    height: 40px;
}

.navbar-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    height: 40px;
}

.navbar-menu a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--color-gold-orange);
    background-color: var(--color-gray);
}

/* Busca no Navbar */
.navbar-search {
    flex: 1;
    max-width: 400px;
    margin: 0 2rem;
    position: relative;
    display: flex;
    align-items: center;
}

.navbar-search .search-container {
    position: relative;
    width: 100%;
}

.navbar-search .search-input {
    width: 100%;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    height: 40px;
    box-sizing: border-box;
}

.navbar-search .search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.navbar-search .search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-gold-orange);
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
}

/* Resultados da Busca */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-black);
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 0.5rem;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #333;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #333;
}

.search-result-item img {
    width: 50px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.search-result-info h4 {
    color: white;
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.search-result-info p {
    color: #ccc;
    margin: 0;
    font-size: 0.85rem;
}

.search-no-results {
    padding: 1.5rem;
    text-align: center;
    color: #999;
}

/* ==================== MAIN CONTENT ==================== */

.main-content {
    min-height: calc(100vh - 200px);
    padding: 0rem 0;
}

/* Padding para conteúdo quando há bottom nav */
@media (max-width: 768px) {
    .main-content {
        padding-bottom: 80px;
    }
}
    
    body {
        padding-bottom: env(safe-area-inset-bottom);
    }

.page-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-content {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.page-header h2 {
    color: var(--color-gold-orange);
    font-size: 2rem;
    border-bottom: 2px solid var(--color-gold-orange);
    padding-bottom: 0.5rem;
    margin: 0;
}

.total-count {
    color: var(--color-text-secondary);
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background-color: var(--color-gray);
    border-radius: 20px;
    border: 1px solid var(--color-gold-orange);
}

/* ==================== HOME PAGE & CARROSSÉIS ==================== */

.home-page {
    padding: 0;
    margin-top: -80px; /* Sobrepor o navbar */
}

.main-home-content {
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

/* Ajuste para mobile - não sobrepor */
@media (max-width: 768px) {
    .home-page {
        margin-top: 0;
        padding-top: 0;
    }
}

/* ==================== HERO BANNER ==================== */

/* Hero Banner Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Transições Vue */
.fade-enter-active, .fade-leave-active {
    transition: opacity 1.5s ease-in-out;
}

.fade-enter-from, .fade-leave-to {
    opacity: 0;
}

.fade-enter-to, .fade-leave-from {
    opacity: 1;
}

.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Mobile: Ajustar para mostrar a imagem completa */
@media (max-width: 768px) {
    .hero-backdrop {
        background-size: contain;
        background-position: center top;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.95) 0%,
        rgba(0,0,0,0.8) 30%,
        rgba(0,0,0,0.4) 70%,
        rgba(0,0,0,0.1) 100%
    );
    z-index: 2;
}

/* Mobile: Overlay mais sutil para não esconder a imagem */
@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.3) 0%,
            rgba(0,0,0,0.6) 50%,
            rgba(0,0,0,0.8) 100%
        );
    }
}

/* Trailer Background */
.hero-trailer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.trailer-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Mobile: Ajustar alinhamento do conteúdo */
@media (max-width: 768px) {
    .hero-content {
        align-items: flex-end;
        justify-content: center;
    }
}

.hero-info {
    max-width: 600px;
    padding: 0 2rem;
    margin-left: -55rem;
    margin-right: auto;
}

.movie-badge {
    background-color: var(--color-gold-orange);
    color: var(--color-black);
    font-size: 0.9rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    color: var(--color-text);
    margin: 0 0 1.5rem 0;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-meta span {
    color: var(--color-text);
    font-size: 1.1rem;
    font-weight: 500;
}

.hero-year,
.hero-duration,
.hero-quality {
    color: var(--color-text-secondary);
}

.hero-rating {
    color: var(--color-gold-orange);
    font-weight: bold;
}

.hero-synopsis {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 2rem;
    max-width: 500px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-info,
.btn-watch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
}

.btn-info {
    background-color: rgba(255,255,255,0.2);
    color: var(--color-text);
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-info:hover {
    background-color: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.8);
}

.btn-watch {
    background-color: var(--color-gold-orange);
    color: var(--color-black);
    border: 2px solid var(--color-gold-orange);
}

.btn-watch:hover {
    background-color: var(--color-gold-orange-light);
    border-color: var(--color-gold-orange-light);
}

.info-icon,
.watch-icon {
    font-size: 1.2rem;
}

/* ==================== MOVIE DETAILS MODAL ==================== */

.movie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 2rem;
}

.movie-modal-content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    background-color: var(--color-black);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    border: none;
    color: var(--color-text);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--color-gold-orange);
    color: var(--color-black);
}

.modal-movie-backdrop {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.modal-backdrop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.8) 100%
    );
}

.modal-movie-info {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    padding: 2rem;
    background-color: var(--color-black);
}

.modal-poster {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.modal-poster img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.modal-poster .modal-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.modal-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-text);
    margin: 0;
}

.modal-original-title {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin: 0;
    font-style: italic;
}

.modal-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.modal-meta span {
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 500;
}

.modal-year,
.modal-duration,
.modal-quality {
    color: var(--color-text-secondary);
}

.modal-rating {
    color: var(--color-gold-orange);
    font-weight: bold;
}

.modal-genres {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.modal-plot {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
}

.modal-crew {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.crew-item {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.crew-item strong {
    color: var(--color-text);
}

.modal-actions {
    margin-top: 1rem;
}

.btn-watch-modal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2.5rem;
    background-color: var(--color-gold-orange);
    color: var(--color-black);
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-watch-modal:hover {
    background-color: #ff8c00;
    transform: scale(1.02);
}

/* ==================== PÁGINAS COM PADDING ==================== */

.genre-page,
.all-movies-page,
.admin-page {
    padding: 2rem 0;
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .genre-page,
    .all-movies-page,
    .admin-page {
        padding: 1rem 0 2rem 0; /* Mais espaço no topo */
    }
}

.admin-layout {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.admin-sidebar {
    width: 250px;
    background-color: var(--color-dark-gray);
    border-radius: 8px;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.admin-sidebar h3 {
    color: var(--color-gold-orange);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-gray);
}

.admin-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-menu li {
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text);
    font-weight: 500;
}

.admin-menu li:hover {
    background-color: var(--color-gray);
    transform: translateX(5px);
}

.admin-menu li.active {
    background-color: var(--color-gold-orange);
    color: var(--color-black);
}

.admin-menu .menu-icon {
    font-size: 1.5rem;
}

.admin-content {
    flex: 1;
    min-width: 0;
}


.genres-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.genre-row {
    width: 100%;
    overflow: hidden; /* Impedir overflow em qualquer direção */
}

/* Mobile - Ajuste de espaçamento */
@media (max-width: 768px) {
    .genres-container {
        gap: 2rem;
    }
}

.genre-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.genre-header h2 {
    color: var(--color-text);
    font-size: 1.8rem;
    margin: 0;
}

.see-all {
    color: var(--color-gold-orange);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.see-all:hover {
    color: var(--color-gold-orange-light);
    background-color: var(--color-gray);
}

.movies-carousel {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 0.5rem;
    padding: 0;
    overflow: hidden; /* Impedir overflow em desktop também */
}

.movie-card-small {
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    padding: 0;
    margin: 0;
    background: transparent;
}

.movie-card-small:hover {
    transform: translateY(-8px) scale(1.08);
    z-index: 10;
}

.movie-poster-small {
    width: 100%;
    height: 260px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--color-black);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.movie-card-small:hover .movie-poster-small {
    box-shadow: 0 8px 30px rgba(255, 165, 0, 0.4);
    border: none;
}

.movie-poster-small img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Todas as capas com mesmo tamanho */
    transition: transform 0.3s;
    background-color: var(--color-black);
}

.movie-card-small:hover .movie-poster-small img {
    transform: scale(1.05);
}

.movie-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.movie-card-small:hover .movie-overlay {
    opacity: 1;
}

.movie-rating,
.movie-year {
    color: var(--color-gold-orange);
    font-size: 0.9rem;
    font-weight: bold;
}

.movie-title-small {
    display: none; /* Ocultar títulos - apenas mostrar capas */
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state h2 {
    color: var(--color-gold-orange);
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.back-link {
    color: var(--color-gold-orange);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--color-gold-orange-light);
}

/* ==================== MOVIES GRID (Para páginas de categoria) ==================== */

.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.movie-card {
    background-color: transparent; /* Fundo transparente para apenas mostrar capa */
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    padding: 0;
    margin: 0;
}

.movie-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.3);
    border: none;
}

.movie-poster {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: var(--color-black);
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Todas as capas com mesmo tamanho */
    background-color: var(--color-black);
}

.movie-info {
    padding: 1rem;
    display: none; /* Ocultar info (título e meta) - apenas mostrar capas */
}

.movie-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.movie-rating {
    color: var(--color-gold-orange);
}

/* ==================== MODAL ==================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 2rem;
    overflow-y: auto;
}

.modal-content {
    background-color: var(--color-dark-gray);
    border-radius: 12px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-gold-orange);
    border: none;
    color: var(--color-black);
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.modal-close:hover {
    background: var(--color-gold-orange-light);
}

.movie-details {
    padding: 2rem;
}

.movie-backdrop {
    width: 100%;
    height: 400px;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.movie-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-header h2 {
    color: var(--color-gold-orange);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.movie-meta-full {
    display: flex;
    gap: 1.5rem;
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.movie-info-full {
    margin-bottom: 2rem;
}

.movie-genres {
    color: var(--color-gold-orange);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.movie-plot {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.movie-credits {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.movie-credits strong {
    color: var(--color-gold-orange);
}

.movie-player {
    margin-top: 2rem;
}

.movie-player h3 {
    color: var(--color-gold-orange);
    margin-bottom: 1rem;
}

.player-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background-color: var(--color-black);
    border-radius: 8px;
    overflow: hidden;
}

.player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==================== PAGINATION ==================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.pagination button {
    background-color: var(--color-gold-orange);
    color: var(--color-black);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s;
}

.pagination button:hover:not(:disabled) {
    background-color: var(--color-gold-orange-light);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==================== SÉRIE/ANIME PAGE ==================== */

.serie-page {
    min-height: calc(100vh - 200px);
}

.serie-backdrop {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    margin-bottom: -150px;
}

.serie-info-section {
    position: relative;
    display: flex;
    gap: 2rem;
    padding: 2rem;
    z-index: 2;
}

.serie-poster-large {
    width: 300px;
    flex-shrink: 0;
}

.serie-poster-large img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.serie-details-main {
    flex: 1;
    color: var(--color-text);
}

.serie-title-large {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.serie-original-title {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.serie-meta-info {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.serie-genres-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.serie-synopsis {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.serie-crew {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.seasons-section {
    padding: 2rem;
}

.seasons-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-gold-orange);
}

.seasons-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.season-item {
    background-color: var(--color-dark-gray);
    border-radius: 12px;
    overflow: hidden;
}

.season-header {
    padding: 1.5rem;
    background-color: var(--color-gray);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.season-header:hover {
    background-color: var(--color-gold-orange);
    color: var(--color-black);
}

.season-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.episode-count {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.season-header:hover .episode-count {
    color: var(--color-black);
}

.toggle-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.episodes-list {
    padding: 1.5rem;
}

.loading-episodes {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-secondary);
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.episode-card {
    background-color: var(--color-gray);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.episode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.3);
}

.episode-thumbnail {
    position: relative;
    width: 100%;
    height: 160px;
    background-color: var(--color-dark-gray);
    overflow: hidden;
}

.episode-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.episode-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-dark-gray), var(--color-gray));
}

.episode-num {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-gold-orange);
}

.episode-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.episode-card:hover .episode-play-overlay {
    opacity: 1;
}

.play-icon {
    font-size: 3rem;
    color: var(--color-gold-orange);
}

.episode-info {
    padding: 1rem;
}

.episode-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.episode-overview {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.episode-runtime {
    font-size: 0.8rem;
    color: var(--color-gold-orange);
}

/* Responsividade Mobile - Página de Série */
@media (max-width: 768px) {
    .serie-info-section {
        flex-direction: column;
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .serie-poster-large {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .serie-details-main {
        text-align: center;
    }
    
    .serie-title-large {
        font-size: 1.5rem;
    }
    
    .serie-meta-info {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .serie-genres-tags {
        justify-content: center;
    }
    
    .serie-crew {
        text-align: left;
    }
    
    .seasons-section {
        padding: 1rem;
    }
    
    .episodes-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .episode-card {
        display: flex;
        gap: 1rem;
    }
    
    .episode-thumbnail {
        width: 120px;
        flex-shrink: 0;
    }
    
    .episode-info {
        padding: 0.75rem;
    }
    
    .episode-title {
        font-size: 0.95rem;
    }
    
    .episode-overview {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .serie-title-large {
        font-size: 1.3rem;
    }
    
    .episode-thumbnail {
        width: 100px;
    }
    
    .episode-title {
        font-size: 0.9rem;
    }
    
    .episodes-grid {
        gap: 0.75rem;
    }
}

/* Página de Episódio */
.episode-page {
    min-height: calc(100vh - 200px);
}

.episode-header {
    padding: 2rem;
    background-color: var(--color-dark-gray);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.back-button {
    background-color: var(--color-gray);
    color: var(--color-text);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.back-button:hover {
    background-color: var(--color-gold-orange);
    color: var(--color-black);
}

.episode-title-info h2 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.episode-title-info p {
    color: var(--color-text-secondary);
}

.episode-player-section {
    padding: 2rem;
}

.episode-player-section .player-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: var(--color-dark-gray);
    border-radius: 8px;
}

.episode-player-section .current-player-label {
    font-weight: 600;
    color: var(--color-text);
}

.episode-player-section .player-selector {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.episode-player-section .player-btn {
    padding: 0.5rem 1rem;
    background-color: var(--color-gray);
    color: var(--color-text);
    border: 2px solid var(--color-gray);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.episode-player-section .player-btn:hover {
    background-color: var(--color-gold-orange);
    border-color: var(--color-gold-orange);
    color: var(--color-black);
}

.episode-player-section .player-btn.active {
    background-color: var(--color-gold-orange);
    border-color: var(--color-gold-orange);
    color: var(--color-black);
}

.episode-player-section .player-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    background-color: var(--color-black);
    border-radius: 8px;
    overflow: hidden;
}

.episode-player-section .player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Permitir fullscreen no player de episódios */
.episode-player-section .player-wrapper:fullscreen {
    height: 100vh;
}

.episode-player-section .player-wrapper:fullscreen iframe {
    width: 100vw;
    height: 100vh;
}

.episode-navigation {
    padding: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.nav-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.prev-btn {
    background-color: var(--color-gray);
    color: var(--color-text);
}

.prev-btn:hover {
    background-color: var(--color-gold-orange);
    color: var(--color-black);
}

.next-btn {
    background-color: var(--color-gold-orange);
    color: var(--color-black);
}

.next-btn:hover {
    background-color: var(--color-gold-orange-light);
}

/* Responsividade Mobile - Página de Episódios */
@media (max-width: 768px) {
    .episode-page {
        min-height: 100vh;
        width: 100%;
        overflow-x: hidden;
    }
    
    .episode-header {
        padding: 1rem;
        gap: 1rem;
        flex-direction: column;
        align-items: flex-start;
        touch-action: manipulation;
    }
    
    .back-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        width: auto;
        touch-action: manipulation;
    }
    
    .episode-title-info {
        width: 100%;
    }
    
    .episode-title-info h2 {
        font-size: 1.2rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .episode-title-info p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .episode-player-section {
        padding: 1rem;
    }
    
    .episode-player-section .player-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .episode-player-section .current-player-label {
        font-size: 0.9rem;
    }
    
    .episode-player-section .player-selector {
        width: 100%;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .episode-player-section .player-btn {
        padding: 0.6rem 0.9rem;
        font-size: 0.85rem;
        flex: 1;
        min-width: calc(50% - 0.25rem);
        text-align: center;
        touch-action: manipulation;
    }
    
    .episode-player-section .player-wrapper {
        height: 250px;
        border-radius: 8px;
        margin-bottom: 1rem;
    }
    
    .episode-navigation {
        padding: 1rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .nav-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        touch-action: manipulation;
    }
    
    .episode-description {
        padding: 1rem;
    }
    
    .episode-description h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .episode-description p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Mobile Pequeno - Ajustes extras */
@media (max-width: 480px) {
    .episode-header {
        padding: 0.75rem;
    }
    
    .episode-title-info h2 {
        font-size: 1.1rem;
    }
    
    .episode-title-info p {
        font-size: 0.85rem;
    }
    
    .episode-player-section {
        padding: 0.75rem;
    }
    
    .episode-player-section .player-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .episode-player-section .player-wrapper {
        height: 220px;
    }
    
    .nav-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .episode-player-section .player-wrapper {
        height: 70vh;
        max-height: 400px;
    }
    
    .episode-header {
        padding: 0.75rem;
    }
    
    .episode-player-section {
        padding: 0.75rem;
    }
    
    .episode-navigation {
        flex-direction: row;
        padding: 0.75rem;
    }
    
    .nav-btn {
        flex: 1;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
}

.episode-description {
    padding: 2rem;
    background-color: var(--color-dark-gray);
    margin: 2rem;
    border-radius: 12px;
}

.episode-description h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-gold-orange);
}

.episode-description p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
}

/* ==================== ADMIN PAGE ==================== */

/* Linha de Contadores */
.counters-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Widget de Usuários Online e Visitas */
.online-users-widget {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid var(--color-gold-orange);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.2);
    animation: slideInRight 0.5s ease;
}

.widget-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.widget-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.widget-label {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget-value {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.online-count {
    color: var(--color-gold-orange);
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.online-indicator {
    color: var(--color-success);
    font-size: 1.2rem;
    animation: none;
}

.online-indicator.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Estilos para contador de visitas */
.visits-counter .widget-value {
    min-height: 40px;
}

#sfcylg3wfxbabh29xbnay185rrxfh7x8xwp {
    display: flex;
    align-items: center;
    justify-content: center;
}

#sfcylg3wfxbabh29xbnay185rrxfh7x8xwp a {
    text-decoration: none;
}

#sfcylg3wfxbabh29xbnay185rrxfh7x8xwp img {
    max-height: 40px;
    filter: brightness(1.2);
}

.admin-controls {
    background-color: var(--color-dark-gray);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.control-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--color-gold-orange);
    color: var(--color-black);
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--color-gold-orange-light);
}

.btn-danger {
    background-color: var(--color-error);
    color: var(--color-text);
}

.btn-danger:hover:not(:disabled) {
    background-color: #ff6666;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.import-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.stat-card {
    background-color: var(--color-gray);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.2);
}

.download-hint {
    font-size: 0.75rem;
    color: var(--color-gold-orange);
    margin-top: 0.25rem;
    opacity: 0.8;
}

.stat-label {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    color: var(--color-gold-orange);
    font-size: 2rem;
    font-weight: bold;
}

.stat-value.active {
    color: var(--color-success);
}

.stat-value.error {
    color: var(--color-error);
}

/* ==================== LOGS ==================== */

.custom-import-section {
    background-color: var(--color-dark-gray);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.custom-import-section h3 {
    color: var(--color-gold-orange);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.section-description {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.custom-ids-textarea {
    width: 100%;
    min-height: 150px;
    padding: 1rem;
    background-color: var(--color-gray);
    border: 2px solid var(--color-dark-gray);
    border-radius: 8px;
    color: var(--color-text);
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    resize: vertical;
    margin-bottom: 1rem;
    transition: border-color 0.3s;
}

.custom-ids-textarea:focus {
    outline: none;
    border-color: var(--color-gold-orange);
}

.custom-ids-textarea::placeholder {
    color: var(--color-text-secondary);
    opacity: 0.6;
}

.custom-ids-textarea:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-success {
    background-color: #28a745;
    color: white;
    border: none;
}

.btn-success:hover:not(:disabled) {
    background-color: #218838;
}

.logs-container {
    background-color: var(--color-dark-gray);
    border-radius: 8px;
    overflow: hidden;
}

.logs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 2px solid var(--color-gold-orange);
}

.logs-header h3 {
    color: var(--color-gold-orange);
}

.logs-content {
    height: 500px;
    overflow-y: auto;
    padding: 1rem;
    background-color: var(--color-black);
    font-family: 'Courier New', monospace;
}

.log-entry {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-left: 3px solid var(--color-gray);
    background-color: var(--color-dark-gray);
    border-radius: 4px;
    font-size: 0.9rem;
}

.log-entry.success {
    border-left-color: var(--color-success);
}

.log-entry.error {
    border-left-color: var(--color-error);
}

.log-entry.info {
    border-left-color: var(--color-gold-orange);
}

.log-entry.processing {
    border-left-color: var(--color-gold-orange-light);
}

.log-time {
    color: var(--color-text-secondary);
    margin-right: 0.5rem;
}

.log-imdb {
    color: var(--color-gold-orange);
    margin-right: 0.5rem;
}

.log-title {
    color: var(--color-gold-orange-light);
    margin-right: 0.5rem;
    font-weight: bold;
}

.log-message {
    color: var(--color-text);
}

.log-progress {
    color: var(--color-success);
    margin-left: 0.5rem;
    font-weight: bold;
}

/* ==================== LOADING & ERROR ==================== */

.loading,
.error {
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
}

.loading {
    color: var(--color-gold-orange);
}

.error {
    color: var(--color-error);
}

/* ==================== PÁGINA DE FILME ==================== */

.movie-page {
    min-height: calc(100vh - 200px);
}

.movie-backdrop-full {
    position: relative;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    margin-bottom: -200px;
}

.backdrop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.3) 0%, 
        rgba(0,0,0,0.7) 50%, 
        rgba(0,0,0,1) 100%);
}

.movie-content {
    position: relative;
}

.movie-info-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.movie-poster-large {
    width: 300px;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.movie-poster-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--color-black);
}

.movie-details-main {
    padding-top: 80px;
}

.movie-title-large {
    font-size: 3rem;
    color: var(--color-gold-orange);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.movie-original-title {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.movie-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--color-gray);
    border-bottom: 1px solid var(--color-gray);
}

.meta-item {
    font-size: 1.1rem;
    color: var(--color-text);
}

.meta-item strong {
    color: var(--color-gold-orange);
    margin-right: 0.5rem;
}

.meta-item.rating {
    color: var(--color-gold-orange);
    font-size: 1.3rem;
    font-weight: bold;
}

.movie-genres-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.genre-tag {
    background-color: var(--color-gray);
    color: var(--color-gold-orange);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    border: 1px solid var(--color-gold-orange);
}

.movie-synopsis {
    margin-bottom: 2rem;
}

.movie-synopsis h3 {
    color: var(--color-gold-orange);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.movie-synopsis p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.movie-crew {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.crew-item {
    font-size: 1rem;
    color: var(--color-text);
}

.crew-item strong {
    color: var(--color-gold-orange);
    margin-right: 0.5rem;
}

.movie-player-section {
    margin-bottom: 3rem;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.movie-player-section h2 {
    color: var(--color-gold-orange);
    font-size: 2rem;
    margin: 0;
}

.player-selector {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.player-btn {
    background-color: var(--color-gray);
    color: var(--color-text);
    border: 2px solid var(--color-gray);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.player-btn:hover {
    background-color: var(--color-light-gray);
    border-color: var(--color-gold-orange);
}

.player-btn.active {
    background-color: var(--color-gold-orange);
    color: var(--color-black);
    border-color: var(--color-gold-orange);
}

.player-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background-color: var(--color-black);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 165, 0, 0.3);
}

.player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: auto;
}

/* Camada de proteção contra pop-ups */
.player-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.player-wrapper iframe {
    z-index: 0;
}

/* Permitir fullscreen no iframe */
.player-wrapper:fullscreen {
    padding-bottom: 0;
}

.player-wrapper:fullscreen iframe {
    width: 100vw;
    height: 100vh;
}

.back-to-home {
    text-align: center;
    margin-bottom: 3rem;
}

.btn-secondary {
    background-color: var(--color-gray);
    color: var(--color-text);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: background 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--color-light-gray);
}

.error-page {
    text-align: center;
    padding: 4rem 2rem;
}

.error-page h2 {
    color: var(--color-error);
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* ==================== AUTH LOADING ==================== */

.auth-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.auth-loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 165, 0, 0.1);
    border-top-color: var(--color-gold-orange);
    border-radius: 50%;
    animation: auth-spin 0.8s linear infinite;
}

@keyframes auth-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==================== FOOTER ==================== */

.footer {
    background-color: var(--color-dark-gray);
    border-top: 2px solid var(--color-gold-orange);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.footer p {
    color: var(--color-text-secondary);
}

/* Footer mobile - não ser coberto pelo bottom nav */
@media (max-width: 768px) {
    .footer {
        margin-bottom: 70px;
    }
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1400px) {
    .movies-carousel {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.5rem;
    }
}

@media (max-width: 1200px) {
    .movies-carousel {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
}

@media (max-width: 992px) {
    .movies-carousel {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .genre-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .movies-carousel {
        grid-template-columns: repeat(6, 1fr);
        gap: 0.5rem;
    }
    
    .movie-poster-small {
        height: 220px;
    }
    
    .movies-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 0.5rem;
    }
    
    .movie-poster {
        height: 240px;
    }
}

@media (max-width: 768px) {
    /* Mostrar Bottom Navigation */
    .bottom-nav-mobile {
        display: block;
    }
    
    /* Ajustar Navbar Superior - Esconder menu desktop */
    .navbar .container {
        flex-direction: row;
        gap: 1rem;
        min-height: 60px;
    }
    
    .navbar-menu {
        display: none; /* Esconder menu desktop em mobile */
    }
    
    /* Busca Mobile */
    .navbar-search {
        flex: 1;
        max-width: none;
        margin: 0 0 0 1rem;
    }
    
    .navbar-brand h1 {
        font-size: 1.5rem;
    }
    
    .navbar-logo {
        height: 40px;
    }
    
    .movies-carousel {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden; /* Impedir scroll vertical */
        gap: 1rem;
        padding: 0 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .movies-carousel::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }
    
    .movie-card-small {
        flex: 0 0 45%; /* Cada card ocupa 45% da largura */
        scroll-snap-align: start;
    }
    
    .movie-poster-small {
        height: 280px;
        border-radius: 8px; /* Bordas arredondadas */
    }
    
    .movie-poster-small img {
        object-fit: cover;
    }
    
    .genre-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .movies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .movie-poster {
        height: 280px;
        border-radius: 8px; /* Bordas arredondadas */
    }
    
    .movie-poster img {
        object-fit: cover;
    }
    
    .movie-card,
    .movie-card-small {
        border-radius: 8px; /* Cards com bordas arredondadas */
    }
    
    .episode-player-section .player-wrapper {
        height: 400px;
    }
    
    .modal-content {
        margin: 1rem;
    }
    
    .movie-backdrop {
        height: 250px;
    }
    
    .control-buttons {
        flex-direction: column;
    }
    
    .import-stats {
        grid-template-columns: 1fr;
    }
    
    /* Admin Layout Mobile */
    .admin-layout {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        position: static;
    }
    
    .admin-menu {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        overflow-x: auto;
    }
    
    .admin-menu li {
        flex-shrink: 0;
        min-width: 120px;
        justify-content: center;
    }
    
    /* Widget Online Mobile */
    .counters-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .online-users-widget {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .widget-icon {
        font-size: 2rem;
    }
    
    .online-count {
        font-size: 1.5rem;
    }
    
    .widget-label {
        font-size: 0.8rem;
    }
    
    /* Hero Slider Mobile */
    .hero-slider {
        height: 60vh;
        min-height: 450px;
    }
    
    .hero-info {
        margin-left: 0.5rem;
        max-width: 100%;
        padding: 1rem;
        position: absolute;
        bottom: 2rem;
        left: 0;
        right: 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-synopsis {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        max-width: 100%;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    
    .btn-info,
    .btn-watch {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-meta {
        gap: 1rem;
        font-size: 0.95rem;
    }
    
    /* Página de filme em mobile */
    .movie-backdrop-full {
        height: 300px;
        margin-bottom: -100px;
    }
    
    .movie-info-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .movie-poster-large {
        width: 200px;
        height: 300px;
        margin: 0 auto;
    }
    
    .movie-details-main {
        padding-top: 20px;
    }
    
    .movie-title-large {
        font-size: 2rem;
    }
    
    .movie-original-title {
        font-size: 1.2rem;
    }
    
    .movie-meta-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .player-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .player-selector {
        width: 100%;
    }
    
    .player-btn {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 1rem; /* Espaço extra no topo */
    }
    
    .header-content {
        width: 100%;
    }
    
    /* Movie Modal Mobile */
    .movie-modal {
        padding: 0.5rem;
    }
    
    .movie-modal-content {
        max-height: 85vh;
        width: 95%;
        max-width: 400px;
        overflow-y: auto; /* Adicionar scroll */
    }
    
    .modal-movie-info {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .modal-poster {
        text-align: center;
        order: 2;
    }
    
    .modal-poster img {
        width: 150px;
        height: 220px;
    }
    
    .modal-poster .modal-actions {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .modal-details {
        order: 1;
        text-align: center;
    }
    
    .modal-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .modal-meta {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
        margin-bottom: 0.5rem;
    }
    
    .modal-close {
        position: fixed !important; /* Forçar posição fixa */
        top: 15px !important;
        right: 15px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 1.5rem !important;
        background: rgba(0,0,0,0.9) !important;
        border-radius: 50% !important;
        z-index: 1002 !important; /* Acima do modal */
        color: white !important;
        border: 2px solid white !important;
    }
    
    /* Scrollbar customizada para modal mobile */
    .movie-modal-content::-webkit-scrollbar {
        width: 6px;
    }
    
    .movie-modal-content::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }
    
    .movie-modal-content::-webkit-scrollbar-thumb {
        background: var(--color-gold-orange);
        border-radius: 3px;
    }
    
    .movie-modal-content::-webkit-scrollbar-thumb:hover {
        background: var(--color-gold-orange-light);
    }
    
    .modal-movie-backdrop {
        height: 200px;
    }
    
    .modal-plot {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .modal-crew {
        display: none;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding-bottom: 80px;
    }
    
    /* Modal ainda mais compacto para telas pequenas */
    .movie-modal-content {
        max-height: 80vh;
        width: 98%;
        max-width: 350px;
        overflow-y: auto; /* Adicionar scroll */
    }
    
    .modal-movie-backdrop {
        height: 150px;
    }
    
    .modal-poster img {
        width: 120px;
        height: 180px;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .modal-plot {
        font-size: 0.8rem;
    }
    
    .modal-close {
        position: fixed !important; /* Forçar posição fixa */
        top: 10px !important;
        right: 10px !important;
        width: 35px !important;
        height: 35px !important;
        font-size: 1.3rem !important;
        background: rgba(0,0,0,0.9) !important;
        border-radius: 50% !important;
        z-index: 1002 !important; /* Acima do modal */
        color: white !important;
        border: 2px solid white !important;
    }
    
    .btn-add-list {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .btn-watch-modal {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
    
    .movies-carousel {
        padding: 0 0.75rem;
        overflow-y: hidden; /* Impedir scroll vertical */
    }
    
    .movie-card-small {
        flex: 0 0 42%;
    }
    
    .movie-poster-small {
        height: 260px;
        border-radius: 8px;
    }
    
    .movie-poster-small img {
        object-fit: cover;
    }
    
    .movies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .movie-poster {
        height: 260px;
        border-radius: 8px;
    }
    
    .movie-poster img {
        object-fit: cover;
    }
    
    .movie-card,
    .movie-card-small {
        border-radius: 8px;
    }
    
    .episode-player-section .player-wrapper {
        height: 300px;
    }
    
    .navbar-brand h1 {
        font-size: 1.5rem;
    }
    
    .genre-header h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 360px) {
    .movies-carousel {
        padding: 0 0.5rem;
        overflow-y: hidden; /* Impedir scroll vertical */
    }
    
    .movie-card-small {
        flex: 0 0 40%;
    }
    
    .movie-poster-small {
        height: 240px;
        border-radius: 8px;
    }
    
    .movie-poster-small img {
        object-fit: cover;
    }
    
    .movies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .movie-poster {
        height: 240px;
        border-radius: 8px;
    }
    
    .movie-poster img {
        object-fit: cover;
    }
    
    .movie-card,
    .movie-card-small {
        border-radius: 8px;
    }
    
    .hero-slider {
        height: 65vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .btn-info,
    .btn-watch {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* ==================== ADMIN LOGIN ==================== */

.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-black) 0%, #1a1a1a 100%);
    padding: 2rem;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-box {
    background: var(--color-dark-gray);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 165, 0, 0.1);
}

.login-box h2 {
    color: var(--color-gold-orange);
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.login-subtitle {
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.password-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--color-black);
    border: 2px solid var(--color-gray);
    border-radius: 8px;
    color: var(--color-text);
    font-size: 1.1rem;
    transition: all 0.3s;
    text-align: center;
    letter-spacing: 0.2rem;
}

.password-input:focus {
    outline: none;
    border-color: var(--color-gold-orange);
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.1);
}

.password-input.error {
    border-color: #e74c3c;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.error-message {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c;
    color: #e74c3c;
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.btn-login {
    width: 100%;
    padding: 1rem;
    background: var(--color-gold-orange);
    color: var(--color-black);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    background: #ff8c00;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

.back-to-home-link {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.back-to-home-link:hover {
    color: var(--color-gold-orange);
}

/* Botão de Logout */
.admin-logout {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

.btn-logout {
    padding: 0.75rem 1.5rem;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-logout:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.admin-content-wrapper {
    position: relative;
}

@media (max-width: 768px) {
    .login-box {
        padding: 2rem;
    }
    
    .login-box h2 {
        font-size: 1.5rem;
    }
    
    .admin-logout {
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .btn-logout {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* ==================== NETFLIX LOGIN STYLE ==================== */

.netflix-login-page {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    background: url('/assets/img/fundos/bdlogin.jpg') center/cover;
    background-attachment: fixed;
}

.netflix-login-page::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.netflix-login-header {
    padding: 1.5rem 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.netflix-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.netflix-logo:hover {
    transform: scale(1.05);
}

.netflix-login-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 5;
    position: relative;
}

.netflix-login-box {
    background: rgba(0, 0, 0, 0.85);
    border-radius: 4px;
    padding: 3.5rem 4rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
}

.netflix-login-box h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1.75rem;
    font-weight: 500;
}

.netflix-form-group {
    margin-bottom: 1rem;
}

.netflix-form-group input {
    width: 100%;
    padding: 1rem;
    background: #333;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
    transition: background 0.2s;
}

.netflix-form-group input:focus {
    outline: none;
    background: #454545;
}

.netflix-form-group input::placeholder {
    color: #8c8c8c;
}

.netflix-error {
    background: #e87c03;
    color: #fff;
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.netflix-btn-submit {
    width: 100%;
    padding: 1rem;
    background: #e50914;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: background 0.2s;
}

.netflix-btn-submit:hover:not(:disabled) {
    background: #f40612;
}

.netflix-btn-submit:disabled {
    background: #8c8c8c;
    cursor: not-allowed;
}

.netflix-divider {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
}

.netflix-toggle {
    color: #737373;
    font-size: 0.9rem;
}

.netflix-toggle a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: text-decoration 0.2s;
}

.netflix-toggle a:hover {
    text-decoration: underline;
}

/* Novos elementos Netflix */

.netflix-forgot-password {
    text-align: right;
    margin-bottom: 1rem;
}

.netflix-forgot-password a {
    color: #737373;
    text-decoration: none;
    font-size: 0.9rem;
}

.netflix-forgot-password a:hover {
    color: #fff;
    text-decoration: underline;
}

.netflix-remember-me {
    margin-bottom: 1.5rem;
}

.netflix-checkbox {
    display: flex;
    align-items: center;
    color: #737373;
    font-size: 0.9rem;
    cursor: pointer;
}

.netflix-checkbox input[type="checkbox"] {
    display: none;
}

.netflix-checkbox .checkmark {
    width: 16px;
    height: 16px;
    border: 1px solid #737373;
    border-radius: 2px;
    margin-right: 0.5rem;
    position: relative;
    background: transparent;
    transition: all 0.3s ease;
}

.netflix-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #e50914;
    border-color: #e50914;
}

.netflix-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: bold;
}

.netflix-register-prompt {
    text-align: center;
    margin-bottom: 1.5rem;
}

.netflix-register-prompt span {
    color: #737373;
    font-size: 0.9rem;
}

.netflix-register-prompt a {
    color: #fff;
    text-decoration: none;
}

.netflix-register-prompt a:hover {
    text-decoration: underline;
}

.netflix-recaptcha {
    margin-top: 1rem;
}

.netflix-recaptcha p {
    color: #737373;
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
}

.netflix-recaptcha a {
    color: #0071eb;
    text-decoration: none;
}

.netflix-recaptcha a:hover {
    text-decoration: underline;
}

.netflix-login-footer {
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    z-index: 5;
}

.netflix-login-footer p {
    color: #737373;
    margin: 0;
    font-size: 0.9rem;
}

/* Botão de Logout no NavBar */
.navbar-logout-btn {
    background: #e50914;
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s;
    margin-left: auto;
    height: 40px;
    display: flex;
    align-items: center;
}

.navbar-logout-btn:hover {
    background: #f40612;
}

@media (max-width: 768px) {
    .netflix-logo {
        height: 45px;
    }
    
    .netflix-login-box {
        padding: 2.5rem 2rem;
    }
    
    .netflix-login-box h2 {
        font-size: 1.5rem;
    }
    
    .navbar-menu {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .navbar-logout-btn {
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* ==================== MOVIE CARD ENHANCEMENTS ==================== */

.movie-card-small {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.movie-card-small:hover {
    transform: scale(1.05);
}

/* Botão Adicionar à Lista (Hero) */
.btn-add-list-hero {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid white;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    padding: 0;
}

.btn-add-list-hero:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

.btn-add-list-hero.added {
    background: rgba(255, 165, 0, 0.8);
    border-color: var(--color-gold-orange);
    color: var(--color-black);
}

/* Botão Adicionar à Lista (Modal) */
.modal-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-add-list {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: rgba(42, 42, 42, 0.6);
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
}

.btn-add-list:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

.btn-add-list.added {
    background: var(--color-gold-orange);
    border-color: var(--color-gold-orange);
    color: var(--color-black);
}

.btn-add-list.added:hover {
    background: #ff8c00;
    border-color: #ff8c00;
}

.btn-add-list:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Página de Gerenciamento de Filmes no Admin */
.manage-movies-page {
    padding: 2rem 0;
}

.search-container {
    margin-bottom: 0rem;
}

/* Paginação do Admin */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem;
}

.btn-pagination {
    background: #e50914;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-pagination:hover:not(:disabled) {
    background: #b8070f;
}

.btn-pagination:disabled {
    background: #666;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.page-number {
    background: #333;
    color: white;
    border: 1px solid #555;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
    min-width: 40px;
}

.page-number:hover {
    background: #555;
}

.page-number.active {
    background: #e50914;
    border-color: #e50914;
}

.page-ellipsis {
    color: #999;
    padding: 0.5rem;
}

/* Informações da página */
.page-info {
    background: #222;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
}

/* Botão limpar busca */
.clear-search-btn {
    background: #666;
    color: white;
    border: none;
    padding: 0.3rem 0.6rem;
    border-radius: 50%;
    cursor: pointer;
    margin-left: 0.5rem;
    font-size: 0.8rem;
    transition: background 0.3s;
}

.clear-search-btn:hover {
    background: #999;
}

/* Responsividade da paginação */
@media (max-width: 768px) {
    .pagination {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .page-numbers {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .btn-pagination {
        width: 100%;
        max-width: 200px;
    }
}

/* Interface Visual do Player com Progresso */

/* Overlay "Continuar Assistindo" */
.continue-watching-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    animation: fadeIn 0.3s ease-in-out;
}

.continue-watching-box {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid #e50914;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(229, 9, 20, 0.4);
    animation: slideUp 0.4s ease-out;
}

.continue-watching-box h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.continue-watching-box p {
    color: #ccc;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.continue-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-continue,
.btn-restart {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-continue {
    background: #e50914;
    color: white;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.btn-continue:hover {
    background: #b8070f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.6);
}

.btn-restart {
    background: #333;
    color: white;
    border: 1px solid #555;
}

.btn-restart:hover {
    background: #444;
    border-color: #777;
    transform: translateY(-2px);
}

/* Barra de Status do Player */
.player-status-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}

.status-indicators,
.progress-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.status-saving,
.status-blocked,
.progress-info span {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: fadeInScale 0.3s ease-out;
}

.status-saving {
    background: rgba(0, 150, 255, 0.2);
    border-color: rgba(0, 150, 255, 0.5);
}

.status-blocked {
    background: rgba(229, 9, 20, 0.2);
    border-color: rgba(229, 9, 20, 0.5);
}

.progress-info span {
    background: rgba(255, 165, 0, 0.2);
    border-color: rgba(255, 165, 0, 0.5);
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .continue-watching-box {
        padding: 1.5rem;
        max-width: 90%;
    }
    
    .continue-watching-box h3 {
        font-size: 1.4rem;
    }
    
    .continue-watching-box p {
        font-size: 1rem;
    }
    
    .continue-buttons {
        flex-direction: column;
    }
    
    .btn-continue,
    .btn-restart {
        width: 100%;
    }
    
    .player-status-bar {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .status-indicators,
    .progress-info {
        flex-direction: column;
        width: 100%;
    }
}

.search-input {
    width: 100%;
    max-width: 400px;
    padding: 0.75rem 1rem;
    border: 2px solid #333;
    border-radius: 8px;
    background: #222;
    color: white;
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--color-gold-orange);
}

.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.movie-admin-card {
    background: #222;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.movie-admin-card .movie-poster {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.movie-admin-card .movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-admin-card .movie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.movie-admin-card:hover .movie-overlay {
    opacity: 1;
}

.edit-icon {
    font-size: 2rem;
    color: var(--color-gold-orange);
}

.movie-admin-card .movie-info {
    padding: 1rem;
}

.movie-admin-card .movie-info h4 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    line-height: 1.3;
}

.movie-admin-card .movie-info p {
    color: #ccc;
    margin: 0;
    font-size: 0.9rem;
}

.featured-badge {
    display: inline-block;
    background: var(--color-gold-orange);
    color: var(--color-black);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

/* Modal de Edição de Filme */
.edit-movie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
}

.edit-movie-content {
    background: var(--color-black);
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.edit-movie-content h3 {
    color: var(--color-gold-orange);
    margin: 0 0 2rem 0;
    text-align: center;
}

.edit-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: white;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #333;
    border-radius: 6px;
    background: #222;
    color: white;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold-orange);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.form-actions .btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--color-gold-orange);
    color: var(--color-black);
}

.btn-primary:hover:not(:disabled) {
    background: #ff8c00;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background: #c82333;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background: #5a6268;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Página Minha Lista */
.my-list-page {
    padding: 2rem 0;
    min-height: 80vh;
}

/* Mobile: Ajustar padding para compensar header */
@media (max-width: 768px) {
    .my-list-page {
        padding: 1rem 0 2rem 0;
    }
}

.my-list-page .page-header {
    margin-bottom: 2rem;
}

.my-list-page .subtitle {
    color: var(--color-text-secondary);
    margin-top: 0.5rem;
}

.my-list-page .empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.my-list-page .empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.my-list-page .empty-state p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .btn-add-list-hero {
        width: 42px;
        height: 42px;
        font-size: 1.8rem;
        font-weight: 700;
        margin-left: 0.5rem;
    }
    
    .modal-actions {
        flex-wrap: wrap;
    }
    
    .btn-watch-modal {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
    }
    
    .btn-add-list {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        font-weight: 700;
    }
}


/* Importação com Múltiplas Fontes */
.import-sources {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.source-group {
    background: #222;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid #333;
}

.source-group h4 {
    color: var(--color-gold-orange);
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.control-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-success {
    background: #28a745;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-success:hover:not(:disabled) {
    background: #218838;
}

@media (max-width: 768px) {
    .import-sources {
        gap: 1rem;
    }
    
    .source-group {
        padding: 1rem;
    }
    
    .source-group h4 {
        font-size: 1rem;
    }
}

/* ==================== PERFIL PAGE ==================== */

.profile-page {
    padding: 2rem 0;
    min-height: 80vh;
}

/* Header do Perfil */
.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--color-dark-gray);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.avatar-section {
    flex-shrink: 0;
}

.avatar-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 3px solid var(--color-gold-orange);
    transition: transform 0.3s ease;
}

.avatar-container:hover {
    transform: scale(1.05);
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-icon {
    font-size: 3rem;
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 2rem;
}

.avatar-container:hover .avatar-overlay {
    opacity: 1;
}

.profile-info h3 {
    color: var(--color-text);
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.status-badge.vip {
    background: linear-gradient(135deg, var(--color-gold-orange), #ff8c00);
    color: var(--color-black);
}

.status-badge.free {
    background: var(--color-gray);
    color: var(--color-text);
}

.user-email {
    color: var(--color-text-secondary);
    margin: 0;
}

.vip-expires {
    color: var(--color-gold-orange);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0.75rem 0 0.25rem 0;
    padding: 0.5rem 1rem;
    background: rgba(255, 165, 0, 0.1);
    border-left: 3px solid var(--color-gold-orange);
    border-radius: 4px;
    display: inline-block;
    animation: glow-vip-text 2s ease-in-out infinite;
}

@keyframes glow-vip-text {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(255, 165, 0, 0.2);
    }
    50% { 
        box-shadow: 0 0 15px rgba(255, 165, 0, 0.4);
    }
}

/* Links Rápidos do Perfil */
.profile-quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.quick-link-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #333;
    border-radius: 12px;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 1rem;
}

.quick-link-btn:hover {
    border-color: var(--color-gold-orange);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 165, 0, 0.3);
}

.quick-link-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.quick-link-text {
    flex: 1;
    font-weight: 600;
    font-size: 1rem;
}

.quick-link-arrow {
    font-size: 1.2rem;
    color: var(--color-gold-orange);
    transition: transform 0.3s ease;
}

.quick-link-btn:hover .quick-link-arrow {
    transform: translateX(5px);
}

/* Responsividade dos Links Rápidos */
@media (max-width: 768px) {
    .profile-quick-links {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin: 1.5rem 0;
    }
    
    .quick-link-btn {
        padding: 1rem;
        touch-action: manipulation;
    }
}

@media (max-width: 480px) {
    .quick-link-btn {
        padding: 0.85rem;
    }
    
    .quick-link-icon {
        font-size: 1.3rem;
    }
    
    .quick-link-text {
        font-size: 0.9rem;
    }
}

/* Abas de Navegação */
.profile-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--color-gray);
    touch-action: manipulation;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    color: var(--color-text);
}

.tab-btn.active {
    color: var(--color-gold-orange);
    border-bottom-color: var(--color-gold-orange);
}

/* Conteúdo das Abas */
.profile-content {
    background: var(--color-dark-gray);
    padding: 2rem;
    border-radius: 12px;
}

.tab-content {
    animation: fadeIn 0.3s ease;
}

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

/* Formulário de Perfil */
.profile-form {
    max-width: 600px;
}

.profile-form .form-group {
    margin-bottom: 1.5rem;
}

.profile-form label {
    display: block;
    color: var(--color-text);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.profile-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--color-gray);
    border: 2px solid var(--color-light-gray);
    border-radius: 8px;
    color: var(--color-text);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.profile-form input:focus {
    outline: none;
    border-color: var(--color-gold-orange);
}

.profile-form input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.profile-form small {
    display: block;
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Seção de Segurança */
.security-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.security-card {
    background: var(--color-gray);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--color-light-gray);
}

.security-card h3 {
    color: var(--color-gold-orange);
    margin: 0 0 1rem 0;
}

.security-card p {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.danger-zone {
    border-color: var(--color-error);
}

.danger-zone h3 {
    color: var(--color-error);
}

/* Histórico de Visualização */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--color-gray);
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.history-item:hover {
    border-color: var(--color-gold-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.2);
}

.history-poster {
    width: 80px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.history-info {
    flex: 1;
}

.history-info h4 {
    color: var(--color-text);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.history-meta {
    color: var(--color-text-secondary);
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
}

.history-date {
    color: var(--color-gold-orange);
    margin: 0;
    font-size: 0.85rem;
}

.history-progress {
    width: 100px;
    flex-shrink: 0;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--color-dark-gray);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--color-gold-orange);
    transition: width 0.3s ease;
}

/* Modal de Confirmação de Exclusão */
.delete-confirm-modal {
    background: var(--color-dark-gray);
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    border: 2px solid var(--color-error);
}

.delete-confirm-modal h3 {
    color: var(--color-error);
    margin: 0 0 1rem 0;
}

.delete-confirm-modal p {
    color: var(--color-text);
    margin-bottom: 1rem;
}

.delete-confirm-modal .modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Mensagens Toast */
.message-toast {
    position: fixed;
    bottom: 100px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 10000;
    animation: slideInRight 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.message-toast.success {
    background: var(--color-success);
}

.message-toast.error {
    background: var(--color-error);
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .avatar-container {
        width: 100px;
        height: 100px;
    }
    
    .profile-info h3 {
        font-size: 1.5rem;
    }
    
    .profile-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.5rem;
    }
    
    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .profile-content {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .history-item {
        flex-direction: column;
        text-align: center;
    }
    
    .history-poster {
        width: 100px;
        height: 150px;
    }
    
    .history-progress {
        width: 100%;
    }
    
    .message-toast {
        left: 20px;
        right: 20px;
        bottom: 80px;
    }
    
    .delete-confirm-modal .modal-actions {
        flex-direction: column;
    }
    
    .security-section {
        gap: 1.5rem;
    }
    
    .security-card {
        padding: 1.5rem;
    }
}

/* ==================== PADDING TOP MOBILE - REGRAS FINAIS ==================== */

/* Home: sem padding-top */
@media (max-width: 768px) {
    .home-page .main-content {
        padding-top: 0 !important;
    }
}

@media (max-width: 480px) {
    .home-page .main-content {
        padding-top: 0 !important;
    }
}

/* Outras páginas: padding-top reduzido pela metade */
@media (max-width: 768px) {
    .genre-page .main-content,
    .all-movies-page .main-content,
    .admin-page .main-content,
    .my-list-page .main-content,
    .serie-page .main-content,
    .episode-page .main-content,
    .movie-page .main-content {
        padding-top: 40px !important;
    }
}

@media (max-width: 480px) {
    .genre-page .main-content,
    .all-movies-page .main-content,
    .admin-page .main-content,
    .my-list-page .main-content,
    .serie-page .main-content,
    .episode-page .main-content,
    .movie-page .main-content {
        padding-top: 35px !important;
    }
}

/* ==================== GERENCIAMENTO DE USUÁRIOS ==================== */

.manage-users-page {
    width: 100%;
}

.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.user-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold-orange) 0%, var(--color-gold-orange-light) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.user-card:hover {
    border-color: var(--color-gold-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.2);
}

.user-card:hover::before {
    opacity: 1;
}

.user-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.user-header h4 {
    font-size: 1.2rem;
    color: var(--color-gold-orange);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.user-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.badge-active {
    background: rgba(68, 255, 68, 0.2);
    color: #44ff44;
    border: 1px solid #44ff44;
}

.badge-banned {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
    border: 1px solid #ff4444;
    animation: pulse-badge 2s ease-in-out infinite;
}

.badge-vip {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 165, 0, 0.2) 100%);
    color: #ffd700;
    border: 1px solid #ffd700;
    animation: glow-vip 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes glow-vip {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    }
    50% { 
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    }
}

.user-info {
    margin-bottom: 1.5rem;
}

.user-info p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-info strong {
    color: var(--color-text);
    min-width: 100px;
    display: inline-block;
}

.user-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.btn-action {
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-ban {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: white;
}

.btn-ban:hover {
    background: linear-gradient(135deg, #ff6666 0%, #ff0000 100%);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 68, 68, 0.4);
}

.btn-unban {
    background: linear-gradient(135deg, #44ff44 0%, #00cc00 100%);
    color: white;
}

.btn-unban:hover {
    background: linear-gradient(135deg, #66ff66 0%, #00ff00 100%);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(68, 255, 68, 0.4);
}

.btn-vip {
    background: linear-gradient(135deg, #ffd700 0%, var(--color-gold-orange) 100%);
    color: #000;
}

.btn-vip:hover {
    background: linear-gradient(135deg, #ffe44d 0%, var(--color-gold-orange-light) 100%);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-remove-vip {
    background: linear-gradient(135deg, #666 0%, #444 100%);
    color: white;
}

.btn-remove-vip:hover {
    background: linear-gradient(135deg, #888 0%, #666 100%);
    transform: scale(1.05);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #34E877 0%, #1aa589 100%);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.btn-delete {
    background: linear-gradient(135deg, #666 0%, #333 100%);
    color: white;
    border: 1px solid #999;
}

.btn-delete:hover {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    border-color: #ff4444;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 68, 68, 0.3);
}

/* Responsividade para usuários */
@media (max-width: 768px) {
    .users-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .user-card {
        padding: 1rem;
    }
    
    .user-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .user-badges {
        width: 100%;
        justify-content: flex-start;
    }
    
    .user-actions {
        grid-template-columns: 1fr;
    }
    
    .btn-action {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .user-header h4 {
        font-size: 1rem;
    }
    
    .user-info p {
        font-size: 0.85rem;
    }
    
    .user-info strong {
        min-width: 80px;
    }
}

/* Animação de loading para usuários */
.manage-users-page .loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--color-gold-orange);
    font-size: 1.2rem;
}

.manage-users-page .loading::after {
    content: '...';
    animation: loading-dots 1.5s ease-in-out infinite;
}

@keyframes loading-dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Mensagens de status */
.user-status-message {
    background: rgba(255, 165, 0, 0.1);
    border-left: 4px solid var(--color-gold-orange);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    color: var(--color-text);
}

/* ==================== MODAL VIP UPGRADE ==================== */

.vip-upgrade-modal {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 3px solid var(--color-gold-orange);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    box-shadow: 0 20px 60px rgba(255, 165, 0, 0.3);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.vip-modal-content {
    text-align: center;
}

.vip-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulseVip 2s ease-in-out infinite;
}

@keyframes pulseVip {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.vip-upgrade-modal h2 {
    color: var(--color-gold-orange);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.vip-description {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.vip-description strong {
    color: var(--color-gold-orange);
    font-weight: 600;
}

.vip-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 165, 0, 0.1);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.benefit-icon {
    font-size: 1.3rem;
}

.vip-price {
    margin-bottom: 2rem;
}

.price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 0.25rem;
    padding: 1.5rem 2.5rem;
    background: linear-gradient(135deg, var(--color-gold-orange) 0%, #ff8c00 100%);
    border-radius: 50px;
    color: #000;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.4);
    animation: glowPrice 2s ease-in-out infinite;
}

@keyframes glowPrice {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(255, 165, 0, 0.4);
    }
    50% {
        box-shadow: 0 10px 40px rgba(255, 165, 0, 0.6);
    }
}

.price-tag .currency {
    font-size: 1.5rem;
}

.price-tag .amount {
    font-size: 3.5rem;
}

.price-tag .period {
    font-size: 1.2rem;
    color: #000;
}

.vip-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-vip-upgrade {
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--color-gold-orange) 0%, #ff8c00 100%);
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-vip-upgrade:hover {
    background: linear-gradient(135deg, var(--color-gold-orange-light) 0%, var(--color-gold-orange) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.5);
}

.btn-cancel {
    padding: 0.9rem 2rem;
    background: transparent;
    color: var(--color-text-secondary);
    border: 2px solid #444;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    border-color: var(--color-text);
    color: var(--color-text);
}

@media (max-width: 768px) {
    .vip-upgrade-modal {
        padding: 2rem;
        max-width: 95%;
    }
    
    .vip-benefits {
        grid-template-columns: 1fr;
    }
    
    .price-tag .amount {
        font-size: 3rem;
    }
}

/* ==================== PÁGINA DE PAGAMENTO ==================== */

.payment-page {
    min-height: 100vh;
    padding: 2rem 0;
    background: var(--color-black);
}

.payment-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.payment-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-gold-orange);
}

.payment-header h2 {
    color: var(--color-gold-orange);
    font-size: 2rem;
    font-weight: 700;
}

.payment-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.plans-selector h3 {
    color: var(--color-text);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.plan-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 3px solid #333;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-card:hover {
    border-color: var(--color-gold-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(255, 165, 0, 0.3);
}

.plan-card.selected {
    border-color: var(--color-gold-orange);
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1) 0%, rgba(255, 140, 0, 0.1) 100%);
    box-shadow: 0 10px 40px rgba(255, 165, 0, 0.4);
}

.plan-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, var(--color-gold-orange) 0%, #ff8c00 100%);
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.4);
}

.plan-card h3 {
    color: var(--color-text);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-gold-orange);
    font-weight: 700;
}

.plan-price .currency {
    font-size: 1.5rem;
}

.plan-price .amount {
    font-size: 4rem;
}

.plan-price .period {
    font-size: 1.3rem;
    color: var(--color-text-secondary);
}

.plan-total {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.plan-economy {
    background: rgba(68, 255, 68, 0.15);
    color: #44ff44;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    border: 1px solid #44ff44;
}

.plan-benefits {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.plan-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text);
}

.plan-benefits .check {
    font-size: 1.2rem;
}

.payment-methods h3 {
    color: var(--color-text);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.payment-option {
    background: var(--color-dark-gray);
    border: 2px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.payment-option:hover {
    border-color: var(--color-gold-orange);
    transform: translateY(-3px);
}

.payment-option.active {
    border-color: var(--color-gold-orange);
    background: rgba(255, 165, 0, 0.1);
    box-shadow: 0 5px 20px rgba(255, 165, 0, 0.3);
}

.payment-icon {
    font-size: 2.5rem;
}

.payment-info h4 {
    color: var(--color-text);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.payment-info p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.payment-action {
    text-align: center;
    margin: 2rem 0;
}

.btn-pay {
    width: 100%;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--color-gold-orange) 0%, #ff8c00 100%);
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.btn-pay:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--color-gold-orange-light) 0%, var(--color-gold-orange) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.5);
}

.btn-pay:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.payment-security {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.payment-info-box {
    background: rgba(255, 165, 0, 0.05);
    border: 1px solid var(--color-gold-orange);
    border-radius: 12px;
    padding: 1.5rem;
}

.payment-info-box h4 {
    color: var(--color-gold-orange);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.payment-info-box ul {
    list-style: none;
}

.payment-info-box li {
    color: var(--color-text);
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

/* Responsividade Página de Pagamento */
@media (max-width: 768px) {
    .payment-container {
        padding: 1rem;
    }
    
    .payment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .payment-header h2 {
        font-size: 1.5rem;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .plan-card {
        padding: 1.5rem;
    }
    
    .plan-benefits {
        grid-template-columns: 1fr;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .plan-price .amount {
        font-size: 3rem;
    }
    
    .btn-pay {
        font-size: 1.1rem;
        padding: 1.2rem 1.5rem;
    }
    
    .plan-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        right: 10px;
    }
}


/* ==================== PWA PADDING CONFIGURÁVEL ==================== */

/* PWA: Padding configurável para todas as páginas */
@media (max-width: 768px) {
    body[data-pwa="true"] .main-content {
        padding-top: var(--pwa-padding-top);
    }
    
    /* PWA: Padding lateral para páginas de assistir (iPhone fix) */
    body[data-pwa="true"] .movie-page,
    body[data-pwa="true"] .serie-page,
    body[data-pwa="true"] .episode-page {
        padding-left: 1px;
        padding-right: 1px;
    }
}

@media (max-width: 480px) {
    body[data-pwa="true"] .main-content {
        padding-top: var(--pwa-padding-top);
    }
    
    /* PWA: Padding lateral para páginas de assistir (iPhone fix) */
    body[data-pwa="true"] .movie-page,
    body[data-pwa="true"] .serie-page,
    body[data-pwa="true"] .episode-page {
        padding-left: 1px;
        padding-right: 1px;
    }
}

/* ==================== PWA SPLASH SCREEN ==================== */

.pwa-splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    animation: fadeOutBackground 4s ease-out forwards;
}

.pwa-splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

@keyframes fadeOutBackground {
    0% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.pwa-splash-content {
    text-align: center;
}

.pwa-splash-title {
    font-size: 4rem;
    font-weight: bold;
    color: var(--color-gold-orange);
    text-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
    letter-spacing: 0.2em;
    margin: 0;
    position: relative;
    overflow: hidden;
    animation: zoomOut 4s ease-out forwards;
}

.pwa-splash-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    animation: revealText 2s ease-out forwards;
    z-index: 1;
}

@keyframes revealText {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

@keyframes zoomOut {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(3);
    }
}

/* Mobile: Tamanho menor */
@media (max-width: 768px) {
    .pwa-splash-title {
        font-size: 2.5rem;
        letter-spacing: 0.15em;
    }
}

@media (max-width: 480px) {
    .pwa-splash-title {
        font-size: 2rem;
        letter-spacing: 0.1em;
    }
}

