body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans', sans-serif;

  background-image: url("images/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  height: 100vh;
  position: relative;
  color: white;
  text-align: center;
  overflow: hidden;
}

 .hero-content {
  position: absolute;
  top: 30px;  /* cách top 30px */
  left: 50%;
  transform: translateX(-50%); /* canh giữa theo chiều ngang */
  text-align: center;
  color: white;
}

h1#main-text {
  font-size: clamp(28px, 4vw, 60px); /* nhỏ gọn, co giãn theo màn hình */
  font-weight: bold;
 margin: 0;
  white-space: nowrap;   /* giữ nguyên 1 dòng, không xuống hàng */
}


h2#sub-text {
  font-size: clamp(16px, 2vw, 28px);
margin-top: 8px;
}

.glow {
  text-shadow:
    0 0 10px #fff,
    0 0 20px #ff99cc,
    0 0 30px #ff66cc,
    0 0 40px #ff33cc;
  animation: glow-pulse 2s infinite alternate;
}

@keyframes glow-pulse {
  from {
    text-shadow:
      0 0 5px #fff,
      0 0 10px #ff99cc,
      0 0 15px #ff66cc,
      0 0 20px #ff33cc;
  }
  to {
    text-shadow:
      0 0 20px #fff,
      0 0 40px #ff99cc,
      0 0 60px #ff66cc,
      0 0 80px #ff33cc;
  }
}
/* Vùng chứa dropdown ở góc phải trên */
.lang{
  position:absolute;
  top:30px;
  right:50px;
  z-index:10;
}

/* Nút quả địa cầu */
.lang-btn{
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.lang-btn img{
  width:28px;    /* cố định icon nhỏ gọn */
  height:28px;
}

/* Hộp menu thả xuống */
.lang-menu{
  position:absolute;
  top:36px;      /* nằm dưới quả địa cầu một chút */
  right:0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  border:1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  display:flex;
  flex-direction: column;
  gap:4px;
  min-width: 150px;
}

/* Mỗi dòng ngôn ngữ trong menu */
.lang-item{
  display:flex;
  align-items:center;
  gap:8px;
  width:100%;
  background: transparent;
  border: 0;
  color:#fff;
  font-size:14px;
  padding:8px 10px;
  cursor: pointer;
  text-align:left;
  border-radius: 8px;
}
.lang-item:hover{ background: rgba(255,255,255,0.1); }
.lang-item img{
  width:18px;
  height:12px;
  object-fit: cover;
  border-radius:2px;
}

/* Ẩn/hiện bằng thuộc tính hidden */
.lang-menu[hidden]{ display:none; }
