.page-resources-game-security-privacy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Ensures a consistent light background for main content */
}

.page-resources-game-security-privacy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-game-security-privacy__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-game-security-privacy__section-title--white {
  color: #FFFFFF;
}

.page-resources-game-security-privacy__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-game-security-privacy__paragraph--white {
  color: #FFFFFF;
}

/* Hero Section */
.page-resources-game-security-privacy__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
}

.page-resources-game-security-privacy__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
}

.page-resources-game-security-privacy__hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  max-width: 900px;
  padding: 20px;
}

.page-resources-game-security-privacy__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-resources-game-security-privacy__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
}

.page-resources-game-security-privacy__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Buttons */
.page-resources-game-security-privacy__btn-primary,
.page-resources-game-security-privacy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-resources-game-security-privacy__btn-primary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-resources-game-security-privacy__btn-primary:hover {
  background-color: #005a2d;
  border-color: #005a2d;
}

.page-resources-game-security-privacy__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-resources-game-security-privacy__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2d;
  border-color: #005a2d;
}

/* Intro Section */
.page-resources-game-security-privacy__intro-section {
  padding: 60px 0;
}

/* Security Measures Section */
.page-resources-game-security-privacy__security-measures {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-resources-game-security-privacy__card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-resources-game-security-privacy__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.page-resources-game-security-privacy__card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-game-security-privacy__card-text {
  font-size: 1em;
  text-align: justify;
  flex-grow: 1;
}

/* User Protection Section */
.page-resources-game-security-privacy__user-protection {
  padding: 60px 0;
  background-color: #017439; /* Brand dark green background */
  color: #FFFFFF;
}

.page-resources-game-security-privacy__user-protection .page-resources-game-security-privacy__section-title {
  color: #FFFFFF;
}

.page-resources-game-security-privacy__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-resources-game-security-privacy__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: #FFFFFF;
}

.page-resources-game-security-privacy__list-title {
  font-size: 1.3em;
  color: #FFFF00; /* Custom color for list titles */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources-game-security-privacy__list-text {
  font-size: 1em;
  text-align: justify;
}

/* CTA Buttons within sections */
.page-resources-game-security-privacy__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Commitment Section */
.page-resources-game-security-privacy__commitment {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-resources-game-security-privacy__feature-item {
  background-color: #f0f0f0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-resources-game-security-privacy__feature-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-game-security-privacy__feature-text {
  font-size: 1em;
  text-align: justify;
  flex-grow: 1;
}

/* Video Section */
.page-resources-game-security-privacy__video-section {
  padding: 60px 0;
  background-color: #017439;
  text-align: center;
  position: relative;
}

.page-resources-game-security-privacy__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px; /* Max width for video */
  margin: 40px auto 20px auto;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-game-security-privacy__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-resources-game-security-privacy__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.8em;
  font-weight: bold;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.page-resources-game-security-privacy__video-wrapper:hover .page-resources-game-security-privacy__video-overlay-link {
  opacity: 1;
}

/* FAQ Section */
.page-resources-game-security-privacy__faq-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-resources-game-security-privacy__faq-list {
  margin-top: 40px;
}

.page-resources-game-security-privacy__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-resources-game-security-privacy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #e6ffe6; /* Light green for question background */
  transition: background-color 0.3s ease;
}

.page-resources-game-security-privacy__faq-question:hover {
  background-color: #d9ffd9;
}

.page-resources-game-security-privacy__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-game-security-privacy__faq-item.active .page-resources-game-security-privacy__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-game-security-privacy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
  text-align: justify;
}

.page-resources-game-security-privacy__faq-item.active .page-resources-game-security-privacy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px 20px 20px;
}

/* Conclusion Section */
.page-resources-game-security-privacy__conclusion {
  padding: 60px 0;
  background-color: #017439;
  text-align: center;
  color: #FFFFFF;
}

.page-resources-game-security-privacy__conclusion .page-resources-game-security-privacy__section-title {
  color: #FFFFFF;
}

/* Custom colors for Login/Register */
.page-resources-game-security-privacy__btn-login,
.page-resources-game-security-privacy__btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-resources-game-security-privacy__btn-login:hover,
.page-resources-game-security-privacy__btn-register:hover {
  background-color: #a00606;
  border-color: #a00606;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-game-security-privacy__hero-title {
    font-size: 3em;
  }

  .page-resources-game-security-privacy__hero-description {
    font-size: 1.2em;
  }

  .page-resources-game-security-privacy__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-game-security-privacy__hero-section {
    height: auto;
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below header on mobile */
  }

  .page-resources-game-security-privacy__hero-title {
    font-size: 2.2em;
  }

  .page-resources-game-security-privacy__hero-description {
    font-size: 1em;
  }

  .page-resources-game-security-privacy__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-game-security-privacy__btn-primary,
  .page-resources-game-security-privacy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-resources-game-security-privacy__section-title {
    font-size: 1.8em;
  }

  .page-resources-game-security-privacy__paragraph {
    font-size: 0.95em;
  }

  .page-resources-game-security-privacy__card-grid,
  .page-resources-game-security-privacy__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-game-security-privacy__card,
  .page-resources-game-security-privacy__feature-item {
    padding: 20px;
  }

  .page-resources-game-security-privacy__card-image {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-game-security-privacy__list-item {
    padding: 20px;
  }

  .page-resources-game-security-privacy__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Video section top padding for mobile */
  }

  .page-resources-game-security-privacy__video,
  .page-resources-game-security-privacy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-resources-game-security-privacy__video-wrapper {
    padding: 0 15px;
  }

  .page-resources-game-security-privacy__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-resources-game-security-privacy__faq-answer {
    padding: 0 15px;
  }

  .page-resources-game-security-privacy__faq-item.active .page-resources-game-security-privacy__faq-answer {
    padding: 10px 15px 15px 15px;
  }

  .page-resources-game-security-privacy__container {
    padding: 0 15px;
  }

  /* Ensure all img tags within main content are responsive */
  .page-resources-game-security-privacy img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all containers with images/videos/buttons are responsive */
  .page-resources-game-security-privacy__section,
  .page-resources-game-security-privacy__card,
  .page-resources-game-security-privacy__container,
  .page-resources-game-security-privacy__cta-buttons,
  .page-resources-game-security-privacy__button-group,
  .page-resources-game-security-privacy__btn-container,
  .page-resources-game-security-privacy__video-section,
  .page-resources-game-security-privacy__video-container,
  .page-resources-game-security-privacy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}