:root {
  --primary-color: #017439;
  --auxiliary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-register-login-bg: #C30808;
  --button-register-login-text: #FFFF00;
  --border-color: #e0e0e0;
}

.page-resources-qq888-app-security-guide {
  color: var(--text-dark); /* Default text color for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--auxiliary-color); /* Body background is white */
}

/* --- General Section & Container Styling --- */
.page-resources-qq888-app-security-guide__section {
  padding: 60px 0;
  overflow: hidden; /* Prevent content overflow */
}

.page-resources-qq888-app-security-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-qq888-app-security-guide__heading {
  font-size: 32px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-qq888-app-security-guide__paragraph {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-qq888-app-security-guide__paragraph a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-resources-qq888-app-security-guide__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-qq888-app-security-guide__dark-bg .page-resources-qq888-app-security-guide__heading {
  color: var(--text-light);
}

.page-resources-qq888-app-security-guide__light-bg {
  background-color: var(--auxiliary-color);
  color: var(--text-dark);
}

/* --- Hero Section --- */
.page-resources-qq888-app-security-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background: var(--primary-color); /* Dark green background */
  color: var(--text-light);
}

.page-resources-qq888-app-security-guide__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-qq888-app-security-guide__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-resources-qq888-app-security-guide__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-resources-qq888-app-security-guide__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-qq888-app-security-guide__hero-content h1 {
  font-size: 42px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-resources-qq888-app-security-guide__hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-light);
}

/* --- CTA Button General Style --- */
.page-resources-qq888-app-security-guide__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-register-login-bg); /* Use specific red for CTA */
  color: var(--button-register-login-text); /* Use specific yellow for CTA text */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-qq888-app-security-guide__cta-button:hover {
  background: #a30606; /* Darken red on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-qq888-app-security-guide__btn-primary {
  background: var(--button-register-login-bg);
  color: var(--button-register-login-text);
  border: 2px solid transparent;
}

.page-resources-qq888-app-security-guide__btn-primary:hover {
  background: #a30606;
}

.page-resources-qq888-app-security-guide__btn-secondary {
  background: var(--auxiliary-color); /* White background */
  color: var(--primary-color); /* Dark green text */
  border: 2px solid var(--primary-color);
}

.page-resources-qq888-app-security-guide__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
}

/* --- Introduction Section --- */
.page-resources-qq888-app-security-guide__introduction .page-resources-qq888-app-security-guide__paragraph {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Tech Security Section (Grid Cards) --- */
.page-resources-qq888-app-security-guide__tech-security .page-resources-qq888-app-security-guide__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-resources-qq888-app-security-guide__card {
  background: var(--auxiliary-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%; /* Ensure cards have equal height */
  color: var(--text-dark);
}

.page-resources-qq888-app-security-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-resources-qq888-app-security-guide__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
  object-fit: cover;
}

.page-resources-qq888-app-security-guide__card-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-qq888-app-security-guide__card-description {
  font-size: 15px;
}

/* --- Account Protection Section (List) --- */
.page-resources-qq888-app-security-guide__account-protection .page-resources-qq888-app-security-guide__list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-qq888-app-security-guide__list-item {
  background: var(--auxiliary-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  color: var(--text-dark);
}

.page-resources-qq888-app-security-guide__list-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources-qq888-app-security-guide__list-description {
  font-size: 15px;
}

/* --- Financial Safety Section --- */
.page-resources-qq888-app-security-guide__financial-safety {
  text-align: center;
}

.page-resources-qq888-app-security-guide__financial-safety .page-resources-qq888-app-security-guide__paragraph {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-resources-qq888-app-security-guide__payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-qq888-app-security-guide__payment-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white card on dark bg */
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-qq888-app-security-guide__payment-icon {
  width: 100px;
  height: auto;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
  object-fit: cover;
}

.page-resources-qq888-app-security-guide__payment-title {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--text-light);
}

.page-resources-qq888-app-security-guide__payment-description {
  font-size: 15px;
}

.page-resources-qq888-app-security-guide__cta-wrapper {
  margin-top: 50px;
}

/* --- Responsible Gaming Section --- */
.page-resources-qq888-app-security-guide__responsible-gaming .page-resources-qq888-app-security-guide__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-qq888-app-security-guide__feature-item {
  background: var(--auxiliary-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-dark);
}

.page-resources-qq888-app-security-guide__feature-icon {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
  object-fit: cover;
}

.page-resources-qq888-app-security-guide__feature-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-qq888-app-security-guide__feature-description {
  font-size: 15px;
}

/* --- User Tips Section --- */
.page-resources-qq888-app-security-guide__user-tips .page-resources-qq888-app-security-guide__bullet-list {
  list-style: disc;
  padding-left: 40px;
  max-width: 900px;
  margin: 0 auto 20px auto;
  font-size: 16px;
}

.page-resources-qq888-app-security-guide__user-tips .page-resources-qq888-app-security-guide__bullet-list li {
  margin-bottom: 10px;
}

.page-resources-qq888-app-security-guide__user-tips .page-resources-qq888-app-security-guide__bullet-list li strong {
  color: var(--primary-color);
}

/* --- FAQ Section --- */
.page-resources-qq888-app-security-guide__faq-section {
  padding: 60px 0;
}

.page-resources-qq888-app-security-guide__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-qq888-app-security-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-qq888-app-security-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-dark);
}