/*
    Fonts
*/
@font-face{
    font-family: "Cinzel";
    src: url("../fonts/Cinzel-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face{
    font-family: "Philosopher";
    src: url("../fonts/Philosopher-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face{
    font-family: "Marcellus";
    src: url("../fonts/Marcellus-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

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

html,
body{
    width: 100%;
    min-height: 100%;
}

body{
    min-height: 100vh;
    background-image: url("../img/bg-4k.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    font-family: "Philosopher", sans-serif;
    overflow-x: hidden;
}

/* centralização real do conteúdo */
.page-wrapper{
    min-height: 100vh;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;   /* centraliza verticalmente */
    align-items: center;
    gap: 32px;
}

/*
    Links
*/
a{
    color: #ffd977;
    text-decoration: none;
}

a:hover{
    color: #fff1b8;
}

/*
    Header
*/
.topo{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.indices{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.status-server,
.login{
    font-size: 20px;
    color: white;
    font-weight: bold;
    font-family: "Marcellus", serif;
    text-shadow: 0 0 6px rgba(0,0,0,0.45);
}

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

.login a,
.status-server a{
    color: white;
}

.login a:hover,
.status-server a:hover{
    color: #ffd000;
}

.separator{
    color: rgba(255,255,255,0.75);
}

.logo{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img{
    width: 100%;
    max-width: 430px;
    height: auto;
    display: block;
}

/*
    Box visual padrão
*/
.ui-box{
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(8px);
    background: rgba(35, 10, 6, 0.42);
    box-shadow: 0 0 18px rgba(255, 200, 120, 0.12);
    border-left: 2px solid rgba(255,215,120,0.25);
    border-right: 2px solid rgba(255,215,120,0.25);
}

.ui-box::before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255,215,120,.95),
        rgba(255,255,255,.85),
        rgba(255,215,120,.95),
        transparent
    );
}

.ui-box::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255,215,120,.75),
        rgba(255,255,255,.55),
        rgba(255,215,120,.75),
        transparent
    );
}

/*
    Content
*/
.content{
    width: 100%;
}

.banner-baixo{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.banner{
    min-height: 120px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.menu-links{
    color: white;
    font-size: 22px;
    font-weight: bold;
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    text-shadow: 0 0 6px rgba(0,0,0,0.45);
}

.menu-links:hover{
    color: #ffd000;
}

/*
    Responsividade
*/
@media (max-width: 980px){
    .page-wrapper{
        justify-content: center;
        gap: 24px;
        padding: 20px 12px;
    }

    .indices{
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 8px;
    }

    .status-server,
    .login{
        font-size: 16px;
    }

    .logo img{
        max-width: 320px;
    }

    .banner-baixo{
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .banner{
        min-height: 90px;
    }

    .menu-links{
        font-size: 18px;
    }
}

@media (max-width: 600px){
    .page-wrapper{
        padding: 16px 10px;
        gap: 20px;
    }

    .topo{
        gap: 20px;
    }

    .logo img{
        max-width: 250px;
    }

    .login{
        flex-wrap: wrap;
        justify-content: center;
    }

    .banner{
        min-height: 82px;
        padding: 16px;
    }

    .menu-links{
        font-size: 16px;
    }
}