:root {
    --swiper-pagination-bullet-opacity: 1;
    --swiper-pagination-bullet-inactive-opacity: 1;
    --swiper-pagination-bullet-inactive-color: #ffe000;
    --swiper-pagination-color: #957c00;
    --swiper-pagination-bullet-border-radius: 0;
    --swiper-theme-color: #fdf4d9;;
    --footer: #665f4c;
    --link-color: #ffffff;
    --link-hover-color: hsl(41.2deg 97.65% 66.67%);
    --default-border-color: #ffffff;
}

.card-body .discord {
    max-height: 320px;
    margin-bottom: 10px;
    color: #c8975f;
}

.card-body .discord li {
    border-bottom: 1px solid #426a9436;
}

.card-body .discord-playing {
    max-width: 40%;
    text-align: end;
}

.card-body .discord-name {
    max-width: 60%;
}

html {
    /*scrollbar-color: var(--default-border-color) var(--link-hover-color);*/
    scrollbar-color: auto;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
    padding: 10px;
}

::-webkit-scrollbar-thumb {
    border: 4px solid rgba(0, 0, 0, 0);
    background-clip: padding-box;
    background: #f4c542;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #816d06;
}

body {
    /*background: #000 url(../images/header_bg.png) top center no-repeat;*/
    background: #0a0a0afa;
    font-family: "El Messiri", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: #FFF;
}

a {
    color: #ffffff;
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    color: var(--link-hover-color);
    text-decoration: none;
}

.border {
    border: 1px solid var(--default-border-color) !important;
}

.navbar {
    background: transparent;
    background-size: cover;
    color: var(--link-color);
    position: absolute;
    width: 100%;
    z-index: 2;
}

.navbar .navbar-nav {
    gap: 20px;
}

.navbar-dark .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--link-color);
    font-size: 1.2em;
    font-weight: bold;
}

.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show > .nav-link {
    color: var(--link-hover-color);
}

.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--link-hover-color);
}

.navbar-brand {
    position: absolute;
    left: 22px;
    top: 3px;
}

.dropdown-toggle:after {
    border-bottom: 0;
    border-left: .3em solid transparent;
    border-right: .3em solid transparent;
    border-top: 0.6em solid;
    content: "";
    display: inline-block;
    margin-left: .255em;
    vertical-align: -0.045em;
}

.languages-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.languages-nav-item .language-image {
    background: url("../images/lang_border.png") center no-repeat;
    background-size: contain;
    border-radius: 50%;
    padding: 3px;
}

.dropdown-menu {
    background-color: #131109;
    border: 1px solid #e7bb4e;
}

.dropdown-item {
    color: #ffffff;
    font-size: 1.1em;
    font-weight: bold;
}

.dropdown-item:focus,
.dropdown-item:hover,
.dropdown-item.active,
.dropdown-item:active {
    background-color: hsl(41.2deg 70.12% 38.88%);
    color: #fff;
}

.dropdown-divider {
    border-top: 1px solid #f8c248;
}

.header {
    min-height: 700px;
    background: url("../images/header_bg.png") center no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.header:before {
    position: absolute;
    content: "";
    height: 20%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
}

.header.mini {
    min-height: 400px;
}

.header:after {
    content: "";
    position: absolute;
    bottom: -35px;
    width: 100%;
    height: 100px;
    background: url("../images/header_endline.png") top center round;
    z-index: 1;
}

.header .crystal {
    z-index: 0;
    position: absolute;
    left: 72%;
    top: 125px;
    transform: translateX(100);
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
    animation: floatingEffect 5s linear infinite;

}

@keyframes floatingEffect {
    0% {
        transform: translateX(-50%) translateY(0);
    }
    25% {
        transform: translateX(-50%) translateY(-8px);
    }
    50% {
        transform: translateX(-50%) translateY(-15px);
    }
    75% {
        transform: translateX(-49%) translateY(-8px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}

.header .man {
    z-index: 1;
    position: absolute;
    left: 50%;
    transform: translateX(-60%);
    bottom: 17px;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.header-items {
    height: 100%;
    position: absolute;
}

.header-items > div {
    height: 100%;
}

.header-info {
    max-width: 55%;
}

.img-fluid-middle {
    margin-top: 0;
}

.img-fluid-reverse {
    max-height: 100%;
    width: auto;
}

.main-content > h1 {
    text-align: center;
    color: #f7c854;
    font-size: 3.5em;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.main-content.ranking .btn-group .btn {
    width: 180px;
    padding: .4rem 1rem;
    justify-content: stretch;
    color: #fff;
}

.card {
    background: transparent url("../images/pop_up.png") round;
    border-radius: 20px;
    border: #ffffff4d 2px solid;
}

.main-content .card.card-transparent {
    background: transparent;
}

.main-content .card.player-info {
    background-image: url("../images/dashboard/dashboard_player_info_bg.png");
}

.main-content .card {
    background-image: url("../images/content_card_bg.png");
}

.card-header:first-child {
    border-bottom: none;
    margin: 0 -1px 0 -1px;
    border-radius: 10px;
}

.main-content .card-header:first-child {
    /*text-align: center;*/
    font-size: 1.8em;
    line-height: 1.2;
    /*text-shadow: 0 0 10px var(--link-color);*/
    color: #f4c542;
    border-radius: 10px;
}

.card-header {
    color: #0dff00;
    font-size: 1.3em;
    background: #0000003d;
}

.uniques,
.globals {
    /*background: transparent url("../images/uniques_bg.png") round;*/
    display: flex;
    align-items: center;
    gap: .75rem;
    /*padding: 15px 10px;*/
    border-radius: 15px;
}

.uniques .unique-name,
.globals .player-name {
    color: #fff;
    font-size: 1.2em;
}

.uniques .unique-image,
.globals .player-image {
    background: #000000;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    overflow: hidden;
    flex: none;
    padding: 10px;
    align-items: center;
    display: flex;
    justify-content: center;
}

.uniques .unique-data,
.globals .global-data {
    flex-grow: 0.8;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 64px;
    width: 100%;
    overflow: hidden;
    background: black;
    border-radius: 10px;
    padding: 5px;
}

.globals .global-data .global-message {
    height: 64px;
}

.uniques .unique-killer,
.globals .global-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    background: #858257;
    color: #ffffff;
    padding: 5px 15px 2px;
    line-height: 1;
    border-radius: 5px;
}

.uniques .date,
.globals .date {
    margin-left: auto;
}

.globals .global-message .message {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.uniques .killer-name,
.uniques .killer-name a,
.globals .player-name,
.globals .player-name a {
    color: #ececec;
}

.main-content .uniques .unique-name,
.main-content .globals .player-name {
    font-size: 1.3em;
}

.row-bordered:not(:last-child):after {
    border: 1px solid var(--default-border-color);
}

.row-bordered:last-child:after {
    border: none;
}

.card-body-rounded {
    border: var(--default-border-color) 1px solid;
    border-radius: 25px;
    background: #0b0804;
    margin: 0 auto;
    overflow: hidden;
    color: #fff;
    padding: 1rem 2rem;
}

.card-body-rounded2 {
    border: #f8c248 1px solid;
    border-radius: 25px;
    background: #262216;
    margin: 0 auto;
    overflow: hidden;
    color: #fff;
    padding: 1rem 2rem;
}

.sidebar .card {
    /*background-size: cover;*/
    background-repeat: no-repeat;
    background-position: center;
}

.sidebar .card-header p {
    color: #f4c542;
}

.sidebar .card-body {
    padding: 0 0.75rem .75rem;
}

.sidebar .card.fortress {
    background-image: url("../images/sidebar/fortress/bg.png");
}

.sidebar .card.job {
    background-image: url("../images/sidebar/job/bg.png");
}

.sidebar .card.latest-uniques {
    background-image: url("../images/sidebar/latest-uniques/bg.png");
}

.sidebar .card.server-time {
    background-image: url("../images/sidebar/server-time/bg.png");
}

.sidebar .card.game-status {
    background-image: url("../images/sidebar/game-status/bg.png");
}

.sidebar .card.game-info {
    background-image: url("../images/sidebar/game-info/bg.png");
}

.sidebar .card.game-info .divider {
    position: relative;
    height: 15px;
}

.sidebar .card.game-info .game-info-divider {
    position: absolute;
    left: 0;
    top: -5px;
    /*padding: 0 10px;*/
    width: 100%;
}

.sidebar .card.game-info .server-info {
    color: #fdf4d9;
}

.sidebar .card.game-info .server-info li p {
    margin-bottom: 0;
    font-family: serif;
}

.sidebar .card.discord {
    background-image: url("../images/sidebar/discord/bg.png");
    max-height: 100%;
}

.sidebar table.table {
    border: #af793e 1px solid;
    border-radius: 25px !important;
    background: #201103;
    margin: 0 auto;
    overflow: hidden;
}

.sidebar .nav {
    gap: 4px;
}

.table thead th {
    border-bottom: none;
    vertical-align: bottom;
}

.table th,
.table td {
    border-top: #c8975f 1px solid;
    border-right: #c8975f 1px solid;
    padding: .45rem;
    vertical-align: top;
    color: #c8975f;
}
/*
.table-striped tbody tr:nth-of-type(even) th,
.table-striped tbody tr:nth-of-type(even) td {
    border-top: #c8975f 1px solid;
}
*/
.table-bordered,
.table-bordered td,
.table-bordered th {
    border: 1px solid #685b00;
}

.table.game-requirements {

    th,
    td {
        text-align: center;
        color: #fff;
    }

    thead th {
        color: #f7c854;
    }
}

.dataTable {
    border-radius: 20px;
    overflow: hidden;
}

.dataTable tfoot,
.dataTable thead {
    background: url("../images/secondary-btn-active.png") center / contain round;
    color: #fff;
}

.dataTable thead th {
    border-top: none;
}

.dataTable tfoot th,
.dataTable thead th {
    padding: 10px;
    color: #ffffff;
    text-align: center;
    font-size: 1.3em;
}

table.dataTable > thead .sorting:after,
table.dataTable > thead .sorting:before,
table.dataTable > thead .sorting_asc:after,
table.dataTable > thead .sorting_asc:before,
table.dataTable > thead .sorting_asc_disabled:after,
table.dataTable > thead .sorting_asc_disabled:before,
table.dataTable > thead .sorting_desc:after,
table.dataTable > thead .sorting_desc:before,
table.dataTable > thead .sorting_desc_disabled:after,
table.dataTable > thead .sorting_desc_disabled:before {
    bottom: 0.5em;
    color: #ffe200;
}

.dataTable tbody td {
    padding: 10px;
    color: #fff;
    text-align: center;
}

.table-striped tbody tr {
    background: url("../images/seconbdary-btn.png") center / contain round;
    color: #e6dfcb;
}

.server-event-timers,
.server-unique-kills {
    max-height: 325px;
    overflow-y: auto;
}

.server-event-timers li {
    padding: 3px 10px;
    background: #bc8545;
    border-radius: 10px;
    color: #201103;
}

.job-name,
.job-percentage {
    font-size: 1.3em;
    line-height: 1;
    color: #fff;
}

.progress {
    background-color: #2e2e2e;
    border: var(--default-border-color) 1px solid;
    border-radius: 10px;
    display: flex;
    font-size: .75rem;
    height: .7rem;
    overflow: hidden;
}

.bg-trader {
    background-color: #66ff00;
    box-shadow: 0 0 10px 2px #66ff00;
    border-radius: 10px;
}

.bg-hunter {
    background-color: #2ae2fd;
    box-shadow: 0 0 10px 2px #2ae2fd;
    border-radius: 10px;
}

.bg-thief {
    background-color: #8f0752;
    box-shadow: 0 0 10px 2px #8f0752;
    border-radius: 10px;
}

main {
    padding-bottom: 2rem;
    background-color: #100c00ba;
    /* background: transparent url("../images/main-content.png") bottom center no-repeat; */
}


footer {
    background-color: var(--footer);
    padding: 0;
    margin: auto;
    position: relative;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-top: #938203 1px solid;

    &:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background: url(../images/footer-bg.png) center / contain round;
        z-index: 0;
    }

    &:after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/footer-bg2.png) center / cover no-repeat;
        z-index: 0;
    }

    .content {
        z-index: 1;
        position: relative;
        max-width: 95%;
        justify-self: center;
        width: 100%;

        .footer-items {
            display: flex;
            font-size: 0.9rem;

            ul {
                margin-left: 1rem;
                list-style: none;

                h1 {
                    font-weight: normal;
                    text-transform: uppercase;
                    margin-bottom: .4rem;
                    font-size: .9rem;
                    line-height: 1.5;
                }

                li {
                    margin-bottom: .4rem;

                    a {
                        color: #7e7975;
                        text-transform: uppercase;
                        transition: .5s;

                        &:hover {
                            color: white;
                        }
                    }
                }
            }
        }

        .branding {
            display: flex;
            justify-content: start;
            align-items: start;

            .logo_brand {
                display: flex;
                align-items: center;
                flex-direction: column;
                justify-content: start;

                img {
                    width: 200px;
                    position: relative;
                    top: -10px;
                }

                .coded-by {
                    font-size: 0.7rem;
                    text-transform: uppercase;
                    color: #7e7975;
                    margin: 0;

                    a {
                        margin-top: 0;
                    }

                    .burio {
                        color: rgb(253, 254, 255);
                    }
                }
            }

            .copyrights {
                margin-left: 5rem;

                a {
                    display: inline-flex;
                    align-items: center;
                    margin-top: 3.2vh;

                    &:hover {
                        img {
                            transform: rotate(360deg);
                        }

                        p {
                            color: white !important;
                        }
                    }

                    img {
                        width: 3vh;
                        margin-bottom: 0;
                        transition: .5s;
                    }

                    p {
                        margin-top: 0 !important;
                        transition: .5s;
                        margin-left: 1vh;
                    }
                }

                .copyright-text {
                    font-size: 0.6rem;
                    text-transform: uppercase;
                    color: #fff;
                    margin: 0;
                }

                .copyright-description {
                    font-size: 0.6rem;
                    font-family: 'Intro';
                    text-transform: uppercase;
                    color: #7e7975;
                    margin-top: 1.4vh;
                    margin-bottom: 0;
                }
            }
        }

        .backlinks {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .footer-links-sides {
            display: flex;
            flex-direction: column;
            justify-content: center;
            height: 100%;
            margin-bottom: 0;
            color: #fff;
            gap: .5rem;

            a {
                color: #fff;
            }

            a:hover, a:focus {
                color: var(--link-hover-color);;
            }
        }
    }
}

.btn-link,
.btn-link:focus,
.btn-link:visited {
    color: #c8975f;
    text-decoration: none;
}

.btn-link:hover {
    color: var(--link-hover-color);
    text-decoration: none;
}

.border-yellow {
    border: #af793e 1px solid;
}

.border-top-yellow {
    border-top: #af793e 1px solid;
}

.border-bottom-yellow {
    border-bottom: #af793e 1px solid;
}

.border-left-yellow {
    border-left: #af793e 1px solid;
}

.border-right-yellow {
    border-right: #af793e 1px solid;
}

.gap-0 {
    gap: 0;
}

.gap-1 {
    gap: .375rem;
}

.gap-2 {
    gap: .75rem;
}

.gap-3 {
    gap: 1rem;
}

.gap-4 {
    gap: 1.5rem;
}

.gap-5 {
    gap: 2.75rem;
}

.row-gap-0 {
    row-gap: 0;
}

.row-gap-1 {
    row-gap: .375rem;
}

.row-gap-2 {
    row-gap: .75rem;
}

.row-gap-3 {
    row-gap: 1rem;
}

.row-gap-4 {
    row-gap: 1.5rem;
}

.row-gap-5 {
    row-gap: 2.75rem;
}

.col-gap-0 {
    column-gap: 0;
}

.col-gap-1 {
    column-gap: .375rem;
}

.col-gap-2 {
    column-gap: .75rem;
}

.col-gap-3 {
    column-gap: 1rem;
}

.col-gap-4 {
    column-gap: 1.5rem;
}

.col-gap-5 {
    column-gap: 2.75rem;
}

.text-yellow {
    color: #ffffff;
}

.header-cards {
    padding: 0 50px;
    z-index: 1;
    position: relative;
}

.header-cards .card {
    height: 100%;
    border-radius: 25px;
    border: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header-cards .card.top-ranking {
    background-image: url("../images/center-bar/top_ranking/bg.png");
}

.header-cards .card.top-pvp {
    background-image: url("../images/center-bar/top_pvp/bg.png");
}

.header-cards .card.top-survival {
    background-image: url("../images/center-bar/top_survival/bg.png");
}

.header-cards .card.top-unique {
    background-image: url("../images/center-bar/top_unique/bg.png");
}

.header-cards .card .card-header:first-child {
    border-radius: 0;
    background: transparent;
}

.header-cards .card-header p {
    font-size: 1.5rem;
    color: #f4c542;
}

.header-cards .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.center-bar-item {
    font-size: 2rem;
    text-align: center;
    text-transform: uppercase;
}

.center-bar-item .title {
    text-transform: uppercase;
}

.center-bar-item .name {
    color: #fc0000;
}

.players-online {
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1;
    text-transform: uppercase;
}

.players-online-count {
    color: #ffffff;
}

.bg-players-count {
    background-color: lawngreen;
    box-shadow: 0 0 10px 2px lawngreen;
    border-radius: 10px;
}

.server-status {
    text-align: center;
    font-size: 2rem;
    text-transform: uppercase;
}

.server-status.online {
    color: lawngreen;
}

.server-status.offline {
    color: red;
}

.header-timer {
    color: #fff;
    font-size: 1.4rem;
    text-align: center;
    letter-spacing: 10px;
    padding: 5px;
}

.fortress li {
    font-size: 1rem;
    text-align: center;
}

.header-donation {
    color: #66ff00;
    text-shadow: 0 0 10px #66ff00;
    font-size: 2rem;
    letter-spacing: 10px;
    text-align: center;
}

.swiper {
    padding: 1px;
}

.swiper-slide {
    height: 450px;
    border-radius: 25px;
    overflow: hidden;
    border: var(--default-border-color) 1px solid;
}

.news-img {
    display: block;
    height: 100%;
    width: 100%;
    border-radius: 25px;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    text-align: right;
}

.swiper-pagination {
    position: relative;
    margin-top: 10px;
}

.autoplay-progress {
    position: absolute;
    right: 50%;
    bottom: 0;
    transform: translateX(50%);
    z-index: 10;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--swiper-theme-color);
}

.autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: var(--swiper-theme-color);
    fill: none;
    stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
}

.autoplay-progress span {
    font-size: 0.8em;
    line-height: 1;
}

.donation-method {
    display: flex;
    position: relative;
    width: calc(calc(100% / 3) - 1rem);
    border-radius: 5px;
    padding: 25px;
    overflow: hidden;
    border: var(--default-border-color) 1px solid;
    background: url("../images/content_card_bg.png") left / contain round;
}

.donation-method img {
    width: 250px;
    max-width: 100%;
    height: auto;
    margin: auto;
}

.donation-method:hover:after {
    content: "";
    background: rgba(24, 0, 0, 0.3);
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

.media-video {
    position: relative;
    height: 236px;
    width: calc(calc(100% / 2) - 0.5rem);
    border-radius: 25px;
    overflow: hidden;
    border: var(--default-border-color) 1px solid;
}

/*.media-video:after {
    content: "";
    clear: both;
    background: url("../images/play-btn.png") center no-repeat;
    width: 87px;
    height: 88px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}*/

.media-video:hover:after {
    background-image: url("../images/play-btn-hover.png");
}

.media-video img {
    width: 100%;
    height: auto;
}

.download-card-item {
    width: calc(calc(100% / 3) - 0.7rem);
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    border: var(--default-border-color) 1px solid;
    background: url("../images/content_card_bg.png") left / contain round;
    padding: 15px;
}

.download-card {
    display: flex;
    align-items: center;
    height: 100%;
}

.download-card .download-image {
    background: #12100d;
    border-radius: 25px;
    overflow: hidden;
    width: 120px;
    height: 120px;
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 10px;
}

.download-card .download-image img {
    width: 100%;
    height: auto;
}

.download-info {
    max-width: 262px;
}

.download-name {
    font-size: 2.4em;
    color: #f7c854;
    line-height: 1;
    font-weight: bold;
    max-width: 262px;
    white-space: nowrap;
    overflow: hidden;
}

.download-size {
    display: flex;
    gap: 12px;
    font-size: 1.3em;
}

.download-size-title {
    color: var(--swiper-theme-color);
}

.download-size-value {
    color: #fff;
}

.download-button {
    width: 100%;
    font-size: 1.2em;
}

.navbar-dark .navbar-nav .nav-link.btn-primary {
    color: #ffffff;
    padding: 0.1rem 1.5rem;
}

.navbar-dark .navbar-nav .nav-link.btn-primary.login {
    padding: 0.1rem;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    display: flex;
    border-radius: 50%;
}

.btn-primary {
    background: linear-gradient(to bottom, #000000, #362b00);
    border: #9b8126 1px solid;
    color: #e9b900;
    font-weight: bold;
}

.btn-primary:hover,
.btn-primary:focus {
    background: hsl(39.45deg 87.44% 59.41%);
    border: #ffffff 1px solid;
    color: #000;
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary.dropdown-toggle:focus,
.btn-primary.focus,
.btn-primary:focus {
    box-shadow: 0 0 0 .2rem rgba(0, 0, 0, 0.5);
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
    background: var(--link-hover-color);
    border: var(--link-color) 1px solid;
    color: #000;
}


.btn-secondary {
    background: url("../images/seconbdary-btn.png") center round;
    width: 120px;
    height: 44px;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    vertical-align: middle;
    font-size: 1.5em;
    padding: .4rem .5rem;
    color: var(--link-color);
    z-index: 1;
    /*text-shadow: 0 0 10px var(--link-color);*/
    outline: none;
    text-align: center;
    position: relative;
    border: 1px solid #f7c854;
}

.btn-secondary:hover:after,
.btn-secondary:focus:after,
.btn-secondary.active:after {
    content: '';
    background: url("../images/secondary-btn-active.png") center round;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    border-radius: 5px;
}

.btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled):active,
.show > .btn-secondary.dropdown-toggle {
    background: url("../images/secondary-btn-active.png") center round;
    border: 1px solid #adadad;
    color: #f7c854;
}

.btn-secondary:hover {
    background-color: transparent;

    border: 1px solid var(--default-border-color);
    color: #0c9d04;
}

.btn-secondary:not(:disabled):not(.disabled).active:focus,
.btn-secondary:not(:disabled):not(.disabled):active:focus,
.show > .btn-secondary.dropdown-toggle:focus,
.btn-secondary.focus,
.btn-secondary:focus {
    box-shadow: none;
}

.dataTables_wrapper {
    position: relative;
}

div.dataTables_wrapper div.dataTables_filter label {
    background: #181200;
    border-radius: 10px;
    color: #fff;
    padding: 0 0 0 10px;
    border: #fff 1px solid;
}

div.dataTables_wrapper div.dataTables_processing {
    color: #fff;
}

div.dataTables_wrapper div.dataTables_filter input {
    background: #181200;
    color: #fff;
    border-radius: 0 10px 10px 0;
    border: none;
    border-left: #fff 1px solid;
    margin-left: 10px;
    width: 250px;
}

input::placeholder {
    color: #8a8a8a !important;
}

div.dataTables_wrapper div.dataTables_info {
    color: #fff !important;
}

.dataTables_length select {
    background: #181200;
    border: #fff 1px solid;
    color: #fff;
    height: calc(1.5385em + .875rem + 2px);
    padding: .4375rem .875rem;
}

.dataTables_length {
    color: #fff;
}

.form-control {
    background: #000000;
    color: #ffffff;
    border: #F4C542 1px solid;
}

.form-control:focus {
    background-color: #000000;
    border-color: #F4C542 1px solid;
    box-shadow: 0 0 0 .2rem rgba(131, 131, 131, 0.25);
    color: #ffffff;
    outline: 0;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #4e3920;
    border-color: #ffd14D;
    box-shadow: 0 0 0 .2rem rgba(255, 209, 77, .25);
    color: #ffd14D;
}

.dt-button.btn,
.dt-button.btn-light {
    background: #181200 !important;
    color: #fff !important;
    border: #fff 1px solid !important;
}

.btn-light.focus,
.btn-light:focus {
    box-shadow: 0 0 0 .2rem rgba(255, 209, 77, .25) !important;
}

.page-link {
    background: #554401;
    color: #fff;
    border: var(--default-border-color) 1px solid;
}

.page-item.active .page-link {
    background-color: hsl(45deg 100% 4.71%);
    border-color: #ffffff;
    color: #fff;
    z-index: 1;
}

.page-item.disabled .page-link {
    background-color: #181200;
    border-color: var(--default-border-color);
    color: #fff;
    cursor: auto;
    pointer-events: none;
}

.page-link:focus {
    box-shadow: 0 0 0 .2rem rgba(255, 209, 77, .25) !important;
    outline: 0;
    z-index: 2;
}

.page-link:hover {
    background-color: #f7e711;
    border-color: #f7e711;
    color: #4e3920;
}

.box-description {
    color: #ffd14D;
}

.box-icon-outline {
    -webkit-text-stroke: 1px #ffd14D;
    -webkit-text-fill-color: transparent;
}

.box-small-icon-alt .box-icon {
    border: 1px solid #ffd14D;
}

.navbar-account-panel {
    & {
        padding: 15px;
        min-width: 240px;
    }

    .account {
        & {
            border-radius: 5px;
            border: #f8c248 1px solid;
            color: #ffffff;
        }

        .row,
        .dropdown-item {
            padding: 10px 5px;
        }

        .row:not(:last-child),
        .dropdown-item:not(:last-child) {
            border-bottom: #f8c248 1px solid;
        }

        .image-column {
            padding: 0;
            vertical-align: middle;
            text-align: center;
        }

        img {
            width: 16px;
        }
    }
}

.list-group-item {
    background: #4e3920;
    color: #ffffff;
    border: #ffffff 1px solid;
}

body.auth-pages {
    background: #000 url(../images/header_bg_login.png) top center / cover no-repeat;
    color: #c8975f;
    overflow-x: hidden;
    overflow-y: auto;
}

.page-login {
    & {
        position: relative;
    }

    label {
        color: #fff;
    }

    .card {
        border: #F4C542 1px solid;
        background: rgba(11, 8, 4, 0.7);
    }

    .container-fluid {
        & {
            height: 100%;
        }

        .row {
            margin: auto;
            height: 100%;
        }
    }

    .info {
        font-size: 1.3em;
        color: #F4C542;
        /*margin-bottom: 25px;*/
        text-align: center;
    }

    a {
        color: #fff;
    }

    .btn-primary {
        padding: 0.1rem 2rem;
    }

    small {
        color: #fff;
    }

    .form-group.row {
        margin-bottom: 1rem;
    }
}

.custom-control-input:checked ~ .custom-control-label:before {
    background-color: #ffc000;
    border-color: #ffc000;
    color: #fff;
}

.custom-control-input:focus ~ .custom-control-label:before {
    box-shadow: 0 0 0 .2rem rgba(255, 192, 0, .25);
}

.custom-control-input:not(:disabled):active ~ .custom-control-label:before {
    background-color: #ffd451;
    border-color: #ffd451;
    color: #fff;
}

.custom-control-input:focus:not(:checked) ~ .custom-control-label:before {
    border-color: #ffd451;
}

.burio {
    color: #f0ab20;
}

/* Base Modal Styles */
.professional-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 30, 30, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.professional-modal.visible {
  display: flex;
}

.professional-modal-content {
  --farm-border-color: #ffffff; /* ← Change this to any color you like */
  background-color: #08080875;
  color: #ffffff;
  border-radius: 40px;
  padding: 25px;
  max-width: 500px;
  width: 90%;
  margin: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
}

.professional-modal-content::before {
  content: '';
  position: absolute;
  inset: -8px;
  background: linear-gradient(
    135deg,
    var(--farm-border-color),
    #000000,
    var(--farm-border-color)
  );
  border-radius: 45px;
  z-index: -1;
  background-size: 300% 300%;
  animation: borderAnimation 6s ease infinite;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

@keyframes borderAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Header Section */
.professional-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.professional-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.modal-close-btn {
  font-size: 24px;
  cursor: pointer;
  color: #ffffff;
  transition: color 0.3s ease;
}

.modal-close-btn:hover {
  color: #222;
}

/* Body Section */
.professional-modal-body {
  font-size: 1rem;
  line-height: 1.7;
  overflow-y: auto;
  max-height: 60vh;
  -webkit-overflow-scrolling: touch;
}

.professional-modal-body ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.professional-modal-body li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.check-icon {
  color: #ffcc00;
  margin-right: 10px;
  font-size: 1rem;
}

/* Footer Buttons */
.professional-modal-footer {
  margin-top: 25px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.btn-discord,
.btn-cancel {
  font-weight: 500;
  border-radius: 20px;
  font-size: 15px;
  padding: 12px 66px; /* Default for desktop */
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  border: none;
  min-width: 120px;
}

/* Responsive adjustment for mobile */
@media (max-width: 767px) {
  .btn-discord,
  .btn-cancel {
    padding: 12px 20px;
    font-size: 14px;
  }
}

.btn-discord {
  background-color: #5865F2;
  color: white;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.btn-discord:hover {
  background-color: #4752C4;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

.btn-cancel {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ccc;
  box-shadow: none;
}

.btn-cancel:hover {
  background-color: #f5f5f5;
  color: #333;
  border-color: #bbb;
}

.character-view {
    display: none;
    font-weight: bold;
}

.character-view.show {
    display: block;
}

.character-view .character-image-container {
    position: relative;
    width: 128px;
}

.character-view .character-image {
    overflow: hidden;
    width: 128px;
    border: 4px solid #000;
    position: relative;
}

.character-view .character-image-container:after {
    content: "";
    width: 19px;
    height: 19px;
    display: block;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.character-view .character-image-container.eu:after {
    background-image: url("../images/eu.png");
}

.character-view .character-image-container.ch:after {
    background-image: url("../images/ch.png");
}

.character-view .character-view-item {
    background: url("../images/content_card_bg.png");
    background-size: cover;
    height: 38px;
    border-radius: 10px;
    font-size: 1.3em;
    line-height: 1.3;
    padding: 8px 18px;
    color: #fff;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.character-view .character-view-item.flex-grow-1 {
    width: 180px;
}

.character-view .character-view-item.bg-white {
    background: #fff !important;
}

.character-view .character-view-item.offline,
.character-view .character-view-item.online {
    text-transform: capitalize;
}

.aspect-ratio-1 {
    aspect-ratio: 1 / 1;
    height: 100%;
}

.character-view .character-view-item.hp,
.character-view .character-view-item.mp {
    color: #fff;
}

.character-view .character-view-item.hp:after,
.character-view .character-view-item.mp:after,
.character-view .character-view-item.online:after,
.character-view .character-view-item.offline:after {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.character-view-titles .character-view-item:first-child {
    width: 55px;
}

.character-view-titles img {
    width: 28px;
    max-width: 100%;
    height: auto;
}

.hp:after {
    background: linear-gradient(to bottom, #ff0000, #c00000);
}

.mp:after {
    background: linear-gradient(to bottom, #0000ff, #0000c0);
}

.online:after {
    background: linear-gradient(180deg, #D6EA6E, #58AB44);
}

.offline:after {
    background: linear-gradient(180deg, #F4A6A6, #D62F2F);
}

.modal-content {
    background-image: url("../images/content_card_bg.png");
    border-radius: 25px;
    border: var(--default-border-color) 1px solid;
}

.modal-header {
    border-bottom: 1px solid #ffd14D;
}

.modal-footer {
    border-top: 1px solid #ffd14D;
}

.close {
    color: #fff;
}

.close:hover {
    color: var(--default-border-color);
    text-decoration: none;
}

.close:focus {
    border: none;
    outline: none;
}

.inventory-slots {
    background-size: contain !important;
    background-repeat: no-repeat;
    background-position: center;
}

.inventory-slots .slots.right {
    width: auto !important;
}

.slots-items {
    display: flex;
    align-items: center;
    gap: 5px;
}

.slots-items .slots {
    clear: both;
    margin: 0;
    float: none;
    width: 100% !important;
}

.download-card .card-img-top {
    -o-object-fit: contain;
    object-fit: contain;
}

.register-page {
    overflow-y: auto;
    overflow-x: hidden;
}


.sparks-sparks {
    position: absolute;
    bottom: 10px;
    left: 100px;
    z-index: 0;

    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.sparks-sparks .spark {
    opacity: 0;
    position: absolute;
    text-indent: -9999px;
    font-size: 0;
    line-height: 0;
    background-repeat: no-repeat;
    background-position: 0 0;
    z-index: 2;
}

.sparks-sparks .spark {
    transform-origin: center center;
    opacity: .5;
}

.sparks-sparks .spark {
    display: table;
    -webkit-transition: opacity 800ms ease;
    -moz-transition: opacity 800ms ease;
    transition: opacity 800ms ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.spark.spark-1 {
    background: url(../images/sparks/spark-1.png) no-repeat 0 0;
    width: 300px;
    height: 197px;
    left: 0;
    bottom: -200px;
    z-index: 3;
    animation: 7s spark-1 linear infinite;
}

.spark.spark-2 {
    background: url(../images/sparks/spark-2.png) no-repeat 0 0;
    width: 283px;
    height: 171px;
    left: 0;
    bottom: -200px;
    position: absolute;
    animation: 7s spark-2 linear infinite;
    animation-delay: 2s;
}

.spark.spark-3 {
    background: url(../images/sparks/spark-3.png) no-repeat 0 0;
    width: 324px;
    height: 222px;
    left: 0;
    bottom: -200px;
    position: absolute;
    animation: 7s spark-3 linear infinite;
}

.spark.spark-4 {
    background: url(../images/sparks/spark-1.png) no-repeat 0 0;
    width: 300px;
    height: 197px;
    left: 0;
    bottom: -200px;
    z-index: 3;
    animation: 7s spark-4 linear infinite;
}

.spark.spark-5 {
    background: url(../images/sparks/spark-2.png) no-repeat 0 0;
    width: 283px;
    height: 171px;
    left: 0;
    bottom: -200px;
    position: absolute;
    animation: 7s spark-5 linear infinite;
    animation-delay: 2s;
}

.spark.spark-6 {
    background: url(../images/sparks/spark-3.png) no-repeat 0 0;
    width: 324px;
    height: 222px;
    left: 0;
    bottom: -200px;
    position: absolute;
    animation: 7s spark-6 linear infinite;
}

@keyframes spark-1 {
    0% {
        transform: scale(0.7) rotate(0deg);
        bottom: -150px;
        left: 250px;
    }

    33% {
        transform: scale(0.8) rotate(30deg);
        bottom: -50px;
        left: 500px;
    }

    66% {
        transform: scale(0.9) rotate(60deg);
        bottom: 50px;
        left: 750px;
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(90deg);
        bottom: 150px;
        left: 1000px;
        opacity: 0;
    }
}

@keyframes spark-2 {
    0% {
        transform: scale(0.7) rotate(0deg);
        bottom: -150px;
        left: 250px;
    }

    33% {
        transform: scale(0.8) rotate(-30deg);
        bottom: -50px;
        left: 500px;
    }

    66% {
        transform: scale(0.9) rotate(-60deg);
        bottom: 50px;
        left: 750px;
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(-90deg);
        bottom: 150px;
        left: 1000px;
        opacity: 0;
    }
}

@keyframes spark-3 {
    0% {
        transform: scale(0.7) rotate(0deg);
        bottom: -150px;
        left: 250px;
    }

    33% {
        transform: scale(0.8) rotate(-30deg);
        bottom: -50px;
        left: 500px;
    }

    66% {
        transform: scale(0.9) rotate(-60deg);
        bottom: 50px;
        left: 750px;
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(-90deg);
        bottom: 150px;
        left: 1000px;
        opacity: 0;
    }
}

@keyframes spark-4 {
    0% {
        transform: scale(0.7) rotate(0deg);
        bottom: -150px;
        left: 1000px;
    }

    33% {
        transform: scale(0.8) rotate(30deg);
        bottom: -50px;
        left: 750px;
    }

    66% {
        transform: scale(0.9) rotate(60deg);
        bottom: 50px;
        left: 500px;
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(90deg);
        bottom: 150px;
        left: 250px;
        opacity: 0;
    }
}

@keyframes spark-5 {
    0% {
        transform: scale(0.7) rotate(0deg);
        bottom: -150px;
        left: 1000px;
    }

    33% {
        transform: scale(0.8) rotate(-30deg);
        bottom: -50px;
        left: 750px;
    }

    66% {
        transform: scale(0.9) rotate(-60deg);
        bottom: 50px;
        left: 500px;
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(-90deg);
        bottom: 150px;
        left: 250px;
        opacity: 0;
    }
}

@keyframes spark-6 {
    0% {
        transform: scale(0.7) rotate(0deg);
        bottom: -150px;
        left: 1000px;
    }

    33% {
        transform: scale(0.8) rotate(-30deg);
        bottom: -50px;
        left: 750px;
    }

    66% {
        transform: scale(0.9) rotate(-60deg);
        bottom: 50px;
        left: 500px;
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(-90deg);
        bottom: 150px;
        left: 250px;
        opacity: 0;
    }
}

@media screen and (max-width: 1550px) {
    .header-cards .card {
        /*width: 270px;*/
    }

    /*.character-view-titles {
        width: 100%;
    }*/
}

@media screen and (max-width: 1410px) {
    .card-body-rounded {
        padding: 1rem 1.4rem;
        font-size: 0.8em;
    }

    .uniques .unique-name,
    .globals .player-name {
        font-size: 1.1em;
    }

    .uniques .unique-killer,
    .globals .global-message {
        font-size: 0.8em;
    }

    .main-content .uniques .unique-killer,
    .main-content .globals .global-message {
        font-size: 1.2em;
    }

    .character-view .character-view-item {
        font-size: 1.6em;
    }

}

@media screen and (max-width: 1250px) {
    .header-cards .card {
        /*width: 250px;*/
    }

    .header-donation,
    .header-timer {
        letter-spacing: 3px;
    }

    .card-body-rounded {
        padding: 1rem 1.1rem;
        font-size: 0.6em;
    }

    .uniques .unique-image,
    .globals .player-image {
        width: 48px;
        height: 48px;
    }

    .uniques .unique-image img,
    .globals .player-image img {
        width: 48px;
        height: 48px;
    }

    .main-content .uniques .unique-image,
    .main-content .globals .player-image {
        width: 64px;
        height: 64px;
    }

    .uniques .unique-name,
    .globals .player-name {
        font-size: 0.8em;
    }

    .uniques .unique-killer,
    .globals .global-message {
        font-size: 0.6em;
    }

    .character-view .character-view-item {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 1140px) {
    .header-cards .card {
        /*width: 200px;*/
    }

    .sidebar .card-header {
        font-size: 1.1em;
    }

    .header-donation,
    .header-timer {
        letter-spacing: 0;
    }

    .sidebar .card-body {
        padding: 1rem;
    }

    .uniques .unique-image,
    .globals .player-image {
        width: 32px;
        height: 32px;
    }

    .uniques .unique-image img,
    .globals .player-image img {
        width: 32px;
        height: 32px;
    }

    .uniques .unique-name,
    .globals .player-name {
        font-size: 0.8em;
    }

    .uniques .unique-killer,
    .globals .global-message {
        font-size: 0.6em;
    }

    .character-view .character-view-item.flex-grow-1 {
        width: 160px;
    }
}

@media screen and (max-width: 1030px) {
    .sidebar .card-header {
        font-size: 0.9em;
    }
}

@media screen and (max-width: 991px) {
    .navbar {
        background: rgb(0 0 0 / 40%);
    }

    .navbar-dark .navbar-nav .nav-item {
        flex-direction: column;
        align-items: start;
    }

    .navbar-brand {
        position: relative;
        padding: 0;
        width: 120px;
    }

    .dropdown .dropdown-menu {
        width: 100%;
    }

    .header-end-image {
        background-image: none;
        display: none;
    }

    .character-view .character-view-item {
        border-radius: 20px;
    }

    .download-btn,
    .register-btn {
        left: 50%;
        transform: translateX(-50%);
    }

    .download-card-item {
        width: calc(calc(100% / 2) - 0.5rem);
    }
}

@media screen and (max-width: 767px) {
    .header-info {
        max-width: 80%;
    }

    footer {
        .content {
            width: 100%;
            flex-direction: column-reverse;
            align-items: center;
            justify-content: center;

            .branding {
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: center;

                a {
                    justify-content: center;
                    text-align: left;
                }
            }

            .footer-items {
                flex-direction: column;
                align-items: center;
                text-align: center;
                justify-content: center;
                margin-bottom: 4vh;

                ul {
                    width: 40%;
                    margin-left: 0;
                    padding: 2vh;
                    display: flex;
                    align-items: center;
                    justify-content: start;
                    flex-direction: column;
                    text-align: center;
                }
            }
        }
    }
}

@media screen and (max-width: 680px) {
    .download-card-item {
        width: 100%;
    }

    .donation-method {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .download-btn {
        min-width: 400px;
        font-size: 1.8em;
        line-height: 2;
    }

    .header-info {
        max-width: 100%;
    }

    .character-view-titles img {
        display: none;
    }

    .character-view-item,
    .character-view .character-view-item.flex-grow-1,
    .character-view-titles {
        width: 100%;
    }

}

@media screen and (max-width: 400px) {
    .download-btn {
        min-width: 350px;
        font-size: 1.6em;
        min-height: 86px;
    }
}
