.page-resources-sunwin-ios-game-strategy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Explicitly set for clarity, though body default is white */
}

.page-resources-sunwin-ios-game-strategy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background: linear-gradient(135deg, #26A9E0, #5ac8fa);
  color: #ffffff;
  overflow: hidden;
}

.page-resources-sunwin-ios-game-strategy__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 10;
}

.page-resources-sunwin-ios-game-strategy__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-resources-sunwin-ios-game-strategy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-sunwin-ios-game-strategy__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin-top: 30px;
  z-index: 5;
}

.page-resources-sunwin-ios-game-strategy__hero-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-sunwin-ios-game-strategy__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #e0e0e0;
}

.page-resources-sunwin-ios-game-strategy__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-resources-sunwin-ios-game-strategy__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #EA7C07;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-resources-sunwin-ios-game-strategy__sub-section-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-resources-sunwin-ios-game-strategy__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #333333;
}

.page-resources-sunwin-ios-game-strategy__section-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-sunwin-ios-game-strategy__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-resources-sunwin-ios-game-strategy__numbered-list {
  counter-reset: section;
}

.page-resources-sunwin-ios-game-strategy__numbered-list .page-resources-sunwin-ios-game-strategy__list-item {
  counter-increment: section;
  position: relative;
  padding-left: 50px;
  margin-bottom: 25px;
}

.page-resources-sunwin-ios-game-strategy__numbered-list .page-resources-sunwin-ios-game-strategy__list-item::before {
  content: counter(section);
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  background-color: #26A9E0;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-resources-sunwin-ios-game-strategy__list-item {
  margin-bottom: 15px;
  color: #333333;
}

.page-resources-sunwin-ios-game-strategy__list-heading {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 8px;
}

.page-resources-sunwin-ios-game-strategy__highlight {
  font-weight: bold;
  color: #EA7C07;
}

.page-resources-sunwin-ios-game-strategy__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-resources-sunwin-ios-game-strategy__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-resources-sunwin-ios-game-strategy__btn-primary,
.page-resources-sunwin-ios-game-strategy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-sunwin-ios-game-strategy__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-resources-sunwin-ios-game-strategy__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-resources-sunwin-ios-game-strategy__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-sunwin-ios-game-strategy__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1e87c0;
  border-color: #1e87c0;
}

.page-resources-sunwin-ios-game-strategy__btn-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  margin-top: 30px;
}

.page-resources-sunwin-ios-game-strategy__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-sunwin-ios-game-strategy__card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-resources-sunwin-ios-game-strategy__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.page-resources-sunwin-ios-game-strategy__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-sunwin-ios-game-strategy__card-link {
  text-decoration: none;
  color: #26A9E0;
}

.page-resources-sunwin-ios-game-strategy__card-link:hover {
  text-decoration: underline;
}

.page-resources-sunwin-ios-game-strategy__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-sunwin-ios-game-strategy__strategy-card {
  background-color: #f8f8f8;
  border-left: 5px solid #26A9E0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-resources-sunwin-ios-game-strategy__strategy-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-resources-sunwin-ios-game-strategy__video-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 40px auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: #000;
}

.page-resources-sunwin-ios-game-strategy__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-resources-sunwin-ios-game-strategy__video-caption {
  text-align: center;
  margin-top: 15px;
  font-style: italic;
  color: #555555;
}

.page-resources-sunwin-ios-game-strategy__tabs {
  display: flex;
  flex-wrap: wrap;
  margin: 40px 0;
  border-bottom: 2px solid #e0e0e0;
}

.page-resources-sunwin-ios-game-strategy__tab-input {
  position: absolute;
  opacity: 0;
}

.page-resources-sunwin-ios-game-strategy__tab-label {
  padding: 15px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #555555;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-bottom: none;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  margin-right: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  z-index: 1;
}

.page-resources-sunwin-ios-game-strategy__tab-label:hover {
  background-color: #e0e0e0;
  color: #333333;
}

.page-resources-sunwin-ios-game-strategy__tab-input:checked + .page-resources-sunwin-ios-game-strategy__tab-label {
  background-color: #26A9E0;
  color: #FFFFFF;
  border-color: #26A9E0;
  z-index: 2;
  border-bottom-color: #26A9E0;
}

.page-resources-sunwin-ios-game-strategy__tab-content {
  order: 99;
  flex-grow: 1;
  width: 100%;
  border: 1px solid #e0e0e0;
  border-top: none;
  padding: 30px;
  background-color: #FFFFFF;
  display: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-resources-sunwin-ios-game-strategy__tab-input:checked + .page-resources-sunwin-ios-game-strategy__tab-label + .page-resources-sunwin-ios-game-strategy__tab-content {
  display: block;
}

.page-resources-sunwin-ios-game-strategy__faq-container {
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-sunwin-ios-game-strategy__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-resources-sunwin-ios-game-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #eaf6fa;
  border-bottom: 1px solid #e0e0e0;
  list-style: none;
  user-select: none;
}

.page-resources-sunwin-ios-game-strategy__faq-item[open] .page-resources-sunwin-ios-game-strategy__faq-question {
  border-bottom: 1px solid #26A9E0;
}

.page-resources-sunwin-ios-game-strategy__faq-qtext {
  flex-grow: 1;
}

.page-resources-sunwin-ios-game-strategy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #EA7C07;
}

.page-resources-sunwin-ios-game-strategy__faq-item[open] .page-resources-sunwin-ios-game-strategy__faq-toggle {
  color: #26A9E0;
}

.page-resources-sunwin-ios-game-strategy__faq-answer {
  padding: 20px;
  background-color: #FFFFFF;
  border-top: none;
  color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-sunwin-ios-game-strategy__hero-title {
    font-size: 2.8em;
  }
  .page-resources-sunwin-ios-game-strategy__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-sunwin-ios-game-strategy__hero-section {
    flex-direction: column;
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  
  .page-resources-sunwin-ios-game-strategy__hero-title {
    font-size: 2.2em;
  }
  
  .page-resources-sunwin-ios-game-strategy__hero-description {
    font-size: 1em;
  }
  
  .page-resources-sunwin-ios-game-strategy__section {
    padding: 40px 15px;
  }
  
  .page-resources-sunwin-ios-game-strategy__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  
  .page-resources-sunwin-ios-game-strategy__sub-section-title {
    font-size: 1.5em;
  }
  
  .page-resources-sunwin-ios-game-strategy__text-block,
  .page-resources-sunwin-ios-game-strategy__list-item p {
    font-size: 1em;
  }
  
  .page-resources-sunwin-ios-game-strategy__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-resources-sunwin-ios-game-strategy__btn-primary,
  .page-resources-sunwin-ios-game-strategy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-sunwin-ios-game-strategy__btn-center {
    width: 100% !important;
  }

  .page-resources-sunwin-ios-game-strategy__card-grid,
  .page-resources-sunwin-ios-game-strategy__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .page-resources-sunwin-ios-game-strategy__section-image,
  .page-resources-sunwin-ios-game-strategy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-resources-sunwin-ios-game-strategy__hero-image-wrapper,
  .page-resources-sunwin-ios-game-strategy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-resources-sunwin-ios-game-strategy__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-sunwin-ios-game-strategy__tabs {
    flex-direction: column;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-resources-sunwin-ios-game-strategy__tab-label {
    width: 100%;
    margin-right: 0;
    margin-bottom: 5px;
    border-radius: 8px;
    border-bottom: 1px solid #e0e0e0;
  }

  .page-resources-sunwin-ios-game-strategy__tab-input:checked + .page-resources-sunwin-ios-game-strategy__tab-label {
    border-bottom: 1px solid #26A9E0;
  }

  .page-resources-sunwin-ios-game-strategy__tab-content {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    border-radius: 8px;
  }

  .page-resources-sunwin-ios-game-strategy__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-resources-sunwin-ios-game-strategy__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-sunwin-ios-game-strategy__hero-title {
    font-size: 1.8em;
  }
  .page-resources-sunwin-ios-game-strategy__hero-description {
    font-size: 0.9em;
  }
  .page-resources-sunwin-ios-game-strategy__section-title {
    font-size: 1.5em;
  }
  .page-resources-sunwin-ios-game-strategy__list-heading {
    font-size: 1.1em;
  }
  .page-resources-sunwin-ios-game-strategy__btn-primary,
  .page-resources-sunwin-ios-game-strategy__btn-secondary {
    font-size: 0.9em;
    padding: 10px 15px;
  }
}