/* HVG STUDIO — CSS dùng chung cho cả 3 trang.
   Chỉnh các biến --bg, --gold, --text, --font trong :root để đổi giao diện. */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&family=Oswald:wght@400;500;600;700&display=swap');
/* 01. THIẾT LẬP CHUNG — đổi màu và font tại đây. */
:root {
  color-scheme:dark;
  --bg:#111310;
  --panel:#191c18;
  --text:#f5f3ec;
  --muted:#adb0a4;
  --gold:#dcba7b;
  --line:#ffffff1c;
  --font:'Be Vietnam Pro',sans-serif
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:100px
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:16px/1.75 var(--font)
}

button,a {
  -webkit-tap-highlight-color:transparent
}

a {
  color:inherit;
  text-decoration:none
}

button {
  font:inherit;
  color:inherit;
  cursor:pointer
}

button:disabled {
  cursor:default
}

button,a {
  touch-action:manipulation
}

button:focus-visible,a:focus-visible,summary:focus-visible {
  outline:2px solid var(--gold);
  outline-offset:5px
}

button {
  border:0
}

img {
  display:block;
  width:100%;
  object-fit:cover
}

h1,h2,h3,p {
  margin:0
}

h1,h2,h3 {
  line-height:1.25
}

p {
  color:var(--muted)
}

.wrap {
  width:min(1280px,calc(100% - 96px));
  margin:auto
}

.taigame {
	position: absolute;
	bottom: 20px;
	z-index: 10;
  /* ... giữ nguyên các thuộc tính position: absolute, bottom, z-index cũ ... */
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Quan trọng: Cho phép các nút tự động xuống dòng khi hết chỗ */
  gap: 10px;       /* Tạo khoảng cách đều giữa các nút khi chúng nằm cạnh nhau hoặc xuống dòng */
  
  width: 100%;
  padding: 0 15px; /* Thêm khoảng lề hai bên để nút không dính sát mép màn hình */
  box-sizing: border-box; 
}

/* 2. Thêm Media Query riêng cho giao diện điện thoại (màn hình nhỏ hơn 768px) */
@media (max-width: 768px) {
  .taigame {
    bottom: 10px; /* Đẩy cụm nút lên cao hơn một chút so với desktop nếu cần */
  }
  
  .taigame img {
    height: 40px; /* Thu nhỏ kích thước ảnh trên mobile (thay vì 50px như mặc định) */
    max-width: 100%;
    object-fit: contain;
  }
}
.skip {
  position:fixed;
  top:-100px;
  background:var(--gold);
  color:#111;
  padding:12px;
  z-index:99
}

.skip:focus {
  top:0
}

/* 02. ĐẦU TRANG VÀ MENU */
.header {
  height:88px;
  position:relative;
  z-index:20;
  border-bottom:1px solid var(--line);
  background:#111310
}

.header-inner {
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px
}

.brand {
  display:flex;
  align-items:center;
  gap:11px
}

.brand-mark {
  font:700 31px/1 'Oswald',sans-serif;
  border:1px solid var(--gold);
  color:var(--gold);
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  transform:skew(-8deg)
}

.brand-name {
  font:600 25px/1 'Oswald',sans-serif;
  letter-spacing:1px
}

.brand-name small {
  font:10px/1.5 var(--font);
  display:block;
  letter-spacing:4px;
  color:var(--muted);
  margin-top:5px
}

.nav {
  display:flex;
  align-items:center;
  gap:36px;
  font-size:14px
}

.nav a {
  padding:10px 0;
  position:relative
}

.nav a:hover,.nav a.active {
  color:var(--gold)
}

.nav a.active:after {
  content:'';
  position:absolute;
  bottom:-22px;
  left:0;
  right:0;
  height:2px;
  background:var(--gold)
}

.header-label {
  font-size:12px;
  letter-spacing:2px;
  color:var(--muted)
}

.menu {
  display:none;
  background:transparent;
  padding:10px;
  font-size:22px
}

.eyebrow {
  display:block;
  font-size:12px;
  letter-spacing:2.4px;
  text-transform:uppercase;
  color:var(--gold);
  font-weight:600
}





/* 03. BANNER VÀ ĐIỀU KHIỂN SLIDE */
.hero {
  position:relative;
  min-height:620px;
  isolation:isolate;
  background:#20231c;
  overflow:hidden
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;       /* Đảm bảo ảnh luôn trải rộng hết 100% chiều ngang của thẻ cha */
  height: 100%;

}

@media (max-width: 768px) {

  .hero-art {
    object-fit: contain; /* Đảm bảo hiển thị trọn vẹn toàn bộ bức ảnh, không cắt xén */
    object-position: top center;
  }
  
  /* Lưu ý: Bạn có thể cần điều chỉnh lại class .taigame (nhóm nút tải) 
     sao cho phù hợp với chiều cao mới của .hero đã bị thu nhỏ lại */
}


.hero-copy {
  padding:88px 0 150px;
  max-width:610px
}

.hero .eyebrow {
  margin:25px 0 9px
}

.hero-title {
  font:600 clamp(64px,7.5vw,112px)/1.04 'Oswald',sans-serif;
  letter-spacing:-2px
}

.hero-title span {
  display:block;
  color:var(--gold);
  font:500 clamp(27px,3vw,42px)/1.4 'Oswald',sans-serif;
  letter-spacing:9px;
  margin-top:7px
}

.hero-desc {
  font-size:17px;
  max-width:445px;
  margin:21px 0 27px;
  color:#d5d6cc
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 25px;
  background:var(--gold);
  color:#171a15;
  font-size:14px;
  font-weight:600;
  border:1px solid var(--gold);
  transition:background .2s,transform .2s
}

.button:hover {
  background:#f2d299;
  transform:translateY(-2px)
}

.button.outline {
  background:transparent;
  color:var(--text);
  border-color:#ffffff45
}

.button.outline:hover {
  border-color:var(--gold);
  color:var(--gold)
}

.hero-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap
}















.circle {
  height:42px;
  min-width:42px;
  border:1px solid #ffffff35;
  border-radius:50%;
  background:#11131055;
  display:grid;
  place-items:center
}

.circle:hover {
  border-color:var(--gold);
  color:var(--gold)
}



.intro-strip {
  border-bottom:1px solid var(--line)
}

.intro-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:25px 0
}

.intro-inner p {
  font-size:14px
}

.intro-inner strong {
  color:var(--text);
  font-weight:500
}

.mini-tags {
  display:flex;
  gap:28px;
  font-size:12px;
  letter-spacing:1px;
  color:#b1b5a8
}

.section {
  padding:88px 0
}

.section-top {
  display:flex;
  justify-content:space-between;
  align-items:end;
  margin-bottom:34px;
  gap:30px
}

.section-top h2,.about h2 {
  font-size:clamp(28px,3vw,42px);
  font-weight:600;
  letter-spacing:-1px;
  margin-top:10px
}

.section-top p {
  font-size:14px;
  max-width:360px
}

/* 04. DANH SÁCH GAME */
.game-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px
}

.game-card {
  background:#191c17;
  border:1px solid var(--line);
  transition:border-color .25s,transform .25s;
  display:block;
  overflow:hidden
}

.game-card:hover {
  transform:translateY(-5px);
  border-color:#dcba7b80
}

.card-art {
  height:285px;
  position:relative;
  overflow:hidden;
  background:#262c23
}

.card-art img {
  height:100%;
  transition:transform .6s
}

.game-card:hover img {
  transform:scale(1.035)
}







.card-body {
  padding:26px 28px
}

.card-tags {
  display:flex;
  gap:9px;
  font-size:12px;
  color:#babfaf;
  margin-bottom:12px
}

.card-tags span+span:before {
  content:'·';
  padding-right:9px;
  color:var(--gold)
}

.card-body h3 {
  font-size:25px;
  font-weight:600;
  margin-bottom:10px
}

.card-body p {
  font-size:14px;
  min-height:49px
}

.card-foot {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid var(--line);
  margin-top:24px;
  padding-top:19px;
  font-size:13px
}

.card-foot strong {
  font-weight:500;
  color:var(--gold)
}

.about {
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:90px;
  align-items:start
}

.about h2 {
  max-width:490px;
  line-height:1.45
}

.about p {
  margin:10px 0 26px
}

.principles {
  display:flex;
  gap:38px;
  border-top:1px solid var(--line);
  padding-top:24px
}

.principles span {
  color:var(--gold);
  font-size:14px
}

.footer {
  border-top:1px solid var(--line);
  padding:32px 0
}

.footer-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px
}

.footer small {
  font-size:12px;
  color:#939a8c
}

.footer-links {
  display:flex;
  gap:23px;
  font-size:13px;
  color:var(--muted)
}

/* 05. TRANG CHI TIẾT GAME */
.detail-hero {
  min-height:505px
}

.detail-hero .hero-copy {
  padding:38px 0 65px
}

.breadcrumb {
  font-size:13px;
  color:#b8bdb0;
  margin-bottom:36px;
  display:flex;
  gap:12px;
  flex-wrap:wrap
}

.detail-hero h1 {
  font-size:clamp(42px,6vw,77px);
  line-height:1.2;
  margin:16px 0;
  font-weight:600;
  max-width:640px
}

.detail-hero h1 small {
  display:block;
  color:var(--gold);
  font-size:.48em;
  letter-spacing:5px;
  margin-top:8px
}

.detail-hero .hero-desc {
  max-width:490px
}

.detail-nav {
  background:#191c17;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:10
}

.detail-nav .wrap {
  display:flex;
  gap:35px;
  overflow:auto
}

.detail-nav a {
  white-space:nowrap;
  padding:18px 0;
  font-size:14px
}

.detail-nav a:hover {
  color:var(--gold)
}

.overview {
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:70px
}

.overview h2 {
  font-size:34px;
  margin:10px 0 22px
}

.overview p+p {
  margin-top:18px
}

.facts {
  display:grid;
  grid-template-columns:1fr 1fr;
  align-content:start;
  border-top:1px solid var(--line);
  border-left:1px solid var(--line)
}

.fact {
  padding:23px;
  border-bottom:1px solid var(--line);
  border-right:1px solid var(--line)
}

.fact small {
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-bottom:6px
}

.fact strong {
  font-size:15px;
  font-weight:500
}

/* 06. NÚT CHỌN VÀ NỘI DUNG CLASS / MÔN PHÁI */
.classes-section {
  /* Hãy điều chỉnh lại số lượng ../ cho phù hợp với cấu trúc thư mục của bạn */
  background-image: url('assets/bgmu.jpg'); 
  
  /* CÁC THUỘC TÍNH QUAN TRỌNG CẦN THÊM VÀO */
  background-size: cover;       /* Phóng to/thu nhỏ ảnh để lấp đầy toàn bộ section */
  background-position: center;  /* Căn hình ảnh ra chính giữa */
  background-repeat: no-repeat; /* Ngăn ảnh lặp lại thành nhiều mảnh nếu ảnh quá nhỏ */
  
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.class-layout {
  display:grid;
  grid-template-columns:320px 1fr;
  gap:32px
}

.class-tabs {
  display:flex;
  flex-direction:column;
  gap:7px
}

.class-tab {
  text-align:left;
  background:#ffffff03;
  border:1px solid var(--line);
  padding:12px 17px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:14px
}

.class-tab small {
  color:var(--muted);
  font-size:12px
}

.class-tab[aria-selected=true] {
  background:#dcba7b13;
  border-color:#dcba7b80;
  color:var(--gold)
}

.class-panel {
  padding:40px;
  min-height:370px;
  background:#10140f;
  border:1px solid var(--line);
  position:relative;
  overflow:hidden
}

.class-panel:before {
  content:attr(data-number);
  font:500 220px/1 'Oswald',sans-serif;
  position:absolute;
  right:10px;
  bottom:0;
  color:#dcba7b07;
  pointer-events:none
}

.class-panel h3 {
  font-size:36px;
  margin:14px 0 8px
}

.class-panel .en-name {
  color:var(--gold);
  font-size:13px;
  letter-spacing:2px
}

.class-panel p {
  margin:23px 0;
  max-width:580px;
  position:relative
}

.class-meta {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-bottom:24px
}

.class-meta span {
  font-size:13px;
  border:1px solid #dcba7b38;
  color:#d8c198;
  padding:5px 10px
}

.class-tip {
  font-size:14px;
  border-top:1px solid var(--line);
  padding-top:21px;
  color:#c5cabb
}

.note {
  font-size:12px;
  margin-top:22px;
  color:#929b88
}

.features {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:35px
}

.feature {
  border-top:1px solid #dcba7b60;
  padding-top:24px
}

.feature-number {
  font:400 27px 'Oswald',sans-serif;
  color:var(--gold)
}

.feature h3 {
  font-size:20px;
  margin:18px 0 12px
}

.feature p {
  font-size:14px
}

.development {
  border:1px solid #dcba7b40;
  background:#dcba7b07;
  padding:32px;
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:center
}

.development h3 {
  font-size:22px;
  margin-bottom:10px
}

.development p {
  font-size:14px;
  max-width:700px
}

.faq {
  margin-top:38px
}

.faq details {
  border-bottom:1px solid var(--line);
  padding:18px 0
}

.faq summary {
  cursor:pointer;
  font-size:15px
}

.faq p {
  margin-top:14px;
  font-size:14px;
  max-width:860px
}

.other-game {
  margin-top:36px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid var(--line);
  padding-top:32px
}

.other-game h3 {
  font-size:22px;
  margin-top:5px
}

.art-credit {
  font-size:12px;
  color:#8f9687;
  margin-top:12px
}

.fade-in {
  animation:appear .55s ease
}

@keyframes appear {
  from {
    opacity:.2;
    transform:translateY(8px)
  }
  to {
    opacity:1;
    transform:none
  }
}

/* 07. BỐ CỤC THEO KÍCH THƯỚC MÀN HÌNH */
@media(min-width:1600px) {
  .hero {
    min-height:710px
  }
  .hero-copy {
    padding-top:125px
  }
}

@media(max-width:1000px) {
  .wrap {
    width:calc(100% - 48px)
  }
  .header-label {
    display:none
  }
  .hero-copy {
    max-width:540px
  }
  .nav {
    gap:25px
  }
  .card-art {
    height:250px
  }
  .about {
    gap:45px
  }
  .mini-tags {
    gap:16px
  }
  .class-layout {
    grid-template-columns:250px 1fr
  }
  .overview {
    gap:35px
  }
  .class-panel {
    padding:28px
  }
}

@media(max-width:700px) {
  .wrap {
    width:calc(100% - 36px)
  }
  .header {
    height:74px
  }
  .brand-name {
    font-size:22px
  }
  .brand-mark {
    width:38px;
    height:38px;
    font-size:27px
  }
  .menu {
    display:block
  }
  .nav {
    display:none;
    position:absolute;
    top:74px;
    left:0;
    right:0;
    padding:20px;
    background:#151a13;
    border-bottom:1px solid var(--line);
    flex-direction:column;
    align-items:stretch;
    gap:4px
  }
  .nav.open {
    display:flex
  }
  .nav a {
    padding:12px 8px
  }
  .nav a.active:after {
    display:none
  }
  .hero {
    min-height:670px
  }
  .hero-art {
    object-position:65% center;
    opacity:1
  }
  
  .hero-copy {
    padding:175px 0 146px;
    max-width:100%
  }
  .hero .eyebrow {
    margin-top:18px;
    font-size:11px
  }
  .hero-title {
    font-size:64px;
    letter-spacing:-1px
  }
  .hero-title span {
    font-size:28px;
    letter-spacing:6px
  }
  .hero-desc {
    font-size:15px;
    max-width:350px;
    margin:15px 0 22px
  }
  
  
  
  
  
  
  .circle {
    height:34px;
    min-width:34px;
    font-size:14px
  }
  
  .intro-inner {
    display:block;
    padding:20px 0
  }
  .intro-inner p {
    font-size:13px
  }
  .mini-tags {
    margin-top:10px;
    font-size:11px;
    gap:18px
  }
  .section {
    padding:55px 0
  }
  .section-top {
    display:block;
    margin-bottom:25px
  }
  .section-top p {
    margin-top:16px
  }
  .section-top h2,.about h2 {
    font-size:30px
  }
  .game-grid {
    grid-template-columns:1fr;
    gap:24px
  }
  .card-art {
    height:250px
  }
  .card-body {
    padding:22px
  }
  .card-body h3 {
    font-size:24px
  }
  .about {
    grid-template-columns:1fr;
    gap:20px
  }
  .about h2 {
    font-size:29px
  }
  .principles {
    gap:25px
  }
  .footer-inner {
    flex-wrap:wrap
  }
  .footer small {
    width:100%;
    order:3
  }
  .footer-links {
    font-size:12px;
    gap:17px
  }
  .detail-hero {
    min-height:300px
  }
  .detail-hero .hero-copy {
    padding:24px 0 42px
  }
  .breadcrumb {
    font-size:12px;
    margin-bottom:90px
  }
  .detail-hero h1 {
    font-size:42px
  }
  .detail-hero .hero-desc {
    font-size:15px
  }
  .detail-nav .wrap {
    gap:25px
  }
  .detail-nav a {
    font-size:13px;
    padding:15px 0
  }
  .overview {
    grid-template-columns:1fr;
    gap:28px
  }
  .overview h2 {
    font-size:29px
  }
  .facts .fact {
    padding:18px
  }
  .class-layout {
    grid-template-columns:1fr;
    gap:18px
  }
  .class-tabs {
    flex-direction:row;
    overflow:auto;
    padding-bottom:8px;
    scrollbar-color:#7a6a45 #171a15
  }
  .class-tab {
    min-width:175px;
    gap:12px
  }
  .class-panel {
    padding:26px;
    min-height:340px
  }
  .class-panel h3 {
    font-size:30px
  }
  .features {
    grid-template-columns:1fr;
    gap:28px
  }
  .feature h3 {
    margin-top:10px
  }
  .development {
    display:block;
    padding:24px
  }

  .other-game {
    align-items:start;
    flex-direction:column
  }
  .art-credit {
    font-size:11px
  }
  .hero-actions .button {
    padding:11px 18px
  }
  .overview p {
    font-size:15px
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important;
    animation:none!important;
    transition:none!important
  }
}

@media(max-width:700px) {
  
  
  
}

/* 08. CHÂN TRANG THEO MẪU */
.reference-footer {
  background:#1e2b39;
  border:0;
  padding:78px 0 48px;
  color:#f4f6fa;
  font-size:14px;
  line-height:1.75
}

.reference-footer p {
  color:#f4f6fa;
  font-size:14px
}

.footer-top {
  display:grid;
  grid-template-columns:160px 1fr 1fr;
  gap:54px;
  padding-bottom:38px
}

.footer-logo {
  width:132px;
  height:142px;
  border-radius:24px;
  background:#fff9f2;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:#1e2b39
}

.footer-logo .brand-mark {
  color:#bc8233;
  border:2px solid #bc8233;
  width:54px;
  height:54px;
  font-size:39px
}

.footer-logo strong {
  font:600 21px/1 'Oswald',sans-serif;
  letter-spacing:2px
}

.footer-logo small {
  font:600 7px/1 var(--font);
  letter-spacing:1.8px;
  color:#344454
}

.contact-row {
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-bottom:12px
}

.contact-row p {
  flex:1;
  padding-top:1px;
  overflow-wrap:anywhere
}

.footer-icon {
  width:38px;
  height:38px;
  background:#354453;
  border-radius:50%;
  display:grid;
  place-items:center;
  flex-shrink:0
}

.footer-icon svg {
  width:20px;
  height:20px;
  fill:white
}

.footer-registration {
  margin:20px 0 25px
}

.footer-license {
  margin:25px 0 22px
}

.footer-accent,.footer-policy a {
  color:#ff8a38
}

.reference-footer a:hover {
  color:#ffc484
}

.footer-bottom {
  border-top:1px solid #ffffff26;
  padding-top:30px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:30px
}

.footer-policy {
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:14px
}

.footer-policy a {
  text-decoration:underline;
  text-underline-offset:3px
}

.footer-social {
  display:flex;
  gap:15px
}

.footer-social a {
  width:40px;
  height:40px;
  background:white;
  border-radius:50%;
  display:grid;
  place-items:center;
  transition:transform .2s
}

.footer-social a:hover {
  transform:translateY(-3px)
}

.footer-social svg {
  width:22px;
  height:22px
}

.reference-footer .footer-template-note {
  font-size:12px;
  color:#b5bec7;
  margin-top:25px
}

/* 09. ẢNH 8 CLASS MU */
.class-code {
  display:inline-block;
  color:var(--gold);
  min-width:35px;
  font-weight:600
}

.mu-class-layout {
  grid-template-columns:280px minmax(0,1fr);
  gap:25px
}

.mu-class-layout .class-panel {
  display:grid;
  grid-template-columns:minmax(0,43%) minmax(0,57%);
  padding:0;
  min-height:530px
}

.mu-class-layout .class-panel:before {
  display:none
}

.class-portrait {
  margin:0;
  position:relative;
  min-height:530px;
  background:#121714;
  overflow:hidden
}

.class-portrait img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top
}



.class-portrait figcaption {
  position:absolute;
  left:25px;
  bottom:24px;
  z-index:1;
  font:600 48px/1.1 'Oswald',sans-serif;
  color:var(--gold)
}

.class-portrait figcaption span {
  display:block;
  font:12px/1.5 var(--font);
  letter-spacing:1px;
  color:#e0e2d8;
  margin-top:7px
}

.mu-class-layout .class-description {
  padding:30px;
  align-self:center
}

.mu-class-layout .class-description h3 {
  font-size:30px
}

.mu-class-layout .class-description p {
  font-size:14px;
  line-height:1.85
}



.mu-class-layout .class-tabs {
  align-self:start
}

.mu-class-layout .class-tab {
  padding:14px
}

.class-description {
  min-width:0
}

@media(max-width:1100px) {
  .footer-top {
    grid-template-columns:130px 1fr 1fr;
    gap:30px
  }
  .mu-class-layout {
    grid-template-columns:220px minmax(0,1fr);
    gap:20px
  }
  .mu-class-layout .class-panel {
    grid-template-columns:40% 60%
  }
  .mu-class-layout .class-description {
    padding:23px
  }
  .mu-class-layout .class-description h3 {
    font-size:27px
  }
}

@media(max-width:850px) {
  .footer-top {
    grid-template-columns:1fr 1fr
  }
  .footer-logo {
    grid-column:1/-1
  }
  .mu-class-layout {
    grid-template-columns:1fr
  }
  .mu-class-layout .class-tabs {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr))
  }
  .mu-class-layout .class-tab {
    min-width:0;
    padding:12px 10px;
    font-size:12px
  }
  .mu-class-layout .class-tab small {
    display:none
  }
  .mu-class-layout .class-code {
    min-width:0;
    display:block;
    font-size:16px;
    margin-bottom:3px
  }
  .mu-class-layout .class-panel {
    grid-template-columns:40% 60%;
    min-height:500px
  }
  .class-portrait {
    min-height:500px
  }
}

@media(max-width:600px) {
  .reference-footer {
    padding:45px 0 30px
  }
  .footer-top {
    grid-template-columns:1fr;
    gap:27px;
    padding-bottom:25px
  }
  .footer-logo {
    width:118px;
    height:127px;
    border-radius:21px
  }
  .footer-logo strong {
    font-size:18px
  }
  .footer-registration {
    margin:18px 0
  }
  .footer-license {
    margin:20px 0
  }
  .footer-bottom {
    flex-direction:column;
    gap:25px;
    padding-top:25px
  }
  .reference-footer p,.reference-footer a,.footer-policy {
    font-size:13px
  }
  .reference-footer .footer-template-note {
    font-size:11px
  }
  .mu-class-layout .class-panel {
    grid-template-columns:1fr
  }
  .class-portrait {
    min-height:370px;
    height:370px
  }
  .class-portrait img {
    object-fit:contain;
    object-position:center center
  }
  .class-portrait figcaption {
    left:22px;
    bottom:18px;
    font-size:42px
  }
  .mu-class-layout .class-description {
    padding:25px
  }
  .mu-class-layout .class-description h3 {
    font-size:30px
  }
  .mu-class-layout .class-description p {
    font-size:15px
  }
  .mu-class-layout .class-tabs {
    gap:6px;
    padding-bottom:0
  }
  .mu-class-layout .class-tab {
    padding:10px 7px;
    font-size:11px;
    line-height:1.5
  }

}

.mu-class-layout .class-description p {
  font-size:16px
}

@media(max-width:600px) {
  .mu-class-layout .class-tab {
    font-size:12px
  }
  .reference-footer p,.reference-footer a,.footer-policy {
    font-size:14px
  }
  .reference-footer .footer-template-note {
    font-size:12px
  }
}

/* 10. HTML TĨNH VÀ HỖ TRỢ KHI TẮT JAVASCRIPT */
.gold-text {
  color:var(--gold)
}

.section-tight {
  padding-top:0
}

.wuxia-title {
  font-family:var(--font);
  font-size:clamp(39px,5.1vw,72px);
  line-height:1.2;
  letter-spacing:-1.5px
}



.hero:not(.detail-hero)::after {
  display:none
}



.class-panels {
  min-width:0;
  display:grid;
  gap:24px;
  align-content:start
}

[hidden] {
  display:none!important
}

html:not(.js) .js-controls {
  display:none!important
}

@media(max-width:700px) {
  
  html:not(.js) .header {
    height:auto
  }
  html:not(.js) .header-inner {
    flex-wrap:wrap;
    padding:16px 0
  }
  html:not(.js) .nav {
    display:flex;
    position:static;
    width:100%;
    padding:0;
    border:0;
    flex-direction:row;
    flex-wrap:wrap;
    font-size:12px
  }
}


/* 11. ẢNH GỐC: không phủ lớp tối hoặc giảm độ sáng. */
.hero-art, .card-art img, .class-portrait img {
  opacity: 1;
  filter: none;
}
.class-portrait figcaption {
  text-shadow: 0 2px 5px #000;
}

/* 12. VIDEO BANNER — ảnh và video hiển thị nguyên độ sáng, không phủ màu. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.video-banner {
  position: relative;
  width: 100%;
  background: #111310;
  overflow: hidden;
}
.banner-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  max-height: 780px;
  object-fit: cover;
  opacity: 1;
  filter: none;
}
.video-toggle {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 10px 16px;
  min-height: 44px;
  background: #f5f3ec;
  color: #111310;
  border: 1px solid #dcba7b;
  border-radius: 4px;
  font-size: 14px;
}
@media (max-width: 700px) {
  .banner-video {
    aspect-ratio: 16 / 9;
    max-height: none;
  }
  .video-toggle {
    right: 12px;
    bottom: 12px;
    padding: 8px 12px;
  }
}

