/*!
    
 =========================================================
 * WebEngine CMS
 * https://webenginecms.org/
 =========================================================
 
 * Author Lautaro Angelico (https://lautaroangelico.com/)
 * Copyright (c) 2013-2022 Lautaro Angelico, All Rights Reserved
 
 * Licensed under the MIT license
 * http://opensource.org/licenses/MIT
 
 =========================================================
 
*/
html {
	min-width: 1040px;
	height: 100%;
}

body,html {
	padding: 0;
    margin: 0;
	background: url('../img/background.jpg') no-repeat top center, url('../img/bg-bottom.jpg') no-repeat bottom center;
	background-color: #100608;
	color: #a19f9f;
	/*font-family: 'PT Sans', sans-serif;*/
	font-family: 'Tahoma', sans-serif;
	font-size: 14px;
	/*height: 100%;*/
}

/*#body {
    background: url(../img/bg-bottom.jpg) no-repeat bottom center;
}*/

/*@media only screen and (min-width: 2000px) {
	body {
		background: #000000 url('../img/background-2600.jpg') no-repeat top center !important;
	}
}*/

a {
	color: #777;
	text-decoration: none;
	-moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

a:hover {
	color: #ffda8a;
}

img {
	border: 0px;
}

input[type=text], input[type=password], input[type=number] {
	background: #fafafa;
	border: 1px solid #e3e3e3;
	color: #666;
}
input[type=text]:focus, input[type=password]:focus, input[type=number]:focus {
	border: 1px solid #ccc;
}

#header {
	width: 100%;
	margin: 0px auto;
	padding: 80px 0px 10px 0px;
	text-align: center;
	color: #fff;
}

#container {
	/*background: #ffffff;*/
	/*width: 1040px;*/
	width: 1200px;
	height: auto;
	margin: 0px auto;
	/*padding: 20px 0px;*/
	padding: 0px 0px 20px 0px;
	-webkit-border-radius: 5px 5px 0px 0px;
	-moz-border-radius: 5px 5px 0px 0px;
	border-radius: 5px 5px 0px 0px;
	-khtml-border-radius: 5px 5px 0px 0px;
}

#content {
	width: 100%;
	overflow: auto;
	min-height: 500px;
	padding: 10px 20px 0px 20px;
}

.footer {
	/*background: #efefef;*/
	font-family: 'Segoe UI', 'Lucida Sans Unicode', 'Lucida Grande', 'Tahoma', 'Arial', 'sans-serif';
	width: 1040px;
	font-size: 12px;
	color: #666666;
	padding: 40px;
	overflow: auto;
	margin: 0px auto 100px auto;
	-webkit-border-radius: 0px 0px 5px 5px;
	-moz-border-radius: 0px 0px 5px 5px;
	border-radius: 0px 0px 5px 5px;
	-khtml-border-radius: 0px 0px 5px 5px;
}
	.footer > .footer-container {
		width: 100%;
		margin: 0px auto;
	}
		.footer > .footer-container a:hover {
			text-decoration: underline !important;
		}
	.footer hr {
		border-top: 1px solid #5a443b;
	}
	.footer .footer-social-link {
		filter: grayscale(100%);
		transition: all .3s ease;
	}
	.footer .footer-social-link:hover {
		filter: grayscale(0%);
	}

#navbar {
	width: 100%;
	/*backdrop-filter: blur(5px);*/
	/*border-bottom: 1px solid rgba(255, 255, 255, 0.1);*/
	background: url(../img/nav-bg.png) no-repeat top center;
	height: 52px;
}

#navbar ul{
	/*text-align: center;
	margin: 0px;
	-webkit-padding-start: 0px;*/

	max-width: 1150px;
    height: 52px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

#navbar ul li {
	list-style-type: none;
	display: inline-block;
	font-size: 16px;
}

#navbar ul li a {
	display: inline-block;
	color: #cccccc !important;
	text-decoration: none;
	padding: 20px 30px;
	transition: all .3s ease;
	text-transform: uppercase;
}

#navbar ul li a:active, #navbar ul li a:focus, #navbar ul li a:hover {
	color: #ffffff !important;
	text-decoration: none;
}

.admincp-button {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #ffffff !important;
	border: 2px solid #000000 !important;
	color: #000000 !important;
	font-weight: bold !important;
	z-index: 9999;
}

.page-title {
	color: #a1998f;
	/*font-family: 'PT Sans', sans-serif;*/
	font-family: "Times New Roman";
	text-transform: uppercase;
	/*font-size: 32px;*/
	font-size: 22px;
	margin-bottom: 10px;
	/*font-weight: bold;*/
}

/* NEWS MODULE */
.panel-news {
	margin-bottom: 30px;
	color: #7a7a7a;
	border: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	background:none;
}
.panel-news .panel-heading {
	padding-top: 10px;
	padding-bottom: 10px;
	background: url(../img/left-02.png) no-repeat top left, url(../img/h1.png) no-repeat top right;;
    height: 40px;
	width: fit-content;
}
.panel-news .panel-title {
	color: #baada6;
	font-size: 13px;
    line-height: 26px;
    font-family: "Times New Roman";
	text-transform: uppercase;
	height: 40px;
    padding: 0px 55px 0px 56px;
    font-weight: 400;
}
.panel-news .panel-body {
	padding: 10px;
	background: url(../img/first-03.jpg) no-repeat top right;
	border-left: 1px solid #2d2928;
}
.panel-news .panel-footer {
	border-top: 0px;
	background: url(../img/hr.jpg) repeat-x top left, url(../img/first-02.jpg) no-repeat top right;;
	font-style: italic;
	font-size: 11px;
	height: 24px;
    color: #777;
	padding: 4px 16px 4px 0px;
}

/* RANKINGS MODULE */
.rankings-table {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
}

.rankings-class-image {
	width: 30px;
	height: auto;
	-moz-box-shadow: 0 0 5px #666;
	-webkit-box-shadow: 0 0 5px #666;
	box-shadow: 0 0 5px #666;
	-moz-border-radius: 0px;
	border-radius: 0px;
}
.rankings-table tr td {
	/*border-bottom: 1px solid #e3e3e3;*/
	padding: 8px;
	font-size: 14px;
	vertical-align: middle !important;
	text-align: center;
	color:#ccc;
}
.rankings-table-place {
	color: #666;
	font-weight: bold;
	font-size: 24px;
	text-align: center;
}
.rankings-table tr:first-child td {
	color: #cccccc;
	/*border-bottom: 3px solid #ff0000;*/
	background:#110C0D;
}
.rankings-table tr:nth-child(even){
	background-color: #231E20!important;
}
.rankings-table tr:hover td {
    background-color: #242324;
}
.rankings-update-time {
	text-align: right;
	font-size: 11px;
	color: #ccc;
	padding: 10px 0px;
}
.rankings_menu {
	width: 100%;
	overflow: auto;
	text-align: center;
	margin-bottom: 10px;
}
.rankings_menu span {
	width: 100%;
	display: inline-block;
	padding: 10px 0px;
	color: #ccc;
	font-size: 24px;
}
.rankings_menu a {
	display: inline-block;
	width: 150px;
	border: 1px solid #110C0D;
	text-align: center;
	padding: 2px 0px;
	margin: 2px;
	background: #110C0D;
	-moz-border-radius: 2px;
	border-radius: 2px;
	color: #ccc;
}
.rankings_menu a.active {
	color: #333;
	border-color: #333;
}
.rankings_guild_logo tr td {
	border: 0px !important;
	padding: 0px !important;
	margin: 0px !important;
}
.rankings-gens-img {
	width: auto !important;
	height: 30px !important;
	border: 0 !important;
	-moz-box-shadow: 0 0 0px #000 !important;
	-webkit-box-shadow: 0 0 0px #000 !important;
	box-shadow: 0 0 0px #000 !important;
	-moz-border-radius: 0px !important;
	border-radius: 0px !important;
}

/* MY ACCOUNT MODULE */
.myaccount-table {
	width: 100%;
	/*background: #f1f1f1;*/
	/*border: 1px solid #e3e3e3;*/
	border: 1px solid #231e20;
}
.myaccount-table tr td:first-child {
	color: #666;
	font-weight: bold;
}
.myaccount-table tr td {
	border: 1px solid #231E20!important;
	padding: 15px !important;
}
.myaccount-table tr:last-child td {
	border: 0px;
}

/* GENERAL TABLE UI */
.general-table-ui {
	width: 100%;
	/*table-layout: fixed;*/
	background: #f1f1f1;
	border: 1px solid #e3e3e3;
	padding: 10px;
	margin: 10px 0px;
}
.general-table-ui tr td {
	padding: 5px;
	vertical-align: middle !important;
}
.general-table-ui tr:first-child td {
	color: #ff0000;
}
.general-table-ui tr:nth-child(2n+2) td {
	background: #fafafa;
}
.general-table-ui tr td {
	text-align: center;
}
.general-table-ui img {
	width: 50px;
	height: auto;
	-moz-box-shadow: 0 0 5px #666;
	-webkit-box-shadow: 0 0 5px #666;
	box-shadow: 0 0 5px #666;
	-moz-border-radius: 0px;
	border-radius: 0px;
}

/* TERMS OF SERVICE PAGE */
.tos_list li {
	color: #aa0000;
	font-weight: bold;
	font-size: 18px;
	margin-bottom: 40px;
}
.tos_list li p {
	color: #444;
	text-align: justify;
	text-justify: inter-word;
	text-transform: none;
	padding-right: 35px;
	font-size: 14px;
	font-weight: normal;
}

/* PAYPAL */
.paypal-gateway-container {
	width: 100%;
}

.paypal-gateway-content {
	background: #fef2da;
	border: 3px solid #f79433;
	padding: 15px;
	overflow: auto;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	font-weight: bold;
}

.paypal-gateway-logo {
	width: 100%;
	height: 100px;
	background: #fff9ec url('../img/paypal-logo-200-68.png') no-repeat center;
	background-size: contain;
	margin-bottom: 15px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.paypal-gateway-conversion-rate {
	margin: 0px auto;
	text-align: center;
	color: #000;
	font-size: 18px;
	padding: 10px 0px;
}

.paypal-gateway-form {
	width: 100%;
	margin: 20px auto;
	text-align: center;
}

.paypal-gateway-form div {
	display: inline-block;
	padding: 0px 10px;
	color: #000;
	font-size: 24px;
}

.paypal-gateway-form input[type=text] {
	width: 60px;
	font-size: 24px;
	border: 3px solid #f79433;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color: #f79433;
}

.paypal-gateway-continue {
	margin: 0px auto;
	text-align: center;
}

.paypal-gateway-continue input[type=submit] {
	background: url('../img/paypal-submit.jpg') no-repeat;
	width: 200px;
	height: 40px;
	border: 0px;
}

.module-requirements {
	font-size: 12px;
	margin-top: 20px;
}

/* SIDEBAR */
.panel-sidebar {
	background: url(../img/top-sideblock.png) no-repeat top center, url(../img/some-bg.jpg);
    margin: 0px 0px 20px 0px;
    width: 282px;
    border: 1px solid #211c1d;
}

.panel-sidebar > .panel-heading {
	/*background: #fff;
	color: #ff0000;*/
	font-family: 'PT Sans', sans-serif;
	/*border: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	border-bottom: 3px solid #ff0000;*/
	text-align: center;
    color: #a1998f;
    font-family: "Times New Roman";
    font-weight: 100;
    text-transform: uppercase;
    font-size: 13px;
    margin: 0px;
    height: 44px;
    line-height: 44px;

}

.panel-usercp {
	/*background: url('../img/usercp_bg.jpg') no-repeat top center;
	background-size: cover;*/
}

.panel-usercp .panel-body{
	font-family: unset !important;
}

.panel-usercp ul {
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}

.panel-usercp ul li {
	display: table;
	width: 100%;
	vertical-align: middle;
	line-height: 30px;
}

.panel-usercp ul li a {
	color: rgb(224, 224, 224) !important;
	/*font-weight: bold;*/
}
.panel-usercp ul li a:active, .panel-usercp ul li a:hover {
	color: #9f9d9d !important;
}

.panel-usercp ul li img {
	position: relative;
	top: -2px;
	padding-right: 10px;
}

.sidebar-banner {
	margin: 10px 0px;
	border: 0px;
}

.sidebar-banner img {
	border: 0px;
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -khtml-border-radius: 5px;
	width:280px;
}
.sidebar-banner img:hover{
	-webkit-filter: brightness(130%);
    filter: brightness(130%);
}
/* GENERAL PANEL STYLING */
.panel-general {
	margin-bottom: 30px;
	background: #f1f1f1;
	border: 1px solid #e3e3e3;
	-moz-border-radius: 0px;
	border-radius: 0px;
	color: #333;
}

.panel-body .panel-title {
	color: #666;
	font-family: 'PT Sans', sans-serif;
	font-size: 14px;
	border-bottom: 1px solid #e3e3e3;
	margin-bottom: 20px !important;
	font-weight: bold;
}

/* ADD STATS MODULE */
.panel-addstats {
	margin-bottom: 30px;
	background: #f1f1f1;
	border: 1px solid #e3e3e3;
	-moz-border-radius: 0px;
	border-radius: 0px;
	color: #333;
}
.panel-addstats .character-avatar img {
	width: 100px;
	height: auto;
	-moz-box-shadow: 0 0 5px #666;
	-webkit-box-shadow: 0 0 5px #666;
	box-shadow: 0 0 5px #666;
	-moz-border-radius: 0px;
	border-radius: 0px;
}
.panel-addstats .character-name {
	color: #666;
	font-family: 'PT Sans', sans-serif;
	font-size: 18px;
	border-bottom: 1px solid #e3e3e3;
	padding: 20px 0px;
	margin-bottom: 20px !important;
	font-weight: bold;
}

/* DOWNLOADS */
.panel-downloads {
	margin-bottom: 30px;
	color: #7a7a7a;
	border: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	background:none;
}

.panel-downloads .panel-title {
	padding-top: 10px;
	padding-bottom: 10px;
	background: url(../img/left-02.png) no-repeat top left, url(../img/h1.png) no-repeat top right;;
	width: fit-content;
	color: #baada6;
	font-size: 13px;
    line-height: 44px;
    font-family: "Times New Roman";
	text-transform: uppercase;
	height: 40px;
    padding: 0px 55px 0px 56px;
    font-weight: 400;
	margin-bottom: 0px !important;
	border:0px;
}
.panel-downloads .panel-body .table{
	background: url(../img/first-03.jpg) no-repeat top right;
	border-bottom: 1px solid #2d2928;
	border-left: 1px solid #2d2928;
}
.panel-downloads .panel-body .table>tbody>tr>td{
	padding-top:10px;
}
	.download-description {
		font-size: 11px;
		position: relative;
		top: -7px;
		color: #777;
	}

.online-status-indicator {
	margin-left: 5px;
}

/* WEBENGINE CMS */
.webengine-powered { color: #777 !important; }
.webengine-powered:active, .webengine-powered:hover { color: #ff3214 !important; }

/* GLOBAL TOP BAR */
.global-top-bar {
	width: 100%;
	background: #101010;
	color: #777777;
	padding: 7px 0px 2px 0px;
	text-transform: uppercase;
	font-size: 12px;
}
	.global-top-bar .global-top-bar-content {
		width: 1040px;
		margin: 0px auto;
	}
		.global-top-bar .global-top-bar-content .row {
			margin: 0px;
			padding: 0px;
		}
	.global-top-bar a.logout {
		color: #ff0000 !important;
	}
	.global-top-bar a {
		color: #999999 !important;
	}
	.global-top-bar a:hover {
		color: #ffffff !important;
	}
.global-top-bar-nopadding {
	padding: 0px !important;
}
.global-top-bar-separator {
	padding: 0px 5px;
}

/* LANGUAGE PICKER */
.webengine-language-switcher {
	display: inline-block;
	list-style: none;
	padding: 0px !important;
	margin: 0px !important;
	width: 46px;
	height: 19px;
	overflow: hidden;
	transition: all .3s ease;
}
.webengine-language-switcher:hover {
	width: 400px;
}
	.webengine-language-switcher li {
		display: inline-block;
		list-style-type: none;
		background: #333333;
		padding: 0px 5px 2px 5px;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		-khtml-border-radius: 3px;
		transition: all .3s ease;
	}
	.webengine-language-switcher li:hover {
		-webkit-filter: brightness(120%);
		filter: brightness(120%);
	}
	.webengine-language-switcher li a {
		color: #999999;
	}
	.webengine-language-switcher li a:hover {
		color: #ffffff !important;
	}

/* WEBSITE LOGO */
.webengine-mu-logo {
	transition: all .3s ease;
	z-index: 2;
}
.webengine-mu-logo:hover {
	-webkit-filter: brightness(120%);
	filter: brightness(120%);
}

/* HEADER INFO */
.header-info-container {
	width: 1190px;
	margin: 0px auto;
	text-align: right;
}
	.header-info-container .header-info {
		display: inline-block;
		width: 350px;
		background: rgba(0, 0, 0, 0.3);
		backdrop-filter: blur(5px);
		margin: 0px;
		padding: 20px;
		overflow: auto;
		-moz-box-shadow: 0 0 15px rgba(0,0,0,0.7);
		-webkit-box-shadow: 0 0 15px rgba(0,0,0,0.7);
		box-shadow: 0 0 15px rgba(0,0,0,0.7);
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		-khtml-border-radius: 5px;
		text-shadow: 1px 1px 3px #000000;
		color: #ffffff;
		border: 1px solid rgba(255,255,255,0.1);
		font-size: 12px;
	}
		.header-info-container .header-info .header-info-block {
			padding: 0px;
			color: #aaaaaa;
		}
		.header-info-container .header-info .header-info-block #tServerTime, .header-info-container .header-info .header-info-block #tLocalTime {
			color: #ffffff;
		}
		.header-info-container .header-info .header-info-block #tServerDate, .header-info-container .header-info .header-info-block #tLocalDate {
			color: #cccccc;
		}
		.header-info-container .header-info .header-info-block .online-count {
			color: #00ff00;
		}
	
/* ONLINE BAR */
.webengine-online-bar {
	width: 100%;
	background: #000000;
	border: 1px solid #555555;
	height: 8px;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 0px;
	-webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -khtml-border-radius: 4px;
	overflow: hidden;
	transition: all .3s ease;
}
	.webengine-online-bar .webengine-online-bar-progress {
		height: 8px;
		background: #00ff00 url('../img/online_progress_bar.jpg') no-repeat left center;
		-webkit-border-radius: 0px 1px 1px 0px;
		-moz-border-radius: 0px 1px 1px 0px;
		-khtml-border-radius: 0px 1px 1px 0px;
		border-radius: 0px 1px 1px 0px;
	}
	.webengine-online-bar:hover {
		-webkit-filter: brightness(120%);
		filter: brightness(120%);
	}

/* MY ACCOUNT CHARACTER LIST */
.myaccount-character-block {
	background: #333;
	border: 1px solid #666;
	padding: 5px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	display: inline-block;
	margin: 0px auto;
	-moz-box-shadow: 0 0 10px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5);
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
	.myaccount-character-block img {
		width: 100px;
		height: auto;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
		-moz-box-shadow: 0 0 5px #000;
		-webkit-box-shadow: 0 0 5px #000;
		box-shadow: 0 0 5px #000;
		-moz-transition: all 0.3s ease;
		-o-transition: all 0.3s ease;
		-webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
	}
		.myaccount-character-block img:hover {
			-webkit-filter: brightness(120%);
			filter: brightness(120%);
		}
.myaccount-character-block-location {
	font-size: 12px;
	color: #fff;
	margin-bottom: 20px;
	margin-top: 2px;
	line-height: 1.2;
}
.myaccount-character-block-level {
	position: relative;
	top: -77px;
	display: inline-block;
	background: rgba(0,0,0,0.5);
	padding: 0px 5px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	color: #fff;
	font-size: 10px;
}
.myaccount-character-name a {
	font-weight: bold;
	color: #fff;
	font-size: 16px;
}

/* RANKINGS FILTER BY CLASS */

.rankings-class-filter {
	display: inline-block;
	list-style-type: none;
	margin: 20px auto;
	padding: 10px 20px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-khtml-border-radius: 10px;
}

	.rankings-class-filter li {
		display: inline-block;
		-moz-transition: all 0.3s ease;
		-o-transition: all 0.3s ease;
		-webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
		margin-bottom: 10px;
	}
	
	.rankings-class-filter li:hover {
		-webkit-filter: grayscale(0%);
		filter: grayscale(0%);
	}

.rankings-class-filter-selection {
	display: inline-block;
	width: 75px;
	text-align: center;
	color: #000000;
	font-size: 11px;
	cursor: pointer;
}

	.rankings-class-filter-selection:hover {
		color: #000000 !important;
	}

	.rankings-class-filter-selection:hover img {
		-webkit-filter: brightness(120%);
		filter: brightness(120%);
	}

.rankings-class-filter-selection img {
	width: 40px;
	height: auto;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	-khtml-border-radius: 50%;
	margin-bottom: 5px;
	-moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.45);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.45);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.45);
}

.rankings-class-filter-grayscale {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}
.countdown-wrap{
  display:flex; flex-direction:column; align-items:center; gap:8px;
  margin-top:10px; padding:10px 14px; border-radius:14px;
  background:rgba(0,0,0,.45); backdrop-filter:saturate(120%) blur(4px);
  color:#fff; text-align:center
}
.countdown-wrap .cd-title{letter-spacing:.1em; font-weight:700; font-size:14px; opacity:.9}
.cd-grid{display:flex; gap:10px}
.cd-box{min-width:72px; padding:8px 10px; border-radius:12px; background:rgba(255,255,255,.08)}
.cd-box span{display:block; font-size:22px; font-weight:800; line-height:1}
.cd-box small{display:block; font-size:11px; opacity:.85; margin-top:2px; text-transform:uppercase; letter-spacing:.06em}
.cd-note{font-size:12px; opacity:.8}
@media (max-width:480px){
  .cd-box{min-width:62px}
  .cd-box span{font-size:18px}
}
Bạn đã đặt HTML đúng chỗ trong index.php. Giờ thêm JS ở cuối file footer (trước </body>):

css
Sao chép mã
/var/www/html/templates/default/footer.php
html
Sao chép mã
<script>
// Oct 19, 2025 at 11:00 (GMT+7)
const launchAt = new Date('2025-10-19T11:00:00+07:00').getTime();
const dd = document.getElementById('cd-days');
const hh = document.getElementById('cd-hours');
const mm = document.getElementById('cd-mins');
const ss = document.getElementById('cd-secs');
const wrap = document.getElementById('launch-countdown');
function pad(n){ return String(n).padStart(2,'0'); }
function tick(){
  const now = Date.now(); let diff = launchAt - now;
  if(diff <= 0){ wrap.innerHTML = '<div class="cd-title">SERVER IS NOW OPEN!</div><div class="cd-note">Have fun and good luck!</div>'; clearInterval(timer); return; }
  const d = Math.floor(diff / 86400000); diff %= 86400000;
  const h = Math.floor(diff / 3600000);  diff %= 3600000;
  const m = Math.floor(diff / 60000);    diff %= 60000;
  const s = Math.floor(diff / 1000);
  dd.textContent = pad(d); hh.textContent = pad(h); mm.textContent = pad(m); ss.textContent = pad(s);
}
tick(); const timer = setInterval(tick, 1000);
</script>
#mu-countdown {
  position: relative;               /* hoặc absolute nếu bạn đang overlay */
  max-width: 100%;
  width: min(900px, 92vw);          /* fit mobile */
  margin: 0 auto;
  padding: 12px 16px;
  box-sizing: border-box;
}
#mu-countdown .time-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;                  /* cho phép xuống dòng trên mobile */
}
#mu-countdown .box {
  min-width: 84px;
  padding: 10px 8px;
  border-radius: 8px;
  text-align: center;
}
#mu-countdown .num { display:block; font-weight:700; font-size: 24px; line-height:1; }
#mu-countdown .lbl { display:block; font-size: 11px; opacity:.9; }

/* ==== Header logo responsive ==== */
.site-logo img,
.header-logo img {
  max-width: 100%;
  height: auto;
}

/* ==== Cột phải (login/server panel) không tràn màn hình nhỏ ==== */
.sidebar, .right-panel, .account-login, .server-status {
  max-width: 100%;
  overflow: hidden;
}

/* ==== Breakpoints ==== */
@media (max-width: 992px) {
  #mu-countdown { padding: 10px 12px; }
  #mu-countdown .box { min-width: 72px; padding: 8px 6px; }
  #mu-countdown .num { font-size: 20px; }
  #mu-countdown .lbl { font-size: 10px; }
}

@media (max-width: 576px) {
  /* nếu countdown đang đặt overlay giữa banner, thu nhỏ lại */
  #mu-countdown {
    width: 94vw;
    padding: 8px 10px;
  }
  #mu-countdown .time-row { gap: 8px; }
  #mu-countdown .box { min-width: 64px; padding: 6px 6px; }
  #mu-countdown .num { font-size: 18px; }
  #mu-countdown .lbl { font-size: 9px; }

  /* giảm padding/margin các khối lớn để đỡ chật */
  .content, .container, .module, .news-box { padding-left: 10px; padding-right: 10px; }
}
Lưu ý: nếu HTML countdown của bạn chưa có class, bạn đổi khối chứa số “Days/Hours/Minutes/Seconds” thành:

html
Sao chép mã
<div id="mu-countdown">
  <div class="time-row">
    <div class="box"><span class="num" id="d"></span><span class="lbl">DAYS</span></div>
    <div class="box"><span class="num" id="h"></span><span class="lbl">HOURS</span></div>
    <div class="box"><span class="num" id="m"></span><span class="lbl">MINUTES</span></div>
    <div class="box"><span class="num" id="s"></span><span class="lbl">SECONDS</span></div>
  </div>
</div>
(Chỉ đổi class/ID cho đúng với CSS ở trên; JS đếm ngược của bạn giữ nguyên.)

#3) Tránh fixed width/position gây vỡ layout
Nếu trước đó bạn đặt countdown kiểu width: 900px; left: xxxpx; hoặc top: xxxpx; cố định để nổi trên banner, hãy bỏ các giá trị cố định đó (hoặc ghi đè bằng CSS trên). Nếu muốn overlay giữa banner, để position:absolute cho #mu-countdown và thêm:

css
Sao chép mã
.banner-wrapper { position: relative; }
#mu-countdown { position: absolute; left: 50%; transform: translateX(-50%); bottom: 6%; }
@media (max-width: 576px) {
  #mu-countdown { bottom: 3%; }
/* Safari iOS tránh tự thu nhỏ chữ */
html { -webkit-text-size-adjust: 100%; }

/* ==== Countdown responsive ==== */
#mu-countdown{
  position: relative;
  max-width: 100%;
  width: min(900px, 92vw);
  margin: 0 auto;
  padding: 12px 16px;
  box-sizing: border-box;
}
#mu-countdown .time-row{
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
}
#mu-countdown .box{
  min-width: 84px;
  padding: 10px 8px;
  border-radius: 8px;
  text-align: center;
}
#mu-countdown .num{ display:block; font-weight:700; font-size:24px; line-height:1; }
#mu-countdown .lbl{ display:block; font-size:11px; opacity:.9; }

/* Nếu countdown đang overlay trên banner */
.banner-wrapper{ position: relative; }
.banner-wrapper #mu-countdown{
  position: absolute; left:50%; transform:translateX(-50%); bottom:6%;
}

/* ==== Breakpoints ==== */
@media (max-width: 992px){
  #mu-countdown{ padding:10px 12px; }
  #mu-countdown .box{ min-width:72px; padding:8px 6px; }
  #mu-countdown .num{ font-size:20px; }
  #mu-countdown .lbl{ font-size:10px; }
}
@media (max-width: 576px){
  #mu-countdown{ width:94vw; padding:8px 10px; }
  #mu-countdown .time-row{ gap:8px; }
  #mu-countdown .box{ min-width:64px; padding:6px 6px; }
  #mu-countdown .num{ font-size:18px; }
  #mu-countdown .lbl{ font-size:9px; }
  .container,.content,.module,.news-box{ padding-left:10px; padding-right:10px; }
  .banner-wrapper #mu-countdown{ bottom:3%; }
}

/* Cấm width cố định khiến vỡ layout mobile (nếu theme cũ có dùng) */
#mu-countdown{ width:auto; left:auto; right:auto; }
