@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&display=swap");

:root {
    --highlight1: #e26262;
    --highlight2: #e2b162;
    
    --server-type: #7be262;
    
    --yang: #FFEF00;
    --won: #E89300;
    --ap: #50c9ff;
    
    --shinsoo: #ff4343;
    --jinno: #43a4ff;
    --list: #43ff8b;
    
    --metinstone: #21DADA;
    --boss: #FF2F8A;
    --dungeon: #CAE139;
    
    --exp-ring: #9F4AF3;
    --thief-glove: #c48383;
    
    --mount-system: #d5a873;
    --pet-system: #bbc874;
    --shaman-system: #bb5ce3;
}

@keyframes blinkGlow {
  0%, 100% {
	opacity: 1;
	text-shadow:
	  0 0 6px #d4a300,
	  0 0 12px #b87300,
	  0 0 20px #8f5200;
  }
  50% {
	opacity: 0.75;
	text-shadow:
	  0 0 3px #a77a00,
	  0 0 8px #8c4b00,
	  0 0 16px #6a3700;
  }
}
.blink-text {
  font-size: 28px;
  font-weight: 900;
  color: #ffcc00;
  font-family: 'Trajan Pro', 'Cinzel', serif;
  text-align: center;
  margin-top: 40px;
  letter-spacing: 2px;
  animation: blinkGlow 2s infinite ease-in-out;
}

* {
    transition: all 0.4s ease 0s;
    box-sizing: border-box;
}

.ranking-box {
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid #a07c3b;
  border-radius: 8px;
  padding: 12px 25px;
  width: fit-content;
  margin: 30px auto;
  font-family: 'Cinzel', 'Trajan Pro', serif;
  color: #d5c48f;
}

.ranking-box h2 {
  font-size: 18px;
  color: #e3c675;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.ranking-box p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  color: #c9b678;
}

.ranking-box span {
  color: #e3c675;
  font-weight: 600;
}

*[text-formatting] {
    color: var(--default-color);
}

body {
    background: #000;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #ebdfcb;
    margin: 0;
    padding: 0;
}

body b {
    color: #ce1616;
}

body.scroll_block {
    overflow: hidden;
}

.big_button {
    transition: 0.9s;
}

.big_button:hover {
    filter: brightness(1.3) saturate(1.2);
}

.loader {
    background: #0a0a0a;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
}

.loader .loader-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.loader .loader-container .loader-logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 250px;
    width: 100%;
}

.loader .loader-container .loader-logo img {
    max-width: 100%;
    max-height: 100%;
}

/* HTML: <div class="loader"></div> */
.loader-obj {
  width: 50px;
  --b: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ac8e3b;
  -webkit-mask:
    repeating-conic-gradient(#0000 0deg,#000 1deg 70deg,#0000 71deg 90deg),
    radial-gradient(farthest-side,#0000 calc(100% - var(--b) - 1px),#000 calc(100% - var(--b)));
  -webkit-mask-composite: destination-in;
          mask-composite: intersect;
  animation: l5 1s infinite;
}
@keyframes l5 {to{transform: rotate(.5turn)}}


#mobile {
    background: #090808;
    border-bottom: 1px solid #535255;
    box-shadow: 0px 0px 130px 9px rgb(2, 1, 1);
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 20px 15px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
}

#mobile img {
    height: 100px;
}

#mobile #hamburger {
    background: #211e23;
    border-radius: 4px;
    min-width: 48px;
    max-width: 48px;
    height: 48px;
    padding: 15px 8px;
    margin: 0 0 0 8px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#mobile #hamburger span {
    background: #565657;
    border-radius: 2px;
    display: block;
    height: 3px;
    width: 30px;
    opacity: 1;
    right: 0;
    margin-bottom: 4px;
    transition: all 0.4s ease 0s;
}

#mobile #hamburger span:nth-child(3) {
    margin-bottom: 0;
}

#mobile #hamburger span:nth-child(2) {
    width: 24px;
    transition: all 0.4s ease 0s;
}

#mobile #hamburger span:nth-child(3) {
    width: 24px;
    transition: all 0.4s ease 0s;
}

#mobile #hamburger:hover span:nth-child(2),
#mobile #hamburger.hamburger-open span:nth-child(2) {
    width: 16px;
    transition: all 0.4s ease 0s;
}

ul {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

ul::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

::-webkit-scrollbar {
    width: 6px;
    background-color: #332218;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: #686864;
    background-size: 100% 300%;
    border-radius: 0px;
    -webkit-transition: .3s;
    transition: .3s;
    border-radius: 5px;
    cursor: pointer;
}

::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 3px;
    width: 8px;
}

.main {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.main:before,
.main:after {
    content: "";
    display: block;
    width: 100%;
    position: fixed;
    z-index: 2;
    pointer-events: none;
}

.main:before {
    background: linear-gradient(rgb(0, 0, 0), rgba(0, 0, 0, 0));
    left: 0;
    top: 0;
    height: 50px;
    z-index: 9;
}

.main:after {
    background: linear-gradient(rgba(0, 0, 0, 0), rgb(0, 0, 0));
    left: 0;
    bottom: 0;
    height: 50px;
}

.main__menu {
    background: url(../../img/left-panel.webp) right top no-repeat;
    box-shadow: 0px 0px 130px 9px rgb(2, 1, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    background-size: cover;
    min-width: 28%;
    max-width: 28%;
    height: 100vh;
    padding: 40px 100px;
    position: sticky;
    left: 0;
    top: 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}
.main__menu_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 278px;
    height: auto;
    margin: 0 auto;
    position: relative;
}

.main__menu_box--nav {
    background: url('../../img/menu-bg.webp') no-repeat;
    display: block;
    width: 297px;
    height: 718px;
    position: relative;
    padding: 0 5px 6px 0;
    z-index: 1;
}

.main__menu_box--nav > ul {
    display: block;
    width: 90%;
    padding: 0 0px 0px 20px;
    margin: 215px 0 0 25px;
    max-height: 455px;
    position: relative;
    z-index: 3;
    overflow: auto;
}

.main__menu_box--nav > ul > li.nav--item {
    display: block;
    width: 100%;
    margin: 0!important;
    padding: 0!important;
}

.main__menu_box--nav > ul > li.nav--item .nav--list {
    display: none;
    padding: 0;
    transition: all 0.4s ease 0s;
}

.main__menu_box--nav > ul > li.nav--item .nav--list > li {
    display: block;
    width: 100%;
    margin: 0!important;
    padding: 0!important;
    transition: all 0.4s ease 0s;
}

.main__menu_box--nav > ul > li.nav--item .nav--list > li a {
    background: url(../../img/btn-menu.webp) repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 211px;
    height: 37px;
    line-height: 30px;
    margin: 0px;
    padding: 0 0px;
    font-size: 13px;
    text-shadow: 0 0 3px #000;
    font-family: "Calibri", sans-serif;
    font-weight: 600;
    color: #dbcc79;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease 0s;
}

.main__menu_box--nav > ul > li.nav--item .nav--list > li a.active {
    filter: brightness(1.3) saturate(1.2);
    transition: all 0.9s ease 0s;
}

.main__menu_box--nav > ul > li.nav--item .nav--list > li:not(:last-child) {
    margin: 0 0 3px 0;
}

.main__menu_box--nav > ul > li.nav--item.active .nav--title:after {
    transform: rotate(180deg);
    transition: transform 0.4s ease 0s;
}

.main__menu_box--nav > ul > li.nav--item.active .nav--list {
    display: block;
}

.main__menu_box--nav > ul > li.nav--item:not(:last-child) {
    margin: 0 0 10px 0;
}

.main__content {
    min-width: 44%;
    max-width: 44%;
    position: relative;
    padding: 0;
    padding-bottom: 125px;
    z-index: 2;
    background: url(../../img/main-panel.webp) fixed center;
    text-align: center;
}

.main__content .section {
    display: block;
    width: 100%;
    padding: 0 0px;
    margin-top: 40px;
}

.main__content .section p {
    padding: 0 60px;
}

.main__content .section p.no-margin {
    margin: 0;
}

.main__content .section p.header-p {
    margin-top: 25px!important;
}

.main__content .section img {
    max-width: 100%;
    height: auto;
    text-align: center;
    margin: auto;
}

.main__photo {
    background-image: url(../../img/right-panel.webp);
    min-width: 28%;
    max-width: 28%;
    height: 100vh;
    position: sticky;
    right: 0;
    top: 0;
    z-index: 99999;
    overflow: hidden;
}

.main__photo--background {
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
    width: 100%;
    max-height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0s linear 0.3s;
    pointer-events: none;
}

.animation {
    overflow: hidden;
    position: absolute;
    height: 100%;
    min-width: 538px;
    max-width: 538px;
    pointer-events: none;
    z-index: 8;
    left: 12px;
}

.animation .header-animation video {
    z-index: 9;
    bottom: 0;
    -o-object-fit: cover;
    object-fit: cover;
    pointer-events: none;
    margin: 0 auto;
    position: relative;
    left: 0;
    display: block;
}

.main__photo--background.active {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
    pointer-events: auto;
}

.main__photo--button {
    background: url(../img/goforum_btn.webp) no-repeat;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
    width: 153px;
    height: 46px;
    position: absolute;
    right: 16px;
    bottom: 20px;
    z-index: 3;
    transition: all 0.4s ease 0s;
}

.main__photo--button:focus {
    outline: none;
}

.main__photo--button:hover {
    filter: brightness(1.3) saturate(1.2);
    transition: all 0.4s ease 0s;
}

@media screen and (max-width: 1700px) {
    .main__menu {
        padding: 0 40px 0 0;
    }
}

@media screen and (max-width: 1340px) {
    .main__menu {
        padding: 0 35px 0 0;
    }
}

@media screen and (max-width: 1200px) {
    .main__menu {
        align-items: center;
        min-width: 40%;
        max-width: 40%;
    }

    .main__content {
        min-width: 60%;
        max-width: 60%;
    }

    .main__photo {
        display: none;
    }
}

@media screen and (max-width: 980px) {
    #mobile {
        display: flex;
    }

    .main:before,
    .main:after {
        display: none;
    }

    .main__menu {
        justify-content: flex-start;
        display: none;
        position: fixed;
        left: 0;
        top: 140px;
        z-index: 9;
        min-width: 100%;
        max-width: 100%;
        height: 100vh;
        padding: 40px 0 0 0;
    }

    .main__menu_box {
        width: calc(100% - 74px);
    }

    .main__menu_box--logo {
        display: none;
    }

    .main__menu.active {
        display: flex;
        background-size: cover;
    }

    .main__content {
        min-width: 100%;
        max-width: 100%;
        max-height: auto;
        height: auto;
        padding-top: 141px;
    }

    .main__content .section {
        height: auto;
    }
}

.socials {
    margin: auto;
    text-align: center;
    align-items: center;
    margin-top: 0px;
}

.socials .btn-dc, .socials .btn-fb, .socials .btn-www {
    display: inline-block;
    width: 82px;
    height: 48px;
    cursor: pointer;
    transition: .2s;
    margin: 0 0px;
}

.socials .btn-dc:hover, .socials .btn-fb:hover, .socials .btn-www:hover {
    filter: brightness(120%);
}

.socials .btn-dc {
    background: url('../../img/btn-dc.webp') no-repeat;
}

.socials .btn-fb {
    background: url('../../img/btn-fb.webp') no-repeat;
}

.socials .btn-www {
    background: url('../../img/btn-www.webp') no-repeat;
}

.slot {
    background: url('../../img/slot.webp');
    background-size: 87px 86px;
    width: 87px;
    height: 86px;
    margin: auto;
    align-items: center;
    justify-content: center;
    display: grid;
}

.slot img {
    margin: auto;
    vertical-align: middle;
    padding-bottom: 5px;
}

table {
    margin: auto;
    text-align: center;
    max-width: 100%;
    padding: 0 10px;
}

table p {
    padding: 0 5px!important;
}

.styled-tbl {
    background: linear-gradient(to right, #33312b 0%, #585249 50%, #33312b 100%);
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.styled-tbl tr.header td {
    background: url('../../img/table/header.webp');
    background-size: 100% 37px;
    height: 37px;
}

.styled-tbl tr td span {
    background-image: linear-gradient(to bottom, #c4bbaf 0%, #908470 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: brightness(1.55);
    position: relative;
    font-size: 14px;
    margin: 0;
}

.styled-tbl td {
    background: url('../../img/table/tr-normal.webp');
    background-size: cover;
    height: 58px;
    padding: 10px 20px;
}

.styled-tbl img {
    margin: auto;
    margin-bottom: 0 !important;
    vertical-align: middle;
    max-width: 100%;
    box-sizing: border-box;
}

.styled-tbl p.inline-p {
    margin: 0;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

p.inline-p {
    position: relative;
    margin: 0;
    padding: 0;
}

p.inline-p b {
    padding: 0 5px;
}

p.inline-p img {
    padding: 0 2px;
    vertical-align: middle;
}

span img {
    padding: 0 2px;
    vertical-align: middle;
}

p.arrow-left,
p.arrow-right,
p.arrow-both {
    align-items: center;
    display: flex;
    margin: auto;
    text-align: center;
    position: relative;
    left: 0;
    right: 0;
    padding: 0 10px;
    justify-content: center;
}

p.arrow-left:before,
p.arrow-both:before {
    content: url('../../img/arrow-right.webp');
    padding-top: 5px;
    padding-right: 15px;
}

p.arrow-right:after,
p.arrow-both:after {
    content: url('../../img/arrow-left.webp');
    padding-top: 5px;
    padding-left: 15px;
}

img.header-minor {
    padding-top: 10px;
}

img.header-section {
    padding: 0!important;
    margin: 0!important;
}
