/* Base styles for the page */
.page-blog-latest-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--deep-navy);
}

.page-blog-latest-promotions__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-blog-latest-promotions__dark-bg {
  background: var(--deep-navy);
  color: var(--text-main);
}

.page-blog-latest-promotions__light-bg {
  background: #081a34; /* Slightly lighter dark background for contrast */
  color: var(--text-main);
}

.page-blog-latest-promotions__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-blog-latest-promotions__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: 800;
  color: var(--gold);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-latest-promotions__description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
}

.page-blog-latest-promotions__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
}

.page-blog-latest-promotions__hero-image-wrapper {
  margin-bottom: 30px;
}

.page-blog-latest-promotions__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-latest-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-latest-promotions__btn-primary,
.page-blog-latest-promotions__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-latest-promotions__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-latest-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-latest-promotions__btn-secondary {
  background: var(--card-bg);
  color: var(--text-main);
  border: 2px solid var(--border);
}

.page-blog-latest-promotions__btn-secondary:hover {
  background: var(--border);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-latest-promotions__content-section {
  padding: 60px 0;
}

.page-blog-latest-promotions__content-section p {
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 1em;
}

.page-blog-latest-promotions__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-blog-latest-promotions__card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
}

.page-blog-latest-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-blog-latest-promotions__card-image {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
}

.page-blog-latest-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog-latest-promotions__card-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--gold);
}

.page-blog-latest-promotions__card-text {
  font-size: 0.95em;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-latest-promotions__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--glow);
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-latest-promotions__card-button:hover {
  background: #3a97e6;
}

.page-blog-latest-promotions__list,
.page-blog-latest-promotions__numbered-list,
.page-blog-latest-promotions__advantages-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-blog-latest-promotions__numbered-list {
  list-style-type: decimal;
}

.page-blog-latest-promotions__list li,
.page-blog-latest-promotions__numbered-list li,
.page-blog-latest-promotions__advantages-list li {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-blog-latest-promotions__list strong,
.page-blog-latest-promotions__numbered-list strong {
  color: var(--text-main);
}

/* FAQ Section */
.page-blog-latest-promotions__faq-section {
  padding: 60px 0;
}

.page-blog-latest-promotions__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-blog-latest-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card-bg);
}
details.page-blog-latest-promotions__faq-item summary.page-blog-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.1em;
}
details.page-blog-latest-promotions__faq-item summary.page-blog-latest-promotions__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-latest-promotions__faq-item summary.page-blog-latest-promotions__faq-question:hover {
  background: rgba(var(--primary-color-rgb), 0.1);
}
.page-blog-latest-promotions__faq-qtext {
  flex: 1;
  font-size: 1em;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-blog-latest-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-latest-promotions__faq-item .page-blog-latest-promotions__faq-answer {
  padding: 0 25px 20px;
  background: rgba(var(--primary-color-rgb), 0.05);
  border-radius: 0 0 8px 8px;
  color: var(--text-secondary);
}

.page-blog-latest-promotions__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

.page-blog-latest-promotions__conclusion-section p {
  max-width: 900px;
  margin: 0 auto 30px;
  color: var(--text-secondary);
}

/* GLOBAL IMAGE AND CONTAINER RESPONSIVENESS */
.page-blog-latest-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-blog-latest-promotions__section,
.page-blog-latest-promotions__card,
.page-blog-latest-promotions__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Game Trial Specific CSS (as per "返回格式" explicit instruction) */
@media (max-width: 1023px) {
  .page-blog-latest-promotions__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-blog-latest-promotions__hero-brand,
  .page-blog-latest-promotions__hero-jackpot {
    display: none !important;
  }
  .page-blog-latest-promotions__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-blog-latest-promotions__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-blog-latest-promotions__game-trial-topbar,
  .page-blog-latest-promotions__game-trial-bottombar {
    display: none !important;
  }
  .page-blog-latest-promotions__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-blog-latest-promotions__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-blog-latest-promotions__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-blog-latest-promotions__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-blog-latest-promotions__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-blog-latest-promotions__hero-brand,
  .page-blog-latest-promotions__hero-jackpot,
  .page-blog-latest-promotions__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-blog-latest-promotions__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-blog-latest-promotions__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-blog-latest-promotions__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-blog-latest-promotions__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-blog-latest-promotions__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

/* Reward Modal and Game Trial overlay */
.page-blog-latest-promotions__game-trial-overlay {
  z-index: 5;
  pointer-events: auto;
}
.page-blog-latest-promotions__game-trial-overlay.is-hidden {
  display: none !important;
  pointer-events: none !important;
}
.page-blog-latest-promotions__game-trial-start {
  z-index: 6;
  pointer-events: auto;
  touch-action: manipulation;
}
.page-blog-latest-promotions__game-trial-shell {
  border: 1px solid rgba(212,175,55,.45);
  border-radius: 10px;
  overflow: hidden;
}
.page-blog-latest-promotions__reward-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  transition: opacity 0.3s ease;
}
.page-blog-latest-promotions__reward-modal[hidden] {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.page-blog-latest-promotions__reward-modal-content {
  background: var(--deep-navy);
  border-radius: 10px;
  padding: 30px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  color: var(--text-main);
}
.page-blog-latest-promotions__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2em;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}
.page-blog-latest-promotions__reward-modal-close:hover {
  color: var(--gold);
}
.page-blog-latest-promotions__reward-modal h3 {
  font-size: 1.8em;
  color: var(--gold);
  margin-bottom: 15px;
}
.page-blog-latest-promotions__reward-modal p {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: var(--text-secondary);
}
.page-blog-latest-promotions__reward-modal .page-blog-latest-promotions__btn-primary {
  width: auto;
  min-width: 180px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-blog-latest-promotions__section-title {
    font-size: 2em;
    margin-bottom: 30px;
    padding-top: 30px;
  }
  .page-blog-latest-promotions__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-blog-latest-promotions__description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }
  .page-blog-latest-promotions__hero-section {
    padding-bottom: 40px;
  }
  .page-blog-latest-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-blog-latest-promotions__btn-primary,
  .page-blog-latest-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
  }
  .page-blog-latest-promotions__content-section {
    padding: 40px 0;
  }
  .page-blog-latest-promotions__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
  }
  .page-blog-latest-promotions__card {
    flex-direction: column;
  }
  .page-blog-latest-promotions__card-image {
    height: 180px;
  }
  .page-blog-latest-promotions__card-content {
    padding: 20px;
  }
  .page-blog-latest-promotions__card-title {
    font-size: 1.2em;
    margin-bottom: 10px;
  }
  .page-blog-latest-promotions__card-text {
    font-size: 0.9em;
    margin-bottom: 15px;
  }
  .page-blog-latest-promotions__card-button {
    padding: 8px 15px;
    font-size: 0.85em;
  }
  .page-blog-latest-promotions__list,
  .page-blog-latest-promotions__numbered-list,
  .page-blog-latest-promotions__advantages-list {
    margin-left: 20px;
    margin-bottom: 25px;
  }
  .page-blog-latest-promotions__list li,
  .page-blog-latest-promotions__numbered-list li,
  .page-blog-latest-promotions__advantages-list li {
    font-size: 0.95em;
  }
  .page-blog-latest-promotions__faq-section {
    padding: 40px 0;
  }
  details.page-blog-latest-promotions__faq-item summary.page-blog-latest-promotions__faq-question { padding: 15px; }
  .page-blog-latest-promotions__faq-qtext { font-size: 1em; }
  .page-blog-latest-promotions__faq-toggle { font-size: 20px; width: 24px; }
  details.page-blog-latest-promotions__faq-item .page-blog-latest-promotions__faq-answer { padding: 0 15px 15px; }
  .page-blog-latest-promotions__conclusion-section {
    padding: 40px 0;
  }
  .page-blog-latest-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-latest-promotions__section,
  .page-blog-latest-promotions__card,
  .page-blog-latest-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-latest-promotions__cta-buttons,
  .page-blog-latest-promotions__button-group,
  .page-blog-latest-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-blog-latest-promotions__cta-buttons {
    flex-direction: column;
  }
}