/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body
{
    background: #e7decd url('bg.png') center top no-repeat;
    background-size: cover;
    background-attachment: fixed;
    font-size: .75em;
    font-family: Tahoma;
    margin: 0;
    padding: 0;
    color: #696969;
}

a:link
{
    color: #034af3;
    text-decoration: none;
transition:all 0.5s ease-in-out;
-moz-transition:all 0.5s ease-in-out;
-o-transition:all 0.5s ease-in-out;
-webkit-transition:all 0.5s ease-in-out;
}
a:visited
{
    color: #2196F3;
}
a:not(.home-card):hover
{
    color: #F00;
    text-decoration: none;
}
a:active
{
    color: #12eb87;
}

p, ul
{
    margin-bottom: 20px;
    line-height: 1.6em;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
}

h1
{
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}
h2
{
    padding: 0 0 10px 0;
    color: #00779E;
}
h3
{
    font-size: 1.2em;
}
h4
{
    font-size: 1.1em;
}
h5, h6
{
    font-size: 1em;
}

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
    margin-top: 0;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
#container {
    width: 100%;
    position: relative;
}
.wrap-header {
    width: 100%;
    background: url("bg_header.jpg") 50% 0 no-repeat;
}
.header {
width: 1000px;
margin: 0 auto;
position: relative;
}
.wrap-main {
width: 100%;
position: relative;
margin: 0;
min-height: 854px;
}
.inner-main {
  background: url("bg-home.png") top no-repeat;
}
.main {
overflow: visible;
min-height: 1200px;
padding: 0 0 160px 0;
width:1320px;
margin:auto;
position: relative;
}
.wrap-content {
width: 1320px;
margin: 0px;
padding-top: 500px;
}

#sidebar.nouser {
width: 306px !important;

}
#sidebar {
background: none repeat scroll 0 0 #FFFFFF;
border-radius: 3px;
float: right;
margin-right: -10px;
margin-top: 10px;
min-height: 50px;
position: relative;
width: 230px;
border: solid 1px #0D9BC3;
}
.top {
background: url("title.jpg.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
color: #fff;
display: block;
font-size: 17px;
height: 30px;
left: -11px;
line-height: 30px;
padding-left: 35px;
position: absolute;
top: 15px;
width: 177px;
}
#sidebar .top h4, .sub_title strong {
color: #FFFFFF;
font-size: 17px;
line-height: 30px;
margin: 0;
}
#sidebar .middle {
margin-top: 43px;
padding: 15px 24px;
}
.middle fieldset {
border: 0px !important;
margin-bottom: 14px;
}
label {
color: #484848;
display: block;
font-size: 14px;
line-height: 22px;
transition: all 0.218s ease-in-out 0s;
-moz-transition: all 0.218s ease-in-out;
-webkit-transition: all 0.218s ease-in-out;
}
select,input[type="text"], input[type="password"] {
background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
border: 1px solid #E5E5E5;
font-family: Tahoma,Geneva,sans-serif;
padding: 7px;
width: 240px;
border-radius: 3px;
overflow: hidden;
position: relative;
transition: all 0.218s ease-in-out 0s;
-moz-transition: all 0.218s ease-in-out;
-webkit-transition: all 0.218s ease-in-out;
}
.submit_button {
background: url("button1.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
border: medium none;
color: #FFFFFF;
cursor: pointer;
display: block;
font-family: Tahoma,Geneva,sans-serif;
font-size: 13px;
height: 35px;
margin-top: 18px;
opacity: 0.9;
text-transform: uppercase;
transition: all 0.218s ease-in-out 0s;
-moz-transition: all 0.218s ease-in-out;
-webkit-transition: all 0.218s ease-in-out;
width: 117px;
}
.submit_button:hover {
opacity: 1;
}
.other_link_line:hover {
color: #414141;
opacity: 1;
}
.other_link_line {
display: block;
font-family: Tahoma,Geneva,sans-serif;
line-height: 28px;
opacity: 0.7;
transition: all 0.218s ease-in-out 0s;
-moz-transition: all 0.218s ease-in-out;
-webkit-transition: all 0.218s ease-in-out;
font-weight:normal;
}
.register_suggestions_ico {
background: url('small_icon1.png') no-repeat -15px 0;
display: block;
float: left;
height: 17px;
width: 15px;
margin: 4px 8px 0 0;
}

.denied_access_ico {
background: url('small_icon1.png') no-repeat 0 0;
display: block;
float: left;
height: 17px;
width: 15px;
margin: 4px 8px 0 0;
}
a.register {
background: url("button1.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
width: 117px;
height: 23px;
margin-top: -35px;
margin-left: 130px;
position: absolute;
opacity: 0.9;
color: #fff;
text-align: center;
padding-top: 11px;
text-transform: uppercase;
font-size: 13px;
}
.other_link_login {margin-top:10px;}
input[type="submit"]
{
        background: url("button1.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
        border: medium none;
        color: #FFFFFF;
        cursor: pointer;
        display: block;
        font-family: Tahoma,Geneva,sans-serif;
        font-size: 13px;
        height: 35px;
        margin-top: 18px;
        opacity: 0.9;
        text-transform: uppercase;
        transition: all 0.218s ease-in-out 0s;
        -moz-transition: all 0.218s ease-in-out;
        -webkit-transition: all 0.218s ease-in-out;
        width: 117px;
}
div.editor-label {
width: 200px;
float: left;
}
div.editor-submit
{
    width: 300px;
    margin: 0 auto;
    margin-left:200px;
}
.editor-submit p
{
    width: 126px;
    margin: 0px;
    float: left;
}
.line_wallet {
font: 12px/18px MyrialNormal,Tahoma,Geneva,sans-serif;
transition: all 0.318s ease-in-out 0s;
-moz-transition: all 0.318s ease-in-out;
-webkit-transition: all 0.318s ease-in-out;
width: 177px;
height: 30px;
padding: 0 12px;
background: #FFF;
text-align: right;
display: block;
font-size: 13px;
line-height: 33px;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
margin: 5px 0;
-webkit-box-shadow: 0px 1px 5px -1px rgba(0, 0, 0, .5);
box-shadow: 0px 1px 5px -1px rgba(0, 0, 0, .5);
text-align: left;
text-transform: uppercase;
color: #9c9c9c;
}
ul.wallet_block,ul.wallet_block li
{
    list-style: none;
}
.line_wallet_left strong, .line_wallet strong {
display: block;
float: right;
line-height: 30px;
font-weight: normal;
font-family: Tahoma, Geneva, sans-serif;
color: #414141;
}
.coin {
background: url("coin.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
display: inline-block;
float: right;
height: 13px;
margin: 9px 0 0 4px;
width: 15px;
}
.big_nav_right_btn {
background: url("right_tab.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
color: #FFFFFF;
display: block;
font-family: MyrialBold;
font-size: 15px;
height: 47px;
line-height: 47px;
margin-bottom: 5px;
text-align: center;
text-transform: uppercase;
width: 200px;
}
.big_nav_right_btn_h {
background: url("right_tab.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
color: #FFFFFF;
display: block;
font-family: MyrialBold;
font-size: 15px;
height: 47px;
line-height: 47px;
margin-bottom: 5px;
text-align: center;
width: 200px;
}
ul.payx {
float: right;
display: block;
width: 100%;
list-style: none;
margin: 0 -170px 0px 0;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
padding: 0 0 0 30px;
}
ul.payx li {
float: left;
width: 78px;
display: block;
border: 1px solid #ccc;
background: #fff;
text-align: center;
margin: 0 2px 10px 0;
height: 32px;
}
.ideal-radiocheck-label {
display: inline-block;
cursor: pointer;
}
.payx input.ratio_deposite {
display: block;
position: absolute;
margin-top: -18px;
margin-left: 65px;
}
.payform .field-validation-error{margin-top: 9px;}
.page
{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
div.editor-field.Captcha #reCaptcha {
width: 125px;
}
div.editor-field.Captcha img {
margin-top: 6px;
margin-left: 14px;
position: absolute;
}
.cont03 p {
font-size: 13px;
float: left;
font-weight: bold;
color: #00779E;
padding: 0 3px;
}
.cont03 p span.ax 
{
line-height: 12px !important;
display: block;
float: left;
text-align:center;
width: 150px;
margin-left: 0px;
padding:3px 0;
}

.cont03 p span.bx {
line-height: 12px !important;
display: block;
float: left;
font-size: 11px;
color: #303030;
font-weight: normal;
padding: 3px 0;
width: 150px;
margin-left: 0px;
text-align:center;
}
.field-validation-error.validation-summary-errors
{
    width:auto;
    display: block;
    left: 0px;
    position: relative;
    margin-top: 0px;
    height: 20px;
}
a.cont03 {
font-size: 16px;
float: left;
font-weight: bold;
color: #00779E;
font: bold 16px arial;
font-family: Tahoma,Geneva,sans-serif;
width: 220px;
margin: 5px 30px;
}

a.cont03:hover {
    background-color:rgba(0,200,255,0.7);
}

.cont03 {
width: 285px;
height: 65px;
padding: 2px 0 0 16px;
margin: 10px 0;
background: url("category.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
display: block;
float: left;
cursor: pointer;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}
.pad10 {
padding: 0px;
}
.cont03 img {
float: left;
margin: 0;
}
/*-----------------*/
#header
{
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

#header h1
{
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 32px !important;
}

#main
{
    padding: 20px 20px 20px 20px;
    background-color: #fff;
    margin-bottom: 30px;
    _height: 1px; /* only IE6 applies CSS properties starting with an underscore */
    width: 640px !important;
    position: absolute;
    margin-top: 10px;
	min-height: 620px;
	border: solid 1px #0D9BC3;
	margin: 10px 0px;
}
.main.mainfull #main
{
    width: 939px !important;
}
#footer
{
    color: #999;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0;
    font-size: .9em;
}

/* TAB MENU   
----------------------------------------------------------*/
ul#menu
{
    border-bottom: 0px #5C87B2 solid;
    padding: 0 0 0px;
    position: relative;
    margin: 0;
    text-align: left;
    background: #e8eef4;
	border: solid 1px #0D9BC3;
}

ul#menu li
{
    display: inline;
    list-style: none;
}

ul#menu li#greeting
{
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu li a
{
    padding: 10px 65px;
    font-weight: bold;
    text-decoration: none;
    line-height: 0.8em;
    /*background-color: #e8eef4;*/
    color: #034af3;
}
ul#menu li a:hover , ul#menu li.active a
{
    background: linear-gradient(180deg, #fff8dc, #f2e2a2);
    color: #5a4a00;

    box-shadow: 
        inset 0 0 6px rgba(255,215,0,0.4),
        0 2px 6px rgba(0,0,0,0.08);

    border-radius: 6px;
}

ul#menu li a:active
{
    background-color: #a6e2a6;
    text-decoration: none;
}

ul#menu li.selected a
{
    background-color: #fff;
    color: #000;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset 
{
    margin: 1em 0;
    padding: 1em;
    border: 1px solid #CCC;
}

fieldset p 
{
    margin: 2px 12px 10px 10px;
}

legend 
{
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

input[type="text"] 
{
    width: 228px;
    border: 1px solid #CCC;
}

input[type="password"] 
{
    width: 228px;
    border: 1px solid #CCC;
}

/* TABLE
----------------------------------------------------------*/

table 
{
  border: solid 1px #e8eef4;
  border-collapse: collapse;
}

table td 
{
  padding: 5px;   
  border: solid 1px #e8eef4;
}

table th
{
  padding: 6px 5px;
  text-align: left;
  background-color: #e8eef4; 
  border: solid 1px #e8eef4;   
}
a.job
{
    background-color: #333;
    color: #fff;
    border: 1px dashed #fff;
    padding: 5px 15px;
    margin-top: -20px;
 }
/* MISC  
----------------------------------------------------------*/
.clear
{
    clear: both;
}

.error
{
    color:Red;
}

#menucontainer
{
    margin-top:160px;
}

div#title
{
    display:block;
    float:left;
    text-align:left;
}

#logindisplay
{
    font-size:1.1em;
    display:block;
    text-align:right;
    margin:10px;
    color:White;
}

#logindisplay a:link
{
    color: white;
    text-decoration: underline;
}

#logindisplay a:visited
{
    color: white;
    text-decoration: underline;
}

#logindisplay a:hover
{
    color: white;
    text-decoration: none;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
    color: #ff0000;
    display: block;
    left: 499px;
    position: absolute;
    margin-top: -27px;
    width:200px;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label,
.editor-label,
.display-field,
.editor-field
{
    margin: 0.5em 0;
}

.text-box
{
    width: 30em;
}

.text-box.multi-line
{
    height: 6.5em;
}

.tri-state
{
    width: 6em;
}
.field-validation-error.napthe
{
    margin-left: -372px;
    font-size: 14px;
    font-weight: bold;
    width: 500px;
}

.pageul ul li
{
    padding:0 5px;
    float:left;
}
.pageul ul li:hover
{
    background:#dedede;
}
.pageul  a
{
     color:#0880b4;
     
}
.pageul p
{
    float:left;
    padding:0 5px;
}
.pageul ul
{
    float:left;
}
.pageul ul li:firt-child:hover
{
    background:none;
}
.pageul ul li a
{
    color:#0880b4;
}

.pageul ul li.active_pt
{
     background:#dedede;
}
.pagnation {clear: both;color: #000;height: 33px;padding: 20px 0 34px;text-align: center;overflow: hidden;}
.pagnation li  {display: inline;background: none;border-bottom: none;padding-left: 2px;color:#000;}
.pagnation li a{color:#000;border: solid 1px #c0c0c0;}
.pagnation li a.trang{width: 75px;color:#000;border: solid 1px #c0c0c0;}
.pagnation li a.onpage{color:red;border: solid 1px red;}
.pagnation {clear: both;color: #000;height: 33px;padding: 20px 0 34px;text-align: center;overflow: hidden;}
.pagnation li  {display: inline;background: none;border-bottom: none;padding-left: 2px;color:#000;}
.pagnation li a{color:#000}
.pagnation { clear:both; color:#000; padding:16px 0 12px; _padding:16px 0 20px; *padding:16px 0 20px; text-align: center;}
.pagnation a{ display:inline-block; *display:inline; *zoom:1;  margin: 0 2px; width:26px; height:26px; line-height:26px; background:url("../pagenation.jpg") no-repeat 0 0; overflow:hidden;}
.pagnation b{ display:inline-block; *display:inline; *zoom:1;  margin: 0 2px; width:26px; height:26px; line-height:26px; background:url("../pagenation.jpg") no-repeat 0 -30px; overflow:hidden;}
.pagnation a.pre,.pagnation a.after,.pagnation a.last{ width:47px; background:url("../pagenation.jpg") no-repeat -32px 0;}
.pagnation a:link, .pagnation a:visited {color:#000; height:26px; line-height:27px; margin:0 4px; text-decoration:none; outline:none;}
.pagnation .on:link,.pagnation .on:visited{ color:#000; text-decoration:none;}
.pagnation a:hover, .pagnation .on {color:#000; text-decoration:none; background:url("../pagenation.jpg") no-repeat 0 -30px; }
.pagnation a.pre:hover,.pagnation a.after:hover,.pagnation a.last:hover{ width:47px; background:url("../pagenation.jpg") no-repeat -32px -30px;}

ul.huongdan li{color:#00779E;font-size:13px;}
.chuy{color:Red;font-wight:bold;}

.l {
    font-weight: bold;
}

.title_top_bg
	{
	  font-weight: bold;
	  color: #E00;
	  background-color: #EEE8AA;
	  text-align: center;
	}
	
.title_bot_bg
	{
	 text-align: center;
	 font-weight: bold;
	}
	
.rank-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    max-width: 620px; /* 4 nút mỗi hàng */
    margin: 0 auto;
}

/* Nút tab */
.rank-tabs .title_rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 118px;
    height: 32px;

    margin: 4px 12px 4px 6px;
    padding: 0;

    background: url("btn-top2.png") no-repeat center center;
    background-size: 100% 100%;

    color: #6a3d00 !important;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    line-height: 32px;
    text-align: center;
    text-decoration: none;

    text-shadow:
        0 1px 0 rgba(255,255,255,0.85),
        0 0 4px rgba(255,215,120,0.35);

    border: none;
    box-shadow: none;

    position: relative;
    transition: all 0.25s ease;
}

/* Dấu X giữa các nút */
.rank-tabs .title_rank:not(:last-child)::before {
    content: "";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;

    background: url("img-x.png") no-repeat center center;
    background-size: contain;

    pointer-events: none;
    z-index: 5;
}

/* Ẩn dấu X ở cuối mỗi hàng */
.rank-tabs .title_rank:nth-child(4)::before,
.rank-tabs .title_rank:nth-child(8)::before {
    display: none;
}

/* Hover */
.rank-tabs .title_rank:hover {
    color: #f3d58a !important; /* vàng nhẹ hơn */

    text-shadow:
        0 0 3px rgba(255, 220, 120, 0.45),
        0 0 6px rgba(255, 180, 50, 0.25);

    transform: translateY(-1px);

    filter: brightness(1.03);
}

/* Tab đang active */
.rank-tabs .title_rank.active,
.rank-tabs .title_rank.current {
    color: #f6dd9a !important;

    text-shadow:
        0 0 4px rgba(255, 220, 120, 0.55),
        0 0 8px rgba(255, 180, 50, 0.30);

    filter: brightness(1.05);
}

.user-info-title {
    background: #0d9bc3;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    text-align: center;
    font-size: 11px;
}

.user-info-content {
    padding: 20px;
    color: #484848;
    font-size: 13px;
    text-align: left;
}

.hotline {
    position: absolute;
    top: -93px;
    right: 0;
    z-index: 999;
}

.hl_img {
    width: 232px;
    height: 93px;
    background: url('hotline.png') no-repeat right center;
    animation: anihotline 10s ease-in-out infinite;
    overflow: hidden;
}

.hotline:before {
    content: "";
    width: 21px;
    height: 93px;
    background: url('hotline_pre.png') no-repeat center;
	background-size: 100% 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
}

@keyframes anihotline {
    0%   { width: 38px; }
    10%  { width: 38px; }
    20%  { width: 232px; }
    80%  { width: 232px; }
    90%  { width: 38px; }
    100% { width: 38px; }
}

.btn-send {
    background: url("button1.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: none;
    color: #fff;
    cursor: pointer;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 13px;
    height: 35px;
    width: 100px;
    text-transform: uppercase;
}

#emoji_box {
    display: none;
    background: #0f2235;
    padding: 12px;
    border-radius: 12px;
    margin-top: 8px;
    width: 100%;
    max-width: 420px;

    display: grid;
    grid-template-columns: repeat(8, 1fr); /* 8 cột */
    gap: 8px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

#emoji_box span {
    font-size: 24px; /* 🔥 to hơn */
    text-align: center;
    padding: 8px;
    cursor: pointer;
    border-radius: 10px;
    transition: 0.2s;
}

#emoji_box span:hover {
    background: #1e3a56;
    transform: scale(1.25);
}

/* ===== FLOAT CONTACT ===== */
.contact-float {
    position: fixed;
    right: 25px;
    bottom: 90px;
    z-index: 99999;
    font-family: Arial, sans-serif;
}

/* ===== MENU ===== */
.contact-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 170px;
    background: #f5f6f7;
    padding: 12px;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    border: 1px solid #e5e5e5;

    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all 0.25s ease;
}

.contact-menu:not(.show) {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

/* ===== ITEM ===== */
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    text-decoration: none;
}

.contact-item:last-child {
    margin-bottom: 0;
}

/* Icon tròn bên trái */
.contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Nút chữ bên phải */
.contact-label {
    flex: 1;
    display: block;
    padding: 11px 14px;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: 0.2s;
}

.contact-item:hover .contact-label {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* Màu từng nút */
.contact-label.zalo {
    background: #007bff;
}

.contact-label.messenger {
    background: #0084ff;
}

/* ===== BUTTON OPEN/CLOSE ===== */
.contact-btn {
    background: #ffffff;
    border-radius: 40px;
    padding: 5px 14px 5px 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: 2px solid #d8d8d8;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-weight: bold;
    color: #666;
    position: relative;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: scale(1.05);
}

.contact-btn .icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #00a884;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-btn .dot {
    width: 10px;
    height: 10px;
    background: orange;
    border-radius: 50%;
    position: absolute;
    top: -3px;
    right: -3px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .contact-float {
        right: 15px;
        bottom: 80px;
    }

    .contact-menu {
        width: 160px;
    }

    .contact-label {
        font-size: 14px;
        padding: 10px 12px;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    width: 100%;
    padding: 5px 0;
    background: #1b1b1b;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    max-width: 1200px;
    margin: auto;
    color: #aaa;
    font-family: Arial, sans-serif;
}

.footer .copyright {
    font-size: 14px;
    letter-spacing: 2px;
    color: #ddd;
    margin-bottom: 10px;
}

.footer .warning {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.footer .dev {
    font-size: 11px;
    color: #666;
    letter-spacing: 1px;
}

/* 🔥 ANIMATION MƯỢT */
@keyframes scrollUp {
    0%   { transform: translateY(100%); }
    100% { transform: translateY(-100%); }
}

/* ===== POPUP NOTICE ===== */
#site-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: fit-content;
    max-width: 420px;
    min-width: 280px;
    white-space: nowrap;

    padding: 14px 22px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    z-index: 99999;

    box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}

.site-alert-box {
    display: inline-block;
    max-width: 90%;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
    position: relative;
    animation: popupScale 0.25s ease;
    font-family: Arial, sans-serif;
    width: auto;
    min-width: 200px;
    word-wrap: break-word;
    white-space: normal;
}

.site-alert.success .site-alert-box {
    background: linear-gradient(180deg, #183b18, #102510);
    border: 2px solid #2ecc71;
    color: #d4ffd4;
}

.site-alert.error .site-alert-box {
    background: linear-gradient(180deg, #3b1818, #251010);
    border: 2px solid #ff4d4d;
    color: #ffd4d4;
}

.alert-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 12px;
}

.alert-message {
    font-size: 16px;
    line-height: 1.6;
}

.alert-close {
    position: absolute;
    top: 10px;
    right: 14px;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
}

@keyframes popupScale {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.alert-error {
    background: rgba(180, 30, 30, 0.95);
    color: #fff;
    border: 1px solid #ff6666;
}

.alert-success {
    background: rgba(20, 120, 20, 0.95);
    color: #fff;
    border: 1px solid #66ff99;
}

.sro-icon {
    width: 100px;
    height: 50px;
    padding: 4px;
    border-radius: 8px;
    background: transparent !important;
    transition: all 0.25s ease;
    cursor: pointer;
    filter: drop-shadow(0 0 2px black);
}

.sro-icon:hover {
    transform: translateY(-6px) scale(1.12);
    filter: drop-shadow(0 0 10px gold);
}

.sro-icon:active {
    transform: scale(0.95);
}

@keyframes sroGlow {
    0%   { filter: drop-shadow(0 0 5px gold); }
    50%  { filter: drop-shadow(0 0 15px gold); }
}

.sro-icon:hover {
    animation: sroGlow 1.2s infinite;
}

/* KHUNG CHÍNH */
#right-visit-box {
    position: fixed;
    right: 0px;
    top: 200px;
    width: 260px;
    background: #1f2a30;
    border: 2px solid #00c3ff;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    color: #fff;
    z-index: 9999;
    box-shadow: 0 0 15px rgba(0,200,255,0.5);
}

/* PHẦN TRÊN */
.visit-top {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,255,255,0.3); /* 🔥 đường kẻ */
    margin-bottom: 10px;
}

/* TITLE (giống nhau cho cả 2 phần) */
.visit-title {
    font-size: 13px;
    color: #9fe8ff;
    margin-bottom: 5px;
}

/* SỐ */
.visit-number {
    font-size: 22px;
    font-weight: bold;
    color: yellow;
}

/* PHẦN DƯỚI */
.visit-bottom {
    padding-top: 5px;
}

/* IP */
#your-ip {
    margin-top: 5px;
    color: #00ffcc;
    font-weight: bold;
    word-break: break-all;
    line-height: 1.4;
}

/* ================= FIX MOBILE = HIỂN THỊ PC ================= */

/* GIỮ NGUYÊN SIDEBAR + CONTENT */
#main {
    width: 640px !important;
}

/* FIX POPUP BỊ CHE (OPTIONAL) */
#right-visit-box {
    max-width: 90%;
}

/* CONTACT FLOAT KHÔNG CHE */
.contact-float {
    bottom: 80px !important;
}

/* ===== FIX MENU KHÔNG XUỐNG DÒNG ===== */
ul#menu {
    white-space: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
}

ul#menu li {
    display: inline-block !important;
}

ul#menu li a {
    white-space: nowrap;
}

/* ẨN SCROLL BAR (cho đẹp) */
ul#menu::-webkit-scrollbar {
    display: none;
}

/* ===== LEFT SIDEBAR (ADD ONLY) ===== */
/* LEFT SIDEBAR = COPY SIDEBAR */
#left-sidebar {
    background: transparent;

    border: none;

    border-radius: 3px;

    float: left;

    margin-top: 10px;
    margin-left: -10px;

    min-height: 50px;

    position: relative;

    width: 306px;
}

.information-box,
.fortress-box{
    background: #fff;
    border: solid 1px #0D9BC3;
}

#left-sidebar {
    overflow: visible;
}

/* đẩy main qua phải để không đè */
#main {
    margin-left: 320px;
}

/* giữ sidebar phải đúng vị trí */
#sidebar {
    float: right !important;
}

/* FIX title LEFT SIDEBAR = FULL WIDTH */
#left-sidebar .top {
    position: absolute;
    top: 14px;
    left: -12px;
}

#left-sidebar .top h4 {
    color: #FFFFFF;
    font-size: 17px;
    line-height: 30px;
    margin: 0;
}

/* ===== FIX MENU CHUẨN - KHÔNG MẤT NỘI DUNG ===== */

#menucontainer {
    width: 640px;          /* bằng #main */
    margin-left: 375px;    /* né left-sidebar */
    margin-top: 280px;      /* chỉ cách nhẹ phía trên */
}

ul#menu {
    width: 994px;
}

.fortress-title{
    background: url("title.jpg.png") repeat scroll 0 0 rgba(0, 0, 0, 0);

    color: #fff;

    display: block;

    font-size: 17px;

    height: 30px;

    line-height: 30px;

    padding-left: 35px;

    position: absolute;

    top: 15px;

    left: -12px;

    width: 177px;

    font-weight: bold;

    z-index: 5;
}

.fortress-box{
    background: #fff;
    border: solid 1px #0D9BC3;
    border-radius: 3px;
    position: relative;
    margin-top: 20px;
    overflow: visible;
    padding-top: 55px;
}

/* ===== SERVER INFORMATION ===== */

.information-box{
    background: #fff;
    border-radius: 3px;
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
    min-height: 50px;
    overflow: visible;
}

/* title giống đăng nhập */
.information-box .top{
background: url("title.jpg.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
color: #fff;
display: block;
font-size: 17px;
height: 30px;
left: -12px;
line-height: 30px;
padding-left: 35px;
position: absolute;
top: 15px;
width: 177px;
}

.information-box .top h4{
    color: #FFFFFF;
    font-size: 17px;
    line-height: 30px;
    margin: 0;
}

/* content */
.information-box .middle{
    margin-top: 43px;
    padding: 15px 12px;
}

#information-list{
    font-size: 13px;
    color: #333;
    line-height: 1.6;

    border: 1px solid #e5e5e5;

    background: #fff;
}

.info-row {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

#information-list div:last-child {
    border-bottom: none;
}

/* ===== ROW ===== */
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 12px;
    font-size: 13px;

    border-bottom: 1px solid #eee;
}

/* bỏ border cuối */
.info-row:last-child {
    border-bottom: none;
}

/* ===== LEFT ===== */
.info-left {
    position: relative;
    padding-left: 20px;
    font-weight: 500;
}

/* icon nhỏ bên trái (giả icon như hình) */
.info-left:before {
    content: "✦"; /* bạn có thể đổi icon */
    position: absolute;
    left: 0;
    color: #888;
}

/* ===== RIGHT ===== */
.info-right {
    font-weight: bold;
    color: #333;
}

/* hover nhẹ cho đẹp */
.info-row:hover {
    background: #f9f9f9;
}

/* ===== BANNER ===== */
.home-banner {
    padding: 0px;
    border: 2px solid #0d9bc3;
    border-radius: 8px;
    background: #fff;
}

.home-banner img {
    width: 100%;
    border-radius: 6px;
    display: block;
}

/* ===== TOP ===== */
.home-top {
    margin-bottom: 15px;
}

/* TAB */
.home-tabs {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* HEADER */
.tab-header {
    display: flex;
    border-bottom: 1px solid #eee;
}

.tab-header span {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
}

.tab-header span.active {
    background: #0d9bc3;
    color: #fff;
}

/* CONTENT */
.tab-content {
    padding: 10px;
}

/* ITEM */
.tab-item {
    display: block;
    padding: 8px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
    position: relative;
}

.tab-item:last-child {
    border-bottom: none;
}

.tab-item:hover {
    background: #f5f5f5;
}

/* DATE */
.tab-item .date {
    position: absolute;
    right: 10px;
    color: #999;
}

/* ===== BOTTOM ===== */

.home-card div {
    font-size: 24px;
    margin-bottom: 8px;
}

.tab-header .tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

/* hover */
.tab-header .tab:hover {
    background: #0d9bc3;
    color: #fff;
}

/* active */
.tab-header .tab.active {
    background: #0d9bc3;
    color: #fff;
}

/* container menu */
#menucontainer {
    position: relative;
}

/* ===== KHUNG + BUTTON ===== */
.top-buttons-inline {
    position: absolute;
    left: -335px;
    top: 0px;
    display: flex;
    gap: 0px;
    padding: 15px 10px; /* 🔥 thêm khoảng đệm */
    border-radius: 10px;
    background: #dfe6ea;
    border: 1px solid #1aa3c8; /* xanh giống web */
    box-shadow: 0 0 10px rgba(0,195,255,0.4);
}

/* nút */
.top-buttons-inline img {
    height: 52px; /* 🔥 tăng nhẹ */
    transition: 0.2s;
}

/* hover */
.top-buttons-inline img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* ===== SRO MENU - LIGHT CLEAN VERSION ===== */

.sro-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 6px 10px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: fit-content;
    margin: 0 auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* ITEM */
.sro-menu li {
    list-style: none;
}

/* LINK */
.sro-menu li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 6px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 12px;
}

/* ICON */
.sro-menu li a img {
    width: 36px;
    height: 36px;
    padding: 5px;
    border-radius: 50%;
    border: 2px solid #795548;
    background: linear-gradient(145deg, #fff, #f5f5f5);
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    transition: all 0.25s ease;
}

/* TEXT */
.sro-menu li a span {
    margin-top: 3px;
    font-size: 11px;
}

/* HOVER EFFECT */
.sro-menu li a:hover img {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 
        0 0 8px rgba(255,215,0,0.6),
        0 0 16px rgba(255,165,0,0.4);
}

/* ACTIVE ITEM */
.sro-menu li.active img {
    box-shadow: 
        0 0 10px gold,
        0 0 20px orange;
}

/* TEXT HOVER */
.sro-menu li a:hover span {
    color: #7a5c00;
}

.sro-menu li.active a span {
    color: #5c4a00;
    font-weight: bold;
}

.gameplay-info {
    display: flex;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
	min-height: 260px;
}

/* ===== TEXT GAMEPLAY DEPTH ===== */

.gp-right h2 {
    color: #00eaff;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 
        0 0 5px rgba(0, 234, 255, 0.6),
        0 0 10px rgba(0, 234, 255, 0.3);

    margin-bottom: 15px;
}

.gp-right p {
    color: #ddd;
    line-height: 1.8;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

.gp-right b {
    color: #fff;
    font-weight: 600;
    text-shadow: 0 0 3px rgba(255,255,255,0.3);
}

/* LEFT */
.gp-left {
    display: flex;
	position: relative;
    background: linear-gradient(90deg, #6b3f1d, #000);
    color: #fff;
}

/* TITLE */
.gp-title {
    padding: 20px;
    font-size: 40px;
    font-weight: bold;
    line-height: 50px;
}

/* MENU nằm NGAY BÊN CẠNH title */
.gp-menu {
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ITEM */
.gp-item {
    position: relative;
    cursor: pointer;
    color: #ddd;
    transition: 0.3s;
    padding-left: 15px;
}

/* Hover */
.gp-item:hover {
    color: #00c8ff;
}

/* Active (đang chọn) */
.gp-item.active {
    color: #00c8ff;
    font-weight: bold;
}

/* Mũi tên trái */
.gp-item.active::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #00c8ff;
}

/* Mũi tên phải */
.gp-item.active::after {
    content: "◀";
    margin-left: 6px;
    color: #00c8ff;
}

/* RIGHT CONTENT */
.gp-right {
    flex: 1;
    background: #02070a; /* đậm hơn chút cho hợp site */
    padding: 30px;
    color: #fff;
}

/* ================= PHÉP ================= */

.magic-tabs {
    display: flex;
    gap: 12px;
    margin: 15px 0 20px;
    justify-content: center;
}

/* ITEM */
.magic-item {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid #333;
}

/* ICON */
.magic-item .icon {
    font-size: 18px;
    transition: 0.3s;
}

/* HOVER */
.magic-item:hover {
    transform: scale(1.1);
    border-color: #00c8ff;
    box-shadow: 0 0 10px rgba(0,200,255,0.6);
}

/* ACTIVE */
.magic-item.active {
    border-color: #00c8ff;
    box-shadow: 0 0 12px rgba(0,200,255,0.9);
    background: radial-gradient(circle, #222, #000);
}

/* MÀU THEO HỆ (giữ nguyên cho đẹp) */
.magic-item[data-magic="hoa"] .icon {
    color: #ff5a2f;
}
.magic-item[data-magic="bang"] .icon {
    color: #4fc3ff;
}
.magic-item[data-magic="loi"] .icon {
    color: #ffd54f;
}

/* ACTIVE GLOW RIÊNG */
.magic-item[data-magic="hoa"].active {
    box-shadow: 0 0 15px #ff5a2f;
}
.magic-item[data-magic="bang"].active {
    box-shadow: 0 0 15px #4fc3ff;
}
.magic-item[data-magic="loi"].active {
    box-shadow: 0 0 15px #ffd54f;
}

/* ================= VSROVN ================= */

.gp-vertical {
    position: absolute;
    left: 140px;
    top: 60%;
    transform: translateY(-50%);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 12px;
    padding: 4px 2px;
    font-size: 10px;
    line-height: 13px;
    letter-spacing: 1px;
    color: rgba(0,200,255,0.6);
    border: 1px solid rgba(0,200,255,0.5);
    border-radius: 3px;
    background: rgba(0,200,255,0.05);
    transition: all 0.25s ease;
    pointer-events: auto;
}

.gp-vertical:hover {
    color: #00c8ff;
    border-color: #00c8ff;
    box-shadow: 
        0 0 6px rgba(0,200,255,0.6),
        0 0 12px rgba(0,200,255,0.4);
    background: rgba(0,200,255,0.1);
}

/* FIX FLOAT */
.home-v2::after {
    content: "";
    display: block;
    clear: both;
}

.gp-right {
    position: relative;
    flex: 1;
    background: #02070a;
    padding: 30px;
    color: #fff;
    overflow: hidden;
}

/* ẢNH NỀN */
.gp-right::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-img);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right center;
    opacity: 0.35;
    pointer-events: none;
}

/* LAYER TEXT NỔI TRÊN */
.gp-right > * {
    position: relative;
    z-index: 2;
}

/* ===== MAGIC TITLE ===== */
#magic-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* HỎA */
.magic-item[data-magic="hoa"].active ~ #magic-content h3,
#magic-content.hoa h3 {
    color: #ff5a2f;
    text-shadow: 0 0 8px rgba(255,90,47,0.7);
}

/* BĂNG */
.magic-item[data-magic="bang"].active ~ #magic-content h3,
#magic-content.bang h3 {
    color: #4fc3ff;
    text-shadow: 0 0 8px rgba(79,195,255,0.7);
}

/* LÔI */
.magic-item[data-magic="loi"].active ~ #magic-content h3,
#magic-content.loi h3 {
    color: #ffd54f;
    text-shadow: 0 0 8px rgba(255,213,79,0.7);
}

/* TEXT */
#magic-content p {
    color: #ddd;
    line-height: 1.7;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

/* Fortress clean */

/* ===== Fortress Style Upgrade ===== */

.fortress-box .fortress-item{
    display: flex;
    align-items: center;

    gap: 6px;

    padding: 10px 12px;

    font-size: 13px;

    border-bottom: 1px solid #ececec;

    background: #fff;

    transition: 0.2s;
}

.fortress-box .guild-name,
.fortress-box .no-guild{
    color: #777;
    font-style: italic;
}

.fortress-box .divider{
    color: #999;
}

/* hover nhẹ */
.fortress-box .fortress-item:hover {
    background: rgba(0,0,0,0.25);
    transform: translateX(3px);
}

/* icon */
.fortress-box img {
    width: 16px;
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.2));
}

/* tên thành */
.fortress-box .fortress-name {
    color: #ffcc00;
    font-weight: 600;
    text-shadow: 0 0 3px rgba(255, 204, 0, 0.4);
}

/* guild */
.fortress-box a {
    color: inherit !important;
    text-decoration: none;
    transition: 0.2s;
}

.fortress-box a:hover {
    color: #fff;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
}

/* chưa có guild */
.fortress-box .no-guild {
    color: #777;
    font-style: italic;
}

/* dấu - */
.fortress-box .divider {
    color: #555;
}

.footer {
    position: relative;
}

.footer-left {
    position: absolute;
    left: 150px;
    top: 50%;
    transform: translateY(-50%);
}

.footer-left img {
    width: 230px;
}

.home-bottom {
    display: flex;
    gap: 15px;
}

.home-card {
    width: 133px;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    display: inline-flex;
    align-items: center;
    padding-left: 15px;
    text-decoration: none;
    border: none;
    background-color: transparent;
}

/* Text */
.home-card span {
    color: #5a2e0c;
    font-weight: bold;
    font-size: 12px;
    line-height: 1.3;
}

/* Hover nhẹ */
.home-card:hover {
    transform: scale(1.03);
    transition: 0.2s;

    background-image: inherit !important;
    background-color: transparent !important;

    color: inherit !important;
    text-decoration: none !important;
}

ul#menu li a:hover:not(.home-card),
ul#menu li.active a:not(.home-card)
{
    background: linear-gradient(180deg, #fff8dc, #f2e2a2);
    color: #5a4a00;

    box-shadow: 
        inset 0 0 6px rgba(255,215,0,0.4),
        0 2px 6px rgba(0,0,0,0.08);

    border-radius: 6px;
}

.home-card {
    position: relative;
    width: 133px;
    height: 100px;

    display: flex;
    align-items: center;
    padding-left: 15px;

    text-decoration: none;
}

/* LỚP ẢNH */
.home-card .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;

    z-index: 1;
}

/* TEXT */
.home-card span {
    position: relative;
    z-index: 2;

    color: #5a2e0c;
    font-weight: bold;
    font-size: 12px;
}

/* HOVER */
.home-card:hover {
    transform: scale(1.03);
}

/* KHUNG */
.rank-card {
    width: 150px;
    height: 260px;
    position: relative;
}

/* ẢNH BACKGROUND */
.rank-bg {
    width: 100%;
    height: 100%;

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    position: relative;
}

/* SỐ HẠNG */
.rank-number {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);

    font-weight: bold;
    color: #fff;
}

/* AVATAR */
.rank-avatar {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
}

.rank-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #fff;
}

/* TÊN */
.rank-name {
    position: absolute;
    top: 156px;
    width: 100%;
    text-align: center;

    font-weight: bold;
    color: #fff;
}

/* INFO */
.rank-info {
    position: absolute;
    top: 175px;
    width: 100%;
    text-align: center;

    font-size: 12px;
    color: #eee;
}

/* CĂN GIỮA */
.top3-wrap {
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* HEADER */
.top3-header {
    text-align: center;
    margin-bottom: 30px;
}

.top3-title {
    font-size: 20px;
    color: #f3d58a;
    letter-spacing: 5px;
}

.top3-big {
    font-family: 'Cinzel', serif;

    font-size: 80px;
    font-weight: 900;

    color: #f3d58a;
    text-align: center;

    text-shadow:
        0 3px 0 #8c6b2a,
        0 6px 10px rgba(0,0,0,0.6),
        0 0 20px rgba(255,215,0,0.3);
}

.top3-exp {
    background: radial-gradient(circle at center, #5a2e0c, #2b1405);
    padding: 30px 0;
}

/* WRAP */
.top3-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* 👈 QUAN TRỌNG */
    gap: 40px;
}

/* CARD */
.rank-card {
    width: 170px;
    height: 280px;
    position: relative;
    transition: 0.3s;
}

/* TOP 1 */
.rank-card:nth-child(2) {
    transform: scale(1.25);
    z-index: 5;
}

/* HOVER */
.rank-card:hover {
    transform: scale(1.15);
}

/* TOP 1 HOVER */
.rank-card:nth-child(2):hover {
    transform: scale(1.3);
}

/* BACKGROUND */
.rank-bg {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* AVATAR */
.rank-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #fff;

    box-shadow: 0 0 10px rgba(0,0,0,0.6);
}

/* TEXT */
.rank-name {
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 6px black;
}

.rank-info {
    font-size: 12px;
    color: #eee;
}

.age18-fixed {
    position: absolute;   /* đổi từ fixed -> absolute */
    top: -150px;
    left: -250px;
    z-index: 9999;
}

.age18-fixed img {
    width: 150px;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: url('bg.png') center top no-repeat;
    background-size: cover;

    opacity: 0.15; /* chỉnh 0.1 -> 0.3 tùy độ mờ */
    z-index: -1;
}

.slot {
    position: relative;
    background-size: cover;
}

.slot:hover div {
    display:block !important;
}

.inv-grid {
    display: grid;
    grid-template-columns: repeat(8, 50px);
    gap: 5px;
}

.inv-slot {
    width: 50px;
    height: 50px;
    background: #111;
    border: 1px solid #333;
}

.item {
    width: 100%;
    height: 100%;
    background-size: cover;
    position: relative;
}

.amount {
    position: absolute;
    bottom: 0;
    right: 2px;
    font-size: 11px;
    color: #fff;
}

nav.navbar {
    position: relative;
    margin: 100px auto 0;
    width: 1230px;
    min-width: 1230px;
    max-width: 1230px;
    height: 80px;
    display: block;
    background: url('/images/bg-navbar.png') no-repeat center center;
    background-size: 100% 100%;
}

/* ================= LOGO ================= */
.navbar-logo {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    pointer-events: none;
}

.navbar-logo img {
    pointer-events: auto;
}

.navbar-logo::before {
    content: "";
    position: absolute;
    left: 50%;
    top: calc(35% - 40px);
    transform: translate(-50%, -50%);
    width: 430px;
    height: 80px;
    background: url('/images/logo-wing.png') no-repeat center;
    background-size: contain;
    z-index: -1;
    pointer-events: none;
}

.navbar-logo:hover img,
.navbar-logo:hover::before {
    animation: sroLogoGlow 1.2s infinite alternate !important;
}

@keyframes sroLogoGlow {
    0% {
        filter:
            drop-shadow(0 0 5px gold)
            drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    }
    100% {
        filter:
            drop-shadow(0 0 18px gold)
            drop-shadow(0 0 35px orange)
            drop-shadow(0 0 50px rgba(255, 140, 0, 0.8));
    }
}

/* ================= MENU BÊN TRÁI ================= */
nav.navbar ul#menu {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 530px;
    height: 60px;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 2px;

    background: transparent !important;
    border: none !important;
}

nav.navbar ul#menu li {
    list-style: none;
    flex: 0 0 auto;
}

nav.navbar ul#menu li a {
    width: 105px;
    height: 60px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 0 !important;
    margin: 0;

    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
}

nav.navbar ul#menu li a img {
    width: 30px;
    margin-bottom: 3px;
}

nav.navbar ul#menu li a span {
    font-size: 15px;
    color: #3b2b10;
}

nav.navbar ul#menu li a:hover {
    background: rgba(255,215,0,0.3);
    transform: translateY(-3px);
}

nav.navbar ul#menu li.active a {
    background: rgba(255,215,0,0.5);
    box-shadow: 0 0 10px gold;
}

/* ================= NÚT BÊN PHẢI ================= */
.nav-buttons {
    position: absolute;
    top: 15px;
    right: 30px;
    width: 420px;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 16px;
}

.btn-sro {
    width: 202px;
    height: 50px;
    flex: 0 0 202px;
}

/* ================= KHÓA TOÀN BỘ ================= */
nav.navbar *,
nav.navbar *::before,
nav.navbar *::after {
    box-sizing: border-box;
    flex-shrink: 0 !important;
}

/* Khung chứa 2 nút */
.nav-buttons {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    width: 420px;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 16px;
    flex-shrink: 0;
}

/* Mỗi nút */
.btn-sro {
    width: 202px;
    min-width: 202px;
    max-width: 202px;
    height: 50px;
    background: url('/images/btn.png') no-repeat center center;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e7c57a !important;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    line-height: normal;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    flex: 0 0 202px;   /* khóa cứng chiều rộng */
}

/* Hover */
.btn-sro:hover {
    box-shadow:
        0 0 10px rgba(255,215,0,0.6),
        0 0 20px rgba(255,165,0,0.5),
        0 0 30px rgba(255,140,0,0.4);
    filter: brightness(1.15);
}

/* Ánh sáng chạy */
.btn-sro::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.6),
        transparent
    );
    transform: skewX(-20deg);
}

/* Animation hover */
.btn-sro:hover::after {
    animation: shine 0.8s forwards;
}

@keyframes shine {
    0%   { left: -75%; }
    100% { left: 130%; }
}

/* Giữ màu chữ cố định */
.btn-sro,
.btn-sro:visited,
.btn-sro:active,
.btn-sro:hover {
    color: #e7c57a !important;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {

    /* reset layout */
    .main,
    .wrap-content,
    .header {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 10px !important;
    }

    /* bỏ sidebar */
    #sidebar,
    #left-sidebar {
        width: 100% !important;
        float: none !important;
        margin: 10px 0 !important;
    }

    /* main full */
    #main {
        width: 100% !important;
        margin: 0 !important;
        position: relative !important;
    }

    /* navbar */
    nav.navbar {
        height: auto;
        flex-direction: column;
        background-size: cover;
    }

    nav.navbar ul#menu {
        position: relative;
        transform: none;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    nav.navbar ul#menu li a {
        width: 80px;
        height: 60px;
        font-size: 12px;
    }

    /* nút đăng ký */
    .nav-buttons {
        position: static;
        transform: none;
        justify-content: center;
        margin-top: 10px;
        flex-wrap: wrap;
    }

    /* banner */
    .home-banner img {
        width: 100%;
        height: auto;
    }

    /* gameplay */
    .gameplay-info {
        flex-direction: column;
    }

    .gp-left, .gp-right {
        width: 100%;
    }

    /* top3 */
    .top3-wrap {
        flex-direction: column;
        align-items: center;
    }

    /* fix box bên phải */
    #right-visit-box {
        position: static;
        width: 100%;
        margin-top: 10px;
    }

    /* contact */
    .contact-float {
        right: 10px !important;
        bottom: 20px !important;
    }
}

@media (max-width: 768px) {

    body {
        background: #0f0f0f url('bg.png') center top no-repeat;
        background-size: contain;   /* 🔥 không bị crop */
        background-attachment: scroll; /* 🔥 bỏ fixed */
    }

    /* thêm nền phụ cho mượt */
    body::before {
        opacity: 0.08; /* nhẹ thôi cho đỡ rối */
    }
}

.top-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 40px;
    min-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* ===== BOX ===== */
.stat-box{
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 20px;
    height: 20px;
    box-sizing: border-box;
    white-space: nowrap;
    border-radius: 40px;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 11px;
    font-weight: normal;
    line-height: 1;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    box-shadow:
        inset 0 0 10px rgba(255,255,255,0.05),
        0 0 12px rgba(0,0,0,0.6);
    transition: 0.25s;
}

.stat-box .label{
    opacity: 0.95;
    font-weight: bold;
}

.stat-box b{
    font-family: Tahoma, Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    margin-left: 3px;
}

/* ===== DOT ===== */
.stat-box .dot{
    width: 10px;
    height: 10px;
    min-width: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
}

/* ===== ONLINE ===== */
.stat-box.online{
    background: linear-gradient(135deg,#003d2c,#009c6b);
    box-shadow:
        0 0 12px rgba(0,255,150,0.4),
        inset 0 0 6px rgba(0,255,150,0.2);
}
.stat-box.online .dot{
    background: #00ff9c;
    box-shadow: 0 0 10px #00ff9c, 0 0 18px #00ff9c;
}

/* ===== TIME ===== */
.stat-box.time{
    padding-left: 10px;
    padding-right: 10px;
    background: linear-gradient(135deg,#3a0000,#b30000);
    box-shadow:
        0 0 12px rgba(255,80,80,0.4),
        inset 0 0 6px rgba(255,80,80,0.2);
}

.stat-box.time .dot{
    background: #ffd54f;
    box-shadow: 0 0 10px #ffd54f, 0 0 18px #ffd54f;
}

/* ===== STATUS ===== */
.stat-box.status{
    background: linear-gradient(135deg,#2a2a2a,#555);
    box-shadow:
        0 0 10px rgba(255,255,255,0.2),
        inset 0 0 6px rgba(255,255,255,0.1);
}
.stat-box.status .dot{
    background: #00ff00;
    box-shadow: 0 0 10px #00ff00;
}

/* ===== HOVER ===== */
.stat-box:hover{
    transform: translateY(-2px) scale(1.04);
    filter: brightness(1.1);
}

/* ===== GLOW ANIMATION ===== */
@keyframes glowPulse {
    0% { box-shadow: 0 0 6px currentColor; }
    50% { box-shadow: 0 0 18px currentColor; }
    100% { box-shadow: 0 0 6px currentColor; }
}

.stat-box .dot{
    animation: glowPulse 1.5s infinite;
}

.stat-box.ip{
    background: linear-gradient(135deg,#002f5b,#0077cc);
    box-shadow:
        0 0 12px rgba(0,150,255,0.4),
        inset 0 0 6px rgba(0,150,255,0.2);
}

.stat-box.ip .dot{
    background: #00c3ff;
    box-shadow: 0 0 10px #00c3ff;
}

/* ================= DROP FULL ================= */

.drop-full-box {
    width: 1320px;
    margin: 40px auto;
    padding: 20px;
    background: linear-gradient(180deg, #1a0d05, #2b1407);
    border: 1px solid rgba(255,215,0,0.3);
    box-shadow: 0 0 25px rgba(255,140,0,0.2);
}

.drop-title {
    text-align:center;
    font-size:48px;
    color:#e7c06a;
    margin-bottom:25px;
    font-family:'Cinzel', serif;
    letter-spacing:3px;
}

/* TABLE */
.drop-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.drop-table th {
    background: #2a1205;
    color: #ffcc66;
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid #5a2d0c;
}

.drop-table td {
    padding: 6px;
    border-bottom: 1px solid #3a1c08;
    text-align: center;
    color: #ddd;
}

.drop-table tr:hover {
    background: rgba(255, 200, 100, 0.05);
}

.item-name {
    text-align: left;
}

.item-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 6px;
}

/* TEXT */
.item-name {
    text-align: left;
    color: #ff4d4d;
    font-weight: bold;
}

.player {
    color: #ffd700;
    font-weight: bold;
}

.mob {
    color: #ff3333;
}

.serial {
    color: #00ff99;
}

.time {
    color: #fff;
}

/* BỎ SCROLL CŨ */
#item_drop_list {
    height: auto !important;
    overflow: visible !important;
}

.char-link {
    color: #ffd700;
    font-weight: bold;
    text-decoration: none;
}

.char-link:hover {
    color: #00ffff;
    text-decoration: underline;
}

.filter-bar {
    display: flex;
    gap: 10px;
    margin: 10px 0;
    align-items: center;
}

.filter-bar select {
    width: 100px;
    padding: 6px 6px;
    background: #1a0f08;
    color: #ffd700;
    border: 1px solid #6b3e1d;
    border-radius: 4px;
    box-sizing: border-box;
}

#filter_char {
    width: 210px;
    height: 32px;
    padding: 0 12px;
    background: #1e0b00;
    border: 1px solid #c58b1b;
    color: #f7d77a;
    font-size: 14px;
    font-family: Tahoma, Arial, sans-serif;
    border-radius: 2px;
    outline: none;
    box-sizing: border-box;
    vertical-align: middle;
    transition: all 0.2s ease;
}

#filter_char::placeholder {
    color: #8d6a2a;
    font-style: italic;
}

#filter_char:hover {
    border-color: #e7b93d;
    box-shadow: 0 0 6px rgba(231, 185, 61, 0.25);
}

#filter_char:focus {
    border-color: #ffd54a;
    box-shadow: 0 0 8px rgba(255, 213, 74, 0.45);
    background: #241000;
    color: #fff3b0;
}

/* ===== PAGINATION XỊN ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

/* nút */
.pagination button {
    min-width: 40px;
    height: 36px;
    background: linear-gradient(180deg, #5a2e0c, #2b1405);
    border: 1px solid #a67c2d;
    color: #ffd700;
    font-weight: bold;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow:
        inset 0 0 6px rgba(255,215,0,0.3),
        0 2px 6px rgba(0,0,0,0.5);

    transition: 0.2s;
}

/* hover */
.pagination button:hover {
    background: linear-gradient(180deg, #7a4a1a, #3a1f0d);
    transform: translateY(-2px);
}

/* disable */
.pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* chữ trang */
.pagination span {
    font-size: 14px;
    color: #f3d58a;
    font-weight: bold;
    letter-spacing: 1px;
}

.active-page {
    background: gold !important;
    color: black !important;
    box-shadow: 0 0 8px gold;
}

.boss-full-box{
    width: 1320px;
    margin: 40px auto;
    padding: 20px;
    background: linear-gradient(180deg, #1a0d05, #2b1407);
    border: 1px solid rgba(255,215,0,0.3);
    box-shadow: 0 0 25px rgba(255,140,0,0.2);
}

.boss-title{
    text-align:center;
    font-size:48px;
    color:#e7c06a;
    margin-bottom:25px;
    font-family:'Cinzel', serif;
    letter-spacing:3px;
}

.boss-table{
    width:100%;
    border-collapse:collapse;
}

.boss-table th{
    background:#2d1405;
    color:#ffcc66;
    padding:12px;
    border:1px solid #704214;
    text-align:center;
    font-size:15px;
}

.boss-table td{
    padding:12px;
    border:1px solid #4d2a0a;
    color:#fff;
    text-align:center;
    font-size:14px;
    background:rgba(0,0,0,0.35);
}

.boss-table tr:hover td{
    background:rgba(255,180,50,0.08);
}

.boss-name{
    color:#ffcc66;
    font-weight:bold;
}

.boss-killer{
    color:#00ff99;
}

.boss-time{
    color:#cccccc;
}

.boss-alive{
    color:#00ff66;
    font-weight:bold;
}

.boss-dead{
    color:#ff3333;
    font-weight:bold;
}

.boss-region{
    color:#d0d0d0;
}

.boss-table td{
    font-size:14px;
}

#right-extra-box{
    width: 306px;
    float: right;
    clear: right;
    margin-top: 0px;
    margin-right: -10px;
}

.fortress-box,
.check-player-box{
    background:#fff;
    border:solid 1px #0D9BC3;
    border-radius:3px;
    position:relative;
    margin-bottom:20px;
    overflow:visible;
    padding-top:55px;
}

.fortress-title,
.check-title{
    background:url("title.jpg.png") repeat;
    color:#fff;
    display:block;
    font-size:17px;
    font-weight:bold;
    height:30px;
    line-height:30px;
    padding-left:35px;
    position:absolute;
    top:15px;
    left:-12px;
    width:177px;
    z-index:5;
}

.check-form{
    display:flex;
    align-items:center;
    gap:6px;
	padding:8px 10px 0;
}

.check-form .submit_button{
    width:117px;
    margin:0;
}

.check-form input[type="text"]{
    flex:1 !important;
    width:auto !important;
    min-width:0;
}

.check-result{
    padding:6px 10px 10px;
    text-align:center;
}

.check-btn{
    background: url("button1.png") repeat scroll 0 0 transparent;
    border:none;
    color:#fff;
    cursor:pointer;

    font-family:Tahoma,Geneva,sans-serif;
    font-size:13px;
    font-weight:bold;

    height:35px;
    width:117px;

    text-transform:uppercase;

    opacity:.9;

    flex-shrink:0;
}

.check-btn:hover{
    opacity:1;
}

.check-result{
    text-align: center;
    padding: 0 10px 12px;
    color: #666 !important;
}

/* =========================================
   THỜI GIAN EVENT
========================================= */
.event-box {
    background: #ffffff;
    border: 1px solid #0D9BC3;
    border-radius: 3px;
    position: relative;
    margin-top: 15px;
    overflow: visible;
    width: 306px;
}

/* Tiêu đề box */
.event-title {
    background: url("title.jpg.png") repeat scroll 0 0 transparent;
    color: #fff;
    display: block;
    font-size: 17px;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    padding-left: 35px;
    position: absolute;
    top: 15px;
    left: -12px;
    width: 177px;
    z-index: 5;
}

/* Nội dung */
.event-content {
    margin-top: 43px;
    padding: 15px 8px 10px 8px;
}

/* Table */
.event-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    color: #ffffff;
    background: #000000;
    border: 1px solid #3d2b10;
}

/* Header */
.event-table thead th {
    background: #4d3414;
    color: #f7e7b1;
    font-weight: bold;
    text-align: center;
    padding: 6px 4px;
    border: 1px solid #5d4623;
    font-size: 10px;
    white-space: nowrap;
}

/* Body */
.event-table tbody td {
    padding: 4px 6px;
    border: 1px solid #1c1c1c;
    text-align: center;
    color: #ffffff;
    background: #000000;
    font-size: 9px;
    vertical-align: middle;
}

/* Hover */
.event-table tbody tr:hover td {
    background: #111111;
}

/* STT */
.event-table .event-stt {
    color: #00ff00;
    font-weight: bold;
    width: 5px;
}

/* Tên Event */
.event-table tbody td:nth-child(2) {
    text-align: left;
    padding-left: 8px;
    color: #ffe9a3;
    font-weight: bold;
    line-height: 1.2;
}

/* Ngày */
.event-table tbody td:nth-child(3) {
    color: #ffffff;
    width: 30px;
    white-space: nowrap;
}

/* Giờ */
.event-table tbody td:nth-child(4) {
    color: #ffffff;
    width: 30px;
    font-weight: bold;
    white-space: nowrap;
}

/* Scroll */
#event_schedule_list {
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Scrollbar */
#event_schedule_list::-webkit-scrollbar {
    width: 6px;
}

#event_schedule_list::-webkit-scrollbar-track {
    background: #111;
}

#event_schedule_list::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

#event_schedule_list::-webkit-scrollbar-thumb:hover {
    background: #888;
}

/* ================= SERVER OPEN BOX ================= */

.server-open-box {
    background: #fff;
    border: 1px solid #0D9BC3;
    border-radius: 3px;
    position: relative;
    width: 306px;
    margin-bottom: 15px;
    overflow: visible;
    padding-top: 55px;
    box-sizing: border-box;
}

.server-open-title {
    background: transparent;
    background-image: none;
    color: #26384a;
    display: block;
    font-size: 16px;
    font-weight: bold;
    height: auto;
    line-height: 1.5;
    padding: 0 6px 10px;
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    margin: 0 0 12px;
    border-bottom: 1px solid #e5e9ed;
    text-align: center;
    box-sizing: border-box;
    z-index: auto;
}

.server-open-content {
    padding: 12px 12px 14px;
    text-align: center;
}

.server-open-time {
    margin: 0;
    padding: 10px 8px;
    background: #f5f9fc;
    border: 1px solid #d9e8ef;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    line-height: 1.2;
    font-family: Tahoma, Arial, sans-serif;
}

/* =========================
   SLIDER
========================= */
.ranking-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Chỉ slide active mới hiển thị */
.ranking-slide {
    display: none;
}

.ranking-slide.active {
    display: block;
}

/* Nút trái / phải */
.ranking-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;

    width: 64px;
    height: 64px;

    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
    padding: 0;
    margin: 0;

    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.ranking-nav img {
    width: 64px;
    height: 64px;
    display: block;
    object-fit: contain;
}

.ranking-nav.prev {
    left: 0;
}

.ranking-nav.next {
    right: 0;
}

.ranking-nav:hover {
    transform: translateY(-50%) scale(1.08);
}

/* =========================
   TOP JOB WRAP
========================= */
#top3-job-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    width: 100%;
    margin-top: 20px;
}

/* =========================
   JOB CARD
========================= */
#top3-job-wrap .rank-card {
    position: relative;
    width: 170px;
    height: 280px;
    flex: 0 0 170px;
    text-align: center;
}

/* Top 1 lớn hơn một chút */
#top3-job-wrap .rank-card:nth-child(2) {
    transform: scale(1.18);
    z-index: 5;
}

/* =========================
   BACKGROUND FLAG
========================= */
#top3-job-wrap .rank-bg {
    position: relative;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
}

/* =========================
   LINK
========================= */
#top3-job-wrap .rank-click {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* =========================
   AVATAR
========================= */
#top3-job-wrap .rank-avatar {
    position: absolute;
    top: 38px;
    left: 48%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 10;
}

#top3-job-wrap .rank-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* =========================
   CHARACTER NAME
========================= */
#top3-job-wrap .rank-name {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 2px 4px #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 20;
}

/* =========================
   INFO TEXT
========================= */
#top3-job-wrap .rank-info {
    position: absolute;
    top: 160px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;

    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 2px 4px #000;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 20;
}

/* Nghề */
#top3-job-wrap .rank-info:nth-of-type(1) {
    top: 172px;
}

/* Điểm */
#top3-job-wrap .rank-info:nth-of-type(2) {
    top: 188px;
}

/* =========================
   BADGE K12
========================= */
#top3-job-wrap .job-rank-badge {
    position: absolute;
	top : 180px;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    z-index: 30;
    pointer-events: none;
}

#top3-job-wrap .job-rank-badge img {
    width: 100%;
    height: 100%;
    display: block;
}

#top3-job-wrap .job-rank-badge span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);

    font-size: 11px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 1px 2px #000;
}

.menu-icon{
    width:24px;
    height:24px;
    vertical-align:middle;
    margin-right:8px;
}

/* =======================
   ALCHEMY BOX
======================= */

.alchemy-info-box{
    background:#fff;
    border:solid 1px #0D9BC3;
    border-radius:3px;
    position:relative;
    margin-top:20px;
    overflow:visible;
}

.alchemy-info-box .top{
    background:url("title.jpg.png") repeat scroll 0 0 transparent;
    color:#fff;
    display:block;
    font-size:17px;
    height:30px;
    left:-12px;
    line-height:30px;
    padding-left:35px;
    position:absolute;
    top:15px;
    width:177px;
}

.alchemy-info-box .top h4{
    color:#fff;
    font-size:17px;
    line-height:30px;
    margin:0;
}

.alchemy-info-box .middle{
    margin-top:43px;
    padding:15px 12px;
}

/* =======================
   D15 / D14
======================= */

.alchemy-tabs-main{
    display:flex;
    gap:4px;
    margin-bottom:6px;
}

.alchemy-main{
    flex:1;
    height:30px;

    border:1px solid #0D9BC3;

    background:#fff;
    color:#0D9BC3;

    font-size:12px;
    font-weight:bold;

    cursor:pointer;

    transition:.2s;
}

.alchemy-main:hover{
    background:#f4fbfe;
}

.alchemy-main.active{
    background:#0D9BC3;
    color:#fff;
}

/* =======================
   BMM THƯỜNG / VIP
======================= */

.alchemy-tabs{
    display:flex;
    gap:4px;
    margin-bottom:10px;
}

.alchemy-tab{
    flex:1;

    height:30px;

    border:1px solid #e0e0e0;

    background:#fafafa;

    color:#666;

    font-size:12px;
    font-weight:bold;

    cursor:pointer;

    transition:.2s;
}

.alchemy-tab:hover{
    background:#f2f2f2;
}

.alchemy-tab.active{
    background:#ff9800;
    border-color:#ff9800;
    color:#fff;
}

/* =======================
   DATA
======================= */

.alchemy-data{
    border:1px solid #e5e5e5;
    background:#fff;
}

/* =======================
   ROW
======================= */

.alchemy-row{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:10px 12px;

    border-bottom:1px solid #eee;

    font-size:13px;

    transition:.15s;
}

.alchemy-row:last-child{
    border-bottom:none;
}

.alchemy-row:hover{
    background:#f8f8f8;
}

.alchemy-row span{
    color:#444;
    position:relative;
    padding-left:16px;
}

.alchemy-row span:before{
    content:"✦";
    position:absolute;
    left:0;
    color:#999;
}

.alchemy-row b{
    color:#ff6600;
    font-weight:bold;
}

/* RNG */

.alchemy-row b:contains("RNG"){
    color:#e53935;
}

/* =======================
   RESPONSIVE
======================= */

@media(max-width:768px){

    .alchemy-tabs-main{
        flex-direction:column;
    }

    .alchemy-tabs{
        flex-direction:column;
    }

    .alchemy-main,
    .alchemy-tab{
        width:100%;
    }
}

.acc-home{
    padding:10px;
}

.acc-user-box{
    background:#fff;
    border:1px solid #d8d8d8;
    padding:20px;
    margin-bottom:20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.acc-user-left h2{
    margin:0;
    color:#169ac5;
}

.acc-user-right{
    display:flex;
    gap:10px;
}

.silk-box{
    width:120px;
    text-align:center;
    background:#f7f7f7;
    border:1px solid #e1e1e1;
    padding:10px;
}

.silk-title{
    font-size:11px;
    color:#888;
}

.silk-value{
    font-size:18px;
    font-weight:bold;
    color:#169ac5;
}

.acc-section{
    margin-bottom:15px;
}

.acc-section-title{
    background:#169ac5;
    color:#fff;
    padding:10px;
    font-weight:bold;
}

.acc-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
    background:#fff;
    padding:10px;
    border:1px solid #ddd;
}

.acc-card{
    display:block;
    text-align:center;
    padding:15px 10px;
    background:#f5f5f5;
    border:1px solid #ddd;
    text-decoration:none;
    font-weight:bold;
    color:#444;
    transition:.2s;
}

.acc-card:hover{
    background:#169ac5;
    color:#fff;
}

.collapsible-header{
    cursor:pointer;
    user-select:none;
    position:relative;
}

.toggle-icon{
    float:right;
    transition:.3s;
}

.collapsible-content{
    overflow:hidden;
    transition:max-height .4s ease;
}

.collapsed .collapsible-content{
    max-height:0;
}

.collapsible-box:not(.collapsed) .collapsible-content{
    max-height:3000px;
}

.collapsed .toggle-icon{
    transform:rotate(-90deg);
}

.reward-info-btn
{
    border:1px solid #7d3f00;
    background:#2b1205;
    padding:2px;
    transition:all .2s;
}

.reward-info-btn:hover
{
    transform:scale(1.15);
    box-shadow:0 0 8px #ffb000;
}

.top-level-box{
    margin-top:12px;
}

.top-level-box .middle{
    padding:8px;
}

.toplevel-tabs{
    display:flex;
    gap:5px;
    margin-bottom:8px;
}

.toplevel-tab{
    flex:1;
    height:28px;
    border:0;
    cursor:pointer;
    background:#2198c7;
    color:#fff;
    font-weight:bold;
    transition:.2s;
}

.toplevel-tab:hover{
    background:#157ca4;
}

.toplevel-tab.active{
    background:#0f6788;
}

#toplist-content{
    min-height:180px;
}

.top-player{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:6px 5px;
    border-bottom:1px solid #ececec;
    font-size:12px;
}

.top-player:last-child{
    border-bottom:none;
}

.top-player span:first-child{
    color:#444;
    font-weight:bold;
}

.top-player span:last-child{
    color:#888;
    font-size:11px;
}

/* Top 3 */

.top-player:nth-child(1) span:first-child{
    color:#d4a017;
}

.top-player:nth-child(2) span:first-child{
    color:#8a8a8a;
}

.top-player:nth-child(3) span:first-child{
    color:#b87333;
}

.top-player{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:6px 8px;
    border-bottom:1px solid #e8e8e8;
    font-size:12px;
}

.top-player:last-child{
    border-bottom:none;
}

.top-left{
    display:flex;
    align-items:center;
}

.rank{
    width:22px;
    text-align:center;
    font-weight:bold;
    margin-right:6px;
}

.name{
    color:#444;
    font-weight:bold;
}

.time{
    color:#fff;
    font-size:13px;
}

.top-player:nth-child(1) .name{
    color:#d8a500;
}

.top-player:nth-child(2) .name{
    color:#8a8a8a;
}

.top-player:nth-child(3) .name{
    color:#b87333;
}

#drop-global-tooltip {
	display: none;
	position: fixed;
	z-index: 9999999;

	width: 320px;
	max-width: 320px;

	background: #1b0d05;
	border: 1px solid #8c5a12;

	padding: 8px;

	color: #fff;

	box-shadow: 0 4px 15px rgba(0,0,0,.8);

	pointer-events: none;

	box-sizing: border-box;
}

#drop-global-tooltip * {
	box-sizing: border-box;
}

#drop-global-tooltip table {
	max-width: 100%;
}

#drop-global-tooltip img {
	max-width: 100%;
}

/* VSRO.TH Patch 99 — compact Messenger-only contact */
.contact-float {
    right: 20px !important;
    bottom: 24px !important;
}
.contact-float .contact-menu {
    bottom: 62px;
    right: 0;
    width: 166px;
    max-width: calc(100vw - 24px);
    padding: 9px;
    border-radius: 15px;
}
.contact-float .contact-item { gap: 8px; margin: 0; }
.contact-float .contact-icon { width: 34px; height: 34px; }
.contact-float .contact-icon img { width: 22px; height: 22px; }
.contact-float .contact-label {
    padding: 10px 8px;
    font-size: 13px;
    border-radius: 9px;
    line-height: 1.2;
}
.contact-float .contact-btn {
    width: max-content;
    min-height: 45px;
    padding: 4px 12px 4px 4px;
    gap: 7px;
    border-radius: 28px;
    font-size: 13px;
}
.contact-float .contact-btn .icon {
    width: 34px;
    height: 34px;
    font-size: 16px;
}
@media (max-width: 768px) {
    .contact-float { right: 12px !important; bottom: 16px !important; }
    .contact-float .contact-menu { width: 158px; bottom: 58px; }
}

/* VSRO.TH | ranking layout alignment fix 2026-10-22 */
.rank-tabs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;max-width:none!important;width:100%!important;margin:0 0 18px!important;padding:12px!important;justify-content:stretch!important;align-items:stretch!important;border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-sizing:border-box!important}
.rank-tabs .title_rank{display:flex!important;width:100%!important;height:auto!important;min-height:48px!important;margin:0!important;padding:10px 7px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:break-word!important;background:#f7f9fc!important;background-image:none!important;border:1px solid #dfe5ed!important;border-radius:10px!important;color:#33465f!important;font-size:13px!important;text-shadow:none!important;box-shadow:none!important;box-sizing:border-box!important;transform:none!important}
.rank-tabs .title_rank::before,.rank-tabs .title_rank::after{display:none!important;content:none!important;background:none!important}
.rank-tabs .title_rank:hover,.rank-tabs .title_rank:focus-visible{background:#fff2d9!important;border-color:#c79b4c!important;color:#75511e!important;filter:none!important;transform:none!important}
.rank-tabs .title_rank.active,.rank-tabs .title_rank.current,.rank-tabs .title_rank[href="/toplevel"]{background:linear-gradient(110deg,#fff0c5,#ebc982)!important;border-color:#d4af68!important;color:#513918!important;filter:none!important;text-shadow:none!important}
.vsro-rank-content,.vsro-rank-table-scroll{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
.vsro-rank-table-scroll{overflow-x:auto!important}
.vsro-rank-table-scroll .transhis{width:100%!important;min-width:850px!important}
@media(max-width:1100px){.rank-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:620px){.rank-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;padding:9px!important}.rank-tabs .title_rank{font-size:12px!important;min-height:44px!important}}
