/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cor-fundo: #0f1211;
    --cor-pergaminho: #f4ead5;
    --cor-texto: #3d3021;
    --cor-titulo: #c5a880;
    --cor-destaque: #d4af37;
    --cor-botao: #6b5d4f;
    --cor-botao-hover: #8b7355;
    --font-titulo: 'Cinzel', serif;
    --font-corpo: 'EB Garamond', serif;
    --transicao: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: var(--font-corpo);
    background-color: var(--cor-fundo);
    color: var(--cor-pergaminho);
    line-height: 1.8;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background animado sutil */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(197, 168, 128, 0.05) 0%, transparent 70%),
        url('https://www.transparenttextures.com/patterns/stardust.png');
    z-index: -1;
    opacity: 0.5;
}

header {
    width: 100%;
    height: 60vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) sepia(0.2);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

main {
    max-width: 1000px;
    margin: -100px auto 0;
    padding: 40px;
    position: relative;
    z-index: 10;
}

h1 {
    font-family: var(--font-titulo);
    font-size: 3.5rem;
    color: var(--cor-titulo);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 4px;
    line-height: 1.2;
    animation: fadeInDown 1.2s ease-out;
}

p {
    font-size: 1.3rem;
    text-align: justify;
    margin-bottom: 25px;
    color: rgba(244, 234, 213, 0.9);
    line-height: 2;
    animation: fadeInUp 1.5s ease-out;
}

#btn-entrar-saga {
    display: block;
    margin: 60px auto;
    padding: 18px 50px;
    font-family: var(--font-titulo);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cor-fundo);
    background: var(--cor-titulo);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: var(--transicao);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

#btn-entrar-saga::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.6s;
}

#btn-entrar-saga:hover {
    background: var(--cor-pergaminho);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(197, 168, 128, 0.3);
}

#btn-entrar-saga:hover::after {
    left: 100%;
}

/* Animações */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Responsividade */
@media (max-width: 768px) {
    header { height: 40vh; }
    main { margin-top: -50px; padding: 20px; }
    h1 { font-size: 2.2rem; }
    p { font-size: 1.1rem; }
}
