/* Estilos Globais */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #111111; /* Fundo Escuro */
    color: #f0f0f0; /* Texto Claro */
    line-height: 1.6;
}

/* Cabeçalho e Navegação */
header {
    background: #0d0d0d;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #222;
}
.logo {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
}
.nav a {
    color: #cccccc;
    text-decoration: none;
    margin-left: 20px;
    font-size: 16px;
    transition: color 0.3s;
}
.nav a:hover {
    color: #ffffff;
}

/* Seção Hero */
.hero {
    padding: 100px 20px;
    text-align: center;
    background: url('https://via.placeholder.com/1200x600/222222/f0f0f0?text=Arte+do+Jogo+-+Chronos') no-repeat center center/cover; /* Imagem de Fundo Escura */
    color: #ffffff;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.6); /* Overlay Escuro */
}
.hero h1 {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Sombra para melhorar a leitura */
}
.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Estilo dos Botões */
.btn {
    display: inline-block;
    padding: 14px 35px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-primary {
    background: #ffffff; /* Botão Principal em Branco/Claro */
    color: #0d0d0d;
    border: 2px solid #ffffff;
}
.btn-primary:hover {
    background: #0d0d0d;
    color: #ffffff;
    border-color: #ffffff;
}

/* NOVO: Botão de Pré-Registro no Header */
.btn-secondary {
    background: #333333; /* Cor escura sutil */
    color: #ffffff;
    padding: 8px 18px;
    font-size: 15px;
    margin-left: 20px;
    border: 2px solid #333333;
}
.btn-secondary:hover {
    background: #ffffff;
    color: #0d0d0d;
    border-color: #ffffff;
}

/* ------------------ ESTILOS PARA MODAL ------------------ */

/* Fundo escuro do modal */
.modal {
    display: none; /* Escondido por padrão */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); /* Fundo semi-transparente */
    padding-top: 60px;
}

/* Caixa de conteúdo do modal */
.modal-content {
    background-color: #1a1a1a;
    margin: 5% auto; 
    padding: 30px;
    border: 1px solid #444;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Animação do modal */
@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* Botão para fechar (X) */
.close-btn {
    color: #ffffff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    transition: color 0.3s;
}
.close-btn:hover,
.close-btn:focus {
    color: #cccccc;
    text-decoration: none;
    cursor: pointer;
}

/* Estilos do Formulário */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #333;
    color: #ffffff;
    font-size: 16px;
}
.btn-submit {
    width: 100%;
    padding: 15px;
    background: #ffffff;
    color: #0d0d0d;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-submit:hover {
    background: #cccccc;
}

/* ------------------ FIM ESTILOS MODAL ------------------ */

/* Seções de Conteúdo */
.section {
    padding: 70px 20px;
    text-align: center;
    border-top: 1px solid #333;
}
.section-light {
    background: #222222;
}
.section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #ffffff;
}
.section p {
    font-size: 17px;
    max-width: 900px;
    margin: 0 auto 20px;
    color: #cccccc;
}

/* Galeria de Imagens */
.image-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}
.image-gallery img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border: 5px solid #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s;
}
.image-gallery img:hover {
    transform: scale(1.02);
}

/* Requisitos / Destaques */
.requirements-list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    text-align: left;
    margin-top: 30px;
}
.requirements-list li {
    background: #333333;
    padding: 20px;
    border-left: 5px solid #ffffff;
    width: 250px;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

/* Estilos para Notícias */
.news-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 30px auto 0;
    text-align: left;
}
.news-item {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid #ffffff;
    transition: background 0.3s;
}
.news-item:hover {
    background: #252525;
}
.news-item h3 {
    margin-top: 0;
    font-size: 22px;
    color: #ffffff;
}
.news-item .date {
    display: block;
    font-size: 14px;
    color: #999999;
    margin-bottom: 10px;
}
.news-item p {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 0;
}

/* Estilos para Progress Bar */
.progress-bar-container {
    width: 80%;
    max-width: 600px;
    margin: 20px auto;
    background: #333333;
    border-radius: 5px;
    height: 30px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}
.progress-bar {
    height: 100%;
    /* Note: O valor de 'width' será definido inline no HTML (atualmente 20%) */
    background: #ffffff; /* Cor da barra de progresso (Branco) */
    text-align: right;
    line-height: 30px;
    color: #111111;
    font-weight: bold;
    padding-right: 10px;
    box-sizing: border-box;
    transition: width 1.5s ease-in-out;
    white-space: nowrap;
}

/* Rodapé */
footer {
    background: #0d0d0d;
    color: #999999;
    text-align: center;
    padding: 25px;
    font-size: 15px;
}

/* Responsividade Básica */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 20px;
    }
    .nav {
        margin-top: 15px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav a {
        margin: 5px 10px;
    }
    .btn-secondary {
        margin: 10px 0 0 0; /* Ajusta a margem do botão no mobile */
    }
    .hero h1 {
        font-size: 40px;
    }
    .hero p {
        font-size: 17px;
    }
    .section h2 {
        font-size: 28px;
    }
    .requirements-list {
        gap: 20px;
    }
    .progress-bar {
        font-size: 14px;
        padding-right: 5px;
    }
}