.btn-tema {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 1100;
}
:root {
    --bg: #0a101e;
    --bg-dark: #020617;
    --text: #e5e7eb;
    --card: #1e293b;
    --texto-2: #000000;
}

.light-mode {
    --bg: #0d3d6d;
    --text: #000104;
    --card: #4e6386;
     --bg-dark: #0b0578;
     --texto-2: #ffffff;
    
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.header {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--bg);
    backdrop-filter: none(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    width: 98%;
    max-width: 100%;
}

.logo a {
    font-size: 20px;
    font-weight: bold;
    color: #38bdf8;
    text-decoration: none;
}

.logo img {
    width: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-link {
    text-decoration: none;
}

.logo-text {
    font-size: 17px;
    color: #ffffff;
    font-weight: bold;
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-transform: lowercase;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-list a {
    text-decoration: none;
    color: #e5e7eb;
    transition: 0.3s;
}

.nav-list a:hover {
    color: #38bdf8;
}

.principal {
    margin-top: 80px;
    scroll-margin-top: 0;
}

.banner-principal {
    position: relative;
    min-height: 300px;
    height: 60vh;
}

.imagem-banner {
    width: 100%;
    height: 100%;
    background: var(--card);
    border-radius: 10px;
}

.imagem-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    border-radius: 10px;
}

.btn-jogar {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-play {
    padding: 18px 40px;
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    color: white;
    font-size: 20px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

.btn-play:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.8);
}

.atalhos-container {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.atalho {
    flex: 1;
    min-width: 220px;
    background: var(--card);
    padding: 20px;
    border-radius: 12px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.atalho[href] {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.atalho:hover {
    transform: translateY(-5px);
}

.atalho h3 {
    margin-bottom: 10px;
    color: #38bdf8;
}


.seção-de-conteudo {
    padding: 80px 0;
    scroll-margin-top: 80px;
}

.seção-de-conteudo.alt {
 background-color: var(--bg-dark);
}

.conteudo-grid {
    display: flex;
    align-items: stretch;
    gap: 40px;
    flex-wrap: wrap;
}

.seção-de-texto {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.seção-de-texto h2 {
    margin-bottom: 15px;
    color: #38bdf8;
}

h2#personagens {
    scroll-margin-top: 110px;
}

.titulo-da-historia {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.titulo-da-historia h2 {
    margin-bottom: 0;
    color: #38bdf8;
    flex: 0 0 auto;
}

.titulo-da-historia h2:first-child {
    flex: 1;
}

.titulo-da-historia h2:last-child {
    flex: 0 0 300px;
    padding-left: 0;
}

.bloco-de-historia {
    background: rgba(30, 41, 59, 0.5);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}

.bloco-de-historia p {
    margin-bottom: 20px;
    line-height: 1.9;
    color: #e5e7eb;
    text-align: justify;
}

.bloco-de-historia p:last-child {
    margin-bottom: 0;
}

.bloco-de-historia em {
    color: #94a3b8;
    font-style: italic;
    font-weight: 500;
}

.nome-dos-personagens {
    color: #fbbf24;
    font-weight: bold;
    font-size: 1.05em;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(251, 191, 36, 0.1);
    transition: 0.3s;
}

.nome-dos-personagens:hover {
    color: #fcd34d;
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
    background: rgba(251, 191, 36, 0.2);
}

.seção-historia {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.bloco-de-historia {
    flex: 1;
}


.seção-de-imagens {
    flex: 0 0 auto;
    width: 300px;
    display: flex;
    flex-direction: column;
}

.conteudo-imagens-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.conteudo-imagens-grid .imagens-placeholder {
    flex: 1;
    background: #1e293b;
    border-radius: 10px;
    border: 2px solid rgba(56, 189, 248, 0.3);
    transition: 0.3s;
    min-height: 140px;
}

.conteudo-imagens-grid .imagens-placeholder:hover {
    border-color: #38bdf8;
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.2);
}
.imagens-placeholder {
    overflow: hidden;
    border-radius: 10px;
     background: var(--card);
}

.imagens-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.videos {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 30px;
    text-align: center;
    color: #38bdf8;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.video-item .imagens-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1; 
    background: #1e293b;
    border-radius: 10px;
    border: 2px solid rgba(56, 189, 248, 0.3);
    transition: 0.3s;
    height: 200px;
}

.video-item .imagens-placeholder:hover {
    border-color: #38bdf8;
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.2);
}
.imagens-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer {
   background: var(--bg-dark);
    padding-top: 40px;
    scroll-margin-top: 80px;
}

.footer-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer h3,
.footer h4 {
    margin-bottom: 10px;
    color: #38bdf8;
}

.footer-social ul {
    list-style: none;
}

.footer-social a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    transition: 0.3s;
}
.footer-social a:hover {
    color: #38bdf8;
}
.footer-social ul {
    display: flex;
    gap:10px;
}
.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    font-size: 14px;
    background-color: var(--bg-dark);
}
.conteudo-sensivel {
    filter: blur(8px);
    transition: 0.5s;
}
.bloqueado {
    pointer-events: none;
    user-select: none;
}
.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {

    .header-container {
        flex-direction: column;
        text-align: center;
    }
.menu-toggle {
    display: block;
   }
    .nav-list {
    display: none;
    flex-direction: column;
    background: var(--bg);
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    padding: 15px 0;
    }

.nav-list.ativar {
    display: flex;
}

    .btn-play {
        font-size: 16px;
        padding: 12px 25px;
    }

    .btn-jogar {
        top: 60%;
    }

    .atalhos-container {
        flex-direction: column;
    }

    .atalho {
        width: 100%;
    }

    .seção-historia {
        flex-direction: column;
    }

    .conteudo-imagens-grid {
        flex-direction: row;
    }

    .conteudo-imagens-grid .imagens-placeholder {
        min-height: 100px;
    }

    .titulo-da-historia {
        flex-direction: column;
        text-align: center;
    }

}

@media (max-width: 480px) {
    .seção-de-imagensn {
        width: 100%;
    }

    .titulo-da-historia {
        flex-direction: column;
    }

    .titulo-da-historia h2:last-child {
        flex: 0 0 auto;
    }

    .conteudo-imagens-grid {
        flex-direction: row;
    }

    .conteudo-imagens-grid .image-placeholder {
        min-height: 80px;
    }
}