/* RESET & CƠ BẢN */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rubik', sans-serif;
  background: #111;
  color: #fff;
  line-height: 1.5;
}

/* HEADER + LOGO */
.header {
  background-color: #000;
  text-align: center;
  padding: 1rem;
  border-bottom: 1px solid #333;
}

.logo img {
  width: 100px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  transition: width 0.3s ease;
}

/* MENU NGANG */
.nav {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.5rem;
  background-color: #1a1a1a;
  padding: 0.5rem;
  justify-content: center;
  scrollbar-width: none; /* Firefox */
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0.5rem 1rem;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.nav a:hover {
  background-color: #00ffcc;
  color: #000;
}

/* GIỚI THIỆU GAME */
.intro {
  padding: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.intro h1 {
  font-size: 22px;
  color: #00ffff;
  margin-bottom: 15px;
  text-align: center;
}

.intro p, .intro li {
  font-size: 16px;
  line-height: 1.6;
}

.intro ul {
  list-style: none;
  padding-left: 0;
}

.intro li::before {
  content: "✅ ";
  color: #ffcc00;
}

.tagline {
  margin-top: 15px;
  font-style: italic;
  color: #ffcc00;
}

/* NÚT TẢI GAME */
.download-buttons {
  display: flex;
  flex-direction: row;       /* Luôn nằm ngang */
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
}

.download-buttons a {
  width: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.download-buttons a img {
  width: 100%;
  height: auto;
  transition: transform 0.2s ease;
}

.download-buttons a:hover img {
  transform: scale(1.05);
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 15px;
  background-color: #1e1e1e;
  color: #aaa;
  font-size: 14px;
}

/* RESPONSIVE CHO MOBILE */
@media (max-width: 600px) {
  .intro h1 {
    font-size: 20px;
  }
}

/* RESPONSIVE CHO MÀN HÌNH LỚN HƠN */
@media (min-width: 500px) {
  .download-buttons a {
    width: 200px;
  }
}

/* NÚT FANPAGE, NHÓM FACEBOOK, NHÓM ZALO, TỐ CÁO SCAM */
.extra-buttons {
  display: flex;
  flex-direction: column;  /* Xếp dọc */
  gap: 12px;
  margin: 30px auto 50px;
  max-width: 300px;  /* bạn có thể chỉnh lại */
}

.extra-buttons .btn {
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  user-select: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
}

/* Màu nền từng loại nút */
.btn-fanpage {
  background-color: #1877f2; /* xanh Facebook */
}

.btn-fanpage:hover {
  background-color: #145dbf;
}

.btn-fb-group {
  background-color: #4267b2; /* xanh đậm Facebook */
}

.btn-fb-group:hover {
  background-color: #2d4a8f;
}

.btn-zalo-group {
  background-color: #007fff; /* màu xanh Zalo */
}

.btn-zalo-group:hover {
  background-color: #005fcc;
}

.btn-report {
  background-color: #e53935; /* đỏ tố cáo scam */
}

.btn-report:hover {
  background-color: #ab2a26;
}



/* Tiêu đề với nền nút */
.header-title {
  background-color: #00ffcc; /* Màu nền tương tự nút */
  color: #000; /* Màu chữ đen */
  font-size: 18px;
  font-weight: bold;
  padding: 15px 20px;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-top: 20px; /* Khoảng cách trên */
}

.header-title span {
  display: inline-block;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 20px; /* Kích thước chữ */
}

/* Responsive: nếu màn hình nhỏ */
@media (max-width: 600px) {
  .header-title {
    font-size: 16px;
    padding: 12px 15px;
  }
}
