/* style/resources-new88-promotions-analysis.css */

/* Base Styles */
.page-resources-new88-promotions-analysis {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text on dark body background #0a0a0a */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-resources-new88-promotions-analysis__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-new88-promotions-analysis__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
  line-height: 1.3;
}

.page-resources-new88-promotions-analysis__main-title {
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-resources-new88-promotions-analysis__description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-new88-promotions-analysis__text-block {
  font-size: 16px;
  text-align: center;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-new88-promotions-analysis__centered-button {
  text-align: center;
  margin-top: 40px;
}

/* Buttons */
.page-resources-new88-promotions-analysis__btn-primary,
.page-resources-new88-promotions-analysis__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-new88-promotions-analysis__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-new88-promotions-analysis__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

.page-resources-new88-promotions-analysis__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-new88-promotions-analysis__btn-secondary:hover {
  background-color: rgba(38, 169, 224, 0.1);
  color: #ffffff;
}

.page-resources-new88-promotions-analysis__button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 50px;
}

/* Section Backgrounds */
.page-resources-new88-promotions-analysis__dark-bg {
  background-color: #1a1a1a;
  padding: 80px 0;
}

/* HERO Section */
.page-resources-new88-promotions-analysis__hero-section {
  position: relative;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0; /* shared 已给 body 留白时用 0 */
  margin-top: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-resources-new88-promotions-analysis__hero-container {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

.page-resources-new88-promotions-analysis__hero-image {
  width: 100%;
  margin: 0;
}

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

/* Product Display Section */
.page-resources-new88-promotions-analysis__products-section {
  width: 100%;
  padding: 60px 20px;
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
  box-sizing: border-box;
}

.page-resources-new88-promotions-analysis__products-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 2fr; /* Desktop: First 4 cards take 4fr, last 2 take 2fr */
  gap: 20px;
  box-sizing: border-box;
}

.page-resources-new88-promotions-analysis__products-grid {
  display: grid;
  gap: 20px;
}

.page-resources-new88-promotions-analysis__products-grid--small {
  grid-template-columns: repeat(4, 1fr);
}

.page-resources-new88-promotions-analysis__products-grid--large {
  grid-template-columns: repeat(2, 1fr);
}

.page-resources-new88-promotions-analysis__product-card {
  width: 100%;
  max-width: 300px; /* Max width for each card */
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  transition: transform 0.3s ease;
  justify-self: center; /* Center cards in grid cells */
}

.page-resources-new88-promotions-analysis__product-card:hover {
  transform: translateY(-3px);
}

.page-resources-new88-promotions-analysis__product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-resources-new88-promotions-analysis__product-card-image {
  width: 100%;
  max-width: 300px;
  overflow: hidden;
}

.page-resources-new88-promotions-analysis__product-card-image img {
  max-width: 100%;
  width: 100%;
  height: auto; /* Preserve aspect ratio */
  display: block;
}

/* Intro Section (Module 1) */
.page-resources-new88-promotions-analysis__intro-section {
  padding: 80px 0;
}

.page-resources-new88-promotions-analysis__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-new88-promotions-analysis__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
}

.page-resources-new88-promotions-analysis__feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-resources-new88-promotions-analysis__feature-card p {
  font-size: 15px;
  color: #f0f0f0;
}

/* Quick Access Section (Module 2) */
.page-resources-new88-promotions-analysis__quick-access-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

/* Games Section (Module 3) */
.page-resources-new88-promotions-analysis__games-section {
  padding: 80px 0;
}

.page-resources-new88-promotions-analysis__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-new88-promotions-analysis__game-category-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-new88-promotions-analysis__game-category-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

.page-resources-new88-promotions-analysis__game-category-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-resources-new88-promotions-analysis__game-category-card p {
  font-size: 15px;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Promotions Section (Module 4) */
.page-resources-new88-promotions-analysis__promotions-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-resources-new88-promotions-analysis__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-new88-promotions-analysis__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-new88-promotions-analysis__promo-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

.page-resources-new88-promotions-analysis__promo-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-resources-new88-promotions-analysis__promo-card p {
  font-size: 15px;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Security Section (Module 5) */
.page-resources-new88-promotions-analysis__security-section {
  padding: 80px 0;
}

.page-resources-new88-promotions-analysis__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-new88-promotions-analysis__security-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
}

.page-resources-new88-promotions-analysis__security-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-new88-promotions-analysis__security-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-resources-new88-promotions-analysis__security-item p {
  font-size: 15px;
  color: #f0f0f0;
}

/* FAQ Section (Module 6) */
.page-resources-new88-promotions-analysis__faq-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-resources-new88-promotions-analysis__faq-list {
  margin-top: 50px;
}

.page-resources-new88-promotions-analysis__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-resources-new88-promotions-analysis__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.02);
}

.page-resources-new88-promotions-analysis__faq-item.active .page-resources-new88-promotions-analysis__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 0 0 5px 5px;
}

.page-resources-new88-promotions-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-new88-promotions-analysis__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.page-resources-new88-promotions-analysis__faq-question:active {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-resources-new88-promotions-analysis__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
}

.page-resources-new88-promotions-analysis__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #26A9E0;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-new88-promotions-analysis__faq-item.active .page-resources-new88-promotions-analysis__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

/* Blog Section (Module 7) */
.page-resources-new88-promotions-analysis__blog-section {
  padding: 80px 0;
}

.page-resources-new88-promotions-analysis__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-new88-promotions-analysis__blog-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-new88-promotions-analysis__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-new88-promotions-analysis__blog-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 100%;
  display: block;
}

.page-resources-new88-promotions-analysis__blog-title {
  font-size: 20px;
  font-weight: bold;
  margin: 20px 20px 10px;
  line-height: 1.4;
}

.page-resources-new88-promotions-analysis__blog-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-resources-new88-promotions-analysis__blog-title a:hover {
  text-decoration: underline;
}

.page-resources-new88-promotions-analysis__blog-excerpt {
  font-size: 15px;
  color: #f0f0f0;
  margin: 0 20px 15px;
  flex-grow: 1;
}

.page-resources-new88-promotions-analysis__blog-date {
  font-size: 13px;
  color: #aaa;
  margin: 0 20px 20px;
  display: block;
}

/* General Image Styling */
.page-resources-new88-promotions-analysis img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-new88-promotions-analysis__products-container {
    grid-template-columns: 1fr; /* Two grids stack vertically */
  }
  
  .page-resources-new88-promotions-analysis__products-grid {
    grid-template-columns: repeat(3, 1fr); /* Adjust to 3 columns for medium screens */
  }

  .page-resources-new88-promotions-analysis__products-grid--small {
    grid-template-columns: repeat(2, 1fr); /* 2x2 for medium screens */
  }

  .page-resources-new88-promotions-analysis__products-grid--large {
    grid-template-columns: repeat(2, 1fr); /* 1x2 for medium screens */
  }

  .page-resources-new88-promotions-analysis__section-title {
    font-size: 32px;
  }

  .page-resources-new88-promotions-analysis__main-title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  /* HERO Section Mobile */
  .page-resources-new88-promotions-analysis__hero-section {
    padding-top: 0 !important; /* Ensure no double padding if shared.css handles body */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-resources-new88-promotions-analysis__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Product Display Section Mobile */
  .page-resources-new88-promotions-analysis__products-section {
    padding: 40px 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  
  .page-resources-new88-promotions-analysis__products-container {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  
  .page-resources-new88-promotions-analysis__products-grid--small {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    justify-items: center;
  }
  
  .page-resources-new88-promotions-analysis__products-grid--small .page-resources-new88-promotions-analysis__product-card,
  .page-resources-new88-promotions-analysis__products-grid--small .page-resources-new88-promotions-analysis__product-card-image {
    max-width: 150px !important; /* Adjust for 2x2 on mobile */
  }
  
  .page-resources-new88-promotions-analysis__products-grid--small .page-resources-new88-promotions-analysis__product-card-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-new88-promotions-analysis__products-grid--large {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    justify-items: center;
  }
  
  .page-resources-new88-promotions-analysis__products-grid--large .page-resources-new88-promotions-analysis__product-card,
  .page-resources-new88-promotions-analysis__products-grid--large .page-resources-new88-promotions-analysis__product-card-image {
    max-width: 250px !important; /* Adjust for larger single column on mobile */
  }
  
  .page-resources-new88-promotions-analysis__products-grid--large .page-resources-new88-promotions-analysis__product-card-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* General Image & Container Mobile */
  .page-resources-new88-promotions-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-new88-promotions-analysis__section,
  .page-resources-new88-promotions-analysis__card,
  .page-resources-new88-promotions-analysis__container,
  .page-resources-new88-promotions-analysis__intro-section,
  .page-resources-new88-promotions-analysis__quick-access-section,
  .page-resources-new88-promotions-analysis__games-section,
  .page-resources-new88-promotions-analysis__promotions-section,
  .page-resources-new88-promotions-analysis__security-section,
  .page-resources-new88-promotions-analysis__faq-section,
  .page-resources-new88-promotions-analysis__blog-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important;
  }

  /* Button Mobile */
  .page-resources-new88-promotions-analysis__btn-primary,
  .page-resources-new88-promotions-analysis__btn-secondary,
  .page-resources-new88-promotions-analysis a[class*="button"],
  .page-resources-new88-promotions-analysis a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin: 8px 0 !important;
  }
  
  .page-resources-new88-promotions-analysis__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  /* Other Content Modules Mobile */
  .page-resources-new88-promotions-analysis__section-title {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .page-resources-new88-promotions-analysis__main-title {
    font-size: 32px;
  }

  .page-resources-new88-promotions-analysis__description,
  .page-resources-new88-promotions-analysis__text-block {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-resources-new88-promotions-analysis__feature-card,
  .page-resources-new88-promotions-analysis__game-category-card,
  .page-resources-new88-promotions-analysis__promo-card,
  .page-resources-new88-promotions-analysis__security-item,
  .page-resources-new88-promotions-analysis__blog-card {
    padding: 20px;
  }

  .page-resources-new88-promotions-analysis__feature-title,
  .page-resources-new88-promotions-analysis__game-category-title,
  .page-resources-new88-promotions-analysis__promo-title,
  .page-resources-new88-promotions-analysis__security-title {
    font-size: 20px;
  }

  .page-resources-new88-promotions-analysis__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-resources-new88-promotions-analysis__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-resources-new88-promotions-analysis__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-resources-new88-promotions-analysis__faq-answer {
    padding: 0 15px;
  }
  
  .page-resources-new88-promotions-analysis__faq-item.active .page-resources-new88-promotions-analysis__faq-answer {
    padding: 15px !important;
  }
  
  .page-resources-new88-promotions-analysis__blog-title {
    font-size: 18px;
    margin: 15px 15px 8px;
  }
  
  .page-resources-new88-promotions-analysis__blog-excerpt,
  .page-resources-new88-promotions-analysis__blog-date {
    margin-left: 15px;
    margin-right: 15px;
  }
}