/* ============================================================================
   PORTAL.VNCHECK.NET — CỔNG THÔNG TIN TXNG QUỐC GIA
   Đồng bộ ngôn ngữ thị giác với vncheck.net: Nền vũ trụ, dải ngân hà, sao băng
   ============================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400;1,700&display=swap');

:root {
  --c-primary: #35d0a5;
  --c-primary-d: #1fae87;
  --c-blue: #7aa2ff;
  --c-text: #e9eff6;
  --c-muted: #9db0c6;
  --c-border: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', system-ui, -apple-system, sans-serif;
  color: var(--c-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse 60% 50% at 18% 8%, rgba(70, 90, 200, 0.2), transparent 55%),
    radial-gradient(ellipse 55% 45% at 88% 16%, rgba(140, 70, 200, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 60% at 50% 86%, rgba(30, 130, 150, 0.16), transparent 60%),
    #04060e;
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Canvas Sao Băng Nền Vũ Trụ */
#space {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* Lưới Kỹ thuật số */
.luoi-ky-thuat {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 100%);
}

/* Hai quầng sáng trang trí */
.quang-sang {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}
.quang-luc {
  top: -10%;
  left: 10%;
  width: 45vw;
  height: 45vw;
  background: rgba(53, 208, 165, 0.12);
}
.quang-lam {
  bottom: -15%;
  right: 5%;
  width: 50vw;
  height: 50vw;
  background: rgba(122, 162, 255, 0.11);
}

/* Main Wrapper */
.main-wrapper {
  position: relative;
  z-index: 2;
}

/* KHUNG TRA CỨU CHUẨN THEO ẢNH CHỤP MẪU CỦA NGƯỜI DÙNG */
.search-card-exact {
  position: relative;
  background: rgba(8, 14, 27, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.75),
    0 0 35px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 28px;
}

/* Tiêu đề có độ phát sáng chữ đẹp như hình */
.portal-title-glow {
  text-shadow: 
    0 0 25px rgba(255, 255, 255, 0.35),
    0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Thanh nhập liệu chuẩn theo hình mẫu */
.search-bar-exact {
  background: rgba(4, 8, 18, 0.95);
  border: 1.5px solid rgba(53, 208, 165, 0.35);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5), 0 0 15px rgba(53, 208, 165, 0.1);
  border-radius: 18px;
  transition: all 0.25s ease;
}
.search-bar-exact:focus-within {
  border-color: #35d0a5;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5), 0 0 25px rgba(53, 208, 165, 0.35);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}
