/* 页面专用样式 khuyenmaihi88 */
.page-khuyenmaihi88 {
  width: 100%;
  box-sizing: border-box;
  background-color: #0b0f19;
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  padding-top: 10px;
}

.page-khuyenmaihi88__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* HERO 区域 */
.page-khuyenmaihi88__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px 60px;
  background: linear-gradient(135deg, #121826 0%, #1a233a 100%);
  border-bottom: 2px solid #e50914;
  box-sizing: border-box;
}

.page-khuyenmaihi88__brand-header {
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-khuyenmaihi88__brand-badge {
  display: inline-block;
  background-color: #e50914;
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.page-khuyenmaihi88__main-title {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.3;
  word-wrap: break-word;
}

.page-khuyenmaihi88__hero-subtitle {
  font-size: 16px;
  color: #b3b3b3;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-khuyenmaihi88__hero-cta-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-khuyenmaihi88__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.page-khuyenmaihi88__btn--primary {
  background-color: #e50914;
  color: #ffffff;
}

.page-khuyenmaihi88__btn--primary:hover {
  background-color: #b20710;
}

.page-khuyenmaihi88__btn--secondary {
  background-color: #262626;
  color: #ffffff;
  border: 1px solid #404040;
}

.page-khuyenmaihi88__btn--secondary:hover {
  background-color: #404040;
}

.page-khuyenmaihi88__btn--small {
  padding: 8px 16px;
  font-size: 14px;
}

.page-khuyenmaihi88__hero-image-wrap {
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.page-khuyenmaihi88__hero-img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

/* 悬浮按钮组 */
.page-khuyenmaihi88__floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-khuyenmaihi88__float-btn {
  background-color: #e50914;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  text-align: center;
  transition: transform 0.2s ease;
}

.page-khuyenmaihi88__float-btn:hover {
  transform: scale(1.05);
}

/* 合作方/供应商 Logo 区 */
.page-khuyenmaihi88__payment-providers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 30px 20px;
  background-color: #121826;
}
.page-khuyenmaihi88__payment-logo {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  max-width: 80px;
  max-height: 80px;
  box-sizing: border-box;
}
.page-khuyenmaihi88__payment-logo img {
  display: block;
  width: 80px !important;
  height: 80px !important;
  max-width: 80px !important;
  max-height: 80px !important;
  object-fit: contain;
}

/* 通用 Section 样式 */
.page-khuyenmaihi88__intro-section,
.page-khuyenmaihi88__quick-access,
.page-khuyenmaihi88__games-section,
.page-khuyenmaihi88__promo-section,
.page-khuyenmaihi88__security-section,
.page-khuyenmaihi88__faq-section,
.page-khuyenmaihi88__blog-section {
  padding: 60px 0;
  box-sizing: border-box;
}

.page-khuyenmaihi88__section-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
  word-wrap: break-word;
}

/* 首页介绍 网格 */
.page-khuyenmaihi88__intro-desc {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 16px;
  color: #cccccc;
  line-height: 1.6;
}

.page-khuyenmaihi88__stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  box-sizing: border-box;
}

.page-khuyenmaihi88__stat-card {
  background-color: #161b22;
  border: 1px solid #30363d;
  padding: 30px 20px;
  border-radius: 8px;
  text-align: center;
  box-sizing: border-box;
}

.page-khuyenmaihi88__stat-num {
  font-size: 32px;
  font-weight: 800;
  color: #e50914;
  margin-bottom: 10px;
}

.page-khuyenmaihi88__stat-text {
  font-size: 14px;
  color: #8b949e;
}

/* 快速访问网格 */
.page-khuyenmaihi88__quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  box-sizing: border-box;
}

.page-khuyenmaihi88__quick-card {
  background-color: #161b22;
  border: 1px solid #30363d;
  padding: 25px;
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  display: block;
}

.page-khuyenmaihi88__quick-card:hover {
  transform: translateY(-5px);
  border-color: #e50914;
}

.page-khuyenmaihi88__quick-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-khuyenmaihi88__quick-card p {
  font-size: 14px;
  color: #8b949e;
  margin: 0;
}

/* 核心游戏展示 */
.page-khuyenmaihi88__game-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-khuyenmaihi88__game-img-center {
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.page-khuyenmaihi88__central-img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

.page-khuyenmaihi88__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.page-khuyenmaihi88__game-item {
  background-color: #161b22;
  border: 1px solid #30363d;
  padding: 20px;
  border-radius: 8px;
  box-sizing: border-box;
}

.page-khuyenmaihi88__game-item h3 {
  font-size: 18px;
  color: #e50914;
  margin-bottom: 10px;
}

.page-khuyenmaihi88__game-item p {
  font-size: 14px;
  color: #b3b3b3;
  margin: 0;
}

/* 优惠活动网格 */
.page-khuyenmaihi88__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  box-sizing: border-box;
}

.page-khuyenmaihi88__promo-card {
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.page-khuyenmaihi88__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.page-khuyenmaihi88__promo-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  box-sizing: border-box;
}

.page-khuyenmaihi88__promo-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-khuyenmaihi88__promo-body p {
  font-size: 14px;
  color: #8b949e;
  margin-bottom: 20px;
  flex: 1;
}

/* 安全与客服 */
.page-khuyenmaihi88__security-desc {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 16px;
  color: #cccccc;
  line-height: 1.6;
}

.page-khuyenmaihi88__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  box-sizing: border-box;
}

.page-khuyenmaihi88__sec-item {
  background-color: #161b22;
  border: 1px solid #30363d;
  padding: 25px;
  border-radius: 8px;
  box-sizing: border-box;
}

.page-khuyenmaihi88__sec-item h3 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-khuyenmaihi88__sec-item p {
  font-size: 14px;
  color: #8b949e;
  margin: 0;
}

/* FAQ 常见问题样式 */
.page-khuyenmaihi88__faq-list {
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-khuyenmaihi88__faq-item {
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-khuyenmaihi88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
}

.page-khuyenmaihi88__faq-question h3 {
  font-size: 16px;
  margin: 0;
  color: #ffffff;
  pointer-events: none;
}

.page-khuyenmaihi88__faq-toggle {
  font-size: 20px;
  font-weight: bold;
  color: #e50914;
  pointer-events: none;
}

.page-khuyenmaihi88__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  box-sizing: border-box;
}

.page-khuyenmaihi88__faq-item.active .page-khuyenmaihi88__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1 !important;
}

.page-khuyenmaihi88__faq-item.active .page-khuyenmaihi88__faq-toggle {
  transform: rotate(45deg);
}

.page-khuyenmaihi88__faq-answer p {
  margin: 0;
  font-size: 14px;
  color: #b3b3b3;
  line-height: 1.6;
}

/* 博客网格 */
.page-khuyenmaihi88__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  box-sizing: border-box;
}

.page-khuyenmaihi88__blog-card {
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.page-khuyenmaihi88__blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.page-khuyenmaihi88__blog-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  box-sizing: border-box;
}

.page-khuyenmaihi88__blog-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-khuyenmaihi88__blog-content p {
  font-size: 14px;
  color: #8b949e;
  margin-bottom: 20px;
  flex: 1;
}

.page-khuyenmaihi88__blog-link {
  color: #e50914;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.page-khuyenmaihi88__blog-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .page-khuyenmaihi88__main-title {
    font-size: 26px;
  }
  .page-khuyenmaihi88__payment-providers {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .page-khuyenmaihi88__payment-logo,
  .page-khuyenmaihi88__payment-logo img {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
  }
}