/* style/blog-hi8win-game-strategy.css */

:root {
  --hi8win-primary-color: #26A9E0;
  --hi8win-secondary-color: #FFFFFF;
  --hi8win-login-color: #EA7C07;
  --hi8win-bg-color: #0a0a0a; /* Body background from shared.css */
  --hi8win-text-light: #ffffff;
  --hi8win-text-dark: #333333;
  --hi8win-card-bg-dark-section: rgba(255, 255, 255, 0.1);
  --hi8win-card-bg-light-section: #ffffff;
}

.page-blog-hi8win-game-strategy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--hi8win-text-light); /* Default text color for dark body background */
  background-color: var(--hi8win-bg-color);
}

.page-blog-hi8win-game-strategy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
  background: linear-gradient(135deg, #1a7bbd, #26A9E0);
  overflow: hidden;
}

.page-blog-hi8win-game-strategy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog-hi8win-game-strategy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-blog-hi8win-game-strategy__hero-content {
  position: relative; /* Ensure content is above the dimming effect */
  z-index: 10;
  max-width: 900px;
  text-align: center;
  padding: 20px;
  color: var(--hi8win-text-light);
}

.page-blog-hi8win-game-strategy__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--hi8win-secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
}

.page-blog-hi8win-game-strategy__intro-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: var(--hi8win-secondary-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-blog-hi8win-game-strategy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-hi8win-game-strategy__btn-primary {
  background-color: var(--hi8win-login-color);
  color: var(--hi8win-secondary-color);
  border: 2px solid var(--hi8win-login-color);
}

.page-blog-hi8win-game-strategy__btn-primary:hover {
  background-color: #e06c00;
  transform: translateY(-2px);
}

.page-blog-hi8win-game-strategy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-blog-hi8win-game-strategy__dark-bg {
  background-color: var(--hi8win-bg-color);
  color: var(--hi8win-text-light);
}

.page-blog-hi8win-game-strategy__light-bg {
  background-color: var(--hi8win-secondary-color);
  color: var(--hi8win-text-dark);
}

.page-blog-hi8win-game-strategy__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: var(--hi8win-primary-color);
}

.page-blog-hi8win-game-strategy__dark-bg .page-blog-hi8win-game-strategy__section-title,
.page-blog-hi8win-game-strategy__dark-bg h3 {
  color: var(--hi8win-secondary-color);
}

.page-blog-hi8win-game-strategy__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-hi8win-game-strategy__game-card {
  background-color: var(--hi8win-card-bg-light-section);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--hi8win-text-dark);
  transition: transform 0.3s ease;
}

.page-blog-hi8win-game-strategy__dark-bg .page-blog-hi8win-game-strategy__game-card {
  background-color: var(--hi8win-card-bg-dark-section);
  color: var(--hi8win-text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-hi8win-game-strategy__game-card:hover {
  transform: translateY(-5px);
}

.page-blog-hi8win-game-strategy__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

.page-blog-hi8win-game-strategy__game-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--hi8win-primary-color);
}

.page-blog-hi8win-game-strategy__dark-bg .page-blog-hi8win-game-strategy__game-title {
  color: var(--hi8win-secondary-color);
}

.page-blog-hi8win-game-strategy__game-card p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.page-blog-hi8win-game-strategy__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  background-color: transparent;
  border: 2px solid var(--hi8win-primary-color);
  color: var(--hi8win-primary-color);
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-hi8win-game-strategy__btn-secondary:hover {
  background-color: var(--hi8win-primary-color);
  color: var(--hi8win-secondary-color);
}

.page-blog-hi8win-game-strategy__dark-bg .page-blog-hi8win-game-strategy__btn-secondary {
  border-color: var(--hi8win-secondary-color);
  color: var(--hi8win-secondary-color);
}

.page-blog-hi8win-game-strategy__dark-bg .page-blog-hi8win-game-strategy__btn-secondary:hover {
  background-color: var(--hi8win-secondary-color);
  color: var(--hi8win-bg-color);
}

.page-blog-hi8win-game-strategy__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-blog-hi8win-game-strategy__strategy-item {
  background-color: var(--hi8win-card-bg-dark-section);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-hi8win-game-strategy__strategy-item a {
  color: var(--hi8win-primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-blog-hi8win-game-strategy__strategy-item a:hover {
  text-decoration: underline;
}

.page-blog-hi8win-game-strategy__strategy-title {
  font-size: 1.8rem;
  color: var(--hi8win-secondary-color);
  margin-bottom: 15px;
}

.page-blog-hi8win-game-strategy__strategy-item p {
  font-size: 1.1rem;
  color: var(--hi8win-text-light);
}

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

.page-blog-hi8win-game-strategy__strategy-card {
  background-color: var(--hi8win-card-bg-light-section);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--hi8win-text-dark);
  transition: transform 0.3s ease;
}

.page-blog-hi8win-game-strategy__strategy-card:hover {
  transform: translateY(-5px);
}

.page-blog-hi8win-game-strategy__strategy-card-title {
  font-size: 1.6rem;
  color: var(--hi8win-primary-color);
  margin-bottom: 15px;
}

.page-blog-hi8win-game-strategy__strategy-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

.page-blog-hi8win-game-strategy__advanced-tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-blog-hi8win-game-strategy__tip-item {
  background-color: var(--hi8win-card-bg-dark-section);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-hi8win-game-strategy__tip-item h3 {
  color: var(--hi8win-secondary-color);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.page-blog-hi8win-game-strategy__tip-item p {
  color: var(--hi8win-text-light);
  font-size: 1.1rem;
}

.page-blog-hi8win-game-strategy__tip-item a {
  color: var(--hi8win-primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-blog-hi8win-game-strategy__tip-item a:hover {
  text-decoration: underline;
}

.page-blog-hi8win-game-strategy__faq-section {
  padding: 60px 20px;
  background-color: var(--hi8win-secondary-color);
  color: var(--hi8win-text-dark);
}

.page-blog-hi8win-game-strategy__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-blog-hi8win-game-strategy__faq-item {
  background-color: var(--hi8win-card-bg-light-section);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-blog-hi8win-game-strategy__faq-item details {
  width: 100%;
}

.page-blog-hi8win-game-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--hi8win-primary-color);
  background-color: #f8f8f8;
  border-radius: 8px;
  list-style: none;
}

.page-blog-hi8win-game-strategy__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-hi8win-game-strategy__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hi8win-primary-color);
  margin-left: 15px;
}

.page-blog-hi8win-game-strategy__faq-item[open] .page-blog-hi8win-game-strategy__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-blog-hi8win-game-strategy__faq-answer {
  padding: 20px 25px;
  font-size: 1.05rem;
  color: var(--hi8win-text-dark);
  background-color: var(--hi8win-secondary-color);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.page-blog-hi8win-game-strategy__faq-answer a {
  color: var(--hi8win-primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-blog-hi8win-game-strategy__faq-answer a:hover {
  text-decoration: underline;
}

.page-blog-hi8win-game-strategy__cta-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #1a7bbd, #26A9E0);
  color: var(--hi8win-text-light);
}

.page-blog-hi8win-game-strategy__cta-section .page-blog-hi8win-game-strategy__section-title {
  color: var(--hi8win-secondary-color);
}

.page-blog-hi8win-game-strategy__cta-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--hi8win-secondary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-hi8win-game-strategy__main-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
  }
  .page-blog-hi8win-game-strategy__section-title {
    font-size: 2rem;
  }
  .page-blog-hi8win-game-strategy__game-card, .page-blog-hi8win-game-strategy__strategy-card {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .page-blog-hi8win-game-strategy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-hi8win-game-strategy__hero-section {
    padding: 10px 15px 40px 15px;
  }

  .page-blog-hi8win-game-strategy__main-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    margin-bottom: 15px;
  }

  .page-blog-hi8win-game-strategy__intro-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-blog-hi8win-game-strategy__cta-button,
  .page-blog-hi8win-game-strategy__btn-primary,
  .page-blog-hi8win-game-strategy__btn-secondary,
  .page-blog-hi8win-game-strategy a[class*="button"],
  .page-blog-hi8win-game-strategy 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;
    padding-right: 15px;
    margin-bottom: 10px; /* Add margin for stacking buttons */
  }
  
  .page-blog-hi8win-game-strategy__game-list,
  .page-blog-hi8win-game-strategy__game-strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-hi8win-game-strategy__content-area {
    padding: 40px 15px;
  }

  .page-blog-hi8win-game-strategy__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-blog-hi8win-game-strategy__game-image,
  .page-blog-hi8win-game-strategy__strategy-card-image,
  .page-blog-hi8win-game-strategy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-hi8win-game-strategy__game-card,
  .page-blog-hi8win-game-strategy__strategy-card,
  .page-blog-hi8win-game-strategy__strategy-item,
  .page-blog-hi8win-game-strategy__tip-item,
  .page-blog-hi8win-game-strategy__faq-item,
  .page-blog-hi8win-game-strategy__hero-image-wrapper,
  .page-blog-hi8win-game-strategy__video-section,
  .page-blog-hi8win-game-strategy__video-container,
  .page-blog-hi8win-game-strategy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog-hi8win-game-strategy__faq-section {
    padding: 40px 15px;
  }

  .page-blog-hi8win-game-strategy__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-blog-hi8win-game-strategy__faq-answer {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-blog-hi8win-game-strategy__cta-section {
    padding: 60px 15px;
  }

  .page-blog-hi8win-game-strategy__cta-section p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .page-blog-hi8win-game-strategy__main-title {
    font-size: clamp(1.6rem, 7vw, 2.5rem);
  }
  .page-blog-hi8win-game-strategy__section-title {
    font-size: 1.6rem;
  }
  .page-blog-hi8win-game-strategy__game-title,
  .page-blog-hi8win-game-strategy__strategy-title,
  .page-blog-hi8win-game-strategy__strategy-card-title,
  .page-blog-hi8win-game-strategy__tip-item h3 {
    font-size: 1.3rem;
  }
  .page-blog-hi8win-game-strategy__faq-question {
    font-size: 1rem;
  }
}