a:link {	
	text-shadow: 1px 1px 2px rgba(0,0,0,.45);
	color: #fff;
	font-family: 'Ebrima';
	font-size: 13px;
	text-decoration:none
	}
a:visited {color: #fff;text-decoration:none;}
a:hover {color: #F4C0C0;text-decoration:none;}
a:active {color: #F4C0C0;text-decoration:none;}

body {
	background: #0C0612 url(../img/bg.jpg) top;
	margin:0;
	padding:0px;
	color: #fff;
	font-family: 'Ebrima';
	font-size: 13px;
	text-shadow: 1px 1px 2px rgba(0,0,0,.45);
}

#warpper {
	width: 100%;
	min-height: 615px;
	background: url(../img/content.jpg) top no-repeat;
}

#warpper2 {
	width: 100%;
	min-height: 615px;
	background: url(../img/content2.jpg) top no-repeat;

}

#header {
	width: 100%;
	height:435px;
	background: url(../img/header.jpg) top no-repeat;

}

#schema {
	width: 1000px;
	margin: 0 auto;
}

#first_row {
	width: 78px;
	float:left;
}

#second_row {
	width: 639px;
	float:left;
	margin-left: 9px;
}

#third_row {
	width: 299px;
	float:left;
	margin-left: 29px;
}

#vote {
	width: 60px;
	height:342px;
	margin-left: 18px;
	background: url(../img/vote.jpg);
	margin-top:102px;
}

#login {
	/* width: 300px; */
	height: 339px;
}

#register {
	width: 300px;
	height:258px;
	background: url(../img/register.jpg);
}

#title_left {
	height:42px;
}

#left_bg {
}

#left_bt {
	width: 300px;
	height:7px;
	background: url(../img/stats_bt.jpg);
}

#menu {
	width: 1000px;
	height:53px;
	text-align: right;
	margin: 0 auto;
}

#menu a {
	color: #fff;
	font-family: 'Ebrima';
	font-size: 11pt;
	/* margin-left:3px; */
	/* margin-right:3px; */
	font-family: 'Cinzel Decorative', cursive;
	padding-left: 30px;
	/* font-weight: bold; */
	text-shadow: #000 0px 2px;
}

#menu a:hover {
	color: #e09d2a;
	font-family: 'Ebrima';
	/* font-size: 13px; */
	font-family: 'Cinzel Decorative', cursive;
	/* padding-left: 21px; */
	font-weight: bolder;
}

#img {
	width: 641px;
	height: 153px;
	background:#000;
	margin-left: -1px;
}

#cs {
	height:66px;
}

#nothing {
	width: 545px;
	height:32px;
	background: url(../img/nothing.jpg);
}

#cms {
	width: 299px;
}

#content {
	padding: 10px;
}

#cms_bt {
}

#stats_title {
	font-family: 'Ebrima';
	font-size: 15px;
	color: #FFFFFF;
	padding-top: 7px;
	padding-left: 15px;
	text-shadow: 0 0px 6px rgb(0, 0, 0), 1px 1px 1px rgb(0, 0, 0);
	font-family: 'Cinzel Decorative', cursive;
	/* font-weight: bold; */
}
#stats2_title {
	font-family: 'Ebrima';
	font-size: 14px;
	color: #FFFFFF;
	padding-top: 109px;
	padding-bottom: 12px;
	text-shadow: 0 0px 6px rgb(0, 0, 0), 1px 1px 1px rgb(0, 0, 0);
	font-family: 'Cinzel Decorative', cursive;
	/* font-weight: bold; */
	text-align: right;
}
#menu_arrange {
	padding-top: 16px;
}

#register_button {
	  width: auto;
	  height: 36px;
	  border: none;
	  cursor: pointer;
	  line-height: 0;
	  text-transform: capitalize;
	  padding: 0 21px 2px 21px;
	  vertical-align: top;
	  margin: 2px 0 0 0;
	  background: #A61C1C;
	  font-family: 'Ebrima';
	  font-size: 13px;
	  color: #FFFFFF;
	  padding: 10px;
	  text-transform: uppercase;
	  font-weight: normal;
	  border-radius: 3px;
	  text-shadow: 0 0 6px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.55);
	  box-shadow: inset 0 2px 0 #BD2B29, inset 0 0 8px rgba(255,132,0,.1), 0 0 7px rgba(0, 0, 0, 0.32), 0 0px 3px rgba(37, 23, 23, 1);
	  transition: all 500ms;
	  -moz-transition: all 500ms;
	  -webkit-transition: all 500ms;
	  -o-transition: all 500ms;
}

#register_button:hover {
	  width: auto;
	  height: 36px;
	  border: none;
	  cursor: pointer;
	  line-height: 0;
	  text-transform: capitalize;
	  padding: 0 21px 2px 21px;
	  vertical-align: top;
	  margin: 2px 0 0 0;
	  background: #1E5071;
	  font-family: 'Ebrima';
	  font-size: 13px;
	  color: #FFFFFF;
	  padding: 10px;
	  text-transform: uppercase;
	  font-weight: normal;
	  border-radius: 3px;
	  text-shadow: 0 0 6px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.55);
	  box-shadow: inset 0 2px 0 #316384, inset 0 0 8px rgba(255,132,0,.1), 0 0 7px rgba(0, 0, 0, 0.32), 0 0px 3px rgba(37, 23, 23, 1);
	  transition: all 500ms;
	  -moz-transition: all 500ms;
	  -webkit-transition: all 500ms;
	  -o-transition: all 500ms;
}
#register-padding {
	  text-align: center;
	  padding-top: 216px;
}

#page_title {
  color: #e6e1ce;
  font-family: 'Ebrima';
  font-size: 13px;
  text-decoration: none;
  padding: 5px;
  border: 1px solid #4D4342;
  background: rgba(85, 75, 73, 0.72);
  margin-bottom: 31px;
}

.login_field {
  font-family: 'Ebrima';
  font-size: 14px;
  text-shadow: 0 0 5px rgba(0,0,0,.15), 1px 0px 1px rgba(0,0,0,.25);
  color: #FFFFFF;
  border: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  width: 258px;
  height: 32px;
  margin-top: 3px;
  padding: 0 10px 2px 10px;
  background-color: rgba(10, 10, 10, 0.82) !important;
  box-shadow: inset 0px 0px 1px rgba(255, 255, 255, 0.73), inset 0 0 10px rgb(0, 0, 0), 1px 1px 0 rgba(0, 0, 0, 0.15);
  transition: all 300ms;
  -moz-transition: all 300ms;
  -webkit-transition: all 300ms;
  -o-transition: all 300ms;
}


#login_mod {
  width: 100%;
  height: 36px;
  border: none;
  cursor: pointer;
  line-height: 0;
  text-transform: capitalize;
  padding: 0 21px 2px 21px;
  vertical-align: top;
  margin: 2px 0 0 0;
  background: #8e5d35;
  font-family: 'Ebrima';
  font-size: 13px;
  color: #FFFFFF;
  padding: 10px;
  text-transform: uppercase;
  font-weight: normal;
  font-family: 'Cinzel Decorative', cursive;
  text-transform: lowercase;
  border-radius: 3px;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.77), 0 1px 2px rgba(0,0,0,.55);
  box-shadow: inset 0 2px 0 #8e5d35, inset 0 0 8px rgba(0, 0, 0, 0.36), 0 0 7px rgb(23, 23, 25), 0 0px 3px rgb(0, 0, 0);
  transition: all 500ms;
  -moz-transition: all 500ms;
  -webkit-transition: all 500ms;
  -o-transition: all 500ms;
}

#login_mod:hover {width: 100%;height: 36px;border: none;cursor: pointer;line-height: 0;text-transform: capitalize;padding: 0 21px 2px 21px;vertical-align: top;margin: 2px 0 0 0;background: #84593D;font-family: 'Ebrima';font-family: 'Cinzel Decorative', cursive;text-transform: lowercase;font-size: 13px;color: #FFFFFF;padding: 10px;/* text-transform: uppercase; */font-weight: normal;border-radius: 3px;text-shadow: 0 0 6px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.55);box-shadow: inset 0 2px 0 #9E6C4B, inset 0 0 8px rgba(0, 0, 0, 0.1), 0 0 7px rgba(102, 14, 14, 1), 0 0px 3px rgba(140, 22, 22, 1);transition: all 500ms;-moz-transition: all 500ms;-webkit-transition: all 500ms;-o-transition: all 500ms;}

#cmsbt {
  clear: both;
  height: 449px;
  width: 100%;
  margin-top: 10px;
  text-align: center;
  background: url(../img/footer.jpg) top no-repeat;
}

#cmsbt_bg {
  height: 100px;
  width: 1000px;
  margin: 0 auto;
  padding-top: 316px;
  text-align: left;
}

#rvr {
  width: 299px;
  height: 162px;
  background: url(../img/rank2.jpg) no-repeat;
  /* margin: 0 auto; */
  background-size: 100% 100%;
}

#kaliux {
	width: 114px;
	height: 160px;
	float:left;
}

#dilamun {
	width: 146px;
	height: 141px;
	float:right;
}

#kaliux_score {
  color: #00FFFF;
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);
  padding-left: 15px;
  /* padding-top: 12px; */
  font-size: 11px;
  text-align: center;
}

#kaliux_char {
  color: #00FFFF;
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);
  padding-left: 15px;
  font-family: 'Ebrima';
  padding-top: 12px;
  text-align: center;
}

#kaliux_title {
  color: #00FFFF;
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);
  padding-left: 15px;
  padding-top: 12px;
  text-align: center;
}
#kaliux_perc {
  color: #FFFFFF;
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);
  padding-left: 15px;
  padding-top: 48px;
  font-size: 17px;
  text-align: center;
}


#dilamun_score {
  color: #FF0000;
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);
  padding-left: 15px;
  padding-top: 10px;
  font-size: 11px;
  text-align: center;
}

#dilamun_char {
  color: #FF0000;
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);
  padding-left: 15px;
  font-family: 'Ebrima';
  text-align: center;
}

#dilamun_title {
  color: #FF0000;
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);
  padding-left: -4px;
  padding-top: 26px;
  text-align: center;
}
#dilamun_perc {
  color: #FFFFFF;
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);
  padding-left: 15px;
  padding-top: 15px;
  padding-bottom: 26px;
  font-size: 17px;
  text-align: center;
}

#merac {
  float: left;
  width: 49%;
  margin: 10px 0px 0px 0px;
  padding: 2px;
  font-family: 'Cinzel Decorative', cursive;
  border-spacing: 2px;
  background: rgba(81, 47, 47, 0.55);
  box-shadow: 0 0 6px #000, inset 0 0 0 1px rgba(255,255,255,.015), inset 0 1px 0 rgba(255,255,255,.05);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
#merac td {
	height: 10px;  
	color: rgba(255, 255, 255, 0.41);
}

#dratan {
  float: right;
  width: 49%;
  margin: 10px 0px 0px 0px;
  padding: 2px;
  border-spacing: 2px;
  font-family: 'Cinzel Decorative', cursive;
  background: rgba(76, 74, 86, 0.55);
  box-shadow: 0 0 6px #000, inset 0 0 0 1px rgba(255,255,255,.015), inset 0 1px 0 rgba(255,255,255,.05);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

#dratan td {
	height: 10px;  
	color: rgba(255, 255, 255, 0.41);
}

#smart_table {
  width: 100%;
  margin: 0 auto;
  padding: 5px;
  border-spacing: 2px;
  background: #141416;
  border-radius: 3px;
  box-shadow: 0 0 4px rgba(0,0,0,.6), 0 1px 1px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.015), inset 0 1px 0 rgba(255,255,255,.05);
}

#float_right {
	float:right;
}

#stat_left {
  width: 90%;
  margin: 0 auto;
  padding: 2px;
  border-spacing: 2px;
  border-bottom: 1px solid rgba(51, 45, 49, 0.51);
}

#notifier-box {
	position: fixed;
	top: 10px;
	right: 20px;
	z-index: 9999;
}

div.message-box {
	background: #111;
	background: rgba(0, 0, 0, .8);	
	margin: 0 0 10px 0;
	padding: 10px;
	width: 300px;	
	color: #888; font-size: 13px; font-family: 'PT Sans Narrow', Ubuntu, Tahoma, Arial, sans-serif;	
	-webkit-box-shadow: 0 0 10px #999;
	-moz-box-shadow: 0 0 10px #999;
	-o-box-shadow: 0 0 10px #999;
	box-shadow: 0 0 10px #999;	
	-webkit-text-shadow: 0 1px 0 #000;
	-moz-text-shadow: 0 1px 0 #000;
	-o-text-shadow: 0 1px 0 #000;
	text-shadow: 0 1px 0 #000;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;	
}

div.message-box:hover {
	background: #111;
	background: rgba(0, 0, 0, .9);
}

div.message-box div.success {
	color: #61cd07; font-size: 14px; font-family: 'PT Sans Narrow', Ubuntu, Tahoma, Arial, sans-serif;
	margin: 0 0 10px 0;
}

div.message-box div.error {
	color: #FC0F0F; font-size: 14px; font-family: 'PT Sans Narrow', Ubuntu, Tahoma, Arial, sans-serif;
	margin: 0 0 10px 0;
}

div.message-box a.message-close {
	background: #000 url('../img/message-close.png') center no-repeat;
	width: 15px; height: 15px;
	display: block; float: right;	
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;	
	-webkit-opacity: .2;
	-moz-opacity: .2;
	-o-opacity: .2;
	opacity: .2;
}

div.message-box:hover a.message-close {
	-webkit-opacity: .5;
	-moz-opacity: .5;
	-o-opacity: .5;
	opacity: .5;
}

div.message-box a.message-close:hover {
	-webkit-opacity: 1;
	-moz-opacity: 1;
	-o-opacity: 1;
	opacity: 1;
}

div.message-box div.message-body {
	overflow: hidden;
}

div.message-box div.message-body div.thumb {
	width: 48px;
	height: 48px;
	margin: 0 10px 0 0;
	float: left;
	
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	-o-border-radius: 2px;
	border-radius: 2px;
}

div.message-box div.message-body div.thumb img {
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	-o-border-radius:2px;
	border-radius: 2px;
}



fieldset {
	border: 1px solid #4F4949;
	padding: 0;
	margin:0;
	text-align:center;
	border-radius: 8px 8px 8px 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px
}
     .display { width:300px; height:200px; border: 2px solid #000; }
         .js .display { display:none; }

fieldset legend {
	font-weight: bold;
	font-size: 1.0em;
	border: 0px;
	padding: 6px;
}
h2{
color: #333333;
  font-size: 11px;
  color: #B3A288;
  font-weight: bolder;
  /* font-size: 24px; */
  /* border-left: 1px dashed #4D494D; */
  /* padding-left: 10px; */
  /* margin-left: 10px; */
  font-family: Arial, Helvetica;
}
.online {color: green;
font-weight: bold;text-shadow:#000 0px 1px 0px;  font-family: "Trebuchet MS";}
.offline {color: red;
font-weight: bold;text-shadow:#000 0px 1px 0px;  font-family: "Trebuchet MS";}

/* clear fix */
.isotope:after {
  content: '';
  display: block;
  clear: both;
}
.isotope {
position: relative;
  height: 800px;
  text-align: center;
  margin-left: 7px;
  margin-top: 20px;
}

/* ---- .element-item ---- */

.element-item {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  float: left;
  width: 185px;
  height: 180px;
  margin: 5px;
  padding: 10px;
  color: #A39E99;
  text-shadow: 1px 1px 2px rgba(0,0,0,.45);
  background-color: rgb(55, 56, 60);
  box-shadow: 0 0 6px rgba(2, 2, 2, 1), 1px 2px 1px rgba(42, 43, 52, 1), inset 0 0 1px rgba(100, 100, 107, 1), inset 0 0 19px rgba(58, 58, 61, 1);
}
.element-item:hover {background-color: rgb(68, 68, 68);}
.f {   border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.29);
  height: 25px;
  width: 200px;
  color: #fff;
  font-family: 'Ebrima';
  font-size: 14px;
  text-shadow: 0 0 5px rgba(0,0,0,.15), 1px 0px 1px rgba(0,0,0,.25);
  color: #40342e;
  border: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  width: 202px;
  height: 32px;
  padding: 0 10px 2px 10px;
  background: rgba(0,0,0,.20);
  box-shadow: inset 1px 1px 2px rgba(0,0,0,.25), inset 0 0 10px rgba(0,0,0,.10), 1px 1px 0 rgba(54,45,40,.25);
  transition: all 300ms;
  -moz-transition: all 300ms;
  -webkit-transition: all 300ms;
  -o-transition: all 300ms;}



.name {   font-size: 13px;
  font-family: "Trebuchet MS";
  color: #e7c5a4;
  text-shadow: #000 0px 1px;
  /* margin-bottom: 3px; */
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 3px;
  /* background: #E22722; */}
/* Notices */

.notification-box
{
	position: relative;
	margin-bottom: 20px;
	border-radius: 3px;
	padding: 10px 10px 10px 32px;
	background-repeat: no-repeat;
	background-position: 10px 11px;
	border: 1px solid;
	color: #444;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px rgba(255,255,255,0.4) inset;
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px rgba(255,255,255,0.4) inset;
	behavior: url(../img/PIE.htc);
}
.notification-box p
{
	margin-bottom: 0;
	margin-top: 20px;
}
.notification-box > p:first-child
{
	margin: 0;
}
.notification-box-info
{
	background-color: #cfe6fc;
	background-image: url(../img/info.png);
	border-color: #a4c8f5;
}
.notification-box-success
{
	background-color: #d2f7ad;
	background-image: url(../img/tick.png);
	border-color: #aedb2e;
}
.notification-box-warning
{
	background-color: #fae7a2;
	background-image: url(../img/warning.png);
	border-color: #f5c558;
}
.notification-box-error
{
	background-color: #ffd5af;
	background-image: url(../img/error.png);
	border-color: #f8b472;
}

#vote-options {
	color:#555;
	font-size:auto;
	line-height:auto;
	list-style-type:none;
	margin:0;
}
ul { list-style:none; }
.right { float:right; }
.left{ float:left; }
.clear { clear:both; }
.clearfix {
	height:1px;
	clear:both;
}
#vote-options li {

	  margin-top: 10px;
	  padding: 10px;
	  height: auto;
	  background: rgba(55, 52, 55, 1);
	  box-shadow: 0 0 4px rgba(0,0,0,.6), 0 1px 1px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.015), inset 0 1px 0 rgba(255,255,255,.05);
	  -webkit-border-radius: 5px;
	  -moz-border-radius: 5px;
	  border-radius: 5px;
	  margin-left: -38px;
	  z-index: 1;
}

#vote-options li img {
	width:75px;
	height:45px;
}

#vote-options li button {
border: 1px solid #999; */
  line-height: 28px;
  margin: 6px 0;
  padding: 0 5px;
  width: auto;
  height: 36px;
  border: none;
  cursor: pointer;
  line-height: 0;
  text-transform: capitalize;
  padding: 0 21px 2px 21px;
  vertical-align: top;
  /* margin: 2px 0 0 0; */
  background: #A61B1B;
  font-family: 'Ebrima';
  font-size: 13px;
  color: #FFFFFF;
  /* padding: 10px; */
  text-transform: uppercase;
  font-weight: normal;
  border-radius: 3px;
  text-shadow: 0 0 6px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.55);
  box-shadow: inset 0 2px 0 #BD2B29, inset 0 0 8px rgba(255,132,0,.1), 0 0 7px rgba(0, 0, 0, 0.32), 0 0px 3px rgba(37, 23, 23, 1);
  transition: all 500ms;
  -moz-transition: all 500ms;
  -webkit-transition: all 500ms;
  -o-transition: all 500ms;
}
#vote-options li h5 {
  color: #B3A288;
  font-weight: bolder;
  /* font-size: 24px; */
  border-left: 1px dashed #4D494D;
  padding-left: 10px;
  margin-left: 10px;
}

.paypal_button {
border: 1px solid #999; */
  line-height: 28px;
  margin: 6px 0;
  padding: 0 5px;
  width: auto;
  height: 36px;
  border: none;
  cursor: pointer;
  line-height: 0;
  text-transform: capitalize;
  padding: 0 21px 2px 21px;
  vertical-align: top;
  /* margin: 2px 0 0 0; */
  background: #A61B1B;
  font-family: 'Ebrima';
  font-size: 13px;
  color: #FFFFFF;
  /* padding: 10px; */
  text-transform: uppercase;
  font-weight: normal;
  border-radius: 3px;
  text-shadow: 0 0 6px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.55);
  box-shadow: inset 0 2px 0 #BD2B29, inset 0 0 8px rgba(255,132,0,.1), 0 0 7px rgba(0, 0, 0, 0.32), 0 0px 3px rgba(37, 23, 23, 1);
  transition: all 500ms;
  -moz-transition: all 500ms;
  -webkit-transition: all 500ms;
  -o-transition: all 500ms;
	behavior: url(../img/PIE.htc);
}
.paypal_button:hover {
border: 1px solid #999; */
  line-height: 28px;
  margin: 6px 0;
  padding: 0 5px;
  width: auto;
  height: 36px;
  border: none;
  cursor: pointer;
  line-height: 0;
  text-transform: capitalize;
  padding: 0 21px 2px 21px;
  vertical-align: top;
  /* margin: 2px 0 0 0; */
  background: #A61B1B;
  font-family: 'Ebrima';
  font-size: 13px;
  color: #FFFFFF;
  /* padding: 10px; */
  text-transform: uppercase;
  font-weight: normal;
  border-radius: 3px;
  text-shadow: 0 0 6px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.55);
  box-shadow: inset 0 2px 0 #BD2B29, inset 0 0 8px rgba(255,132,0,.1), 0 0 7px rgba(0, 0, 0, 0.32), 0 0px 3px rgba(37, 23, 23, 1);
  transition: all 500ms;
  -moz-transition: all 500ms;
  -webkit-transition: all 500ms;
  -o-transition: all 500ms;
	cursor:pointer;
	behavior: url(../img/PIE.htc);
}


#buy {
  /* width: 61px; */
  /* height: 20px; */
  border: none;
  cursor: pointer;
  line-height: 0;
  text-transform: capitalize;
  padding: 0 21px 2px 21px;
  vertical-align: top;
  margin: 2px 0 0 0;
  background: #665232;
  font-family: 'Ebrima';
  font-size: 11px;
  color: #FFFFFF;
  padding: 10px;
  text-transform: uppercase;
  font-weight: normal;
  border-radius: 3px;
  text-shadow: 0 0 6px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.55);
  box-shadow: inset 0 2px 0 #866F4A, inset 0 0 8px rgba(255,132,0,.1), 0 0 7px rgba(0, 0, 0, 0.32), 0 0px 3px rgba(37, 23, 23, 1);
  transition: all 500ms;
  -moz-transition: all 500ms;
  -webkit-transition: all 500ms;
  -o-transition: all 500ms;
}
#buy:hover {
  /* width: 61px; */
  /* height: 20px; */
  border: none;
  cursor: pointer;
  line-height: 0;
  text-transform: capitalize;
  padding: 0 21px 2px 21px;
  vertical-align: top;
  margin: 2px 0 0 0;
  background: #9E4044;
  font-family: 'Ebrima';
  font-size: 11px;
  color: #FFFFFF;
  padding: 10px;
  text-transform: uppercase;
  font-weight: normal;
  border-radius: 3px;
  text-shadow: 0 0 6px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.55);
  box-shadow: inset 0 2px 0 #866F4A, inset 0 0 8px rgba(255,132,0,.1), 0 0 7px rgba(0, 0, 0, 0.32), 0 0px 3px rgba(37, 23, 23, 1);
  transition: all 500ms;
  -moz-transition: all 500ms;
  -webkit-transition: all 500ms;
  -o-transition: all 500ms;
}/* clear fix */
.isotope:after {
  content: '';
  display: block;
  clear: both;
}
.isotope {
position: relative;
  height: 800px;
  text-align: center;
  margin-left: 7px;
  margin-top: 20px;
}

/* ---- .element-item ---- */

.element-item {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  float: left;
  width: 185px;
  height: 180px;
  margin: 5px;
  padding: 10px;
  color: #A39E99;
  text-shadow: 1px 1px 2px rgba(0,0,0,.45);
  background-color: rgb(55, 56, 60);
  box-shadow: 0 0 6px rgba(2, 2, 2, 1), 1px 2px 1px rgba(42, 43, 52, 1), inset 0 0 1px rgba(100, 100, 107, 1), inset 0 0 19px rgba(58, 58, 61, 1);
}
.element-item:hover {background-color: rgb(68, 68, 68);}



#accoun_panel_menu {
  width: 594px;
  height: auto;
  float: left;
  margin: 0 0 0 -28px;
}
#accoun_panel_menu li
#boost {
  width: 570px;
  height: 60px;
  margin: 30px 0 55px 0;
  padding: 0;
  background: none;
  box-shadow: none;
}
#accoun_panel_menu li, 
#accoun_panel_menu li a, 
#accoun_panel_menu li a div
#icon, 
#accoun_panel_menu li a span, 
#accoun_panel_menu li a span p {
  transition: all 500ms;
  -moz-transition: all 500ms;
  -webkit-transition: all 500ms;
  -o-transition: all 500ms;
}
#accoun_panel_menu li a {
  display: block;
  width: 274px;
  height: 55px;
}
#accoun_panel_menu li a div#icon {
  width: 37px;
  height: 37px;
  background-size: 100%;
  float: left;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px #746c5a, inset 0 0 6px 3px rgba(0,0,0,.7), 0 0 5px rgba(0,0,0,.8), 0 1px 1px rgba(0,0,0,.5);
  margin: 8px 10px 0 10px;
}


#accoun_panel_menu li a:hover span p {
  color: #d5a83c;
}
#accoun_panel_menu li a:hover span {
  color: #7d776c;
}
#accoun_panel_menu li {
display: block;
  float: left;
  width: 274px;
  height: 55px;
  border-radius: 3px;
  background: rgba(37, 47, 60, 1);
  margin: 0 23px 24px 0;
  border-bottom: 1px solid #354252;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.01), 0 0 16px -1px rgba(25, 42, 65, 1), 0 6px 1px rgba(24, 31, 40, 1);
}

#accoun_panel_menu li a span {
float: left;
  display: block;
  text-align: left;
  line-height: 0%;
  font-size: 11px;
  font-family: 'Ebrima';
  /* font-family: calibrib; */
  color: #D5C7AA;
  text-shadow: 0 1px 1px rgba(0,0,0,.4), 0 0 4px rgba(0,0,0,.6);
}#accoun_panel_menu li a span p {
  color: #90856e;
  font-size: 17px;
  text-transform: uppercase;
}
.news_right_column {float:right;}

/* Fantasy redesign */
:root {
  --lc-bg: #07080b;
  --lc-panel: rgba(14, 12, 11, 0.86);
  --lc-panel-soft: rgba(33, 26, 21, 0.78);
  --lc-border: rgba(214, 159, 77, 0.28);
  --lc-border-strong: rgba(234, 190, 111, 0.58);
  --lc-gold: #d7a84f;
  --lc-gold-light: #ffd98a;
  --lc-red: #8c2424;
  --lc-blue: #6fa8b9;
  --lc-text: #f4ead8;
  --lc-muted: #b9ad98;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
}

body {
  min-width: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(142, 36, 36, 0.28), transparent 31rem),
    radial-gradient(circle at 82% 18%, rgba(111, 168, 185, 0.14), transparent 28rem),
    linear-gradient(180deg, rgba(7, 8, 11, 0.18), var(--lc-bg) 58rem),
    #07080b url(../img/bg_main.jpg) top center / cover fixed no-repeat;
  color: var(--lc-text);
  font-family: "Montserrat", "Ebrima", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-shadow: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.72)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 4px);
  z-index: -1;
}

a:link,
a:visited {
  color: var(--lc-text);
  font-family: inherit;
  text-shadow: none;
}

a:hover,
a:active {
  color: var(--lc-gold-light);
}

#header {
  position: relative;
  min-height: 430px;
  height: auto;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 6, 9, 0.3), rgba(5, 6, 9, 0.64) 58%, rgba(5, 6, 9, 0.95)),
    url(../img/header.jpg) top center / cover no-repeat;
  border-bottom: 1px solid rgba(234, 190, 111, 0.28);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7);
}

#header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(7, 8, 11, 0.98));
  pointer-events: none;
}

#menu {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 32px));
  height: auto;
  padding: 18px 0 0;
  text-align: left;
}

#menu_arrange {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(234, 190, 111, 0.22);
  background: rgba(5, 6, 9, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 40px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(6px);
}

#menu a,
#menu a:hover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  color: var(--lc-text);
  font-family: "Montserrat", "Ebrima", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: none;
  border: 1px solid transparent;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

#menu a i {
  margin-right: 7px;
  color: var(--lc-gold);
}

#menu a:hover {
  color: var(--lc-gold-light);
  background: rgba(215, 168, 79, 0.1);
  border-color: rgba(215, 168, 79, 0.25);
  transform: translateY(-1px);
}

.hero-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 82px auto 0;
}

.hero-kicker {
  color: var(--lc-gold-light);
  font-family: "Montserrat", "Ebrima", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-panel h1 {
  max-width: 760px;
  margin: 8px 0 0;
  color: #fff5df;
  font-family: "Marcellus", "Times New Roman", serif;
  font-size: 58px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.72), 0 0 26px rgba(215, 168, 79, 0.28);
}

.hero-panel p {
  max-width: 620px;
  margin: 14px 0 0;
  color: #d9cdb7;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  color: var(--lc-text) !important;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  border: 1px solid rgba(234, 190, 111, 0.38);
  background: rgba(18, 17, 18, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 15px 34px rgba(0, 0, 0, 0.36);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero-button i {
  margin-right: 8px;
}

.hero-button:hover {
  transform: translateY(-1px);
  border-color: var(--lc-border-strong);
  background: rgba(42, 30, 21, 0.9);
}

.hero-button-primary {
  color: #1a0f08 !important;
  border-color: rgba(255, 229, 158, 0.8);
  background: linear-gradient(180deg, #ffd98a, #b9772e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 16px 36px rgba(140, 36, 36, 0.34);
}

.hero-button-primary:hover {
  color: #150b05 !important;
  background: linear-gradient(180deg, #ffe7aa, #c98535);
}

#warpper,
#warpper2 {
  min-height: 615px;
  padding: 34px 0 0;
  background:
    linear-gradient(180deg, rgba(7, 8, 11, 0.92), rgba(7, 8, 11, 0.72)),
    url(../img/content.jpg) top center no-repeat;
}

#schema {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
  width: min(1120px, calc(100% - 32px));
}

#second_row,
#third_row {
  float: none;
  width: auto;
  margin-left: 0;
}

#second_row {
  min-width: 0;
}

#third_row,
#cms {
  width: 300px;
}

#stats2_title,
#stats_title,
#page_title {
  color: var(--lc-gold-light);
  font-family: "Marcellus", "Times New Roman", serif;
  letter-spacing: 0;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.65);
}

#stats2_title {
  padding: 0 0 14px;
  text-align: left;
  font-size: 24px;
}

#stats_title {
  padding: 12px 16px;
  font-size: 18px;
}

#page_title {
  margin-bottom: 18px;
  padding: 14px 16px;
  color: #fff0d2;
  font-size: 18px;
  border: 1px solid var(--lc-border);
  background: linear-gradient(180deg, rgba(48, 34, 24, 0.82), rgba(20, 16, 15, 0.9));
}

#images,
#content_bg,
#left_bg,
#login,
#cms,
.copy,
#smart_table,
.element-item,
#dratan,
#merac {
  border: 1px solid var(--lc-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42px),
    var(--lc-panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 40px rgba(0, 0, 0, 0.36);
}

#images {
  overflow: hidden;
}

#slider,
.nivoSlider,
.nivoSlider img {
  max-width: 100%;
}

#cs {
  height: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0 20px;
}

#dratan,
#merac {
  float: none;
  width: auto;
  margin: 0;
  padding: 10px;
  border-spacing: 0;
  font-family: "Montserrat", "Ebrima", Arial, sans-serif;
}

#dratan td,
#merac td {
  height: auto;
  padding: 5px;
  color: var(--lc-muted);
}

#login {
  height: auto;
  min-height: 210px;
  padding: 12px 10px 18px;
}

#left_bg {
  margin-bottom: 16px;
  padding: 10px 0;
}

#stat_left {
  width: calc(100% - 22px);
  border-bottom: 1px solid rgba(214, 159, 77, 0.14);
}

.name,
#stat_left td {
  color: #e7d1af;
  font-family: "Montserrat", "Ebrima", Arial, sans-serif;
  text-shadow: none;
}

.online {
  color: #75d28a;
  font-family: "Montserrat", "Ebrima", Arial, sans-serif;
  text-shadow: 0 0 10px rgba(117, 210, 138, 0.32);
}

.offline {
  color: #e36b6b;
  font-family: "Montserrat", "Ebrima", Arial, sans-serif;
  text-shadow: 0 0 10px rgba(227, 107, 107, 0.28);
}

.login_field,
.f,
input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
  min-height: 36px;
  color: var(--lc-text);
  border: 1px solid rgba(214, 159, 77, 0.26);
  border-radius: 0;
  background: rgba(3, 4, 6, 0.72) !important;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.05);
  outline: none;
}

.login_field:focus,
.f:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  border-color: var(--lc-gold-light);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.7), 0 0 0 2px rgba(215, 168, 79, 0.15);
}

#login_mod,
#register_button,
.paypal_button,
#vote-options li button,
button,
input[type="submit"] {
  min-height: 38px;
  border: 1px solid rgba(255, 229, 158, 0.62);
  border-radius: 0;
  color: #1a0f08;
  background: linear-gradient(180deg, #ffd98a, #ad6929);
  font-family: "Montserrat", "Ebrima", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 22px rgba(0, 0, 0, 0.36);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

#login_mod:hover,
#register_button:hover,
.paypal_button:hover,
#vote-options li button:hover,
button:hover,
input[type="submit"]:hover {
  color: #120904;
  background: linear-gradient(180deg, #ffe7aa, #bd7630);
  transform: translateY(-1px);
  filter: brightness(1.04);
}

#register_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

#cmsbt {
  height: auto;
  min-height: 260px;
  margin-top: 0;
  background:
    linear-gradient(180deg, rgba(7, 8, 11, 0.04), rgba(7, 8, 11, 0.9)),
    url(../img/footer.jpg) bottom center / cover no-repeat;
  border-top: 1px solid rgba(234, 190, 111, 0.2);
}

#cmsbt_bg {
  width: min(1120px, calc(100% - 32px));
  height: auto;
  padding-top: 150px;
  color: var(--lc-muted);
}

#cmsbt_bg a {
  color: var(--lc-gold-light);
}

.notification-box {
  color: var(--lc-text);
  border-color: var(--lc-border);
  border-radius: 0;
  background-color: rgba(20, 16, 15, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 28px rgba(0, 0, 0, 0.28);
}

.notification-box-success {
  border-color: rgba(117, 210, 138, 0.48);
}

.notification-box-error {
  border-color: rgba(227, 107, 107, 0.52);
}

table {
  max-width: 100%;
}

@media (max-width: 900px) {
  #header {
    min-height: 500px;
  }

  #menu_arrange {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  #menu a,
  #menu a:hover {
    flex: 1 1 150px;
  }

  .hero-panel {
    margin-top: 52px;
  }

  .hero-panel h1 {
    font-size: 42px;
  }

  #schema {
    grid-template-columns: 1fr;
  }

  #third_row,
  #cms {
    width: auto;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 13px;
  }

  #header {
    min-height: 560px;
  }

  .hero-panel h1 {
    font-size: 34px;
  }

  .hero-panel p {
    font-size: 14px;
  }

  .hero-actions,
  #cs {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-button {
    width: 100%;
  }

  #menu a,
  #menu a:hover {
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }

  #stats2_title {
    font-size: 20px;
  }
}

/* Fantasy polish v2 */
body {
  background:
    radial-gradient(circle at 10% 6%, rgba(79, 106, 66, 0.22), transparent 30rem),
    radial-gradient(circle at 80% 14%, rgba(142, 36, 36, 0.24), transparent 34rem),
    linear-gradient(180deg, rgba(4, 6, 8, 0.22), #050608 42rem),
    #050608 url(../img/bg_main.jpg) top center / cover fixed no-repeat;
}

#header {
  min-height: 430px;
  background:
    linear-gradient(90deg, rgba(3, 4, 6, 0.86), rgba(3, 4, 6, 0.26) 45%, rgba(3, 4, 6, 0.78)),
    linear-gradient(180deg, rgba(3, 4, 6, 0.08), rgba(3, 4, 6, 0.88) 86%),
    url(../img/header.jpg) top center / cover no-repeat;
}

#menu {
  width: min(1120px, calc(100% - 40px));
}

#menu_arrange {
  justify-content: center;
  border-color: rgba(255, 214, 139, 0.28);
  background: linear-gradient(180deg, rgba(9, 13, 14, 0.86), rgba(9, 8, 8, 0.78));
}

.hero-panel {
  width: min(1120px, calc(100% - 40px));
  margin-top: 76px;
}

.hero-panel h1 {
  font-size: 56px;
}

#warpper,
#warpper2 {
  padding: 42px 0 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.96), rgba(5, 6, 8, 0.72) 34rem, rgba(5, 6, 8, 0.98)),
    radial-gradient(circle at 35% 12%, rgba(215, 168, 79, 0.12), transparent 28rem);
}

#schema {
  width: min(1130px, calc(100% - 40px));
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
}

.welcome-panel,
.home-board,
.community-strip,
.sidebar-box {
  border: 1px solid rgba(215, 168, 79, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 70px),
    linear-gradient(135deg, rgba(30, 22, 17, 0.92), rgba(8, 8, 9, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(0, 0, 0, 0.38),
    0 24px 56px rgba(0, 0, 0, 0.42);
}

.welcome-panel,
.home-board {
  padding: 18px;
  margin-bottom: 22px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--lc-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading h2,
.community-strip h2 {
  margin: 0;
  color: #ffe4a9;
  font-family: "Marcellus", "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0;
}

.section-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: #f9ddb0 !important;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  border: 1px solid rgba(215, 168, 79, 0.32);
  background: rgba(0, 0, 0, 0.24);
}

.section-link i {
  margin-right: 7px;
  color: var(--lc-gold);
}

#stats2_title {
  display: none;
}

#images {
  position: relative;
  border-color: rgba(215, 168, 79, 0.42);
}

#images::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 231, 170, 0.08), inset 0 -70px 90px rgba(0, 0, 0, 0.32);
}

.nivoSlider,
.nivoSlider img {
  width: 100% !important;
  height: 210px !important;
}

.nivoSlider img {
  object-fit: cover;
}

#cs {
  margin: 14px 0 0;
}

.castle-card {
  min-height: 124px;
}

.castle-name {
  color: #ffe4a9;
  font-family: "Marcellus", "Times New Roman", serif;
  font-size: 20px;
  margin-bottom: 10px;
}

.castle-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  color: var(--lc-muted);
  border-top: 1px solid rgba(215, 168, 79, 0.12);
}

.castle-row strong {
  color: #d8c7aa;
  font-weight: 600;
  text-align: right;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
}

.news-card {
  min-height: 210px;
  padding: 18px;
  border: 1px solid rgba(215, 168, 79, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 50%),
    radial-gradient(circle at 20% 0%, rgba(215, 168, 79, 0.18), transparent 16rem),
    rgba(5, 5, 6, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 34px rgba(0, 0, 0, 0.24);
}

.news-card-wide {
  background:
    linear-gradient(90deg, rgba(6, 6, 7, 0.9), rgba(6, 6, 7, 0.52)),
    url(../img/slide2.jpg) center / cover no-repeat;
}

.news-tag {
  display: inline-flex;
  margin-bottom: 38px;
  padding: 4px 8px;
  color: #1a0f08;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffdc91, #bd7a31);
}

.news-card h3 {
  margin: 0 0 8px;
  color: #fff0cf;
  font-family: "Marcellus", "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
}

.news-card p {
  min-height: 54px;
  margin: 0 0 14px;
  color: #cbbda7;
}

.news-card a {
  color: var(--lc-gold-light);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.community-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 170px;
  padding: 22px;
  margin-bottom: 30px;
  background:
    linear-gradient(90deg, rgba(6, 6, 7, 0.94), rgba(6, 6, 7, 0.48)),
    url(../img/footer.jpg) center / cover no-repeat;
}

.community-strip p {
  max-width: 520px;
  margin: 8px 0 0;
  color: var(--lc-muted);
}

#cms {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.sidebar-box {
  margin-bottom: 16px;
}

.sidebar-box #stats_title {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(215, 168, 79, 0.2);
  background: rgba(0, 0, 0, 0.2);
  font-size: 18px;
}

.sidebar-box #stats_title i {
  color: var(--lc-gold);
}

#login {
  min-height: 0;
  padding: 14px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.login-form {
  display: grid;
  gap: 8px;
}

.login_field,
.login-form #login_mod {
  width: 100%;
}

.login-links {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}

.login-links a,
.account-menu a {
  display: block;
  padding: 8px 0;
  color: #e8d7ba;
  border-top: 1px solid rgba(215, 168, 79, 0.12);
}

.login-links a::before,
.account-menu a::before {
  content: ">";
  margin-right: 7px;
  color: var(--lc-gold);
}

.account-menu {
  display: grid;
  gap: 4px;
}

.account-greeting {
  color: #fff0cf;
  font-family: "Marcellus", "Times New Roman", serif;
  font-size: 20px;
}

.account-coins {
  color: var(--lc-muted);
  margin-bottom: 10px;
}

.account-coins img {
  width: 12px;
  margin-right: 6px;
  vertical-align: -1px;
}

.server-stats {
  display: grid;
  gap: 0;
  padding: 0 14px 14px;
}

.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  border-bottom: 1px solid rgba(215, 168, 79, 0.12);
}

.stat-row span {
  color: #d9cdb7;
}

.stat-row strong {
  color: #d7a84f;
  font-size: 15px;
}

.top-list {
  padding: 10px 14px 14px;
}

.top-list table,
.top-list table[style] {
  width: 100% !important;
  margin: 0 !important;
  background: rgba(0, 0, 0, 0.24) !important;
  border-bottom: 1px solid rgba(215, 168, 79, 0.12) !important;
  font-family: "Montserrat", "Ebrima", Arial, sans-serif !important;
  color: var(--lc-muted) !important;
  text-shadow: none !important;
}

.top-list td {
  padding: 7px 5px !important;
  color: #b9ad98 !important;
  line-height: 1.3 !important;
}

.top-list td:first-child {
  color: var(--lc-gold) !important;
}

#cmsbt {
  margin-top: 0;
  min-height: 250px;
}

@media (max-width: 1020px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    min-height: 170px;
  }
}

@media (max-width: 900px) {
  #schema {
    width: min(760px, calc(100% - 32px));
  }

  .community-strip {
    display: grid;
  }
}

@media (max-width: 620px) {
  #menu,
  .hero-panel,
  #schema {
    width: calc(100% - 24px);
  }

  .welcome-panel,
  .home-board {
    padding: 14px;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .nivoSlider,
  .nivoSlider img {
    height: 180px !important;
  }
}

/* Direction update: single background, clean news area, castle glow */
body {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.34) 42%, rgba(0, 0, 0, 0.82)),
    linear-gradient(180deg, rgba(2, 3, 5, 0.24), rgba(2, 3, 5, 0.92) 54rem, rgba(2, 3, 5, 0.98)),
    url(../img/bg_main.jpg) center top / cover fixed no-repeat;
}

#header {
  min-height: 365px;
  background:
    linear-gradient(180deg, rgba(2, 3, 5, 0.7), rgba(2, 3, 5, 0.28) 46%, rgba(2, 3, 5, 0.88));
  border-bottom: 1px solid rgba(215, 168, 79, 0.2);
  box-shadow: none;
}

#header::after {
  height: 110px;
  background: linear-gradient(180deg, transparent, rgba(2, 3, 5, 0.78));
}

.hero-panel {
  margin-top: 60px;
}

#warpper,
#warpper2 {
  background: linear-gradient(180deg, rgba(2, 3, 5, 0.78), rgba(2, 3, 5, 0.9));
}

.welcome-panel,
.home-board,
.sidebar-box {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 58px),
    rgba(8, 8, 10, 0.82);
  backdrop-filter: blur(2px);
}

.server-showcase {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(215, 168, 79, 0.34);
  background:
    radial-gradient(circle at 72% 30%, rgba(255, 202, 89, 0.16), transparent 16rem),
    linear-gradient(90deg, rgba(4, 5, 7, 0.94), rgba(4, 5, 7, 0.58)),
    url(../img/bg_main.jpg) center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 231, 170, 0.06), 0 22px 44px rgba(0, 0, 0, 0.36);
}

.server-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 56%, rgba(255, 255, 255, 0.06) 56.2%, transparent 57.4%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.42));
  pointer-events: none;
}

.showcase-glow {
  position: absolute;
  right: 8%;
  bottom: 15%;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(255, 182, 66, 0.2);
  filter: blur(38px);
  animation: showcasePulse 4.8s ease-in-out infinite;
}

.showcase-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding: 28px;
}

.showcase-content h3 {
  margin: 8px 0 10px;
  color: #fff0c7;
  font-family: "Marcellus", "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.1;
}

.showcase-content p {
  margin: 0;
  color: #d7c9af;
}

.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.showcase-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: #1a0f08;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffdc91, #b9792f);
  border: 1px solid rgba(255, 229, 158, 0.7);
}

.showcase-actions a + a {
  color: #f8dfb0;
  background: rgba(0, 0, 0, 0.36);
  border-color: rgba(215, 168, 79, 0.32);
}

#images,
.nivoSlider,
.slider-wrapper {
  display: none;
}

#cs {
  margin-top: 14px;
}

.castle-card {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  padding: 14px;
}

.castle-card::before {
  content: "";
  position: absolute;
  inset: -50% -20%;
  opacity: 0;
  transform: translateX(-28%) rotate(12deg);
  animation: castleFlash 5.6s ease-in-out infinite;
  pointer-events: none;
}

#dratan {
  border-color: rgba(255, 224, 79, 0.64);
  box-shadow: inset 0 0 24px rgba(255, 213, 65, 0.1), 0 0 24px rgba(255, 213, 65, 0.12);
}

#dratan::before {
  background: linear-gradient(90deg, transparent, rgba(255, 225, 78, 0.26), transparent);
}

#dratan .castle-name,
#dratan .castle-row strong {
  color: #ffe44f;
  text-shadow: 0 0 8px rgba(255, 228, 79, 0.72), 0 0 18px rgba(255, 190, 42, 0.34);
  animation: castleTextTheo 3.8s ease-in-out infinite;
}

#merac {
  border-color: rgba(255, 64, 64, 0.62);
  box-shadow: inset 0 0 24px rgba(255, 58, 58, 0.1), 0 0 24px rgba(255, 58, 58, 0.13);
}

#merac::before {
  background: linear-gradient(90deg, transparent, rgba(255, 54, 54, 0.25), transparent);
  animation-delay: 1.7s;
}

#merac .castle-name,
#merac .castle-row strong {
  color: #ff4949;
  text-shadow: 0 0 8px rgba(255, 73, 73, 0.72), 0 0 18px rgba(172, 0, 0, 0.38);
  animation: castleTextKandant 4.2s ease-in-out infinite;
}

.news-grid,
.news-card,
.community-strip {
  display: none;
}

.news-space {
  min-height: 300px;
  border: 1px solid rgba(215, 168, 79, 0.2);
  background: rgba(0, 0, 0, 0.24);
  display: grid;
  gap: 14px;
  padding: 14px;
}

.news-empty {
  max-width: 460px;
  padding: 28px;
  text-align: center;
}

.news-empty span {
  color: #ffe4a9;
  font-family: "Marcellus", "Times New Roman", serif;
  font-size: 26px;
}

.news-empty p {
  margin: 10px 0 0;
  color: #b9ad98;
}

.site-news-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 170px;
  overflow: hidden;
  border: 1px solid rgba(215, 168, 79, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 60px),
    rgba(5, 5, 7, 0.72);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
}

.site-news-image {
  min-height: 170px;
  background-position: center;
  background-size: cover;
  border-right: 1px solid rgba(215, 168, 79, 0.2);
}

.site-news-body {
  padding: 16px 18px;
}

.site-news-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
  color: var(--lc-gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-news-card h3 {
  margin: 0 0 8px;
  color: #ffe4a9;
  font-family: "Marcellus", "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.14;
}

.site-news-card p {
  margin: 0;
  color: #d5c7aa;
}

.site-news-details {
  margin-top: 12px;
}

.site-news-details summary {
  width: max-content;
  color: #ffdc91;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-news-full {
  margin-top: 12px;
  padding-top: 12px;
  color: #d7c9af;
  border-top: 1px solid rgba(215, 168, 79, 0.16);
}

.site-news-full img {
  max-width: 100%;
  height: auto;
}

.site-news-author {
  margin-top: 12px;
  color: rgba(217, 205, 183, 0.62);
  font-size: 12px;
}

#cmsbt {
  min-height: 0;
  height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
}

#cmsbt_bg {
  display: none;
}

@keyframes showcasePulse {
  0%, 100% {
    opacity: 0.34;
    transform: scale(0.82);
  }
  45% {
    opacity: 0.82;
    transform: scale(1.08);
  }
}

@keyframes castleFlash {
  0%, 8%, 100% {
    opacity: 0;
    transform: translateX(-28%) rotate(12deg);
  }
  11% {
    opacity: 1;
  }
  15% {
    opacity: 0;
    transform: translateX(32%) rotate(12deg);
  }
}

@keyframes castleTextTheo {
  0%, 76%, 100% {
    filter: brightness(1);
  }
  80% {
    filter: brightness(1.85);
  }
  83% {
    filter: brightness(1.08);
  }
  86% {
    filter: brightness(1.55);
  }
}

@keyframes castleTextKandant {
  0%, 68%, 100% {
    filter: brightness(1);
  }
  72% {
    filter: brightness(1.9);
  }
  75% {
    filter: brightness(1.05);
  }
  78% {
    filter: brightness(1.6);
  }
}

@media (max-width: 620px) {
  .server-showcase {
    min-height: 310px;
  }

  .showcase-content {
    padding: 22px;
  }

  .showcase-content h3 {
    font-size: 28px;
  }

  .news-space {
    min-height: 230px;
  }

  .site-news-card {
    grid-template-columns: 1fr;
  }

  .site-news-image {
    min-height: 160px;
    border-right: 0;
    border-bottom: 1px solid rgba(215, 168, 79, 0.2);
  }
}

/* Desktop polish and bg_site hook */
body {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.3) 43%, rgba(0, 0, 0, 0.84)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.9) 680px, rgba(0, 0, 0, 0.98)),
    url(../img/bg_site.png) center top / cover fixed no-repeat,
    url(../img/bg_main.jpg) center top / cover fixed no-repeat;
}

#header {
  min-height: 350px;
}

#menu,
.hero-panel,
#schema,
#cmsbt_bg {
  width: min(1180px, calc(100% - 40px));
}

#schema {
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
}

#third_row,
#cms {
  width: 330px;
}

.sidebar-box #stats_title {
  min-height: 56px;
  padding-right: 18px;
  font-size: 17px;
  line-height: 1.15;
}

.server-stats {
  padding-left: 14px;
  padding-right: 14px;
}

.stat-row {
  min-height: 42px;
  gap: 10px;
}

.stat-row span {
  flex: 1 1 auto;
  min-width: 0;
}

.stat-row strong {
  flex: 0 0 auto;
  max-width: 148px;
  overflow: hidden;
  color: #d7a84f;
  font-size: 14px;
  line-height: 1.2;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-row .online {
  max-width: none;
}

.welcome-panel,
.home-board {
  padding: 18px;
}

.server-showcase {
  min-height: 235px;
  background:
    radial-gradient(circle at 72% 30%, rgba(255, 202, 89, 0.14), transparent 16rem),
    linear-gradient(90deg, rgba(4, 5, 7, 0.95), rgba(4, 5, 7, 0.58)),
    url(../img/bg_site.png) center / cover no-repeat,
    url(../img/bg_main.jpg) center / cover no-repeat;
}

.showcase-content {
  max-width: 560px;
}

.castle-row {
  align-items: center;
}

.castle-row strong {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-space {
  padding: 14px;
}

.site-news-card {
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 160px;
}

.site-news-image {
  min-height: 160px;
}

.site-news-body {
  display: grid;
  align-content: center;
  padding: 18px;
}

.site-news-card h3 {
  word-break: break-word;
}

.top-list {
  min-height: 50px;
}

@media (max-width: 1100px) {
  #schema {
    grid-template-columns: 1fr;
  }

  #third_row,
  #cms {
    width: auto;
  }
}

/* Brighter bg_site theme and golden dust */
html {
  background: #080604 url(../img/bg_site.png) center top / cover fixed no-repeat;
}

body {
  background:
    radial-gradient(circle at 22% 5%, rgba(255, 183, 71, 0.12), transparent 26rem),
    radial-gradient(circle at 78% 14%, rgba(96, 166, 255, 0.08), transparent 28rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18) 390px, rgba(0, 0, 0, 0.44) 920px, rgba(0, 0, 0, 0.62)),
    url(../img/bg_site.png) center top / cover fixed no-repeat !important;
}

body::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.42)),
    repeating-linear-gradient(0deg, rgba(255, 223, 157, 0.018), rgba(255, 223, 157, 0.018) 1px, transparent 1px, transparent 4px);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.42;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(circle, rgba(255, 217, 129, 0.85) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 135, 44, 0.55) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 238, 178, 0.55) 0 1px, transparent 2px);
  background-size: 180px 180px, 260px 260px, 340px 340px;
  background-position: 0 0, 60px 120px, 180px 40px;
  animation: goldDustDrift 28s linear infinite;
}

#header {
  min-height: 350px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.08) 48%, rgba(0, 0, 0, 0.36)) !important;
}

#header::after {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.32));
}

#warpper,
#warpper2 {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.5)) !important;
}

.welcome-panel,
.home-board,
.sidebar-box {
  background:
    linear-gradient(180deg, rgba(255, 223, 157, 0.045), transparent 70px),
    rgba(8, 6, 5, 0.68) !important;
  border-color: rgba(234, 190, 111, 0.38);
  backdrop-filter: blur(1px);
}

#menu_arrange {
  background: rgba(8, 6, 5, 0.68);
  border-color: rgba(234, 190, 111, 0.36);
}

.server-showcase {
  background:
    radial-gradient(circle at 72% 34%, rgba(255, 191, 74, 0.16), transparent 16rem),
    linear-gradient(90deg, rgba(8, 6, 5, 0.7), rgba(8, 6, 5, 0.18)),
    url(../img/bg_site.png) center / cover no-repeat !important;
}

.news-space,
.site-news-card {
  background: rgba(8, 6, 5, 0.58);
}

#login,
#cms {
  background: transparent;
}

@keyframes goldDustDrift {
  0% {
    background-position: 0 0, 60px 120px, 180px 40px;
  }
  100% {
    background-position: 260px -520px, 360px -300px, 20px -640px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after {
    animation: none;
  }
}

/* Layout cleanup: no hard divider, compact right stats, separate news page */
#header {
  border-bottom: 0 !important;
  box-shadow: none !important;
}

#header::after {
  display: none !important;
}

#warpper,
#warpper2 {
  border-top: 0 !important;
}

#third_row,
#cms {
  overflow: visible;
}

.server-stats {
  padding: 8px 10px 10px !important;
}

.server-stats .stat-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  column-gap: 10px;
  min-height: 34px;
  padding: 0 !important;
  font-size: 14px;
}

.server-stats .stat-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-stats .stat-row strong {
  max-width: 118px;
  min-width: 0;
  justify-self: end;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.2;
}

.server-stats .stat-row .online {
  max-width: 86px;
}

.news-page-wrap .home-board {
  margin-top: 0;
}

.news-page .news-space {
  padding: 14px;
}

.news-page .site-news-card {
  background: rgba(8, 6, 5, 0.72);
}

@media (max-width: 1180px) {
  #menu a,
  #menu a:hover {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 13px;
  }
}

/* Clean landing screen with centered 3D logo */
#header {
  min-height: 392px !important;
  display: flex;
  flex-direction: column;
  background: transparent !important;
  overflow: visible !important;
}

#menu {
  flex: 0 0 auto;
}

.hero-panel {
  z-index: 2;
  width: min(1120px, calc(100% - 32px));
  margin: 60px auto 0 !important;
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-logo,
.hero-logo:hover,
.hero-logo:visited {
  position: relative;
  display: inline-grid;
  justify-items: center;
  color: #fff1c7 !important;
  font-family: "Cinzel Decorative", "Marcellus", "Times New Roman", serif;
  text-transform: uppercase;
  text-decoration: none;
  transform: none;
  transition: filter 180ms ease, text-shadow 180ms ease;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.68));
}

.hero-logo::before {
  content: "";
  position: absolute;
  inset: 10% -10% -2%;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 244, 197, 0.2), transparent 38%),
    linear-gradient(90deg, transparent, rgba(255, 210, 105, 0.12), transparent);
  opacity: 0.44;
  transform: skewX(-12deg);
  transition: opacity 180ms ease;
}

.hero-logo-main,
.hero-logo-sub {
  display: block;
  letter-spacing: 0;
  line-height: 0.9;
  background: linear-gradient(180deg, #fff8dd 0%, #cfc6b5 22%, #fff1c1 42%, #7b6a58 63%, #2b241f 74%, #f5d27b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.78),
    0 2px 0 rgba(109, 98, 82, 0.95),
    0 4px 0 rgba(36, 29, 24, 0.98),
    0 8px 18px rgba(0, 0, 0, 0.82),
    0 0 18px rgba(255, 206, 93, 0.18);
}

.hero-logo-main {
  font-size: clamp(54px, 7vw, 108px);
}

.hero-logo-sub {
  margin-top: 4px;
  font-size: clamp(34px, 4.5vw, 72px);
}

.hero-logo:hover {
  transform: none;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.68)) drop-shadow(0 0 18px rgba(255, 210, 94, 0.38));
}

.hero-logo:hover::before {
  opacity: 0.82;
  transform: skewX(-12deg);
}

.hero-kicker,
.hero-panel p,
.hero-actions {
  display: none !important;
}

#warpper {
  background: transparent !important;
  box-shadow: none !important;
}

#schema {
  padding-top: 0 !important;
}

body > #warpper::before,
#warpper::before,
#warpper2::before {
  display: none !important;
}

.news-page-wrap {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.28)) !important;
}

@media (max-width: 900px) {
  #header {
    min-height: 360px !important;
  }

  .hero-panel {
    margin-top: 42px !important;
  }
}

@media (max-width: 620px) {
  #header {
    min-height: 330px !important;
  }

  .hero-logo-main {
    font-size: 44px;
  }

  .hero-logo-sub {
    font-size: 30px;
  }
}

/* Account entry page and compact cabinet hub */
.menu-login {
  margin-left: 8px;
  color: #101008 !important;
  background: linear-gradient(180deg, #ffe8a8, #c4822a) !important;
  border-color: rgba(255, 237, 166, 0.65) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.42), 0 0 18px rgba(198, 126, 30, 0.24);
}

.menu-login i {
  color: #111 !important;
}

.auth-page-wrap {
  background: transparent !important;
}

.auth-page {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 6px 0 90px;
}

.auth-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
  gap: 20px;
}

.auth-card {
  min-height: 300px;
  padding: 30px 40px 38px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
    rgba(8, 6, 5, 0.68);
  border: 1px solid rgba(234, 190, 111, 0.34);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(2px);
}

.auth-card-title {
  padding-bottom: 18px;
  margin-bottom: 18px;
  color: #ffe8a8;
  font-family: "Marcellus", "Times New Roman", serif;
  font-size: 25px;
  border-bottom: 1px solid rgba(234, 190, 111, 0.18);
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.auth-card-title i {
  margin-right: 12px;
  color: #d8a94a;
}

.auth-form {
  display: grid;
  gap: 17px;
}

.password-reset-card {
  width: min(620px, 100%);
  margin: 0 auto;
}

.password-reset-description {
  margin: 0 0 22px;
  color: #d9c9ad;
  line-height: 1.65;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: #f6e5c6;
  font-weight: 700;
}

.auth-form label span i {
  margin-right: 5px;
  color: #d8a94a;
}

.auth-form .login_field,
.auth-form .f {
  width: 100% !important;
  height: 42px !important;
  box-sizing: border-box;
  margin: 0 !important;
  background: rgba(0, 0, 0, 0.56) !important;
  border: 1px solid rgba(234, 190, 111, 0.38) !important;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.auth-actions #login_mod,
.auth-actions #register_button,
.auth-link-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 130px;
  height: 42px !important;
  padding: 0 18px !important;
  margin: 0 !important;
  color: #111 !important;
  font-weight: 800;
  text-transform: none !important;
  background: linear-gradient(180deg, #ffe8a8, #c4822a) !important;
  border: 1px solid rgba(255, 237, 166, 0.66) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.42), 0 10px 18px rgba(0,0,0,0.24) !important;
}

.auth-actions i {
  margin-right: 8px;
}

.account-hub {
  padding-bottom: 12px;
}

.cabinet-subsection {
  margin: 14px 12px 0;
  padding-top: 12px;
  border-top: 1px solid rgba(234, 190, 111, 0.2);
}

.cabinet-subtitle {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  color: #ffe8a8;
  font-family: "Marcellus", "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
}

.cabinet-subtitle i {
  color: #d8a94a;
}

.account-hub .server-stats,
.account-hub .top-list {
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: transparent !important;
}

@media (max-width: 900px) {
  .auth-grid {
    grid-template-columns: 1fr;
  }
}

/* Clean section pages and real logo */
.hero-logo-img {
  display: block;
  width: min(640px, 58vw);
  max-height: 230px;
  object-fit: contain;
  filter:
    drop-shadow(0 18px 18px rgba(0, 0, 0, 0.78))
    drop-shadow(0 0 18px rgba(255, 217, 126, 0.18));
  transition: filter 180ms ease;
}

.hero-logo:hover .hero-logo-img {
  filter:
    drop-shadow(0 18px 18px rgba(0, 0, 0, 0.78))
    drop-shadow(0 0 26px rgba(255, 217, 126, 0.46));
}

.hero-logo-main,
.hero-logo-sub {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.menu-community {
  position: relative;
  display: inline-flex;
}

.community-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 30;
  min-width: 170px;
  padding: 8px;
  background: rgba(8, 6, 5, 0.94);
  border: 1px solid rgba(234, 190, 111, 0.44);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.46);
  transform: translateX(-50%) translateY(-6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.menu-community:hover .community-dropdown,
.menu-community:focus-within .community-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

#menu .community-dropdown a,
#menu .community-dropdown a:hover {
  display: flex;
  justify-content: flex-start;
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.home-page-wrap {
  min-height: 260px !important;
}

.clean-page-wrap,
.news-page-wrap,
.auth-page-wrap,
.ranking-page,
.donate-page,
.download-page {
  background: transparent !important;
  box-shadow: none !important;
}

.clean-page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 6px 0 92px;
}

.clean-card {
  background:
    linear-gradient(180deg, rgba(255, 223, 157, 0.05), transparent 96px),
    rgba(8, 6, 5, 0.68);
  border: 1px solid rgba(234, 190, 111, 0.36);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(2px);
}

.clean-heading {
  padding: 22px 26px 16px;
  border-bottom: 1px solid rgba(234, 190, 111, 0.2);
}

.clean-heading span {
  display: block;
  color: #d8a94a;
  font-family: "Montserrat", "Ebrima", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.clean-heading h1 {
  margin: 6px 0 0;
  color: #fff0bd;
  font-family: "Marcellus", "Times New Roman", serif;
  font-size: 32px;
  font-weight: 400;
}

.download-card {
  max-width: 820px;
  margin: 0 auto;
}

.download-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px;
  padding: 34px;
}

.download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  color: #111 !important;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffe8a8, #c4822a);
  border: 1px solid rgba(255, 237, 166, 0.68);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.42), 0 14px 26px rgba(0,0,0,0.25);
}

.news-page {
  margin: 0 auto;
}

.news-page .site-news-card {
  background: rgba(8, 6, 5, 0.76) !important;
}

.ranking-card {
  max-width: 980px;
  margin: 0 auto;
}

.ranking-switch {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 18px 22px 0;
}

.ranking-switch a {
  min-width: 120px;
  padding: 10px 16px;
  text-align: center;
  color: #f5dfb5 !important;
  border: 1px solid rgba(234, 190, 111, 0.28);
  background: rgba(0, 0, 0, 0.32);
}

.ranking-switch a.active,
.ranking-switch a:hover {
  color: #111 !important;
  background: linear-gradient(180deg, #ffe8a8, #c4822a);
}

.ranking-table-wrap {
  padding: 22px;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  color: #f5dfb5;
  background: rgba(0, 0, 0, 0.36);
}

.ranking-table th {
  height: 48px;
  color: #d8a94a;
  font-family: "Montserrat", "Ebrima", Arial, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(234, 190, 111, 0.26);
}

.ranking-table td {
  height: 44px;
  color: #f2dfbd !important;
  border-color: rgba(234, 190, 111, 0.12) !important;
  background: rgba(0, 0, 0, 0.18);
}

.ranking-table tbody tr {
  background: rgba(0, 0, 0, 0.18) !important;
}

.ranking-table tbody tr.rank-1 {
  background: linear-gradient(90deg, rgba(255, 209, 96, 0.28), rgba(0, 0, 0, 0.2)) !important;
}

.ranking-table tbody tr.rank-2 {
  background: linear-gradient(90deg, rgba(190, 203, 214, 0.2), rgba(0, 0, 0, 0.2)) !important;
}

.ranking-table tbody tr.rank-3 {
  background: linear-gradient(90deg, rgba(176, 116, 66, 0.22), rgba(0, 0, 0, 0.2)) !important;
}

.ranking-table tbody tr:hover td {
  background: rgba(216, 169, 74, 0.12);
}

.donate-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr);
  gap: 22px;
}

.donate-card {
  padding-bottom: 28px;
}

.donate-login-form,
.donate-note,
#umoney,
.donate-docs,
.donate-rewards {
  margin-left: 28px;
  margin-right: 28px;
}

.donate-login-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.donate-login-form label {
  display: grid;
  gap: 8px;
  color: #f6e5c6;
  font-weight: 700;
}

.donate-login-form .login_field {
  width: 100% !important;
  box-sizing: border-box;
}

.donate-login-form #register_button {
  justify-self: start;
}

.donate-note {
  margin-top: 20px;
  color: #f6e5c6;
  line-height: 1.6;
}

#umoney {
  display: block;
  max-width: calc(100% - 56px);
  margin-top: 18px;
}

.payment-form,
.payment-message {
  margin-left: 28px;
  margin-right: 28px;
}

.payment-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(234, 190, 111, 0.2);
  background: rgba(0, 0, 0, 0.2);
}

.payment-amount-label {
  color: #f6e5c6;
  font-weight: 800;
}

.payment-amount-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.payment-amount-row input {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1px solid rgba(255, 205, 103, 0.42);
  background: rgba(4, 5, 7, 0.76);
  color: #fff4d5;
  font-size: 20px;
  font-weight: 800;
  outline: none;
}

.payment-amount-row input:focus {
  border-color: #ffd36a;
  box-shadow: 0 0 0 3px rgba(255, 190, 64, 0.12);
}

.payment-amount-row span {
  color: #ffca55;
  font-size: 24px;
  font-weight: 900;
}

.payment-amount-hint,
.payment-security {
  margin: 0;
  color: rgba(255, 238, 210, 0.64);
  font-size: 13px;
  line-height: 1.5;
}

.payment-provider-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.payment-provider-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.payment-provider-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-provider-option span {
  display: grid;
  gap: 4px;
  min-height: 68px;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid rgba(234, 190, 111, 0.18);
  background: rgba(15, 13, 10, 0.66);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.payment-provider-option strong {
  color: #ffd66c;
  font-size: 16px;
}

.payment-provider-option small {
  color: rgba(255, 238, 210, 0.58);
  line-height: 1.3;
}

.payment-provider-option:hover span,
.payment-provider-option input:checked + span {
  border-color: rgba(255, 205, 103, 0.72);
  background: rgba(77, 49, 13, 0.42);
  transform: translateY(-1px);
}

.payment-customer-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  padding: 14px;
  border: 1px solid rgba(255, 205, 103, 0.28);
  background: rgba(4, 5, 7, 0.48);
}

.payment-customer-fields[hidden] {
  display: none;
}

.payment-customer-fields p {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: rgba(255, 238, 210, 0.68);
  font-size: 13px;
  line-height: 1.5;
}

.payment-package-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.payment-package-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.payment-package-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-package-option span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid rgba(255, 205, 103, 0.2);
  background: rgba(15, 13, 10, 0.7);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.payment-package-option strong {
  color: #f8e6c3;
  font-size: 14px;
}

.payment-package-option small {
  color: #ffca55;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.payment-package-option:hover span,
.payment-package-option input:checked + span {
  border-color: rgba(255, 205, 103, 0.78);
  background: rgba(77, 49, 13, 0.48);
  transform: translateY(-1px);
}

.payment-customer-fields label {
  color: #f2dfbd;
  font-size: 13px;
  font-weight: 700;
}

.payment-customer-fields input,
.payment-customer-fields select {
  min-height: 42px;
  box-sizing: border-box;
  padding: 9px 11px;
  border: 1px solid rgba(255, 205, 103, 0.32);
  background: rgba(4, 5, 7, 0.76);
  color: #fff4d5;
  outline: none;
}

.payment-customer-fields input:focus,
.payment-customer-fields select:focus {
  border-color: #ffd36a;
  box-shadow: 0 0 0 3px rgba(255, 190, 64, 0.12);
}

.payment-customer-fields select {
  cursor: pointer;
}

.payment-submit {
  min-height: 48px;
  border: 1px solid #e3a632;
  background: linear-gradient(180deg, #d99c2f, #8a5317);
  color: #1d1105;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: inset 0 1px rgba(255, 240, 181, 0.46), 0 8px 22px rgba(0, 0, 0, 0.28);
}

.payment-submit:hover {
  filter: brightness(1.1);
}

.payment-message {
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 205, 103, 0.3);
  color: #f7e8c8;
  line-height: 1.5;
}

.payment-message.is-success {
  border-color: rgba(98, 197, 112, 0.48);
  background: rgba(35, 104, 44, 0.24);
}

.payment-message.is-fail {
  border-color: rgba(224, 91, 76, 0.5);
  background: rgba(119, 32, 23, 0.24);
}

.donate-docs {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.donate-docs a {
  color: #ffd66c !important;
}

.donate-rewards {
  display: grid;
  gap: 14px;
  padding: 24px 0 0;
  list-style: none;
}

.donate-rewards li {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(234, 190, 111, 0.14);
}

.donate-rewards strong {
  color: #ffb43c;
}

.donate-rewards span {
  color: #f2dfbd;
}

@media (max-width: 900px) {
  .download-links,
  .donate-grid {
    grid-template-columns: 1fr;
  }

  .payment-provider-list {
    grid-template-columns: 1fr;
  }

  .payment-customer-fields {
    grid-template-columns: 1fr;
  }

  .payment-package-grid {
    grid-template-columns: 1fr;
  }

  .payment-customer-fields p {
    grid-column: auto;
  }

  .hero-logo-img {
    width: min(560px, 86vw);
  }
}

/* Home refresh: clean logo glow, online, sieges and editable cards */
.hero-logo,
.hero-logo:visited,
.hero-logo:hover {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  outline: 0 !important;
  text-decoration: none !important;
}

.hero-logo::before,
.hero-logo::after {
  display: none !important;
  content: none !important;
}

.hero-logo-img {
  background: transparent !important;
  box-shadow: none !important;
  filter:
    drop-shadow(0 2px 2px rgba(0, 0, 0, 0.75))
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
  transition: filter .22s ease, transform .22s ease;
}

.hero-logo:hover .hero-logo-img {
  transform: translateY(-1px) scale(1.01);
  filter:
    drop-shadow(0 0 4px rgba(255, 246, 208, 0.75))
    drop-shadow(0 0 13px rgba(222, 168, 62, 0.52))
    drop-shadow(0 12px 24px rgba(0, 0, 0, 0.55));
}

.hero-online {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 10px;
  color: rgba(255, 239, 197, 0.9);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-online strong {
  color: #ffd56f;
  font-size: 20px;
  text-shadow: 0 0 10px rgba(255, 188, 54, 0.75);
}

.home-clean-content {
  width: min(1180px, calc(100% - 40px));
  margin: -18px auto 70px;
  position: relative;
  z-index: 2;
}

.home-siege-panel {
  border: 1px solid rgba(219, 169, 76, 0.42);
  background: linear-gradient(180deg, rgba(17, 12, 9, 0.58), rgba(7, 7, 8, 0.42));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 232, 162, 0.1);
  padding: 22px;
  backdrop-filter: blur(2px);
}

.home-siege-panel .clean-heading {
  margin-bottom: 16px;
}

.home-castles {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 !important;
}

.home-castles .castle-card {
  width: auto !important;
  min-height: 116px;
}

.home-info-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.home-feature-card {
  min-height: 210px;
  border: 1px solid rgba(214, 165, 79, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(49, 27, 16, 0.55), rgba(7, 9, 13, 0.72));
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  position: relative;
}

.home-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 48%, rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.home-feature-card > div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
}

.home-feature-card h3 {
  margin: 0 0 10px;
  color: #fff1c6;
  font-family: "Marcellus", Georgia, serif;
  font-size: 23px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.88);
}

.home-feature-card p {
  margin: 0;
  color: rgba(255, 246, 224, 0.82);
  font-size: 14px;
  line-height: 1.45;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.donate-rewards small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 238, 210, 0.68);
  line-height: 1.4;
}

@media (max-width: 1000px) {
  .home-info-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero-online {
    gap: 10px;
    font-size: 13px;
  }

  .home-clean-content {
    width: calc(100% - 24px);
    margin-top: 0;
  }

  .home-castles,
  .home-info-cards {
    grid-template-columns: 1fr;
  }
}

/* Header composition like the reference: centered logo, stats below */
.hero-panel {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  width: min(1180px, calc(100% - 40px)) !important;
  margin: 52px auto 0 !important;
  text-align: center !important;
}

.hero-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.hero-logo-img {
  width: min(520px, 42vw) !important;
  max-height: 245px !important;
}

.hero-online {
  display: flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: 28px !important;
  width: 100% !important;
  margin: 0 auto !important;
  color: #fff1c6 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-transform: none !important;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.85), 0 0 10px rgba(255, 185, 55, 0.35) !important;
}

.hero-online strong {
  color: #ffd16a !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 0 14px rgba(255, 182, 45, 0.82) !important;
}

@media (max-width: 900px) {
  .hero-panel {
    margin-top: 34px !important;
  }

  .hero-logo-img {
    width: min(500px, 78vw) !important;
  }

  .hero-online {
    gap: 14px !important;
    font-size: 15px !important;
  }

  .hero-online strong {
    font-size: 22px !important;
  }
}

/* Compact home cards and siege block */
.home-clean-content {
  margin: -34px auto 54px !important;
}

.home-siege-panel {
  padding: 16px 20px 20px !important;
}

.home-siege-panel .clean-heading {
  margin-bottom: 12px !important;
}

.home-siege-panel .clean-heading span {
  font-size: 12px !important;
}

.home-siege-panel .clean-heading h1 {
  margin-top: 6px !important;
  font-size: 28px !important;
  line-height: 1.12 !important;
}

.home-castles {
  gap: 12px !important;
}

.home-castles .castle-card {
  min-height: 92px !important;
  padding: 14px 16px !important;
}

.home-castles .castle-name {
  font-size: 18px !important;
  margin-bottom: 10px !important;
}

.home-castles .castle-row {
  min-height: 24px !important;
  padding: 4px 0 !important;
}

.home-info-cards {
  gap: 14px !important;
  margin-top: 18px !important;
}

.home-feature-card {
  min-height: 178px !important;
}

.home-feature-card > div {
  left: 16px !important;
  right: 16px !important;
  bottom: 16px !important;
}

.home-feature-card h3 {
  display: block !important;
  max-width: 100% !important;
  margin-bottom: 8px !important;
  color: #fff3c8 !important;
  font-size: 21px !important;
  line-height: 1.12 !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

.home-feature-card p {
  max-width: 100% !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere !important;
}

/* News details: keep preview art fixed when the full text is opened */
.news-page .site-news-card,
.site-news-card {
  align-items: start !important;
}

.news-page .site-news-image,
.site-news-image {
  width: 100% !important;
  height: 180px !important;
  min-height: 180px !important;
  align-self: start !important;
  background-position: center center !important;
  background-size: cover !important;
}

.news-page .site-news-body,
.site-news-body {
  min-width: 0 !important;
}

.news-page .site-news-details,
.site-news-details {
  max-width: 100% !important;
}

.news-page .site-news-details[open],
.site-news-details[open] {
  display: block !important;
}

.news-page .site-news-full,
.site-news-full {
  max-width: 100% !important;
  line-height: 1.55 !important;
  overflow-wrap: anywhere !important;
}

.news-page .site-news-full img,
.site-news-full img {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 10px 0 !important;
}

@media (min-width: 721px) {
  .news-page .site-news-card,
  .site-news-card {
    grid-template-columns: 220px minmax(0, 1fr) !important;
  }
}

@media (max-width: 720px) {
  .news-page .site-news-card,
  .site-news-card {
    grid-template-columns: 1fr !important;
  }

  .news-page .site-news-image,
  .site-news-image {
    height: 190px !important;
    min-height: 190px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(215, 168, 79, 0.2) !important;
  }
}

/* Home sieges: only two castle blocks, no heading gap */
.home-siege-panel {
  padding: 14px 16px !important;
}

.home-siege-panel > .clean-heading {
  display: none !important;
}

.home-siege-panel .home-castles {
  margin-top: 0 !important;
}

/* Account dashboard page */
.account-page-wrap {
  background: transparent !important;
  box-shadow: none !important;
}

.account-layout {
  align-items: start;
  grid-template-columns: 1fr !important;
}

.account-main {
  min-width: 0;
  width: 100% !important;
}

.account-dashboard-card {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 80px;
}

.account-dashboard-card {
  overflow: hidden;
  border: 1px solid rgba(234, 190, 111, 0.36);
  background:
    linear-gradient(180deg, rgba(255, 223, 157, 0.06), transparent 100px),
    rgba(8, 6, 5, 0.68);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(2px);
}

.account-dashboard-head {
  padding: 22px 26px 16px;
  border-bottom: 1px solid rgba(234, 190, 111, 0.2);
}

.account-dashboard-head span {
  display: block;
  color: #d8a94a;
  font-family: "Montserrat", "Ebrima", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-dashboard-head h1 {
  margin: 6px 0 0;
  color: #fff0bd;
  font-family: "Marcellus", "Times New Roman", serif;
  font-size: 32px;
  font-weight: 400;
}

.account-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 22px 26px 0;
  padding: 14px 16px;
  color: #ffe9b4;
  border: 1px solid rgba(255, 205, 86, 0.34);
  background: linear-gradient(90deg, rgba(89, 51, 16, 0.72), rgba(20, 12, 8, 0.42));
}

.account-alert i {
  color: #ffcc5c;
  font-size: 22px;
}

.account-alert strong,
.account-alert span {
  display: block;
}

.account-alert span {
  margin-top: 2px;
  color: rgba(255, 239, 210, 0.78);
  font-size: 13px;
}

.account-alert a {
  padding: 9px 14px;
  color: #111 !important;
  font-weight: 800;
  background: linear-gradient(180deg, #ffe8a8, #c4822a);
  border: 1px solid rgba(255, 237, 166, 0.66);
}

.account-profile-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(150px, auto);
  gap: 18px;
  align-items: center;
  margin: 26px;
  padding: 20px;
  border: 1px solid rgba(234, 190, 111, 0.22);
  background:
    radial-gradient(circle at 10% 10%, rgba(216, 169, 74, 0.16), transparent 32%),
    rgba(0, 0, 0, 0.28);
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: #111;
  font-size: 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff0bd, #c4822a);
  box-shadow: 0 0 18px rgba(216, 169, 74, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.account-profile-text span,
.account-balance-card span {
  display: block;
  color: #d8a94a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-profile-text strong {
  display: block;
  margin-top: 5px;
  color: #fff0bd;
  font-family: "Marcellus", "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.account-profile-text p {
  max-width: 470px;
  margin: 6px 0 0;
  color: rgba(255, 239, 210, 0.74);
  line-height: 1.45;
}

.account-balance-card {
  justify-self: end;
  min-width: 148px;
  padding: 14px 16px;
  text-align: right;
  border: 1px solid rgba(234, 190, 111, 0.22);
  background: rgba(0, 0, 0, 0.28);
}

.account-balance-card strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  color: #ffd56f;
  font-size: 24px;
}

.account-balance-card img {
  width: 16px;
  height: 16px;
}

.account-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 26px 28px;
}

.account-action-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 4px;
  min-height: 82px;
  padding: 16px;
  color: #f4dfb8 !important;
  border: 1px solid rgba(234, 190, 111, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 52px),
    rgba(0, 0, 0, 0.28);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.account-action-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 216, 128, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 217, 128, 0.08), transparent 58px),
    rgba(0, 0, 0, 0.36);
}

.account-action-card i {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #14100a;
  font-size: 18px;
  background: linear-gradient(180deg, #ffe8a8, #c4822a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.account-action-card strong {
  align-self: end;
  color: #fff0bd;
  font-family: "Marcellus", "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
}

.account-action-card span {
  color: rgba(255, 239, 210, 0.68);
  font-size: 13px;
  line-height: 1.35;
}

.account-action-exit {
  border-color: rgba(255, 83, 83, 0.28);
}

.account-action-exit i {
  color: #fff0e8;
  background: linear-gradient(180deg, #d94a3f, #7b1919);
}

@media (max-width: 900px) {
  .account-profile-card,
  .account-actions-grid {
    grid-template-columns: 1fr;
  }

  .account-avatar,
  .account-balance-card {
    justify-self: start;
  }

  .account-balance-card {
    text-align: left;
  }

  .account-alert {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .account-alert a {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

.cabinet-page-wrap {
  background: transparent !important;
  box-shadow: none !important;
}

.cabinet-layout {
  grid-template-columns: 1fr !important;
  width: min(1240px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
}

.cabinet-main {
  width: 100% !important;
  min-width: 0;
}

.cabinet-card {
  overflow: hidden;
  margin: 0 auto 82px;
  border: 1px solid rgba(234, 190, 111, 0.36);
  background:
    linear-gradient(180deg, rgba(255, 223, 157, 0.06), transparent 100px),
    rgba(8, 6, 5, 0.68);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(2px);
}

.cabinet-heading {
  padding: 22px 26px 16px;
  border-bottom: 1px solid rgba(234, 190, 111, 0.2);
}

.cabinet-heading span {
  display: block;
  color: #d8a94a;
  font-family: "Montserrat", "Ebrima", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cabinet-heading h1 {
  margin: 6px 0 0;
  color: #fff0bd;
  font-family: "Marcellus", "Times New Roman", serif;
  font-size: 32px;
  font-weight: 400;
}

.cabinet-body {
  padding: 26px;
}

.cabinet-lead {
  max-width: 620px;
  margin: 0 0 22px;
  color: rgba(255, 239, 210, 0.78);
  font-size: 16px;
  line-height: 1.55;
}

.cabinet-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.cabinet-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(234, 190, 111, 0.22);
  background: rgba(0, 0, 0, 0.26);
}

.cabinet-note i {
  grid-row: 1 / 3;
  color: #ffd56f;
  font-size: 20px;
}

.cabinet-note span {
  color: rgba(255, 239, 210, 0.68);
  font-size: 13px;
}

.cabinet-note strong {
  color: #fff0bd;
  font-size: 16px;
}

.cabinet-form {
  display: grid;
  gap: 16px;
  max-width: 720px;
  padding: 20px;
  border: 1px solid rgba(234, 190, 111, 0.22);
  background: rgba(0, 0, 0, 0.28);
}

.cabinet-form-narrow {
  max-width: 520px;
}

.cabinet-form label {
  display: grid;
  gap: 8px;
  color: #f6e5c6;
  font-weight: 700;
}

.cabinet-form .f,
.cabinet-form select,
.cabinet-form input[type="text"],
.cabinet-form input[type="password"] {
  width: 100% !important;
  height: 44px !important;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0 13px !important;
  color: #fff4d6 !important;
  background: rgba(0, 0, 0, 0.56) !important;
  border: 1px solid rgba(234, 190, 111, 0.38) !important;
}

.cabinet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.cabinet-actions #register_button,
.cabinet-actions input[type="submit"],
.cabinet-prize-target button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 140px;
  height: 42px !important;
  padding: 0 18px !important;
  margin: 0 !important;
  color: #111 !important;
  font-weight: 900;
  background: linear-gradient(180deg, #ffe8a8, #c4822a) !important;
  border: 1px solid rgba(255, 237, 166, 0.66) !important;
  cursor: pointer;
}

.cabinet-back {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #ffdf92 !important;
}

.cabinet-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 26px;
  border-top: 1px solid rgba(234, 190, 111, 0.14);
  border-bottom: 1px solid rgba(234, 190, 111, 0.18);
  background: rgba(0, 0, 0, 0.18);
}

.cabinet-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: rgba(255, 239, 210, 0.78);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  border: 1px solid rgba(234, 190, 111, 0.22);
  background: rgba(0, 0, 0, 0.24);
}

.cabinet-tabs a:hover,
.cabinet-tabs a.active {
  color: #101010;
  border-color: rgba(255, 237, 166, 0.66);
  background: linear-gradient(180deg, #ffe8a8, #c4822a);
  box-shadow: 0 0 18px rgba(222, 170, 58, 0.26);
}

.account-page-wrap #third_row,
.cabinet-page-wrap #third_row,
.site-items-page #third_row {
  display: none !important;
}

.cabinet-game-card .cabinet-body {
  overflow: hidden;
}

.cabinet-game-area {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  overflow: auto;
  padding: 20px;
  border: 1px solid rgba(234, 190, 111, 0.2);
  background: rgba(0, 0, 0, 0.24);
}

.wheel-game-area {
  min-height: 520px;
}

.cabinet-game-area .wheel_block,
.cabinet-game-area .wheel_block-offline {
  position: relative !important;
  margin: 0 auto !important;
  left: auto !important;
  top: auto !important;
  flex: 0 0 auto;
}

.cabinet-prize-target {
  display: flex;
  position: relative !important;
  flex-wrap: wrap;
  align-items: end;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  margin-left: 0 !important;
  color: #f5dfb5;
}

.cabinet-prize-target label {
  display: grid;
  gap: 7px;
}

.cabinet-prize-target select {
  min-width: 220px;
  height: 40px;
  color: #fff4d6;
  background: rgba(0, 0, 0, 0.56);
  border: 1px solid rgba(234, 190, 111, 0.38);
}

.cabinet-game-intro,
.cabinet-game-rules {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  padding: 14px 16px;
  color: #f5dfb5;
  border: 1px solid rgba(234, 190, 111, 0.2);
  background: rgba(0, 0, 0, 0.24);
}

.cabinet-game-intro strong {
  color: #fff0bd;
  font-size: 18px;
}

.cabinet-game-intro span,
.cabinet-game-rules div {
  color: rgba(255, 239, 210, 0.72);
}

.xgame-area {
  min-height: 700px;
}

.xgame-area .game-bonus {
  flex: 0 0 auto;
  margin: 0 auto !important;
  max-width: 100%;
}

.xgame-area .game-bonus .info {
  min-width: 220px;
}

@media (max-width: 760px) {
  .cabinet-layout,
  .account-dashboard-card {
    width: calc(100% - 24px) !important;
  }

  .cabinet-body,
  .account-dashboard-head,
  .account-profile-card,
  .account-actions-grid {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .cabinet-note-grid {
    grid-template-columns: 1fr;
  }

  .cabinet-game-area {
    justify-content: start;
  }
}

.site-items-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.site-item-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 14px;
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(234, 190, 111, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 62px),
    rgba(0, 0, 0, 0.28);
}

.site-case-card {
  grid-template-columns: 170px minmax(0, 1fr);
}

.site-item-art {
  border: 0;
  grid-row: 1 / 3;
  min-height: 150px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.55));
}

.site-item-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(234, 190, 111, 0.26);
  background: rgba(0, 0, 0, 0.34);
}

.site-item-icon img {
  max-width: 44px;
  max-height: 44px;
}

.site-item-icon i {
  color: #ffd56f;
  font-size: 28px;
}

.site-item-info span {
  display: block;
  color: #d8a94a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-item-info h3 {
  margin: 6px 0 8px;
  color: #fff0bd;
  font-family: "Marcellus", "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
}

.site-item-info p {
  margin: 0;
  color: rgba(255, 239, 210, 0.72);
  line-height: 1.45;
}

.site-item-actions {
  grid-column: 2;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.site-item-actions button {
  min-height: 42px;
  padding: 0 18px;
  color: #111;
  font-weight: 900;
  background: linear-gradient(180deg, #ffe8a8, #c4822a);
  border: 1px solid rgba(255, 237, 166, 0.66);
  cursor: pointer;
}

.case-art-button {
  cursor: pointer;
  background-color: transparent;
}

.case-secondary-button {
  color: #ffdf92 !important;
  background: rgba(0, 0, 0, 0.26) !important;
  border-color: rgba(234, 190, 111, 0.34) !important;
}

.case-modal,
.case-opening {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
}

.case-modal.is-open,
.case-opening.is-open {
  display: grid;
}

.case-modal-panel,
.case-opening-panel {
  width: min(860px, 100%);
  border: 1px solid rgba(234, 190, 111, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 217, 128, 0.08), rgba(0, 0, 0, 0.12)),
    rgba(8, 8, 8, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.7), 0 0 34px rgba(215, 153, 54, 0.16);
}

.case-modal-panel {
  position: relative;
  padding: 24px;
}

.case-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  color: #ffdf92;
  font-size: 25px;
  line-height: 1;
  border: 1px solid rgba(234, 190, 111, 0.3);
  background: rgba(0, 0, 0, 0.38);
  cursor: pointer;
}

.case-modal-head span,
.case-opening-title {
  color: #d8a94a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-modal-head h3 {
  margin: 6px 0 18px;
  color: #fff0bd;
  font-family: "Marcellus", "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.case-drop-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.case-drop-item,
.case-roll-prize {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(234, 190, 111, 0.18);
  background: rgba(0, 0, 0, 0.34);
}

.case-drop-item {
  padding: 12px;
}

.case-drop-item img,
.case-roll-prize img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.case-drop-item i,
.case-roll-prize i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffd56f;
}

.case-drop-item strong,
.case-roll-prize span {
  color: #fff0bd;
}

.case-drop-item span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.rarity-common { border-color: rgba(185, 185, 185, 0.35); }
.rarity-uncommon { border-color: rgba(96, 200, 104, 0.5); box-shadow: inset 0 0 18px rgba(96, 200, 104, 0.08); }
.rarity-rare { border-color: rgba(74, 150, 255, 0.56); box-shadow: inset 0 0 18px rgba(74, 150, 255, 0.1); }
.rarity-epic { border-color: rgba(174, 89, 255, 0.6); box-shadow: inset 0 0 18px rgba(174, 89, 255, 0.12); }
.rarity-legendary { border-color: rgba(255, 190, 67, 0.76); box-shadow: inset 0 0 24px rgba(255, 190, 67, 0.18), 0 0 18px rgba(255, 190, 67, 0.12); }

.rarity-common span { color: #cfcfcf; }
.rarity-uncommon span { color: #70df7a; }
.rarity-rare span { color: #66a8ff; }
.rarity-epic span { color: #bd75ff; }
.rarity-legendary span { color: #ffd06e; }

.case-opening-panel {
  position: relative;
  padding: 26px;
  overflow: hidden;
}

.case-opening-title {
  margin-bottom: 16px;
  text-align: center;
  font-size: 16px;
}

.case-roll-window {
  position: relative;
  overflow: hidden;
  height: 132px;
  border: 1px solid rgba(234, 190, 111, 0.3);
  background: rgba(0, 0, 0, 0.5);
}

.case-roll-window::before,
.case-roll-window::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 130px;
  pointer-events: none;
}

.case-roll-window::before {
  left: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.94), transparent);
}

.case-roll-window::after {
  right: 0;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.94), transparent);
}

.case-roll-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 16px;
  transform: translateX(0);
}

.case-roll-track.is-rolling {
  animation: caseRoll 2.2s cubic-bezier(0.12, 0.72, 0.2, 1) forwards;
}

.case-roll-prize {
  flex: 0 0 140px;
  height: 96px;
  justify-content: center;
  flex-direction: column;
  padding: 10px;
  text-align: center;
}

.case-roll-prize span {
  max-width: 118px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.case-roll-pointer {
  position: absolute;
  left: 50%;
  top: 58px;
  bottom: 26px;
  width: 2px;
  background: #ffd56f;
  box-shadow: 0 0 18px rgba(255, 213, 111, 0.75);
}

@keyframes caseRoll {
  0% { transform: translateX(0); }
  82% { transform: translateX(-1120px); }
  100% { transform: translateX(-1040px); }
}

.site-send-form select {
  min-width: 180px;
  height: 40px;
  color: #fff4d6;
  background: rgba(0, 0, 0, 0.56);
  border: 1px solid rgba(234, 190, 111, 0.38);
}

.site-empty-state {
  padding: 34px;
  text-align: center;
  border: 1px solid rgba(234, 190, 111, 0.22);
  background: rgba(0, 0, 0, 0.24);
}

.site-empty-state h3 {
  margin: 0 0 8px;
  color: #fff0bd;
  font-family: "Marcellus", "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

.site-empty-state p {
  margin: 0;
  color: rgba(255, 239, 210, 0.74);
}

@media (max-width: 900px) {
  .site-items-grid,
  .site-case-card {
    grid-template-columns: 1fr;
  }

  .site-item-card {
    grid-template-columns: 1fr;
  }

  .site-item-art,
  .site-item-icon,
  .site-item-actions {
    grid-row: auto;
    grid-column: auto;
  }
}
/* Draxion homepage, legal pages and footer */
.home-clean-content {
	width: min(1260px, calc(100% - 48px));
	margin: 28px auto 48px;
}

.home-config-panel,
.legal-card,
.siege-page-card {
	position: relative;
	border: 1px solid rgba(214, 160, 58, 0.42);
	background: linear-gradient(135deg, rgba(16, 19, 25, 0.78), rgba(6, 9, 14, 0.66));
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 236, 175, 0.06);
	backdrop-filter: blur(3px);
}

.home-config-panel {
	padding: 30px;
	overflow: hidden;
}

.home-config-panel:before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 22% 0%, rgba(255, 191, 74, 0.13), transparent 34%),
		radial-gradient(circle at 82% 55%, rgba(88, 162, 255, 0.10), transparent 36%);
}

.home-config-heading,
.server-config-grid,
.home-server-note {
	position: relative;
	z-index: 1;
}

.home-config-heading h1 {
	margin: 0 0 10px;
	color: #fff3d0;
	font-family: "Marcellus", Georgia, serif;
	font-size: 42px;
	font-weight: 400;
	text-shadow: 0 3px 16px rgba(0, 0, 0, 0.75);
}

.home-config-heading p {
	max-width: 620px;
	margin: 0 0 26px;
	color: rgba(255, 243, 214, 0.78);
	font-size: 16px;
	line-height: 1.6;
}

.server-config-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.server-config-card {
	min-height: 78px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px;
	border: 1px solid rgba(255, 221, 140, 0.16);
	border-radius: 22px;
	background:
		linear-gradient(90deg, rgba(25, 37, 51, 0.78), rgba(21, 24, 31, 0.76)),
		radial-gradient(circle at 100% 50%, rgba(228, 178, 91, 0.28), transparent 48%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 10px 24px rgba(0, 0, 0, 0.24);
}

.server-config-card:nth-child(2n) {
	background:
		linear-gradient(90deg, rgba(24, 36, 52, 0.78), rgba(18, 23, 34, 0.76)),
		radial-gradient(circle at 100% 50%, rgba(69, 153, 213, 0.28), transparent 48%);
}

.server-config-card:nth-child(3n) {
	background:
		linear-gradient(90deg, rgba(24, 34, 48, 0.78), rgba(20, 22, 33, 0.76)),
		radial-gradient(circle at 100% 50%, rgba(116, 122, 218, 0.28), transparent 48%);
}

.server-config-card span {
	color: rgba(255, 238, 201, 0.82);
	font-size: 14px;
	font-weight: 700;
}

.server-config-card strong {
	color: #fff3d0;
	font-size: 32px;
	line-height: 1;
	text-shadow: 0 0 18px rgba(255, 202, 90, 0.42);
}

.home-server-note {
	margin-top: 26px;
	padding: 22px 24px;
	border-top: 1px solid rgba(255, 221, 140, 0.16);
	color: rgba(255, 243, 214, 0.76);
	line-height: 1.65;
}

.home-server-note strong {
	display: block;
	margin-bottom: 8px;
	color: #ffd66d;
}

.site-footer {
	margin-top: 46px;
	padding: 34px 0 42px;
	background: linear-gradient(180deg, rgba(9, 14, 21, 0.15), rgba(8, 11, 17, 0.76));
	border-top: 1px solid rgba(214, 160, 58, 0.28);
}

.site-footer-inner {
	width: min(1260px, calc(100% - 48px));
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	gap: 36px;
	color: rgba(255, 243, 214, 0.62);
}

.site-footer strong {
	display: block;
	margin-bottom: 10px;
	color: rgba(255, 243, 214, 0.82);
	font-family: "Marcellus", Georgia, serif;
	font-size: 20px;
}

.site-footer p {
	max-width: 760px;
	margin: 0;
	line-height: 1.55;
}

.site-footer nav {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	justify-content: flex-end;
	gap: 12px 20px;
	min-width: 320px;
}

.site-footer nav a,
.donate-legal-links a {
	color: #f2c867;
	text-decoration: none;
}

.site-footer nav a:hover,
.donate-legal-links a:hover {
	color: #fff1b8;
	text-shadow: 0 0 12px rgba(242, 200, 103, 0.6);
}

.legal-card {
	width: min(1080px, calc(100% - 48px));
	margin: 30px auto 48px;
	padding: 34px;
	color: rgba(255, 243, 214, 0.78);
	line-height: 1.65;
}

.legal-card h1 {
	margin: 0 0 22px;
	color: #fff3d0;
	font-family: "Marcellus", Georgia, serif;
	font-size: 38px;
	font-weight: 400;
}

.legal-card h2 {
	margin: 28px 0 10px;
	color: #ffd66d;
	font-size: 18px;
}

.siege-page-card {
	width: min(1180px, calc(100% - 48px));
	margin: 28px auto 48px;
	padding: 24px;
}

.siege-castles-page {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.donate-reward-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	color: rgba(255, 243, 214, 0.82);
	font-style: normal;
}

.donate-reward-item img {
	width: 24px;
	height: 24px;
	object-fit: contain;
	filter: drop-shadow(0 0 8px rgba(255, 199, 87, 0.28));
}

.cabinet-game-intro small {
	display: block;
	margin-top: 8px;
	color: rgba(255, 230, 178, 0.74);
	font-size: 13px;
	line-height: 1.45;
}

@media (max-width: 1100px) {
	.server-config-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer-inner,
	.siege-castles-page {
		grid-template-columns: 1fr;
		flex-direction: column;
	}

	.site-footer nav {
		justify-content: flex-start;
		min-width: 0;
	}
}

@media (max-width: 640px) {
	.home-clean-content,
	.site-footer-inner,
	.legal-card,
	.siege-page-card {
		width: calc(100% - 24px);
	}

	.home-config-panel,
	.legal-card {
		padding: 20px;
	}

	.home-config-heading h1 {
		font-size: 31px;
	}

	.server-config-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}

/* Final Draxion pages override */
#warpper.home-page-wrap,
.home-page-wrap {
	background: transparent !important;
}

.home-page-wrap .home-clean-content {
	width: min(1260px, calc(100% - 48px)) !important;
	margin: -18px auto 64px !important;
	position: relative;
	z-index: 2;
}

.home-page-wrap .home-config-panel {
	padding: 30px !important;
	border-radius: 0;
}

.home-page-wrap .server-config-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 22px !important;
}

.home-page-wrap .server-config-card {
	min-height: 78px !important;
	padding: 18px !important;
	border-radius: 22px !important;
}

.home-page-wrap .server-config-card strong {
	font-family: "Montserrat", Arial, sans-serif;
	font-weight: 800;
}

.site-footer {
	position: relative;
	z-index: 2;
}

.legal-card {
	background: linear-gradient(135deg, rgba(16, 19, 25, 0.78), rgba(6, 9, 14, 0.66)) !important;
}

.siege-page-card {
	padding: 20px !important;
	background: linear-gradient(135deg, rgba(16, 19, 25, 0.68), rgba(6, 9, 14, 0.52)) !important;
}

.siege-page-card .home-castles {
	margin: 0 !important;
}

.donate-reward-item {
	font-size: 14px;
}

@media (max-width: 1100px) {
	.home-page-wrap .server-config-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 640px) {
	.home-page-wrap .home-clean-content {
		width: calc(100% - 24px) !important;
	}

	.home-page-wrap .server-config-grid {
		grid-template-columns: 1fr !important;
	}
}

.case-pack-title {
	color: #d8a94a;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.case-pack-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.case-pack-row button {
	min-width: 74px;
}

.case-pack-row button small {
	display: block;
	margin-top: 2px;
	font-size: 10px;
	color: rgba(19, 12, 4, .78);
}

.case-owned-count {
	margin-top: 10px;
	color: rgba(255, 238, 201, .82);
}

.case-owned-count strong {
	color: #ffd36a;
	font-size: 18px;
	text-shadow: 0 0 12px rgba(255, 182, 48, .65);
}

.case-opening.is-open {
	display: flex !important;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(circle at 50% 45%, rgba(216, 169, 74, .16), transparent 42%),
		rgba(0, 0, 0, .86);
	z-index: 10000;
	padding: 24px;
}

.case-opening-panel {
	width: min(1220px, calc(100vw - 48px)) !important;
	padding: 42px 34px 50px !important;
	border-color: rgba(255, 203, 105, .72) !important;
	box-shadow: 0 34px 110px rgba(0, 0, 0, .86), 0 0 60px rgba(216, 169, 74, .18) !important;
}

.case-opening-title {
	font-size: 30px !important;
	line-height: 1.15;
	margin-bottom: 6px !important;
	color: #fff0bd !important;
	text-shadow: 0 0 18px rgba(216, 169, 74, .45), 0 2px 0 rgba(0, 0, 0, .85);
}

.case-opening-subtitle {
	text-align: center;
	margin: 0 0 26px;
	color: rgba(255, 238, 201, .72);
	font-size: 15px;
}

.case-roll-window {
	height: 248px !important;
	border-color: rgba(255, 203, 105, .46) !important;
	background:
		linear-gradient(90deg, rgba(255, 189, 70, .08), transparent 22%, transparent 78%, rgba(255, 189, 70, .08)),
		rgba(4, 4, 5, .84) !important;
}

.case-roll-track {
	gap: 18px !important;
	padding: 22px 0 !important;
}

.case-roll-track.is-rolling {
	animation: caseRollBig 5.45s cubic-bezier(.08, .72, .14, 1) forwards !important;
}

.case-roll-prize {
	flex: 0 0 218px !important;
	height: 190px !important;
	flex-direction: column !important;
	justify-content: center !important;
	gap: 14px !important;
	border-width: 2px !important;
	box-shadow: inset 0 0 22px rgba(255,255,255,.05), 0 16px 38px rgba(0,0,0,.38);
}

.case-roll-prize img,
.case-roll-prize i {
	width: 74px !important;
	height: 74px !important;
	font-size: 34px !important;
}

.case-roll-prize span {
	max-width: 180px !important;
	font-size: 15px !important;
	line-height: 1.25;
	text-align: center;
}

.case-roll-pointer {
	top: 74px !important;
	bottom: 48px !important;
	box-shadow: 0 0 22px rgba(255, 205, 95, .8);
}

@keyframes caseRollBig {
	0% { transform: translateX(0); }
	64% { transform: translateX(-2450px); }
	86% { transform: translateX(-2680px); }
	100% { transform: translateX(-2600px); }
}

.ranking-class-tabs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 14px;
	margin: 22px 0 28px;
}

.ranking-class-tab {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 78px;
	padding: 12px 16px;
	border: 1px solid rgba(216, 169, 74, .28);
	background:
		linear-gradient(135deg, rgba(13, 15, 19, .82), rgba(5, 7, 11, .66)),
		radial-gradient(circle at 28px 50%, rgba(216, 169, 74, .16), transparent 42px);
	color: rgba(255, 238, 201, .76);
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .02em;
	transition: border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.ranking-class-tab:hover,
.ranking-class-tab.active {
	color: #fff0bd;
	border-color: rgba(255, 203, 105, .72);
	background:
		linear-gradient(135deg, rgba(28, 21, 12, .88), rgba(5, 7, 11, .72)),
		radial-gradient(circle at 32px 50%, rgba(255, 207, 99, .22), transparent 48px);
	box-shadow: 0 0 28px rgba(216, 169, 74, .2), inset 0 0 24px rgba(255, 203, 105, .1);
	transform: translateY(-1px);
}

.ranking-class-tab img,
.ranking-all-icon {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	background: rgba(0, 0, 0, .38);
	border: 1px solid rgba(255, 222, 145, .4);
	box-shadow: 0 0 0 3px rgba(0, 0, 0, .28), 0 0 18px rgba(216, 169, 74, .16);
}

.ranking-class-tab img {
	padding: 2px;
}

.ranking-all-icon i {
	color: #ffd36a;
	font-size: 24px;
}

.ranking-job-icon {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid rgba(255, 222, 145, .45);
	background: rgba(0, 0, 0, .36);
	box-shadow: 0 0 0 3px rgba(0, 0, 0, .28), 0 0 18px rgba(216, 169, 74, .15);
}

.ranking-job-icon-empty {
	display: grid;
	place-items: center;
	color: #ffd36a;
}

.ranking-class-cell {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 150px;
	font-weight: 800;
	text-transform: uppercase;
	color: rgba(255, 238, 201, .84);
}

.ranking-table td {
	height: 72px !important;
}

.ranking-empty {
	padding: 26px !important;
	text-align: center;
	color: rgba(255, 238, 201, .72);
}

.ranking-clean-page {
	width: min(1320px, calc(100vw - 48px));
}

.ranking-card {
	width: 100%;
	max-width: none !important;
	border-color: rgba(238, 187, 84, .34);
	background:
		linear-gradient(135deg, rgba(8, 11, 16, .84), rgba(7, 5, 4, .74)),
		radial-gradient(circle at 72% 0%, rgba(64, 116, 177, .18), transparent 340px) !important;
	box-shadow: 0 22px 70px rgba(0, 0, 0, .42), inset 0 0 90px rgba(228, 157, 48, .05);
}

.ranking-heading {
	padding-bottom: 18px;
}

.ranking-heading p {
	margin: 8px 0 0;
	color: rgba(255, 239, 204, .72);
	font-family: "Montserrat", "Ebrima", Arial, sans-serif;
	font-size: 14px;
}

.ranking-switch {
	padding: 18px 30px 6px;
}

.ranking-switch a {
	min-width: 148px;
	padding: 13px 22px;
	font-family: "Montserrat", "Ebrima", Arial, sans-serif;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0;
}

.ranking-class-tabs {
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 12px;
	margin: 18px 30px 30px;
}

.ranking-class-tab {
	min-height: 92px;
	padding: 14px 18px;
	gap: 16px;
	letter-spacing: 0;
	border-color: rgba(229, 176, 76, .34);
	background:
		linear-gradient(135deg, rgba(8, 10, 14, .86), rgba(8, 6, 4, .68)),
		radial-gradient(circle at 42px 50%, rgba(238, 190, 95, .16), transparent 66px);
}

.ranking-class-tab:hover,
.ranking-class-tab.active {
	color: #fff2c6;
	background:
		linear-gradient(135deg, rgba(33, 23, 10, .9), rgba(6, 8, 12, .72)),
		radial-gradient(circle at 42px 50%, rgba(255, 212, 112, .24), transparent 72px);
}

.ranking-class-tab img,
.ranking-all-icon {
	width: 70px;
	height: 70px;
	border: 2px solid rgba(255, 221, 139, .7);
	box-shadow: 0 0 0 4px rgba(0, 0, 0, .38), 0 0 24px rgba(229, 176, 76, .24);
}

.ranking-class-tab span {
	line-height: 1.25;
}

.ranking-table-wrap {
	padding: 0 30px 32px;
	overflow-x: auto;
}

.ranking-table {
	min-width: 980px;
	border-spacing: 0 8px;
	border-collapse: separate;
	background: transparent !important;
}

.ranking-table th {
	height: 54px;
	padding: 0 18px;
	background: rgba(0, 0, 0, .34);
	border: 0 !important;
	font-size: 13px;
	letter-spacing: 0;
	text-align: left;
}

.ranking-table th:first-child,
.ranking-table td:first-child {
	width: 72px;
	text-align: center;
}

.ranking-table th:nth-child(4),
.ranking-table th:nth-child(5),
.ranking-table td:nth-child(4),
.ranking-table td:nth-child(5) {
	text-align: right;
}

.ranking-table td {
	height: 74px !important;
	padding: 0 18px;
	border: 0 !important;
	background: rgba(3, 5, 8, .62) !important;
	font-size: 15px;
}

.ranking-table tbody tr {
	background: transparent !important;
}

.ranking-table tbody tr td:first-child {
	border-radius: 8px 0 0 8px;
}

.ranking-table tbody tr td:last-child {
	border-radius: 0 8px 8px 0;
}

.ranking-table tbody tr.rank-1 td {
	background: linear-gradient(90deg, rgba(134, 102, 25, .56), rgba(3, 5, 8, .62)) !important;
}

.ranking-table tbody tr.rank-2 td {
	background: linear-gradient(90deg, rgba(107, 121, 135, .36), rgba(3, 5, 8, .62)) !important;
}

.ranking-table tbody tr.rank-3 td {
	background: linear-gradient(90deg, rgba(126, 75, 40, .36), rgba(3, 5, 8, .62)) !important;
}

.ranking-table tbody tr:hover td {
	background: rgba(27, 19, 9, .78) !important;
}

.ranking-place {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: #ffd978;
	background: rgba(0, 0, 0, .34);
	border: 1px solid rgba(255, 216, 128, .26);
	font-weight: 800;
}

.ranking-class-cell,
.ranking-guild-cell {
	justify-content: flex-start;
	gap: 16px;
	min-width: 0;
}

.ranking-job-icon,
.ranking-guild-icon {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
	border: 2px solid rgba(255, 221, 139, .68);
	background: rgba(0, 0, 0, .46);
	box-shadow: 0 0 0 4px rgba(0, 0, 0, .32), 0 0 22px rgba(229, 176, 76, .2);
}

.ranking-guild-icon {
	display: grid;
	place-items: center;
	color: #ffd879;
	font-size: 24px;
}

.ranking-name,
.ranking-level,
.ranking-exp {
	font-weight: 800;
	color: #fff0c4;
}

.ranking-exp {
	font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
	.ranking-clean-page {
		width: calc(100vw - 20px);
	}

	.ranking-card {
		margin-top: 12px;
	}

	.ranking-class-tabs {
		grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
		margin-left: 14px;
		margin-right: 14px;
	}

	.ranking-class-tab img,
	.ranking-all-icon {
		width: 56px;
		height: 56px;
	}

	.ranking-table-wrap {
		padding-left: 14px;
		padding-right: 14px;
	}
}

/* Draxion ranking refresh */
.ranking-page .ranking-card {
	color: #3a2a17;
	border: 1px solid rgba(255, 214, 128, .72);
	background:
		linear-gradient(135deg, rgba(250, 226, 170, .88), rgba(185, 129, 54, .58)),
		radial-gradient(circle at 18% 12%, rgba(255, 255, 231, .62), transparent 300px),
		radial-gradient(circle at 86% 0%, rgba(255, 185, 82, .34), transparent 360px) !important;
	box-shadow: 0 24px 80px rgba(48, 28, 7, .45), inset 0 1px 0 rgba(255,255,255,.38);
	backdrop-filter: blur(7px);
}

.ranking-page .ranking-heading {
	background: linear-gradient(180deg, rgba(255, 239, 190, .42), rgba(140, 83, 23, .12));
	border-bottom: 1px solid rgba(97, 58, 17, .22);
}

.ranking-page .ranking-heading span {
	color: #8c5a12;
	text-shadow: 0 1px 0 rgba(255,255,255,.45);
}

.ranking-page .ranking-heading h1 {
	color: #fff4c8;
	text-shadow: 0 2px 0 #5a3511, 0 0 22px rgba(255, 221, 133, .48);
}

.ranking-page .ranking-heading p {
	color: #5b3a17;
	font-weight: 700;
}

.ranking-page .ranking-switch a {
	color: #6a4215 !important;
	border-color: rgba(112, 70, 23, .3);
	background: linear-gradient(180deg, rgba(255, 241, 200, .72), rgba(198, 137, 54, .52));
	box-shadow: inset 0 1px 0 rgba(255,255,255,.48), 0 10px 26px rgba(77, 44, 9, .2);
}

.ranking-page .ranking-switch a.active,
.ranking-page .ranking-switch a:hover {
	color: #201308 !important;
	background: linear-gradient(180deg, #fff3c6, #d79334);
	border-color: rgba(255, 232, 151, .82);
}

.ranking-page .ranking-class-tab {
	color: #4c3218;
	border-color: rgba(116, 71, 22, .34);
	background:
		linear-gradient(135deg, rgba(255, 236, 191, .72), rgba(171, 108, 36, .38)),
		radial-gradient(circle at 42px 50%, rgba(255, 245, 202, .72), transparent 76px);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.42), 0 10px 24px rgba(57, 31, 9, .17);
}

.ranking-page .ranking-class-tab:hover,
.ranking-page .ranking-class-tab.active {
	color: #241509;
	border-color: rgba(255, 231, 139, .86);
	background:
		linear-gradient(135deg, rgba(255, 246, 214, .94), rgba(221, 151, 48, .58)),
		radial-gradient(circle at 44px 50%, rgba(255, 255, 236, .92), transparent 78px);
	box-shadow: 0 0 28px rgba(255, 204, 91, .38), inset 0 0 22px rgba(255,255,255,.24);
}

.ranking-page .ranking-class-tab img,
.ranking-page .ranking-all-icon,
.ranking-page .ranking-job-icon,
.ranking-page .ranking-guild-icon {
	background: linear-gradient(180deg, #fff1c0, #b76f1e);
	border-color: rgba(66, 38, 8, .55);
	box-shadow: 0 0 0 4px rgba(255, 238, 184, .42), 0 0 22px rgba(90, 49, 9, .28);
}

.ranking-page .ranking-class-tab img,
.ranking-page .ranking-job-icon {
	object-fit: cover;
	object-position: center;
}

.ranking-page .ranking-all-icon i,
.ranking-page .ranking-guild-icon {
	color: #4a2c0c;
}

.ranking-page .ranking-table th {
	color: #6c4210;
	background: rgba(255, 228, 166, .64) !important;
	border-bottom: 1px solid rgba(96, 57, 14, .24) !important;
	text-shadow: 0 1px 0 rgba(255,255,255,.46);
}

.ranking-page .ranking-table td {
	color: #392510 !important;
	background: rgba(255, 236, 190, .66) !important;
}

.ranking-page .ranking-table tbody tr.rank-1 td {
	background: linear-gradient(90deg, rgba(255, 210, 77, .76), rgba(255, 236, 190, .68)) !important;
}

.ranking-page .ranking-table tbody tr.rank-2 td {
	background: linear-gradient(90deg, rgba(235, 224, 205, .74), rgba(255, 236, 190, .64)) !important;
}

.ranking-page .ranking-table tbody tr.rank-3 td {
	background: linear-gradient(90deg, rgba(218, 150, 83, .58), rgba(255, 236, 190, .64)) !important;
}

.ranking-page .ranking-table tbody tr:hover td {
	background: rgba(255, 246, 214, .9) !important;
}

.ranking-page .ranking-place {
	color: #fff0b8;
	background: linear-gradient(180deg, #8b5818, #2d1a07);
	border-color: rgba(255, 230, 139, .68);
}

.ranking-page .ranking-class-cell,
.ranking-page .ranking-guild-cell {
	color: #402812;
}

.ranking-page .ranking-name,
.ranking-page .ranking-level,
.ranking-page .ranking-exp {
	color: #2d1c0c;
}

/* Draxion ranking final tone */
.ranking-page .ranking-card {
	color: #f5dfb5;
	border: 1px solid rgba(216, 169, 74, .48);
	background:
		linear-gradient(135deg, rgba(20, 13, 7, .78), rgba(7, 10, 15, .7)),
		radial-gradient(circle at 18% 0%, rgba(218, 143, 45, .18), transparent 340px),
		radial-gradient(circle at 86% 0%, rgba(49, 104, 156, .18), transparent 380px) !important;
	box-shadow: 0 24px 78px rgba(0, 0, 0, .48), inset 0 0 80px rgba(216, 169, 74, .06);
	backdrop-filter: blur(6px);
}

.ranking-page .ranking-heading {
	background: linear-gradient(180deg, rgba(255, 200, 97, .08), rgba(0, 0, 0, .08));
	border-bottom: 1px solid rgba(216, 169, 74, .24);
}

.ranking-page .ranking-heading span {
	color: #d8a94a;
	text-shadow: 0 0 12px rgba(216, 169, 74, .18);
}

.ranking-page .ranking-heading h1 {
	color: #ffedc3;
	text-shadow: 0 2px 0 rgba(0,0,0,.58), 0 0 22px rgba(216, 169, 74, .22);
}

.ranking-page .ranking-heading p {
	color: rgba(255, 238, 201, .75);
	font-weight: 600;
}

.ranking-page .ranking-switch a {
	color: #f5dfb5 !important;
	border-color: rgba(216, 169, 74, .34);
	background: rgba(8, 6, 5, .46);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 24px rgba(0, 0, 0, .22);
}

.ranking-page .ranking-switch a.active,
.ranking-page .ranking-switch a:hover {
	color: #171009 !important;
	background: linear-gradient(180deg, #ffe9a9, #c7832b);
	border-color: rgba(255, 232, 151, .78);
}

.ranking-page .ranking-class-tab {
	color: rgba(255, 238, 201, .86);
	border-color: rgba(216, 169, 74, .36);
	background:
		linear-gradient(135deg, rgba(18, 13, 8, .72), rgba(7, 10, 14, .62)),
		radial-gradient(circle at 44px 50%, rgba(216, 169, 74, .14), transparent 76px);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 12px 26px rgba(0, 0, 0, .2);
}

.ranking-page .ranking-class-tab:hover,
.ranking-page .ranking-class-tab.active {
	color: #fff2c6;
	border-color: rgba(255, 211, 105, .78);
	background:
		linear-gradient(135deg, rgba(39, 25, 10, .82), rgba(8, 11, 16, .66)),
		radial-gradient(circle at 44px 50%, rgba(255, 203, 87, .22), transparent 78px);
	box-shadow: 0 0 28px rgba(216, 169, 74, .24), inset 0 0 22px rgba(255, 203, 105, .08);
}

.ranking-page .ranking-class-tab img,
.ranking-page .ranking-all-icon,
.ranking-page .ranking-job-icon,
.ranking-page .ranking-guild-icon {
	background: rgba(0, 0, 0, .42);
	border-color: rgba(255, 222, 145, .58);
	box-shadow: 0 0 0 4px rgba(0, 0, 0, .32), 0 0 22px rgba(216, 169, 74, .18);
}

.ranking-page .ranking-all-icon i,
.ranking-page .ranking-guild-icon {
	color: #ffd36a;
}

.ranking-page .ranking-table th {
	color: #d8a94a;
	background: rgba(0, 0, 0, .3) !important;
	border-bottom: 1px solid rgba(216, 169, 74, .22) !important;
	text-shadow: none;
}

.ranking-page .ranking-table td {
	color: #f2dfbd !important;
	background: rgba(7, 7, 8, .48) !important;
}

.ranking-page .ranking-table tbody tr.rank-1 td {
	background: linear-gradient(90deg, rgba(126, 95, 29, .48), rgba(7, 7, 8, .48)) !important;
}

.ranking-page .ranking-table tbody tr.rank-2 td {
	background: linear-gradient(90deg, rgba(73, 83, 93, .38), rgba(7, 7, 8, .48)) !important;
}

.ranking-page .ranking-table tbody tr.rank-3 td {
	background: linear-gradient(90deg, rgba(113, 70, 39, .34), rgba(7, 7, 8, .48)) !important;
}

.ranking-page .ranking-table tbody tr:hover td {
	background: rgba(45, 29, 10, .72) !important;
}

.ranking-page .ranking-place {
	color: #ffd879;
	background: rgba(0, 0, 0, .36);
	border-color: rgba(255, 216, 128, .36);
}

.ranking-page .ranking-class-cell,
.ranking-page .ranking-guild-cell,
.ranking-page .ranking-name,
.ranking-page .ranking-level,
.ranking-page .ranking-exp {
	color: #ffedc3;
}

/* Draxion rankings: compact cards instead of the legacy table. */
.leaderboard-list {
	display: grid;
	gap: 10px;
	margin-top: 24px;
}

.leaderboard-entry {
	position: relative;
	display: grid;
	grid-template-columns: 74px minmax(260px, 1fr) minmax(330px, .9fr);
	align-items: stretch;
	min-height: 90px;
	overflow: hidden;
	border: 1px solid rgba(226, 175, 77, .2);
	background: linear-gradient(100deg, rgba(34, 22, 12, .86), rgba(8, 11, 16, .9));
	box-shadow: inset 0 1px rgba(255, 255, 255, .025), 0 8px 24px rgba(0, 0, 0, .16);
	transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.leaderboard-entry:hover {
	transform: translateY(-1px);
	border-color: rgba(255, 204, 100, .52);
	background: linear-gradient(100deg, rgba(59, 37, 15, .92), rgba(10, 14, 21, .94));
}

.leaderboard-entry.rank-1 { border-color: rgba(255, 214, 95, .6); background: linear-gradient(100deg, rgba(106, 72, 20, .72), rgba(10, 13, 18, .94) 65%); }
.leaderboard-entry.rank-2 { border-color: rgba(190, 203, 216, .42); background: linear-gradient(100deg, rgba(61, 72, 82, .62), rgba(10, 13, 18, .94) 65%); }
.leaderboard-entry.rank-3 { border-color: rgba(211, 132, 74, .42); background: linear-gradient(100deg, rgba(93, 49, 24, .64), rgba(10, 13, 18, .94) 65%); }

.leaderboard-place {
	display: grid;
	place-items: center;
	border-right: 1px solid rgba(226, 175, 77, .16);
	background: rgba(0, 0, 0, .22);
}

.leaderboard-place span {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	color: #ffd879;
	font-family: "Marcellus", Georgia, serif;
	font-size: 20px;
	border: 1px solid rgba(255, 216, 121, .42);
	border-radius: 50%;
	background: rgba(0, 0, 0, .34);
}

.leaderboard-player {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
	padding: 14px 20px;
}

.leaderboard-player > div { min-width: 0; }
.leaderboard-player span { display: block; color: #c69b4a; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.leaderboard-player strong { display: block; overflow: hidden; margin-top: 5px; color: #fff0c9; font-family: "Marcellus", Georgia, serif; font-size: 23px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }

.leaderboard-player .ranking-job-icon,
.leaderboard-player .ranking-guild-icon {
	flex: 0 0 56px;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	box-sizing: border-box;
	border: 1px solid rgba(255, 211, 113, .42);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(88, 58, 23, .8), rgba(4, 6, 9, .94));
	box-shadow: 0 0 20px rgba(214, 157, 53, .13);
}

.leaderboard-player img.ranking-job-icon { object-fit: cover; }
.leaderboard-player .ranking-guild-icon { color: #f2bd4c; font-size: 24px; }

.leaderboard-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(110px, 1fr));
	align-self: stretch;
	border-left: 1px solid rgba(226, 175, 77, .14);
}

.leaderboard-stats > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-end;
	padding: 12px 20px;
	border-left: 1px solid rgba(226, 175, 77, .09);
}

.leaderboard-stats > div:first-child { border-left: 0; }
.leaderboard-stats span { color: rgba(235, 211, 166, .58); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.leaderboard-stats strong { margin-top: 5px; color: #ffe2a0; font-size: 18px; white-space: nowrap; }
.leaderboard-guild-stats { grid-template-columns: repeat(3, minmax(90px, 1fr)); }

/* Siege calendar. */
.siege-events-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	padding: 26px;
}

.siege-event-card {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(224, 172, 72, .3);
	background: linear-gradient(145deg, rgba(29, 20, 12, .9), rgba(5, 9, 14, .94));
	box-shadow: 0 18px 50px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .03);
}

.siege-event-card:before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(circle at 15% 10%, rgba(225, 163, 56, .14), transparent 35%);
}

.siege-event-image {
	position: relative;
	height: 205px;
	background-position: center;
	background-size: cover;
	border-bottom: 1px solid rgba(224, 172, 72, .22);
	box-shadow: inset 0 -70px 70px rgba(5, 8, 12, .72);
}

.siege-event-image:after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(2, 5, 9, .05), rgba(5, 8, 13, .63));
}

.siege-dratan .siege-event-image {
	background-image: url("../img/bg_theostomb.png");
}

.siege-kandant .siege-event-image {
	background-image: url("../img/bg_merak.jpg");
}

.siege-event-top {
	position: relative;
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 22px;
	border-bottom: 1px solid rgba(224, 172, 72, .17);
}

.siege-event-icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	color: #171008;
	font-size: 22px;
	border: 1px solid rgba(255, 235, 164, .65);
	background: linear-gradient(180deg, #ffe6a0, #b66f1d);
	box-shadow: 0 0 24px rgba(226, 165, 56, .2);
}

.siege-event-top span { color: #c89438; font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.siege-event-top h2 { margin: 5px 0 0; color: #fff0ca; font-family: "Marcellus", Georgia, serif; font-size: 27px; font-weight: 400; }

.siege-schedule {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	padding: 14px 22px;
	color: #d7b66f;
	background: rgba(180, 112, 26, .08);
}

.siege-schedule span { font-size: 12px; }
.siege-schedule strong { color: #ffd775; font-size: 14px; white-space: nowrap; }

.siege-details { position: relative; margin: 0; padding: 10px 22px 20px; }
.siege-details > div { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid rgba(224, 172, 72, .11); }
.siege-details > div:last-child { border-bottom: 0; }
.siege-details dt { color: rgba(237, 217, 179, .58); }
.siege-details dd { margin: 0; color: #ffe6ad; font-weight: 700; text-align: right; }

@media (max-width: 920px) {
	.leaderboard-entry { grid-template-columns: 62px minmax(0, 1fr); }
	.leaderboard-stats { grid-column: 1 / -1; border-top: 1px solid rgba(226, 175, 77, .14); border-left: 0; }
	.siege-events-grid { grid-template-columns: 1fr; padding: 16px; }
}

@media (max-width: 560px) {
	.leaderboard-player { padding: 12px; }
	.leaderboard-player .ranking-job-icon,
	.leaderboard-player .ranking-guild-icon { flex-basis: 46px; width: 46px; height: 46px; }
	.leaderboard-player strong { font-size: 19px; }
	.leaderboard-stats > div { padding: 10px 8px; align-items: center; text-align: center; }
	.leaderboard-guild-stats { grid-template-columns: 1fr 1fr; }
	.leaderboard-guild-stats > div:last-child { grid-column: 1 / -1; border-top: 1px solid rgba(226, 175, 77, .09); }
	.siege-schedule,
	.siege-details > div { align-items: flex-start; flex-direction: column; }
	.siege-details dd { text-align: left; }
}

/* RU/EN navigation and final responsive layer. */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	width: 100%;
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
}

body {
	width: 100%;
	overflow-x: hidden;
}

img,
svg,
video {
	max-width: 100%;
}

.site-menu-links {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.mobile-menu-toggle {
	display: none;
}

.site-language-switch {
	display: inline-flex;
	flex: 0 0 auto;
	gap: 4px;
	margin-left: 4px;
}

#menu .site-language-switch a,
#menu .site-language-switch a:hover {
	min-width: 36px;
	min-height: 34px;
	padding: 0 8px;
	color: rgba(255, 239, 207, .68);
	font-size: 11px;
	border: 1px solid rgba(216, 169, 74, .24);
	background: rgba(0, 0, 0, .22);
	transform: none;
}

#menu .site-language-switch a.active,
#menu .site-language-switch a:hover {
	color: #1b1107;
	border-color: rgba(255, 230, 151, .78);
	background: linear-gradient(180deg, #ffe8a6, #bd7725);
}

@media (max-width: 1180px) and (min-width: 901px) {
	.site-menu-links {
		flex: 1 1 auto;
	}

	#menu .site-menu-links > a,
	#menu .site-menu-links > .menu-community > a {
		padding-left: 8px;
		padding-right: 8px;
		font-size: 11px;
	}
}

@media (max-width: 900px) {
	#header {
		min-height: 380px !important;
	}

	#menu {
		width: calc(100% - 20px) !important;
		padding-top: 10px !important;
	}

	#menu_arrange {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 8px;
		padding: 8px !important;
	}

	.mobile-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: flex-start;
		gap: 9px;
		width: max-content;
		min-height: 40px;
		padding: 0 13px;
		color: #ffe6ae;
		font: 800 12px "Montserrat", "Ebrima", Arial, sans-serif;
		text-transform: uppercase;
		border: 1px solid rgba(216, 169, 74, .34);
		background: rgba(0, 0, 0, .3);
		cursor: pointer;
	}

	.mobile-menu-toggle i {
		color: #d8a94a;
		font-size: 15px;
	}

	.site-language-switch {
		justify-self: end;
		margin: 0;
	}

	.site-menu-links {
		grid-column: 1 / -1;
		display: none;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		padding-top: 6px;
		border-top: 1px solid rgba(216, 169, 74, .16);
	}

	#menu.menu-open .site-menu-links {
		display: flex;
	}

	#menu .site-menu-links > a,
	#menu .site-menu-links > a:hover,
	#menu .menu-community > a,
	#menu .menu-community > a:hover {
		flex: none;
		justify-content: flex-start;
		width: 100%;
		min-height: 42px;
		padding: 0 12px;
		font-size: 12px;
	}

	.menu-community {
		display: block;
		width: 100%;
	}

	.community-dropdown {
		position: static;
		display: grid;
		width: 100%;
		min-width: 0;
		padding: 0 0 4px 18px;
		border: 0;
		background: transparent;
		box-shadow: none;
		transform: none;
		opacity: 1;
		pointer-events: auto;
	}

	#menu .community-dropdown a,
	#menu .community-dropdown a:hover {
		min-height: 36px;
		font-size: 11px;
	}

	.hero-panel {
		width: calc(100% - 24px) !important;
		margin-top: 25px !important;
		gap: 8px !important;
	}

	.hero-logo-img {
		width: min(410px, 74vw) !important;
		max-height: 205px !important;
	}

	.hero-online {
		flex-wrap: wrap;
		gap: 8px 18px !important;
		font-size: 14px !important;
	}

	.hero-online strong {
		font-size: 20px !important;
	}

	#warpper,
	#warpper2,
	.clean-page-wrap,
	.news-page-wrap,
	.auth-page-wrap,
	.ranking-page,
	.donate-page,
	.download-page {
		min-height: 0 !important;
		padding-top: 18px !important;
	}

	#schema,
	.clean-page,
	.home-clean-content,
	.ranking-clean-page,
	.news-page,
	.auth-page,
	.site-footer-inner {
		width: calc(100% - 20px) !important;
		max-width: none !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	.clean-card,
	.ranking-card,
	.siege-page-card,
	.home-config-panel,
	.home-siege-panel {
		max-width: 100%;
	}

	.clean-heading,
	.ranking-heading,
	.home-config-heading {
		padding: 20px 18px !important;
	}

	.clean-heading h1,
	.ranking-heading h1,
	.home-config-heading h1 {
		font-size: clamp(28px, 8vw, 38px) !important;
		line-height: 1.1 !important;
	}

	.auth-grid,
	.donate-grid,
	.download-links,
	.home-castles,
	.home-info-cards,
	.server-config-grid,
	.siege-events-grid,
	.account-action-grid {
		grid-template-columns: 1fr !important;
	}

	.payment-form,
	.account-panel,
	.auth-card-body,
	.download-card,
	.donate-card {
		padding-left: 14px !important;
		padding-right: 14px !important;
	}

	input,
	select,
	textarea,
	button {
		max-width: 100%;
		font-size: 16px;
	}

	.payment-customer-fields,
	.payment-provider-list,
	.payment-package-grid {
		grid-template-columns: 1fr !important;
	}

	.ranking-switch {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		padding: 14px !important;
	}

	.ranking-switch a {
		min-width: 0 !important;
		padding: 11px 8px !important;
		text-align: center;
	}

	.ranking-class-tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px !important;
		margin: 14px !important;
	}

	.ranking-class-tab {
		min-height: 68px !important;
		padding: 8px !important;
		gap: 9px !important;
		font-size: 11px !important;
	}

	.ranking-class-tab img,
	.ranking-all-icon {
		width: 46px !important;
		height: 46px !important;
	}

	.ranking-table-wrap {
		width: 100%;
		padding: 0 10px 18px !important;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.siege-events-grid {
		padding: 12px !important;
	}

	.siege-event-image {
		height: 170px;
	}

	.site-footer {
		margin-top: 22px;
	}

	.site-footer-inner {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 18px !important;
		padding: 24px 0 !important;
		text-align: center;
	}

	.site-footer nav {
		align-items: center !important;
	}
}

@media (max-width: 520px) {
	#header {
		min-height: 330px !important;
	}

	.hero-logo-img {
		width: min(330px, 82vw) !important;
		max-height: 170px !important;
	}

	.hero-online {
		font-size: 12px !important;
	}

	.hero-online strong {
		font-size: 18px !important;
	}

	.ranking-class-tabs {
		grid-template-columns: 1fr !important;
	}

	.leaderboard-entry {
		grid-template-columns: 50px minmax(0, 1fr) !important;
	}

	.leaderboard-player {
		gap: 10px !important;
		padding: 10px !important;
	}

	.leaderboard-player strong {
		font-size: 17px !important;
	}

	.leaderboard-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.siege-event-top,
	.siege-schedule,
	.siege-details {
		padding-left: 14px !important;
		padding-right: 14px !important;
	}

	.siege-event-top h2 {
		font-size: 23px;
	}

	.clean-heading h1,
	.ranking-heading h1,
	.home-config-heading h1 {
		font-size: 28px !important;
	}
}
