/* style/resources-common-cheating-methods.css */

:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --bg-dark-card: rgba(255, 255, 255, 0.08);
  --border-color: rgba(255, 255, 255, 0.15);
  --shadow-color: rgba(0, 0, 0, 0.3);
  --gradient-btn: linear-gradient(135deg, #007bff, #0056b3);
  --gradient-btn-hover: linear-gradient(135deg, #0056b3, #003d80);
}

/* Base styles for the page content, considering the dark body background */
.page-resources-common-cheating-methods {
  background-color: transparent; /* Body background from shared.css */
  color: var(--text-color-light);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-resources-common-cheating-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Fixed navigation bar spacing for desktop */
.page-resources-common-cheating-methods__hero-banner {
  padding-top: 180px; /* Adjust based on shared header height */
  padding-bottom: 80px;
  text-align: center;
  background: var(--gradient-btn);
}

.page-resources-common-cheating-methods__main-title {
  font-size: 3.2em;
  color: var(--text-color-light);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-resources-common-cheating-methods__subtitle {
  font-size: 1.3em;
  color: #e0e0e0;
  margin-bottom: 40px;
}

.page-resources-common-cheating-methods__link-inline {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-resources-common-cheating-methods__link-inline:hover {
  color: #ffd700;
  text-decoration: none;
}

.page-resources-common-cheating-methods__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: var(--text-color-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px var(--shadow-color);
  border: none;
}

.page-resources-common-cheating-methods__cta-button:hover {
  background: #e6b300;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--shadow-color);
}

.page-resources-common-cheating-methods__cta-button--small {
  padding: 10px 25px;
  font-size: 1em;
}

.page-resources-common-cheating-methods__section {
  padding: 60px 0;
}

.page-resources-common-cheating-methods__content-area {
  background-color: transparent; /* Inherit from body or use a subtle dark shade */
}

.page-resources-common-cheating-methods__dark-bg-card {
  background-color: var(--bg-dark-card);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 15px var(--shadow-color);
  border: 1px solid var(--border-color);
}

.page-resources-common-cheating-methods__section-title {
  font-size: 2.2em;
  color: var(--text-color-light);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-common-cheating-methods__sub-section-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-top: 35px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-common-cheating-methods__text-block p {
  margin-bottom: 15px;
  color: #e0e0e0;
}

.page-resources-common-cheating-methods__text-block strong,
.page-resources-common-cheating-methods__keyword-bold {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-resources-common-cheating-methods__highlight {
  color: var(--secondary-color);
}

.page-resources-common-cheating-methods__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  object-fit: cover;
}

.page-resources-common-cheating-methods__list-checked,
.page-resources-common-cheating-methods__list-bullet {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-resources-common-cheating-methods__list-checked li,
.page-resources-common-cheating-methods__list-bullet li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #e0e0e0;
}

.page-resources-common-cheating-methods__list-checked li::before {
  content: '✔';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-resources-common-cheating-methods__list-bullet li::before {
  content: '•';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

.page-resources-common-cheating-methods__link-with-icon {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
}

.page-resources-common-cheating-methods__link-with-icon::after {
  content: ' →';
  margin-left: 5px;
  transition: margin-left 0.2s ease;
}

.page-resources-common-cheating-methods__link-with-icon:hover {
  text-decoration: underline;
}

.page-resources-common-cheating-methods__link-with-icon:hover::after {
  margin-left: 10px;
}

/* FAQ Section */
.page-resources-common-cheating-methods__faq-section {
  padding: 60px 0;
}

.page-resources-common-cheating-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--bg-dark-card);
}

.page-resources-common-cheating-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-resources-common-cheating-methods__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-resources-common-cheating-methods__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-color-light);
}

.page-resources-common-cheating-methods__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-common-cheating-methods__faq-item.active .page-resources-common-cheating-methods__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

.page-resources-common-cheating-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 0 8px 8px;
}

.page-resources-common-cheating-methods__faq-item.active .page-resources-common-cheating-methods__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to accommodate content */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-resources-common-cheating-methods__faq-answer p {
  color: #c0c0c0;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-common-cheating-methods__hero-banner {
    padding-top: 140px !important; /* Mobile fixed header adjustment */
    padding-bottom: 40px;
  }

  .page-resources-common-cheating-methods__main-title {
    font-size: 2em;
  }

  .page-resources-common-cheating-methods__subtitle {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-resources-common-cheating-methods__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-common-cheating-methods__section {
    padding: 30px 0;
  }

  .page-resources-common-cheating-methods__dark-bg-card {
    padding: 25px;
  }

  .page-resources-common-cheating-methods__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-common-cheating-methods__sub-section-title {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-resources-common-cheating-methods__text-block p,
  .page-resources-common-cheating-methods__list-checked li,
  .page-resources-common-cheating-methods__list-bullet li {
    font-size: 0.95em;
  }

  /* Mobile image responsive adaptation */
  .page-resources-common-cheating-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-common-cheating-methods__section,
  .page-resources-common-cheating-methods__dark-bg-card,
  .page-resources-common-cheating-methods__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-common-cheating-methods__faq-question {
    padding: 15px 20px;
  }

  .page-resources-common-cheating-methods__faq-question h3 {
    font-size: 1em;
  }

  .page-resources-common-cheating-methods__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  .page-resources-common-cheating-methods__faq-answer {
    padding: 0 20px;
  }

  .page-resources-common-cheating-methods__faq-item.active .page-resources-common-cheating-methods__faq-answer {
    padding: 15px 20px !important;
  }
}