/* =========================================================
   ELYRUN — SITE OFICIAL
   ========================================================= */


/* =========================================================
   BASE
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #050705;
    color: #f2eee4;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

.responsive-picture {
    display: contents;
}

a {
    color: inherit;
}

button {
    font: inherit;
}

::selection {
    background: #b88a43;
    color: #090909;
}


/* =========================================================
   TIPOGRAFIA
   ========================================================= */

h1,
h2,
h3 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;
}

.section-label {
    margin-bottom: 20px;

    color: #c59b5b;

    font-size: 0.68rem;

    letter-spacing: 0.34rem;

    text-transform: uppercase;
}

.large-quote {
    max-width: 680px;

    margin-bottom: 30px;

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(
            1.4rem,
            2.3vw,
            2.15rem
        );

    line-height: 1.45;

    color:
        rgba(
            255,
            255,
            255,
            0.88
        );
}

.body-text {
    max-width: 650px;

    margin-bottom: 18px;

    font-size: 1.05rem;

    line-height: 1.9;

    color:
        rgba(
            255,
            255,
            255,
            0.62
        );
}


/* =========================================================
   MENU
   ========================================================= */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 28px 6vw;

    z-index: 1000;

    transition:
        background 0.35s ease,
        padding 0.35s ease,
        border-color 0.35s ease;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.82),
            transparent
        );

    border-bottom:
        1px solid transparent;
}

.header.scrolled {
    padding-top: 18px;
    padding-bottom: 18px;

    background:
        rgba(
            5,
            7,
            5,
            0.92
        );

    backdrop-filter:
        blur(14px);

    border-color:
        rgba(
            255,
            255,
            255,
            0.06
        );
}

.logo {
    position: relative;

    z-index: 1002;

    text-decoration: none;

    color: white;

    font-family:
        Georgia,
        serif;

    font-size: 1.3rem;

    letter-spacing: 0.45rem;
}

.navigation {
    display: flex;
    align-items: center;

    gap: 30px;
}

.navigation a {
    text-decoration: none;

    color:
        rgba(
            255,
            255,
            255,
            0.68
        );

    text-transform: uppercase;

    font-size: 0.66rem;

    letter-spacing: 0.16rem;

    transition:
        color 0.3s ease;
}

.navigation a:hover {
    color: #d5aa67;
}

.menu-button {
    display: none;

    position: relative;

    z-index: 1002;

    width: 38px;
    height: 32px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.menu-button span {
    position: absolute;

    left: 5px;

    width: 28px;
    height: 1px;

    background: white;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease,
        top 0.3s ease;
}

.menu-button span:nth-child(1) {
    top: 8px;
}

.menu-button span:nth-child(2) {
    top: 16px;
}

.menu-button span:nth-child(3) {
    top: 24px;
}

.menu-button.active span:nth-child(1) {
    top: 16px;
    transform: rotate(45deg);
}

.menu-button.active span:nth-child(2) {
    opacity: 0;
}

.menu-button.active span:nth-child(3) {
    top: 16px;
    transform: rotate(-45deg);
}


/* =========================================================
   BOTÕES
   ========================================================= */

.primary-button {
    display: inline-block;

    margin-top: 38px;

    padding: 15px 27px;

    border:
        1px solid
        rgba(
            213,
            170,
            103,
            0.65
        );

    text-decoration: none;

    color: #d5aa67;

    text-transform: uppercase;

    font-size: 0.68rem;

    letter-spacing: 0.16rem;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.primary-button:hover {
    background: #d5aa67;
    color: #080908;
}

.text-link {
    display: inline-block;

    margin-top: 18px;

    padding-bottom: 5px;

    border-bottom:
        1px solid
        rgba(
            213,
            170,
            103,
            0.55
        );

    text-decoration: none;

    color: #d5aa67;

    text-transform: uppercase;

    font-size: 0.68rem;

    letter-spacing: 0.16rem;

    transition:
        color 0.3s ease,
        border-color 0.3s ease;
}

.text-link:hover {
    color: white;
    border-color: white;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: flex-end;

    padding:
        0 7vw 9vh;

    background:
        linear-gradient(
            to top,
            rgba(3, 5, 3, 1) 0%,
            rgba(3, 5, 3, 0.68) 35%,
            rgba(3, 5, 3, 0.16) 75%,
            rgba(3, 5, 3, 0.08) 100%
        ),
        url("../assets/images-webp/santuario-ventre-de-pedra.webp");

    background-size: cover;

    background-position: center;

    background-attachment: fixed;
}

.hero-content {
    position: relative;

    z-index: 2;

    max-width: 1100px;
}

.hero-author {
    margin-bottom: 22px;

    color:
        rgba(
            255,
            255,
            255,
            0.55
        );

    font-size: 0.68rem;

    letter-spacing: 0.36rem;
}

.hero h1 {
    font-size:
        clamp(
            5rem,
            14vw,
            12rem
        );

    line-height: 0.80;

    letter-spacing: 0.055em;
}

.hero-tagline {
    max-width: 760px;

    margin-top: 35px;

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(
            1.5rem,
            2.7vw,
            2.5rem
        );

    color:
        rgba(
            255,
            255,
            255,
            0.82
        );
}

.scroll-indicator {
    position: absolute;

    right: 4vw;
    bottom: 8vh;

    display: flex;
    flex-direction: column;
    align-items: center;

    z-index: 2;

    color:
        rgba(
            255,
            255,
            255,
            0.38
        );
}

.scroll-text {
    writing-mode: vertical-rl;

    font-size: 0.55rem;

    letter-spacing: 0.2rem;
}

.scroll-line {
    width: 1px;
    height: 60px;

    margin-top: 15px;

    background:
        rgba(
            255,
            255,
            255,
            0.25
        );
}


/* =========================================================
   LIVRO
   ========================================================= */

.book-section {
    min-height: 100vh;

    display: grid;

    grid-template-columns:
        minmax(320px, 0.9fr)
        minmax(0, 1.1fr);

    align-items: center;

    gap: 8vw;

    padding:
        130px 8vw;

    background:
        radial-gradient(
            circle at 28% 50%,
            rgba(137, 88, 31, 0.12),
            transparent 38%
        ),
        #080a08;
}

.book-image {
    display: flex;
    justify-content: center;
}

.book-image img {
    width:
        min(
            100%,
            430px
        );

    box-shadow:
        0 45px 100px
        rgba(
            0,
            0,
            0,
            0.68
        );

    transition:
        transform 0.6s ease;
}

.book-image img:hover {
    transform:
        translateY(-10px)
        scale(1.015);
}

.book-content h2 {
    margin-bottom: 34px;

    font-size:
        clamp(
            4rem,
            7vw,
            7rem
        );

    line-height: 0.9;
}


/* =========================================================
   FERNANDEZ
   ========================================================= */

.character-section {
    min-height: 100vh;

    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(320px, 0.9fr);

    align-items: center;

    gap: 7vw;

    padding:
        130px 8vw;

    background:
        linear-gradient(
            135deg,
            #0b0f0b,
            #080a08
        );
}

.character-image {
    display: flex;
    justify-content: center;
}

.character-image img {
    width:
        min(
            100%,
            560px
        );

    box-shadow:
        0 50px 100px
        rgba(
            0,
            0,
            0,
            0.55
        );
}

.character-content h2 {
    margin-bottom: 28px;

    font-size:
        clamp(
            4rem,
            7vw,
            7rem
        );

    line-height: 0.9;
}


/* =========================================================
   SANTUÁRIO
   ========================================================= */

.full-image-section {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: flex-end;

    padding:
        10vh 8vw;

    overflow: hidden;

    background-size: cover;
    background-position: center;
}

.sanctuary-section {
    background-image:
        url("../assets/images-webp/santuario-ventre-de-pedra.webp");
}

.full-image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(3, 5, 3, 0.98),
            rgba(3, 5, 3, 0.25) 55%,
            rgba(3, 5, 3, 0.10)
        );
}

.full-image-content {
    position: relative;

    z-index: 2;

    max-width: 850px;
}

.full-image-content h2 {
    margin-bottom: 28px;

    font-size:
        clamp(
            3.8rem,
            8vw,
            8rem
        );

    line-height: 0.9;
}


/* =========================================================
   PANDORA
   ========================================================= */

.pandora-section {
    min-height: 100vh;

    display: grid;

    grid-template-columns:
        minmax(320px, 0.8fr)
        minmax(0, 1.2fr);

    align-items: center;

    gap: 6vw;

    padding:
        120px 8vw;

    background:
        radial-gradient(
            circle at 78% 50%,
            rgba(178, 100, 33, 0.11),
            transparent 38%
        ),
        #050605;
}

.pandora-text h2 {
    margin-bottom: 28px;

    font-size:
        clamp(
            4.5rem,
            8vw,
            8rem
        );
}

.pandora-image {
    display: flex;
    justify-content: center;
}

.pandora-image img {
    width:
        min(
            100%,
            620px
        );

    box-shadow:
        0 50px 120px
        rgba(
            0,
            0,
            0,
            0.7
        );
}


/* =========================================================
   MYRAH
   ========================================================= */

.myrah-section {
    position: relative;

    min-height: 100vh;

    display: grid;

    grid-template-columns:
        minmax(320px, 0.9fr)
        minmax(0, 1.1fr);

    align-items: center;

    gap: 6vw;

    padding:
        120px 8vw;

    overflow: hidden;

    background: #08100a;
}

.myrah-background {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(76, 122, 72, 0.15),
            transparent 35%
        ),
        linear-gradient(
            to right,
            #060806,
            #0a140d
        );
}

.myrah-content,
.myrah-portrait {
    position: relative;

    z-index: 2;
}

.myrah-content h2 {
    margin-bottom: 28px;

    font-size:
        clamp(
            4.5rem,
            8vw,
            8rem
        );
}

.myrah-portrait {
    display: flex;
    justify-content: center;
}

.myrah-portrait img {
    width:
        min(
            100%,
            530px
        );

    box-shadow:
        0 45px 110px
        rgba(
            0,
            0,
            0,
            0.55
        );
}


/* =========================================================
   NAIARUNES
   ========================================================= */

.naiarune-section {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: flex-end;

    padding:
        10vh 8vw;

    overflow: hidden;
}

.section-background-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.naiarune-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(3, 7, 4, 0.98),
            rgba(3, 7, 4, 0.42) 55%,
            rgba(3, 7, 4, 0.10)
        );
}

.naiarune-content {
    position: relative;

    z-index: 2;

    max-width: 800px;
}

.naiarune-content h2 {
    margin-bottom: 28px;

    font-size:
        clamp(
            4.5rem,
            9vw,
            9rem
        );
}


/* =========================================================
   DOIS MUNDOS
   ========================================================= */

.worlds-section {
    position: relative;

    min-height: 100vh;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    background: #050605;
}

.world-card {
    position: relative;

    min-height: 100vh;

    overflow: hidden;
}

.world-card img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1.2s ease;
}

.world-card:hover img {
    transform: scale(1.04);
}

.world-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(2, 4, 2, 0.90),
            rgba(2, 4, 2, 0.16)
        );
}

.world-content {
    position: absolute;

    left: 6vw;
    bottom: 9vh;

    z-index: 3;
}

.world-content span {
    color:
        rgba(
            255,
            255,
            255,
            0.52
        );

    font-size: 0.62rem;

    letter-spacing: 0.23rem;
}

.world-content h3 {
    margin-top: 12px;

    font-size:
        clamp(
            2.5rem,
            5vw,
            5rem
        );
}

.worlds-center {
    position: absolute;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%);

    z-index: 5;

    padding:
        25px 35px;

    text-align: center;

    background:
        rgba(
            5,
            7,
            5,
            0.78
        );

    backdrop-filter:
        blur(8px);
}

.worlds-center p {
    font-family:
        Georgia,
        serif;

    font-size: 1.2rem;
}

.worlds-center strong {
    display: block;

    margin-top: 5px;

    color: #d5aa67;

    font-size: 0.7rem;

    letter-spacing: 0.18rem;

    text-transform: uppercase;
}


/* =========================================================
   NILO
   ========================================================= */

.nilo-section {
    min-height: 90vh;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(320px, 1fr);

    align-items: center;

    gap: 8vw;

    padding:
        120px 8vw;

    background: #0a0d0a;
}

.nilo-image {
    display: flex;
    justify-content: center;
}

.nilo-image img {
    width:
        min(
            100%,
            480px
        );

    box-shadow:
        0 40px 100px
        rgba(
            0,
            0,
            0,
            0.55
        );
}

.nilo-content h2 {
    margin-bottom: 25px;

    font-size:
        clamp(
            4rem,
            7vw,
            7rem
        );
}


/* =========================================================
   EXPLORAR / PERSONAGENS
   ========================================================= */

.explore-section {
    padding:
        140px 6vw;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(124, 88, 38, 0.10),
            transparent 30%
        ),
        #060806;
}

.explore-heading {
    max-width: 950px;

    margin:
        0 auto 70px;

    text-align: center;
}

.explore-heading .body-text {
    margin-left: auto;
    margin-right: auto;
}

.explore-heading h2 {
    margin-bottom: 28px;

    font-size:
        clamp(
            4rem,
            8vw,
            8rem
        );

    line-height: 0.9;
}

.preview-grid {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 14px;
}

.preview-card {
    position: relative;

    min-height: 560px;

    overflow: hidden;

    text-decoration: none;

    background: #111;
}

.preview-card img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s ease,
        filter 0.8s ease;
}

.preview-card:hover img {
    transform: scale(1.045);
}

.preview-card-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(3, 4, 3, 0.96) 0%,
            rgba(3, 4, 3, 0.30) 55%,
            rgba(3, 4, 3, 0.05) 100%
        );
}

.preview-card-content {
    position: absolute;

    z-index: 2;

    left: 28px;
    right: 28px;
    bottom: 30px;
}

.preview-card-content span {
    color: #c79b59;

    font-size: 0.56rem;

    letter-spacing: 0.16rem;

    text-transform: uppercase;
}

.preview-card-content h3 {
    margin-top: 8px;

    font-size:
        clamp(
            1.6rem,
            2vw,
            2.35rem
        );

    line-height: 1;
}

.section-action {
    margin-top: 55px;

    text-align: center;
}


/* =========================================================
   LUGARES PREVIEW
   ========================================================= */

.places-preview-section {
    padding:
        140px 6vw;

    background: #090b09;
}

.places-preview-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.place-feature-card {
    position: relative;

    min-height: 650px;

    overflow: hidden;

    text-decoration: none;

    background: #111;
}

.place-feature-card img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1s ease;
}

.place-feature-card:hover img {
    transform: scale(1.04);
}

.place-feature-content {
    position: absolute;

    z-index: 2;

    left: 38px;
    right: 38px;
    bottom: 38px;
}

.place-feature-content span {
    color: #d3a563;

    font-size: 0.58rem;

    letter-spacing: 0.18rem;

    text-transform: uppercase;
}

.place-feature-content h3 {
    margin:
        12px 0 15px;

    font-size:
        clamp(
            2rem,
            3vw,
            3.5rem
        );

    line-height: 0.95;
}

.place-feature-content p {
    max-width: 380px;

    color:
        rgba(
            255,
            255,
            255,
            0.68
        );

    line-height: 1.7;
}


/* =========================================================
   SÉRIE
   ========================================================= */

.series-section {
    min-height: 100vh;

    padding:
        140px 8vw;

    background: #070907;
}

.series-heading {
    margin-bottom: 80px;
}

.series-heading h2 {
    margin-top: 15px;

    font-size:
        clamp(
            4rem,
            8vw,
            8rem
        );

    line-height: 0.9;
}

.series-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}

.series-book {
    min-height: 380px;

    padding: 38px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );

    background:
        linear-gradient(
            to top right,
            rgba(125, 88, 37, 0.07),
            transparent
        );
}

.book-number {
    margin-bottom: auto;

    color: #a98147;

    font-family:
        Georgia,
        serif;

    font-size: 4rem;
}

.series-book h3 {
    font-size: 2.5rem;
}

.series-book p {
    margin-top: 10px;

    color:
        rgba(
            255,
            255,
            255,
            0.45
        );
}


/* =========================================================
   AUTOR
   ========================================================= */

.author-section {
    min-height: 70vh;

    display: flex;
    align-items: center;

    padding:
        120px 8vw;

    background: #050705;
}

.author-content h2 {
    margin-bottom: 30px;

    font-size:
        clamp(
            3.5rem,
            7vw,
            7rem
        );

    line-height: 0.9;
}


/* =========================================================
   PÁGINAS INTERNAS
   ========================================================= */

.inner-page {
    min-height: 100vh;

    padding-top: 110px;

    background: #060806;
}

.inner-hero {
    min-height: 62vh;

    display: flex;
    align-items: flex-end;

    padding:
        80px 8vw;

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            0.06
        );

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(134, 93, 38, 0.12),
            transparent 32%
        ),
        #080a08;
}

.inner-hero-content {
    max-width: 1000px;
}

.inner-hero h1 {
    margin-bottom: 30px;

    font-size:
        clamp(
            4rem,
            9vw,
            9rem
        );

    line-height: 0.88;
}

.inner-hero p {
    max-width: 750px;

    color:
        rgba(
            255,
            255,
            255,
            0.62
        );

    font-size: 1.1rem;

    line-height: 1.8;
}

.collection-section {
    padding:
        110px 6vw;
}

.collection-heading {
    max-width: 900px;

    margin-bottom: 60px;
}

.collection-heading h2 {
    margin-bottom: 20px;

    font-size:
        clamp(
            2.8rem,
            5vw,
            5.5rem
        );

    line-height: 0.95;
}

.collection-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}

.person-card {
    position: relative;

    min-height: 520px;

    overflow: hidden;

    background: #111;
}

.person-card img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s ease;
}

.person-card:hover img {
    transform: scale(1.035);
}

.person-card::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(2, 3, 2, 0.97),
            rgba(2, 3, 2, 0.10) 70%
        );
}

.person-card-content {
    position: absolute;

    z-index: 2;

    left: 26px;
    right: 26px;
    bottom: 27px;
}

.person-card-content span {
    color: #c3995c;

    font-size: 0.55rem;

    letter-spacing: 0.17rem;

    text-transform: uppercase;
}

.person-card-content h3 {
    margin:
        7px 0 10px;

    font-size: 2rem;

    line-height: 1;
}

.person-card-content p {
    color:
        rgba(
            255,
            255,
            255,
            0.58
        );

    font-size: 0.88rem;

    line-height: 1.55;
}

.place-library-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 22px;
}

.place-library-card {
    position: relative;

    min-height: 650px;

    overflow: hidden;

    background: #111;
}

.place-library-card img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1s ease;
}

.place-library-card:hover img {
    transform: scale(1.035);
}

.place-library-card::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(2, 3, 2, 0.97),
            rgba(2, 3, 2, 0.15) 65%
        );
}

.place-library-content {
    position: absolute;

    z-index: 2;

    left: 38px;
    right: 38px;
    bottom: 38px;
}

.place-library-content span {
    color: #c79b59;

    font-size: 0.58rem;

    letter-spacing: 0.18rem;

    text-transform: uppercase;
}

.place-library-content h3 {
    margin:
        10px 0 16px;

    font-size:
        clamp(
            2.3rem,
            4vw,
            4rem
        );

    line-height: 0.95;
}

.place-library-content p {
    max-width: 600px;

    color:
        rgba(
            255,
            255,
            255,
            0.66
        );

    line-height: 1.7;
}

.spoiler-label {
    display: inline-block;

    margin-top: 15px;

    padding:
        7px 10px;

    border:
        1px solid
        rgba(
            207,
            157,
            85,
            0.4
        );

    color: #cf9d55;

    font-size: 0.55rem;

    letter-spacing: 0.14rem;

    text-transform: uppercase;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    min-height: 220px;

    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: end;

    gap: 30px;

    padding:
        70px 8vw;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.06
        );

    background: #030403;
}

.footer-logo {
    font-family:
        Georgia,
        serif;

    font-size: 1.2rem;

    letter-spacing: 0.4rem;
}

.footer-links {
    display: flex;

    gap: 24px;
}

.footer-links a {
    color:
        rgba(
            255,
            255,
            255,
            0.55
        );

    text-decoration: none;

    text-transform: uppercase;

    font-size: 0.62rem;

    letter-spacing: 0.14rem;
}

footer p {
    justify-self: end;

    color:
        rgba(
            255,
            255,
            255,
            0.35
        );

    font-size: 0.75rem;
}


/* =========================================================
   ANIMAÇÕES
   ========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   PERFORMANCE
   ========================================================= */

.explore-section,
.places-preview-section,
.series-section,
.author-section {

    content-visibility: auto;

    contain-intrinsic-size: 1000px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media
(max-width: 1100px) {

    .preview-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .collection-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media
(max-width: 800px) {

    .header {
        padding:
            20px 22px;
    }

    .header.scrolled {
        padding:
            18px 22px;
    }

    .menu-button {
        display: block;
    }

    .navigation {
        position: fixed;

        inset: 0;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        gap: 32px;

        background:
            rgba(
                4,
                6,
                4,
                0.98
            );

        opacity: 0;

        visibility: hidden;

        transform:
            translateY(-10px);

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease,
            transform 0.3s ease;
    }

    .navigation.open {
        opacity: 1;

        visibility: visible;

        transform:
            translateY(0);
    }

    .navigation a {
        font-family:
            Georgia,
            serif;

        font-size: 1.8rem;

        letter-spacing: 0.05rem;

        text-transform: none;
    }


    .hero {
        padding:
            0 24px 70px;

        background-image:
            linear-gradient(
                to top,
                rgba(3, 5, 3, 1) 0%,
                rgba(3, 5, 3, 0.68) 35%,
                rgba(3, 5, 3, 0.16) 75%,
                rgba(3, 5, 3, 0.08) 100%
            ),
            url("../assets/images-webp/santuario-ventre-de-pedra-mobile.webp");

        background-attachment: scroll;
    }

    .sanctuary-section {
        background-image:
            url("../assets/images-webp/santuario-ventre-de-pedra-mobile.webp");
    }

    .hero h1 {
        font-size: 19vw;
    }

    .hero-tagline {
        font-size: 1.45rem;
    }

    .scroll-indicator {
        display: none;
    }


    .book-section,
    .character-section,
    .pandora-section,
    .myrah-section,
    .nilo-section {

        grid-template-columns: 1fr;

        gap: 60px;

        padding:
            100px 24px;
    }

    .book-image img {
        width:
            min(
                100%,
                310px
            );
    }

    .character-image img,
    .myrah-portrait img,
    .pandora-image img,
    .nilo-image img {

        width:
            min(
                100%,
                360px
            );
    }


    .full-image-section,
    .naiarune-section {

        min-height: 90vh;

        padding:
            80px 24px;
    }


    .worlds-section {
        grid-template-columns: 1fr;
    }

    .world-card {
        min-height: 70vh;
    }

    .worlds-center {
        width:
            calc(
                100% - 48px
            );
    }


    .explore-section,
    .places-preview-section,
    .series-section {

        padding:
            100px 24px;
    }

    .explore-heading {
        text-align: left;
    }

    .preview-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .preview-card {
        min-height: 440px;
    }

    .places-preview-grid {
        grid-template-columns: 1fr;
    }

    .place-feature-card {
        min-height: 600px;
    }

    .series-grid {
        grid-template-columns: 1fr;
    }


    .author-section {
        padding:
            100px 24px;
    }


    .inner-page {
        padding-top: 80px;
    }

    .inner-hero {
        min-height: 55vh;

        padding:
            70px 24px;
    }

    .collection-section {
        padding:
            80px 24px;
    }

    .collection-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .person-card {
        min-height: 450px;
    }

    .place-library-grid {
        grid-template-columns: 1fr;
    }

    .place-library-card {
        min-height: 600px;
    }


    footer {
        grid-template-columns: 1fr;

        align-items: start;

        gap: 30px;

        padding:
            60px 24px;
    }

    footer p {
        justify-self: start;
    }

}


/* =========================================================
   CELULARES PEQUENOS
   ========================================================= */

@media
(max-width: 520px) {

    .preview-grid,
    .collection-grid {

        grid-template-columns: 1fr;
    }

    .preview-card,
    .person-card {

        min-height: 520px;
    }

}