/* Variáveis para cores */
:root {
    --cor-fundo-principal: #121212;
    --cor-fundo-secundaria: #1e1e1e;
    --cor-texto-principal: #f0f0f0;
    --cor-acento: #00ff80; /* Um verde neon para lucros/destaques */
    --cor-logo: #6200ee; /* Roxo escuro para tecnologia/cripto */
}

/* Reset básico e tipografia */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--cor-fundo-principal);
    color: var(--cor-texto-principal);
    line-height: 1.6;
}

/* --- Cabeçalho e Navegação --- */
.header {
    background-color: var(--cor-fundo-secundaria);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--cor-acento);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 40px; /* Ajuste o tamanho da sua logo */
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.8rem;
    color: var(--cor-texto-principal);
    text-shadow: 0 0 5px var(--cor-logo);
}

.nav a {
    color: var(--cor-texto-principal);
    text-decoration: none;
    margin-left: 20px;
    padding: 5px 10px;
    transition: color 0.3s, border-bottom 0.3s;
    font-weight: 700;
}

.nav a:hover, .nav a.active {
    color: var(--cor-acento);
    border-bottom: 2px solid var(--cor-acento);
}

/* --- Conteúdo Principal e Hero Section --- */
.main-content {
    padding: 20px 5%;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1621243105574-8b63e9f3b14d?fit=crop&w=1400&q=80') center center / cover no-repeat;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 8px;
    margin-bottom: 40px;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--cor-logo);
}

.hero-text {
    max-width: 600px;
}

.hero-text h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-text strong {
    color: var(--cor-acento);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.hero-button {
    background-color: var(--cor-acento);
    color: var(--cor-fundo-principal);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.hero-button:hover {
    background-color: #00cd6a;
    transform: translateY(-2px);
}

/* --- Seções de Filmes e Grid --- */
.movie-section {
    margin-bottom: 40px;
}

.movie-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-left: 4px solid var(--cor-acento);
    padding-left: 10px;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* --- Card do Filme --- */
.movie-card {
    background-color: var(--cor-fundo-secundaria);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.movie-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 128, 0.5); /* Efeito neon ao passar o mouse */
}

.movie-poster {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 2/3; /* Proporção típica de pôster de filme */
    object-fit: cover;
}

.movie-info {
    padding: 10px;
}

.movie-title {
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
}

.movie-year {
    font-size: 0.85rem;
    color: #999;
}

/* --- Rodapé --- */
.footer {
    background-color: var(--cor-fundo-secundaria);
    text-align: center;
    padding: 20px;
    border-top: 1px solid var(--cor-fundo-secundaria);
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 30px;
}

/* Mídia Query para Telas Menores */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    .nav {
        margin-top: 10px;
    }
    .nav a {
        margin: 0 10px;
    }
    .hero-section {
        height: 300px;
        justify-content: center;
        text-align: center;
    }
    .hero-text {
        max-width: 100%;
    }
    .hero-text h2 {
        font-size: 2rem;
    }
}