/*===================
FONTS LINK HERE
=====================*/
/* Open Sans, Friz Quadrata and Absolute Empire are linked in the <head> of
   index.php - a chained @import here delayed the first paint. */

:root {
    --openSans: "Open Sans", sans-serif;
    --frizQuadrata: "Friz Quadrata", sans-serif;
    --absoluteEmpire: "a Absolute Empire", sans-serif;
}

/*========================
DEFAULT CSS HERE
==========================*/

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--openSans);
    font-size: 16px;
    font-weight: 400;
    color: #333333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 700;
}

p,
figure,
label {
    margin: 0;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

small {
    font-size: inherit;
}

a {
    display: inline-block;
    text-decoration: none;
    transition: 0.2s all ease;
    -webkit-transition: 0.2s all ease;
}

a:hover,
a:active,
a:visited,
a:focus {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

input,
button {
    background-color: transparent;
    border: 1px solid transparent;
    outline: none;
    transition: 0.2s all ease;
    -webkit-transition: 0.2s all ease;
}

input[type="number"] {
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
    appearance: textfield;
}

select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url(../images/select-input-arrow.png);
    background-repeat: no-repeat;
    background-size: 15px;
    background-position: calc(100% - 15px) 50%;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

::selection {
    color: var(--whiteColor);
    background: var(--primaryColor);
}

::-webkit-selection {
    color: var(--whiteColor);
    background: var(--primaryColor);
}

::-moz-selection {
    color: var(--whiteColor);
    background: var(--primaryColor);
}

.container {
    padding-left: 15px;
    padding-right: 15px;
}

/*==========================
HEADER AREA CSS HERE
============================*/
.header-area {
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #030909;
}

.logo-card a img {
    width: 125px;
    transition: all 0.4s ease;
}

.logo-card a:hover img {
    filter: brightness(80%);
}

.header-menu-list {
    display: flex;
    align-items: center;
}

.header-menu-list li a,
.side-menu-list li a {
    color: #c2d3d2;
    font-size: 13px;
    font-family: var(--frizQuadrata);
    font-weight: 400;
    text-transform: uppercase;
    padding-left: 28px;
    padding-right: 28px;
    transition: all 0.3s ease;
}

.header-menu-list li:first-child a {
    padding-left: 0;
}

.header-menu-list li:last-child a {
    padding-right: 0;
}

.header-menu-list li a:hover,
#header-menu-active a {
    color: #d9b27a;
}

.header-menu-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.select-options {
    background: #000;
    border: none !important;
    color: #fff;
    background-image: url(../images/flag-icon.png);
    background-repeat: no-repeat;
    background-size: 15px;
    background-position: right;
    right: 0;
    padding-right: 30px;
    font-family: var(--openSans);
    font-size: 13px;
    text-transform: uppercase;
    font-family: var(--frizQuadrata);
}

.login-card {
    text-align: right;
}

.login-card button {
    position: relative;
    
}

.login-card button img {
    transition: all 0.4s ease;
}

.login-card button:hover img {
    filter: brightness(70%);
}

.login-card button span {
    font-family: var(--openSans);
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#humbarger-icon {
    width: 40px;
    margin-left: auto;
    cursor: pointer;
}

.humbarger-line {
    width: 40px;
    height: 3px;
    background-color: #fff;
    display: block;
}

.humbarger-line:nth-child(2) {
    margin: 8px 0;
}

.offcanvas-header {
    background-color: #030909;
    padding-top: 9px;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.close-icon {
    cursor: pointer;
}

.close-icon img {
    width: 30px;
}

.side-menu-list li a {
    padding-left: 10px;
}

.offcanvas {
    /* background-color: transparent; */
}

/*==========================
MAIN AREA CSS HERE
============================*/
#main-body {
    background: url(../images/Homepage-bg.webp) no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-area {
    position: relative;
}

.hero-wrpper {
    position: absolute;
    width: 100%;
    top: 13%;
    left: -35px;
}

/*==========================
VIDEO AND RECENT EVENT AREA CSS HERE
============================*/
.video-card video {
    width: 100%;
    object-fit: cover;
    cursor: pointer;
}

.video-card {
    height: 100%;
    position: relative;
}

.video-card video {
    height: 100%;
}

.top-heading {
    position: absolute;
    top: 20px;
    right: 15px;
}

.top-heading p {
    font-family: var(--openSans);
    font-weight: 600;
    font-weight: 13px;
    color: #4a8c85;
}

.bottom-titles {
    position: absolute;
    left: 18px;
    bottom: 15px;
}

.bottom-titles h2 {
    font-family: var(--absoluteEmpire);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: #d2dcdb;
}

.bottom-titles h3 {
    font-family: var(--absoluteEmpire);
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    padding-top: 5px;
    padding-bottom: 0px;
}

.bottom-titles p {
    font-family: var(--openSans);
    font-weight: 600;
    font-size: 13px;
    color: #f9f6f6;
}

#playPauseBtn {
    width: 50px;
    height: 50px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #061a19;
    color: #ffffff;
    border: 1px solid #ffffff;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
}

.server-info-card {
    background: url(../images/recent-news-bg.webp) no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    height: 100%;
    /*! max-height: 345px; */
}

.title-img,
.popup-title-card {
    width: 40px;
    background: #0f3d3a;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-img img,
.popup-title-card img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 15px;
}

.title-img p,
.popup-title-card p {
    font-weight: 600;
    color: #ffffff;
    writing-mode: vertical-lr;
    text-orientation: upright;
    text-align: center;
}

.info-desc-card {
    width: calc(100% - 40px);
    padding-top: 15px;
    padding-right: 10px;
    padding-bottom: 25px;
    overflow-y: scroll;
}

.info-header-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info-header-title::after {
    content: "";
    display: block;
    clear: both;
    position: absolute;
    width: 100%;
    height: 2px;
    background: url(../images/server-header-bottom-border.png) no-repeat;
    background-size: cover;
    background-position: left;
    left: 0;
    bottom: -12px;
}

.info-header-left-card {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.info-header-left-card p {
    font-family: var(--openSans);
    font-weight: 700;
    font-size: 14px;
    color: #f9f6f6;
}

.tabs {
    display: flex;
    column-gap: 35px;
}

.tab {
    font-family: var(--openSans);
    font-size: 13px;
    font-weight: 700;
    color: #4a8c85;
    text-transform: uppercase;
    cursor: pointer;
}

.tab.active {
    color: #ffffff;
}

.info-header-card {
    padding-bottom: 10px;
    margin-left: 30px;
}

.tab-content[data-group] {
    display: none;
    /* padding: 20px 0; */
}

.tab-content[data-group].active {
    display: block;
}

.single-content-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #1a302f;
}

.single-content-item {
    padding-left: 30px;
    transition: all 0.3s ease;
}

.single-content-item:hover {
    background: #071716;
}

.single-content-left {
    width: 45px;
    height: 40px;
    background-color: #020a09;
}

.single-content-right {
    width: calc(100% - 55px);
}

.single-content-right p {
    font-size: 14px;
    color: #f9f6f6;
    font-weight: 600;
}

.single-content-right p span {
    color: #4a8c85;
}

.event-tab-cnt-list .single-content-item:first-child .single-content-right p b {
    color: #a97326;
}

.event-tab-cnt-list
    .single-content-item:nth-child(2)
    .single-content-right
    p
    b {
    color: #26a95a;
}

.event-tab-cnt-list
    .single-content-item:nth-child(3)
    .single-content-right
    p
    b {
    color: #ffffff;
}

.event-tab-cnt-list
    .single-content-item:nth-child(4)
    .single-content-right
    p
    b {
    color: #a97326;
}

.single-content-right p span:last-child {
    color: #ffffff;
}

.info-desc-card::-webkit-scrollbar,
.info-desc-card::-moz-scrollbar {
    height: 1px;
    width: 1px;
}

.info-desc-card::-webkit-scrollbar-track,
.info-desc-card::-moz-scrollbar-track {
    background: #f1f1f1;
}

.info-desc-card::-webkit-scrollbar-thumb,
.info-desc-card::-moz-scrollbar-thumb {
    background: #3498db;
    border-radius: 10px;
}

.info-desc-card::-webkit-scrollbar-thumb:hover,
.info-desc-card::-moz-scrollbar-thumb:hover {
    background: #2980b9;
}

.info-desc-card {
    scrollbar-width: thin;
    scrollbar-color: #ffffff rgba(0, 0, 0, 0);
    max-height: 345px;
}

/*==========================
BANNER AREA CSS HERE
============================*/
.banner-wrpper {
    padding-top: 55px;
    padding-bottom: 115px;
}

.single-banner-card {
    position: relative;
    transition: all 0.4s ease;
}

.single-banner-card:hover {
    filter: brightness(80%);
}

.discord-cnt {
    position: absolute;
    width: 80%;
    top: 50%;
    left: 57%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    column-gap: 22px;
}

.banner-single-icon-card {
    width: 70px;
}

.banner-single-cnt-card {
    width: calc(100% - 70px);
}

.banner-single-cnt-card h3 {
    text-transform: uppercase;
    font-family: var(--absoluteEmpire);
    font-size: 22px;
}

.banner-single-cnt-card p {
    font-weight: 600;
    color: #f9f6f6;
    font-size: 13px;
}

.discord-text h3 {
    color: #ffffff;
}

.presentation-text h3 {
    color: #ab6724;
}

.facebook-card .facebook-icon {
    width: 50px;
}

.single-banner-cnt-card.facebook-card {
    column-gap: 0;
}

.hero-recent-event-wrpper {
    position: relative;
}

.video-recent-event-area {
    position: absolute;
    width: 100%;
    top: 84.5%;
}

.server-ranking-area {
    padding-top: 500px;
}

.server-ranking-wrpper {
    background: url(../images/server-ranking-bg.webp) no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 85px;
}

.server-ranking-wrpper .container .row {
    position: relative;
    padding-bottom: 55px;
}

.werver-raking-thumb {
    position: absolute;
    bottom: 0;
    left: -150px;
}

.ranking-desc-card {
    background-color: #020c0b;
}

.server-ranking-card {
    position: relative;
    z-index: 22;
}

.ranking-table {
    margin-left: 30px;
    margin-right: 20px;
}

.guilds-table table,
.players-table table {
    width: 100%;
}

.guilds-table table tr th,
.players-table table tr th {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 13px;
    color: #7b7670;
}

.players-table table tr th sup,
.players-table table tr td sup {
    color: #9a6823;
}

.guilds-table table tr th:first-child,
.guilds-table table tr th:nth-child(2) {
    width: 40%;
}

.guilds-table table tr td,
.players-table table tr td {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
}

.guilds-table table tr td span,
.players-table table tr td span {
    font-size: 14px;
    font-weight: 700;
    color: #3d5957;
}

.guilds-table table tr td:first-child {
    display: flex;
    align-items: center;
    column-gap: 15px;
}

.ranking-header-card {
    margin-right: 20px;
}

#ranking-info-card {
    width: calc(100% - 40px);
}

#ranking-info-card .info-desc-card {
    width: 100%;
    /* overflow-y: hidden; */
}

.show-all-btn {
    padding-top: 30px;
    padding-bottom: 30px;
}

.show-all-btn a img {
    transition: all 0.4s ease;
}

.show-all-btn a img:hover {
    filter: brightness(70%);
}

.ranking-header-card {
    max-height: 410px !important;
}

.server-ranking-card {
    background: rgba(2, 13, 12, 0.9);
    background-image: none;
}

.guilds-table table tr {
    transition: all 0.3s ease;
}

.guilds-table table tr:hover {
    background: #071716;
}

/*==========================
STATISTICS AND EVENT AREA CSS HERE
============================*/
.statistics-event-area {
    padding-top: 122px;
    padding-bottom: 115px;
}

.info-header-right-card a {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #4a8c85;
}

.statistics-list,
.new-event-single-row {
    padding-left: 30px;
    padding-right: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.statistics-list li,
.new-event-single-row li {
    width: 50%;
    padding-top: 15px;
    padding-bottom: 15px;
}

.statistics-list li p,
.new-event-single-row li p {
    font-size: 13px;
    color: #dbd6d7;
    font-weight: 600;
}

.statistics-list li p span,
.new-event-single-row li p span {
    font-weight: 400;
    color: #507270;
}

.left-li {
    display: flex;
    align-items: center;
    column-gap: 5px;
}

.statistics-full-card {
    background: url(../images/statistics-bg.webp) no-repeat;
    background-size: cover;
    background-position: center;
}

.new-event-single-row {
    transition: all ease;
}

.new-event-single-row:hover {
    background: url(../images/new-event-hover-bg.webp) no-repeat;
    background-size: cover;
    background-position: center;
}

/*==========================
SERVER MEDIA AREA CSS HERE
============================*/
.server-media-slider {
    padding-top: 60px;
    padding-bottom: 60px;
}
.slide-item {
    min-height: 250px !important;
}

.slide-item img {
    min-height: 250px !important;
}

.owl-stage {
    padding: 30px 0;
}

.owl-item.active.center {
    transform: scale(1.2);
}

.owl-prev,
.owl-next {
    width: 50px;
    height: 50px;
    background-color: #0f3d3a !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.owl-prev i,
.owl-next i {
    color: #d9faf8;
    font-size: 22px;
}

.owl-prev {
    left: -25px;
}

.owl-next {
    right: -25px;
}

.owl-dots {
    display: none;
}

/*==========================
FOOTER MENU AREA CSS HERE
============================*/
.footer-menu-wrpper {
    padding-bottom: 135px;
}

.footer-menu-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-menu-item a {
    font-weight: 700;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
}

.SMN_effect-14 a {
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    transition: color 0.3s;
    position: relative;
}

.SMN_effect-14 a:before {
    position: absolute;
    top: 70%;
    left: 50%;
    color: transparent;
    content: "•";
    text-shadow: 0 0 transparent;
    font-size: 13pt;
    -webkit-transition: text-shadow 0.3s, color 0.3s;
    -moz-transition: text-shadow 0.3s, color 0.3s;
    transition: text-shadow 0.3s, color 0.3s;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    transform: translateX(-50%);
    pointer-events: none;
}

.SMN_effect-14 a:hover:before,
.SMN_effect-14 a:focus:before {
    color: #f9f6f6;
    text-shadow: 10px 0 #f9f6f6, -10px 0 #f9f6f6;
}

.SMN_effect-14 a:hover,
.SMN_effect-14 a:focus {
    color: #f9f6f6;
}

.footer-copy-right {
    padding-top: 20px;
    padding-bottom: 15px;
    background-color: #0b2321;
}

.footer-left-card p {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
}

.footer-left-card p a {
    color: #f6f2f2;
}

.footer-left-card p span,
.footer-right-card p span {
    color: #3c5b59;
}

.footer-right-card p {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
}

.offcanvas-body {
    background: rgba(6, 26, 25, 0.9);
}
.side-menu-list {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    justify-content: center;
    align-items: center;
}

.side-menu-card .login-card {
    text-align: center;
    padding-top: 30px;
}

.modal {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.modal-dialog {
    max-width: 550px !important;
}
.modal-content {
    border-radius: 0;
}

.popup-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.popup-cnt-card {
    width: calc(100% - 70px);
    padding-right: 25px;
}

.popup-card {
    background: url(../images/login-register-modal-bg.webp) no-repeat;
    background-size: cover;
    background-position: center;
}

.modal-header {
    padding-left: 0;
    padding-right: 0;
    justify-content: space-between;
    border-bottom: 0;
    position: relative;
}

.modal-header::after {
    content: "";
    display: block;
    clear: both;
    position: absolute;
    background: url(../images/server-header-bottom-border.png) no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 2px;
    bottom: 0px;
}

.modal-header h5 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.modal-body {
    padding: 0;
}

.register-form,
.login-form,
.forget-password-form {
    padding-top: 25px;
    padding-bottom: 25px;
}

.single-input-row label {
    font-size: 13px;
    color: #7b7670;
    display: block;
    margin-bottom: 15px;
}

.single-input-row label span {
    color: #d9faf8;
    font-weight: 500;
}

.input-filed {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #091c1b;
    border-bottom: 1px solid #354140;
    display: flex;
}

.input-tag-card input {
    border-left: 2px solid #354140;
    color: #fff;
    font-size: 13px;
    padding: 0 15px;
    width: 100%;
}

.input-icon-card {
    width: 50px;
    text-align: center;
}

.input-icon-card i {
    font-size: 20px;
    color: #608986;
}

.input-tag-card {
    width: calc(100% - 50px);
}

#register-form {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
}

.custom-checkbox {
    display: flex;
    /*! align-items: center; */
    cursor: pointer;
}

.custom-checkbox input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #0c2a28;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    margin-top: 7px;
}

.custom-checkbox p {
    width: calc(100% - 35px);
    color: #4a8c85;
    font-size: 13px;
}

.custom-checkbox p a {
    color: #d0cccd;
}

.custom-checkbox input:checked + .checkmark {
    background-color: #0c2a28;
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked + .checkmark::after {
    display: block;
}

.checkmark::after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.confirm-box label {
    font-family: var(--poppins);
    font-size: 18px;
    font-weight: 300;
}

.register-btn-wrpper {
    padding-top: 30px;
    padding-bottom: 25px;
    text-align: center;
}

.form-bottom-card {
    position: relative;
    padding-top: 30px;
}

.form-bottom-card::before {
    content: "";
    display: block;
    clear: both;
    position: absolute;
    width: 100%;
    height: 2px;
    background: url(../images/server-header-bottom-border.png) no-repeat;
    background-size: cover;
    background-position: center;
    top: 0;
}

.warning-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.warning-card a {
    font-size: 13px;
    color: #f9f6f6;
}

.warning-card li {
    list-style: none;
    display: flex;
    align-items: center;
    column-gap: 5px;
}

.warning-card li span {
    font-size: 13px;
    color: #4a8c85;
}

/*===============================
SECOND PAGE STYLE START HERE
=================================*/
#second-page-main-body {
    background: url(../images/second-page-bg.webp) no-repeat;
    background-size: cover;
    background-position: top center;
}

.bradcome-area {
    padding: 115px 0;
}

.bradcome-wrpper span {
    font-family: var(--absoluteEmpire);
    font-size: 36px;
    color: #e9e4e4;
    display: flex;
    position: relative;
    justify-content: center;
}

.bradcome-wrpper span::before,
.bradcome-wrpper span::after {
    content: "";
    display: block;
    clear: both;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.bradcome-wrpper span::before {
    background: url(../images/separate-before.png) no-repeat;
    background-size: contain;
    background-position: left;
    left: 60px;
    width: 395px;
    height: 30px;
}

.bradcome-wrpper span::after {
    background: url(../images/separate-after.png) no-repeat;
    background-size: contain;
    background-position: right;
    right: 65px;
    width: 395px;
    height: 30px;
}

.page-main-cnt-wrpper {
    background: url(../images/all-sections-bg.webp) no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: space-between;
}

.section-title-card {
    width: 40px;
}

.section-cnt-card {
    width: calc(100% - 45px);
}

.all-sections-header-card {
    margin-left: 30px;
    margin-right: 30px;
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    position: relative;
}

.all-sections-header-card::after {
    content: "";
    display: block;
    clear: both;
    position: absolute;
    width: 100%;
    height: 3px;
    left: 0;
    bottom: 0;
    background: url(../images/second-page-header-bottom-border.png) no-repeat;
    background-size: cover;
    background-position: center;
}

.left-section-title-card {
    display: flex;
    align-items: center;
    column-gap: 5px;
    width: 50%;
}

.left-section-title-card p {
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
}

.left-section-title-card p span {
    font-weight: 400;
}

.left-section-tab-card {
    width: 50%;
}

.second-page-tab {
    justify-content: flex-end;
}

.all-section-cnt-card {
    padding-left: 30px;
    padding-right: 30px;
}

.file-size-row {
    padding-top: 20px;
    padding-bottom: 35px;
}

.file-size-row p {
    display: flex;
    align-items: center;
    column-gap: 5px;
    font-size: 14px;
    color: #4a8c85;
}

.file-size-row p span {
    color: #f1eeee;
    font-weight: 500;
}

.file-size-row .row {
    margin-top: 20px;
}

.platform-card {
    cursor: pointer;
}

.platform-card img {
    width: 100%;
}

.row-title-card span {
    font-size: 16px;
    font-family: var(--absoluteEmpire);
    color: #d2dcdb;
    display: flex;
    justify-content: center;
    position: relative;
}

.row-title-card span::before,
.row-title-card span::after {
    content: "";
    display: block;
    clear: both;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.row-title-card span::before {
    background: url(../images/separate-before.png) no-repeat;
    background-size: contain;
    width: 414px;
    height: 25px;
    left: 40px;
}

.row-title-card span::after {
    background: url(../images/separate-after.png) no-repeat;
    background-size: contain;
    width: 414px;
    height: 25px;
    right: 40px;
}

.update-post-row {
    padding-top: 75px;
    padding-bottom: 35px;
}

.single-post-card {
    height: 100%;
}

.single-post-card p {
    font-size: 13px;
    color: #476664;
    margin-bottom: 20px;
}

.single-post-card p b {
    color: #d9f9f7;
}

.single-post-card p span {
    color: #ffffff;
}

.single-post-card img {
    width: 100%;
    cursor: pointer;
}

.update-package-card {
    height: 76%;
}

.cnt-card {
    /*! height: 100%; */
    padding: 0 60px;
    background-color: #020a09;
    border: 1px solid #0d2725;
    padding-top: 35px;
    padding-bottom: 33px;
}

.cnt-card h4 {
    font-weight: 700;
    font-size: 14px;
    color: #9a6923;
    text-align: center;
}

.cnt-card span {
    font-size: 14px;
    font-weight: 600;
    color: #e8e4e4;
    text-align: center;
    display: flex;
}

.requeiment-cnt-row > p {
    display: flex;
    align-items: center;
    column-gap: 5px;
    font-size: 14px;
    color: #466664;
    padding: 20px 0;
}

.table-responsive table {
    width: 100%;
    background: #06100f;
    border: 1px solid #020a09;
}

.table-responsive table tr {
    border-bottom: 1px solid #020a09;
}

.table-responsive table tr td,
.table-responsive table tr th {
    width: 33%;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 15px;
    white-space: nowrap;
    padding-left: 30px;
    padding-right: 30px;
}

.table-responsive table tr th {
    color: #446361;
}

.table-responsive table tr td {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.driver-row {
    padding-top: 35px;
}

.single-driver-card {
    cursor: pointer;
}

.single-driver-card img {
    width: 100%;
}

.faq-area {
    padding-top: 30px;
}

.accordion,
.accordion-item:first-of-type,
.accordion-item:first-of-type > .accordion-header .accordion-button,
.accordion-item:last-of-type > .accordion-collapse,
.accordion-item:last-of-type {
    border-radius: 0 !important;
    padding: 0;
}
.accordion-button:not(.collapsed) {
    color: var(--bs-accordion-active-color);
    background-color: transparent;
    box-shadow: none;
}

.accordion-button:focus {
    z-index: 3;
    outline: 0;
    box-shadow: none;
}

.accordion-item,
.accordion-button {
    color: var(--bs-accordion-color);
    background-color: transparent;
    border: none;
}

.accordion-button:not(.collapsed)::after,
.accordion-button::after {
    display: none;
    /* background-image: var(--bs-accordion-btn-active-icon); */
}

.accordion-button p {
    color: #ffffff;
    font-size: 13px;
}

.accordion-button p span {
    font-family: var(--absoluteEmpire);
    font-size: 12px;
    color: #d2dcdb;
}

.accordion-button,
.accordion-body {
    padding-left: 0;
    padding-right: 0;
}

.accordion-button {
    padding-bottom: 0;
}

.accordion-body p {
    font-size: 13px;
    color: #f9f6f6;
}

.second-page-fma {
    padding-top: 90px;
}

.select-options:focus {
    outline: none;
}

.section-title-card,
.popup-title-card {
    width: 40px;
    background: #0f3d3a;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title-card img,
.popup-title-card img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 15px;
}

.section-title-card p,
.popup-title-card p {
    font-weight: 600;
    color: #ffffff;
    writing-mode: vertical-lr;
    text-orientation: upright;
    text-align: center;
}

.section-title-card {
	padding-bottom: 65px;
}
/* ===================== RESPONSIVE (ported) ===================== */
/*==================================
Medium Screen - Others
====================================*/
@media screen and (min-width: 1400px) and (max-width: 1599px) {
    .hero-area {
        overflow: hidden;
    }
    .hero-wrpper {
        top: 16%;
        left: 132px;
    }
    .hero-logo-card img {
        max-width: 450px;
    }

    .video-recent-event-area {
        top: 79.5%;
    }

    .werver-raking-thumb {
        left: -115px;
    }
}
/*==================================
Medium Screen - Others
====================================*/
@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .hero-wrpper {
        top: 16%;
        left: 132px;
    }
    .hero-logo-card img {
        max-width: 450px;
    }

    .hero-area {
        overflow: hidden;
    }
    .hero-wrpper {
        top: 23%;
        left: 162px;
    }
    .hero-logo-card img {
        max-width: 350px;
    }

    .video-recent-event-area {
        top: 77.5%;
    }

    .werver-raking-thumb {
        left: -80px;
    }

    .bradcome-area {
        padding: 90px 0;
    }
    .bradcome-wrpper span::before {
        width: 360px;
    }
    .bradcome-wrpper span::after {
        width: 355px;
    }

    .row-title-card span::before {
        width: 370px;
    }
    .row-title-card span::after {
        width: 365px;
    }
}

/*==================================
Medium Screen - Others
====================================*/
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .header-menu-list li a {
        padding-left: 15px;
        padding-right: 18px;
    }

    .hero-area {
        overflow: hidden;
    }
    .hero-wrpper {
        top: 29%;
        left: 120px;
    }
    .hero-logo-card img {
        max-width: 280px;
    }

    .server-ranking-wrpper {
        padding-top: 40px;
    }

    .server-ranking-wrpper .container .row {
        padding-bottom: 30px;
    }
    .werver-raking-thumb img {
        width: 80%;
    }
    .werver-raking-thumb {
        left: -40px;
    }
    .show-all-btn {
        padding-top: 10px;
        padding-bottom: 15px;
    }

    .tabs {
        column-gap: 25px;
    }

    .info-header-card {
        margin-left: 15px;
    }

    .single-content-item {
        padding-left: 15px;
    }

    .ranking-table {
        margin-left: 15px;
        margin-right: 15px;
    }

    .statistics-event-area {
        padding-top: 70px;
        padding-bottom: 65px;
    }

    .footer-menu-wrpper {
        padding-bottom: 80px;
    }

    .bradcome-area {
        padding: 80px 0;
    }
    .bradcome-wrpper span {
        font-size: 30px;
    }
    .bradcome-wrpper span::before {
        width: 300px;
    }
    .bradcome-wrpper span::after {
        width: 290px;
    }

    .row-title-card span::before {
        width: 285px;
        height: 17px;
    }
    .row-title-card span::after {
        width: 279px;
        height: 17px;
    }
    .cnt-card {
        padding: 0 30px;
        padding-top: 10px;
    }
    .update-post-row {
        padding-top: 50px;
    }
}

/*==================================
Small Screen - Tablate
====================================*/
@media screen and (min-width: 768px) and (max-width: 991px) {
    .header-area .container > .row {
        row-gap: 15px;
    }
    .header-menu-list li a {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-area {
        overflow: hidden;
    }
    .hero-wrpper {
        top: 20%;
        left: 70px;
    }
    .hero-logo-card img {
        max-width: 230px;
    }

    .video-recent-event-area {
        position: initial;
        padding-top: 50px;
    }

    .recent-event-wrpper .row {
        row-gap: 30px;
    }

    .discord-card.single-banner-card img {
        width: 100%;
    }
    .banner-single-icon-card {
        width: 150px;
    }
    .facebook-card .facebook-icon {
        width: 60px;
    }

    .single-banner-cnt-card.facebook-card {
        column-gap: 40px;
    }

    .banner-wrpper {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .banner-wrpper .row {
        row-gap: 30px;
    }

    .server-ranking-area {
        padding-top: 20px;
    }

    .server-ranking-wrpper {
        padding-top: 40px;
    }
    .werver-raking-thumb {
        position: initial;
    }

    .statistics-event-area {
        padding-top: 55px;
        padding-bottom: 40px;
    }

    .statictics-event-wrpper .row {
        row-gap: 30px;
    }

    .owl-stage {
        padding: 0;
    }

    .footer-menu-wrpper {
        padding-bottom: 50px;
    }

    .bradcome-area {
        padding: 60px 0;
    }
    .bradcome-wrpper span {
        font-size: 25px;
    }
    .bradcome-wrpper span::before {
        width: 200px;
    }
    .bradcome-wrpper span::after {
        width: 190px;
    }
    .file-size-row .row {
        row-gap: 20px;
    }

    .row-title-card span::before {
        width: 240px;
        height: 17px;
        left: -35px;
    }
    .row-title-card span::after {
        width: 250px;
        height: 17px;
        right: -45px;
    }
    .update-post-row {
        padding-top: 30px;
    }
    .cnt-card {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    .row.drivers-row {
        row-gap: 15px;
    }
    .all-section-cnt-card {
        padding-bottom: 40px;
    }
    .second-page-fma {
        padding-top: 55px;
    }
    .update-post-row .row {
        row-gap: 18px;
    }
}

/*==================================
Xtra Small Screen - Small Mobile
====================================*/
@media screen and (max-width: 767px) {
    .header-area {
        padding: 10px 0;
    }

    .hero-area {
        overflow: hidden;
    }
    .hero-wrpper {
        top: 15%;
        left: 10px;
    }
    .hero-logo-card img {
        max-width: 130px;
    }

    .video-recent-event-area {
        position: initial;
        padding-top: 0px;
    }

    .recent-event-wrpper .row {
        row-gap: 15px;
    }

    .discord-card.single-banner-card img {
        width: 100%;
    }
    .banner-single-icon-card {
        width: 55px;
    }
    .facebook-card .facebook-icon {
        width: 30px;
    }

    .single-banner-cnt-card.facebook-card {
        column-gap: 20px;
    }

    .banner-wrpper {
        padding-top: 20px;
        padding-bottom: 10px;
    }

    .banner-wrpper .row {
        row-gap: 15px;
    }

    .server-ranking-area {
        padding-top: 20px;
    }

    .server-ranking-wrpper {
        padding-top: 40px;
    }
    .werver-raking-thumb {
        position: initial;
    }

    .info-header-card {
        margin-left: 10px;
    }

    .tabs {
        column-gap: 18px;
    }

    .single-content-item {
        padding-left: 10px;
    }
    .banner-single-cnt-card h3 {
        font-size: 20px;
    }

    .show-all-btn {
        padding-top: 15px;
        padding-bottom: 10px;
    }

    .video-card {
        min-height: 300px;
    }

    .bottom-titles h3,
    .bottom-titles h2 {
        font-size: 18px;
    }

    .top-heading {
        top: 8px;
        right: 10px;
    }
    .bottom-titles {
        left: 10px;
        bottom: 8px;
    }
    .info-header-left-card p {
        font-size: 13px;
    }

    .statistics-event-area {
        padding-top: 55px;
        padding-bottom: 40px;
    }
    .statictics-event-wrpper .row {
        row-gap: 15px;
    }
    .statistics-list,
    .new-event-single-row {
        padding-left: 15px;
    }

    .server-media-slider {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .owl-stage {
        padding: 0;
    }

    .owl-prev,
    .owl-next {
        position: initial;
        display: inline;
        transform: translateY(0);
    }
    .owl-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        column-gap: 20px;
        padding-top: 15px;
    }

    .footer-menu-wrpper {
        padding-bottom: 30px;
    }
    .footer-menu-list {
        row-gap: 15px;
    }
    .footer-menu-item {
        width: 50%;
    }
    .footer-copy-right .row {
        row-gap: 15px;
    }

    .all-sections-header-card {
        margin-left: 10px;
        margin-right: 10px;
        flex-direction: column;
        row-gap: 20px;
    }

    .bradcome-area {
        padding: 40px 0;
    }
    .bradcome-wrpper span {
        font-size: 25px;
    }
    .bradcome-wrpper span::before {
        width: 223px;
        top: -10px;
        left: 30px;
    }
    .bradcome-wrpper span::after {
        width: 229px;
        top: 111%;
        right: 27px;
    }

    .left-section-title-card,
    .left-section-tab-card {
        width: 100%;
    }
    .second-page-tab {
        justify-content: space-evenly;
    }
    .all-section-cnt-card {
        padding-left: 15px;
        padding-right: 15px;
    }
    .file-size-row .row {
        margin-top: 10px;
        row-gap: 15px;
    }

    .row-title-card span::before {
        width: 210px;
        height: 17px;
        left: 7px;
        top: -16px;
        transform: translateY(0);
    }
    .row-title-card span::after {
        width: 218px;
        height: 17px;
        right: 0;
        top: 100%;
        transform: translateY(0);
    }
    .update-post-row {
        padding-top: 35px;
        padding-bottom: 10px;
    }
    .single-post-card p {
        margin-bottom: 5px;
    }
    .cnt-card {
        padding: 10px;
        padding-bottom: 24px;
    }
    .update-post-row .row {
        row-gap: 18px;
    }

    .all-section-cnt-card {
        padding-bottom: 30px;
    }
    .second-page-fma {
        padding-top: 40px;
    }
    .popup-cnt-card {
        width: calc(100% - 50px);
        padding-right: 10px;
    }
    .requeiment-row {
        padding-top: 20px;
    }
}

/* Safe background fallback + kill legacy starfield pseudo bg */
.offcanvas{background-color:#030909;}
body{background-color:#030909;}
body::before{content:none !important;background:none !important;}
.site-bg{display:none !important;}
#preloader{position:fixed;inset:0;z-index:9999;background:#030909;}

/* Header logo (real server logo) */
.logo-card a img{width:125px;max-width:150px;height:auto;}

/* Language select in header */
.lan-select{display:flex;align-items:center;gap:8px;}
.lan-select > img{height:16px;width:auto;}
.header-area .select-options{padding:6px 30px 6px 10px;min-width:120px;}

/* Login / account button (text over image bg) */
.login-card button{border:0;background:transparent;padding:0;line-height:0;}
.login-card button > img{display:block;}

/* ---- Video card holds a responsive iframe (real presentation) ---- */
.video-card{min-height:320px;background:#020a09;overflow:hidden;}
.video-card iframe{width:100%;height:100%;min-height:320px;border:0;display:block;position:absolute;inset:0;}
.video-card .top-heading,.video-card .bottom-titles{z-index:3;pointer-events:none;}
.video-card .bottom-titles{max-width:80%;}
/* YouTube is only loaded on click (chaos.js); without a video id a still image */
.video-card .k-yt,.video-card .k-yt-still{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;display:block;background:#020a09;}
.video-card .k-yt{cursor:pointer;}
.video-card .k-yt img,.video-card .k-yt-still{width:100%;height:100%;object-fit:cover;}
.video-card .k-yt-still{opacity:.55;}
.k-yt__play{position:absolute;left:50%;top:50%;width:68px;height:48px;transform:translate(-50%,-50%);border-radius:12px;background:rgba(3,9,9,.78);border:1px solid rgba(74,140,133,.7);transition:background .2s ease;}
.k-yt__play::before{content:"";position:absolute;left:50%;top:50%;transform:translate(-40%,-50%);border-style:solid;border-width:10px 0 10px 17px;border-color:transparent transparent transparent #d9faf8;}
.k-yt:hover .k-yt__play,.k-yt:focus-visible .k-yt__play{background:#4a8c85;}

/* Recent-news / events / rankings card: keep predictable height for the
   hero-overlap layout (scroll internally) */
.info-desc-card{scrollbar-width:thin;}
.single-content-right p{word-break:break-word;}
.single-content-right p a{color:inherit;}
.single-content-item .single-content-inner{cursor:pointer;}

/* Empire/job portrait inside news thumb (optional) */
.single-content-left img{width:100%;height:100%;object-fit:cover;}

/* ---- Login / Register modal: account panel (logged-in) ---- */
.kacc-list{display:flex;flex-direction:column;gap:2px;padding:6px 0 4px;}
.kacc-list a{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:10px;color:#dbd6d7;font-size:13.5px;font-weight:600;border:1px solid transparent;transition:all .2s ease;}
.kacc-list a i{width:20px;text-align:center;color:#c98f2e;font-size:15px;}
.kacc-list a:hover{background:#091c1b;border-color:rgba(230,185,104,.28);color:#f4d089;}
.kacc-list a.logout{color:#ffffff;}
.kacc-list a.logout i{color:#ffffff;}
.kacc-greeting{padding:6px 4px 10px;color:#4a8c85;font-size:13px;}
.kacc-greeting b{color:#d9f9f7;}

/* Modal must sit above everything, allow inner scroll on small screens */
.modal{z-index:20000;}
.modal-backdrop{z-index:19990;}
/* Bootstrap 5.0 uses the same .modal-backdrop for the offcanvas menu: without
   this the backdrop covered the mobile menu and every tap closed it instead. */
.offcanvas{z-index:19995;}
/* Touch devices: iOS zooms into form fields below 16px */
@media (hover:none) and (pointer:coarse){.popup-card .input-tag-card input{font-size:16px;}}
.popup-cnt-card{max-height:82vh;overflow-y:auto;}

/* Alerts inside the modal (login errors) */
.popup-cnt-card .alert{margin:14px 0 0;font-size:13px;border-radius:8px;}

/* Owl nav arrows: solid glyphs from the local Font Awesome 5 Free font */
.owl-prev i,.owl-next i{font-family:"Font Awesome 5 Free";font-weight:900;}

/* FA6 class names in the markup (fa-solid ...) rendered by the local FA 5 Free font */
.fa-solid{display:inline-block;font-family:"Font Awesome 5 Free";font-weight:900;font-style:normal;font-variant:normal;line-height:1;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}

/* ---- Second page: host existing CMS page components ---- */
#second-page-main-body .section-cnt-card{width:calc(100% - 45px);min-width:0;}
.all-section-cnt-card .xy-news-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px;}
.all-section-cnt-card .xy-news-header .left h3{font-family:var(--absoluteEmpire),"Cinzel",serif;color:#e9e4e4;font-size:22px;text-transform:uppercase;}
.all-section-cnt-card .xy-news-header .xy-nh-ul{display:flex;gap:8px;flex-wrap:wrap;}
.all-section-cnt-card .xy-news-header .xy-nh-ul li a{display:inline-block;padding:7px 12px;border-radius:8px;background:#091c1b;border:1px solid rgba(230,185,104,.2);color:#b9b0a6;font-size:12px;text-transform:uppercase;font-weight:700;}
.all-section-cnt-card .xy-news-header .xy-nh-ul li a.active,.all-section-cnt-card .xy-news-header .xy-nh-ul li a:hover{color:#f4d089;border-color:rgba(230,185,104,.5);}

/* Pagination (news) */
#second-page-main-body .pagination{display:flex;justify-content:center;padding-top:22px;}
#second-page-main-body .pagination .buttons{display:flex;gap:8px;flex-wrap:wrap;}
#second-page-main-body .pagination a,#second-page-main-body .pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 10px;border-radius:9px;background:#06100f;border:1px solid #0d2725;color:#b9b0a6;font-weight:700;}
#second-page-main-body .pagination a:hover,#second-page-main-body .pagination span.active{background:#0f3d3a;border-color:#4a8c85;color:#ffffff;}

#second-page-main-body .alert{border-radius:10px;border:1px solid rgba(230,185,104,.25);}
#second-page-main-body .table{color:#f1eeee;}
#second-page-main-body .post_title{font-family:var(--absoluteEmpire),"Cinzel",serif;color:#d9f9f7;font-size:20px;margin-bottom:12px;}
#second-page-main-body .post_content{color:#cfc8c9;font-size:14px;line-height:1.8;}
#second-page-main-body .post_content img{max-width:100%;height:auto;border-radius:10px;}
#second-page-main-body .post_date{color:#4a8c85;font-size:12px;padding-top:14px;}
#second-page-main-body .page-hd h2,#second-page-main-body .pre-social{font-family:var(--absoluteEmpire),"Cinzel",serif;color:#e9e4e4;text-transform:uppercase;}

/* Utility */
.k-hidden{display:none !important;}
.text-white{color:#fff;}
img.wow{visibility:visible;}

/* Preloader: JS fades it (main.js); CSS fallback guarantees it never sticks */
@keyframes kPreloaderOut{to{opacity:0;visibility:hidden}}
#preloader{animation:kPreloaderOut .5s ease 1.4s forwards;}

/* ============================================================
   HEADER FIXES (live feedback): alignment, language select,
   and login/account button overflow.
   ============================================================ */
.header-menu-card{gap:16px;flex-wrap:nowrap;}
.header-menu-list{flex-wrap:nowrap;}
.header-menu-list li{display:flex;align-items:center;white-space:nowrap;}
.lan-select{flex-shrink:0;white-space:nowrap;}
.lan-select > img{height:16px;width:auto;flex:0 0 auto;}
.header-area .select-options{min-width:0;width:auto;max-width:140px;padding:6px 28px 6px 8px;}

/* Login / account button: text/icon must never spill outside the frame */
.login-card{text-align:right;}
.login-card button{position:relative;display:inline-block;max-width:100%;line-height:0;}
.login-card button > img{display:block;max-width:100%;height:auto;}
.login-card button span{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;
  font-size:12px;letter-spacing:.02em;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 12px;box-sizing:border-box;}
.login-card button span i{font-size:16px;}

/* Slightly tighter nav padding on smaller desktops so the language
   select never collides with the login button */
@media (min-width:1200px) and (max-width:1399px){
  .header-menu-list li a{padding-left:18px;padding-right:18px;}
}
@media (min-width:992px) and (max-width:1199px){
  .lan-select .select-options{max-width:110px;}
}

/* ============================================================
   RESPONSIVE HARDENING (live feedback: "responsive geht nicht")
   Kills horizontal scroll from absolutely-positioned art and
   tightens the intermediate breakpoints.
   ============================================================ */
html,body{overflow-x:hidden;max-width:100%;}
#main-body,#second-page-main-body{overflow-x:hidden;}
.server-ranking-wrpper{overflow-x:clip;}
.server-ranking-wrpper .container{overflow:visible;}
.werver-raking-thumb{max-width:60%;}
img{max-width:100%;height:auto;}
.hero-area{overflow:hidden;}

/* Tablet / mobile: make sure the overlap layout fully collapses and
   nothing sticks out */
@media (max-width:991px){
  .video-recent-event-area{position:static !important;top:auto !important;}
  .server-ranking-area{padding-top:40px !important;}
  .werver-raking-thumb{position:static !important;left:auto !important;max-width:100%;text-align:center;}
  .werver-raking-thumb img{max-width:70%;}
  .offset-lg-6{margin-left:0;}
  .hero-wrpper{left:0 !important;}
  .banner-wrpper{padding-top:30px;padding-bottom:40px;}
}
@media (max-width:767px){
  .hero-wrpper{position:absolute;top:12% !important;left:0 !important;text-align:center;}
  .hero-logo-card img{max-width:150px;}
  .video-card{min-height:220px;}
  .info-desc-card{max-height:320px;}
  .footer-menu-list{justify-content:center;gap:14px;}
  .header-area .container>.row{row-gap:6px;}
}

/* Down to very small phones: keep the language select + burger tidy */
@media (max-width:575px){
  .logo-card a img{width:96px;}
  .footer-menu-item{width:auto;}
  .footer-copy-right .row{row-gap:12px;}
}

/* ============================================================
   Below the large-desktop range: drop the fragile absolute
   hero/video overlap and let the sections flow vertically.
   (The overlap is only tuned for >=1200px.)
   ============================================================ */
@media (max-width:1199px){
  .hero-recent-event-wrpper{position:static !important;}
  .video-recent-event-area{position:static !important;top:auto !important;width:100% !important;padding-top:30px;}
  .server-ranking-area{padding-top:50px !important;}
  .hero-wrpper{left:0 !important;}
}

:root{
  --k-bg:#06060a;
  --k-bg-2:#0b0b11;
  --k-panel:linear-gradient(180deg, rgba(18,15,20,.92), rgba(9,8,12,.94));
  --k-panel-soft:rgba(255,235,215,.025);
  --k-line:rgba(210,180,150,.12);
  --k-line-strong:rgba(214,196,168,.28);
  --k-steel:rgba(180,190,205,.16);
  --k-text:#f3efe8;
  --k-muted:#b9b0a6;
  --k-muted-2:#8a8178;
  --k-crimson:#4a8c85;
  --k-crimson-deep:#0f3d3a;
  --k-gold:#e6b968;
  --k-gold-2:#f4d089;
  --k-gold-deep:#c98f2e;
  --k-shadow:0 24px 70px rgba(0,0,0,.6);
  --k-radius:18px;
  --k-grad-brand:linear-gradient(135deg,var(--k-gold-2) 0%,var(--k-gold) 34%,var(--k-crimson) 100%);
  --k-grad-gold:linear-gradient(135deg,#f7dc9e,var(--k-gold) 55%,var(--k-gold-deep));
}

.k-discord{
  position:fixed;right:20px;bottom:74px;z-index:9990;
  display:flex;flex-direction:column;align-items:flex-end;gap:12px;
  font-family:"Inter",sans-serif;
  pointer-events:none; /* empty area stays click-through; children re-enable */
}
.k-discord__btnwrap{pointer-events:auto}
.k-discord__card{
  width:266px;max-width:calc(100vw - 40px);
  border-radius:16px;overflow:hidden;
  background:linear-gradient(180deg, rgba(18,15,20,.96), rgba(9,8,12,.98));
  border:1px solid var(--k-steel);
  box-shadow:var(--k-shadow), 0 0 40px rgba(255,255,255,.16);
  transform:translateY(14px) scale(.96);opacity:0;pointer-events:none;transform-origin:bottom right;
  transition:opacity .28s ease, transform .28s cubic-bezier(.22,1,.36,1);
}
.k-discord:hover .k-discord__card,
.k-discord.k-open .k-discord__card,
.k-discord:focus-within .k-discord__card{transform:none;opacity:1;pointer-events:auto}

.k-discord__head{
  display:flex;align-items:center;gap:12px;padding:16px 16px 12px;
  background:
    radial-gradient(120% 90% at 20% -10%, rgba(255,255,255,.30), transparent 60%),
    linear-gradient(180deg, rgba(230,185,104,.14), rgba(255,255,255,0));
  border-bottom:1px solid var(--k-line);
}
.k-discord__avatar{
  width:44px;height:44px;border-radius:13px;flex-shrink:0;object-fit:cover;
  background:var(--k-grad-brand);display:grid;place-items:center;
  border:1px solid rgba(230,185,104,.45);box-shadow:0 6px 18px rgba(255,255,255,.4);
}
.k-discord__avatar svg{width:26px;height:26px;fill:#fff}
.k-discord__title{min-width:0}
.k-discord__name{
  font-family:"Cinzel",serif;font-size:15px;font-weight:700;color:#fff6ea;line-height:1.15;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.k-discord__tag{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--k-muted-2);margin-top:2px}

.k-discord__stats{display:flex;gap:10px;padding:14px 16px 4px}
.k-discord__stat{
  flex:1;border:1px solid var(--k-line);border-radius:12px;padding:10px 12px;
  background:rgba(255,235,215,.03);
}
.k-discord__num{display:flex;align-items:center;gap:7px;font-size:17px;font-weight:800;color:#fff6ea;line-height:1}
.k-discord__num .k-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}
.k-discord__num .k-dot.on{background:#3fae6e;box-shadow:0 0 10px rgba(63,174,110,.8);animation:k-pulseDot 2.4s ease-in-out infinite}
.k-discord__num .k-dot.total{background:var(--k-muted-2)}
.k-discord__lbl{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--k-muted-2);margin-top:6px}

.k-discord__join{
  display:block;margin:12px 16px 16px;text-align:center;
  padding:11px 14px;border-radius:12px;
  background:var(--k-grad-brand);color:#1a0c05;
  font-weight:800;letter-spacing:.06em;text-transform:uppercase;font-size:12px;
  box-shadow:0 10px 26px rgba(255,255,255,.4);transition:.22s ease;
}
.k-discord__join:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(255,255,255,.55);color:#1a0c05;filter:brightness(1.05)}

.k-discord__btn{
  position:relative;
  width:58px;height:58px;border-radius:50%;flex-shrink:0;
  display:grid;place-items:center;cursor:pointer;
  background:var(--k-grad-brand);
  border:1px solid rgba(230,185,104,.55);
  box-shadow:0 12px 30px rgba(255,255,255,.5);
  transition:transform .25s ease, box-shadow .25s ease;
}
/* GPU-composited pulse ring (transform+opacity) instead of animating box-shadow */
.k-discord__btn::after{
  content:"";position:absolute;inset:-1px;border-radius:50%;pointer-events:none;
  border:2px solid rgba(230,185,104,.5);
  animation:k-discordRing 3.2s ease-out infinite;
}
.k-discord__btn svg{width:30px;height:30px;fill:#1a0c05}
.k-discord:hover .k-discord__btn,
.k-discord.k-open .k-discord__btn{transform:scale(1.06)}
.k-discord__badge{
  position:absolute;top:-2px;right:-2px;min-width:20px;height:20px;padding:0 5px;
  border-radius:999px;background:#3fae6e;color:#fff;font-size:11px;font-weight:800;
  display:grid;place-items:center;border:2px solid #0b0b11;box-shadow:0 0 10px rgba(63,174,110,.7);
}
.k-discord__btnwrap{position:relative}

@keyframes k-discordRing{
  0%{transform:scale(1);opacity:.55}
  70%,100%{transform:scale(1.5);opacity:0}
}
@keyframes k-pulseDot{0%,100%{opacity:1}50%{opacity:.4}}

@media (max-width:575px){
  .k-discord{right:14px;bottom:70px}
  .k-discord__btn{width:52px;height:52px}
  .k-discord__btn svg{width:26px;height:26px}
}
@media (prefers-reduced-motion: reduce){
  .k-discord__btn::after{animation:none;display:none}
  .k-discord__num .k-dot.on{animation:none}
  .k-discord__card{transition:opacity .2s ease}
}


/* ============================================================
   ULTRA-WIDE (>=1600px incl. 2560px): the absolute hero/overlap
   is only tuned up to ~1599px; above it the fixed 500px reserve
   no longer clears the (taller) hero, so banners/ranking overlap.
   -> Collapse to clean vertical flow + cap the hero as a banner.
   ============================================================ */
@media (min-width:1600px){
  .video-recent-event-area{position:static !important;top:auto !important;left:auto !important;width:100% !important;padding-top:24px;}
  .server-ranking-area{padding-top:70px !important;}
  .hero-area{overflow:hidden;}
  .hero-area > img{width:100%;max-height:780px;object-fit:cover;object-position:center 24%;display:block;}
  .hero-wrpper{top:20% !important;left:0 !important;}
}

.select-options,
.header-area .select-options{
  background-image:url(../images/select-input-arrow.png) !important;
  background-size:12px !important;
  background-position:calc(100% - 8px) 50% !important;
  background-repeat:no-repeat !important;
}

/* ============================================================
   Category / tab hover: animated underline reveal
   ============================================================ */
.tab{position:relative;padding-bottom:7px;}
.tab::after{
  content:"";position:absolute;left:0;bottom:0;height:2px;width:100%;
  background:linear-gradient(90deg,#f4d089,#ffffff);
  transform:scaleX(0);transform-origin:left;
  transition:transform .28s cubic-bezier(.22,1,.36,1);
}
.tab:hover::after,.tab.active::after{transform:scaleX(1);}

/* Header nav underline on hover (subtle) */
.header-menu-list li a{position:relative;}
.header-menu-list li a::after{
  content:"";position:absolute;left:28px;right:28px;bottom:-3px;height:2px;
  background:linear-gradient(90deg,#f4d089,#ffffff);
  transform:scaleX(0);transform-origin:center;
  transition:transform .28s cubic-bezier(.22,1,.36,1);
}
.header-menu-list li:first-child a::after{left:0;}
.header-menu-list li a:hover::after,#header-menu-active a::after{transform:scaleX(1);}

/* ============================================================
   Layout tweaks (live feedback):
   - Banners moved above the video/news feed -> adjust spacing
   - Swap Statistics <-> Events cards
   ============================================================ */
.video-recent-event-area .banner-wrpper{padding-top:0 !important;padding-bottom:55px !important;}
.statictics-event-wrpper .row{flex-direction:row-reverse;}

/* ============================================================
   Section order swapped (Statistics up, Video/News down).
   The video block is no longer inside the hero wrapper, so the
   fragile absolute hero-overlap is retired for good -> normal flow.
   ============================================================ */
.hero-recent-event-wrpper{position:static !important;}
.video-recent-event-area{position:static !important;top:auto !important;left:auto !important;width:100% !important;}
.server-ranking-area{padding-top:60px !important;}
.statistics-event-area{padding-top:60px !important;}

/* ============================================================
   Ranking split into two cards (Players left, Guilds right)
   + rank badges (gold crown / silver / bronze).
   ============================================================ */
.ranking-info-card{width:calc(100% - 40px);}
.ranking-info-card .info-desc-card{width:100%;}
.server-ranking-wrpper .ranking-table{margin-left:16px;margin-right:14px;}
@media (max-width:991px){ .server-ranking-wrpper .row{row-gap:26px;} }

/* rank cell: badge centered (override the legacy guilds flex first-child) */
.players-table table tr td.k-rank-cell,
.guilds-table table tr td.k-rank-cell{display:table-cell !important;text-align:center;column-gap:0;width:48px;}
.k-rk{font-size:17px;line-height:1;}
.k-rk1{color:#ffcf3f;filter:drop-shadow(0 0 5px rgba(255,207,63,.55));}
.k-rk2{color:#d4dbe2;filter:drop-shadow(0 0 4px rgba(212,219,226,.4));}
.k-rk3{color:#cd7f32;filter:drop-shadow(0 0 4px rgba(205,127,50,.4));}
.k-rk-num{font-weight:700;color:#517a77;}

/* ============================================================
   Hero: online-player stat boxes (current + last 24h)
   ============================================================ */
.hero-stats{display:flex;gap:16px;margin-top:28px;flex-wrap:wrap}
.hero-stat{display:flex;align-items:center;gap:14px;padding:13px 22px 13px 15px;border-radius:16px;
  background:rgba(6,18,17,.55);border:1px solid rgba(230,185,104,.28);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 14px 34px rgba(0,0,0,.45)}
.hero-stat-ico{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;font-size:20px;color:#f4d089;flex:0 0 auto;
  background:linear-gradient(135deg,rgba(255,255,255,.32),rgba(230,185,104,.14));border:1px solid rgba(230,185,104,.3)}
.hero-stat-txt{display:flex;flex-direction:column;line-height:1.05}
.hero-stat-num{font-family:"Cinzel","Georgia",serif;font-weight:800;font-size:27px;color:#fff6ea}
.hero-stat-lbl{font-size:11px;color:#d9b27a;text-transform:uppercase;letter-spacing:.09em;font-weight:700;margin-top:4px;white-space:nowrap}
.hero-on-dot{width:13px;height:13px;border-radius:50%;background:#3fae6e;animation:heroPulse 2s infinite}
@keyframes heroPulse{0%{box-shadow:0 0 0 0 rgba(63,174,110,.6)}70%{box-shadow:0 0 0 10px rgba(63,174,110,0)}100%{box-shadow:0 0 0 0 rgba(63,174,110,0)}}
@media (max-width:767px){
  .hero-stats{gap:10px;margin-top:16px}
  .hero-stat{padding:9px 14px 9px 10px;gap:10px}
  .hero-stat-ico{width:36px;height:36px;font-size:15px}
  .hero-stat-num{font-size:19px}
  .hero-stat-lbl{font-size:9.5px}
}
