@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,900;1,600&family=Space+Grotesk:wght@600;700&display=swap');

/* =========================================================
   THEME SKIRK — LIQUID GLASS (THỦY TINH LỎNG TRONG SUỐT)
   - Background: Skirk Singularity & Shattered Mirror Wallpaper
   - Liquid Glass: Ultra-translucent, Specular Rim Highlights,
     Inner Glow, Deep Backdrop Blur, Multi-device Responsive
   ========================================================= */
:root {
  /* Nền không gian Vực Sâu */
  --bg-deep: #050716;
  --bg-void: #090c24;

  /* Hệ màu giao diện sắc nét, tắt hoàn toàn hiệu ứng liquid glass */
  --glass-bg: #0d1527;
  --glass-bg-hover: #131f3b;
  --glass-border: rgba(56, 189, 248, 0.22);
  --glass-border-top: rgba(56, 189, 248, 0.35);
  --glass-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  --glass-inset: none;
  --glass-blur: none;

  /* Tông màu đặc trưng của Skirk */
  --skirk-violet: #a855f7;
  --skirk-lavender: #c084fc;
  --skirk-violet-glow: rgba(168, 85, 247, 0.4);
  --skirk-cyan: #22d3ee;
  --skirk-cyan-bright: #38bdf8;
  --skirk-cyan-glow: rgba(34, 211, 238, 0.4);

  /* Bạch kim & chữ */
  --skirk-silver: #ffffff;
  --skirk-silver-soft: #f1f5f9;
  --skirk-muted: #cbd5e1;
  --skirk-subtle: #94a3b8;

  /* Mắt đỏ & cảnh báo Vực Sâu */
  --skirk-crimson: #f43f5e;
  --skirk-crimson-bright: #fb7185;
  --skirk-crimson-glow: rgba(244, 63, 94, 0.4);

  /* Đường viền & hiệu ứng ánh sáng */
  --line: rgba(255, 255, 255, 0.15);
  --line-cyan: rgba(34, 211, 238, 0.4);
  --line-hover: rgba(34, 211, 238, 0.65);
}

/* Author display rules must not override the HTML hidden attribute. */
[hidden] {
  display: none !important;
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-deep);
  touch-action: manipulation;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent !important;
  touch-action: manipulation;
}

button:focus,
button:focus-visible,
a:focus,
a:focus-visible {
  outline: none !important;
}

body {
  margin: 0;
  padding-top: 76px;
  background: transparent;
  color: var(--skirk-silver-soft);
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  line-height: 1.6;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* =========================================================
   ẢNH NỀN SKIRK CỐ ĐỊNH & HIỆU ỨNG VIGNETTE THỦY TINH
   ========================================================= */
.skirk-bg-fixed {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url('../assets/images/backgrounds/skirk-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 75% center;
  pointer-events: none;
}

/* Lớp phủ siêu trong suốt để thấy rõ hoàn toàn ảnh nền */
.skirk-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: 
    radial-gradient(ellipse at 75% 35%, transparent 0%, rgba(5, 7, 24, 0.05) 50%, rgba(4, 6, 20, 0.22) 100%),
    linear-gradient(180deg, rgba(5, 7, 20, 0.02) 0%, rgba(5, 7, 20, 0.08) 50%, rgba(4, 6, 20, 0.25) 100%);
  pointer-events: none;
}

/* Hiệu ứng bụi sao tinh thể Vực Sâu */
.gold-dust {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image: 
    radial-gradient(circle, rgba(192, 132, 252, 0.75) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(56, 189, 248, 0.7) 0 1px, transparent 1.5px);
  background-size: 80px 80px, 130px 130px;
  background-position: 0 0, 40px 65px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  z-index: -1;
  animation: cosmicDrift 60s linear infinite;
}

@keyframes cosmicDrift {
  0% { background-position: 0 0, 40px 65px; }
  100% { background-position: 80px 160px, 170px 325px; }
}

/* =========================================================
   HEADER — THANH ĐIỀU HƯỚNG LIQUID GLASS
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  min-height: 86px;
  padding: 6px clamp(16px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #090e1f;
  border-bottom: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--skirk-silver);
  text-decoration: none;
  flex-shrink: 0;
  flex: 1;
}

.brand strong {
  display: block;
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.6px;
  line-height: 1.2;
  color: #ffffff;
  -webkit-text-stroke: 0.35px rgba(255, 255, 255, 0.95);
  text-shadow: 
    0 0 14px rgba(56, 189, 248, 0.85),
    0 0 28px rgba(168, 85, 247, 0.65),
    0 2px 10px rgba(0, 0, 0, 0.95);
}

.brand small {
  display: block;
  color: #38bdf8;
  font-size: 11px;
  letter-spacing: 1.2px;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.8), 0 1px 4px rgba(0, 0, 0, 0.9);
}

/* Logo thương hiệu Tundenxin mới (Tundenxin.com Chibi Skirk Guitar) */
.brand-logo-img {
  height: 74px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.55));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.brand:hover .brand-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.95)) drop-shadow(0 0 28px rgba(168, 85, 247, 0.7));
}

.drawer-logo-img {
  height: 54px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.6));
}

/* Screen reader only utility */
.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;
}

/* Biểu tượng Nguyên Thạch Genshin Impact */
.primogem {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.75)) drop-shadow(0 0 22px rgba(168, 85, 247, 0.5));
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  display: inline-block;
  vertical-align: middle;
}

.brand:hover .primogem,
.primogem:hover {
  transform: rotate(15deg) scale(1.12);
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, 1)) drop-shadow(0 0 30px rgba(168, 85, 247, 0.85));
}

.primogem.small {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.6));
}

/* Menu chính — Liquid Glass Pills */
.main-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
}

.main-nav a {
  color: var(--skirk-muted);
  text-decoration: none;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: ;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ffffff;
  border-color: rgba(34, 211, 238, 0.5);
  border-top-color: rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.28), rgba(34, 211, 238, 0.18));
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.3), ;
}

/* Cụm Socials */
.socials {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
  justify-content: center;
  flex: 1;
  flex-shrink: 0;
}

.social {
  padding: 5px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--skirk-silver);
  font-weight: 600;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 16, 40, 0.28);

box-shadow: ;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 116px;
}

.social.telegram:hover {
  border-color: var(--skirk-cyan);
  color: #fff;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.4), ;
  transform: translateY(-1.5px);
}

.social.discord:hover {
  border-color: var(--skirk-lavender);
  color: #fff;
  box-shadow: 0 0 18px rgba(192, 132, 252, 0.4), ;
  transform: translateY(-1.5px);
}

/* =========================================================
   HERO BANNER — BẢNG RỘNG & NGẮN GỌN (WIDESCREEN LIQUID GLASS)
   ========================================================= */
.hero {
  position: relative;
  min-height: auto;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px clamp(16px, 3.5vw, 48px);
  background: transparent;
  width: 100%;
  box-sizing: border-box;
}

.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.sun, .mountain {
  display: none;
}

.stars {
  position: absolute;
  right: 8%;
  top: 16%;
  color: #c084fc;
  letter-spacing: 16px;
  opacity: 0.7;
  font-size: 15px;
  text-shadow: 0 0 12px rgba(192, 132, 252, 0.8);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  background: #0d1527;
  padding: 22px 28px;
  border-radius: 18px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}

.hero-banner-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  box-sizing: border-box;
}

.hero-banner-left {
  flex: 0.95;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-banner-left .eyebrow {
  color: var(--skirk-cyan-bright);
  letter-spacing: 1.5px;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 6px;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
  display: inline-block;
}

/* Banner đồ họa Chibi Skirk Guitar Tundenxin.com */
.hero-banner-graphic {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.65), 0 0 24px rgba(56, 189, 248, 0.35);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  background: #050a1a;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  margin-top: 4px;
}

.hero-banner-graphic:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.75);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.75), 0 0 36px rgba(56, 189, 248, 0.55);
}

.hero-banner-cover {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-banner-left h1 {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  color: #ffffff;
  letter-spacing: -0.3px;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.9);
}

.hero-banner-left h1 span {
  color: #38bdf8;
  background: linear-gradient(110deg, #ffffff 0%, #67e8f9 35%, #38bdf8 70%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-banner-left .hero-actions-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 0;
}

.hero-banner-left .hero-actions-group .cta {
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.hero-banner-left .btn-hero-guide {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.hero-banner-left .btn-hero-guide:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.hero-banner-right {
  flex: 1.25;
  min-width: 0;
  background: rgba(4, 8, 26, 0.65);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  border-left: 4px solid #38bdf8;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow:  0 4px 16px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

.hero-announce-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  line-height: 1.45;
  color: #e2e8f0;
}

.hero-announce-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  word-break: break-word;
}

.hero-announce-list .bullet-dot {
  font-size: 9px;
  line-height: 2;
  flex-shrink: 0;
}

.hero-announce-list .bullet-dot.red { color: #f43f5e; text-shadow: 0 0 8px rgba(244, 63, 94, 0.7); }
.hero-announce-list .bullet-dot.purple { color: #c084fc; text-shadow: 0 0 8px rgba(192, 132, 252, 0.7); }
.hero-announce-list .bullet-dot.cyan { color: #38bdf8; text-shadow: 0 0 8px rgba(56, 189, 248, 0.7); }
.hero-announce-list .bullet-dot.crimson { color: #ef4444; text-shadow: 0 0 8px rgba(239, 68, 68, 0.7); }
.hero-announce-list .bullet-dot.green { color: #22c55e; text-shadow: 0 0 8px rgba(34, 197, 94, 0.7); }

.hero-announce-list .announce-title {
  color: #ff6b81;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.hero-announce-list strong {
  font-weight: 700;
  color: #ffffff;
}

.hero-announce-list a {
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.hero-announce-list a:hover {
  color: #67e8f9;
  text-decoration: none;
}

.hero-announce-list .announce-warn {
  color: #fca5a5;
}

.hero-announce-list .announce-warn strong {
  color: #f87171;
}

@media (max-width: 992px) {
  .hero-banner-main {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .hero-banner-left,
  .hero-banner-right {
    flex: initial;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 16px 12px 14px;
    min-height: auto;
  }
  .hero-content {
    padding: 14px 14px;
    border-radius: 14px;
    max-width: 100%;
    width: 100%;
  }
  .hero-banner-left h1 {
    font-size: 19px;
    margin: 4px 0 10px;
  }
  .hero-banner-left .hero-actions-group {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .hero-banner-left .hero-actions-group .cta {
    width: 100% !important;
    min-height: 42px !important;
    height: 42px !important;
    justify-content: center !important;
    font-size: 13px !important;
    white-space: normal !important;
    text-align: center !important;
  }
  .hero-banner-right {
    padding: 12px 12px;
    border-radius: 10px;
  }
  .hero-announce-list {
    font-size: 12px;
    gap: 6px;
  }
}


.guide-title h1 span, h2 span {
  color: #38bdf8;
  background: linear-gradient(110deg, #38bdf8 0%, #67e8f9 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none !important;
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.55));
  display: inline-block;
}

/* Khối Cảnh Báo An Toàn — Mắt đỏ Skirk Thủy Tinh */
.notice {
  display: flex;
  gap: 14px;
  max-width: 580px;
  padding: 16px 18px;
  border: 1px solid rgba(244, 63, 94, 0.55);
  border-top: 1px solid rgba(255, 130, 160, 0.7);
  border-radius: 16px;
  background: rgba(26, 10, 28, 0.76);

box-shadow: 
    
    0 8px 25px rgba(244, 63, 94, 0.25);
  transition: all 0.3s ease;
}

.notice:hover {
  border-color: rgba(244, 63, 94, 0.85);
  box-shadow: 
    
    0 10px 30px rgba(244, 63, 94, 0.35);
}

.notice > b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fb7185, #e11d48);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.7), inset 0 1px 2px #fff;
}

.notice strong {
  font-size: 15px;
  font-weight: 700;
  color: #fda4af;
  display: block;
  line-height: 1.35;
}

.notice p {
  margin: 6px 0 0;
  color: #f8fafc;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95);
}

.notice em {
  color: #d8b4fe;
  font-style: normal;
  font-weight: 700;
}

/* Nút bấm CTA Khám Phá — Cặp đôi Hero Buttons (Tool Mobile & Tool PC) */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 26px !important;
  box-sizing: border-box !important;
  border-radius: 14px;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px;
  font-family: inherit;
  text-decoration: none;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);

transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}

.cta span {
  display: inline-block;
  transition: transform 0.25s ease;
  font-weight: 800;
  margin-left: 2px;
}

.cta:hover span {
  transform: translateX(4px);
}

/* Nút 1: Xem Tool Mobile — Xanh Lôi Điện / Cyan Skirk Siêu Nổi Bật & Đậm Nét */
.btn-hero-mobile,
.cta:not(.btn-hero-pc) {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 42%, #7c3aed 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(56, 189, 248, 0.8) !important;
  border-top: 1.5px solid #ffffff !important;
  box-shadow: 
    
    0 8px 26px rgba(14, 165, 233, 0.5),
    0 0 20px rgba(124, 58, 237, 0.35) !important;
}

.btn-hero-mobile:hover,
.cta:not(.btn-hero-pc):hover {
  transform: translateY(-2.5px);
  filter: brightness(1.12);
  background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 42%, #8b5cf6 100%) !important;
  box-shadow: 
    inset 0 2px 3px #ffffff,
    0 12px 34px rgba(14, 165, 233, 0.7),
    0 0 26px rgba(139, 92, 246, 0.55) !important;
  border-color: #a5f3fc !important;
}

/* Nút 2: Xem Tool PC — Thủy Tinh Huyền Ảo Tím / Cyan */
.btn-hero-pc {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(14, 165, 233, 0.22) 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(168, 85, 247, 0.65) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 
    
    0 6px 22px rgba(124, 58, 237, 0.35),
    0 0 16px rgba(14, 165, 233, 0.25) !important;
}

.btn-hero-pc:hover {
  transform: translateY(-2.5px);
  filter: brightness(1.12);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.5) 0%, rgba(14, 165, 233, 0.35) 100%) !important;
  border-color: #c084fc !important;
  border-top-color: #ffffff !important;
  box-shadow: 
    inset 0 2px 3px rgba(255, 255, 255, 0.55),
    0 10px 30px rgba(168, 85, 247, 0.55),
    0 0 22px rgba(56, 189, 248, 0.4) !important;
}

.hero-actions-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-actions-group .cta {
  margin-top: 0;
}

/* =========================================================
   TOOL GRID — THẺ BÀI LIQUID GLASS TRONG SUỐT
   ========================================================= */
.tools {
  position: relative;
  padding: 50px clamp(20px, 3.5vw, 56px);
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow-x: hidden;
}

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

.section-head h2, .guide-title h1 {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin: 6px 0 0;
  color: #ffffff;
  letter-spacing: -0.3px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.95);
}

.count {
  color: var(--skirk-cyan-bright);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(10, 16, 42, 0.25);

padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: ;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
  box-sizing: border-box;
}


/* =========================================================
   TOOL CARD HEADER ROW (ICON + TITLE SIDE-BY-SIDE)
   ========================================================= */
.tool-card-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
}

.tool-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.tool-card-title-group {
  flex: 1;
  min-width: 0;
}

.tool-card-title-group small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--skirk-cyan-bright);
  margin-bottom: 3px;
  text-transform: uppercase;
}

.tool-card-title-group h3 {
  margin: 0;
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.2px;
  word-break: break-word;
}

/* Thẻ Tool Giao Diện Sắc Nét, Tôn Vinh Hình Nền Skirk */
.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  background: rgba(8, 14, 38, 0.72);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.tool-card:hover {
  transform: translateY(-4px);
  background: rgba(14, 24, 60, 0.85);
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55), 0 0 20px rgba(56, 189, 248, 0.2);
}



/* Icon App Genshin & Khối Chữ Cái */
.tool-app-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-top: 1.5px solid #ffffff;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.35), 0 6px 14px rgba(0, 0, 0, 0.45), inset 0 1px 1px #fff;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
  display: block;
  background: #0d1127;
}

.letter {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-top: 1.5px solid #ffffff;
  color: #ffffff;
  background: linear-gradient(145deg, rgba(59, 20, 100, 0.7) 0%, rgba(12, 32, 68, 0.7) 100%);
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: 30px;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.35), ;
  transition: transform 0.25s ease;
}

.tool-card:hover .tool-app-icon,
.tool-card:hover .letter {
  transform: scale(1.08);
  border-color: var(--skirk-cyan);
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.6), 0 8px 20px rgba(0, 0, 0, 0.6);
}

.tool-card > .tool-app-icon,
.tool-card > .letter {
  margin-bottom: 8px;
}

/* Icon Tool Eleutheria — Bo góc chuẩn theo viền xanh neon */
.tool-app-icon[src*="tool-eleutheria"] {
  border: none;
  background: transparent;
  border-radius: 7px;
  box-shadow: none;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.55)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45));
}

.tool-card:hover .tool-app-icon[src*="tool-eleutheria"],
.guide-card:hover .tool-app-icon[src*="tool-eleutheria"] {
  border: none;
  filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.85)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6));
}

.tool-copy {
  margin-top: 0;
}

.tool-copy small {
  color: var(--skirk-cyan-bright);
  font-size: 10px;
  letter-spacing: 1.4px;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(34, 211, 238, 0.4);
  display: block;
  margin-bottom: 2px;
  line-height: 1.2;
}

.tool-copy h3 {
  margin: 2px 0 6px;
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 16px rgba(0, 0, 0, 0.9);
  line-height: 1.25;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 10.5px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.2px;

}

.status-badge.updated {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(74, 222, 128, 0.55);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.3);
}

.status-badge.maintenance,
.status-badge.stopped,
.status-badge.discontinued {
  color: #fb7185;
  background: rgba(244, 63, 94, 0.16);
  border: 1px solid rgba(244, 63, 94, 0.55);
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.25);
}

.tool-copy p {
  margin: 0;
  color: #f1f5f9;
  font-size: 13.5px;
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95);
  font-weight: 500;
}

/* Khối chú thích điều kiện thiết bị (Root / Chưa Root) */
.tool-note-box {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(8, 14, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--skirk-cyan);
  display: flex;
  flex-direction: column;
  gap: 7px;
  box-shadow: ;
}

.tool-note-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.tool-note-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #cbd5e1;
  font-weight: 400;
  text-shadow: none;
}

.tool-note-item strong {
  color: #ffffff;
}

.tool-note-item a {
  color: var(--skirk-cyan-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  transition: color 0.2s;
}

.tool-note-item a:hover {
  color: #ffffff;
}

.note-bullet {
  font-size: 12px;
  flex-shrink: 0;
  line-height: 1.45;
}

.note-bullet.unrooted {
  color: #f59e0b;
}

.note-bullet.rooted {
  color: #10b981;
}

/* Nút Tải Về — Xanh Lá Emerald Siêu Nổi Bật & Dễ Nhận Biết (Unmistakable High-Contrast Download CTA) */
.download:not(.btn-buy-key):not(.btn-buy-key-mini) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  margin-top: 0;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-family: inherit;
  text-decoration: none;
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(110, 231, 183, 0.8) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: 
    
    0 4px 18px rgba(16, 185, 129, 0.5),
    0 0 20px rgba(16, 185, 129, 0.3) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 48px;
  cursor: pointer;
}

.download:not(.btn-buy-key):not(.btn-buy-key-mini):not(.disabled):hover {
  transform: translateY(-2.5px);
  filter: brightness(1.12);
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%) !important;
  box-shadow: 
    inset 0 2px 3px #ffffff,
    0 10px 28px rgba(16, 185, 129, 0.75),
    0 0 25px rgba(52, 211, 153, 0.55) !important;
  border-color: #a7f3d0 !important;
}

.download:not(.btn-buy-key):not(.btn-buy-key-mini):not(.disabled):active {
  transform: scale(0.96);
  filter: brightness(0.95);
}

.download svg.dl-icon,
.file-download-btn svg.dl-icon {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
  stroke-width: 2.4;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
  transition: transform 0.25s ease;
}

.download:hover svg.dl-icon,
.file-download-btn:hover svg.dl-icon {
  transform: translateY(2px);
}

.download .dl-arrow,
.file-download-btn .dl-arrow {
  display: inline-block;
  font-weight: 800;
  margin-left: 2px;
  transition: transform 0.25s ease;
}

.download:hover .dl-arrow,
.file-download-btn:hover .dl-arrow {
  transform: translateX(3px);
}

.disabled {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(15, 23, 42, 0.5) !important;
  color: #64748b !important;
  box-shadow: none !important;
  text-shadow: none !important;
  cursor: not-allowed;
  filter: none !important;
  transform: none !important;
  font-family: inherit;
}

.download.disabled.maintenance,
.download.maintenance,
.download.disabled.stopped,
.download.stopped {
  border-color: rgba(244, 63, 94, 0.45) !important;
  background: rgba(244, 63, 94, 0.12) !important;
  color: #fca5a5 !important;
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.2) !important;
  text-shadow: none !important;
}

/* Cụm nút hành động bên dưới thẻ Tool (Tải Ngay & Hướng Dẫn) - Cân Bằng Hoàn Hảo */
.tool-actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  width: 100%;
  box-sizing: border-box;
}

.tool-actions > * {
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
}

.tool-actions .download,
.tool-actions .btn-guide,
.tool-actions .btn-buy-key,
.tool-actions .btn-free,
.tool-actions .btn-buy-key-mini {
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
  height: 48px !important;
  min-height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  border-radius: 14px !important;
}

.tool-actions .download {
  flex: 1.25;
  width: auto;
  white-space: nowrap;
  font-size: 13px;
  padding: 0 12px !important;
}

.tool-card > .download,
.utility-card > .download {
  margin-top: auto !important;
}

.btn-guide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  height: 48px;
  min-height: 48px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  font-family: inherit;
  letter-spacing: 0.2px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.32) 0%, rgba(34, 211, 238, 0.22) 100%);
  border: 1px solid rgba(192, 132, 252, 0.55);
  border-top: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 
    
    0 4px 18px rgba(168, 85, 247, 0.25);

transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
  flex: 1;
  box-sizing: border-box;
  margin: 0;
}

.btn-guide:hover {
  transform: translateY(-2.5px);
  color: #ffffff;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.5) 0%, rgba(34, 211, 238, 0.35) 100%);
  border-color: rgba(34, 211, 238, 0.85);
  border-top-color: #ffffff;
  box-shadow: 
    
    0 8px 24px rgba(34, 211, 238, 0.4),
    0 0 20px rgba(168, 85, 247, 0.45);
}

@media (max-width: 480px) {
  .tool-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
  }
  .tool-actions .download,
  .tool-actions .btn-guide {
    flex: 1;
    width: auto;
    min-height: 38px !important;
    height: 38px !important;
    padding: 6px 8px !important;
    font-size: 11.5px !important;
    border-radius: 10px !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* =========================================================
   TRANG HƯỚNG DẪN — LIQUID GLASS
   ========================================================= */
.guide-wrap {
  padding: 60px clamp(16px, 6vw, 100px);
}

.guide-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  background: #0d1527 !important;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.guide-title h1 {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.95);
}

.guide-title p {
  color: #ffffff;
  margin-top: 10px;
  font-size: 15px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-card {
  appearance: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: var(--skirk-silver);
  padding: 20px;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  border-radius: 20px;
  background: #0d1527 !important;
  display: grid;
  grid-template-columns: 60px 1fr 24px;
  gap: 16px;
  align-items: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
}

.guide-card:not(.locked):hover {
  transform: translateY(-3px);
  background: #13203c !important;
  border-color: rgba(56, 189, 248, 0.6) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 16px rgba(56, 189, 248, 0.22);
}

.guide-card .letter,
.guide-card .tool-app-icon,
.guide-card .guide-card-icon-wrap {
  grid-row: span 2;
}

/* Icon Container & Floating Badges */
.guide-card-icon-wrap {
  position: relative;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-card-icon-wrap .tool-app-icon {
  width: 100%;
  height: 100%;
  margin: 0;
  display: block;
}

.guide-icon-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  background: #070b1e;
  border: 1.5px solid #22d3ee;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.7);
  z-index: 2;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.guide-card:not(.locked):hover .guide-icon-badge {
  transform: scale(1.18);
}

.guide-icon-badge.mobile {
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
}

.guide-icon-badge.pc {
  border-color: #c084fc;
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.7);
}

.guide-icon-badge.fix {
  border-color: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.7);
}

/* Guide Card Badges & Pills */
.guide-card-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.guide-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1.5px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.guide-type-pill.pill-video {
  color: #f43f5e;
  background: rgba(244, 63, 94, 0.16);
  border: 1px solid rgba(244, 63, 94, 0.45);
}

.guide-type-pill.pill-doc {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.45);
}

.guide-type-pill.pill-pc {
  color: #c084fc;
  background: rgba(192, 132, 252, 0.16);
  border: 1px solid rgba(192, 132, 252, 0.45);
}

.guide-type-pill.pill-fix {
  color: #f87171;
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.5);
}

.guide-card small, .guide-card strong, .guide-card em {
  display: block;
}

.guide-card small {
  font-size: 10px;
  color: var(--skirk-cyan-bright);
  letter-spacing: 1.2px;
  font-weight: 700;
  text-transform: uppercase;
}

.guide-card strong {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 3px 0;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

.guide-card em {
  font-style: normal;
  color: #e2e8f0;
  font-size: 12.5px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95);
}

.guide-card > b {
  color: var(--skirk-lavender);
  font-size: 18px;
  text-align: right;
  transition: transform 0.2s ease, color 0.2s ease;
}

.guide-card:not(.locked):hover > b {
  color: var(--skirk-cyan-bright);
  transform: translateX(3px);
}

.locked {
  opacity: 0.45;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.08);
}

/* Khung Video YouTube Liquid Glass */
.video-panel {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 22px;
  background: #0d1527 !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.video-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 14px;
}

.video-head-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.panel-header-icon-wrap {
  position: relative;
  flex-shrink: 0;
}

.panel-header-tool-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.4), 0 6px 16px rgba(0, 0, 0, 0.6);
  background: #0d1127;
  display: block;
}

.panel-header-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  background: #070b1e;
  border: 1.5px solid #22d3ee;
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.6);
  z-index: 2;
}

.panel-header-badge.mobile {
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
}

.panel-header-badge.pc {
  border-color: #c084fc;
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.7);
}

.panel-header-badge.fix {
  border-color: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.7);
}

.panel-head-titles {
  min-width: 0;
  flex: 1;
}

.video-head h2 {
  margin: 4px 0 0;
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: #ffffff;
}

@media (max-width: 600px) {
  .video-head-left {
    gap: 12px;
  }
  .panel-header-tool-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }
  .panel-header-badge {
    width: 18px;
    height: 18px;
    font-size: 9px;
    bottom: -3px;
    right: -3px;
  }
}

.video-head button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  color: var(--skirk-silver);
  font-size: 24px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: ;
}

.video-head button:hover {
  background: rgba(244, 63, 94, 0.3);
  border-color: var(--skirk-crimson);
  color: #fff;
  transform: rotate(90deg);
}

.video-frame {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.85);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   TOOL CHƯA CÓ VIDEO HƯỚNG DẪN (ELEUTHERIA)
   ========================================================= */
.guide-card.no-video-card em {
  color: #fbbf24;
}

.no-video-panel .video-head h2 {
  color: #fde68a;
}

.no-video-body {
  padding: 38px 24px;
  text-align: center;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(16, 24, 60, 0.45) 0%, rgba(8, 14, 38, 0.3) 100%);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: ;
}

.no-video-icon {
  font-size: 42px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.6));
}

.no-video-body h3 {
  margin: 0 0 10px;
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(18px, 2.5vw, 22px);
  color: #ffffff;
  font-weight: 700;
}

.no-video-body h3 span {
  color: #f59e0b;
}

.no-video-sub {
  font-size: 14px;
  color: #cbd5e1;
  max-width: 580px;
  margin: 0 auto 24px;
  line-height: 1.65;
}

.no-video-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.no-video-actions .download {
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%) !important;
  border: 1.5px solid rgba(110, 231, 183, 0.8) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow:  0 4px 18px rgba(16, 185, 129, 0.5), 0 0 20px rgba(16, 185, 129, 0.3) !important;
}

.no-video-actions .download:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%) !important;
  border-color: #a7f3d0 !important;
  box-shadow: inset 0 2px 3px #ffffff, 0 10px 28px rgba(16, 185, 129, 0.75), 0 0 25px rgba(52, 211, 153, 0.55) !important;
}

/* =========================================================
   TÀI LIỆU HƯỚNG DẪN SHIKA MOBILE (DOC GUIDE PANEL)
   ========================================================= */
.guide-card.doc-guide-card b {
  font-size: 16px;
  color: #38bdf8;
}

.doc-guide-panel {
  max-width: 900px;
  margin: 40px auto 0;
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 
    
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(56, 189, 248, 0.18);
}

.doc-guide-panel .video-head h2 {
  color: #38bdf8;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.doc-guide-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Banner cảnh báo an toàn */
.doc-warning-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18) 0%, rgba(185, 28, 28, 0.12) 100%);
  border: 1px solid rgba(239, 68, 68, 0.45);
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.15), ;
}

.doc-warning-icon {
  font-size: 28px;
  line-height: 1;
  color: #ef4444;
  filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.6));
}

.doc-warning-content strong {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #f87171;
  margin-bottom: 2px;
}

.doc-warning-content p {
  margin: 0;
  font-size: 14.5px;
  color: #fee2e2;
  font-weight: 600;
}

/* Thanh hành động nhanh */
.doc-quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.doc-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-shadow:  0 4px 14px rgba(0, 0, 0, 0.3);
}

.doc-action-btn.buy {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border: 1px solid rgba(251, 191, 36, 0.6);
}
.doc-action-btn.buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
}

.doc-action-btn.primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.5);
}
.doc-action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.45);
}

.doc-action-btn.download {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: 1px solid rgba(52, 211, 153, 0.6);
}
.doc-action-btn.download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
}

.doc-action-btn.key {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: #ffffff;
  border: 1px solid rgba(167, 139, 250, 0.6);
}
.doc-action-btn.key:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.5);
}

/* Thẻ từng bước */
.doc-step-card {
  padding: 22px 24px;
  border-radius: 18px;
  background: rgba(13, 20, 48, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:  0 8px 24px rgba(0, 0, 0, 0.25);
  position: relative;
  transition: border-color 0.25s ease;
}

.doc-step-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
}

.doc-step-badge {
  display: inline-block;
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(14, 165, 233, 0.4);
}

.doc-step-content h3 {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
}

.doc-step-content p {
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 8px;
}

.doc-link {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}

.doc-link:hover {
  color: #7dd3fc;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.doc-highlight-btn {
  display: inline-block;
  background: #f59e0b;
  color: #000;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 13px;
}

.doc-info-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 12px 0 16px;
  color: #bae6fd;
  font-size: 13.5px;
  line-height: 1.55;
}

.doc-danger-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(248, 113, 113, 0.45);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 12px 0 8px;
  color: #fecaca;
  font-size: 13.5px;
  line-height: 1.55;
}

.doc-sub-note {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 4px;
}

.doc-step-image {
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  background: #0b1026;
}

.doc-step-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.doc-troubleshoot-box {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 14px 18px;
  margin-top: 12px;
}

.doc-troubleshoot-box h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #fbbf24;
  font-weight: 700;
}

.doc-troubleshoot-box ul {
  margin: 0;
  padding-left: 20px;
  color: #cbd5e1;
  font-size: 13.5px;
  line-height: 1.6;
}

/* Cụm 3 nút hành động trên thẻ Tool (Shika Mobile, Kuro...) */
.tool-actions.has-3-btns {
  flex-wrap: wrap;
  gap: 8px;
}
.tool-actions.has-3-btns .download {
  flex: 1 1 100%;
  width: 100%;
}
.tool-actions.has-3-btns .btn-guide,
.tool-actions.has-3-btns .btn-buy-key-mini,
.tool-actions.has-3-btns .btn-locked-version {
  flex: 1 1 calc(50% - 4px);
}

/* Nút hiển thị phiên bản cũ đã bị khóa */
.btn-locked-version {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px;
  background: rgba(239, 68, 68, 0.08) !important;
  color: #fca5a5 !important;
  border: 1px dashed rgba(239, 68, 68, 0.38) !important;
  border-radius: 14px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: not-allowed !important;
  opacity: 0.85 !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 8px !important;
  box-sizing: border-box !important;
  user-select: none !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  font-family: inherit;
}
.btn-locked-version:hover {
  background: rgba(239, 68, 68, 0.14) !important;
  border-color: rgba(239, 68, 68, 0.6) !important;
  color: #f87171 !important;
}

/* =========================================================
   BỘ LỌC TABS & CHI TIẾT TÀI LIỆU HƯỚNG DẪN WIBUZ STORE
   ========================================================= */
.guide-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 36px;
  max-width: 1040px;
  padding: 10px 14px;
  background: rgba(6, 10, 28, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;

box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), 0 0 30px rgba(56, 189, 248, 0.15), ;
}

.guide-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), ;
}

.guide-tab-btn .tab-icon {
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
}

.guide-tab-btn .tab-label {
  letter-spacing: 0.3px;
  font-weight: 800;
}

.guide-tab-btn .tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #67e8f9;
  border: 1px solid rgba(103, 232, 249, 0.35);
  line-height: 1.2;
}

.guide-tab-btn .tab-badge.badge-warn {
  background: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.6);
}

.guide-tab-btn:hover {
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.8);
  background: rgba(56, 189, 248, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.35);
}

.guide-tab-btn:hover .tab-badge {
  background: #38bdf8;
  color: #040816;
  border-color: #38bdf8;
}

.guide-tab-btn.active {
  color: #030712;
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  border-color: #bae6fd;
  font-weight: 900;
  text-shadow: none;
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.8), 0 6px 18px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}

.guide-tab-btn.active .tab-icon {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.guide-tab-btn.active .tab-badge {
  background: #030712;
  color: #38bdf8;
  border-color: rgba(0, 0, 0, 0.5);
}

.guide-tab-btn.active .tab-badge.badge-warn {
  background: #7f1d1d;
  color: #fecaca;
  border-color: #ef4444;
}

@media (max-width: 680px) {
  .guide-filter-tabs {
    border-radius: 24px;
    padding: 10px;
    gap: 8px;
  }
  .guide-tab-btn {
    font-size: 12.5px;
    padding: 8px 14px;
  }
}

.guide-card.is-hidden {
  display: none !important;
}

.guide-card.is-active-card {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.4),  !important;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22) 0%, rgba(15, 23, 52, 0.8) 100%) !important;
}

/* Accordion tính năng */
.doc-features-wrap {
  margin-top: 14px;
}

.doc-features-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

details.doc-features-accordion {
  background: rgba(10, 16, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

details.doc-features-accordion[open] {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(14, 165, 233, 0.08);
}

details.doc-features-accordion summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: #38bdf8;
  user-select: none;
  outline: none;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

details.doc-features-accordion summary::-webkit-details-marker {
  display: none;
}

details.doc-features-accordion summary::after {
  content: '▼';
  font-size: 11px;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

details.doc-features-accordion[open] summary::after {
  transform: rotate(180deg);
  color: #38bdf8;
}

details.doc-features-accordion ul {
  margin: 10px 0 4px;
  padding-left: 20px;
  color: #cbd5e1;
  font-size: 13.5px;
  line-height: 1.65;
}

details.doc-features-accordion ul li {
  margin-bottom: 4px;
}


/* Thẻ lỗi Unicore */
.unicore-error-card {
  background: rgba(14, 18, 48, 0.6);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-left: 4px solid #ef4444;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 16px;
  box-shadow:  0 8px 24px rgba(0, 0, 0, 0.3);
}

.unicore-error-card h3 {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: #fca5a5;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.unicore-error-card p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 8px;
}

.unicore-error-card ul, .unicore-error-card ol {
  margin: 0 0 10px;
  padding-left: 20px;
  color: #cbd5e1;
  font-size: 13.5px;
  line-height: 1.6;
}

.unicore-error-card .doc-step-image {
  margin-top: 10px;
}

.doc-hotkey-badge {
  display: inline-block;
  padding: 2px 7px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #38bdf8;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 12.5px;
  border-radius: 6px;
}

.doc-badge-alpha {
  display: inline-block;
  padding: 1px 6px;
  background: rgba(244, 63, 94, 0.16);
  border: 1px solid rgba(244, 63, 94, 0.45);
  color: #fb7185;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 11px;
  border-radius: 4px;
  vertical-align: 1px;
  margin-right: 4px;
}

.doc-badge-beta {
  display: inline-block;
  padding: 1px 6px;
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #c084fc;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 11px;
  border-radius: 4px;
  vertical-align: 1px;
  margin-right: 4px;
}

/* GitBook File Attachment Card (Giống WibuzStore 100%) */
.gitbook-file-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px 18px;
  margin: 14px 0;
  gap: 16px;

}

.gitbook-file-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gitbook-file-icon-box {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 10px;
  color: #60a5fa;
  font-size: 20px;
}

.gitbook-file-meta strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
}

.gitbook-file-meta small {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

.gitbook-file-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.gitbook-file-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gitbook-file-btn:hover {
  background: rgba(59, 130, 246, 0.25);
  border-color: #3b82f6;
  color: #ffffff;
}

.gitbook-file-btn.primary {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.5);
  color: #93c5fd;
}

.gitbook-file-btn.primary:hover {
  background: #3b82f6;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}

/* Bảng tính năng Lotus (Free vs Premium) */
.doc-feature-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 14, 38, 0.5);
}

.doc-feature-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: #cbd5e1;
  text-align: left;
}

.doc-feature-table th {
  background: rgba(255, 255, 255, 0.06);
  padding: 10px 14px;
  font-weight: 700;
  color: #f8fafc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.doc-feature-table td {
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.doc-feature-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.doc-feature-table td.center,
.doc-feature-table th.center {
  text-align: center;
}

@media (max-width: 600px) {
  .gitbook-file-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .gitbook-file-actions {
    width: 100%;
  }
  .gitbook-file-btn {
    flex: 1;
    justify-content: center;
  }
}

/* =========================================================
   FOOTER LIQUID GLASS
   ========================================================= */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 28px clamp(16px, 6vw, 100px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
  font-size: 13px;
  text-align: center;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  background: rgba(5, 7, 22, 0.25);

}

footer b {
  color: var(--skirk-silver);
}



/* =========================================================
   TRANG CÔNG CỤ HỖ TRỢ — LIQUID GLASS
   ========================================================= */
.tools-filter-wrapper {
  max-width: 1140px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tools-search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.tools-search-box .search-icon {
  position: absolute;
  left: 16px;
  font-size: 15px;
  pointer-events: none;
  opacity: 0.7;
}

.tools-search-box input {
  width: 100%;
  padding: 12px 42px 12px 46px;
  border-radius: 999px;
  background: rgba(12, 18, 48, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;

box-shadow:  0 6px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  outline: none;
}

.tools-search-box input:focus {
  border-color: var(--skirk-cyan);
  box-shadow:  0 0 20px rgba(34, 211, 238, 0.4);
}

.tools-search-box input::placeholder {
  color: #94a3b8;
}

.clear-search-btn {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 50%;
  transition: color 0.2s;
}

.clear-search-btn:hover {
  color: #ffffff;
}

.tools-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.filter-btn {
  background: rgba(15, 23, 52, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;

}

.filter-btn:hover {
  background: rgba(34, 211, 238, 0.15);
  border-color: rgba(34, 211, 238, 0.45);
  color: #ffffff;
  transform: translateY(-1px);
}

.filter-btn.active {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.3) 0%, rgba(168, 85, 247, 0.3) 100%);
  border-color: var(--skirk-cyan);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.35);
}

.utilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto 36px;
}

.utility-card {
  min-height: 280px;
}

.utility-card.is-hidden {
  display: none !important;
}

.no-results-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: #94a3b8;
  font-size: 15px;
  background: rgba(12, 18, 48, 0.4);
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.utility-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  width: 100%;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: #67e8f9;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.15);
  letter-spacing: 0.2px;
}

/* Badges theo phiên bản */
.status-badge.vip {
  color: #fde047;
  background: rgba(234, 179, 8, 0.18);
  border: 1px solid rgba(250, 204, 21, 0.55);
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.3);
}

.status-badge.gold {
  color: #fef08a;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.22) 0%, rgba(245, 158, 11, 0.18) 100%);
  border: 1px solid rgba(251, 191, 36, 0.55);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.28);
}

.status-badge.blue {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.55);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.28);
}

.status-badge.lite {
  color: #fed7aa;
  background: rgba(249, 115, 22, 0.2);
  border: 1px solid rgba(251, 146, 60, 0.55);
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.28);
}

.status-badge.coloros {
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.55);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.28);
}

.status-badge.vi {
  color: #fef08a;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.25) 0%, rgba(234, 179, 8, 0.2) 100%);
  border: 1px solid rgba(239, 68, 68, 0.55);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.3);
}

/* Khối biểu tượng Letter theo phiên bản */
.letter.vi {
  background: linear-gradient(145deg, rgba(185, 28, 28, 0.85) 0%, rgba(202, 138, 4, 0.85) 100%);
  border-color: rgba(248, 113, 113, 0.7);
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.45);
  color: #fef08a;
}

/* Card VPhone Custom Tiếng Việt — Nổi bật trên nền đen */
.utility-card.featured-vi {
  background: rgba(8, 14, 38, 0.92) !important;
  border-color: rgba(245, 158, 11, 0.55) !important;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.18), 0 8px 24px rgba(0, 0, 0, 0.55) !important;
}

.utility-card.featured-vi:hover {
  background: rgba(14, 24, 60, 0.95) !important;
  border-color: rgba(251, 191, 36, 0.85) !important;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.35), 0 14px 35px rgba(0, 0, 0, 0.65) !important;
}

.tool-desc-vi {
  color: #fde047 !important; /* Màu vàng tươi nổi bật rõ nét trên nền đen */
  font-size: 13.5px !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  font-weight: 500;
}

.tool-desc-vi strong {
  color: #ffffff !important;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(253, 224, 71, 0.5);
}

.letter.vip {
  background: linear-gradient(145deg, rgba(161, 98, 7, 0.85) 0%, rgba(107, 33, 168, 0.85) 100%);
  border-color: rgba(250, 204, 21, 0.7);
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.45), ;
  color: #fef08a;
}

.letter.gold {
  background: linear-gradient(145deg, rgba(180, 83, 9, 0.85) 0%, rgba(217, 119, 6, 0.85) 100%);
  border-color: rgba(251, 191, 36, 0.7);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.45), ;
  color: #fffbeb;
}

.letter.blue {
  background: linear-gradient(145deg, rgba(29, 78, 216, 0.85) 0%, rgba(30, 64, 175, 0.85) 100%);
  border-color: rgba(96, 165, 250, 0.7);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.45), ;
  color: #eff6ff;
}

.letter.orange {
  background: linear-gradient(145deg, rgba(194, 65, 12, 0.85) 0%, rgba(154, 52, 18, 0.85) 100%);
  border-color: rgba(251, 146, 60, 0.7);
  box-shadow: 0 0 24px rgba(249, 115, 22, 0.45), ;
  color: #fff7ed;
}

.letter.coloros {
  background: linear-gradient(145deg, rgba(5, 150, 105, 0.85) 0%, rgba(13, 148, 136, 0.85) 100%);
  border-color: rgba(52, 211, 153, 0.7);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.45), ;
  color: #ecfdf5;
}

.letter.filemanager {
  background: linear-gradient(145deg, rgba(13, 148, 136, 0.85) 0%, rgba(2, 132, 199, 0.85) 100%);
  border-color: rgba(45, 212, 191, 0.7);
  box-shadow: 0 0 24px rgba(45, 212, 191, 0.45), ;
  color: #f0fdfa;
}

.letter.pc {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.4) 0%, rgba(168, 85, 247, 0.4) 100%);
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.4), ;
  color: #ffffff;
}

.tools.tools-pc {
  padding-top: 20px;
}

/* Khung lời khuyên / Mẹo hỗ trợ */
.utility-tips-panel {
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 1.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(8, 14, 38, 0.18);

box-shadow:  0 12px 35px rgba(2, 4, 18, 0.2);
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.tip-icon {
  font-size: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: ;
}

.tip-content {
  flex: 1;
  min-width: 260px;
}

.tip-content h3 {
  margin: 0 0 6px;
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

.tip-content p {
  margin: 6px 0;
  font-size: 13.5px;
  color: #f1f5f9;
  line-height: 1.55;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95);
}

.tip-content strong {
  color: var(--skirk-cyan-bright);
}

.tip-action-btn {
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.4);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.2);
}

.tip-action-btn:hover {
  background: rgba(34, 211, 238, 0.3);
  border-color: var(--skirk-cyan-bright);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.4);
}

/* Banner chuyển tab Công Cụ trên Trang Chủ */
.tools-cta-banner {
  margin-top: 36px;
  padding: 22px 28px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 1.5px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(135deg, rgba(16, 24, 64, 0.22) 0%, rgba(8, 12, 36, 0.14) 100%);

display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow:  0 10px 30px rgba(0, 0, 0, 0.25);
}

.banner-text .badge-mini {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--skirk-cyan-bright);
  font-weight: 700;
  margin-bottom: 4px;
}

.banner-text strong {
  display: block;
  font-size: 18px;
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

.banner-text p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #e2e8f0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95);
}

.banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 12px;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(34, 211, 238, 0.3) 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-top: 1px solid #ffffff;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.25);
}

.banner-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.5);
}

/* =========================================================
   TÙY CHỈNH GIAO DIỆN ĐA THIẾT BỊ (RESPONSIVE SYSTEM)
   ========================================================= */

/* 1. MÀN HÌNH LAPTOP & TABLET NGANG (993px - 1200px) */
@media (max-width: 1200px) {
  .skirk-bg-fixed {
    background-position: 72% center;
  }
  .nav {
    padding: 10px 18px;
    gap: 10px;
  }
  .main-nav {
    gap: 6px;
  }
  .main-nav a {
    padding: 7px 11px;
    font-size: 13px;
  }
  .socials {
    gap: 8px;
  }
  .social {
    padding: 6px 10px;
    font-size: 12px;
  }
  .tool-grid, .guide-grid {
    gap: 20px;
  }
}

/* 2. TABLET ĐỨNG & LAPTOP NHỎ (769px - 992px) */
@media (max-width: 992px) {
  .skirk-bg-fixed {
    background-position: 65% center;
  }
  .tool-grid, .guide-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .hero {
    padding: 60px clamp(16px, 4vw, 40px);
  }
}

/* 3. ĐIỆN THOẠI & TABLET NHỎ (<= 768px) */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 64px;
  }
  body {
    padding-top: 56px;
  }
  /* Ảnh nền đứng Skirk trời sao mặt nước chuyên biệt cho điện thoại */
  .skirk-bg-fixed {
    background-image: url('../assets/images/backgrounds/skirk-mobile-bg.jpg');
    background-position: center top;
    background-size: cover;
  }

  .skirk-bg-overlay {
    background: 
      radial-gradient(ellipse at 50% 30%, transparent 0%, rgba(5, 7, 24, 0.04) 60%, rgba(4, 6, 20, 0.18) 100%),
      linear-gradient(180deg, rgba(5, 7, 20, 0.02) 0%, rgba(5, 7, 20, 0.06) 50%, rgba(4, 6, 20, 0.16) 100%);
  }

  /* Header 1 hàng tối ưu cho Mobile với Hamburger Menu góc trái */
  .nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    gap: 10px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    min-height: 64px;
    background: rgba(6, 10, 30, 0.85);

box-sizing: border-box;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
  }

  .brand { 
    flex: 1; 
    gap: 10px;
  }
  .brand-logo-img {
    height: 52px;
    max-width: 180px;
  }
  .brand strong { font-size: 18px; font-weight: 800; }
  .brand small { font-size: 9.5px; font-weight: 700; }
  .primogem { width: 38px; height: 38px; }

  .socials { 
    flex: initial; 
    flex-direction: row;
    gap: 6px;
  }
  .social {
    width: auto;
    padding: 5px 8px;
    font-size: 10.5px;
    border-radius: 8px;
    background: rgba(10, 16, 40, 0.28);

}

  /* Ẩn thanh menu ngang trên điện thoại vì đã chuyển vào Menu trượt Hamburger */
  .main-nav {
    display: none !important;
  }

  /* Hero Banner trên điện thoại - Cân bằng hoàn hảo 2 bên */
  .hero { 
    padding: 20px 14px 16px; 
    min-height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 18px 16px;
    border-radius: 20px;
    background: rgba(7, 12, 34, 0.35);

box-sizing: border-box;
  }

  .stars { display: none; }

  .notice {
    width: 100%;
    box-sizing: border-box;
  }

  /* Hai nút Hero xếp dọc toàn chiều ngang 100%, cân đối tuyệt đối */
  .hero-actions-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 9px !important;
    margin-top: 14px !important;
    box-sizing: border-box !important;
  }

  .hero-actions-group .cta {
    width: 100% !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 16px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 14px;
  }

  .section-head h2 {
    font-size: 20px;
    margin: 2px 0 0;
  }

  .kicker {
    font-size: 9.5px;
    letter-spacing: 1px;
  }

  .count {
    font-size: 10px;
    padding: 3px 8px;
  }

  /* Lưới công cụ 1 cột toàn màn hình siêu gọn */
  .tools {
    padding: 20px 12px;
  }

  .tool-grid, .guide-grid, .utilities-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tool-card {
    min-height: auto;
    padding: 13px 12px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(14, 20, 52, 0.92) 0%, rgba(8, 12, 34, 0.9) 100%);

border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  }

  .cta, .download { 
    width: 100%; 
    min-height: 38px;
    font-size: 12px;
  }

  .guide-card .letter,
  .guide-card .tool-app-icon,
  .tool-app-icon,
  .letter {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .letter {
    font-size: 20px;
  }

  .utility-card-top {
    margin-bottom: 6px !important;
  }

  .utility-card-top .status-badge {
    font-size: 10px;
    padding: 3px 8px;
  }

  .status-indicator-dot {
    width: 6px;
    height: 6px;
  }

  .tool-copy {
    margin-top: 0;
  }

  .tool-copy small {
    display: block;
    margin-bottom: 2px;
    font-size: 9px;
    letter-spacing: 1.2px;
  }

  .tool-copy h3 {
    font-size: 16.5px;
    margin: 3px 0 5px;
    gap: 6px;
    line-height: 1.3;
  }

  .tool-copy h3 .status-badge {
    font-size: 9.5px;
    padding: 2px 6px;
  }

  .tool-copy p {
    font-size: 11.5px;
    line-height: 1.4;
    color: #e2e8f0;
  }

  .tool-note-box {
    margin-top: 6px;
    padding: 6px 8px;
    border-radius: 8px;
    gap: 4px;
  }

  .tool-note-item p {
    font-size: 11px;
    line-height: 1.35;
  }

  /* Trang hướng dẫn trên mobile */
  .guide-wrap {
    padding: 24px 12px;
  }

  .guide-card {
    grid-template-columns: 44px 1fr 18px;
    padding: 12px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(12, 18, 48, 0.4) 0%, rgba(6, 10, 30, 0.3) 100%);

}

  .video-panel { 
    padding: 14px; 
    margin-top: 18px;
    border-radius: 16px;
    background: rgba(8, 12, 32, 0.25);

}

  /* Banner & Tips Panel trên mobile */
  .utility-tips-panel {
    padding: 14px 12px;
    gap: 10px;
    border-radius: 16px;
  }

  .tip-icon {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .tip-content h3 {
    font-size: 16px;
  }

  .tip-action-btn, .banner-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    min-height: 38px;
    font-size: 12px;
  }

  .tools-cta-banner {
    padding: 14px 12px;
    margin-top: 18px;
    border-radius: 16px;
  }
}

/* 4. ĐIỆN THOẠI MÀN HÌNH NHỎ (<= 480px) */
@media (max-width: 480px) {
  .brand strong { font-size: 16.5px; font-weight: 800; }
  .brand small { font-size: 9px; font-weight: 700; }
  .primogem { width: 34px; height: 34px; }

  .social {
    padding: 4px 7px;
    font-size: 9.5px;
  }

  .main-nav a {
    font-size: 11px;
    padding: 5px 5px;
  }

  .hero h1 { 
    font-size: 22px; 
    line-height: 1.25;
    margin: 6px 0 10px;
  }

  .notice {
    padding: 8px 10px;
    gap: 8px;
    border-radius: 10px;
    margin-top: 10px;
  }

  .notice > b {
    width: 20px;
    height: 20px;
    min-width: 20px;
    font-size: 11.5px;
  }

  .notice strong { font-size: 11.5px; }
  .notice p { font-size: 11px; line-height: 1.38; }

  .tool-copy h3 {
    font-size: 16px;
    margin: 3px 0 5px;
  }

  .tool-card {
    padding: 12px 10px;
    border-radius: 14px;
  }

  .guide-title h1 {
    font-size: 22px;
  }

  footer {
    padding: 18px 12px;
    font-size: 11px;
    gap: 6px;
  }
}

/* 5. ĐIỆN THOẠI MÀN HÌNH CỰC NHỎ HOẶC MÀN GẬP (<= 360px) */
@media (max-width: 360px) {
  body { padding-top: 50px; }
  .nav { padding: 6px 8px; min-height: 50px; }
  .hero h1 { font-size: 19px; }
  .hero-actions-group { flex-direction: column !important; }
  .main-nav a span { display: inline-block; }
  .guide-card strong { font-size: 15px; }
}

/* =========================================================
   BẢNG THÔNG BÁO POPUP — CẢNH BÁO RỦI RO & BAN WAVE
   ========================================================= */
.tx-notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(3, 6, 20, 0.78);

display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.tx-notice-overlay.active {
  opacity: 1;
  visibility: visible;
}

.tx-notice-modal {
  position: relative;
  width: 100%;
  width: min(92vw, 520px);
  max-width: 520px;
  box-sizing: border-box;
  background: linear-gradient(165deg, rgba(13, 18, 48, 0.95) 0%, rgba(6, 9, 28, 0.98) 100%);
  border-radius: 22px;
  border: 1px solid rgba(244, 63, 94, 0.36);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 
    0 0 50px rgba(244, 63, 94, 0.16),
    0 24px 60px rgba(0, 0, 0, 0.75),
    ;
  padding: 28px 24px 22px;
  transform: scale(0.92) translateY(14px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.tx-notice-overlay.active .tx-notice-modal {
  transform: scale(1) translateY(0);
}

/* Ánh sáng trang trí nền modal */
.tx-notice-modal::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.2) 0%, rgba(168, 85, 247, 0.12) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.tx-notice-modal > * {
  position: relative;
  z-index: 1;
}

/* Nút X đóng góc trên */
.tx-notice-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--skirk-muted);
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;
}

.tx-notice-close:hover {
  background: rgba(244, 63, 94, 0.22);
  border-color: rgba(244, 63, 94, 0.5);
  color: #fff;
  transform: rotate(90deg);
}

.tx-notice-close:active {
  transform: scale(0.92);
  background: rgba(244, 63, 94, 0.35);
}

.tx-notice-close:focus,
.tx-notice-close:focus-visible {
  outline: none !important;
}

/* Badge cảnh báo */
.tx-notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(244, 63, 94, 0.42);
  margin-bottom: 12px;
}

.tx-notice-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f43f5e;
  box-shadow: 0 0 10px #f43f5e;
  animation: txPulseAnim 1.6s infinite;
}

@keyframes txPulseAnim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

.tx-notice-badge-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #fda4af;
  text-transform: uppercase;
}

/* Tiêu đề */
.tx-notice-title {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.3;
}

/* Hộp lưu ý đỏ nổi bật */
.tx-notice-warning-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.14) 0%, rgba(168, 85, 247, 0.08) 100%);
  border: 1px solid rgba(244, 63, 94, 0.35);
  border-left: 4px solid #f43f5e;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.tx-notice-warn-icon {
  font-size: 20px;
  line-height: 1;
  color: #fb7185;
  margin-top: 1px;
  flex-shrink: 0;
}

.tx-notice-warn-text strong {
  color: #ff8597;
  font-size: 14px;
  display: block;
  margin-bottom: 3px;
}

.tx-notice-warn-text p {
  margin: 0;
  font-size: 13px;
  color: #e2e8f0;
  line-height: 1.45;
}

.tx-notice-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 16px;
}

/* Thẻ MXH Discord & Telegram */
.tx-notice-socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.tx-social-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(18, 25, 60, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: all 0.25s ease;
}

.tx-social-card.discord:hover {
  background: rgba(88, 101, 242, 0.2);
  border-color: #5865F2;
  box-shadow: 0 4px 18px rgba(88, 101, 242, 0.35);
  transform: translateY(-2px);
}

.tx-social-card.telegram:hover {
  background: rgba(34, 158, 217, 0.2);
  border-color: #229ED9;
  box-shadow: 0 4px 18px rgba(34, 158, 217, 0.35);
  transform: translateY(-2px);
}

.tx-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.tx-social-card:hover .tx-social-icon {
  transform: scale(1.08);
}

.tx-social-icon.discord-icon {
  background: rgba(88, 101, 242, 0.22);
  color: #7289da;
}

.tx-social-icon.telegram-icon {
  background: rgba(34, 158, 217, 0.22);
  color: #38bdf8;
}

.tx-social-title {
  font-size: 13.5px;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Các nút hành động */
.tx-notice-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.tx-btn-snooze {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #cbd5e1;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  border-radius: 11px;
  padding: 11px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tx-btn-snooze:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.tx-btn-dismiss {
  flex: 1.15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, #f43f5e 0%, #a855f7 100%);
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-weight: 700;
  font-size: 13.5px;
  border-radius: 11px;
  padding: 11px 18px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(244, 63, 94, 0.36);
  transition: all 0.2s ease;
}

.tx-btn-dismiss:hover {
  box-shadow: 0 6px 24px rgba(244, 63, 94, 0.58);
  transform: translateY(-1.5px);
  filter: brightness(1.08);
}

.tx-btn-icon {
  font-size: 14px;
}

/* Toast thông báo khi tắt 60 phút */
.tx-notice-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: rgba(14, 20, 48, 0.94);
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 999px;
  color: #e2e8f0;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);

z-index: 1000000;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tx-notice-toast.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Nút footer mở lại thông báo */
.footer-notice-btn {
  background: transparent;
  border: none;
  color: #fb7185;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  font-weight: 600;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s, text-shadow 0.2s;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-notice-btn:hover {
  color: #fda4af;
  text-shadow: 0 0 10px rgba(244, 63, 94, 0.6);
}

/* =========================================================
   MODAL CHỌN NHÓM & MỞ KHÓA LINK TẢI 10S (TELEGRAM & DISCORD)
   ========================================================= */
button.download {
  font-family: inherit;
  cursor: pointer;
  border: 1px solid rgba(56, 189, 248, 0.55);
}

.tx-dl-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 10005;
  background: rgba(4, 6, 20, 0.88);

display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-x: hidden !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tx-dl-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.tx-dl-modal {
  position: relative;
  width: 100%;
  width: min(92vw, 530px);
  max-width: 530px;
  box-sizing: border-box;
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  background: #0b1226;
  border-radius: 20px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(56, 189, 248, 0.15);
  padding: 26px 22px 20px;
  transform: scale(0.92) translateY(14px);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.tx-dl-modal::-webkit-scrollbar,
.tx-dl-modal-compact::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.tx-dl-modal-overlay.active .tx-dl-modal {
  transform: scale(1) translateY(0);
}

.tx-dl-modal::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(168, 85, 247, 0.15) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.tx-dl-modal > * {
  position: relative;
  z-index: 1;
}

.tx-dl-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}

.tx-dl-modal-close:hover {
  background: rgba(244, 63, 94, 0.3);
  border-color: #f43f5e;
  color: #ffffff;
  transform: rotate(90deg);
}

.tx-dl-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.tx-dl-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: txPulseDot 1.8s infinite ease-in-out;
}

@keyframes txPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.tx-dl-modal-title {
  margin: 0 0 8px;
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(19px, 3.5vw, 23px);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.tx-dl-modal-title span {
  color: #38bdf8;
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.6);
}

.tx-dl-modal-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #cbd5e1;
  margin: 0 0 14px;
}

.tx-dl-modal-desc strong {
  color: #fde047;
}

.tx-dl-group-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.tx-dl-group-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  background: rgba(15, 23, 52, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: ;
  cursor: pointer;
}

.tx-dl-group-card.telegram:hover {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(3, 105, 161, 0.18) 100%);
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}

.tx-dl-group-card.discord:hover {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.25) 0%, rgba(71, 82, 196, 0.18) 100%);
  border-color: rgba(129, 140, 248, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.35);
}

.tx-dl-group-card.selected {
  border-color: rgba(56, 189, 248, 0.85);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.3) 0%, rgba(14, 165, 233, 0.18) 100%);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.tx-dl-group-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: ;
}

.tx-dl-group-card.telegram .tx-dl-group-icon {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.45);
}

.tx-dl-group-card.discord .tx-dl-group-icon {
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.45);
}

.tx-dl-group-info {
  flex: 1;
  min-width: 0;
}

.tx-dl-group-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.tx-dl-group-top strong {
  font-size: 14.5px;
  color: #ffffff;
  font-weight: 700;
}

.tx-dl-check-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cbd5e1;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tx-dl-group-card.selected .tx-dl-check-pill {
  background: rgba(34, 197, 94, 0.25);
  border-color: rgba(34, 197, 94, 0.7);
  color: #4ade80;
  font-weight: 700;
}

.tx-dl-group-info p {
  margin: 0 0 5px;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.35;
}

.tx-dl-join-btn {
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.2px;
}

.tx-dl-join-btn.discord {
  color: #818cf8;
}

/* Khung mở khóa & đếm ngược 10s */
.tx-dl-unlock-box {
  background: rgba(9, 14, 38, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: ;
}

.tx-dl-countdown-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.tx-dl-status-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.tx-dl-status-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.tx-dl-status-text strong {
  font-size: 13.5px;
  color: #ffffff;
  font-weight: 700;
}

.tx-dl-status-text span {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.35;
}

.tx-dl-progress-wrap {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tx-dl-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8 0%, #06b6d4 50%, #22c55e 100%);
  border-radius: 999px;
  transition: width 0.35s ease;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.tx-dl-final-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  text-align: center;
}

.tx-dl-final-btn.is-locked {
  background: rgba(30, 41, 59, 0.5);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  color: #64748b;
  pointer-events: none;
  cursor: not-allowed;
}

.tx-dl-final-btn.is-counting {
  background: rgba(14, 116, 144, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.55);
  color: #38bdf8;
  pointer-events: none;
  cursor: wait;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.tx-dl-final-btn.is-ready {
  background: linear-gradient(135deg, #0284c7 0%, #10b981 100%);
  border: 1.5px solid #34d399;
  color: #ffffff;
  font-weight: 800;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.55), 0 4px 15px rgba(0, 0, 0, 0.5);
  animation: txPulseReadyBtn 1.8s infinite ease-in-out;
}

.tx-dl-final-btn.is-ready:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(52, 211, 153, 0.85), 0 8px 24px rgba(0, 0, 0, 0.6);
  filter: brightness(1.1);
}

@keyframes txPulseReadyBtn {
  0%, 100% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.45), 0 4px 14px rgba(0, 0, 0, 0.4);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 0 32px rgba(52, 211, 153, 0.75), 0 6px 18px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
  }
}

.tx-dl-btn-timer {
  background: rgba(0, 0, 0, 0.4);
  color: #fde047;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 800;
  border: 1px solid rgba(253, 224, 71, 0.4);
}

.tx-dl-modal-footer-tip {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 11.5px;
  color: #cbd5e1;
  line-height: 1.45;
}

@media (max-width: 480px) {
  .tx-notice-modal {
    padding: 22px 18px 18px;
  }
  .tx-notice-title {
    font-size: 19px;
  }
  .tx-notice-socials {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .tx-notice-actions {
    flex-direction: column-reverse;
  }
  .tx-btn-snooze, .tx-btn-dismiss {
    width: 100%;
    padding: 10px 14px;
  }
}

/* =========================================================
   HIỆU ỨNG BÔNG TUYẾT & TINH THỂ BĂNG (SNOW CANVAS)
   ========================================================= */
.snow-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 90;
  display: block;
}

.footer-snow-btn {
  background: transparent;
  border: none;
  color: #38bdf8;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  font-weight: 600;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-snow-btn:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
}

.footer-snow-btn.active {
  color: #67e8f9;
}

/* =========================================================
   TRANG CHIA SẺ FILE TP & TẬP TIN (DOCS.HTML)
   - Lưới thẻ chia sẻ tệp Liquid Glass
   - Phân loại icon định dạng (Config, Script, Zip, Doc, Apk)
   - Nút Tải về & Nút Copy Link một chạm
   - Tìm kiếm & bộ lọc loại tệp tức thì
   ========================================================= */
.files-wrap {
  padding: 50px clamp(16px, 5vw, 90px);
  max-width: 1280px;
  margin: 0 auto;
  min-height: calc(100vh - 160px);
}

.files-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 35px;
  background: #0d1527 !important;
  padding: 26px 22px;
  border-radius: 20px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.files-title h1 {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(28px, 4.8vw, 38px);
  font-weight: 800;
  margin: 10px 0;
  letter-spacing: -0.3px;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 24px rgba(0, 0, 0, 0.9);
}

.files-title h1 span {
  display: inline-block;
  color: #38bdf8;
  font-weight: 800;
  -webkit-text-stroke: 0.4px rgba(255, 255, 255, 0.95);
  text-shadow: 
    0 0 16px rgba(56, 189, 248, 0.95),
    0 0 32px rgba(14, 165, 233, 0.7),
    0 2px 10px rgba(0, 0, 0, 0.95);
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.7));
}

.files-title p {
  color: var(--skirk-silver-soft);
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

/* Thanh tìm kiếm & bộ lọc tệp */
.files-filter-wrapper {
  max-width: 820px;
  margin: 0 auto 35px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.files-search-box {
  position: relative;
  width: 100%;
}

.files-search-box input {
  width: 100%;
  padding: 14px 44px 14px 46px;
  background: rgba(10, 16, 42, 0.35);

border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 1.5px solid rgba(255, 255, 255, 0.38);
  border-radius: 16px;
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  box-shadow:  0 8px 24px rgba(2, 4, 18, 0.3);
  transition: all 0.25s ease;
  outline: none;
}

.files-search-box input:focus {
  border-color: var(--skirk-cyan);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.35), ;
}

.files-search-box .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--skirk-cyan);
  font-size: 16px;
  pointer-events: none;
}

.files-search-box .clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--skirk-muted);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.files-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.file-pill {
  appearance: none;
  background: rgba(14, 22, 54, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  color: var(--skirk-muted);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.file-pill:hover,
.file-pill.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.32), rgba(34, 211, 238, 0.2));
  border-color: var(--skirk-cyan);
  color: #fff;
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.25);
}

/* Lưới thẻ tệp chia sẻ */
.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 22px;
}

.file-card {
  background: #0d1527 !important;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.file-card:hover {
  transform: translateY(-3px);
  background: #13203c !important;
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 16px rgba(56, 189, 248, 0.22);
}

.file-card-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* Icon tệp */
.file-type-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: ;
}

.file-type-icon.cfg {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.3), rgba(14, 165, 233, 0.15));
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.3);
}

.file-type-icon.sh {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(16, 185, 129, 0.15));
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.3);
}

.file-type-icon.zip {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(217, 119, 6, 0.15));
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
}

.file-type-icon.doc {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(192, 132, 252, 0.15));
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
}

.file-type-icon.apk {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.3), rgba(251, 113, 133, 0.15));
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.3);
}

/* Chi tiết tệp */
.file-info {
  flex: 1;
  min-width: 0;
}

.file-meta-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.file-badge {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.file-badge.cfg { color: #38bdf8; border-color: rgba(56, 189, 248, 0.4); }
.file-badge.sh { color: #4ade80; border-color: rgba(74, 222, 128, 0.4); }
.file-badge.zip { color: #fbbf24; border-color: rgba(251, 191, 36, 0.4); }
.file-badge.doc { color: #c084fc; border-color: rgba(192, 132, 252, 0.4); }
.file-badge.apk { color: #fb7185; border-color: rgba(251, 113, 133, 0.4); }

.file-size, .file-date {
  font-size: 11.5px;
  color: var(--skirk-subtle);
  font-weight: 500;
}

.file-name {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  word-break: break-all;
  line-height: 1.35;
}

.file-desc {
  font-size: 13px;
  color: var(--skirk-silver-soft);
  margin: 0;
  line-height: 1.5;
  opacity: 0.85;
}

/* Nút hành động của file */
.file-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.file-download-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981 0%, #059669 55%, #047857 100%);
  border: 1px solid rgba(110, 231, 183, 0.7);
  border-top: 1.5px solid #ffffff;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow:  0 4px 18px rgba(16, 185, 129, 0.45);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

.file-download-btn:hover {
  background: linear-gradient(135deg, #22c55e 0%, #10b981 55%, #059669 100%);
  border-color: #6ee7b7;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.65), ;
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.file-copy-link-btn {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--skirk-silver-soft);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.file-copy-link-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: var(--skirk-cyan);
}

/* Thẻ thông báo rỗng khi tìm không thấy file */
.empty-files-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  background: rgba(8, 14, 38, 0.2);
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: var(--skirk-muted);
}

.empty-files-box span {
  font-size: 40px;
  display: block;
  margin-bottom: 10px;
}

/* Gợi ý thêm tệp */
.files-upload-banner {
  margin-top: 40px;
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(10, 16, 42, 0.28);

border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.files-upload-banner h3 {
  margin: 0 0 4px;
  font-size: 17px;
  color: #fff;
}

.files-upload-banner p {
  margin: 0;
  font-size: 13.5px;
  color: var(--skirk-muted);
}

@media (max-width: 768px) {
  .file-grid {
    grid-template-columns: 1fr;
  }
  .files-upload-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   NÚT HAMBURGER & MENU TRƯỢT DI ĐỘNG (MOBILE NAV DRAWER)
   - Chỉ áp dụng trên điện thoại (<= 768px), máy tính ẩn hoàn toàn
   - Chiếm 1/2 màn hình dọc (55vw, 100vh) từ góc trái
   - Chứa đầy đủ Tool, Công cụ, Hướng dẫn, File TP, Socials
   ========================================================= */

/* Desktop: Ẩn hoàn toàn các thành phần menu di động */
@media (min-width: 769px) {
  .mobile-menu-btn,
  .mobile-nav-overlay,
  .mobile-nav-drawer {
    display: none !important;
  }
}

/* Nút Hamburger 3 thanh bo tròn góc trái trên Navbar Mobile */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(12, 18, 48, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 1.5px solid rgba(255, 255, 255, 0.45);
  color: var(--skirk-cyan-bright);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.22), ;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.mobile-menu-btn:hover {
  background: rgba(34, 211, 238, 0.2);
  border-color: var(--skirk-cyan);
  color: #ffffff;
}

.mobile-menu-btn:active {
  transform: scale(0.92);
}

.mobile-menu-btn:focus,
.mobile-menu-btn:focus-visible {
  outline: none !important;
}

.hamburger-box {
  width: 20px;
  height: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2.2px;
  background-color: var(--skirk-cyan-bright);
  border-radius: 2px;
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease,
              background-color 0.26s ease;
  transform-origin: center;
}

/* Khóa cuộn trang khi menu đang mở */
body.nav-drawer-open,
body.tx-download-open,
body.tx-notice-open {
  overflow: hidden !important;
}

/* Lớp phủ mờ nền khi mở Drawer - Tối ưu 60fps mượt mà */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 20, 0.72);

z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, visibility;
  -webkit-tap-highlight-color: transparent !important;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Bảng trượt dọc menu di động (Mobile Side Drawer) - Phủ toàn màn hình từ top 0, che hoàn toàn navbar */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 72vw;
  min-width: 260px;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  padding-top: 0;
  box-sizing: border-box;
  background: linear-gradient(165deg, rgba(10, 16, 44, 0.98) 0%, rgba(4, 7, 24, 0.99) 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.8), inset -1.5px 0 0 rgba(34, 211, 238, 0.35);
  z-index: 1001;
  transform: translate3d(-100%, 0, 0);
  -webkit-transform: translate3d(-100%, 0, 0);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent !important;
}

.mobile-nav-drawer.open {
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

/* Header của Drawer */
.mobile-drawer-header {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  flex-shrink: 0;
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-drawer-brand strong {
  display: block;
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: 0.5px;
  -webkit-text-stroke: 0.3px rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.8), 0 2px 8px rgba(0, 0, 0, 0.9);
}

.mobile-drawer-brand small {
  display: block;
  font-size: 9.5px;
  color: #38bdf8;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.mobile-drawer-close {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--skirk-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
  touch-action: manipulation;
}

.mobile-drawer-close:hover,
.mobile-drawer-close:active {
  background: rgba(244, 63, 94, 0.25);
  border-color: rgba(244, 63, 94, 0.6);
  color: #fff;
  transform: scale(0.92);
  outline: none !important;
}

.mobile-drawer-close:focus,
.mobile-drawer-close:focus-visible {
  outline: none !important;
}

/* Thân của Drawer */
.mobile-drawer-body {
  padding: 18px 14px;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-group-title {
  font-size: 10px;
  font-weight: 800;
  color: var(--skirk-cyan-bright);
  letter-spacing: 1.2px;
  padding: 0 6px;
  text-transform: uppercase;
}

.drawer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.2s ease;
}

.drawer-nav-item .drawer-item-icon {
  font-size: 15px;
  width: 20px;
  text-align: center;
  color: var(--skirk-cyan-bright);
}

.drawer-nav-item:hover,
.drawer-nav-item:active {
  background: rgba(34, 211, 238, 0.15);
  border-color: rgba(34, 211, 238, 0.4);
  color: #ffffff;
  transform: translateX(3px);
}

.drawer-nav-item.active {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.28) 0%, rgba(168, 85, 247, 0.22) 100%);
  border-color: var(--skirk-cyan);
  border-top-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.3), ;
}

/* Social links trong Drawer */
.drawer-social-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-social-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.drawer-social-item.telegram:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38bdf8;
  color: #fff;
}

.drawer-social-item.discord:hover {
  background: rgba(168, 85, 247, 0.18);
  border-color: #a855f7;
  color: #fff;
}

/* Footer của Drawer */
.mobile-drawer-footer {
  padding: 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10.5px;
  color: var(--skirk-muted);
  text-align: center;
  background: rgba(4, 7, 20, 0.5);
  flex-shrink: 0;
}

/* =========================================================
   TOOL PC & PRICING DISPLAY (WIBUZSTORE AFFILIATE)
   ========================================================= */
.status-badge.vip {
  color: #fde047;
  background: rgba(234, 179, 8, 0.16);
  border: 1px solid rgba(234, 179, 8, 0.55);
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.25);
}

.status-badge.hot {
  color: #fb7185;
  background: rgba(244, 63, 94, 0.16);
  border: 1px solid rgba(244, 63, 94, 0.55);
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.25);
}

.status-badge.lifetime {
  color: #c084fc;
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.55);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.25);
}

.tool-pc-card {
  border-color: rgba(34, 211, 238, 0.25);
}

.tool-pc-card:hover {
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 
    
    0 18px 45px rgba(0, 0, 0, 0.45),
    0 0 35px rgba(34, 211, 238, 0.4);
}

.tool-pricing-box {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(6, 10, 28, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: ;
}

.pricing-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--skirk-cyan-bright);
}

.pricing-box-head small {
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.pricing-tags-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.pricing-tags-grid.single-col {
  grid-template-columns: 1fr;
}

.price-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  min-height: 44px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.price-item:hover {
  background: rgba(34, 211, 238, 0.09);
  border-color: rgba(34, 211, 238, 0.35);
  transform: translateY(-1px);
}

.price-duration {
  font-size: 11px;
  color: #cbd5e1;
  font-weight: 600;
  white-space: nowrap;
}

.price-val {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #38bdf8;
  white-space: nowrap;
}

.price-item.highlight {
  background: rgba(234, 179, 8, 0.09);
  border-color: rgba(234, 179, 8, 0.3);
}

.price-item.highlight .price-val {
  color: #facc15;
}

.btn-buy-key {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 40%, #10b981 100%) !important;
  color: #ffffff !important;
  border-color: rgba(56, 189, 248, 0.6) !important;
  box-shadow: 
    
    0 8px 25px rgba(6, 182, 212, 0.45) !important;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.btn-buy-key:hover {
  filter: brightness(1.15) !important;
  box-shadow: 
    inset 0 2px 3px rgba(255, 255, 255, 0.6),
    0 12px 30px rgba(6, 182, 212, 0.65),
    0 0 20px rgba(16, 185, 129, 0.5) !important;
  transform: translateY(-2px) !important;
}


/* =========================================================
   BẢNG CHÚ THÍCH TRẠNG THÁI TOOL (TOOL STATUS LEGEND)
   ========================================================= */
.tool-status-guide {
  margin-bottom: 24px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(10, 16, 42, 0.45);

border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow:  0 8px 24px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.status-guide-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.status-guide-bullet {
  color: var(--skirk-cyan-bright);
  font-size: 16px;
  line-height: 1;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.status-guide-list {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.status-guide-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
}

.status-guide-item:hover {
  transform: translateY(-1px);
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

/* Xanh: Dùng ngon */
.status-indicator-dot.green {
  background: #10b981;
  box-shadow: 0 0 8px #10b981, 0 0 16px rgba(16, 185, 129, 0.6);
}

.status-guide-item.status-green {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.12);
  color: #a7f3d0;
}

.status-guide-item.status-green strong {
  color: #34d399;
}

/* Cam: Risky/Không an toàn */
.status-indicator-dot.orange {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b, 0 0 16px rgba(245, 158, 11, 0.6);
}

.status-guide-item.status-orange {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.12);
  color: #fde68a;
}

.status-guide-item.status-orange strong {
  color: #fbbf24;
}

/* Đỏ: Không hoạt động/Đang bảo trì */
.status-indicator-dot.red {
  background: #f43f5e;
  box-shadow: 0 0 8px #f43f5e, 0 0 16px rgba(244, 63, 94, 0.6);
}

.status-guide-item.status-red {
  border-color: rgba(244, 63, 94, 0.35);
  background: rgba(244, 63, 94, 0.12);
  color: #fecdd3;
}

.status-guide-item.status-red strong {
  color: #fb7185;
}

/* Status badges with dot indicator inside cards */
.status-badge.status-green {
  color: #34d399;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-badge.status-orange {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-badge.status-red {
  color: #fb7185;
  background: rgba(244, 63, 94, 0.16);
  border: 1px solid rgba(244, 63, 94, 0.5);
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 640px) {
  .tool-status-guide {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
  }
  .status-guide-list {
    width: 100%;
    gap: 8px;
  }
}

/* =========================================================
   CHÚ THÍCH RÕ VÀ TO CHO TOOL CÓ PHÍ (CẦN MUA KEY)
   ========================================================= */
.tool-paid-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin: 12px 0 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.22) 0%, rgba(239, 68, 68, 0.16) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.7);
  border-top: 1.5px solid rgba(254, 240, 138, 0.95);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.28), ;
  color: #ffffff;
  font-size: 13.5px;
  line-height: 1.35;
  animation: pulseNotice 3.5s infinite ease-in-out;
}

@keyframes pulseNotice {
  0%, 100% {
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.28), ;
    border-color: rgba(251, 191, 36, 0.7);
  }
  50% {
    box-shadow: 0 4px 26px rgba(245, 158, 11, 0.55), ;
    border-color: rgba(253, 224, 71, 1);
  }
}

.tool-paid-notice .paid-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.8));
}

.tool-paid-notice strong {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  color: #fef08a;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

.btn-buy-key-mini {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 40%, #10b981 100%) !important;
  color: #ffffff !important;
  border-color: rgba(56, 189, 248, 0.6) !important;
  box-shadow:  0 4px 16px rgba(6, 182, 212, 0.4) !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px;
}

.btn-buy-key-mini:hover {
  filter: brightness(1.15) !important;
  box-shadow:  0 8px 22px rgba(6, 182, 212, 0.6) !important;
  transform: translateY(-2px) !important;
}

.btn-free {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.35) 0%, rgba(34, 211, 238, 0.25) 100%) !important;
  color: #ffffff !important;
  border-color: rgba(129, 140, 248, 0.6) !important;
  box-shadow:  0 4px 16px rgba(88, 101, 242, 0.3) !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px;
}

.btn-free:hover {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.55) 0%, rgba(34, 211, 238, 0.4) 100%) !important;
  border-color: #818cf8 !important;
  box-shadow:  0 8px 24px rgba(88, 101, 242, 0.5) !important;
  transform: translateY(-2px) !important;
}

/* =========================================================
   TỐI ƯU HÓA GIAO DIỆN SIÊU GỌN GÀNG TRÊN MOBILE (<= 768px & <= 480px)
   - Tối ưu chiều cao thẻ Card, bo viền, padding, font size
   - Khắc phục lỗi cắt chữ bảng giá (Alpha 30 Ngày 400.0...): xếp theo cột (Thời hạn trên, Giá dưới)
   - Cụm nút hành động (Mua Ngay, Tải Ngay, Hướng Dẫn) nằm ngang cân đối, cao 38px
   - Thẻ Chú thích cần mua key gọn nhẹ, không chiếm diện tích
   - Tối ưu trang File TP (docs.html) & Hướng dẫn (guide.html)
   ========================================================= */

@media (max-width: 768px) {
  /* Chú thích mua key siêu gọn */
  .tool-paid-notice {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    margin: 7px 0 8px;
    border-radius: 9px;
    font-size: 11.5px;
    line-height: 1.3;
  }
  .tool-paid-notice .paid-icon {
    font-size: 15px;
  }
  .tool-paid-notice strong {
    font-size: 12px;
  }

  /* Khung bảng giá siêu gọn gàng */
  .tool-pricing-box {
    margin-top: 7px;
    padding: 7px 9px;
    border-radius: 11px;
  }
  .pricing-box-head {
    margin-bottom: 5px;
    font-size: 9.5px;
    letter-spacing: 0.5px;
  }
  .pricing-box-head small {
    font-size: 9px;
  }
  .pricing-tags-grid {
    gap: 5px;
  }

  /* Xếp chồng Thời hạn và Giá để KHÔNG BAO GIỜ bị tràn hoặc mất số */
  .price-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 5px 7px;
    border-radius: 8px;
    min-height: 40px;
  }
  .price-duration {
    font-size: 10px;
    color: #cbd5e1;
    font-weight: 500;
    line-height: 1.2;
    white-space: normal;
  }
  .price-val {
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
  }
  /* Ô lẻ 1 cột (như Bản Free của Lotus) hoặc ô span 2 cột hiển thị ngang 2 bên */
  .pricing-tags-grid.single-col .price-item,
  .price-item[style*="span 2"],
  .price-item.span-2 {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  /* Feature Tags gọn gàng */
  .feature-tags {
    margin-top: 7px;
    gap: 4px;
  }
  .feature-tags .tag {
    font-size: 9.5px;
    padding: 2.5px 7px;
    border-radius: 6px;
  }

  /* Hero Banner - Cân bằng hoàn hảo 2 bên */
  .hero { 
    padding: 20px 14px 16px; 
    min-height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 18px 16px;
    border-radius: 20px;
    box-sizing: border-box;
  }
  .hero-actions-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 9px !important;
    margin-top: 14px !important;
    box-sizing: border-box !important;
  }
  .hero-actions-group .cta {
    width: 100% !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 16px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }

  /* Cụm nút hành động gọn đẹp, cân bằng */
  .tool-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
  }
  .tool-actions .download,
  .tool-actions .btn-guide,
  .tool-actions .btn-buy-key,
  .tool-actions .btn-free,
  .tool-actions .btn-buy-key-mini,
  .tool-actions .btn-locked-version {
    flex: 1 1 0;
    min-width: 0;
    width: auto !important;
    min-height: 38px !important;
    height: 38px !important;
    padding: 6px 8px !important;
    font-size: 11.5px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    letter-spacing: 0.2px;
    box-sizing: border-box !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .tool-actions.has-3-btns {
    flex-wrap: wrap !important;
  }
  .tool-actions.has-3-btns .download {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
  .tool-actions.has-3-btns .btn-guide,
  .tool-actions.has-3-btns .btn-buy-key-mini,
  .tool-actions.has-3-btns .btn-locked-version {
    flex: 1 1 calc(50% - 3px) !important;
  }

  /* Bảng chú thích trạng thái tool gọn gàng */
  .tool-status-guide {
    margin-bottom: 12px;
    padding: 8px 10px;
    border-radius: 12px;
    gap: 6px;
  }
  .guide-title {
    font-size: 10.5px;
    gap: 5px;
  }
  .status-guide-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    width: 100%;
  }
  .status-guide-list .status-badge {
    font-size: 9.5px;
    padding: 2.5px 7px;
    border-radius: 6px;
  }

  /* Trang File TP (docs.html) tối ưu gọn gàng */
  .files-wrap {
    padding: 18px 12px;
    min-height: calc(100vh - 120px);
  }
  .files-title {
    padding: 14px 12px;
    border-radius: 16px;
    margin-bottom: 16px;
  }
  .files-title h1 {
    font-size: clamp(22px, 5.5vw, 26px);
    margin: 6px 0;
    font-weight: 800;
  }
  .files-title p {
    font-size: 11.5px;
    line-height: 1.4;
  }
  .file-card {
    padding: 12px 12px;
    border-radius: 16px;
    gap: 10px;
  }
  .file-type-icon {
    width: 42px;
    height: 42px;
    font-size: 22px;
    border-radius: 12px;
  }
  .file-name {
    font-size: 13.5px;
    margin: 3px 0 5px;
  }
  .file-desc {
    font-size: 11.5px;
    line-height: 1.4;
  }
  .file-actions {
    display: flex;
    flex-direction: row;
    gap: 6px;
    margin-top: 4px;
  }
  .file-download-btn,
  .file-copy-link-btn {
    flex: 1;
    min-height: 38px;
    height: 38px;
    padding: 6px 8px;
    font-size: 11.5px;
    border-radius: 10px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* Tinh chỉnh cho điện thoại màn hình nhỏ */
  .tool-card {
    padding: 12px 10px;
    border-radius: 14px;
  }

  .tool-app-icon,
  .letter {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .letter {
    font-size: 19px;
  }
  .tool-card-header-row {
    gap: 10px;
    margin-bottom: 10px;
  }

  .tool-header-left {
    gap: 10px;
  }

  .tool-card-title-group {
    min-width: 0;
  }

  .tool-card-title-group small {
    font-size: 10px;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
  }

  .tool-card-title-group h3,
  .tool-copy h3 {
    font-size: 18px; /* Tăng cỡ chữ theo yêu cầu */
    margin: 2px 0 4px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tool-copy p {
    font-size: 11px;
    line-height: 1.38;
  }
  .tool-paid-notice {
    padding: 5px 8px;
    margin: 6px 0 7px;
    font-size: 11px;
    border-radius: 8px;
  }
  .tool-paid-notice .paid-icon {
    font-size: 14px;
  }
  .tool-paid-notice strong {
    font-size: 11.5px;
  }
  .tool-pricing-box {
    margin-top: 6px;
    padding: 6px 8px;
    border-radius: 9px;
  }
  .price-item {
    padding: 4px 6px;
    min-height: 37px;
    border-radius: 6px;
  }
  .price-duration {
    font-size: 9.5px;
  }
  .price-val {
    font-size: 12px;
  }
  .feature-tags {
    margin-top: 6px;
    gap: 3px;
  }
  .feature-tags .tag {
    font-size: 9px;
    padding: 2px 6px;
  }
  .tool-actions {
    margin-top: 8px;
    gap: 5px;
    width: 100%;
    box-sizing: border-box;
  }
  .tool-actions .download,
  .tool-actions .btn-guide,
  .tool-actions .btn-buy-key,
  .tool-actions .btn-free,
  .tool-actions .btn-buy-key-mini {
    flex: 1 1 0;
    min-width: 0;
    font-size: 11px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 5px 6px !important;
    border-radius: 9px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .file-card {
    padding: 11px 10px;
  }
  .file-type-icon {
    width: 38px;
    height: 38px;
    font-size: 20px;
    border-radius: 10px;
  }
  .file-actions {
    gap: 5px;
  }
  .file-download-btn,
  .file-copy-link-btn {
    height: 36px;
    min-height: 36px;
    font-size: 11px;
    padding: 5px 6px;
  }
}

@media (max-width: 360px) {
  .price-duration { font-size: 9px; }
  .price-val { font-size: 11px; }
  .tool-actions .download,
  .tool-actions .btn-guide,
  .tool-actions .btn-buy-key,
  .tool-actions .btn-free,
  .tool-actions .btn-buy-key-mini {
    font-size: 10px !important;
    padding: 4px 4px !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .file-download-btn,
  .file-copy-link-btn {
    font-size: 10px;
    padding: 4px 4px;
  }
}

/* =========================================================
   KHO TOOL TỪNG GAME (WIBUZSTORE)
   ========================================================= */
.shop-filter-controls {
  margin: 0 auto 32px;
  max-width: 1040px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.shop-search-wrap {
  position: relative;
  width: 100%;
  max-width: 580px;
}

.shop-search-wrap .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
  opacity: 0.7;
}

.shop-search-input {
  width: 100%;
  padding: 12px 42px 12px 44px;
  background: rgba(6, 10, 28, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  outline: none;

transition: all 0.25s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.shop-search-input:focus {
  border-color: #38bdf8;
  background: rgba(8, 14, 38, 0.95);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4), ;
}

.shop-search-input::placeholder {
  color: #94a3b8;
  font-size: 13.5px;
}

.clear-search-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #e2e8f0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  transition: all 0.2s ease;
}

.clear-search-btn:hover {
  background: rgba(239, 68, 68, 0.8);
  color: #ffffff;
}

.game-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  background: rgba(6, 10, 28, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;

box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.game-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.game-tab-btn .tab-icon {
  font-size: 15px;
}

.game-tab-btn .tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  color: #67e8f9;
  border: 1px solid rgba(103, 232, 249, 0.3);
}

.game-tab-btn:hover {
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.7);
  background: rgba(56, 189, 248, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25);
}

.game-tab-btn:hover .tab-badge {
  background: #38bdf8;
  color: #040816;
}

.game-tab-btn.active {
  color: #030712;
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  border-color: #bae6fd;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.7), 0 4px 14px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

.game-tab-btn.active .tab-badge {
  background: #030712;
  color: #38bdf8;
  border-color: rgba(0, 0, 0, 0.4);
}

/* Group Section per Game */
.game-group-section {
  margin-bottom: 48px;
  transition: opacity 0.25s ease, transform 0.25s ease;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.game-group-section.is-hidden {
  display: none !important;
}

.tool-card.is-hidden {
  display: none !important;
}

.game-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px 20px;
  background: linear-gradient(135deg, rgba(16, 24, 60, 0.6) 0%, rgba(8, 14, 38, 0.4) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-left: 4px solid #38bdf8;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.game-group-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.game-group-title-wrap > div {
  min-width: 0;
  flex: 1;
}

.game-badge-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}

.game-group-title-wrap h3 {
  margin: 0;
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.game-group-title-wrap small {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 2px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.game-group-tag {
  font-size: 12px;
  font-weight: 700;
  color: #67e8f9;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  line-height: 1.45;
  box-sizing: border-box;
}

.shop-no-results {
  text-align: center;
  padding: 48px 24px;
  background: rgba(6, 10, 28, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  margin: 20px 0;
}

.shop-no-results span {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
}

.shop-no-results h4 {
  font-size: 18px;
  color: #f1f5f9;
  margin: 0 0 6px;
}

.shop-no-results p {
  font-size: 13.5px;
  color: #94a3b8;
  margin: 0;
}

@media (max-width: 768px) {
  .tools {
    padding: 20px 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .game-filter-tabs {
    border-radius: 18px;
    gap: 8px;
    padding: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .game-tab-btn {
    font-size: 12px;
    padding: 7px 12px;
    max-width: 100%;
  }
  .game-group-header {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 14px;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .game-group-title-wrap {
    width: 100%;
    max-width: 100%;
  }
  .game-group-title-wrap h3 {
    font-size: 17px;
  }
  .game-group-tag {
    align-self: stretch;
    white-space: normal;
    font-size: 11.5px;
    padding: 6px 10px;
    border-radius: 10px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .count {
    white-space: normal;
    max-width: 100%;
    word-break: break-word;
  }
}


/* =========================================================
   OFFICIAL GAME ICONS FOR TABS & SECTION HEADERS
   ========================================================= */
.game-tab-img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
  display: inline-block;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.game-tab-btn:hover .game-tab-img,
.guide-tab-btn:hover .game-tab-img {
  transform: scale(1.12);
}

.game-tab-btn.active .game-tab-img,
.guide-tab-btn.active .game-tab-img {
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.8), 0 2px 6px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.game-tab-all-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.game-tab-btn.active .game-tab-all-icon,
.guide-tab-btn.active .game-tab-all-icon {
  background: #030712;
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.6);
}

.game-group-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 0 12px rgba(56, 189, 248, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

/* =========================================================
   KHUNG NHẬP KEY MỞ KHÓA TẢI LUÔN & CHỜ 120S
   ========================================================= */
.tx-dl-key-box {
  background: linear-gradient(135deg, rgba(16, 24, 60, 0.75) 0%, rgba(10, 16, 44, 0.85) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), ;
}

.tx-dl-key-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 8px;
  flex-wrap: wrap;
}

.tx-dl-key-badge {
  font-size: 11px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.5px;
}

.tx-dl-key-hint {
  font-size: 11px;
  color: #cbd5e1;
}

.tx-dl-key-hint strong {
  color: #fde047;
  background: rgba(253, 224, 71, 0.15);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(253, 224, 71, 0.3);
}

.tx-dl-key-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tx-dl-key-input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  background: rgba(4, 7, 24, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: #ffffff;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.tx-dl-key-input:focus {
  border-color: #38bdf8;
  background: rgba(6, 12, 34, 0.95);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4), ;
}

.tx-dl-key-input::placeholder {
  color: #64748b;
  font-size: 12.5px;
}

.tx-dl-key-btn {
  padding: 10px 16px;
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  border: 1px solid rgba(56, 189, 248, 0.6);
  border-radius: 10px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s ease;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.45);
}

.tx-dl-key-btn:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #22d3ee 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.6);
}

.tx-dl-key-msg {
  font-size: 11.5px;
  margin-top: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1.4;
}

.tx-dl-key-msg.error {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.tx-dl-key-msg.success {
  color: #86efac;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.tx-dl-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 10px 0;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
}

.tx-dl-divider::before,
.tx-dl-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tx-dl-divider span {
  padding: 0 10px;
}

/* =========================================================
   DOWNLOAD MODAL SIÊU GỌN — KHÔNG CUỘN, VỪA VẶN MOBILE
   ========================================================= */
.tx-dl-modal-compact {
  padding: 18px 18px 16px !important;
  max-width: 480px !important;
  width: min(94vw, 480px) !important;
  border-radius: 18px !important;
}

.tx-dl-modal-compact .tx-dl-modal-close {
  top: 12px !important;
  right: 12px !important;
  width: 28px !important;
  height: 28px !important;
}

.tx-dl-compact-header {
  margin-bottom: 12px;
  padding-right: 28px;
}

.tx-dl-compact-header .tx-dl-modal-title {
  font-size: 19px !important;
  margin: 0 0 4px !important;
  line-height: 1.25;
}

.tx-dl-compact-badge {
  display: inline-block;
  font-size: 11px;
  color: #38bdf8;
  font-weight: 600;
  line-height: 1.45;
}

.tx-dl-compact-badge strong {
  color: #fde047;
  background: rgba(253, 224, 71, 0.15);
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid rgba(253, 224, 71, 0.3);
}

/* Key box compact */
.tx-dl-key-box.compact {
  padding: 8px 10px !important;
  margin-bottom: 8px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

.tx-dl-key-box.compact .tx-dl-key-input {
  padding: 8px 12px !important;
  font-size: 13px !important;
  min-width: 0 !important;
  flex: 1 1 0% !important;
}

.tx-dl-key-box.compact .tx-dl-key-btn {
  padding: 8px 14px !important;
  font-size: 12.5px !important;
}

/* Divider compact */
.tx-dl-divider.compact {
  margin: 8px 0 !important;
  font-size: 10px !important;
}

/* 2 nút máy chủ xếp ngang 2 cột */
.tx-dl-group-options.compact-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin-bottom: 8px !important;
}

.tx-dl-group-card.compact {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 10px !important;
  border-radius: 10px !important;
  margin: 0 !important;
  min-height: auto !important;
}

.tx-dl-mini-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #ffffff;
  font-weight: 800;
}

.tx-dl-mini-icon.telegram {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.tx-dl-mini-icon.discord {
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
}

.tx-dl-mini-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tx-dl-mini-info strong {
  font-size: 12px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.tx-dl-mini-info small {
  font-size: 10px;
  color: #94a3b8;
  white-space: nowrap;
  line-height: 1.2;
}

.tx-dl-group-card.compact.selected .tx-dl-mini-info small {
  color: #4ade80;
  font-weight: 700;
}

/* Unlock box compact */
.tx-dl-unlock-box.compact {
  padding: 10px 12px !important;
  margin-bottom: 0 !important;
  border-radius: 12px !important;
}

.tx-dl-countdown-status.compact {
  gap: 8px !important;
  margin-bottom: 6px !important;
}

.tx-dl-countdown-status.compact .tx-dl-status-icon {
  font-size: 18px !important;
}

.tx-dl-countdown-status.compact strong {
  font-size: 12.5px !important;
}

.tx-dl-countdown-status.compact span {
  font-size: 11px !important;
}

.tx-dl-progress-wrap.compact {
  height: 5px !important;
  margin-bottom: 8px !important;
}

.tx-dl-final-btn.compact {
  padding: 9px 14px !important;
  font-size: 13px !important;
  border-radius: 10px !important;
}

@media (max-width: 360px) {
  .tx-dl-group-options.compact-grid {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   TỐI ƯU GIAO DIỆN DỄ NHÌN & XÓA THANH CUỘN TRẮNG
   ========================================================= */
.tx-dl-modal, .tx-dl-modal-compact, .tx-dl-key-box, .tx-dl-key-input-wrap {
  overflow-x: hidden !important;
}

.tx-dl-modal::-webkit-scrollbar,
.tx-dl-modal-compact::-webkit-scrollbar,
.tx-dl-key-box::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.tx-dl-key-input-wrap {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.tx-dl-key-input {
  min-width: 0 !important;
  flex: 1 1 0% !important;
}

/* =========================================================
   TẮT TOÀN BỘ HIỆU ỨNG LIQUID GLASS THEO YÊU CẦU
   ========================================================= */
*, *::before, *::after {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.tool-card {
  background: #0c1429 !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45) !important;
}

.tool-card:hover {
  background: #121e3a !important;
  border-color: rgba(56, 189, 248, 0.55) !important;
}

.hero-content {
  background: #0d1527 !important;
}

.nav {
  background: #090e1f !important;
}

.game-category-bar {
  background: #0a1020 !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
}

.game-tab-btn {
  background: #0f182e !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
}

.tx-notice-modal, .tx-dl-modal {
  background: #0b1226 !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.8) !important;
}

/* =========================================================
   TỐI ƯU TOÀN DIỆN CHO GUIDE.HTML, DOCS.HTML, TOOLS.HTML
   - Loại bỏ hoàn toàn hiệu ứng kính trong suốt (liquid glass)
   - Nền tối sắc nét, tương phản cao, dễ đọc chữ, tôn vinh hình nền Skirk
   ========================================================= */
.guide-card,
.file-card,
.gitbook-file-card {
  background: #0c1429 !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55) !important;
}

.guide-card:not(.locked):hover,
.file-card:hover {
  background: #121f3d !important;
  border-color: rgba(56, 189, 248, 0.65) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 16px rgba(56, 189, 248, 0.25) !important;
}

.guide-title,
.files-title,
.video-panel,
.doc-guide-panel,
.doc-step-card,
.no-video-body,
.unicore-error-card {
  background: #0d1527 !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5) !important;
}

.guide-filter-tabs {
  background: #0a1020 !important;
  border: 1.5px solid rgba(56, 189, 248, 0.25) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6) !important;
}

.guide-tab-btn {
  background: #0f182e !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
}

.guide-tab-btn:hover {
  background: #162447 !important;
  border-color: rgba(56, 189, 248, 0.6) !important;
}

.guide-tab-btn.active {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%) !important;
  color: #030712 !important;
}

.files-search-box input,
.tools-search-box input,
.shop-search-input {
  background: #090f20 !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
}

.file-pill,
.filter-btn {
  background: #0f182e !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  color: #cbd5e1 !important;
}

.file-pill:hover,
.file-pill.active,
.filter-btn:hover {
  background: #162447 !important;
  border-color: rgba(56, 189, 248, 0.6) !important;
  color: #ffffff !important;
}

.filter-btn.active {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%) !important;
  color: #030712 !important;
  border-color: #bae6fd !important;
  font-weight: 800 !important;
}


/* ═══ SAFE BADGE - TOP RIGHT CORNER ═══ */
.safe-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.35);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  z-index: 2;
  backdrop-filter: blur(6px);
  text-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
  animation: safeBadgePulse 2.5s ease-in-out infinite;
}

@keyframes safeBadgePulse {
  0%, 100% { box-shadow: 0 0 6px rgba(34, 197, 94, 0.2); }
  50% { box-shadow: 0 0 14px rgba(34, 197, 94, 0.45); }
}

/* =========================================================
   FLOATING SUPPORT WIDGET (NÚT HỖ TRỢ BẤM BUNG TELEGRAM & DISCORD)
   ========================================================= */
.floating-support-widget {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.floating-support-widget * {
  pointer-events: auto;
}

/* Nút trigger Hỗ Trợ chính */
.floating-support-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2.5px solid #ef4444;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #0284c7 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 0 3.5px rgba(239, 68, 68, 0.45), 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 28px rgba(239, 68, 68, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
  outline: none;
  padding: 0;
}

.floating-support-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 0 0 4.5px rgba(255, 68, 68, 0.75), 0 14px 36px rgba(239, 68, 68, 0.8), 0 0 35px rgba(239, 68, 68, 0.95);
  border-color: #ff3b30;
}

/* Biểu tượng Open (Headset) & Close (×) */
.support-icon-open,
.support-icon-close {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.support-icon-open svg,
.support-icon-close svg {
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6));
}

.support-icon-open {
  transform: scale(1) rotate(0deg);
  opacity: 1;
}

.support-icon-close {
  transform: scale(0.3) rotate(90deg);
  opacity: 0;
}

/* Khi Widget được kích hoạt (Active / Opened) */
.floating-support-widget.active .floating-support-btn {
  background: linear-gradient(135deg, #b91c1c 0%, #dc2626 50%, #ef4444 100%);
  box-shadow: 0 0 0 3.5px rgba(239, 68, 68, 0.6), 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 28px rgba(239, 68, 68, 0.65);
  border-color: #ffffff;
}

.floating-support-widget.active .support-icon-open {
  transform: scale(0.3) rotate(-90deg);
  opacity: 0;
}

.floating-support-widget.active .support-icon-close {
  transform: scale(1) rotate(0deg);
  opacity: 1;
}

/* Menu bung ra phía trên */
.floating-support-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.floating-support-widget.active .floating-support-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Từng nút trong menu (Telegram & Discord) */
.support-item-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  color: #ffffff !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.support-item-btn:hover {
  transform: translateX(-4px);
}

/* Nhãn chữ (Label Pill) */
.support-item-label {
  background: rgba(10, 16, 40, 0.94);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.support-item-btn.telegram:hover .support-item-label {
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 14px rgba(56, 189, 248, 0.3);
}

.support-item-btn.discord:hover .support-item-label {
  color: #c7d2fe;
  border-color: rgba(129, 140, 248, 0.6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 14px rgba(129, 140, 248, 0.3);
}

/* Khối biểu tượng tròn (to 60px bằng nút Hỗ Trợ) */
.support-item-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.support-item-icon svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

.support-item-btn.telegram .support-item-icon {
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 24px rgba(34, 158, 217, 0.55), 0 0 16px rgba(42, 171, 238, 0.4);
}

.support-item-btn.discord .support-item-icon {
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.55), 0 0 16px rgba(88, 101, 242, 0.4);
}

.support-item-btn:hover .support-item-icon {
  transform: scale(1.08);
  border-color: #ffffff;
}

.support-item-btn.telegram:hover .support-item-icon {
  box-shadow: 0 10px 28px rgba(34, 158, 217, 0.75), 0 0 24px rgba(42, 171, 238, 0.65);
}

.support-item-btn.discord:hover .support-item-icon {
  box-shadow: 0 10px 28px rgba(88, 101, 242, 0.8), 0 0 24px rgba(88, 101, 242, 0.65);
}

/* Tooltip trên nút Hỗ Trợ khi chưa mở */
.floating-support-btn .support-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: rgba(10, 16, 40, 0.94);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.22s ease;
  backdrop-filter: blur(8px);
}

.floating-support-btn .support-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(10, 16, 40, 0.94);
}

.floating-support-btn:hover .support-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.floating-support-widget.active .floating-support-btn .support-tooltip {
  display: none !important;
}

/* Hiệu ứng pulse sóng nhẹ nhàng của nút chính */
.support-pulse-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2.5px solid #ef4444;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.75);
  opacity: 0;
  animation: supportPulse 2.6s infinite cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.floating-support-widget.active .support-pulse-ring {
  display: none !important;
}

@keyframes supportPulse {
  0% { transform: scale(0.95); opacity: 0.85; }
  50% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Responsive trên Mobile */
@media (max-width: 640px) {
  .floating-support-widget {
    right: 16px;
    bottom: 18px;
    gap: 10px;
  }
  .floating-support-btn {
    width: 54px;
    height: 54px;
  }
  .floating-support-btn svg {
    transform: scale(0.95);
  }
  .support-item-icon {
    width: 54px;
    height: 54px;
  }
  .support-item-icon svg {
    transform: scale(0.9);
  }
  .support-item-label {
    font-size: 12px;
    padding: 6px 12px;
  }
  .floating-support-btn .support-tooltip {
    display: none;
  }
}


/* =========================================================
   HALLOWEEN 2026 THEME — TUNDENXIN SPOOKY NIGHT EDITION
   - Mạng nhện 2 góc & Nhện đung đưa tương tác
   - Nón phù thủy tím viền cam trên Logo Chibi Skirk
   - Quả bí ngô Jack-o'-lantern trên Nút Hỗ Trợ
   - Viền dạ quang & hiệu ứng Hover ma mị ma quái
   - Nền tối nguyên bản (Dark Void) giữ trọn vẹn
   ========================================================= */

/* 1. Nón phù thủy trên Logo Thương hiệu */
.brand {
  position: relative !important;
}

.brand-witch-hat {
  position: absolute;
  top: -12px;
  left: 6px;
  width: 42px;
  height: 38px;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 10px rgba(249, 115, 22, 0.7));
  animation: witchHatFloat 3.2s ease-in-out infinite alternate;
  transform-origin: bottom center;
}

.mobile-drawer-brand {
  position: relative !important;
}

.mobile-drawer-brand .brand-witch-hat {
  top: -8px;
  left: 4px;
  width: 34px;
  height: 30px;
}

@keyframes witchHatFloat {
  0% { transform: translateY(0) rotate(-14deg); }
  50% { transform: translateY(-3px) rotate(-11deg) scale(1.03); }
  100% { transform: translateY(0) rotate(-14deg); }
}

.brand:hover .brand-witch-hat {
  animation: witchHatWiggle 0.65s ease;
}

@keyframes witchHatWiggle {
  0%, 100% { transform: rotate(-14deg) scale(1); }
  25% { transform: rotate(-22deg) scale(1.12); }
  50% { transform: rotate(-6deg) scale(1.1); }
  75% { transform: rotate(-18deg) scale(1.05); }
}

/* 2. Mạng nhện 2 góc màn hình (Cobwebs) */
.halloween-decorations {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 995;
  overflow: hidden;
}

.halloween-cobweb {
  position: fixed;
  top: 0;
  width: 120px;
  height: 120px;
  pointer-events: none;
}

.halloween-cobweb.cobweb-left {
  left: 0;
}

.halloween-cobweb.cobweb-right {
  right: 0;
}

.cobweb-svg {
  filter: drop-shadow(0 0 6px rgba(192, 132, 252, 0.35));
  opacity: 0.78;
  transition: opacity 0.3s ease;
}

/* 3. Sợi tơ & Con nhện treo đung đưa */
.spider-thread {
  position: absolute;
  top: 0;
  left: 52px;
  width: 1px;
  height: 70px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(192, 132, 252, 0.35) 100%);
  transform-origin: top center;
  animation: threadSwing 4s ease-in-out infinite alternate;
}

.hanging-spider {
  position: absolute;
  top: 68px;
  left: 42px;
  width: 22px;
  height: 22px;
  pointer-events: auto;
  cursor: pointer;
  transform-origin: 10px -68px;
  animation: spiderSwing 4s ease-in-out infinite alternate;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 8px rgba(249, 115, 22, 0.5));
  transition: transform 0.25s ease;
}

.hanging-spider:hover {
  transform: scale(1.3) rotate(15deg);
  filter: drop-shadow(0 0 14px rgba(249, 115, 22, 0.95)) drop-shadow(0 0 20px rgba(168, 85, 247, 0.8));
}

.hanging-spider.spooked {
  animation: spiderJump 0.85s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes threadSwing {
  0% { transform: rotate(-5deg); }
  100% { transform: rotate(5deg); }
}

@keyframes spiderSwing {
  0% { transform: rotate(-6deg); }
  100% { transform: rotate(6deg); }
}

@keyframes spiderJump {
  0% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-32px) scale(1.3) rotate(360deg); }
  75% { transform: translateY(14px) scale(0.95); }
  100% { transform: translateY(0) scale(1); }
}

/* 4. Bí ngô trên Nút Hỗ Trợ & Pulse ma mị */
.support-halloween-badge {
  position: absolute;
  top: -8px;
  right: -5px;
  font-size: 22px;
  line-height: 1;
  pointer-events: none;
  z-index: 12;
  filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.95)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
  animation: pumpkinBob 2.6s ease-in-out infinite alternate;
}

@keyframes pumpkinBob {
  0% { transform: translateY(0) rotate(-6deg) scale(1); }
  50% { transform: translateY(-3px) rotate(4deg) scale(1.08); filter: drop-shadow(0 0 14px rgba(249, 115, 22, 1)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9)); }
  100% { transform: translateY(0) rotate(-6deg) scale(1); }
}

body:not(.halloween-off) .support-pulse-ring {
  border-color: #f97316 !important;
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.85), 0 0 28px rgba(239, 68, 68, 0.5) !important;
}

/* 5. Spooky Halloween Glow trên Cards khi Hover */
body:not(.halloween-off) .tool-card:hover {
  border-color: rgba(249, 115, 22, 0.5) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.75), 0 0 24px rgba(249, 115, 22, 0.25), 0 0 40px rgba(147, 51, 234, 0.18) !important;
}

/* 6. Nút Bật/Tắt Halloween ở Footer */
.footer-snow-btn {
  background: rgba(249, 115, 22, 0.14) !important;
  border: 1px solid rgba(249, 115, 22, 0.45) !important;
  color: #fed7aa !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  transition: all 0.25s ease !important;
}

.footer-snow-btn:hover,
.footer-snow-btn.active {
  background: rgba(249, 115, 22, 0.28) !important;
  border-color: rgba(251, 146, 60, 0.85) !important;
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.45) !important;
  color: #ffffff !important;
}

/* 7. Dòng Thông báo Halloween lấp lánh & Eyebrow */
.halloween-sparkle {
  animation: hwSparkle 3s ease-in-out infinite;
}

@keyframes hwSparkle {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(249, 115, 22, 0.45)); }
  50% { filter: drop-shadow(0 0 12px rgba(249, 115, 22, 0.9)) drop-shadow(0 0 20px rgba(168, 85, 247, 0.65)); }
}

/* 8. Ẩn trang trí khi tắt chế độ Halloween */
body.halloween-off .halloween-decorations,
body.halloween-off .brand-witch-hat,
body.halloween-off .support-halloween-badge {
  display: none !important;
}

/* Responsive Halloween trên thiết bị nhỏ */
@media (max-width: 768px) {
  .halloween-cobweb {
    width: 80px;
    height: 80px;
  }
  .halloween-cobweb svg {
    width: 80px;
    height: 80px;
  }
  .spider-thread {
    left: 36px;
    height: 48px;
  }
  .hanging-spider {
    top: 46px;
    left: 28px;
    transform-origin: 8px -46px;
  }
  .hanging-spider svg {
    width: 18px;
    height: 18px;
  }
  .brand-witch-hat {
    top: -8px;
    left: 2px;
    width: 32px;
    height: 28px;
  }
  .support-halloween-badge {
    top: -6px;
    right: -4px;
    font-size: 19px;
  }
}


/* 9. Ảnh nền Halloween huyền bí (Halloween Background) */
body:not(.halloween-off) .skirk-bg-fixed {
  background-image: url('../assets/images/backgrounds/halloween-bg.jpg') !important;
  background-position: center center !important;
  background-size: cover !important;
}

body:not(.halloween-off) .skirk-bg-overlay {
  background: 
    radial-gradient(ellipse at 50% 40%, transparent 0%, rgba(5, 7, 24, 0.15) 50%, rgba(4, 6, 20, 0.45) 100%),
    linear-gradient(180deg, rgba(5, 7, 20, 0.1) 0%, rgba(5, 7, 20, 0.25) 50%, rgba(4, 6, 20, 0.5) 100%) !important;
}

/* Đốm bụi sao chuyển sang màu bí ngô & tím phù thủy */
body:not(.halloween-off) .gold-dust {
  opacity: 0.35;
  background-image: 
    radial-gradient(circle, rgba(249, 115, 22, 0.85) 0 1.2px, transparent 1.8px),
    radial-gradient(circle, rgba(168, 85, 247, 0.8) 0 1.2px, transparent 1.8px) !important;
}

@media (max-width: 768px) {
  body:not(.halloween-off) .skirk-bg-fixed {
    background-image: url('../assets/images/backgrounds/halloween-mobile-bg.jpg') !important;
    background-position: center top !important;
  }
}


/* =========================================================
   10. GIAO DIỆN HALLOWEEN TOÀN DIỆN CHO CÁC THẺ TOOL & NÚT BẤM
   - Thẻ Tool, Card Hướng Dẫn & Card File TP mang tông ma mị
   - Nút Tải Ngay chuyển thành dải màu Cam Bí Ngô rực rỡ
   - Khung Lưu Ý / Miễn Phí viền dạ quang ánh lửa Halloween
   - Khung tìm kiếm & Bộ lọc trò chơi đồng bộ phong cách
   ========================================================= */

/* Nền thẻ Tool ma mị gothic */
body:not(.halloween-off) .tool-card,
body:not(.halloween-off) .utility-card,
body:not(.halloween-off) .guide-card,
body:not(.halloween-off) .file-card {
  background: linear-gradient(160deg, rgba(22, 13, 38, 0.94) 0%, rgba(13, 9, 26, 0.96) 60%, rgba(24, 12, 38, 0.94) 100%) !important;
  border: 1.5px solid rgba(249, 115, 22, 0.35) !important;
  border-top: 1.5px solid rgba(251, 146, 60, 0.65) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 18px rgba(249, 115, 22, 0.12), 0 0 28px rgba(168, 85, 247, 0.1) !important;
}

body:not(.halloween-off) .tool-card:hover,
body:not(.halloween-off) .utility-card:hover,
body:not(.halloween-off) .guide-card:hover,
body:not(.halloween-off) .file-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(160deg, rgba(32, 18, 54, 0.96) 0%, rgba(18, 12, 36, 0.98) 60%, rgba(36, 16, 56, 0.96) 100%) !important;
  border-color: rgba(251, 146, 60, 0.85) !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.8), 0 0 28px rgba(249, 115, 22, 0.38), 0 0 45px rgba(168, 85, 247, 0.25) !important;
}

/* Hiệu ứng mạng nhện phát sáng góc thẻ Tool */
body:not(.halloween-off) .tool-card::before,
body:not(.halloween-off) .utility-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 70px;
  height: 70px;
  background-image: radial-gradient(circle at top right, rgba(249, 115, 22, 0.22), transparent 70%);
  pointer-events: none;
  border-radius: 0 20px 0 0;
}

/* Icon App phát sáng viền cam lửa */
body:not(.halloween-off) .tool-app-icon {
  border: 1.5px solid rgba(249, 115, 22, 0.6) !important;
  border-top: 1.5px solid #fed7aa !important;
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.35), 0 4px 12px rgba(0, 0, 0, 0.6) !important;
}

body:not(.halloween-off) .tool-card:hover .tool-app-icon {
  border-color: rgba(251, 146, 60, 0.9) !important;
  box-shadow: 0 0 24px rgba(249, 115, 22, 0.6), 0 0 35px rgba(168, 85, 247, 0.4) !important;
  transform: scale(1.05) rotate(2deg);
}

/* Khối chữ cái máy ảo VPhone */
body:not(.halloween-off) .letter {
  border-color: rgba(249, 115, 22, 0.6) !important;
  background: linear-gradient(145deg, rgba(88, 28, 135, 0.85) 0%, rgba(194, 65, 12, 0.85) 100%) !important;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.35) !important;
}

/* Nút Tải Ngay / Mua Key — Lửa Cam Halloween rực rỡ */
body:not(.halloween-off) .btn-buy.download,
body:not(.halloween-off) .js-mobile-dl-btn,
body:not(.halloween-off) .tool-actions .download,
body:not(.halloween-off) .utility-card > .download,
body:not(.halloween-off) .btn-buy-key {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 50%, #fb923c 100%) !important;
  border: 1px solid rgba(254, 215, 170, 0.6) !important;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.45) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
  font-weight: 700 !important;
}

body:not(.halloween-off) .btn-buy.download:hover,
body:not(.halloween-off) .js-mobile-dl-btn:hover,
body:not(.halloween-off) .tool-actions .download:hover,
body:not(.halloween-off) .utility-card > .download:hover,
body:not(.halloween-off) .btn-buy-key:hover {
  background: linear-gradient(135deg, #f97316 0%, #fb923c 50%, #fde047 100%) !important;
  box-shadow: 0 6px 26px rgba(249, 115, 22, 0.75), 0 0 20px rgba(251, 146, 60, 0.6) !important;
  transform: translateY(-2px);
}

/* Nút Bản Cũ / Bản Tiêu Chuẩn */
body:not(.halloween-off) .btn-old-ver {
  background: rgba(28, 16, 44, 0.8) !important;
  border: 1px dashed rgba(249, 115, 22, 0.5) !important;
  color: #fed7aa !important;
}

body:not(.halloween-off) .btn-old-ver:hover {
  background: rgba(45, 24, 70, 0.95) !important;
  border-color: rgba(251, 146, 60, 0.85) !important;
  color: #ffffff !important;
}

/* Nút Xem Hướng Dẫn chi tiết */
body:not(.halloween-off) .btn-guide {
  background: rgba(36, 20, 58, 0.85) !important;
  border: 1px solid rgba(168, 85, 247, 0.45) !important;
  color: #e9d5ff !important;
}

body:not(.halloween-off) .btn-guide:hover {
  background: rgba(56, 28, 92, 0.95) !important;
  border-color: rgba(192, 132, 252, 0.8) !important;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.5) !important;
  color: #ffffff !important;
}

/* Khung Lưu Ý / Miễn Phí trong thẻ Tool */
body:not(.halloween-off) .tool-paid-notice {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.22) 0%, rgba(147, 51, 234, 0.18) 100%) !important;
  border: 1.5px solid rgba(251, 146, 60, 0.7) !important;
  border-top: 1.5px solid rgba(254, 240, 138, 0.95) !important;
  color: #fef08a !important;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.35) !important;
}

/* Các nhãn tính năng (Tags) */
body:not(.halloween-off) .feature-tags .tag {
  background: rgba(36, 18, 58, 0.75) !important;
  border: 1px solid rgba(249, 115, 22, 0.35) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
  color: #fed7aa !important;
}

/* Bảng giá Key */
body:not(.halloween-off) .tool-pricing-box {
  background: rgba(22, 13, 38, 0.7) !important;
  border-color: rgba(249, 115, 22, 0.35) !important;
}

body:not(.halloween-off) .price-item {
  background: rgba(36, 20, 58, 0.65) !important;
  border-color: rgba(249, 115, 22, 0.25) !important;
}

body:not(.halloween-off) .price-val {
  color: #fde047 !important;
  text-shadow: 0 0 8px rgba(253, 224, 71, 0.5) !important;
}

/* Khung Bộ Lọc & Tìm Kiếm Game */
body:not(.halloween-off) .hero-content {
  background: linear-gradient(160deg, rgba(18, 11, 34, 0.94) 0%, rgba(10, 8, 22, 0.96) 100%) !important;
  border: 1px solid rgba(249, 115, 22, 0.35) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 24px rgba(249, 115, 22, 0.15) !important;
}

body:not(.halloween-off) .shop-filter-controls,
body:not(.halloween-off) .utility-filter-bar {
  background: rgba(18, 11, 34, 0.88) !important;
  border: 1px solid rgba(249, 115, 22, 0.3) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 16px rgba(249, 115, 22, 0.12) !important;
}

body:not(.halloween-off) .shop-search-input,
body:not(.halloween-off) #toolSearchInput {
  background: rgba(26, 15, 46, 0.85) !important;
  border-color: rgba(249, 115, 22, 0.35) !important;
  color: #ffffff !important;
}

body:not(.halloween-off) .shop-search-input:focus,
body:not(.halloween-off) #toolSearchInput:focus {
  border-color: rgba(251, 146, 60, 0.85) !important;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.35) !important;
}

body:not(.halloween-off) .shop-filter-btn,
body:not(.halloween-off) .filter-btn {
  background: rgba(24, 14, 42, 0.85) !important;
  border: 1px solid rgba(249, 115, 22, 0.28) !important;
  color: #fed7aa !important;
}

body:not(.halloween-off) .shop-filter-btn.active,
body:not(.halloween-off) .filter-btn.active {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.45) 0%, rgba(147, 51, 234, 0.45) 100%) !important;
  border-color: #f97316 !important;
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.45) !important;
  color: #ffffff !important;
}

/* Đèn tín hiệu trạng thái xanh -> cam ấm Halloween */
body:not(.halloween-off) .status-indicator-dot.green {
  background: #f97316 !important;
  box-shadow: 0 0 10px #f97316 !important;
}


/* =========================================================
   11. LOGO BANNER TUNDENXIN
   - Giữ nguyên Logo mặc định nguyên bản của website
   - Ẩn nón phù thủy phụ trợ
   ========================================================= */
.brand-witch-hat {
  display: none !important;
}
