/* style/blog-go888-latest-games-promotions.css */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --main-bg: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-blog-go888-latest-games-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--main-bg); /* Main background color */
}

.page-blog-go888-latest-games-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog-go888-latest-games-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  background-color: var(--main-bg);
}

.page-blog-go888-latest-games-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit hero image height */
  overflow: hidden;
}

.page-blog-go888-latest-games-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-go888-latest-games-promotions__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 800px;
  margin-top: -100px; /* Pull content up over image slightly for visual flow, but not overlap text */
  background-color: rgba(17, 39, 27, 0.8); /* Semi-transparent card-bg for readability */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid var(--border-color);
}

.page-blog-go888-latest-games-promotions__main-title {
  color: var(--text-main);
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-go888-latest-games-promotions__intro-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

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

.page-blog-go888-latest-games-promotions__btn-primary,
.page-blog-go888-latest-games-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-go888-latest-games-promotions__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-blog-go888-latest-games-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
}

.page-blog-go888-latest-games-promotions__btn-secondary {
  background: var(--card-bg);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.page-blog-go888-latest-games-promotions__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-main);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-blog-go888-latest-games-promotions__section-title {
  color: var(--gold-color);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  padding-top: 40px;
}

.page-blog-go888-latest-games-promotions__section-description {
  color: var(--text-secondary);
  text-align: center;
  font-size: 1.05rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-blog-go888-latest-games-promotions__features-section,
.page-blog-go888-latest-games-promotions__games-showcase,
.page-blog-go888-latest-games-promotions__promotions-section,
.page-blog-go888-latest-games-promotions__blog-news-section,
.page-blog-go888-latest-games-promotions__faq-section,
.page-blog-go888-latest-games-promotions__download-app-section,
.page-blog-go888-latest-games-promotions__about-us-summary {
  padding: 60px 0;
  background-color: var(--main-bg);
}

/* Feature Grid */
.page-blog-go888-latest-games-promotions__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog-go888-latest-games-promotions__feature-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.page-blog-go888-latest-games-promotions__feature-card:hover {
  transform: translateY(-10px);
}

.page-blog-go888-latest-games-promotions__feature-icon {
  width: 100%;
  max-width: 250px; /* Ensure images are not too small */
  height: auto;
  margin-bottom: 20px;
  border-radius: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-go888-latest-games-promotions__feature-title {
  color: var(--text-main);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.page-blog-go888-latest-games-promotions__feature-description {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Game Showcase */
.page-blog-go888-latest-games-promotions__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-blog-go888-latest-games-promotions__game-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog-go888-latest-games-promotions__game-card:hover {
  transform: translateY(-10px);
}

.page-blog-go888-latest-games-promotions__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-go888-latest-games-promotions__game-title {
  padding: 20px 20px 0;
  font-size: 1.4rem;
  margin-bottom: 10px;
  flex-grow: 1;
}

.page-blog-go888-latest-games-promotions__game-title a {
  color: var(--gold-color);
  text-decoration: none;
}

.page-blog-go888-latest-games-promotions__game-title a:hover {
  text-decoration: underline;
}

.page-blog-go888-latest-games-promotions__game-description {
  color: var(--text-secondary);
  padding: 0 20px 20px;
  font-size: 0.95rem;
}

.page-blog-go888-latest-games-promotions__game-card .page-blog-go888-latest-games-promotions__btn-secondary {
  margin: 0 20px 20px;
  text-align: center;
}

.page-blog-go888-latest-games-promotions__view-all-games-wrapper {
  text-align: center;
}

/* Promotions Section */
.page-blog-go888-latest-games-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-blog-go888-latest-games-promotions__promo-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog-go888-latest-games-promotions__promo-card:hover {
  transform: translateY(-10px);
}

.page-blog-go888-latest-games-promotions__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-go888-latest-games-promotions__promo-title {
  padding: 20px 20px 0;
  font-size: 1.4rem;
  margin-bottom: 10px;
  flex-grow: 1;
}

.page-blog-go888-latest-games-promotions__promo-title a {
  color: var(--gold-color);
  text-decoration: none;
}

.page-blog-go888-latest-games-promotions__promo-title a:hover {
  text-decoration: underline;
}

.page-blog-go888-latest-games-promotions__promo-description {
  color: var(--text-secondary);
  padding: 0 20px 20px;
  font-size: 0.95rem;
}

.page-blog-go888-latest-games-promotions__promo-card .page-blog-go888-latest-games-promotions__btn-secondary {
  margin: 0 20px 20px;
  text-align: center;
}

.page-blog-go888-latest-games-promotions__view-all-promos-wrapper {
  text-align: center;
}

/* Blog/News Section */
.page-blog-go888-latest-games-promotions__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-blog-go888-latest-games-promotions__article-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog-go888-latest-games-promotions__article-card:hover {
  transform: translateY(-10px);
}

.page-blog-go888-latest-games-promotions__article-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-go888-latest-games-promotions__article-title {
  padding: 20px 20px 0;
  font-size: 1.4rem;
  margin-bottom: 10px;
  flex-grow: 1;
}

.page-blog-go888-latest-games-promotions__article-title a {
  color: var(--text-main);
  text-decoration: none;
}

.page-blog-go888-latest-games-promotions__article-title a:hover {
  text-decoration: underline;
  color: var(--gold-color);
}

.page-blog-go888-latest-games-promotions__article-meta {
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 0 20px;
  margin-bottom: 10px;
}

.page-blog-go888-latest-games-promotions__article-excerpt {
  color: var(--text-secondary);
  padding: 0 20px 20px;
  font-size: 0.95rem;
}

.page-blog-go888-latest-games-promotions__btn-text {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  padding: 0 20px 20px;
}

.page-blog-go888-latest-games-promotions__btn-text:hover {
  text-decoration: underline;
  color: var(--gold-color);
}

.page-blog-go888-latest-games-promotions__view-all-articles-wrapper {
  text-align: center;
}

/* FAQ Section */
.page-blog-go888-latest-games-promotions__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-go888-latest-games-promotions__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.page-blog-go888-latest-games-promotions__faq-item summary {
  list-style: none; /* Remove default marker */
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
  font-weight: bold;
  font-size: 1.1rem;
}

.page-blog-go888-latest-games-promotions__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-blog-go888-latest-games-promotions__faq-qtext {
  flex-grow: 1;
}

.page-blog-go888-latest-games-promotions__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-blog-go888-latest-games-promotions__faq-item[open] .page-blog-go888-latest-games-promotions__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
  color: var(--gold-color);
}

.page-blog-go888-latest-games-promotions__faq-answer {
  padding: 0 20px 20px;
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Download App Section */
.page-blog-go888-latest-games-promotions__download-app-section .page-blog-go888-latest-games-promotions__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.page-blog-go888-latest-games-promotions__download-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-blog-go888-latest-games-promotions__download-content .page-blog-go888-latest-games-promotions__section-title {
  text-align: left;
  padding-top: 0;
}

.page-blog-go888-latest-games-promotions__download-content .page-blog-go888-latest-games-promotions__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-blog-go888-latest-games-promotions__app-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.page-blog-go888-latest-games-promotions__download-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-blog-go888-latest-games-promotions__download-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
  min-width: 200px;
  min-height: 200px;
}

/* About Us Summary */
.page-blog-go888-latest-games-promotions__about-us-summary {
  text-align: center;
}

.page-blog-go888-latest-games-promotions__about-us-summary .page-blog-go888-latest-games-promotions__section-title {
  color: var(--text-main);
}

.page-blog-go888-latest-games-promotions__about-us-summary .page-blog-go888-latest-games-promotions__section-description {
  max-width: 900px;
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-go888-latest-games-promotions__hero-content {
    margin-top: -50px;
  }
}

@media (max-width: 768px) {
  .page-blog-go888-latest-games-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-go888-latest-games-promotions__container {
    padding: 0 15px;
  }

  .page-blog-go888-latest-games-promotions__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
  }

  .page-blog-go888-latest-games-promotions__hero-content {
    padding: 20px 15px;
    margin-top: -30px;
  }

  .page-blog-go888-latest-games-promotions__main-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .page-blog-go888-latest-games-promotions__intro-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-blog-go888-latest-games-promotions__cta-buttons,
  .page-blog-go888-latest-games-promotions__app-buttons {
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-blog-go888-latest-games-promotions__btn-primary,
  .page-blog-go888-latest-games-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-blog-go888-latest-games-promotions__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    padding-top: 30px;
  }

  .page-blog-go888-latest-games-promotions__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-blog-go888-latest-games-promotions__features-section,
  .page-blog-go888-latest-games-promotions__games-showcase,
  .page-blog-go888-latest-games-promotions__promotions-section,
  .page-blog-go888-latest-games-promotions__blog-news-section,
  .page-blog-go888-latest-games-promotions__faq-section,
  .page-blog-go888-latest-games-promotions__download-app-section,
  .page-blog-go888-latest-games-promotions__about-us-summary {
    padding: 40px 0;
  }

  .page-blog-go888-latest-games-promotions__feature-grid,
  .page-blog-go888-latest-games-promotions__game-grid,
  .page-blog-go888-latest-games-promotions__promo-grid,
  .page-blog-go888-latest-games-promotions__article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-go888-latest-games-promotions__feature-icon,
  .page-blog-go888-latest-games-promotions__game-image,
  .page-blog-go888-latest-games-promotions__promo-image,
  .page-blog-go888-latest-games-promotions__article-image,
  .page-blog-go888-latest-games-promotions__download-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    box-sizing: border-box !important;
  }

  .page-blog-go888-latest-games-promotions__feature-card,
  .page-blog-go888-latest-games-promotions__game-card,
  .page-blog-go888-latest-games-promotions__promo-card,
  .page-blog-go888-latest-games-promotions__article-card,
  .page-blog-go888-latest-games-promotions__download-app-section .page-blog-go888-latest-games-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog-go888-latest-games-promotions__download-app-section .page-blog-go888-latest-games-promotions__container {
    flex-direction: column;
  }

  .page-blog-go888-latest-games-promotions__download-content {
    text-align: center;
  }

  .page-blog-go888-latest-games-promotions__download-content .page-blog-go888-latest-games-promotions__section-title,
  .page-blog-go888-latest-games-promotions__download-content .page-blog-go888-latest-games-promotions__section-description {
    text-align: center;
  }

  .page-blog-go888-latest-games-promotions__app-buttons {
    justify-content: center;
  }

  .page-blog-go888-latest-games-promotions__game-card .page-blog-go888-latest-games-promotions__btn-secondary,
  .page-blog-go888-latest-games-promotions__promo-card .page-blog-go888-latest-games-promotions__btn-secondary {
    margin-left: 15px;
    margin-right: 15px;
  }

  /* Ensure all content area images are at least 200px wide/high */
  .page-blog-go888-latest-games-promotions img {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-blog-go888-latest-games-promotions__hero-image-wrapper,
  .page-blog-go888-latest-games-promotions__hero-content,
  .page-blog-go888-latest-games-promotions__features-section .page-blog-go888-latest-games-promotions__container,
  .page-blog-go888-latest-games-promotions__games-showcase .page-blog-go888-latest-games-promotions__container,
  .page-blog-go888-latest-games-promotions__promotions-section .page-blog-go888-latest-games-promotions__container,
  .page-blog-go888-latest-games-promotions__blog-news-section .page-blog-go888-latest-games-promotions__container,
  .page-blog-go888-latest-games-promotions__faq-section .page-blog-go888-latest-games-promotions__container,
  .page-blog-go888-latest-games-promotions__download-app-section .page-blog-go888-latest-games-promotions__container,
  .page-blog-go888-latest-games-promotions__about-us-summary .page-blog-go888-latest-games-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-blog-go888-latest-games-promotions__hero-content {
    margin-top: -20px;
  }

  .page-blog-go888-latest-games-promotions__main-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

  .page-blog-go888-latest-games-promotions__section-title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }
}