/* style/blog-surewin-popular-games-guide.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-surewin-popular-games-guide {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for dark body background */
  background-color: var(--background-color);
  line-height: 1.6;
}

.page-blog-surewin-popular-games-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Contrast Fixes based on body background */
.page-blog-surewin-popular-games-guide__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-blog-surewin-popular-games-guide__dark-bg {
  background-color: var(--background-color);
  color: var(--text-main);
}

.page-blog-surewin-popular-games-guide__card {
  background-color: var(--card-bg);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-surewin-popular-games-guide__highlight {
  color: var(--gold-color);
  font-weight: bold;
}

/* Hero Section */
.page-blog-surewin-popular-games-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-blog-surewin-popular-games-guide__hero-image-container {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-blog-surewin-popular-games-guide__hero-image {
  width: 1200px; /* Display width */
  height: 675px; /* Display height */
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-blog-surewin-popular-games-guide__hero-content {
  max-width: 900px;
  z-index: 1;
  color: var(--text-main);
}

.page-blog-surewin-popular-games-guide__main-title {
  font-size: clamp(2em, 5vw, 3.2em);
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--gold-color);
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
  line-height: 1.2;
}

.page-blog-surewin-popular-games-guide__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-blog-surewin-popular-games-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-surewin-popular-games-guide__btn-primary,
.page-blog-surewin-popular-games-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-surewin-popular-games-guide__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-surewin-popular-games-guide__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-blog-surewin-popular-games-guide__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-blog-surewin-popular-games-guide__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-blog-surewin-popular-games-guide__btn-centered {
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: fit-content;
  margin-top: 30px;
}

/* General Sections */
.page-blog-surewin-popular-games-guide__section-title {
  font-size: clamp(1.8em, 4vw, 2.8em);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--gold-color);
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-blog-surewin-popular-games-guide__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--text-secondary);
}

.page-blog-surewin-popular-games-guide__intro-section,
.page-blog-surewin-popular-games-guide__game-guides-section,
.page-blog-surewin-popular-games-guide__mobile-app-section,
.page-blog-surewin-popular-games-guide__faq-section {
  padding: 80px 0;
}

.page-blog-surewin-popular-games-guide__game-categories-section,
.page-blog-surewin-popular-games-guide__promotions-section,
.page-blog-surewin-popular-games-guide__security-support-section,
.page-blog-surewin-popular-games-guide__conclusion-section {
  padding: 80px 0;
  background-color: var(--background-color);
  color: var(--text-main);
}

.page-blog-surewin-popular-games-guide__text-block {
  font-size: 1em;
  margin-bottom: 15px;
  line-height: 1.7;
}

/* Game Categories */
.page-blog-surewin-popular-games-guide__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-surewin-popular-games-guide__game-card {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-blog-surewin-popular-games-guide__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-blog-surewin-popular-games-guide__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-blog-surewin-popular-games-guide__game-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--gold-color);
}

.page-blog-surewin-popular-games-guide__game-description {
  font-size: 0.95em;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-surewin-popular-games-guide__btn-text {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  display: block;
  transition: color 0.3s ease;
}

.page-blog-surewin-popular-games-guide__btn-text:hover {
  color: var(--secondary-color);
}

/* Game Guides */
.page-blog-surewin-popular-games-guide__guide-item {
  margin-bottom: 30px;
}

.page-blog-surewin-popular-games-guide__guide-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: left;
}

.page-blog-surewin-popular-games-guide__guide-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #333333;
}

.page-blog-surewin-popular-games-guide__guide-list li {
  margin-bottom: 8px;
  font-size: 1em;
}

.page-blog-surewin-popular-games-guide__guide-list strong {
  color: var(--deep-green);
}

/* Promotions Section */
.page-blog-surewin-popular-games-guide__promo-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-blog-surewin-popular-games-guide__promo-image {
  flex: 1 1 45%;
  min-width: 300px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-surewin-popular-games-guide__promo-list {
  flex: 1 1 45%;
  list-style-type: none;
  padding: 0;
  color: var(--text-main);
}

.page-blog-surewin-popular-games-guide__promo-list li {
  background-color: var(--card-bg);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  font-size: 1.05em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Mobile App Section */
.page-blog-surewin-popular-games-guide__app-benefits {
  list-style-type: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  color: #333333;
}

.page-blog-surewin-popular-games-guide__app-benefits li {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  padding-left: 45px;
}

.page-blog-surewin-popular-games-guide__app-benefits li::before {
  content: '✓';
  position: absolute;
  left: 15px;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2em;
}

/* FAQ Section */
.page-blog-surewin-popular-games-guide__faq-list {
  margin-top: 40px;
}

.page-blog-surewin-popular-games-guide__faq-item {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.page-blog-surewin-popular-games-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--text-main);
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--divider-color);
  transition: background-color 0.3s ease;
}

.page-blog-surewin-popular-games-guide__faq-question:hover {
  background-color: var(--deep-green);
}

.page-blog-surewin-popular-games-guide__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-surewin-popular-games-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--gold-color);
  margin-left: 15px;
}

.page-blog-surewin-popular-games-guide__faq-item[open] .page-blog-surewin-popular-games-guide__faq-question {
  border-bottom: 1px solid var(--primary-color);
}

.page-blog-surewin-popular-games-guide__faq-answer {
  padding: 15px 20px 20px 20px;
  font-size: 0.95em;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-blog-surewin-popular-games-guide__faq-answer p {
  margin-bottom: 10px;
}

/* Conclusion Section */
.page-blog-surewin-popular-games-guide__conclusion-section {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-surewin-popular-games-guide__hero-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-blog-surewin-popular-games-guide__container {
    padding: 0 15px !important;
  }

  .page-blog-surewin-popular-games-guide__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-blog-surewin-popular-games-guide__main-title {
    font-size: 2em;
  }

  .page-blog-surewin-popular-games-guide__hero-description {
    font-size: 1em;
  }

  .page-blog-surewin-popular-games-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-surewin-popular-games-guide__btn-primary,
  .page-blog-surewin-popular-games-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-surewin-popular-games-guide__intro-section,
  .page-blog-surewin-popular-games-guide__game-categories-section,
  .page-blog-surewin-popular-games-guide__game-guides-section,
  .page-blog-surewin-popular-games-guide__promotions-section,
  .page-blog-surewin-popular-games-guide__mobile-app-section,
  .page-blog-surewin-popular-games-guide__security-support-section,
  .page-blog-surewin-popular-games-guide__faq-section,
  .page-blog-surewin-popular-games-guide__conclusion-section {
    padding: 50px 0;
  }

  .page-blog-surewin-popular-games-guide__section-title {
    font-size: 1.8em;
  }

  .page-blog-surewin-popular-games-guide__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-blog-surewin-popular-games-guide__game-grid {
    grid-template-columns: 1fr;
  }

  .page-blog-surewin-popular-games-guide__game-image {
    height: 180px;
  }

  .page-blog-surewin-popular-games-guide__promo-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-blog-surewin-popular-games-guide__promo-image {
    width: 100%;
    height: auto;
    min-width: unset;
  }

  .page-blog-surewin-popular-games-guide__promo-list li {
    font-size: 0.95em;
  }

  .page-blog-surewin-popular-games-guide__app-benefits {
    grid-template-columns: 1fr;
  }

  .page-blog-surewin-popular-games-guide p,
  .page-blog-surewin-popular-games-guide li {
    font-size: 15px;
    line-height: 1.6;
  }

  /* Ensure all images are responsive */
  .page-blog-surewin-popular-games-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All containers with images/buttons */
  .page-blog-surewin-popular-games-guide__section,
  .page-blog-surewin-popular-games-guide__card,
  .page-blog-surewin-popular-games-guide__container,
  .page-blog-surewin-popular-games-guide__cta-buttons,
  .page-blog-surewin-popular-games-guide__game-grid,
  .page-blog-surewin-popular-games-guide__promo-content,
  .page-blog-surewin-popular-games-guide__app-benefits,
  .page-blog-surewin-popular-games-guide__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .page-blog-surewin-popular-games-guide__game-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-blog-surewin-popular-games-guide__promo-image {
    flex: 1 1 100%;
  }

  .page-blog-surewin-popular-games-guide__promo-list {
    flex: 1 1 100%;
  }
}