:root {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --card-bg: #D32F2F;
  --background-main: #B71C1C;
  --text-main: #FFF5E1;
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red: #7A0E0E;
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-contrast-dark: #000000; /* For light backgrounds */
  --text-contrast-light: #ffffff; /* For dark backgrounds */
}

.page-blog-helo888-win-game-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: var(--background-main); /* Assuming this is a section background */
}

.page-blog-helo888-win-game-guide a {
  color: var(--gold-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog-helo888-win-game-guide a:hover {
  color: var(--glow-color);
  text-decoration: underline;
}

.page-blog-helo888-win-game-guide__section-title {
  font-size: 2.5em;
  color: var(--text-main); /* Assuming section titles are on dark backgrounds */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-blog-helo888-win-game-guide__sub-title {
  font-size: 1.8em;
  color: var(--gold-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-helo888-win-game-guide__text-block,
.page-blog-helo888-win-game-guide ol,
.page-blog-helo888-win-game-guide ul {
  color: var(--text-main); /* Text on dark section background */
  font-size: 1.1em;
  margin-bottom: 1em;
}

.page-blog-helo888-win-game-guide ol li,
.page-blog-helo888-win-game-guide ul li {
  margin-bottom: 0.5em;
  padding-left: 10px;
}

/* Hero Section */
.page-blog-helo888-win-game-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: var(--deep-red); /* Dark background for hero */
  overflow: hidden; /* Ensure no image overflow */
}

.page-blog-helo888-win-game-guide__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure it takes full width within max-width */
}

.page-blog-helo888-win-game-guide__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-blog-helo888-win-game-guide__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.page-blog-helo888-win-game-guide__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-blog-helo888-win-game-guide__main-title {
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--gold-color);
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
  font-size: clamp(2.2em, 4vw, 3.5em);
}

.page-blog-helo888-win-game-guide__hero-description {
  font-size: 1.2em;
  color: var(--text-main);
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.5;
}

/* CTA Button Styles */
.page-blog-helo888-win-game-guide__cta-button,
.page-blog-helo888-win-game-guide__btn-primary,
.page-blog-helo888-win-game-guide__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-blog-helo888-win-game-guide__cta-button:hover,
.page-blog-helo888-win-game-guide__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-blog-helo888-win-game-guide__btn-secondary {
  background: var(--card-bg); /* Use deep red for secondary button */
  border-color: var(--deep-red);
  margin-left: 20px;
}

.page-blog-helo888-win-game-guide__btn-secondary:hover {
  background: var(--deep-red);
  filter: brightness(1.2);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* General Section Styles */
.page-blog-helo888-win-game-guide__section {
  padding: 80px 20px;
  background-color: var(--background-main); /* Consistent background for sections */
  color: var(--text-main);
}

.page-blog-helo888-win-game-guide__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-blog-helo888-win-game-guide__center-content {
  text-align: center;
}

/* Content Grid for text and image */
.page-blog-helo888-win-game-guide__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-blog-helo888-win-game-guide__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-blog-helo888-win-game-guide__image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-helo888-win-game-guide__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px; /* Enforce minimum image size */
}

.page-blog-helo888-win-game-guide__text-content {
  flex: 1.5;
  min-width: 300px;
}

/* FAQ Section */
.page-blog-helo888-win-game-guide__faq-section {
  background-color: var(--deep-red); /* Darker background for contrast */
  padding-bottom: 80px;
}

.page-blog-helo888-win-game-guide__faq-list {
  margin-top: 40px;
}

details.page-blog-helo888-win-game-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg); /* Dark card background */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
details.page-blog-helo888-win-game-guide__faq-item summary.page-blog-helo888-win-game-guide__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, border-color 0.3s ease;
  color: var(--text-main); /* Light text on dark card */
  font-weight: 600;
  font-size: 1.1em;
}
details.page-blog-helo888-win-game-guide__faq-item summary.page-blog-helo888-win-game-guide__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-helo888-win-game-guide__faq-item summary.page-blog-helo888-win-game-guide__faq-question:hover {
  background: var(--deep-red); /* Slightly darker on hover */
  border-color: var(--glow-color);
}
.page-blog-helo888-win-game-guide__faq-qtext {
  flex: 1;
  font-size: 1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-blog-helo888-win-game-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-helo888-win-game-guide__faq-item .page-blog-helo888-win-game-guide__faq-answer {
  padding: 0 25px 20px;
  background: var(--deep-red); /* Darker background for answer */
  border-radius: 0 0 10px 10px;
  color: var(--text-main);
  font-size: 1em;
}

/* Latest Blog Section */
.page-blog-helo888-win-game-guide__latest-blog-section {
  background-color: var(--background-main);
  padding-bottom: 80px;
}

.page-blog-helo888-win-game-guide__blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-helo888-win-game-guide__blog-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-blog-helo888-win-game-guide__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-blog-helo888-win-game-guide__blog-image-wrapper {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  overflow: hidden;
}

.page-blog-helo888-win-game-guide__blog-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px; /* Enforce minimum image size */
}

.page-blog-helo888-win-game-guide__blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  color: var(--text-main);
}

.page-blog-helo888-win-game-guide__blog-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  line-height: 1.3;
  font-weight: bold;
}

.page-blog-helo888-win-game-guide__blog-title a {
  color: var(--gold-color);
  text-decoration: none;
}

.page-blog-helo888-win-game-guide__blog-title a:hover {
  color: var(--glow-color);
  text-decoration: underline;
}

.page-blog-helo888-win-game-guide__blog-excerpt {
  font-size: 0.95em;
  margin-bottom: 15px;
  flex-grow: 1;
  color: var(--text-main);
}

.page-blog-helo888-win-game-guide__blog-date {
  font-size: 0.85em;
  color: var(--gold-color);
  opacity: 0.8;
  align-self: flex-end;
}

.page-blog-helo888-win-game-guide__view-all {
  text-align: center;
  margin-top: 50px;
}

/* Button Group */
.page-blog-helo888-win-game-guide__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on mobile */
  width: 100%; /* Ensure button group takes full width */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-helo888-win-game-guide__content-grid {
    flex-direction: column;
  }
  .page-blog-helo888-win-game-guide__content-grid--reverse {
    flex-direction: column; /* Revert order for mobile */
  }
}

@media (max-width: 768px) {
  .page-blog-helo888-win-game-guide__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-blog-helo888-win-game-guide__hero-image img {
    border-radius: 8px;
  }
  
  .page-blog-helo888-win-game-guide__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust clamp for smaller screens */
  }

  .page-blog-helo888-win-game-guide__hero-description {
    font-size: 1em;
  }

  .page-blog-helo888-win-game-guide__section {
    padding: 60px 15px;
  }

  .page-blog-helo888-win-game-guide__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-blog-helo888-win-game-guide__sub-title {
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-blog-helo888-win-game-guide__text-block,
  .page-blog-helo888-win-game-guide ol,
  .page-blog-helo888-win-game-guide ul {
    font-size: 1em;
  }

  .page-blog-helo888-win-game-guide__image-wrapper {
    min-width: unset; /* Allow flex to manage width */
  }

  .page-blog-helo888-win-game-guide__text-content {
    min-width: unset; /* Allow flex to manage width */
  }

  /* Image responsiveness */
  .page-blog-helo888-win-game-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-blog-helo888-win-game-guide__section,
  .page-blog-helo888-win-game-guide__card,
  .page-blog-helo888-win-game-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsiveness */
  .page-blog-helo888-win-game-guide__cta-button,
  .page-blog-helo888-win-game-guide__btn-primary,
  .page-blog-helo888-win-game-guide__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
    margin-left: 0;
    margin-top: 15px;
  }
  
  .page-blog-helo888-win-game-guide__button-group {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ Styles for Mobile */
  details.page-blog-helo888-win-game-guide__faq-item summary.page-blog-helo888-win-game-guide__faq-question { padding: 15px; }
  .page-blog-helo888-win-game-guide__faq-qtext { font-size: 1em; }
  .page-blog-helo888-win-game-guide__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-blog-helo888-win-game-guide__faq-item .page-blog-helo888-win-game-guide__faq-answer {
    padding: 0 15px 15px;
  }

  /* Blog Card Mobile */
  .page-blog-helo888-win-game-guide__blog-image-wrapper {
    height: 180px;
  }
  .page-blog-helo888-win-game-guide__blog-title {
    font-size: 1.2em;
  }
  .page-blog-helo888-win-game-guide__blog-excerpt {
    font-size: 0.9em;
  }
}