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

body{
    min-height:100vh;

    background:
    linear-gradient(
        rgba(0,0,0,.78),
        rgba(0,0,0,.92)
    ),
    url("../images/hero-bg.jpg");

    background-size:cover;
    background-position:center;
    background-attachment:fixed;

    font-family:"Cinzel",serif;
    color:#fff;

    overflow:hidden;
}

/* HEADER */

.header{
    max-width:1600px;
    margin:auto;

    padding:5px 40px 0;

    display:flex;
    justify-content:space-between;
    align-items:flex-start;
}

.logo-area img{
    height:260px;
    width:auto;

    display:block;

    filter:
    drop-shadow(0 0 15px rgba(214,180,108,.25));
}

/* TOP BUTTONS */

.header-links{
    display:flex;
    gap:15px;

    margin-top:25px;
}

.header-links a{

    min-width:170px;
    height:52px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    background:rgba(0,0,0,.45);

    color:#d7b05f;
    text-decoration:none;

    border:1px solid rgba(215,176,95,.30);
    border-radius:8px;

    letter-spacing:2px;
    font-size:14px;

    transition:.3s;
}

.header-links i{
    font-size:18px;
    min-width:20px;
}

.header-links .fa-discord{
    color:#5865F2;
}

.header-links .fa-facebook-f{
    color:#1877F2;
}

.header-links a:hover{

    color:#fff;

    border-color:#d7b05f;

    background:
    rgba(215,176,95,.12);

    box-shadow:
    0 0 20px rgba(215,176,95,.25);
}

/* TITLE */

.portal-intro{

    text-align:center;

    margin-top:-130px;
    margin-bottom:15px;
}

.choose-era-title{

    width:500px;
    max-width:80%;

    height:auto;

    display:block;

    margin:0 auto;

    filter:
    drop-shadow(0 0 18px rgba(215,176,95,.30));
}

/* ERA */

.era-section{

    max-width:1400px;

    margin:25px auto 0;

    padding:0 20px;
}

.era-grid{

    display:grid;

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

    gap:22px;
}

.era-card{

    display:block;

    overflow:hidden;

    border-radius:14px;

    text-decoration:none;

    height:540px;

    background:#000;

    transition:.35s;
}

.era-card:nth-child(1){
    border:1px solid rgba(255,190,90,.45);
}

.era-card:nth-child(2){
    border:1px solid rgba(255,120,80,.45);
}

.era-card:nth-child(3){
    border:1px solid rgba(130,120,255,.45);
}

.era-card img{

    width:100%;
    height:100%;

    object-fit:cover;

    display:block;

    transition:.5s;
}

.era-card:hover{

    transform:
    translateY(-8px);
}

.era-card:nth-child(1):hover{

    box-shadow:
    0 0 25px rgba(255,190,90,.25),
    0 0 60px rgba(255,190,90,.15);
}

.era-card:nth-child(2):hover{

    box-shadow:
    0 0 25px rgba(255,120,80,.25),
    0 0 60px rgba(255,120,80,.15);
}

.era-card:nth-child(3):hover{

    box-shadow:
    0 0 25px rgba(130,120,255,.30),
    0 0 60px rgba(130,120,255,.18);
}

.era-card:hover img{

    transform:
    scale(1.04);
}

/* FOOTER */

footer{

    text-align:center;

    margin-top:55px;

    color:#d7b05f;

    font-size:14px;

    letter-spacing:1px;

    text-shadow:
    0 0 12px rgba(215,176,95,.25);
}

/* MOBILE */

@media(max-width:1100px){

    body{
        overflow:auto;
    }

    .header{
        flex-direction:column;
        align-items:center;
        gap:10px;
    }

    .logo-area img{
        height:100px;
    }

    .header-links{
        margin-top:10px;
        transform:scale(.9);
    }

    .portal-intro{
        margin-top:20px;
        margin-bottom:15px;
    }

    .choose-era-title{
        width:280px;
    }

    .era-section{
        margin-top:20px;
        padding:0 5px;
    }

    .era-grid{
        grid-template-columns:repeat(3,1fr);
        gap:6px;
    }

    .era-card{
        height:auto;
        aspect-ratio:420 / 540;
    }

    .era-card img{
        object-fit:cover;
    }

    footer{
        margin-top:25px;
        margin-bottom:15px;
        font-size:12px;
    }
}