
/* =========================================================
   EL JUEGO
   CSS ESPECÍFICO
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.game-hero {

    min-height: 500px;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 120px 20px 80px;

    background:
        linear-gradient(
            rgba(0,0,0,.78),
            rgba(0,0,0,.88)
        ),
        url("../assets/img/hero.jpg");

    background-size: cover;
    background-position: center;
}


.game-hero-content {

    max-width: 900px;

    width: 100%;

}


.game-hero h2 {

    font-family: Cinzel, serif;

    font-size: 70px;

    color: #d9b96d;

    margin-bottom: 20px;

}


.game-hero p {

    font-family: Cinzel, serif;

    font-size: 25px;

    color: #ffffff;

    letter-spacing: 5px;

    margin-bottom: 20px;

}


.game-hero span {

    display: block;

    color: #bdb7a5;

    font-size: 18px;

}


/* =========================================================
   SECCIONES
   ========================================================= */

.game-section {

    padding: 100px 8%;

    background: #0d0d0d;

}


.game-dark {

    padding: 100px 8%;

    background: #090909;

}


.game-container {

    max-width: 1200px;

    margin: 0 auto;

    width: 100%;

}


/* =========================================================
   TÍTULOS
   ========================================================= */

.game-container > h2 {

    text-align: center;

    font-family: Cinzel, serif;

    font-size: 45px;

    color: #d9b96d;

    margin-bottom: 40px;

}


/* =========================================================
   TEXTO GENERAL
   ========================================================= */

.game-container > p {

    max-width: 900px;

    margin: 0 auto 25px;

    text-align: center;

    color: #c4c0b5;

    font-size: 18px;

    line-height: 1.8;

}


/* =========================================================
   INTRO SECCIONES
   ========================================================= */

.section-intro {

    max-width: 700px !important;

    margin: -20px auto 50px !important;

    color: #bdb7a5 !important;

    text-align: center;

}


/* =========================================================
   CÓMO SE JUEGA
   ========================================================= */

.game-cards {

    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 25px;

    max-width: 1200px;

    margin: 55px auto 0;

}


.game-cards article {

    position: relative;

    background: #181818;

    border: 1px solid #2c2c2c;

    border-top: 3px solid #7c1111;

    border-radius: 10px;

    padding: 70px 25px 30px;

    min-height: 280px;

    text-align: center;

    transition: all .3s ease;

}


.game-cards article:hover {

    transform: translateY(-8px);

    border-color: #7c1111;

    box-shadow: 0 10px 30px rgba(0,0,0,.4);

}


/* =========================================================
   NÚMEROS CÓMO SE JUEGA
   ========================================================= */

.game-cards article::before {

    content: "01";

    position: absolute;

    top: 15px;

    left: 0;

    right: 0;

    text-align: center;

    font-family: Cinzel, serif;

    font-size: 34px;

    font-weight: 700;

    color: #7c1111;

    opacity: .9;

}


.game-cards article:nth-child(2)::before {

    content: "02";

}


.game-cards article:nth-child(3)::before {

    content: "03";

}


.game-cards article:nth-child(4)::before {

    content: "04";

}


/* =========================================================
   TÍTULOS CÓMO SE JUEGA
   ========================================================= */

.game-cards h3 {

    font-family: Cinzel, serif;

    font-size: 22px;

    color: #d9b96d;

    margin-bottom: 20px;

    line-height: 1.3;

}


/* =========================================================
   TEXTO CÓMO SE JUEGA
   ========================================================= */

.game-cards p {

    color: #c4c0b5;

    font-size: 16px;

    line-height: 1.7;

}


/* =========================================================
   FACCIONES
   ========================================================= */

.factions {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 25px;

    max-width: 1200px;

    margin: 50px auto 0;

}


.factions article {

    background: #181818;

    border: 1px solid #2c2c2c;

    border-left: 3px solid #7c1111;

    border-radius: 10px;

    padding: 30px;

    min-height: 190px;

    transition: all .3s ease;

}


.factions article:hover {

    transform: translateY(-8px);

    border-color: #7c1111;

    box-shadow: 0 10px 30px rgba(0,0,0,.4);

}


/* =========================================================
   TÍTULOS FACCIONES
   ========================================================= */

.factions h3 {

    font-family: Cinzel, serif;

    font-size: 21px;

    color: #d9b96d;

    margin-bottom: 18px;

    line-height: 1.35;

}


/* =========================================================
   TEXTO FACCIONES
   ========================================================= */

.factions p {

    color: #c4c0b5;

    font-size: 16px;

    line-height: 1.7;

}


/* =========================================================
   CAMPO DE BATALLA
   ========================================================= */

.game-image {

    min-height: 500px;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 100px 20px;

    background:
        linear-gradient(
            rgba(0,0,0,.70),
            rgba(0,0,0,.85)
        ),
        url("../assets/img/hero.jpg");

    background-size: cover;

    background-position: center;

}


.game-image-content {

    max-width: 900px;

    width: 100%;

}


.game-image h2 {

    font-family: Cinzel, serif;

    font-size: 50px;

    color: #d9b96d;

    margin-bottom: 25px;

}


.game-image p {

    color: #d1c7ac;

    font-size: 20px;

    line-height: 1.8;

}


/* =========================================================
   SECCIÓN ÚNETE
   ========================================================= */

.game-join {

    text-align: center;

}


.game-join p {

    margin-bottom: 35px;

}


/* =========================================================
   EFECTO GENERAL DE TARJETAS
   ========================================================= */

.game-cards article,
.factions article {

    box-shadow:
        0 5px 15px rgba(0,0,0,.25);

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {


    .game-cards {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .factions {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .game-hero h2 {

        font-size: 55px;

    }


}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 700px) {


    .game-section,
    .game-dark {

        padding: 70px 20px;

    }


    .game-hero {

        min-height: 400px;

        padding: 150px 20px 70px;

    }


    .game-hero h2 {

        font-size: 42px;

    }


    .game-hero p {

        font-size: 18px;

        letter-spacing: 3px;

    }


    .game-hero span {

        font-size: 16px;

    }


    .game-container > h2 {

        font-size: 35px;

    }


    .game-container > p {

        font-size: 16px;

    }


    .game-cards {

        grid-template-columns: 1fr;

        gap: 20px;

        margin-top: 40px;

    }


    .game-cards article {

        min-height: auto;

        padding: 70px 25px 30px;

    }


    .factions {

        grid-template-columns: 1fr;

        gap: 20px;

        margin-top: 40px;

    }


    .factions article {

        min-height: auto;

    }


    .game-image {

        min-height: 400px;

        padding: 80px 20px;

    }


    .game-image h2 {

        font-size: 38px;

    }


    .game-image p {

        font-size: 17px;

    }


}


/* =========================================================
   MÓVILES PEQUEÑOS
   ========================================================= */

@media (max-width: 450px) {


    .game-hero h2 {

        font-size: 36px;

    }


    .game-hero p {

        font-size: 16px;

        letter-spacing: 2px;

    }


    .game-container > h2 {

        font-size: 30px;

    }


    .game-cards h3 {

        font-size: 20px;

    }


    .factions h3 {

        font-size: 19px;

    }


}
