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

body {
    font-family: 'Roboto', sans-serif;
    background: #2C2C2C;
    color: #FFF;
}

/* HEADER */
.header {
    background: #1a1a1a;
    padding: 1rem 2rem;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo i {
    color: #2196F3;
    font-size: 1.5rem;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-text .guia {
    color: #FFF;
}

.logo-text .de {
    color: #666;
}

.logo-text .conteudos {
    color: #2196F3;
}

.nav {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav a {
    color: #999;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav a:hover,
.nav a.active {
    color: #2196F3;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-icon {
    color: #2196F3;
    font-size: 1.3rem;
    cursor: pointer;
    transition: 0.3s;
}

.search-icon:hover {
    transform: scale(1.1);
}

.btn-adult {
    background: #2196F3;
    color: #FFF;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s;
    cursor: pointer;
}

.btn-adult:hover {
    background: #1976D2;
    transform: translateY(-2px);
}

.btn-adult.active {
    background: #FF6B6B;
}

/* SEARCH MODAL */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.search-modal.active {
    display: flex;
}

.search-box {
    width: 90%;
    max-width: 700px;
    position: relative;
}

.search-form {
    display: flex;
    background: #1a1a1a;
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid #2196F3;
}

.search-input {
    flex: 1;
    padding: 1.2rem 2rem;
    background: transparent;
    border: none;
    color: #FFF;
    font-size: 1.2rem;
    outline: none;
}

.search-submit {
    padding: 1.2rem 2.5rem;
    background: #2196F3;
    border: none;
    color: #FFF;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.search-submit:hover {
    background: #1976D2;
}

.search-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #FFF;
    font-size: 2rem;
    cursor: pointer;
}

/* CONTAINER */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 200px);
}

.hero {
    margin: 2rem 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
}

.page-header {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), transparent);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.breadcrumb {
    color: #999;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #2196F3;
    text-decoration: none;
}

/* FILTERS */
.filters {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

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

.filter-label {
    color: #2196F3;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.filter-select,
.filter-input {
    padding: 1rem;
    background: #2C2C2C;
    border: 2px solid #333;
    border-radius: 8px;
    color: #FFF;
    font-size: 1rem;
    outline: none;
}

.filter-select:focus,
.filter-input:focus {
    border-color: #2196F3;
}

.search-box-inline {
    display: flex;
    gap: 0;
}

.search-box-inline input {
    border-radius: 8px 0 0 8px;
    border-right: none;
}

.search-box-inline button {
    padding: 1rem 2rem;
    background: #2196F3;
    border: none;
    color: #FFF;
    font-weight: 600;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
}

.card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    background: #1a1a1a;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(33, 150, 243, 0.4);
}

.card-img {
    position: relative;
    padding-top: 150%;
    background: #000;
    overflow: hidden;
}

.card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    opacity: 0;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(33, 150, 243, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #FFF;
}

.play-btn i {
    color: #FFF;
    font-size: 1.8rem;
    margin-left: 5px;
}

.badge-quality {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.9);
    color: #FFF;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.card-body {
    padding: 1.5rem;
    text-align: center;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFF;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
}

.badge-type {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #2db0a8;
    color: #FFF;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* LOADING */
.loading {
    text-align: center;
    padding: 4rem;
    color: #2196F3;
    font-size: 1.5rem;
}

.loading i {
    margin-right: 0.5rem;
}

/* FOOTER */
.footer {
    background: #1a1a1a;
    text-align: center;
    padding: 2rem;
    color: #666;
    margin-top: 4rem;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* DETAIL PAGE */
.detail-page {
    padding: 2rem 0;
}

.detail-title-main {
    font-size: 3rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.detail-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.poster-section {
    text-align: center;
}

.poster-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.info-section {
    padding: 1rem 0;
}

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

.info-label {
    color: #2196F3;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.info-value {
    color: #FFF;
    font-size: 1.05rem;
    line-height: 1.7;
}

.description {
    color: #CCC;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 2rem 0;
}

.category-badge {
    background: #2196F3;
    color: #FFF;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
}

.trailer-section {
    margin-top: 3rem;
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
}

.trailer-title {
    font-size: 1.5rem;
    color: #2196F3;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.trailer-player {
    position: relative;
    padding-top: 56.25%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

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

.platforms {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.platforms-title {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.platforms-grid {
    display: flex;
    gap: 4rem;
}

.platform {
    text-align: center;
}

.platform i {
    font-size: 3rem;
    color: #2196F3;
    margin-bottom: 0.5rem;
}

.platform-name {
    color: #999;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .nav {
        gap: 1.5rem;
    }
    
    .filters {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header-right {
        width: 100%;
        justify-content: center;
    }
    
    .detail-container {
        grid-template-columns: 1fr;
    }
    
    .detail-title-main {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}
