/* style/blog-89win-popular-games-deep-dive.css */

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

.page-blog-89win-popular-games-deep-dive {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--background-color);
  line-height: 1.6;
}

.page-blog-89win-popular-games-deep-dive__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-89win-popular-games-deep-dive__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-blog-89win-popular-games-deep-dive__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.page-blog-89win-popular-games-deep-dive__hero-content {
  position: absolute;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.4); /* Slightly dark overlay for text readability */
  border-radius: 8px;
  bottom: 20%; /* Adjusted to be below the image, but still visually prominent */
  left: 50%;
  transform: translateX(-50%);
}

.page-blog-89win-popular-games-deep-dive__main-title {
  font-weight: 700;
  color: var(--gold-color);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
  max-width: 90%; /* Ensure H1 doesn't overflow */
  margin-left: auto;
  margin-right: auto;
}

.page-blog-89win-popular-games-deep-dive__hero-description {
  color: var(--text-main);
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-blog-89win-popular-games-deep-dive__btn-primary,
.page-blog-89win-popular-games-deep-dive__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-89win-popular-games-deep-dive__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-89win-popular-games-deep-dive__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-blog-89win-popular-games-deep-dive__btn-secondary {
  background-color: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
  margin-left: 15px;
}

.page-blog-89win-popular-games-deep-dive__btn-secondary:hover {
  background-color: var(--gold-color);
  color: var(--background-color);
}

.page-blog-89win-popular-games-deep-dive__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--gold-color);
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-blog-89win-popular-games-deep-dive__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-main);
  text-align: justify;
}

.page-blog-89win-popular-games-deep-dive__introduction-section,
.page-blog-89win-popular-games-deep-dive__games-section,
.page-blog-89win-popular-games-deep-dive__promotions-section,
.page-blog-89win-popular-games-deep-dive__faq-section {
  background-color: var(--background-color);
  padding: 60px 0;
}

.page-blog-89win-popular-games-deep-dive__features-section,
.page-blog-89win-popular-games-deep-dive__get-started-section,
.page-blog-89win-popular-games-deep-dive__why-choose-section,
.page-blog-89win-popular-games-deep-dive__cta-section {
  background-color: var(--card-bg);
  padding: 60px 0;
}

.page-blog-89win-popular-games-deep-dive__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-blog-89win-popular-games-deep-dive__feature-item {
  background-color: var(--deep-green);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-blog-89win-popular-games-deep-dive__feature-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-blog-89win-popular-games-deep-dive__feature-description {
  color: var(--text-secondary);
  font-size: 1em;
}

.page-blog-89win-popular-games-deep-dive__game-category {
  margin-bottom: 60px;
  text-align: center;
}

.page-blog-89win-popular-games-deep-dive__game-title {
  font-size: 2em;
  color: var(--gold-color);
  margin-bottom: 25px;
  text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-blog-89win-popular-games-deep-dive__game-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--border-color);
}

.page-blog-89win-popular-games-deep-dive__game-description {
  color: var(--text-main);
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
}

.page-blog-89win-popular-games-deep-dive__step-by-step {
  background-color: var(--deep-green);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-89win-popular-games-deep-dive__step-title {
  font-size: 1.6em;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-blog-89win-popular-games-deep-dive__step-description {
  color: var(--text-secondary);
  font-size: 1em;
  margin-bottom: 20px;
}

.page-blog-89win-popular-games-deep-dive__step-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin: 20px auto;
  display: block;
  border: 1px solid var(--border-color);
}

.page-blog-89win-popular-games-deep-dive__promo-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-blog-89win-popular-games-deep-dive__promo-item {
  background-color: var(--deep-green);
  color: var(--text-main);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 40px;
}

.page-blog-89win-popular-games-deep-dive__promo-item::before {
  content: '✓';
  color: var(--gold-color);
  font-weight: bold;
  position: absolute;
  left: 15px;
  top: 20px;
}

.page-blog-89win-popular-games-deep-dive__faq-list {
  margin-top: 30px;
}

.page-blog-89win-popular-games-deep-dive__faq-item {
  background-color: var(--deep-green);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-89win-popular-games-deep-dive__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--gold-color);
  cursor: pointer;
  background-color: var(--deep-green);
  position: relative;
  list-style: none; /* For details/summary */
}

.page-blog-89win-popular-games-deep-dive__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-blog-89win-popular-games-deep-dive__faq-qtext {
  flex-grow: 1;
}

.page-blog-89win-popular-games-deep-dive__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog-89win-popular-games-deep-dive__faq-item[open] .page-blog-89win-popular-games-deep-dive__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-89win-popular-games-deep-dive__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--text-secondary);
  font-size: 1em;
  text-align: justify;
}

.page-blog-89win-popular-games-deep-dive__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* --- Responsive Design --- */

/* Tablet */
@media (max-width: 1024px) {
  .page-blog-89win-popular-games-deep-dive__main-title {
    font-size: 2.5em;
  }

  .page-blog-89win-popular-games-deep-dive__section-title {
    font-size: 2em;
  }

  .page-blog-89win-popular-games-deep-dive__hero-content {
    bottom: 10%;
  }

  .page-blog-89win-popular-games-deep-dive__feature-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Mobile */
@media (max-width: 768px) {
  .page-blog-89win-popular-games-deep-dive {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-89win-popular-games-deep-dive__container {
    padding: 0 15px;
  }

  .page-blog-89win-popular-games-deep-dive__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-blog-89win-popular-games-deep-dive__hero-content {
    position: static;
    transform: none;
    margin-top: 20px;
    background-color: transparent; /* Remove background for mobile to simplify */
    border-radius: 0;
    padding: 0;
  }

  .page-blog-89win-popular-games-deep-dive__main-title {
    font-size: 1.8em;
    margin-bottom: 10px;
  }

  .page-blog-89win-popular-games-deep-dive__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-blog-89win-popular-games-deep-dive__btn-primary,
  .page-blog-89win-popular-games-deep-dive__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 15px;
    padding: 10px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-blog-89win-popular-games-deep-dive__btn-secondary {
    margin-top: 0; /* Ensure no extra margin for vertical stacking */
  }

  .page-blog-89win-popular-games-deep-dive__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-blog-89win-popular-games-deep-dive__text-block {
    font-size: 0.95em;
  }

  .page-blog-89win-popular-games-deep-dive__feature-list {
    grid-template-columns: 1fr;
  }

  .page-blog-89win-popular-games-deep-dive__game-title {
    font-size: 1.5em;
  }

  .page-blog-89win-popular-games-deep-dive__game-image,
  .page-blog-89win-popular-games-deep-dive__step-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Image containers */
  .page-blog-89win-popular-games-deep-dive__hero-section,
  .page-blog-89win-popular-games-deep-dive__game-category,
  .page-blog-89win-popular-games-deep-dive__step-by-step,
  .page-blog-89win-popular-games-deep-dive__cta-section,
  .page-blog-89win-popular-games-deep-dive__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-blog-89win-popular-games-deep-dive__promo-list {
    grid-template-columns: 1fr;
  }

  .page-blog-89win-popular-games-deep-dive__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-blog-89win-popular-games-deep-dive__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .page-blog-89win-popular-games-deep-dive__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-89win-popular-games-deep-dive__btn-primary,
  .page-blog-89win-popular-games-deep-dive__btn-secondary {
    margin-left: 0;
  }
}

/* Ensure color contrast for all elements */
.page-blog-89win-popular-games-deep-dive__dark-section {
  color: var(--text-main); /* Light text on dark background */
}

.page-blog-89win-popular-games-deep-dive__light-bg {
  color: #333333; /* Dark text on light background (card-bg is lighter than main background) */
  background-color: var(--card-bg);
}

.page-blog-89win-popular-games-deep-dive__light-bg .page-blog-89win-popular-games-deep-dive__section-title {
  color: var(--gold-color); /* Gold titles still look good on card-bg */
}

.page-blog-89win-popular-games-deep-dive__light-bg .page-blog-89win-popular-games-deep-dive__text-block {
  color: var(--text-main); /* Keep main text color consistent */
}

.page-blog-89win-popular-games-deep-dive__light-bg .page-blog-89win-popular-games-deep-dive__step-title {
  color: var(--gold-color);
}

.page-blog-89win-popular-games-deep-dive__light-bg .page-blog-89win-popular-games-deep-dive__step-description {
  color: var(--text-secondary);
}

.page-blog-89win-popular-games-deep-dive__light-bg .page-blog-89win-popular-games-deep-dive__btn-secondary {
  color: var(--gold-color);
  border-color: var(--gold-color);
}

.page-blog-89win-popular-games-deep-dive__light-bg .page-blog-89win-popular-games-deep-dive__btn-secondary:hover {
  background-color: var(--gold-color);
  color: var(--background-color);
}