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

/* Base styles for the page content */
.page-blog-choose-game {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color from custom palette */
  background-color: var(--bg-color); /* Body background from custom palette */
}

.page-blog-choose-game__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-choose-game__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  padding: 10px 0 60px; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-blog-choose-game__hero-image-wrapper {
  width: 100%;
  max-width: 100%; /* Ensure it takes full width */
  overflow: hidden;
  margin-bottom: 40px; /* Space between image and content */
}

.page-blog-choose-game__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-choose-game__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-blog-choose-game__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main); /* Text Main */
  margin-bottom: 20px;
  max-width: 900px; /* Limit width for better readability */
  margin-left: auto;
  margin-right: auto;
}

.page-blog-choose-game__hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary); /* Text Secondary */
  margin-bottom: 30px;
}

.page-blog-choose-game__hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* General Sections */
.page-blog-choose-game__content-section {
  padding: 60px 0;
}

.page-blog-choose-game__dark-section {
  background-color: var(--card-bg); /* Card BG */
}

.page-blog-choose-game__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-main); /* Text Main */
  text-align: center;
  margin-bottom: 40px;
}

.page-blog-choose-game__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--gold); /* Gold */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog-choose-game__text-block {
  font-size: 1.1rem;
  color: var(--text-secondary); /* Text Secondary */
}

.page-blog-choose-game__text-block p {
  margin-bottom: 15px;
}

.page-blog-choose-game__text-block a {
  color: var(--glow); /* Glow */
  text-decoration: underline;
}

.page-blog-choose-game__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary); /* Text Secondary */
}

.page-blog-choose-game__list li {
  margin-bottom: 10px;
}

.page-blog-choose-game__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 30px;
  object-fit: cover;
}

.page-blog-choose-game__image--center {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-blog-choose-game__btn-primary,
.page-blog-choose-game__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-blog-choose-game__btn-primary {
  background: var(--button-gradient); /* Button color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog-choose-game__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog-choose-game__btn-secondary {
  background: transparent;
  color: var(--glow); /* Glow */
  border: 2px solid var(--glow); /* Glow */
}

.page-blog-choose-game__btn-secondary:hover {
  background: var(--glow); /* Glow */
  color: var(--bg-color); /* Text on hover */
  transform: translateY(-2px);
}

/* FAQ Section */
.page-blog-choose-game__faq-section {
  padding: 60px 0;
  background-color: var(--bg-color); /* Background color */
}

.page-blog-choose-game__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-choose-game__faq-item {
  background-color: var(--card-bg); /* Card BG */
  border: 1px solid var(--divider); /* Divider */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-choose-game__faq-item summary {
  list-style: none; /* Remove default marker */
}

.page-blog-choose-game__faq-item summary::-webkit-details-marker {
  display: none; /* Hide Chrome/Safari marker */
}

.page-blog-choose-game__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main); /* Text Main */
  cursor: pointer;
  background-color: var(--card-bg); /* Card BG */
  transition: background-color 0.3s ease;
}

.page-blog-choose-game__faq-question:hover {
  background-color: var(--deep-green); /* Deep Green */
}

.page-blog-choose-game__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--glow); /* Glow */
  margin-left: 15px;
}

.page-blog-choose-game__faq-item[open] .page-blog-choose-game__faq-toggle {
  content: "−"; /* Change to minus when open */
}

.page-blog-choose-game__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--text-secondary); /* Text Secondary */
}

/* CTA Section */
.page-blog-choose-game__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--deep-green); /* Deep Green */
  position: relative;
  overflow: hidden;
}

.page-blog-choose-game__cta-content {
  position: relative;
  z-index: 1;
}

.page-blog-choose-game__cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-main); /* Text Main */
  margin-bottom: 20px;
}

.page-blog-choose-game__cta-description {
  font-size: 1.1rem;
  color: var(--text-secondary); /* Text Secondary */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-choose-game__cta-description a {
  color: var(--glow); /* Glow */
  text-decoration: underline;
}

.page-blog-choose-game__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.page-blog-choose-game__cta-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1; /* Subtle background image */
  overflow: hidden;
}

.page-blog-choose-game__cta-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-blog-choose-game__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-blog-choose-game__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }

  .page-blog-choose-game__sub-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  }
}

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

  .page-blog-choose-game__container {
    padding: 0 15px !important;
  }

  .page-blog-choose-game__hero-section {
    padding: 10px 0 40px;
  }

  .page-blog-choose-game__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-blog-choose-game__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-blog-choose-game__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-choose-game__btn-primary,
  .page-blog-choose-game__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
  }

  .page-blog-choose-game__content-section {
    padding: 40px 0;
  }

  .page-blog-choose-game__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  .page-blog-choose-game__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
  }

  .page-blog-choose-game__text-block,
  .page-blog-choose-game__list {
    font-size: 1rem;
  }

  /* Image responsiveness */
  .page-blog-choose-game img {
    max-width: 100% !important;
    width: 100% !important; /* Ensure images scale */
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/content */
  .page-blog-choose-game__section,
  .page-blog-choose-game__card,
  .page-blog-choose-game__container,
  .page-blog-choose-game__hero-image-wrapper,
  .page-blog-choose-game__cta-content,
  .page-blog-choose-game__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent content overflow */
  }

  .page-blog-choose-game__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-blog-choose-game__faq-answer {
    padding: 0 20px 15px;
  }

  .page-blog-choose-game__cta-section {
    padding: 60px 0;
  }

  .page-blog-choose-game__cta-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-blog-choose-game__cta-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  
  /* Ensure button groups wrap on mobile */
  .page-blog-choose-game__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }
}