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

/* Global styles for this page scope */
.page-blog-b69-ios-gameplay-tips {
  font-family: Arial, sans-serif;
  color: var(--text-main); /* Default text color for dark backgrounds */
  background-color: var(--page-bg);
  line-height: 1.6;
}

.page-blog-b69-ios-gameplay-tips__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-b69-ios-gameplay-tips__section-title,
.page-blog-b69-ios-gameplay-tips__sub-section-title {
  text-align: center;
  color: var(--gold-color);
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-blog-b69-ios-gameplay-tips__section-title {
  font-size: clamp(28px, 4vw, 42px);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 40px;
}

.page-blog-b69-ios-gameplay-tips__sub-section-title {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--primary-color);
  margin-top: 30px;
}

.page-blog-b69-ios-gameplay-tips p {
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.page-blog-b69-ios-gameplay-tips__text-link {
  color: var(--glow-color);
  text-decoration: underline;
}

.page-blog-b69-ios-gameplay-tips__text-link:hover {
  color: var(--gold-color);
}

/* Hero Section */
.page-blog-b69-ios-gameplay-tips__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;
  text-align: center;
  background-color: var(--page-bg);
}

.page-blog-b69-ios-gameplay-tips__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px;
  filter: brightness(0.7);
}

.page-blog-b69-ios-gameplay-tips__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
  margin-top: -150px; /* Adjust to pull content slightly over the image for better visual flow */
}

.page-blog-b69-ios-gameplay-tips__main-title {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-blog-b69-ios-gameplay-tips__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-main);
  margin-bottom: 30px;
}

.page-blog-b69-ios-gameplay-tips__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-blog-b69-ios-gameplay-tips__btn-primary,
.page-blog-b69-ios-gameplay-tips__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

.page-blog-b69-ios-gameplay-tips__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
}

.page-blog-b69-ios-gameplay-tips__btn-primary:hover {
  box-shadow: 0 6px 20px rgba(87, 227, 141, 0.4);
  transform: translateY(-2px);
}

.page-blog-b69-ios-gameplay-tips__btn-secondary {
  background-color: transparent;
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
}

.page-blog-b69-ios-gameplay-tips__btn-secondary:hover {
  background-color: var(--glow-color);
  color: var(--page-bg);
  box-shadow: 0 6px 20px rgba(87, 227, 141, 0.4);
  transform: translateY(-2px);
}

/* Section backgrounds */
.page-blog-b69-ios-gameplay-tips__dark-bg {
  background-color: var(--page-bg);
  color: var(--text-main);
  padding: 60px 0;
}

.page-blog-b69-ios-gameplay-tips__light-bg {
  background-color: var(--card-bg);
  color: var(--text-secondary);
  padding: 60px 0;
}

.page-blog-b69-ios-gameplay-tips__light-bg p {
  color: var(--text-secondary);
}

.page-blog-b69-ios-gameplay-tips__light-bg h2,
.page-blog-b69-ios-gameplay-tips__light-bg h3 {
  color: var(--gold-color);
}

/* Grid for step cards and game cards */
.page-blog-b69-ios-gameplay-tips__grid,
.page-blog-b69-ios-gameplay-tips__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-b69-ios-gameplay-tips__game-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-blog-b69-ios-gameplay-tips__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-secondary);
}

.page-blog-b69-ios-gameplay-tips__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(87, 227, 141, 0.3);
}

.page-blog-b69-ios-gameplay-tips__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-b69-ios-gameplay-tips__card-title {
  font-size: 20px;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-blog-b69-ios-gameplay-tips__card-title a {
  color: var(--gold-color);
  text-decoration: none;
}

.page-blog-b69-ios-gameplay-tips__card-title a:hover {
  color: var(--glow-color);
}

.page-blog-b69-ios-gameplay-tips__cta-center {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Lists */
.page-blog-b69-ios-gameplay-tips__ordered-list,
.page-blog-b69-ios-gameplay-tips__unordered-list {
  margin: 20px 0;
  padding-left: 25px;
  color: var(--text-secondary);
}

.page-blog-b69-ios-gameplay-tips__ordered-list li,
.page-blog-b69-ios-gameplay-tips__unordered-list li {
  margin-bottom: 10px;
}

.page-blog-b69-ios-gameplay-tips__ordered-list strong,
.page-blog-b69-ios-gameplay-tips__unordered-list strong {
  color: var(--text-main);
}

/* Promotions */
.page-blog-b69-ios-gameplay-tips__promotion-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-b69-ios-gameplay-tips__promotion-cards .page-blog-b69-ios-gameplay-tips__card {
  padding: 30px;
}

/* FAQ Section */
.page-blog-b69-ios-gameplay-tips__faq-list {
  margin-top: 40px;
}

.page-blog-b69-ios-gameplay-tips__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-secondary);
}

.page-blog-b69-ios-gameplay-tips__faq-item[open] {
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.3);
  border-color: var(--glow-color);
}

.page-blog-b69-ios-gameplay-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider-color);
}

.page-blog-b69-ios-gameplay-tips__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-b69-ios-gameplay-tips__faq-question::marker {
  display: none;
}

.page-blog-b69-ios-gameplay-tips__faq-question:hover {
  background-color: var(--primary-color);
}

.page-blog-b69-ios-gameplay-tips__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold-color);
}

.page-blog-b69-ios-gameplay-tips__faq-item[open] .page-blog-b69-ios-gameplay-tips__faq-toggle {
  content: '−';
}

.page-blog-b69-ios-gameplay-tips__faq-answer {
  padding: 15px 25px;
  font-size: 16px;
  color: var(--text-secondary);
  border-top: 1px solid var(--divider-color);
}

.page-blog-b69-ios-gameplay-tips__faq-answer p {
  margin-bottom: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-blog-b69-ios-gameplay-tips {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-b69-ios-gameplay-tips__container {
    padding: 0 15px;
  }

  .page-blog-b69-ios-gameplay-tips__hero-section {
    padding-bottom: 40px;
  }

  .page-blog-b69-ios-gameplay-tips__hero-content {
    margin-top: -100px;
  }

  .page-blog-b69-ios-gameplay-tips__main-title {
    font-size: 32px;
  }

  .page-blog-b69-ios-gameplay-tips__hero-description {
    font-size: 16px;
  }

  .page-blog-b69-ios-gameplay-tips__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-b69-ios-gameplay-tips__btn-primary,
  .page-blog-b69-ios-gameplay-tips__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-b69-ios-gameplay-tips__section-title {
    font-size: 26px;
  }

  .page-blog-b69-ios-gameplay-tips__sub-section-title {
    font-size: 20px;
  }

  .page-blog-b69-ios-gameplay-tips__grid,
  .page-blog-b69-ios-gameplay-tips__game-grid,
  .page-blog-b69-ios-gameplay-tips__promotion-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-b69-ios-gameplay-tips__card-image {
    height: auto;
    max-width: 100% !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-blog-b69-ios-gameplay-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-b69-ios-gameplay-tips__section,
  .page-blog-b69-ios-gameplay-tips__card,
  .page-blog-b69-ios-gameplay-tips__container,
  .page-blog-b69-ios-gameplay-tips__grid,
  .page-blog-b69-ios-gameplay-tips__game-grid,
  .page-blog-b69-ios-gameplay-tips__promotion-cards,
  .page-blog-b69-ios-gameplay-tips__cta-buttons,
  .page-blog-b69-ios-gameplay-tips__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog-b69-ios-gameplay-tips__faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }

  .page-blog-b69-ios-gameplay-tips__faq-answer {
    padding: 10px 20px;
    font-size: 15px;
  }

  .page-blog-b69-ios-gameplay-tips__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

/* Ensure content images are not too small */
.page-blog-b69-ios-gameplay-tips img:not(.page-blog-b69-ios-gameplay-tips__hero-image) {
    min-width: 200px;
    min-height: 200px;
}

/* Color Contrast Fixes */
.page-blog-b69-ios-gameplay-tips__dark-bg {
  color: var(--text-main); /* Deep background, light text */
}

.page-blog-b69-ios-gameplay-tips__light-bg {
  color: var(--text-secondary); /* Lighter background, slightly darker text */
}

.page-blog-b69-ios-gameplay-tips__card {
  color: var(--text-secondary);
}

.page-blog-b69-ios-gameplay-tips__card-title,
.page-blog-b69-ios-gameplay-tips__card-title a {
  color: var(--gold-color);
}

.page-blog-b69-ios-gameplay-tips__faq-question {
  color: var(--text-main);
}

.page-blog-b69-ios-gameplay-tips__faq-answer {
  color: var(--text-secondary);
}