/*
 * PurpleWeb PSD integration.
 * Loaded after the original theme so the CMS templates and page modules keep
 * their existing behavior while the public layout follows purpleweb.psd.
 */

:root {
  --purple-bg: #08000f;
  --purple-panel: #11021f;
  --purple-panel-soft: #19052d;
  --purple-line: #4b126f;
  --purple-accent: #9d46e2;
  --purple-accent-soft: #c389ff;
  --purple-text: #f5effc;
  --purple-muted: #b9a9ca;

  /*
   * Hero logo controls.
   * Change only these values to resize or reposition the displayed logo.
   * The original PNG file is never modified.
   */
  --hero-logo-width: 320px;
  --hero-logo-top: 130px;
  --hero-logo-left: max(0px, calc(50% - 460px));
  --hero-logo-mobile-width: 360px;
}

html {
  background: var(--purple-bg);
}

body {
  color: var(--purple-text);
  background: var(--purple-bg);
  font-family: "Myriad Pro", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  box-shadow: inset 0 0 140px rgba(30, 0, 50, 0.16);
}

#preloader {
  background: #090010;
}

#preloader::before {
  border-color: #35104e;
  border-top-color: var(--purple-accent-soft);
}

.main-wrap {
  min-height: 100vh;
  background: var(--purple-bg);
}

.container {
  max-width: 1260px;
}

/* Navigation */
.header-section {
  height: 91px;
  background:
    url("../images/purpleweb/navbar-background.png") no-repeat center top /
      auto 91px,
    #0b0313;
}

.header-section-inner {
  height: 51px;
  min-height: 51px;
}

.purple-nav-container {
  max-width: 1200px;
}

.server-signature {
  width: 270px;
  flex: 0 0 270px;
  padding-right: 22px;
  color: #d5b5ef;
  font-family: "Myriad Pro", Arial, sans-serif;
  font-size: 11px;
  white-space: nowrap;
}

.server-signature strong {
  color: #aa54e6;
  font-weight: 600;
}

.server-signature span::before {
  content: " – ";
  color: #786886;
}

.main-menu {
  align-self: stretch;
}

.main-menu ul {
  height: 100%;
  justify-content: center;
}

.main-menu ul li {
  height: 100%;
  border-left: 1px solid rgba(114, 61, 150, 0.12);
}

.main-menu ul li:last-child {
  border-right: 1px solid rgba(114, 61, 150, 0.12);
}

.main-menu ul li a {
  height: 100%;
  min-width: 118px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #eee6f5;
  font-family: "Trajan Pro", Georgia, serif;
  font-size: 10px;
  text-transform: uppercase;
  position: relative;
}

.main-menu ul li a::after {
  content: "";
  position: absolute;
  left: 28%;
  right: 28%;
  bottom: 0;
  height: 2px;
  background: var(--purple-accent);
  opacity: 0;
  box-shadow: 0 0 12px var(--purple-accent);
  transition: 0.25s ease;
}

.main-menu ul li.active a,
.main-menu ul li a:hover {
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(118, 38, 172, 0.26),
    rgba(44, 8, 70, 0.06)
  );
}

.main-menu ul li.active a::after,
.main-menu ul li a:hover::after {
  opacity: 1;
}

.nav-actions {
  margin-left: 17px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.lan-select {
  width: 116px;
  height: 34px;
  padding: 0 12px;
  gap: 8px;
  flex-direction: row-reverse;
  justify-content: flex-end;
  border: 1px solid rgba(111, 57, 148, 0.16);
  border-radius: 4px;
  background: rgba(27, 7, 43, 0.78);
}

.lan-select img {
  width: 14px;
  height: 14px;
  object-fit: cover;
  border-radius: 50%;
}

.lan-select .nice-select {
  min-width: 68px;
  height: 32px;
  padding-right: 15px;
  color: #eee6f5;
  font-family: "Myriad Pro", Arial, sans-serif;
  font-size: 11px;
}

.lan-select .nice-select::after {
  border-color: #9c65ba;
}

.lan-select .nice-select .list {
  margin-top: 1px;
  color: #f5effc;
  background: #160423;
}

.lan-select .nice-select .option:hover,
.lan-select .nice-select .option.focus,
.lan-select .nice-select .option.selected.focus {
  background: #35104e;
}

.current-language {
  display: none;
}

.create-account-button {
  width: 131px;
  height: 37px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: url("../images/purpleweb/button-create-account.png") no-repeat
    center / 100% 100%;
  font-family: "Trajan Pro", Georgia, serif;
  font-size: 9px;
  text-transform: uppercase;
  text-shadow: 0 1px 3px #24003b;
  transition:
    filter 0.25s ease,
    transform 0.25s ease;
}

.create-account-button:hover {
  color: #fff;
  filter: brightness(1.25);
  transform: translateY(-1px);
}

/* Hero */
.hero-section {
  height: 802px;
  position: relative;
  overflow: hidden;
  border-bottom: 0;
  background:
    url("../images/purpleweb/hero-scene.jpg") no-repeat center top / cover,
    #10051a;
}

.hero-server-logo {
  position: absolute;
  top: var(--hero-logo-top);
  left: var(--hero-logo-left);
  z-index: 3;
  width: var(--hero-logo-width);
  display: block;
  pointer-events: auto;
  filter: drop-shadow(0 8px 22px rgba(22, 0, 34, 0.28));
  transition:
    filter 0.25s ease,
    transform 0.25s ease;
}

.hero-server-logo:hover {
  filter: drop-shadow(0 10px 28px rgba(147, 61, 205, 0.34))
    brightness(1.05);
  transform: translateY(-2px);
}

.hero-server-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-section-inner {
  height: 802px;
}

.hero-cont1 {
  display: none;
}

/* Main PSD grid */
.section-wrapper1 {
  padding: 0 0 144px;
  background:
    url("../images/purpleweb/page-background.jpg") no-repeat center -802px /
      1920px auto,
    var(--purple-bg);
}

.section-wrapper1 > .container {
  max-width: 1280px;
}

.main-section-inner {
  margin-top: -74px;
  align-items: flex-start;
  gap: 20px;
}

.m-sidebar {
  width: 314px;
  max-width: 25%;
  flex: 0 0 25%;
}

.m-main-part {
  width: 584px;
  max-width: 46.35%;
  flex: 0 0 46.35%;
  margin-top: 27px;
}

/* Side panels */
.s-box {
  height: 354px;
  margin: 0 0 27px;
  padding: 78px 25px 18px;
  background: url("../images/purpleweb/panel-background.png") no-repeat center
    54px / 100% 300px;
}

.s-box-s2 {
  height: 484px;
  margin-bottom: 0;
  padding: 78px 7px 14px;
  background-size: 100% 429px;
}

.s-box > .border-img {
  display: none;
}

.s-box-header {
  top: 0;
  left: 50%;
  width: min(100%, 282px);
  height: 67px;
  margin: 0;
  transform: translateX(-50%);
  justify-content: center;
  background: url("../images/purpleweb/panel-title-ornament.png") no-repeat
    center / 100% 100%;
}

.s-box-header .bg-img {
  display: none;
}

.s-box-header .header-cont {
  height: 100%;
  padding: 27px 0 0;
}

.s-box-header h3 {
  color: #fff;
  font-family: "Trajan Pro", Georgia, serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px #170021;
}

.s-box-form {
  padding: 0;
}

.login-intro {
  margin: 0 0 10px;
}

.login-intro h3 {
  margin: 0;
  color: #c7b9d1;
  font-size: 10px;
  font-weight: 400;
}

.single-input-x {
  margin-bottom: 8px;
}

.single-input-x-input {
  height: 37px;
  color: #fff;
  border: 1px solid rgba(86, 25, 126, 0.34);
  background: rgba(25, 5, 44, 0.78);
  box-shadow: inset 0 0 18px rgba(64, 12, 96, 0.16);
  font-size: 11px;
}

.single-input-x-input::placeholder {
  color: #c5b7cf;
}

.s-box-form .bt-row {
  width: 100%;
  padding-top: 6px;
}

.form-fgt {
  min-height: 24px;
  padding: 2px 5px;
  color: #bfb0ca;
  background: transparent;
  box-shadow: none;
  justify-content: flex-start;
  font-size: 10px;
}

.form-fgt a:hover {
  color: var(--purple-accent-soft);
}

.login-captcha {
  margin-left: 4px;
  transform: scale(0.72);
  transform-origin: 0 0;
  height: 56px;
}

.default-button,
button.default-button {
  width: 118px;
  height: 37px;
  color: #fff;
  border: 0;
  background: url("../images/purpleweb/button-primary.png") no-repeat center /
    100% 100%;
  font-family: "Trajan Pro", Georgia, serif;
  font-size: 10px;
  text-transform: uppercase;
}

.gold-player {
  display: none;
}

.table-st1-str1 {
  padding: 0;
  overflow: hidden;
}

.table-st1 table {
  border-collapse: collapse;
}

.table-st1 table td {
  height: 30px;
  padding: 5px 4px;
  color: #f3ebf7;
  font-size: 10px;
}

.table-st1 tbody tr,
.table-user a {
  background: rgba(60, 9, 91, 0.58);
  border-top: 1px solid rgba(143, 44, 207, 0.25);
  border-bottom: 1px solid rgba(33, 4, 52, 0.68);
}

.table-st1 tbody tr:nth-child(odd),
.table-user a:nth-child(odd) {
  background: rgba(81, 13, 122, 0.72);
}

.table-st1-str1 table td:nth-child(1) {
  width: 14%;
}

.table-st1-str1 table td:nth-child(2) {
  width: 32%;
}

.table-st1-str1 table td:nth-child(3) {
  width: 28%;
}

.table-st1-str1 table td:last-child {
  padding-right: 8px;
}

.ac-bottom-button {
  margin-top: 11px;
}

.table-str2 {
  padding: 0 2px;
}

.table-str2 table td {
  height: 30px;
  color: #e8dced;
  font-size: 10px;
}

.table-str2 table tr {
  border-bottom: 1px solid rgba(103, 31, 150, 0.25);
}

.table-update-time__outer {
  max-width: 244px;
  margin-top: 7px;
  padding-top: 9px;
  border-top-color: rgba(140, 56, 191, 0.3);
}

.table-update-time {
  color: #c6b9cd;
  background: rgba(31, 8, 48, 0.78);
  font-size: 9px;
}

/* Center slider and news */
.m-slider {
  margin-bottom: 5px;
  border: 1px solid rgba(82, 21, 120, 0.42);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.m-box-design1 {
  height: 256px;
}

.m-slider .content-ud {
  background-image: url("../images/purpleweb/slider-scene.png") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.m-slide-caption {
  top: auto;
  bottom: 15px;
  height: 63px;
  padding: 13px 30px;
  color: #fff;
  background:
    url("../images/purpleweb/slider-caption.png") repeat-x center / auto 100%,
    rgba(12, 2, 20, 0.72);
}

.m-slide-caption h3 {
  margin-bottom: 5px;
  font-family: "Trajan Pro", Georgia, serif;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
}

.m-slide-caption h4 {
  color: #a956df;
  font-size: 10px;
}

.m-slider .owl-nav {
  top: auto;
  right: 18px;
  bottom: 33px;
  z-index: 3;
}

.slider-arrow-1 .owl-nav button {
  width: 27px;
  height: 25px;
  color: #b06aea !important;
  border: 1px solid rgba(89, 27, 129, 0.45) !important;
  background: rgba(23, 5, 38, 0.84) !important;
}

.xy-news-part {
  min-height: 636px;
  margin-bottom: 0;
  padding: 0 0 18px;
  color: #fff;
  border: 1px solid rgba(82, 21, 120, 0.46);
  background:
    url("../images/purpleweb/news-background.png") no-repeat center top / 100%
      636px,
    rgba(12, 2, 20, 0.94);
}

.xy-news-header,
.page-hd {
  min-height: 68px;
  margin: 0 15px;
  border-bottom-color: rgba(101, 32, 144, 0.42);
}

.xy-news-header h3,
.pre-social {
  color: #fff;
  font-family: "Trajan Pro", Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
}

.xy-nh-ul li {
  padding: 0 18px;
}

.xy-nh-ul li a {
  padding: 26px 3px;
  color: #9a8aa6;
  font-size: 10px;
}

.xy-nh-ul li a.active,
.xy-nh-ul li a:hover {
  color: #fff;
  border-bottom-color: var(--purple-accent);
}

.content-xy {
  padding: 33px 30px 8px;
}

.content-xy + .content-xy {
  padding-top: 7px;
}

.content-xy .xy-title {
  min-height: 45px;
  padding: 11px 28px;
  border: 0;
  background:
    url("../images/purpleweb/news-item-header.png") no-repeat center / 100%
      100%,
    linear-gradient(90deg, #4e0b7c, #210538);
  box-shadow: 0 8px 18px rgba(9, 0, 16, 0.28);
}

.content-xy .xy-title .left h3 {
  font-family: "Myriad Pro", Arial, sans-serif;
  font-size: 10px;
  text-transform: uppercase;
}

.content-xy .xy-title .right ul.xy li {
  color: #d1bce2;
  border-right-color: rgba(255, 255, 255, 0.3);
  font-size: 9px;
}

.xy-text-cont {
  padding: 17px 4px 0;
}

.xy-text-cont p {
  color: #e9dfef;
  font-size: 10px;
  line-height: 1.45;
}

.pagination {
  padding-bottom: 5px;
}

.pagination .buttons a,
.pagination .buttons span {
  background: rgba(31, 6, 50, 0.92);
  border: 1px solid rgba(91, 25, 131, 0.4);
}

.pagination .buttons a:hover,
.pagination .buttons span {
  background: #6414a0;
  border-color: #8e35ce;
}

/* Interior CMS pages */
.xy-news-part > .container {
  width: 100%;
  padding: 18px 25px 25px;
}

.page-hd {
  margin-bottom: 18px;
}

.padding-container,
.mt2cms2-c-l {
  color: #eadff0;
}

.table > :not(caption) > * > * {
  color: #efe6f4;
  border-color: rgba(101, 32, 144, 0.32);
  background: rgba(25, 5, 43, 0.86);
}

.table-dark {
  --bs-table-bg: rgba(25, 5, 43, 0.86);
  --bs-table-striped-bg: rgba(60, 10, 88, 0.62);
}

.form-control,
.form-control:focus,
.form-control:active {
  color: #fff;
  border-color: rgba(127, 45, 181, 0.4);
  background: rgba(27, 7, 45, 0.92);
  box-shadow: none;
}

.btn-danger,
.btn-danger:focus {
  border-color: #711cb0 !important;
  background: #58118d !important;
}

.btn-danger:hover {
  border-color: #983dd6 !important;
  background: #7720b7 !important;
}

/* Footer */
.footer-section {
  min-height: 246px;
  margin: 0;
  background:
    url("../images/purpleweb/footer-background.png") no-repeat center bottom /
      auto 246px,
    var(--purple-bg);
}

.footer-bottom {
  min-height: 246px;
  padding: 157px 0 28px;
}

.footer-bottom .container {
  max-width: 1260px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-p,
.design-credit {
  width: 220px;
  margin: 0;
  color: #a799ae;
  font-size: 9px;
}

.footer-p .blue-c,
.design-credit strong {
  color: #a348db;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 44px;
}

.footer-links a {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: 8px;
  text-transform: uppercase;
}

.footer-links a strong {
  font-family: "Trajan Pro", Georgia, serif;
  font-size: 9px;
  font-weight: 400;
}

.footer-links a span {
  color: #a99bae;
  font-size: 7px;
  text-transform: none;
}

.footer-links a:hover strong {
  color: var(--purple-accent-soft);
}

.design-credit {
  text-align: right;
}

#scrollUp {
  filter: hue-rotate(45deg) saturate(1.5);
}

/* Responsive layout */
@media (max-width: 1399px) {
  .purple-nav-container {
    max-width: 1160px;
  }

  .server-signature {
    width: 230px;
    flex-basis: 230px;
  }

  .main-menu ul li a {
    min-width: 100px;
    padding-inline: 12px;
  }

  .nav-actions {
    margin-left: 10px;
    gap: 9px;
  }
}

@media (max-width: 1199px) {
  .header-section {
    height: 64px;
    padding: 0;
    background: linear-gradient(180deg, #12051d, #0b0212);
    border-bottom: 1px solid rgba(118, 44, 166, 0.4);
  }

  .header-section-inner {
    height: 64px;
  }

  .server-signature {
    width: auto;
    flex: 1 1 auto;
  }

  .nav-actions {
    margin-left: auto;
  }

  .offcanvas-open {
    margin-left: 18px !important;
    color: #c17af2;
  }

  .offcanvas-menu .offmenu {
    background: #13051f;
  }

  .hero-section,
  .hero-section-inner {
    height: 560px;
  }

  .hero-section {
    background-size: auto 560px;
  }

  .hero-server-logo {
    width: 650px;
    top: 5px;
    left: -25px;
  }

  .section-wrapper1 {
    padding-bottom: 120px;
    background-position: center -560px;
  }

  .main-section-inner {
    margin-top: -45px;
    gap: 35px 20px;
  }

  .m-main-part {
    width: min(100%, 760px);
    max-width: 760px;
    flex-basis: 100%;
    margin: 0 auto 25px;
  }

  .m-sidebar {
    width: 314px;
    max-width: 314px;
    flex: 0 0 314px;
  }

  .m-sidebar-right {
    margin-top: 0;
  }

  .m-box-design1 {
    height: 330px;
  }

  .xy-news-part {
    background-size: 100% 100%;
  }

  .footer-links {
    gap: 22px;
  }
}

@media (max-width: 767px) {
  .server-signature {
    padding-right: 8px;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
  }

  .server-signature span {
    display: none;
  }

  .lan-select {
    width: 48px;
    padding: 0 8px;
  }

  .lan-select .nice-select {
    min-width: 8px;
    width: 8px;
    padding: 0;
  }

  .lan-select .nice-select .current {
    display: none;
  }

  .lan-select .nice-select::after {
    right: 0;
  }

  .lan-select .nice-select .list {
    right: 0;
    left: auto;
    min-width: 130px;
  }

  .hero-section,
  .hero-section-inner {
    height: 360px;
  }

  .hero-section {
    margin: 0;
    background-position: 58% top;
    background-size: auto 360px;
  }

  .hero-server-logo {
    width: var(--hero-logo-mobile-width);
    top: -18px;
    left: -35px;
  }

  .section-wrapper1 {
    padding-bottom: 80px;
    background-position: center -360px;
  }

  .main-section-inner {
    margin-top: -28px;
  }

  .m-main-part {
    width: 100%;
    max-width: 100%;
  }

  .m-box-design1 {
    height: 230px;
  }

  .xy-news-header {
    min-height: 88px;
  }

  .xy-nh-ul li {
    padding-inline: 8px;
  }

  .xy-nh-ul li a {
    padding: 12px 2px;
  }

  .content-xy {
    padding: 22px 18px 8px;
  }

  .content-xy .xy-title {
    gap: 8px;
    padding-inline: 16px;
  }

  .footer-section,
  .footer-bottom {
    min-height: 0;
  }

  .footer-section {
    background-size: auto 100%;
  }

  .footer-bottom {
    padding: 90px 0 30px;
  }

  .footer-bottom .container {
    flex-direction: column;
  }

  .footer-p,
  .design-credit {
    width: 100%;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 390px) {
  .m-sidebar {
    width: 290px;
    max-width: 290px;
    flex-basis: 290px;
  }

  .s-box {
    padding-inline: 18px;
  }

  .s-box-s2 {
    padding-inline: 5px;
  }
}
