/* 样式隔离与BEM规范命名 */
.page-789c-code {
  background-color: #0f172a;
  color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  box-sizing: border-box;
  padding-top: 10px;
}

.page-789c-code *, .page-789c-code *::before, .page-789c-code *::after {
  box-sizing: border-box;
}

.page-789c-code__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Floating CTA for Mobile */
.page-789c-code__floating-cta {
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 999;
  width: 90%;
  max-width: 400px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  padding: 10px;
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,215,0,0.3);
}

.page-789c-code__float-btn {
  flex: 1;
  text-align: center;
  padding: 10px 15px;
  border-radius: 20px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.page-789c-code__float-btn--register {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
}

.page-789c-code__float-btn--login {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #ffffff;
}

/* Hero Section */
.page-789c-code__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-bottom: 1px solid #334155;
}

.page-789c-code__brand-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 1px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.page-789c-code__hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-789c-code__hero-title strong {
  color: #f59e0b;
}

.page-789c-code__hero-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 800px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-789c-code__hero-btns {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-789c-code__btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 1rem;
}

.page-789c-code__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.page-789c-code__btn--primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
}

.page-789c-code__btn--secondary {
  background: #334155;
  color: #ffffff;
  border: 1px solid #475569;
}

.page-789c-code__hero-image-wrap {
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid #334155;
}

.page-789c-code__hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Payment Providers / Logo 区样式 */
.page-789c-code__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: #1e293b;
  border-bottom: 1px solid #334155;
}

.page-789c-code__payment-logo {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  max-width: 80px;
  max-height: 80px;
  box-sizing: border-box;
}

.page-789c-code__payment-logo img {
  display: block;
  width: 80px !important;
  height: 80px !important;
  max-width: 80px !important;
  max-height: 80px !important;
  object-fit: contain;
}

@media (max-width: 768px) {
  .page-789c-code__payment-providers {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .page-789c-code__payment-logo,
  .page-789c-code__payment-logo img {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
  }
}

/* Common Section Title */
.page-789c-code__section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-789c-code__section-sub {
  text-align: center;
  color: #94a3b8;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

/* Intro Section */
.page-789c-code__intro-section {
  padding: 60px 0;
  background: #0f172a;
}

.page-789c-code__intro-lead {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.7;
}

.page-789c-code__stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.page-789c-code__stat-card {
  background: #1e293b;
  border: 1px solid #334155;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s;
}

.page-789c-code__stat-card:hover {
  transform: translateY(-5px);
  border-color: #f59e0b;
}

.page-789c-code__stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #f59e0b;
  margin-bottom: 10px;
}

.page-789c-code__stat-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-789c-code__stat-desc {
  color: #94a3b8;
  font-size: 0.95rem;
}

.page-789c-code__menu-preview {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.page-789c-code__menu-tag {
  background: #334155;
  color: #f8fafc;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 600;
}

.page-789c-code__center-cta {
  text-align: center;
}

/* Quick Access */
.page-789c-code__quick-access {
  padding: 60px 0;
  background: #1e293b;
}

.page-789c-code__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-789c-code__link-card {
  background: #0f172a;
  border: 1px solid #334155;
  padding: 30px;
  border-radius: 12px;
  text-decoration: none;
  display: block;
  transition: all 0.3s;
}

.page-789c-code__link-card:hover {
  border-color: #f59e0b;
  transform: translateY(-5px);
}

.page-789c-code__link-card h3 {
  color: #f59e0b;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.page-789c-code__link-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Games Section */
.page-789c-code__games-section {
  padding: 60px 0;
  background: #0f172a;
}

.page-789c-code__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.page-789c-code__game-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-789c-code__game-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.page-789c-code__game-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.page-789c-code__game-card:hover .page-789c-code__game-img {
  transform: scale(1.05);
}

.page-789c-code__game-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-789c-code__game-content h3 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.page-789c-code__game-content p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-789c-code__game-btn {
  display: inline-block;
  background: #334155;
  color: #ffffff;
  text-align: center;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.page-789c-code__game-btn:hover {
  background: #f59e0b;
  color: #0f172a;
}

/* Promo Section */
.page-789c-code__promo-section {
  padding: 60px 0;
  background: #1e293b;
}

.page-789c-code__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-789c-code__promo-card {
  background: #0f172a;
  border: 1px solid #334155;
  padding: 30px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.page-789c-code__promo-card h3 {
  font-size: 1.3rem;
  color: #f59e0b;
  margin-bottom: 15px;
}

.page-789c-code__promo-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Security Section */
.page-789c-code__security-section {
  padding: 60px 0;
  background: #0f172a;
}

.page-789c-code__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-789c-code__security-item {
  background: #1e293b;
  border: 1px solid #334155;
  padding: 30px;
  border-radius: 12px;
}

.page-789c-code__security-item h3 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.page-789c-code__security-item p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* FAQ Section */
.page-789c-code__faq-section {
  padding: 60px 0;
  background: #1e293b;
}

.page-789c-code__faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-789c-code__faq-item {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.page-789c-code__faq-item.active {
  border-color: #f59e0b;
}

.page-789c-code__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  user-select: none;
}

.page-789c-code__faq-question h3 {
  font-size: 1.1rem;
  color: #ffffff;
  margin: 0;
  pointer-events: none;
}

.page-789c-code__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f59e0b;
  pointer-events: none;
}

.page-789c-code__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;
}

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

.page-789c-code__faq-answer p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Blog Section */
.page-789c-code__blog-section {
  padding: 60px 0;
  background: #0f172a;
}

.page-789c-code__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.page-789c-code__blog-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-789c-code__blog-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-789c-code__blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.page-789c-code__blog-card:hover .page-789c-code__blog-img {
  transform: scale(1.05);
}

.page-789c-code__blog-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-789c-code__blog-date {
  display: block;
  font-size: 0.85rem;
  color: #f59e0b;
  margin-bottom: 8px;
}

.page-789c-code__blog-content h3 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.4;
}

.page-789c-code__blog-content p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-789c-code__blog-link {
  color: #f59e0b;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.page-789c-code__blog-link:hover {
  color: #fbbf24;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-789c-code__hero-title {
    font-size: 1.8rem;
  }
  .page-789c-code__section-title {
    font-size: 1.6rem;
  }
}