.page-index {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #FFFFFF;
}

.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-index__hero-section {
  position: relative;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 10px; /* shared đã cho body padding-top */
  margin-top: 0;
  background-color: #FFFFFF; /* Đảm bảo nền trắng */
}

.page-index__hero-container {
  position: relative;
  margin: 0 auto;
}

.page-index__hero-image {
  width: 100%;
  margin: 0;
}

.page-index__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-index__products-section {
  width: 100%;
  padding: 60px 20px;
  background: #f5f5f5; /* Nền xám nhạt để phân biệt */
  box-sizing: border-box;
}

.page-index__products-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 2fr; /* Desktop: 4 cards then 2 cards side-by-side */
  gap: 20px;
}

.page-index__products-grid {
  display: grid;
  gap: 20px;
}

.page-index__products-grid--small {
  grid-template-columns: repeat(4, 1fr);
}

.page-index__products-grid--large {
  grid-template-columns: repeat(2, 1fr);
}

.page-index__product-card {
  width: 100%;
  max-width: 300px; /* Tối đa 300px cho mỗi card */
  border-radius: 0; /* Không bo góc */
  overflow: hidden;
  background: transparent;
  box-shadow: none; /* Không đổ bóng */
  transition: transform 0.3s ease;
}

.page-index__product-card:hover {
  transform: translateY(-3px);
}

.page-index__product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-index__product-card-image {
  width: 100%;
  max-width: 300px; /* Tối đa 300px cho hình ảnh */
  overflow: hidden;
}

.page-index__product-card-image img {
  max-width: 100%;
  width: 100%;
  height: auto; /* Giữ tỷ lệ khung hình gốc */
  display: block;
}

.page-index__intro-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #FFFFFF;
  color: #333333;
}

.page-index__main-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #26A9E0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-index__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-index__btn-primary,
.page-index__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-index__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-index__btn-primary:hover {
  background-color: #1e87c2;
  border-color: #1e87c2;
}

.page-index__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-index__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1e87c2;
  border-color: #1e87c2;
}

.page-index__quick-links-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
}

.page-index__section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  color: inherit;
}

.page-index__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-index__link-card {
  display: block;
  background-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-index__link-card:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
}

.page-index__games-section {
  padding: 80px 20px;
  background-color: #FFFFFF;
  color: #333333;
}

.page-index__games-intro {
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.page-index__game-category {
  margin-bottom: 50px;
  text-align: center;
}

.page-index__game-title {
  font-size: 24px;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-index__game-category p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 20px;
}

.page-index__btn-text {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding-bottom: 5px;
  border-bottom: 2px solid #26A9E0;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-index__btn-text:hover {
  color: #1e87c2;
  border-color: #1e87c2;
}

.page-index__promotions-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

.page-index__promotions-intro {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-index__promotions-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 700px;
  text-align: left;
}

.page-index__promotions-list li {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-index__promotions-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #FFFFFF;
  font-weight: bold;
}

.page-index__security-support-section {
  padding: 80px 20px;
  background-color: #FFFFFF;
  color: #333333;
  text-align: center;
}

.page-index__security-intro {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 50px;
}

.page-index__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 50px;
}

.page-index__feature-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-index__feature-title {
  font-size: 22px;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-index__feature-item p {
  font-size: 16px;
  line-height: 1.6;
}

.page-index__faq-section {
  padding: 80px 20px;
  background-color: #f5f5f5;
  color: #333333;
}

.page-index__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-index__faq-item summary.page-index__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-index__faq-item summary.page-index__faq-question::-webkit-details-marker {
  display: none;
}
details.page-index__faq-item summary.page-index__faq-question:hover {
  background: #f5f5f5;
}
.page-index__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-index__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-index__faq-item .page-index__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  color: #555555;
}

.page-index__blog-section {
  padding: 80px 20px;
  background-color: #FFFFFF;
  color: #333333;
}

.page-index__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 50px;
}

.page-index__blog-card {
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-index__blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-index__blog-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-index__blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-index__blog-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #26A9E0;
  padding: 15px 20px 10px;
  line-height: 1.4;
}