
.video-wrapper {  position: fixed;  top: 0; left: 0;  width: 100%; height: 100%; overflow: hidden;  z-index: -3;}
.bg-video { width: 100%; height: 100%; object-fit: cover; }
.particle-layer {  position: absolute;  top: 0; left: 0;  width: 200%; height: 100%;  background: url('src/assets/particle-texture.png') repeat;  opacity: 0.05;  animation: drift 20s linear infinite;  z-index: 0; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.game-ui-background::before {
  content: '';  position: absolute;  top: 0; left: 0;  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;  z-index: -1;
}

.fade-in-body {
  opacity: 0;
  animation: fadeInBody 1.2s ease-in-out forwards;
}
@keyframes fadeInBody { to { opacity: 1; } }

/* Fade-in Elements (Navbar, Search, Grid) */
.fade-in {
  opacity: 0;
  animation: fadeInElement 2s ease-in-out forwards;
}
@keyframes fadeInElement { to { opacity: 1; } }

/* ===== Navbar ===== */
.navbar {
  display: flex;  justify-content: center;  align-items: center;  background: rgba(0, 0, 0, 0);
  padding: 10px 40px;  position: sticky;  top: 0;  z-index: 10;
}
/* Menu */
.nav-menu {  list-style: none;  display: flex;  gap: 20px;  margin: 0;  padding: 0; }
.nav-link {
  display: block;  padding: 6px 20px;  border: 2px solid white;  background-color: #0f0f0f85;  border-radius: 8px;
  color: rgba(236, 228, 228, 0.87);  text-decoration: none;  font-family: 'Orbitron', sans-serif;  font-weight: bold;
  font-size: 15px;  text-transform: uppercase;  transition: background 0.3s, transform 0.2s;
}
.nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}
/* HOME nằm giữa */
.nav-home {  display: flex;  justify-content: center;  align-items: center;  flex: 0 0 auto;  margin: 0 50px; }
.home-button {
  position: relative;  display: inline-block;  width: 200px;  height: 45px;  color: #ffffff;  font-family: 'Orbitron', sans-serif;
  font-weight: bold;  font-size: 35px; letter-spacing: 4px;  text-decoration: none;  text-align: center;  line-height: 45px;
  background: rgba(0, 10, 30, 0.932);  border: 2px solid #00f7ff;  border-radius: 16px;
  box-shadow:
    0 0 10px #d0ff00,
    0 0 20px #00f7ff inset,
    0 0 30px rgba(0, 255, 255, 0.4) inset;
  overflow: hidden;  transition: transform 0.25s ease, box-shadow 0.3s ease;  animation: neonPulse 2.5s infinite ease-in-out;
}
/* Viền hologram ngoài */
.home-button::before,
.home-button::after {
  content: '';  position: absolute;
  width: calc(100% + 16px);  height: calc(100% + 16px);
  border: 2px solid #00f7ff;  opacity: 0.6;  border-radius: 10px;  pointer-events: none;
}

.home-button::before {
  top: -10px;
  left: -10px;
  clip-path: polygon(0 0, 100% 0, 100% 25%, 95% 25%, 95% 75%, 100% 75%, 100% 100%, 0 100%, 0 75%, 5% 75%, 5% 25%, 0 25%);
}

.home-button::after {
  bottom: -10px;
  right: -10px;
  clip-path: polygon(0 0, 100% 0, 100% 25%, 95% 25%, 95% 75%, 100% 75%, 100% 100%, 0 100%, 0 75%, 5% 75%, 5% 25%, 0 25%);
  transform: scaleX(-1);
}

/* Hover sáng mạnh hơn */
.home-button:hover {
  transform: scale(1.08);
  box-shadow:
    0 0 20px #00f7ff,
    0 0 40px rgba(0, 255, 255, 0.8) inset,
    0 0 60px rgba(0, 255, 255, 0.6) inset;
  text-shadow: 0 0 12px #00f7ff, 0 0 25px #00f7ff;
}

/* Neon pulse */
@keyframes neonPulse {
  0%, 100% {
    box-shadow: 0 0 12px #806bfa, 0 0 25px rgba(0, 255, 255, 0.5) inset;
  }
  50% {
    box-shadow: 0 0 20px #00f7ff, 0 0 45px rgba(0, 255, 255, 0.8) inset;
  }
}

/* Scanline hologram */
.scanline {
  position: absolute;  top: 0;  left: -100%;  width: 100%;  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(39, 231, 231, 0.473), transparent);
  transform: skewX(-20deg);  animation: scanline 2.5s linear infinite;
}
@keyframes scanline {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* Thanh tìm kiếm trên navbar */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.rating-filter {
  padding: 6px 10px;  border: 2px solid #00f7ff;  border-radius: 6px;  
  background: rgba(0, 10, 30, 0.6);  color: #fff;  font-family: 'Orbitron', sans-serif;
}
.search-bar-nav {  position: relative;  display: flex;  align-items: center;  }
.search-bar-nav input {
  padding: 8px 35px 8px 12px;  border: 2px solid #00f7ff;  border-radius: 6px;  outline: none;
  background: rgba(0, 10, 30, 0.507);  color: #fff;  font-family: 'Orbitron', sans-serif;  width: 180px;
  transition: width 0.4s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.search-bar-nav input:focus {  width: 280px;  box-shadow: 0 0 12px #00f7ff;  border-color: #00f7ff;}
.search-bar-nav i { position: absolute;  right: 10px;  color: #00f7ff;  opacity: 0.7;  pointer-events: none; }

/* No result */
.no-result {
  text-align: center;  margin-top: 50px;  color: #00f7ff;  font-family: 'Orbitron', sans-serif;
  font-size: 20px;  opacity: 0;  animation: fadeIn 0.5s forwards;
}
.no-result i {  font-size: 40px;  opacity: 0.4; }
@keyframes fadeIn {
  to { opacity: 1; }
}

/* Highlight từ khóa */
.highlight {  background: rgba(0, 247, 255, 0.3);  color: #00f7ff;  font-weight: bold;  padding: 0 2px;  border-radius: 3px;}
/* thong bao  */
#toast {
  position: fixed;  bottom: 30px;  right: 30px;  background: rgb(3, 34, 34);  border: 1px solid #0ff;
  max-width:fit-content;  padding: 12px 24px;  border-radius: 10px;  font-family: 'Orbitron', sans-serif;  font-size: 18px;
  z-index: 9999;  opacity: 0;  pointer-events: none;  transform: translateX(100%);  transition: all 0.4s ease;}

/* Khi toast hiển thị */
#toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
/* ===== Search ===== */
.search-container { display: flex; justify-content: center; margin: 20px 0; }
.search-bar { position: relative; width: 50%; max-width: 500px; }
.search-bar input {
  width: 100%; padding: 10px 40px 10px 15px; font-size: 16px;
  border: 2px solid transparent; border-radius: 6px;
  background: rgba(255, 255, 255, 0.1); color: #fff;
  transition: border 0.3s, box-shadow 0.3s;
}
.search-bar input:focus {
  border: 2px solid #3b82f6;
  box-shadow: 0 0 8px rgba(59,130,246,0.7);
  outline: none;
}
.search-bar i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #94a3b8; }

/* ===== Grid 6 Cột ===== */
.column-grid {
  display: grid;  grid-template-columns: repeat(6, 1fr);  gap: 20px;
  padding: 20px;  align-items: start;  z-index: 2;  position: relative;
}
.category-column { display: flex; flex-direction: column; align-items: center; }
.category-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;  font-weight: bold;  color: #0f0f0f;  text-align: center;
  margin-bottom: 5px;  letter-spacing: 2px;  text-transform: uppercase;
  text-shadow: 0 0 6px #00f7ff, 0 0 12px rgba(0, 247, 255, 0.6);
  position: relative;  transition: all 0.3s ease-in-out;
}
.category-title:hover {  opacity: 1;  color: #0ff;  text-shadow: 0 0 8px #0ff;}

/* Thêm viền neon dưới tiêu đề */
.category-title::after {  content: '';  position: absolute;  bottom: -6px;  left: 50%;  transform: translateX(-50%);  width: 50%;  height: 2px;
  background: linear-gradient(90deg, transparent, #00f7ff, transparent);  box-shadow: 0 0 6px #00f7ff; 
}
.weapon-card {
  background: rgba(27, 43, 47, 0.85);  border-radius: 8px;  border: 2px solid #00f7ff;  padding: 12px;  width: 280px;
  margin-bottom: 15px;  color: #fff;  box-shadow: 0 4px 10px rgba(0,0,0,0.5);  cursor: pointer;  backdrop-filter: blur(4px);
  opacity: 0;  transform: translateY(30px);  animation: slideUpFade 0.6s ease-out forwards; will-change: transform, opacity;}
.weapon-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 6px 14px rgba(0,0,0,0.6); }
@keyframes slideUpFade {
  to { opacity: 1; transform: translateY(0); }
}

/* Header */
.card-header { display: flex; justify-content: space-between; align-items: center; font-size: 11px; margin-bottom: 6px; flex-wrap: wrap; }
.tag { padding: 4px 6px; border-radius: 4px; font-weight: bold; font-family: 'Orbitron', sans-serif; font-size: 11px; text-transform: uppercase; }
.tag-category { background: #5dbf40; color: #0f172a; }
.tag-weapon { background: #e13d4c; }
.rating { font-family: 'Orbitron', sans-serif; font-size: 12px; color: #fff; font-weight: bold; }
.stars { color: #f5a623; margin-left: 3px; font-size: 16px; }
.copies {font-family: 'Orbitron', sans-serif; font-size: 8px; opacity: 0.6; }

/* Title Tag  ten vu khi chạy */
.card-tags { display: flex; flex-direction: column; align-items: center; margin-bottom: 8px; }
.tag-fixed {
  font-family: 'Orbitron', sans-serif;  font-size: 12px;           text-transform: uppercase;  font-weight: bold;  text-align: center;  letter-spacing: 1px;
  color: #fff;  background: rgba(0, 247, 255, 0.15);  border: 1px solid #00f7ff;  border-radius: 4px;  padding: 4px 8px;
  display: inline-block;  white-space: nowrap;  overflow: hidden;  text-overflow: ellipsis;  width: 100%;  max-width: 90%;  }
.weapon-card:hover .tag-title span { display: inline-block; animation: marquee 4s linear infinite; }
@keyframes marquee { from { transform: translateX(100%); } to { transform: translateX(-100%); } }

/* Image & Overlay */
.card-image { position: relative;  text-align: center; padding: 10px; margin-bottom: 8px; }
.card-image img { max-width: 85%; max-height: 110px; object-fit: contain; }
.byuser-overlay {
  position: absolute; top: 6px; right: 8px;
  font-size: 10px; font-weight: bold;
  font-family: 'Orbitron', sans-serif;
  opacity: 0.6;
  color: #fff;
  padding: 2px 6px; border-radius: 4px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.mode-tag {
  font-family: 'Orbitron', sans-serif;  position: absolute; bottom: 6px; right: -15%;
  transform: translateX(-50%);  display: inline-block;  padding: 2px 8px;
  font-size: 10px; font-weight: bold;  border-radius: 4px;  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), inset 0 0 4px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.mode-warfare { background: linear-gradient(145deg, #ee1111, #680101); }
.mode-operations { background: linear-gradient(145deg, #4CAF50, #2e7d32); }
.mode-blackhawk { background: linear-gradient(145deg, #E67E22, #c25b0e); }
.card-code { display: flex; justify-content: space-between; align-items: center; font-family: monospace;font-family: 'Orbitron', sans-serif; font-size: 9px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 6px; }
.code-text { cursor: pointer; display: flex; font-size: 12px; color: #d49fff; align-items: center; gap: 5px; }
.toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.8); color: #fff; padding: 10px 20px;
  border-radius: 8px; font-size: 14px; opacity: 0; transition: opacity 0.3s;
}
.toast.show { opacity: 1; }

/* Modal */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; justify-content: center; align-items: center; }
.modal-content {
  position: relative;  z-index: 2;  background-color: #0b1522d0;
  background-image:
    repeating-linear-gradient(0deg, rgba(0,255,255,0.025) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(90deg, rgba(0,255,255,0.025) 0 1px, transparent 1px 20px),
    radial-gradient(circle at center, rgba(0, 255, 255, 0.03) 0%, transparent 70%);
  color: #e5faff;  font-family: 'Orbitron', sans-serif;  border: 1px solid rgba(0, 255, 255, 0.2);  border-radius: 12px;  box-shadow: 0 0 25px rgba(0, 255, 255, 0.15);
  width: 900px;  height: 750px;  max-width: 95%;  padding: 30px;  display: flex;
  flex-direction: column;  justify-content: center;  align-items: center;  transform: translateY(50px) scale(0.9);
  opacity: 0;  animation: slideUpZoom 0.4s ease forwards;  overflow: hidden;
}

.modal-content::after {  content: "";  position: absolute;  top: 0;  left: -75%;  width: 50%;  height: 100%;  background: linear-gradient(    120deg,    transparent,    rgba(0, 255, 255, 0.08),    transparent  );  transform: skewX(-25deg);  animation: scanner 3s infinite; }
@keyframes scanner {
  0% { left: -75%; }
  50% { left: 125%; }
  100% { left: 125%; }
}
@keyframes borderRun {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 200% 0;
  }
} */
.modal-content::before {  content: "";  position: absolute;  overflow: visible;  top: -50%;  left: -50%;  width: 200%;  height: 200%;  background: radial-gradient(circle, rgba(0,255,255,0.05) 20%, transparent 80%);  animation: radarSweep 6s linear infinite;  border-radius: 50%;  z-index: 0; }
@keyframes radarSweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes slideUpZoom { to { transform: translateY(0) scale(1); opacity: 1; } }
.modal-image img { max-width: 85%; max-height: 280px; margin-bottom: 20px; border-radius: 8px; }
.modal-title {  font-size: 24px;  color: #00ff00;  text-transform: uppercase;  letter-spacing: 2px;  margin-bottom: 12px;  text-shadow: 0 0 4px #0f0; }
.modal-desc .highlight {  background: rgba(0, 255, 255, 0.1);  color: #0ff;  padding: 3px 8px;  border-radius: 6px;  font-weight: bold;  box-shadow: 0 0 6px rgba(0, 255, 255, 0.15); }
.modal-desc p {  width: 100%;  max-width: 700px;  margin-top: 10px;  text-align: left;  color: #ccc;  font-size: 15px;  line-height: 1.5;  font-family: 'Orbitron', sans-serif;  background: rgba(255, 255, 255, 0.02);  padding: 18px 24px;  border-radius: 10px;  border: 1px solid rgba(0, 255, 255, 0.1);  box-shadow: 0 0 8px rgba(0, 255, 255, 0.05);  position: relative; }
.modal-desc::before {  content: "";  position: absolute;  top: 0; left: 0; right: 0; bottom: 0;  border-radius: 10px;  box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.08);  pointer-events: none;  z-index: 0; }
.modal-desc .info-row {  display: flex;  justify-content: space-between;  gap: 20px;  margin-bottom: 12px;  flex-wrap: wrap; }
.modal-desc .info-row p {  margin: 0;  width: 45%;  font-size: 15px;  color: #e0f8ff; }
.modal-desc .info-row.full-row p {  width: 100%;  text-align: left; }
.close-btn { position: absolute; top: 12px; right: 16px; font-size: 28px; cursor: pointer; color: #fff; z-index: 3; }
.close-btn:hover { color: #f87171; }

.led-border {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

body{
  background: #000;
}

html, body {
  user-select: none;       /* Chặn chọn text */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  cursor: url('/src/assets/cursor.png'), auto;
}
* {
  box-sizing: inherit;
}

.column-grid {
  display: grid;  grid-template-columns: repeat(6, 1fr); /* 6 cột cố định */  gap: 20px;
  max-width: 100%;  margin: 20px auto;  padding: 0 20px; }

/* Navbar không tràn ngang */
.navbar {  max-width: 100vw;  overflow: hidden; }
.page_category-title {
  text-align: center;  margin: 30px 0 10px;  text-transform: uppercase;  font-family: 'Orbitron', sans-serif;
  font-size: 34px;  color: rgb(255, 6, 26);  font-weight: bold;  text-shadow: 0 0 20px #0ff; }
.view-more {
  text-align: center;  margin-top: -5px;  padding: 5px 12px;
  background: rgba(255,255,255,0.05);  color: #0ff;  font-weight: bold;
  border-radius: 6px;  cursor: pointer;  transition: background 0.2s; }
.view-more:hover {
  background: rgba(255,255,255,0.15);
}
/* LOADING  trang */
/* Loader wrapper phủ toàn trang */
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000; /* nền đen */
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: 'Orbitron', sans-serif;
}
#loginModal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Chữ đang tải */
.loader-text {
  color: #0ff;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 0 0 10px #0ff;
}

/* Hiệu ứng 3 chấm nhấp nháy */
.dot-animate::after {
  content: '';
  display: inline-block;
  animation: dots 1.2s steps(3, end) infinite;
  width: 1em;
  text-align: left;
}

@keyframes dots {
  0%   { content: ''; }
  33%  { content: '.'; }
  66%  { content: '..'; }
  100% { content: '...'; }
}


/* filter lọc vũ khí  */
.filter-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  gap: 10px;
}

#weaponFilter {
  padding: 6px 10px;
  border: 2px solid #00f7ff;
  border-radius: 6px;
  background: rgba(0, 10, 30, 0.9); /* tăng độ đậm nền */
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  cursor: pointer;
  z-index: 20; /* đảm bảo nổi lên trên video nền */
  position: relative;
}