/* 
Cores:
- Principal: #ff725e (coral)
- Fundo Escuro: #141414 (preto Netflix)
- Fundo Secundário: #263238 (azul ardósia)
- Cards/Superfícies: #2F2F2F
- Texto Principal: #E5E5E5 (cinza claro)
- Texto Secundário: #A3A3A3 (cinza)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #141414;
    color: #E5E5E5;
    line-height: 1.6;
}

/* --- Header --- */
.main-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 1.25rem 3.5rem;
    background: linear-gradient(to bottom, rgba(20, 20, 20, 1) 0%, rgba(20, 20, 20, 0) 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
    text-align: left;
}

.logo {
    height: 40px;
}
.logo img {
    height: 100%;
    width: auto;
}

.logo h1 {
    font-size: 1.8rem;
    color: #ff725e;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.logo span {
    display: none; /* Simplificando o logo */
}

.btn-admin {
    color: #ffffff;
    background-color: #ff725e;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.btn-admin:hover {
    background-color: #e55a47;
}

.site-description {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: #A3A3A3;
    max-width: 450px;
}

.site-description p {
    margin: 0;
    line-height: 1.4;
}

.site-description a {
    color: #ff725e;
    text-decoration: none;
    font-weight: 500;
}

.site-description a:hover {
    text-decoration: underline;
}

/* --- Main Content --- */
.content-area {
    padding: 9rem 0 2rem 0;
}

.no-content {
    text-align: center;
    padding: 5rem;
    color: #A3A3A3;
}
.no-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #2F2F2F;
}

/* --- Carousel --- */
.category-carousel {
    margin-bottom: 3.5rem;
}

.category-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-left: 3.5rem;
}

.category-title i {
    display: none; /* Título mais limpo, como Netflix */
}

.swiper-container {
    width: 100%;
    padding: 0 3.5rem;
    overflow: visible; /* Permite que o card com shadow "vaze" */
}

.swiper-slide {
    width: 250px; /* Largura do card (maior) */
    flex-shrink: 0;
}

.content-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background-color: #2F2F2F;
    transition: all 0.3s ease-out;
    height: 444px; /* Proporção 9:16 com a nova largura */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.content-card:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    z-index: 10;
}

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

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

/* Itens que aparecem no hover */
.card-details {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease-out;
    margin-top: 0.5rem;
}

.content-card:hover .card-details {
    opacity: 1;
    transform: translateY(0);
}

.card-info {
    font-size: 0.8rem;
    color: #A3A3A3;
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.card-info span i {
    color: #ff725e;
    margin-right: 0.3rem;
}

.card-description {
    font-size: 0.85rem;
    color: #E5E5E5;
    line-height: 1.4;
    height: 40px; /* 2 linhas */
    overflow: hidden;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 50px;
    height: 50px;
    background-color: rgba(20, 20, 20, 0.7);
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
}

.content-card:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.swiper-button-next, .swiper-button-prev {
    color: #fff;
    background-color: rgba(20, 20, 20, 0.5);
    width: 55px; /* Botões de navegação mais largos */
    height: 444px; /* Mesma altura dos cards */
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
    transition: background-color 0.3s ease;
    opacity: 0;
}

.swiper-container:hover .swiper-button-next,
.swiper-container:hover .swiper-button-prev {
    opacity: 1;
}

.swiper-button-next { right: 0; }
.swiper-button-prev { left: 0; }
.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: rgba(20, 20, 20, 0.8);
}
.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 2rem;
}

/* --- Modal --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}
.modal.show {
    display: flex;
}

.modal-content {
    background-color: #181818;
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    position: relative;
    animation: slideInModal 0.4s ease-out;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}
.modal-content::-webkit-scrollbar { display: none; } /* Ocultar scrollbar */

.modal-header {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: 8px 8px 0 0;
}

.modal-header .video-container,
.modal-header .image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}
.modal-header .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.modal-header iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.close-modal {
    color: #fff;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: rgba(20, 20, 20, 0.7);
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
}

.modal-body {
    padding: 2rem;
}

.modal-body h2 {
    color: #E5E5E5;
    margin-bottom: 1rem;
    font-size: 2.2rem;
    font-weight: 700;
}

.modal-body .article-content {
    line-height: 1.7;
    color: #E5E5E5;
    font-size: 1rem;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #2F2F2F;
    border-top-color: #ff725e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 3rem auto;
}

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

/* --- Footer --- */
.main-footer {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #2F2F2F;
    color: #A3A3A3;
}

/* Scrollbar personalizada */
.content-carousel::-webkit-scrollbar {
    height: 8px;
}

.content-carousel::-webkit-scrollbar-track {
    background: #455a64;
    border-radius: 10px;
}

.content-carousel::-webkit-scrollbar-thumb {
    background: #ff725e;
    border-radius: 10px;
}

.content-carousel::-webkit-scrollbar-thumb:hover {
    background: #e55a47;
}

/* Responsivo */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .content-card {
        width: 250px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .content-card {
        width: 220px;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1rem;
    }
}

/* --- View Page --- */
.view-hero {
    padding: 12rem 4rem 4rem 4rem;
    background-size: cover;
    background-position: center;
    border-radius: 0 0 20px 20px;
    margin-bottom: 3rem;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-content-details {
    max-width: 800px;
}

.view-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.7);
}

.view-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #E5E5E5;
}
.view-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.category-badge-view {
    background-color: #ff725e;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 700;
}

.view-description {
    font-size: 1.1rem;
    max-width: 700px;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.view-body-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.video-player-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.video-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #E5E5E5;
}
.article-body p {
    margin-bottom: 1.5rem;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4 {
    margin: 2.5rem 0 1rem 0;
    line-height: 1.3;
    color: #fff;
}
.article-body h2 { font-size: 1.8rem; }
.article-body h3 { font-size: 1.5rem; }

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body a {
    color: #ff725e;
    text-decoration: none;
    border-bottom: 1px dotted #ff725e;
}
.article-body a:hover {
    color: #fff;
    background-color: #ff725e;
    border-bottom: 1px solid #ff725e;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.article-body blockquote {
    border-left: 4px solid #ff725e;
    padding-left: 1rem;
    margin: 1rem 0;
    color: #A3A3A3;
    font-style: italic;
}

/* Estilos para a descrição do vídeo na página de visualização */
.video-description-container {
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.video-description-container .section-title {
    font-size: 1.5rem;
    color: #ff725e;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #333;
}

.video-description-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #ccc;
    white-space: pre-wrap; /* Para respeitar quebras de linha e espaços */
} 