:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-light: #F8F8F8; /* Body background from shared.css */
  --border-color: #e0e0e0;
}

.page-resources-game-security {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-dark); /* Default text color for light body background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-resources-game-security__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: var(--primary-color); /* Dark background for hero */
  color: var(--text-color-light);
  overflow: hidden; /* Ensure no overflow from image */
}

.page-resources-game-security__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-resources-game-security__hero-image {
  width: 100%;
  height: auto; /* Ensure image aspect ratio is maintained */
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-resources-game-security__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-game-security__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-game-security__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-color-light);
}

.page-resources-game-security__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-game-security__cta-button:hover {
  background: #FFC107; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-game-security__section {
  padding: 80px 20px;
  background-color: var(--bg-light);
}

.page-resources-game-security__section:nth-of-type(even) {
  background-color: #f0f0f0; /* Slightly different background for alternating sections */
}

.page-resources-game-security__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-game-security__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.page-resources-game-security__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.page-resources-game-security__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-game-security__feature-grid,
.page-resources-game-security__grid-2-col,
.page-resources-game-security__grid-3-col {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-resources-game-security__feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-resources-game-security__grid-2-col {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-resources-game-security__grid-3-col {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}


.page-resources-game-security__feature-item,
.page-resources-game-security__license-item,
.page-resources-game-security__support-channel {
  background: var(--text-color-light);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-game-security__feature-item:hover,
.page-resources-game-security__license-item:hover,
.page-resources-game-security__support-channel:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-game-security__feature-image,
.page-resources-game-security__license-image,
.page-resources-game-security__support-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* Max width for content images */
  border-radius: 6px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-resources-game-security__support-icon {
  max-width: 200px; /* Smaller for support icons */
  min-width: 200px;
  min-height: 200px;
}

.page-resources-game-security__feature-title,
.page-resources-game-security__license-title,
.page-resources-game-security__support-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-resources-game-security__feature-description,
.page-resources-game-security__license-description,
.page-resources-game-security__support-description {
  font-size: 1em;
  color: #555;
  text-align: center;
  flex-grow: 1; /* Ensure consistent height */
}

.page-resources-game-security__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-resources-game-security__list-item {
  background: var(--text-color-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.page-resources-game-security__list-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-game-security__list-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-resources-game-security__list-item p {
  font-size: 1em;
  color: #555;
  margin-bottom: 0;
  text-align: justify;
}

/* FAQ Section */
.page-resources-game-security__faq-area {
  background-color: #f0f0f0;
}

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

.page-resources-game-security__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-game-security__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 15px;
  opacity: 0;
}

.page-resources-game-security__faq-item.active .page-resources-game-security__faq-answer {
  max-height: 2000px !important; /* Important for expand functionality */
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--text-color-light);
  border-radius: 0 0 5px 5px;
}

.page-resources-game-security__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--text-color-light);
  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;
}

.page-resources-game-security__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-game-security__faq-question:active {
  background: #eeeeee;
}

.page-resources-game-security__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
  color: var(--primary-color);
}

.page-resources-game-security__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-game-security__faq-item.active .page-resources-game-security__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Change to X or rotate for active state */
}

.page-resources-game-security__cta-final {
  text-align: center;
  background-color: var(--primary-color);
  color: var(--text-color-light);
  padding: 80px 20px;
}

.page-resources-game-security__cta-container .page-resources-game-security__section-title {
  color: var(--secondary-color);
}

.page-resources-game-security__cta-container .page-resources-game-security__text-block {
  color: var(--text-color-light);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-game-security__cta-button--large {
  padding: 18px 50px;
  font-size: 20px;
  margin-top: 30px;
}

/* Mobile Sticky Buttons */
.page-resources-game-security__mobile-sticky-buttons {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  background-color: var(--primary-color);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: none; /* Hidden by default, shown on mobile */
}