* {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

@font-face {
    font-family: "UTM Staccato";
    src: url("subset-UTMAkashi.woff2") format("woff2"), url("subset-UTMAkashi.woff") format("woff");
    font-weight: normal;
    font-style: normal
}

html {
    margin: 0;
    padding: 0
}

body {
    background: #000;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
    overflow-x: hidden
}

img {
    display: block
}

.video {
  width: 100%;
  height: 940px;
  overflow: hidden;
  position: absolute;
  background: #000;
}
.video video {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -960px;
}
.intro .container {
  width: 100%;
  height: 1062px;
  position: relative;
}

.overlay {
    width: 100%;
    height: 940px;
    position: absolute;
    top: 0;
    left: 0
}

.intro {
  position: relative; /* THÊM D̉NG NÀY d? .intro-text bám theo intro */
  z-index: 10;
}

.intro .link {
    width: 480px;
    height: 42px;
    position: absolute;
    top: 17px;
    left: 310px;
	background: #000000c2;
    border: 1px solid #ffff00;
	border-radius: 15px;
}

.intro .link .l {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    display: inline-block;
    text-shadow: 0 0 20px rgba(0, 0, 0, .6);
    text-decoration: none;
    margin: 0 16px;
    margin-top: 0px;
}

.intro .link .fb {
    width: 24px;
    height: 24px;
    background: url(../images/fb.png);
    position: relative;
    top: 8px;
    margin-left: -1px;
}

.intro .link .gr {
    width: 24px;
    height: 24px;
    background: url(../images/gr.png);
    position: relative;
    top: 8px;
    margin-left: -7px;
}

.intro .link .reg {
    width: 173px;
    height: 40px;
    background: url(../image/btn-register.png);
    position: absolute;
    top: 44px;
    left: 90px;
    transition: all .3s ease
}

.intro .link .reg:hover {
    filter: brightness(150%)
}

.intro .play {
    width: 94px;
    height: 94px;
    background: url(../images/btn-play.png) no-repeat;
    position: absolute;
    top: 560px;
    left: 380px;
    transition: all .3s ease
}

.intro .play:hover {
    transform: scale(1.2)
}

.intro .play:before {
    content: " ";
    width: 44px;
    height: 60px;
    background: url(../images/icon-play.png);
    position: absolute;
    top: 18px;
    left: 30px;
    animation: play 2s infinite ease
}

.intro .time {
    position: absolute;
    top: 505px;
    left: 646px;
}

.intro .time .kkcountdown-box .kkc-days,
.intro .time .kkcountdown-box .kkc-hours,
.intro .time .kkcountdown-box .kkc-min,
.intro .time .kkcountdown-box .kkc-sec {
    font-family: "UTM Facebook";
    font-size: 45px;
    color: #fff;
    position: absolute;
    top: 5px;
}

.intro .time .kkcountdown-box .kkc-sec {
    left: 236px;
}

.intro .time .kkcountdown-box .kkc-min {
    left: 156px;
}

.intro .time .kkcountdown-box .kkc-hours {
    left: 72px	;
}

.intro .time .kkcountdown-box .kkc-days-text,
.intro .time .kkcountdown-box .kkc-hours-text,
.intro .time .kkcountdown-box .kkc-min-text,
.intro .time .kkcountdown-box .kkc-sec-text {
    position: absolute;
    top: 56px;
    color: #e3dddd;
    font-size: 11px;
    letter-spacing: -0.6px;
    /* text-transform: uppercase; */
    text-shadow: 0 0 3px rgba(0, 0, 0, .7);
}

.intro .time .kkcountdown-box .kkc-sec-text {
    left: 243px
}

.intro .time .kkcountdown-box .kkc-min-text {
    left: 156px;
}

.intro .time .kkcountdown-box .kkc-hours-text {
    left: 79px
}

.intro .time .kkcountdown-box .kkc-days-text {
    left: 2px;
}

.event-ingame {
    position: absolute;
    top: 5620px;
    left: calc(50% - 600px);
    width: 1200px;
    color: #fff
}

.event-ingame.fixed {
    width: 200px;
    background: rgba(0, 0, 0, .9);
    top: 60px;
    left: auto;
    right: 0;
    position: fixed;
    font-size: 11px
}

.scroll{width:86px;height:29px;background:url(../images/ico_scroll.png) no-repeat;position:fixed;bottom:10px;left:50%;margin-left:-95px;animation:scroll 2s infinite ease}
.events1{width:100%;position:relative;overflow-x:hidden}
.event-cont1{width:1920px;position:relative;left:calc(50% - 960px)}@keyframes sound_wave{50%{height:15px}}@keyframes scroll{50%{transform:translateY(10px)}}@keyframes vd{50%{transform:scale(0.8)}}

.event-ingame.fixed .col-3 {
    width: 80px;
    display: none
}

.event-ingame.fixed .col-4,
.event-ingame.fixed .col-5,
.event-ingame.fixed .col-6 {
    display: none
}

.event-ingame.fixed li span {
    padding: 0 5px
}

.event-ingame.fixed .head {
    display: none
}

.event-ingame ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.event-ingame ul li {
    display: flex;
    flex-wrap: wrap;
    text-shadow: 0 0 3px #000
}

.event-ingame ul li span {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0 20px
}

.event-ingame ul li.head {
    color: #fff;
    margin-bottom: 0px;
    border-bottom: 1px solid #e6874f40;
    padding-bottom: 15px
}

.event-ingame ul li.body {
    color: #fc0;
    border-bottom: 1px solid #e6874f40;
    padding: 7px 0;
    position: relative
}

.event-ingame ul li.body.warning {
    animation: warning 1s infinite ease
}

.event-ingame ul li.body.danger {
    animation: danger 1s infinite ease
}

.event-ingame ul li.body .col-1 {
    color: red
}

.event-ingame ul li .col-1 {
    width: 150px;
    text-align: left;
    color: #ff0;
    font-weight: 600;
    justify-content: flex-start
}

.event-ingame ul li .col-2 {
    width: 200px
}

.event-ingame ul li .col-3 {
    width: 120px
}

.event-ingame ul li .col-4 {
    width: 250px
}

.event-ingame ul li .col-5 {
    flex: 1
}

.event-ingame ul li .col-6 {
    width: 150px
}

.event-ingame ul li .log {
    position: absolute;
    top: 0;
    left: 100%;
    color: #aaa;
    white-space: nowrap
}

.event-ingame ul li i {
    color: #aaa;
    font-weight: 400;
    font-size: 13px
}

.page-1 {
    height: 940px;
    height: 940px;
    position: relative
}

.container {
    width: 1200px;
    margin: 0 auto;
    position: relative
}


.infomation{
	position: absolute;
	width: 480px;
    left: 30%;
    top: 810px;
}

.infomation ul {
	list-style: inside;
}

.infomation ul li{
	color: #ffba00;
	font-weight: 600;
	font-size: 12pt
}

.group_btn{
	position: fixed;
	bottom: 0;
	height: 466px;
right: 20%;}

.group_btn a{
	
}
/* SIDE MENU d?ng ch? */
.group_btn.text-rail{
  position: fixed;
  right: 40px;
  top: 160px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 11;
}
.group_btn.text-rail a{
  all: unset;
  display: block;
  cursor: pointer;
  padding: 16px 22px;
  text-align: center;
  color: #ffe9b3;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .04em;
  border-radius: 14px;
  border: 1px solid rgba(255,215,130,.35);
  background: rgba(15,12,10,.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 24px rgba(0,0,0,.45);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.group_btn.text-rail a:hover{
  transform: translateX(-4px);
  background: rgba(25,20,16,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 16px 30px rgba(0,0,0,.55), 0 0 24px rgba(255,215,130,.15);
  color: #fff3cf;
}

.table{margin-top:20px;max-height: 655px;overflow-y: auto;}.table table{width: 100%;border-collapse:collapse;border:1px solid #433c56;}
.table table tr{background:#4d445e61}
.table table tr.head{background:#732638}
.table table tr.head td{font-weight:bold;color:#ff0}
.table table tr td{padding:10px 20px;border-collapse:collapse;border:1px solid #433c56;text-align:center}


.events{width:100%;position:relative;overflow-x:hidden}
.event-cont{width:1920px;position:relative;left:calc(50% - 960px)}

@keyframes sound_wave{50%{height:15px}}
@keyframes scroll{50%{transform:translateY(10px)}}
@keyframes vd{50%{transform:scale(0.8)}}

.scroll {
    width: 91px;
    height: 66px;
    background: url(../images/scroll.png) no-repeat;
    position: fixed;
    bottom: 10px;
    left: 50%;
    margin-left: -45px;
    animation: scroll 2s infinite ease;
}
@keyframes warning {
    0% {
        background: rgba(230, 152, 56, .1)
    }
    50% {
        background: rgba(230, 152, 56, .2)
    }
    100% {
        background: rgba(230, 152, 56, .1)
    }
}

@keyframes danger {
    0% {
        background: rgba(255, 22, 22, .2)
    }
    50% {
        background: rgba(255, 22, 22, .3)
    }
    100% {
        background: rgba(255, 22, 22, .2)
    }
}
}
@keyframes dotActive {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
.register {
  width: 146px;
  height: 171px;
  background: url(../images/dk1.png) no-repeat;
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 50;
}
.register:before {
  content: " ";
  background: url(../images/dk2.png) no-repeat;
  position: absolute;
  bottom: 0;
  right: 0;
  animation: dk 300ms infinite ease;
  opacity: 0;
  width: 146px;
  height: 171px;
}
.time1 {
  width: 380px;
  text-align: center;
  position: absolute;
  top: 546px;
  left: 635px;
  z-index: 10;
}
@keyframes dk {
  50% {
    opacity: 1;
  }
}
.countdown {
position: absolute;
    top: 752px;
    left: calc(55% - 35px);
}

.countdown .kkc-days,
.countdown .kkc-hours,
.countdown .kkc-min,
.countdown .kkc-sec {
    font-size: 45px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-repeat: repeat;
    background-position: 0 0;
    width: 90px;
    text-align: center;
    display: inline-block;
    margin-top: 0px;
    font-weight: 900;
}

.countdown .kkc-days {
    background-image: url(../images/cd-bg-day.png);
}

.countdown .kkc-hours {
    background-image: url(../images/cd-bg-hour.png);
}

.countdown .kkc-min {
    background-image: url(../images/cd-bg-min.png);
}

.countdown .kkc-sec {
    background-image: url(../images/cd-bg-sec.png);
}

.countdown .kkc-days-text,
.countdown .kkc-hours-text,
.countdown .kkc-min-text,
.countdown .kkc-sec-text {
    font-size: 15px;
    text-shadow: 1px solid #46536d;
    color: #959cb5;
    position: absolute;
    text-align: center;
    top: 50px;
}

.countdown .kkc-days-text {
    left: 29px;
}

.countdown .kkc-hours-text {
    left: 120px;
}

.countdown .kkc-min-text {
    left: 211px;
}

.countdown .kkc-sec-text {
    left: 302px;
}

.countdown .kkcountdown-box {
    width: 100%;
    display: block;
    text-align: center;
}

/* ------- SIDE MENU (text buttons) ------- */
.group_btn.text-rail{
  position: fixed;
  right: 40px;
  top: 220px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 11;
  height: auto;
}

/* xoá toàn b? style ?nh cu c?a các nút */
.group_btn.text-rail a{
  width: auto !important;
  height: auto !important;
  background: none !important;
  position: static !important;
}

/* style nút ch? */
.sm-item{
  display: block;
  padding: 16px 22px;
  text-align: center;
  text-decoration: none;
  color: #ffe9b3;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .04em;

  border-radius: 14px;
  border: 1px solid rgba(255,215,130,.35);
  background: rgba(15,12,10,.58);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 10px 24px rgba(0,0,0,.45);
  backdrop-filter: blur(2px);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}

/* vi?n vàng nh? và mui tên */
.sm-item::after{
  content: "›";
  margin-left: 10px;
  font-weight: 900;
  color: #ffd770;
}

/* hover: n?i + sáng */
.sm-item:hover{
  transform: translateX(-4px);
  background: rgba(25,20,16,.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 16px 30px rgba(0,0,0,.55),
    0 0 24px rgba(255,215,130,.15);
  color: #fff3cf;
}

/* tr?ng thái active (n?u mu?n) */
.sm-item:active{
  transform: translateX(-2px) scale(.99);
}

/* —————————————— T?T (ghi dè) T?T C? style ?nh cu —————————————— */
.group_btn .btn-tinh-nang-game:before,
.group_btn .btn-server:before,
.group_btn .btn-event:before,
.group_btn .btn-su-kien:before,
.group_btn .btn-su-kien2:before,
.group_btn .btn-su-kien3:before{
  content: none !important;
}

/* kill d?nh v? tuy?t d?i & size ?nh cu */
.group_btn .btn-tinh-nang-game,
.group_btn .btn-server,
.group_btn .btn-event,
.group_btn .btn-su-kien,
.group_btn .btn-su-kien2,
.group_btn .btn-su-kien3{
  all: unset;                    /* reset s?ch */
  display: block;                /* b?t l?i block */
  cursor: pointer;
  padding: 16px 22px;            /* áp d?ng sm-item */
  text-align: center;
  color: #ffe9b3;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .04em;
  border-radius: 14px;
  border: 1px solid rgba(255,215,130,.35);
  background: rgba(15,12,10,.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08),
              0 10px 24px rgba(0,0,0,.45);
  backdrop-filter: blur(2px);
}

/* cho d?ng b? hover khi dùng class cu */
.group_btn .btn-tinh-nang-game:hover,
.group_btn .btn-server:hover,
.group_btn .btn-event:hover,
.group_btn .btn-su-kien:hover,
.group_btn .btn-su-kien2:hover,
.group_btn .btn-su-kien3:hover{
  transform: translateX(-4px);
  background: rgba(25,20,16,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12),
              0 16px 30px rgba(0,0,0,.55),
              0 0 24px rgba(255,215,130,.15);
  color: #fff3cf;
}
/* Nhóm menu bên ph?i gi? nguyên */
.side-menu{
  position: fixed;
  right: 3vw;
  top: 18vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 20;
}

/* Nút ki?u t?i gi?n, vi?n vàng + glow m?m */
.glow-btn{
  position: relative;
  display: block;
  padding: 16px 28px;
  border-radius: 18px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-weight: 800;
  font-size: 18px;

  color:#ffe9b3;
  background: rgba(15,12,10,.55);
  border:1px solid rgba(255,215,130,.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 10px 24px rgba(0,0,0,.45),
    0 0 18px rgba(255,215,130,.12);
  backdrop-filter: blur(2px);
  overflow:hidden;            /* d? hi?u ?ng shine không tràn ra ngoài */
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

/* Shine quét ngang khi hover (không ṿng l?p, không ch?p) */
.glow-btn::after{
  content:"";
  position:absolute; top:-40%; bottom:-40%;
  left:-60%; width:40%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.55) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .55s ease;
}

/* Hover: hoi n?i lên + sáng vi?n + shine quét 1 l?n */
.glow-btn:hover{
  transform: translateY(-2px);
  background: rgba(25,20,16,.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.15),
    0 14px 30px rgba(0,0,0,.55),
    0 0 26px rgba(255,215,130,.2);
  color:#fff3cf;
}
.glow-btn:hover::after{
  transform: translateX(220%);
}

/* Màn h́nh th?p th́ thu nh? nút 1 chút */
@media (max-height: 760px){
  .side-menu{ top: 12vh; gap: 12px; }
  .glow-btn{ padding: 14px 22px; font-size: 16px; }
}
/* === Nút ch? (d?p, rơ nét) === */
.side-menu{position:fixed;right:6vw;top:22vh;display:flex;flex-direction:column;gap:14px;z-index:15}
.glow-btn{
  display:block; width:320px; padding:18px 22px; text-align:center; text-decoration:none;
  color:#ffe8c6; font-weight:800; letter-spacing:.06em; border-radius:18px;
  background:radial-gradient(130% 230% at 50% 0%,rgba(255,215,130,.12) 0,rgba(0,0,0,.45) 64%),
             linear-gradient(180deg,rgba(255,255,255,.07),rgba(0,0,0,.25));
  border:1px solid rgba(255,215,130,.38);
  box-shadow:0 8px 26px rgba(0,0,0,.45), inset 0 0 18px rgba(255,230,150,.10);
  backdrop-filter: blur(1.5px);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.glow-btn:hover{transform:translateY(-2px); box-shadow:0 14px 34px rgba(0,0,0,.55), inset 0 0 22px rgba(255,230,150,.18); border-color:#ffd780}

/* === Overlay THÔNG TIN MÁY CH? dùng khung cu .tinh-nang-game === */
.tinh-nang-game{
  width:min(1280px,94vw); height:auto; background:rgba(20,18,16,.60);
  position: fixed; top:50px; left:50%; margin-left:0; transform:translateX(-50%);
  z-index:12; display:none; border:1px solid rgba(255,215,130,.25); border-radius:22px;
  box-shadow:0 20px 50px rgba(0,0,0,.6); padding:20px;
}
.tinh-nang-game .content{
  display:block; /* luôn hi?n th? n?i dung khi overlay m? */
  color:#f3ead6; padding:0; text-shadow:0 0 3px rgba(0,0,0,.45);
}
/* Grid 2 c?t */
.tt-grid{display:grid; gap:18px; grid-template-columns:1.1fr 1.3fr;}
@media (max-width:1100px){ .tt-grid{grid-template-columns:1fr;} }

/* Card */
.tt-card{
  background:rgba(0,0,0,.25);
  border:1px solid rgba(255,215,130,.18);
  border-radius:18px; padding:18px;
  box-shadow:0 10px 26px rgba(0,0,0,.35);
}

/* Title vàng kim có tia quét */
.tt-title{
  margin:4px 0 12px; font-weight:900; letter-spacing:.12em;
  font-size:clamp(24px,3.6vw,44px); color:transparent; position:relative;
  -webkit-text-stroke:2px #5b2a0a;
  background:linear-gradient(180deg,#fff3cf 0%,#ffd98a 22%,#f6b64f 40%,#d89237 62%,#a76324 85%,#7e4216 100%);
  -webkit-background-clip:text; background-clip:text;
  text-shadow:0 1px 0 #fff1c2,0 2px 0 #f4c77f,0 3px 0 #da9a4f,0 4px 0 #8e4a19,0 10px 18px rgba(0,0,0,.45);
  isolation:isolate;
}
.tt-title::after{
  content:attr(data-text); position:absolute; inset:0; color:transparent; z-index:2;
  background:linear-gradient(112deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.85) 13%,rgba(255,255,255,0) 24%);
  background-size:220% 100%; background-position:-150% 0;
  -webkit-background-clip:text; background-clip:text; mix-blend-mode:screen;
  filter:drop-shadow(0 0 6px rgba(255,240,190,.28)); animation:ttShine 3.8s linear infinite;
}
@keyframes ttShine{to{background-position:220% 0;}}

.tt-sub{color:#ffe5a8; margin:12px 0 6px; font-weight:800; letter-spacing:.06em;}
.tt-list{margin:0; padding-left:18px; line-height:1.55;}
.tt-list code{color:#ffd98a}

/* B?ng */
.tt-table-wrap{overflow:auto; border-radius:12px;}
.tt-table{width:100%; border-collapse:separate; border-spacing:0; color:#eee; font-size:14px;}
.tt-table thead th{
  position:sticky; top:0; z-index:1; text-align:center; padding:10px 8px;
  background:linear-gradient(180deg,#3a273f,#231423); color:#ffd770;
  border-bottom:1px solid rgba(255,215,130,.35); white-space:nowrap;
}
.tt-table tbody td{
  padding:9px 8px; text-align:center; border-bottom:1px solid rgba(255,215,130,.12);
}
.tt-table tbody td:first-child{ text-align:left; color:#ffe5a8; font-weight:700; }

/* Nút Close overlay cu v?n ho?t d?ng – làm rơ hon khi hover */
.tinh-nang-game .btn-close{display:block; width:40px;height:40px;position:absolute;top:8px;right:10px; cursor:pointer;}
.tinh-nang-game .btn-close:hover{filter:brightness(1.3)}
/* C?m nút bên ph?i */
.side-menu{
  position: fixed;
  right: 2.2rem;         /* sát ph?i hon */
  top: 18vh;             /* xu?ng du?i chút */
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 30;           /* n?i hon overlay */
}

/* ------ NUDGE: d?y b?ng sang ph?i m?t chút ------ */
:root{
  --nudgeX: 110px;       /* tang/gi?m d? ch?nh vi ch?nh sang ph?i/trái */
}

/* Panel THÔNG TIN MÁY CH?: cân gi?a t?ng th? và nudge sang ph?i */
.tinh-nang-game{
  position: fixed;
  top: 96px;
  left: 40%;
  transform: translateX(calc(-50% + var(--nudgeX)));   /* d?y sang ph?i */
  width: min(1120px, calc(100vw - 440px));             /* ch?a ~320px vùng nút + margin */
  max-height: calc(100vh - 140px);
  overflow: hidden;
  z-index: 20;                                         /* du?i c?m nút */
}

/* Bên trong panel: cho vùng b?ng cu?n n?u dài */
.tt-table-wrap{
  max-height: calc(100vh - 240px);
  overflow: auto;
}

/* Mobile / màn h?p: panel quay v? gi?a, b? nudge */
@media (max-width: 1200px){
  :root{ --nudgeX: 0px; }
  .tinh-nang-game{
    left: 50%;
    transform: translateX(calc(-50% + var(--nudgeX)));
    width: min(96vw, 1100px);
  }
  .side-menu{
    right: 1rem;
    top: 14vh;
  }
}
/* ===== FORCE TOGGLE FOR PANELS (dè lu?t cu) ===== */
.tinh-nang-game,
.gioi-thieu,
.gio-su-kien,
.su-kien,
.su-kien2,
.su-kien3 {
  display: none !important;              /* ?n m?c d?nh */
}

.tinh-nang-game.open,
.gioi-thieu.open,
.gio-su-kien.open,
.su-kien.open,
.su-kien2.open,
.su-kien3.open {
  display: block !important;             /* ch? panel dang m? */
}

/* overlay riêng cho panel */
#panel-shade{
  display:none;
  position:fixed; inset:0;
  background:rgba(0,0,0,.6);
  z-index:19;
}
#panel-shade.show{ display:block; }

/* panel luôn n?i trên overlay — menu bên ph?i cao hon */
.tinh-nang-game, .gioi-thieu, .gio-su-kien, .su-kien, .su-kien2, .su-kien3 { z-index:20; }
.side-menu{ z-index:30; }
/* ====== FIX: t?t h?n l?p t?i overlay dang làm den toàn trang ====== */
.overlay,
.overlay.show{
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Có th? b?n c̣n rule cu .gioi-thieu{background:url(...)} => ghi dè l?i hoàn toàn */
:root{ --nudgeX: 110px; } /* d?y panel l?ch sang ph?i m?t chút cho cân v?i c?m nút */

/* ====== Panel THÔNG TIN SERVER (.gioi-thieu) dùng layout ch? ====== */
.gioi-thieu{
  position: fixed !important;
  top: 96px !important;
  left: 37% !important;
  transform: translateX(calc(-50% + var(--nudgeX))) !important;

  width: min(1120px, calc(100vw - 440px)) !important; /* ch?a ch? cho c?m nút bên ph?i */
  max-height: calc(100vh - 140px) !important;
  overflow: hidden;

  background: rgba(20,18,16,.60) !important; /* b? ?nh n?n cu */
  border: 1px solid rgba(255,215,130,.25);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
  padding: 20px;
  z-index: 20; /* th?p hon .side-menu */
}

/* Script cu s? toggle .show – gi? nguyên */
.gioi-thieu.show{ display: block !important; }

/* N?i dung bên trong hi?n th? b́nh thu?ng (tru?c dây có rule display:none) */
.gioi-thieu .content{
  display: block !important;
  color: #f3ead6;
  padding: 0;
  text-shadow: 0 0 3px rgba(0,0,0,.45);
}

/* ====== Reuse style b?ng/tiêu d? (n?u chua có th́ thêm các rule du?i) ====== */
.tt-grid{ display:grid; gap:18px; grid-template-columns:1.1fr 1.3fr; }
@media (max-width:1100px){
  :root{ --nudgeX: 0px; }
  .gioi-thieu{
    left: 50% !important;
    transform: translateX(calc(-50% + var(--nudgeX))) !important;
    width: min(96vw, 1100px) !important;
  }
  .tt-grid{ grid-template-columns:1fr; }
}

.tt-card{
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,215,130,.18);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}

.tt-title{
  margin: 4px 0 12px;
  font-weight: 900;
  letter-spacing: .12em;
  font-size: clamp(24px,3.6vw,44px);
  color: transparent;
  position: relative;
  -webkit-text-stroke: 2px #5b2a0a;
  background: linear-gradient(180deg,#fff3cf 0%,#ffd98a 22%,#f6b64f 40%,#d89237 62%,#a76324 85%,#7e4216 100%);
  -webkit-background-clip: text; background-clip: text;
  text-shadow: 0 1px 0 #fff1c2,0 2px 0 #f4c77f,0 3px 0 #da9a4f,0 4px 0 #8e4a19,0 10px 18px rgba(0,0,0,.45);
  isolation: isolate;
}
.tt-title::after{
  content: attr(data-text);
  position: absolute; inset: 0; color: transparent; z-index: 2;
  background: linear-gradient(112deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.85) 13%,rgba(255,255,255,0) 24%);
  background-size: 220% 100%; background-position: -150% 0;
  -webkit-background-clip: text; background-clip: text; mix-blend-mode: screen;
  filter: drop-shadow(0 0 6px rgba(255,240,190,.28));
  animation: ttShine 3.8s linear infinite;
}
@keyframes ttShine{ to{ background-position: 220% 0; } }

.tt-table-wrap{ overflow:auto; border-radius:12px; max-height: calc(100vh - 240px); }
.tt-table{
  width:100%; border-collapse:separate; border-spacing:0; color:#eee; font-size:14px;
}
.tt-table thead th{
  position:sticky; top:0; z-index:1; text-align:center; padding:10px 8px;
  background: linear-gradient(180deg,#3a273f,#231423); color:#ffd770;
  border-bottom:1px solid rgba(255,215,130,.35); white-space:nowrap;
}
.tt-table tbody td{
  padding:9px 8px; text-align:center; border-bottom:1px solid rgba(255,215,130,.12);
}
.tt-table tbody td:first-child{ text-align:left; color:#ffe5a8; font-weight:700; }

/* Đ?m b?o c?m nút luôn n?i trên panel */
.side-menu{ z-index: 30 !important; }
/* 1) M? r?ng panel “THÔNG TIN GAME” */
.gioi-thieu{
  /* panel to hon d? b?ng ph?i có ch? n? */
  width: min(1360px, calc(100vw - 360px)) !important;
}

/* 2) Cho c?t ph?i (THÔNG TIN C?N BI?T) to hon c?t trái */
.gioi-thieu .tt-grid{
  grid-template-columns: 0.8fr 2.2fr !important; /* ph?i >> trái */
  column-gap: 22px !important;
}

/* 3) Ép t? l? c?t bên ph?i: TÍNH NANG 18% | CÁCH NH?N 26% | SUB 6% | GHI CHÚ 50% */
.gioi-thieu .tt-grid > .tt-card:last-child .tt-table{
  table-layout: fixed !important;
  font-size: 13.6px !important;
}
.gioi-thieu .tt-grid > .tt-card:last-child .tt-table thead th,
.gioi-thieu .tt-grid > .tt-card:last-child .tt-table tbody td{
  padding: 8px 9px !important;
}

.gioi-thieu .tt-grid > .tt-card:last-child .tt-table thead th:nth-child(1),
.gioi-thieu .tt-grid > .tt-card:last-child .tt-table tbody td:nth-child(1){ width:18% !important; }

.gioi-thieu .tt-grid > .tt-card:last-child .tt-table thead th:nth-child(2),
.gioi-thieu .tt-grid > .tt-card:last-child .tt-table tbody td:nth-child(2){ width:26% !important; }

.gioi-thieu .tt-grid > .tt-card:last-child .tt-table thead th:nth-child(3),
.gioi-thieu .tt-grid > .tt-card:last-child .tt-table tbody td:nth-child(3){
  width:6% !important; white-space:nowrap !important;
}

.gioi-thieu .tt-grid > .tt-card:last-child .tt-table thead th:nth-child(4),
.gioi-thieu .tt-grid > .tt-card:last-child .tt-table tbody td:nth-child(4){
  width:50% !important; text-align:left !important;
  word-break: keep-all !important;           /* gi? t? nguyên v?n */
  overflow-wrap: anywhere !important;        /* ch? ng?t khi bu?c ph?i ng?t */
}
/* ===== Panel THÔNG TIN ĐUA TOP (.gio-su-kien) ===== */
.gio-su-kien{
  position: fixed;
  top: 96px;
  left: 40%;
  transform: translateX(calc(-50% + var(--nudgeX, 0px)));
  width: min(1200px, calc(100vw - 440px)); /* ch?a ch? nút bên ph?i */
  max-height: calc(100vh - 140px);
  overflow: hidden;

  background: rgba(20,18,16,.60);
  border: 1px solid rgba(255,215,130,.25);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
  padding: 20px;
  z-index: 20; /* n?m du?i .side-menu */
}
.gio-su-kien.show{ display: block !important; }     /* script cu s? thêm/t?t .show */
.gio-su-kien .content{
  display: block !important;                        /* d?m b?o n?i dung hi?n */
  color: #f3ead6;
  padding: 0;
  text-shadow: 0 0 3px rgba(0,0,0,.45);
}

/* Lu?i 2 c?t cho n?i dung dua top */
.gio-su-kien .tt-grid{
  display: grid;
  gap: 18px;
  grid-template-columns: 1.05fr 1.25fr;            /* c?t ph?i to hon nh? */
}

/* Card + tiêu d? dùng l?i style chung (n?u chua có) */
.gio-su-kien .tt-card{
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,215,130,.18);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.gio-su-kien .tt-title{
  margin: 4px 0 12px;
  font-weight: 900;
  letter-spacing: .12em;
  font-size: clamp(24px,3.6vw,44px);
  color: transparent;
  position: relative;
  -webkit-text-stroke: 2px #5b2a0a;
  background: linear-gradient(180deg,#fff3cf 0%,#ffd98a 22%,#f6b64f 40%,#d89237 62%,#a76324 85%,#7e4216 100%);
  -webkit-background-clip: text; background-clip: text;
  text-shadow: 0 1px 0 #fff1c2,0 2px 0 #f4c77f,0 3px 0 #da9a4f,0 4px 0 #8e4a19,0 10px 18px rgba(0,0,0,.45);
  isolation: isolate;
}
.gio-su-kien .tt-title::after{
  content: attr(data-text);
  position: absolute; inset: 0; color: transparent; z-index: 2;
  background: linear-gradient(112deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.85) 13%,rgba(255,255,255,0) 24%);
  background-size: 220% 100%;
  background-position: -150% 0;
  -webkit-background-clip: text; background-clip: text; mix-blend-mode: screen;
  filter: drop-shadow(0 0 6px rgba(255,240,190,.28));
  animation: ttShine 3.8s linear infinite;
}
@keyframes ttShine{ to{ background-position: 220% 0; } }

.gio-su-kien .tt-sub{ color:#ffe5a8; margin:12px 0 6px; font-weight:800; letter-spacing:.06em; }
.gio-su-kien .tt-list{ margin:0 0 6px 18px; line-height:1.55; }

/* Responsive: thu nh? & dua panel v? gi?a khi màn h?p */
@media (max-width: 1200px){
  .gio-su-kien{
    left: 50%;
    transform: translateX(-50%);
    width: min(96vw, 1100px);
  }
  .gio-su-kien .tt-grid{ grid-template-columns: 1fr; }
}

/* Đ?m b?o c?m nút luôn n?i trên panel */
.side-menu{ z-index: 30; }
/* ================== PANEL: HU?NG D?N CHOI GAME ================== */
/* Khung overlay dùng cho .su-kien (không d?i id/class khác) */
.su-kien{
  position: fixed;
  top: 96px;
  left: 45%;
  transform: translateX(-50%);
  width: min(1280px, 94vw);
  max-height: calc(100vh - 140px);
  overflow: hidden;
  display: none;               /* m?c d?nh ?n, script cu s? thêm .show */
  z-index: 20;                 /* th?p hon c?m nút bên ph?i */
  background: rgba(20,18,16,.60);
  border: 1px solid rgba(255,215,130,.25);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
  padding: 20px;
}
.su-kien.show{ display:block; }
.su-kien .content{ display:block; color:#f3ead6; text-shadow:0 0 3px rgba(0,0,0,.45); }

/* Lu?i 2 c?t: trái (h?p hu?ng d?n) | ph?i (b?ng Goblin) */
.su-kien .tt-grid{
  display:grid;
  gap:18px;
  grid-template-columns: 1.05fr 1.35fr;
}

/* Card chung */
.su-kien .tt-card{
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,215,130,.18);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}

/* Tiêu d? vàng kim */
.su-kien .tt-title{
  margin:4px 0 12px;
  font-weight:900;
  letter-spacing:.12em;
  font-size: clamp(24px,3.6vw,44px);
  color:transparent;
  -webkit-text-stroke:2px #5b2a0a;
  background:linear-gradient(180deg,#fff3cf 0%,#ffd98a 22%,#f6b64f 40%,#d89237 62%,#a76324 85%,#7e4216 100%);
  -webkit-background-clip:text; background-clip:text;
  text-shadow:0 1px 0 #fff1c2,0 2px 0 #f4c77f,0 3px 0 #da9a4f,0 4px 0 #8e4a19,0 10px 18px rgba(0,0,0,.45);
  position:relative; isolation:isolate;
}
.su-kien .tt-title::after{
  content:attr(data-text);
  position:absolute; inset:0; color:transparent; z-index:2;
  background:linear-gradient(112deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.85) 13%,rgba(255,255,255,0) 24%);
  background-size:220% 100%; background-position:-150% 0;
  -webkit-background-clip:text; background-clip:text; mix-blend-mode:screen;
  filter:drop-shadow(0 0 6px rgba(255,240,190,.28));
  animation:ttShine 3.8s linear infinite;
}
@keyframes ttShine{ to{ background-position:220% 0; } }

.su-kien .tt-sub{ color:#ffe5a8; margin:8px 0 6px; font-weight:800; letter-spacing:.06em; }
.su-kien .tt-list{ margin:0; padding-left:18px; line-height:1.55; }
.su-kien .tt-list b{ color:#ffd98a; }

/* B?ng t? l? */
.su-kien .tt-table-wrap{ overflow:auto; border-radius:12px; max-height: calc(100vh - 240px); }
.su-kien .tt-table{
  width:100%; border-collapse:separate; border-spacing:0; color:#eee; font-size:14px; table-layout:fixed;
}
.su-kien .tt-table thead th{
  position:sticky; top:0; z-index:1; text-align:center; padding:10px 8px;
  background:linear-gradient(180deg,#3a273f,#231423); color:#ffd770;
  border-bottom:1px solid rgba(255,215,130,.35); white-space:nowrap;
}
.su-kien .tt-table tbody td{
  padding:9px 8px; text-align:center; border-bottom:1px solid rgba(255,215,130,.12);
}
.su-kien .tt-table tbody td:first-child{ text-align:left; color:#ffe5a8; font-weight:700; }

/* Responsive */
@media (max-width: 1200px){
  .su-kien{ width:min(96vw,1100px); left:50%; transform:translateX(-50%); }
  .su-kien .tt-grid{ grid-template-columns:1fr; }
}

/* Đ?m b?o c?m nút bên ph?i n?i trên panel */
.side-menu{ z-index:30; }
/* ====== PANEL H? TH?NG S? KI?N ====== */
.su-kien2{
  position: fixed;
  top: 96px;
  left: 45%;
  transform: translateX(-50%);
  width: min(1200px, 95vw);
  max-height: calc(100vh - 140px);
  background: rgba(20,18,16,.60);
  border: 1px solid rgba(255,215,130,.25);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
  padding: 20px;
  z-index: 20;
  display: none;               /* script c?a b?n s? toggle .show */
}
.su-kien2.show{ display:block; } /* gi? nguyên co ch? toggle cu */

/* N?i dung bên trong */
.su-kien2 .content{
  color:#f3ead6;
  text-shadow:0 0 3px rgba(0,0,0,.45);
}

/* T?m card và tiêu d? (tái dùng style chung) */
.su-kien2 .tt-card{
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,215,130,.18);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.su-kien2 .tt-title{
  margin: 4px 0 12px;
  font-weight: 900;
  letter-spacing: .12em;
  font-size: clamp(24px,3.6vw,44px);
  color: transparent;
  position: relative;
  -webkit-text-stroke: 2px #5b2a0a;
  background: linear-gradient(180deg,#fff3cf 0%,#ffd98a 22%,#f6b64f 40%,#d89237 62%,#a76324 85%,#7e4216 100%);
  -webkit-background-clip:text; background-clip:text;
  text-shadow:0 1px 0 #fff1c2,0 2px 0 #f4c77f,0 3px 0 #da9a4f,0 4px 0 #8e4a19,0 10px 18px rgba(0,0,0,.45);
}

/* B?ng s? ki?n */
.su-kien2 .tt-table-wrap{ overflow:auto; border-radius:12px; max-height: calc(100vh - 240px); }

.su-kien2 .tt-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  color:#eee;
  font-size:14px;
  table-layout: fixed; /* d? set width theo c?t */
}
.su-kien2 .tt-table thead th{
  position:sticky; top:0; z-index:1;
  text-align:center;
  padding:10px 10px;
  background: linear-gradient(180deg,#3a273f,#231423);
  color:#ffd770;
  border-bottom:1px solid rgba(255,215,130,.35);
  white-space:nowrap;
}
.su-kien2 .tt-table tbody td{
  padding:10px;
  text-align:center;
  border-bottom:1px solid rgba(255,215,130,.12);
}

/* ——— Chia t? l? c?t cho b?ng ———
   1) TÊN S? KI?N: 32%
   2) SUB:          8%
   3) TH?I GIAN:   38%
   4) GHI CHÚ:     22% (n?i r?ng d? d? xu?ng ḍng) */
.su-kien2 .tt-table thead th:nth-child(1),
.su-kien2 .tt-table tbody td:nth-child(1){ width:32%; text-align:left; }

.su-kien2 .tt-table thead th:nth-child(2),
.su-kien2 .tt-table tbody td:nth-child(2){ width:8%; }

.su-kien2 .tt-table thead th:nth-child(3),
.su-kien2 .tt-table tbody td:nth-child(3){ width:38%; }

.su-kien2 .tt-table thead th:nth-child(4),
.su-kien2 .tt-table tbody td:nth-child(4){ width:22%; text-align:left; }

/* T?i uu xu?ng ḍng cho TH?I GIAN và GHI CHÚ */
.su-kien2 .tt-table tbody td:nth-child(3),
.su-kien2 .tt-table tbody td:nth-child(4){
  word-break: keep-all;      /* gi? t? nguyên khi c̣n ch? */
  overflow-wrap: anywhere;   /* ch? ng?t khi bu?c ph?i ng?t */
}

/* Responsive: thu nh? padding + font khi màn h́nh th?p */
@media (max-height: 760px){
  .su-kien2{ top: 80px; max-height: calc(100vh - 120px); }
  .su-kien2 .tt-table{ font-size:13px; }
  .su-kien2 .tt-table thead th,
  .su-kien2 .tt-table tbody td{ padding:8px; }
}

/* Đ?m b?o c?m nút bên ph?i n?m trên panel */
.side-menu{ z-index:30; }
/* ================== PANEL B?NG THU?C TÍNH ( .su-kien3 ) ================== */
.su-kien3{
  position: fixed;
  top: 96px;
  left: 45%;
  transform: translateX(-50%);
  width: min(1200px, 95vw);
  max-height: calc(100vh - 140px);
  padding: 20px;

  /* Ghi dè tri?t d? style cu (?nh n?n/height c? d?nh) */
  background: rgba(20,18,16,.60) !important;
  background-image: none !important;
  height: auto !important;

  border: 1px solid rgba(255,215,130,.25);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
  z-index: 20;
  display: none;                 /* script c?a b?n s? toggle .show */
}
.su-kien3.show{ display:block; } /* gi? dúng co ch? toggle */

/* N?i dung bên trong */
.su-kien3 .content{
  display:block !important;      /* d? pḥng rule cu d? display:none */
  color:#f3ead6;
  text-shadow:0 0 3px rgba(0,0,0,.45);
}

/* Card + tiêu d? tái dùng */
.su-kien3 .tt-card{
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,215,130,.18);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.su-kien3 .tt-title{
  margin: 4px 0 12px;
  font-weight: 900;
  letter-spacing: .12em;
  font-size: clamp(24px,3.6vw,44px);
  color: transparent;
  position: relative;
  -webkit-text-stroke: 2px #5b2a0a;
  background: linear-gradient(180deg,#fff3cf 0%,#ffd98a 22%,#f6b64f 40%,#d89237 62%,#a76324 85%,#7e4216 100%);
  -webkit-background-clip:text; background-clip:text;
  text-shadow:0 1px 0 #fff1c2,0 2px 0 #f4c77f,0 3px 0 #da9a4f,0 4px 0 #8e4a19,0 10px 18px rgba(0,0,0,.45);
}

/* Khung cu?n cho b?ng */
.su-kien3 .tt-table-wrap{
  overflow:auto;
  border-radius:12px;
  max-height: calc(100vh - 260px);
}

/* ===== B?NG THU?C TÍNH SÁT THUONG ===== */
.su-kien3 .tt-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  color:#eee;
  font-size:14px;
  table-layout: fixed;            /* tôn tr?ng width t?ng c?t */
}
.su-kien3 .tt-table thead th{
  position:sticky; top:0; z-index:1;
  text-align:center;
  padding:10px 10px;
  background: linear-gradient(180deg,#3a273f,#231423);
  color:#ffd770;
  border-bottom:1px solid rgba(255,215,130,.35);
  white-space:nowrap;
}
.su-kien3 .tt-table tbody td{
  padding:10px;
  text-align:center;
  border-bottom:1px solid rgba(255,215,130,.12);
}

/* T? l? c?t: Danh m?c 28% | m?i c?t +9..+13 = 9% | Thu?c tính 18% */
.su-kien3 .tt-table thead th:nth-child(1),
.su-kien3 .tt-table tbody td:nth-child(1){ width:28%; text-align:left; }

.su-kien3 .tt-table thead th:nth-child(2),
.su-kien3 .tt-table tbody td:nth-child(2){ width:9%; }
.su-kien3 .tt-table thead th:nth-child(3),
.su-kien3 .tt-table tbody td:nth-child(3){ width:9%; }
.su-kien3 .tt-table thead th:nth-child(4),
.su-kien3 .tt-table tbody td:nth-child(4){ width:9%; }
.su-kien3 .tt-table thead th:nth-child(5),
.su-kien3 .tt-table tbody td:nth-child(5){ width:9%; }
.su-kien3 .tt-table thead th:nth-child(6),
.su-kien3 .tt-table tbody td:nth-child(6){ width:9%; }

.su-kien3 .tt-table thead th:nth-child(7),
.su-kien3 .tt-table tbody td:nth-child(7){ width:18%; text-align:left; }

/* Hàng “Trang B?” (colspan=7) n?i b?t */
.su-kien3 .tt-table tbody td[colspan],
.su-kien3 .tt-table tbody td[colspan="7"]{
  text-transform: uppercase;
  font-weight: 800;
  color:#ffd770;
  background:rgba(255,215,130,.06);
  letter-spacing:.06em;
  text-align:left;
}

/* Hover d? d?c */
.su-kien3 .tt-table tbody tr:hover{
  background: rgba(255,215,130,.04);
}

/* Responsive: màn h́nh th?p */
@media (max-height: 760px){
  .su-kien3{ top: 80px; max-height: calc(100vh - 120px); }
  .su-kien3 .tt-table{ font-size:13px; }
  .su-kien3 .tt-table thead th,
  .su-kien3 .tt-table tbody td{ padding:8px; }
}

/* Đ?m b?o c?m nút bên ph?i n?m trên panel */
.side-menu{ z-index:30; }
/* ========= NAV R?C L?A ========= */

/* Khung thanh – n?n t?i, ph? hào quang l?a xoay */
.intro .link{
  position:absolute;        /* gi? v? trí b?n dang dùng */
  top:17px; left:310px;     /* gi? y nguyên to? d? */
  height:52px;
  padding:0 16px;
  display:flex; align-items:center; gap:18px;

  background: radial-gradient(120% 200% at 50% 0%,
              rgba(255,170,60,.14) 0%, rgba(0,0,0,.55) 42%, rgba(0,0,0,.70) 100%);
  border-radius: 22px;
  border: 1px solid rgba(255,210,120,.55);
  box-shadow:
    0 14px 34px rgba(0,0,0,.55),
    inset 0 2px 0 rgba(255,255,255,.08);

  isolation:isolate;        /* d? pseudo không ch?y ra ngoài */
  overflow: hidden;
  z-index: 50;
}

/* Vành l?a ngoài – conic-gradient xoay */
.intro .link::before{
  content:"";
  position:absolute; inset:-3px;
  border-radius:inherit;
  background:
    conic-gradient(from 0deg,
      rgba(255,94,0,.0) 0%,
      rgba(255,110,10,.55) 10%,
      rgba(255,170,60,.25) 20%,
      rgba(255,94,0,.0) 30%,
      rgba(255,110,10,.55) 45%,
      rgba(255,170,60,.25) 55%,
      rgba(255,94,0,.0) 70%,
      rgba(255,110,10,.55) 85%,
      rgba(255,170,60,.25) 95%,
      rgba(255,94,0,.0) 100%);
  filter: blur(8px) saturate(120%);
  mix-blend-mode: screen;
  animation: fireRing 6s linear infinite;
  pointer-events:none;
}

/* Hào quang trong – nh?p d?p l?a */
.intro .link::after{
  content:"";
  position:absolute; inset:0;
  border-radius:inherit;
  background: radial-gradient(70% 180% at 50% 0%,
              rgba(255,140,40,.25), rgba(255,140,40,0) 50%);
  mix-blend-mode: screen;
  animation: flamePulse 1.8s ease-in-out infinite;
  pointer-events:none;
}

/* Item ch? – vàng cháy + vi?n glow */
.intro .link .l{
  position:relative;
  display:inline-flex; align-items:center;
  padding:10px 16px;
  border-radius:14px;
  text-decoration:none;
  text-transform: none;
  font-weight:900;
  letter-spacing:.02em;
  color:#fff7d1;
  text-shadow:
    0 0 6px rgba(255,200,120,.85),
    0 0 18px rgba(255,120,40,.45),
    0 1px 0 #4b2a10;

  transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
}

/* G?ch phân cách m?m gi?a các item */
.intro .link .l:not(:last-child)::after{
  content:"";
  position:absolute; right:-9px; top:50%; transform:translateY(-50%);
  width:1px; height:18px;
  background: linear-gradient(180deg, rgba(255,210,120,.22), rgba(255,210,120,.06));
}

/* Hover: bùng l?a du?i chân ch? + n?i kh?i */
.intro .link .l:hover{
  transform: translateY(-1px);
  background: rgba(255,140,40,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 6px 16px rgba(0,0,0,.4);
}
.intro .link .l:hover::before{
  content:"";
  position:absolute; left:12px; right:12px; bottom:6px; height:6px;
  border-radius:6px;
  background:
    radial-gradient(10px 10px at 0% 50%, rgba(255,140,40,.0) 0, rgba(255,140,40,.6) 100%),
    linear-gradient(90deg, rgba(255,210,160,.0), rgba(255,170,60,.85), rgba(255,90,0,.9), rgba(255,210,160,.0));
  filter: blur(1px);
  box-shadow: 0 0 10px rgba(255,120,30,.65);
}

/* Tr?ng thái dang ch?n – b?n có th? thêm .active vào <a> hi?n hành */
.intro .link .l.active{
  background: rgba(255,140,40,.17);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 0 0 2px rgba(255,160,60,.28), 0 10px 24px rgba(0,0,0,.5);
}

/* Nút icon FB/Group – nút than h?ng */
.intro .link .fb,
.intro .link .gr{
  width:30px; height:30px; top:0; margin-left:0;
  border-radius:10px;
  background-position:center; background-repeat:no-repeat; background-size:20px 20px;
  box-shadow:
    0 0 0 1px rgba(255,190,120,.45) inset,
    0 0 18px rgba(255,120,40,.45), 0 6px 16px rgba(0,0,0,.55);
  filter: saturate(110%);
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}
.intro .link .fb:hover,
.intro .link .gr:hover{
  transform: translateY(-1px) scale(1.03);
  box-shadow:
    0 0 0 1px rgba(255,210,150,.7) inset,
    0 0 24px rgba(255,140,40,.75), 0 10px 22px rgba(0,0,0,.6);
  filter: saturate(125%) brightness(1.05);
}

/* Hi?u ?ng r?c l?a – animation */
@keyframes fireRing{
  to{ transform: rotate(360deg); }
}
@keyframes flamePulse{
  0%,100%{ opacity:.45; filter: blur(0.5px); }
  50%{ opacity:.85; filter: blur(1.2px); }
}

/* Tôn tr?ng ngu?i dùng h?n ch? chuy?n d?ng */
@media (prefers-reduced-motion: reduce){
  .intro .link::before,
  .intro .link::after{ animation:none; }
}
/* ==== NAV R?C L?A – FIX 1 HÀNG, KHÔNG XU?NG D̉NG ==== */
.intro .link{
  /* b? width c?ng 480px c?a rule cu */
  width: max-content !important;   /* giăn theo n?i dung */
  min-height: 54px !important;
  padding: 0 18px !important;

  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  flex-wrap: nowrap !important;    /* không cho wrap */
  white-space: nowrap !important;  /* không xu?ng ḍng */
  line-height: 1 !important;
}

.intro .link .l{
  white-space: nowrap !important;  /* gi? t?ng m?c trên 1 ḍng */
  padding: 12px 18px !important;   /* tang d?m cho cân d?i */
  font-size: 15px;                 /* có th? tang/gi?m tu? b?n */
}

/* g?ch phân cách m?nh hon cho thoáng */
.intro .link .l:not(:last-child)::after{
  right: -10px;
  height: 16px;
  opacity: .75;
}

/* icon gi? cùng hàng, canh gi?a */
.intro .link .fb,
.intro .link .gr{
  flex: 0 0 auto !important;
  margin-left: 4px !important;
}

/* Tu? ch?n: can gi?a toàn thanh (n?u mu?n) */
/* .intro .link{ left:50% !important; transform:translateX(-50%); } */
/* Can GI?A thanh menu */
.intro .link{
  left: 50% !important;
  transform: translateX(-50%) !important; /* kéo ngu?c l?i dúng gi?a */
}
/* Tooltip cho icon FB/Group */
.intro .link .fb,
.intro .link .gr{
  position: relative;
}

/* n?n tooltip */
.intro .link .fb[data-tip]::after,
.intro .link .gr[data-tip]::after{
  content: attr(data-tip);
  position: absolute;
  left: 50%; bottom: -40px;
  transform: translateX(-50%) translateY(8px);
  padding: 6px 10px;
  font-size: 12px; font-weight: 700;
  color: #fff7d1;
  white-space: nowrap;

  background: radial-gradient(120% 180% at 50% 0%, rgba(255,160,60,.28), rgba(0,0,0,.75) 60%);
  border: 1px solid rgba(255,210,120,.45);
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.1);

  opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 2;
}

/* mui tên */
.intro .link .fb[data-tip]::before,
.intro .link .gr[data-tip]::before{
  content:"";
  position: absolute;
  left: 50%; bottom: -18px;
  transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: rgba(0,0,0,.75);
  border-left: 1px solid rgba(255,210,120,.45);
  border-top: 1px solid rgba(255,210,120,.45);
  box-shadow: 0 2px 6px rgba(0,0,0,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease, bottom .18s ease;
  z-index: 1;
}

/* hi?n khi hover */
.intro .link .fb:hover[data-tip]::after,
.intro .link .gr:hover[data-tip]::after{
  opacity: 1; transform: translateX(-50%) translateY(0);
}
.intro .link .fb:hover[data-tip]::before,
.intro .link .gr:hover[data-tip]::before{
  opacity: 1; bottom: -14px;
}
/* KH?C PH?C tooltip b? c?t ? mép ph?i */
.intro .link{
  overflow: visible !important;   /* tru?c dó dang hidden nên tooltip b? c?t */
}
/* Cho tooltip vu?t ra ngoài thanh */
.intro .link{
  overflow: visible !important;
}

/* Đ?t tooltip c?a FB xu?ng du?i, can gi?a icon (gi?ng group) */
.intro .link .fb::after{
  /* n?u tru?c dó có dùng bottom/transform khác, ép l?i luôn */
  top: calc(100% + 10px) !important;   /* xu?t hi?n bên du?i nút */
  bottom: auto !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 60 !important;
  pointer-events: none;
}
/* Cho tooltip vuon ra ngoài thanh */
.intro .link{ overflow: visible !important; }

/* C? d?nh v? trí, và QUAN TR?NG: d? bubble là inline-block */
.intro .link .fb,
.intro .link .gr{ position: relative; }

/* Bubble c?a Facebook – cho gi?ng Group, ôm tr?n ch? */
.intro .link .fb::after{
  top: calc(100% + 10px) !important;   /* du?i icon */
  left: 50% !important;
  transform: translateX(-50%) !important;

  display: inline-block !important;    /* <-- then ch?t */
  width: auto !important;
  min-width: max-content;              /* ôm h?t ch? */
  white-space: nowrap;

  padding: 8px 14px;
  border-radius: 14px;
  color: #ffeccc;
  font-weight: 800;
  letter-spacing: .02em;
  background:
    radial-gradient(120% 220% at 50% 0%, rgba(255,160,60,.15) 0, rgba(0,0,0,.55) 60%, rgba(0,0,0,.75) 100%);
  border: 1px solid rgba(255,210,120,.45);
  box-shadow: 0 8px 22px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.12);
  z-index: 60;
}

/* ch?m than h?ng du?i bubble (tu? b?n dang dùng) */
.intro .link .fb::before{
  content:"";
  position:absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, -6px);
  width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,0,0,.9), rgba(0,0,0,0));
  box-shadow: 0 0 16px rgba(255,140,40,.65);
  pointer-events: none;
}
/* === COUNTDOWN: G?N – SÁT – S?C NÉT === */
#countdown{
  position:fixed !important;
  left:50% !important;
  bottom:32px !important;
  transform:translateX(-50%) !important;
  z-index:60 !important;
  pointer-events:none;
}

/* Gi?m kho?ng cách gi?a các c?t */
#countdown .kkcountdown-box{
  display:flex !important;
  align-items:flex-end !important;
  gap:clamp(6px, 1.3vw, 14px) !important;    /* ? c̣n sát hon */
}

/* S?: g?n, h?p hon, vi?n m?nh – v?n rơ */
#countdown .kkc-days,
#countdown .kkc-hours,
#countdown .kkc-min,
#countdown .kkc-sec{
  position:static !important;
  background:none !important;
  border:none !important;
  box-shadow:none !important;
  filter:none !important;
  mix-blend-mode:normal !important;
  opacity:1 !important;

  padding:0 6px !important;                  /* sát nhung không dính */
  min-width:2.4ch !important;                /* gi? ch? cho s? 1 */

  font-family:"Montserrat",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif !important;
  font-weight:900 !important;
  font-size:clamp(52px, 7.8vw, 92px) !important;
  line-height:.88 !important;
  letter-spacing:-0.04em !important;         /* thu h?p b? ngang th? giác */

  color:#fff9dc !important;
  -webkit-text-fill-color:#fff9dc !important;
  -webkit-text-stroke:1.5px #201106 !important;  /* vi?n m?nh hon d? b?t thô */
  text-shadow:0 0 10px rgba(255,210,140,.22) !important; /* glow nh?, không ám */
}

/* Nhăn du?i: sát hon & nh? g?n */
#countdown .kkc-days-text,
#countdown .kkc-hours-text,
#countdown .kkc-min-text,
#countdown .kkc-sec-text{
  position:static !important;
  display:block !important;
  margin-top:4px !important;                 /* ? g?n s? hon */
  font:700 clamp(11px, 1.6vw, 15px)/1 "Montserrat",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif !important;
  color:#ffd98b !important;
  text-shadow:0 1px 0 rgba(32,17,6,.8) !important;
}

/* Mobile: v?n sát, không n?ng n? */
@media (max-width:680px){
  #countdown{ bottom:20px !important; }
  #countdown .kkcountdown-box{ gap:clamp(6px, 3vw, 12px) !important; }
  #countdown .kkc-days,
  #countdown .kkc-hours,
  #countdown .kkc-min,
  #countdown .kkc-sec{
    font-size:clamp(40px, 11vw, 64px) !important;
    padding:0 4px !important;
  }
}
/* ==============================
   FIX CH?C 100% VIDEO + CH? GI?A
   ============================== */

/* 1?? VIDEO n?n full */
.video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 2?? L?p ph? m? */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2;
}

/* 3?? L?p ch? intro (menu + logo + ch?) */
.intro {
  position: relative;
  z-index: 3;
}

/* 4?? CH? GI?A NHÂN V?T */
.intro-text {
  position: fixed;
  top: 65%; /* di?u ch?nh cao th?p t?i dây */
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  z-index: 10;
}

/* MÁY CH? M?I — nh? hon + nh?p nháy tr?ng den */
.server-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 34px;           /* gi?m nh? size */
  font-weight: 800;
  color: #ffffff;            /* kh?i d?u màu tr?ng */
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-shadow:
    0 0 8px rgba(255,255,255,0.9),
    0 0 18px rgba(255,255,255,0.7),
    0 0 30px rgba(255,255,255,0.4);
  animation: blinkWhiteBlack 0.5s infinite ease-in-out;
}

/* Hi?u ?ng tr?ng den xen k? */
@keyframes blinkWhiteBlack {
  0% {
    color: #ffffff;
    text-shadow:
      0 0 8px rgba(255,255,255,0.9),
      0 0 18px rgba(255,255,255,0.7),
      0 0 30px rgba(255,255,255,0.4);
  }
  50% {
    color: #111111;
    text-shadow:
      0 0 6px rgba(255,255,255,0.5),
      0 0 10px rgba(255,255,255,0.2);
  }
  100% {
    color: #ffffff;
    text-shadow:
      0 0 8px rgba(255,255,255,0.9),
      0 0 18px rgba(255,255,255,0.7),
      0 0 30px rgba(255,255,255,0.4);
  }
}

.main-title {
  font-family: 'Alfa Slab One', serif;
  font-size: 130px;
  text-transform: uppercase;
  letter-spacing: 5px;
  position: relative;
  text-align: center;

  /* l?p vàng kim 3D */
  background: linear-gradient(
    180deg,
    #fff4b0 0%,
    #ffdb4d 20%,
    #ffb300 50%,
    #c97a00 75%,
    #5a2a00 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Vi?n dày + kh?i d? bóng */
  -webkit-text-stroke: 4px #3a1a00;
  text-shadow:
    0 2px 0 #6a3900,
    0 4px 6px rgba(0,0,0,0.8),
    inset 0 -2px 3px rgba(0,0,0,0.6),
    0 0 18px rgba(255,200,80,0.5);

  /* t?o c?m giác kh?c n?i */
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.7));
}

/* t?o gân sáng gi?a ch? */
.main-title::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.9) 0%,
    rgba(255,255,255,0.4) 40%,
    rgba(255,255,255,0) 60%
  );
  mix-blend-mode: overlay;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  opacity: 0.6;
}

/* ===========================
   D̉NG SLOGAN C? ĐI?N + SÓNG LAN T?NG CH?
   =========================== */
.sub-text {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 600;
  color: #f7d890;
  letter-spacing: 1px;
  margin-top: 15px;
  display: inline-block;
  text-shadow:
    0 0 6px rgba(255,200,120,0.6),
    0 0 15px rgba(255,160,60,0.4);
}

.sub-text span {
  display: inline-block;
  animation: waveChar 2.2s ease-in-out infinite;
}

/* t?o hi?u ?ng sóng l?n lu?t t?ng ch? */
@keyframes waveChar {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-6px); }
  50% { transform: translateY(0); }
  75% { transform: translateY(4px); }
}

/* delay d?n t?ng ch? 1 d? t?o hi?u ?ng lan sóng */
.sub-text span:nth-child(1)  { animation-delay: 0s; }
.sub-text span:nth-child(2)  { animation-delay: 0.05s; }
.sub-text span:nth-child(3)  { animation-delay: 0.1s; }
.sub-text span:nth-child(4)  { animation-delay: 0.15s; }
.sub-text span:nth-child(5)  { animation-delay: 0.2s; }
.sub-text span:nth-child(6)  { animation-delay: 0.25s; }
.sub-text span:nth-child(7)  { animation-delay: 0.3s; }
.sub-text span:nth-child(8)  { animation-delay: 0.35s; }
.sub-text span:nth-child(9)  { animation-delay: 0.4s; }
.sub-text span:nth-child(10) { animation-delay: 0.45s; }
.sub-text span:nth-child(11) { animation-delay: 0.5s; }
.sub-text span:nth-child(12) { animation-delay: 0.55s; }
.sub-text span:nth-child(13) { animation-delay: 0.6s; }
.sub-text span:nth-child(14) { animation-delay: 0.65s; }
.sub-text span:nth-child(15) { animation-delay: 0.7s; }
.sub-text span:nth-child(16) { animation-delay: 0.75s; }
.sub-text span:nth-child(17) { animation-delay: 0.8s; }
.sub-text span:nth-child(18) { animation-delay: 0.85s; }
.sub-text span:nth-child(19) { animation-delay: 0.9s; }
.sub-text span:nth-child(20) { animation-delay: 0.95s; }
.sub-text span:nth-child(21) { animation-delay: 1.0s; }
.sub-text span:nth-child(22) { animation-delay: 1.05s; }
.sub-text span:nth-child(23) { animation-delay: 1.1s; }
