/*==============================
   Castle Siege
==============================*/

.siege_event {
    width: 100%;
    height: 300px;
    display: flex;
    position: relative;
    overflow: hidden;
    background: url(../images/bg_cs.png) no-repeat;
    background-size: 100%;
    border: 1px solid var(--border-color-grey-1);
}

/* sombra degrade */
.siege_event::after {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: linear-gradient(to top,
            rgb(31 31 31) 0%,
            rgba(0, 0, 0, 0) 100%,
            rgb(25 25 25) 100%);
    content: "";
}

/* Titulo */
.siege_event .siege_title {
    width: inherit;
    text-align: center;
    position: absolute;
    top: 15px;
    z-index: 1;
    text-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
}

.siege_event .siege_title h2 {
    text-transform: uppercase;
    font-weight: bolder;
}

.siege_event .siege_wrap {
    width: inherit;
    height: max-content;
    align-self: flex-end;
    bottom: 30px;
    position: relative;
    z-index: 1;
}

/* Siege resultados */
.siege_event .siege_result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.siege_event .siege_wrap_text {
    text-align: center;
    max-width: max-content;
    min-width: 100px;
}

.siege_result .siege_text {
    max-width: 100px;
}

/* Guild picture */
.siege_event .siege_result svg {
    border-radius: 7px;
    border: 1px solid var(--dark-grey-opacity-2);
}

.siege_event .siege_next_battle,
.siege_result .siege_text {
    background-color: var(--dark-grey-1);
    border: 1px solid var(--dark-grey-opacity-2);
    border-radius: 11px;
    text-align: center;
}

.siege_event .siege_next_battle {
    margin: 10px auto;
    max-width: 250px;
    width: 100%;
}

/*==============================
   War devias
==============================*/
.war_devias {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    background: url(../images/war_bg.png) no-repeat;
    background-size: 100%;
    border: 1px solid var(--border-color-grey-1);
    position: relative;
}

/* sombra degrade */
.war_devias::after {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: linear-gradient(to top,
            rgb(31 31 31) 0%,
            rgba(0, 0, 0, 0) 100%,
            rgb(25 25 25) 100%);
    content: "";
}

.war_devias::before {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(to bottom,
            rgba(31, 31, 31, 0.5) 0%,
            rgba(0, 0, 0, 0) 100%,
            rgb(25 25 25) 100%);
    content: "";
}

.war_devias .war_devias_title {
    width: 100%;
    text-align: center;
    text-shadow: 0 3px 7px rgba(0, 0, 0, 0.767);
    position: absolute;
    z-index: 1;
    top: 15px;
}

.war_devias .war_devias_title h2 {
    text-transform: uppercase;
    font-weight: bolder;
}

.war_devias .war_next_battle {
    max-width: 250px;
    width: 100%;
    background-color: var(--dark-grey-1);
    border: 1px solid var(--dark-grey-opacity-2);
    border-radius: 11px;
    text-align: center;
    position: relative;
    margin: 10px 0;
    z-index: 1;
}

.war_devias .war_devias_wrap .war_text {
    width: 100px;
}

.war_devias .war_devias_wrap .war_guild svg {
    border-radius: 7px;
    border: 1px solid var(--dark-grey-opacity-2);
}

/*==============================
   Rei do Mu
==============================*/
.rei_mu {
    height: 100%;
    display: flex;
    position: relative;
    border: 1px solid var(--border-color-grey-1);
    overflow: hidden;
}

/* Imagem de fundo */
.rei_mu::before {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 50px;
    background: url(../images/kingmu_bg.png) no-repeat var(--dark-grey-1);
    opacity: 0.9;
    z-index: 1;
    background-size: 100%;
    content: "";
}

.rei_mu::after {
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
            rgb(33 32 32) 24%,
            rgb(33 32 32 / 26%) 100%,
            rgb(32 32 32) 100%);
    position: absolute;
    top: 0;
    content: "";
    z-index: 1;
}

.rei_mu .rei_mu_title {
    width: 100%;
    text-align: center;
    position: absolute;
    top: 15px;
    z-index: 2;
    text-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
}

.rei_mu .rei_mu_title h2 {
    text-transform: uppercase;
    font-weight: bolder;
}

.rei_mu_result {
    width: 100%;
    height: max-content;
    display: flex;
    align-self: flex-end;
    margin-bottom: 30px;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 15px;
    z-index: 2;
    padding: 0 8px;
}

.rei_mu_result .rei_mu_wrap_text {
    max-width: 105px;
}

.rei_mu_result .rei_mu_text {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    padding: 0 15px;
    background-color: var(--dark-grey-1);
    border: 1px solid var(--dark-grey-opacity-2);
    border-radius: 50rem;
}