/* style/resources-game-safety.css */

/* Base Styles for Page-specific Content */
.page-resources-game-safety {
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--dark-bg); /* Inherit from shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
}

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

.page-resources-game-safety__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-resources-game-safety__section-description {
  font-size: 18px;
  color: #e0e0e0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-resources-game-safety__hero-section {
  position: relative;
  background: linear-gradient(135deg, #8B0000, #FFD700); /* Dark red to gold gradient */
  padding: 100px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  text-align: center;
  overflow: hidden;
}

.page-resources-game-safety__hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  z-index: 1;
}

.page-resources-game-safety__hero-title {
  font-size: 52px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.page-resources-game-safety__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-resources-game-safety__hero-image-wrapper {
  flex: 1;
  min-width: 400px;
  max-width: 600px;
  z-index: 1;
}

.page-resources-game-safety__hero-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* CTA Button */
.page-resources-game-safety__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red for contrast */
  font-size: 20px;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
  border: 2px solid #FFD700;
}

.page-resources-game-safety__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  color: #6a0000;
}

.page-resources-game-safety__cta-button--large {
  padding: 18px 35px;
  font-size: 22px;
  margin-top: 30px;
}

.page-resources-game-safety__cta-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-resources-game-safety__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
}

/* Introduction Section */
.page-resources-game-safety__introduction-section {
  padding: 80px 0;
  background-color: var(--dark-bg-light);
}

.page-resources-game-safety__intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-resources-game-safety__intro-text p {
  font-size: 17px;
  margin-bottom: 15px;
  color: #e0e0e0;
}

.page-resources-game-safety__intro-text strong {
  color: #FFD700;
}

.page-resources-game-safety__intro-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-game-safety__learn-more-button {
  display: inline-block;
  background-color: #8B0000; /* Dark Red */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-game-safety__learn-more-button:hover {
  background-color: #6a0000;
  transform: translateY(-2px);
}

/* Scam Types Section */
.page-resources-game-safety__scam-types-section {
  padding: 80px 0;
  background-color: var(--dark-bg);
}

.page-resources-game-safety__scam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-resources-game-safety__scam-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-game-safety__scam-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-game-safety__scam-card img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-resources-game-safety__card-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-game-safety__scam-card p {
  font-size: 16px;
  color: #cccccc;
}

/* Prevention Guide Section */
.page-resources-game-safety__prevention-guide-section {
  padding: 80px 0;
  background-color: var(--dark-bg-light);
}

.page-resources-game-safety__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-game-safety__guide-item {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-game-safety__guide-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.page-resources-game-safety__guide-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 25px;
  object-fit: contain;
}

.page-resources-game-safety__guide-item h3 {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-game-safety__guide-item p {
  font-size: 16px;
  color: #e0e0e0;
}

.page-resources-game-safety__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

/* Platform Security Section */
.page-resources-game-safety__platform-security-section {
  padding: 80px 0;
  background-color: var(--dark-bg);
}

.page-resources-game-safety__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-resources-game-safety__feature-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-game-safety__feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-game-safety__feature-card img {
  width: 100%;
  
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-resources-game-safety__feature-card h3 {
  font-size: 20px;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources-game-safety__feature-card p {
  font-size: 15px;
  color: #cccccc;
}

.page-resources-game-safety__feature-card p a {
  color: #FFD700;
  text-decoration: underline;
}

.page-resources-game-safety__feature-card p a:hover {
  color: #e6c200;
}

/* What to Do Section */
.page-resources-game-safety__what-to-do-section {
  padding: 80px 0;
  background-color: var(--dark-bg-light);
}

.page-resources-game-safety__action-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.page-resources-game-safety__action-list li {
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #FFD700;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 17px;
  color: #f0f0f0;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-resources-game-safety__list-icon {
  font-weight: bold;
  color: #FFD700;
  font-size: 22px;
  margin-right: 15px;
  flex-shrink: 0;
}

.page-resources-game-safety__contact-cta {
  text-align: center;
  margin-top: 50px;
}

.page-resources-game-safety__contact-cta p {
  font-size: 18px;
  color: #e0e0e0;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-resources-game-safety__faq-section {
  padding: 80px 0;
  background-color: var(--dark-bg);
}

.page-resources-game-safety__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-game-safety__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-game-safety__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #8B0000; /* Dark Red */
  color: #ffffff;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-resources-game-safety__faq-question:hover {
  background-color: #a00000;
}

.page-resources-game-safety__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
}

.page-resources-game-safety__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-resources-game-safety__faq-item.active .page-resources-game-safety__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Change to X shape */
}

.page-resources-game-safety__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-color: rgba(255, 255, 255, 0.03);
  color: #cccccc;
}

.page-resources-game-safety__faq-item.active .page-resources-game-safety__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-resources-game-safety__faq-answer p {
  margin: 0;
  font-size: 16px;
}

/* Conclusion Section */
.page-resources-game-safety__conclusion-section {
  padding: 80px 0;
  background-color: var(--dark-bg-light);
  text-align: center;
}

.page-resources-game-safety__conclusion-section p {
  font-size: 18px;
  color: #e0e0e0;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-game-safety__hero-section {
    flex-direction: column;
    padding: 80px 20px;
  }

  .page-resources-game-safety__hero-title {
    font-size: 44px;
  }

  .page-resources-game-safety__hero-description {
    font-size: 18px;
  }

  .page-resources-game-safety__intro-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-game-safety__intro-image {
    order: -1; /* Image above text on smaller screens */
  }

  .page-resources-game-safety__guide-steps,
  .page-resources-game-safety__scam-grid,
  .page-resources-game-safety__security-features {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources-game-safety {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-game-safety__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-game-safety__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-resources-game-safety__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Hero Section */
  .page-resources-game-safety__hero-section {
    padding: 60px 15px;
    gap: 30px;
  }

  .page-resources-game-safety__hero-title {
    font-size: 36px;
  }

  .page-resources-game-safety__hero-description {
    font-size: 16px;
  }

  .page-resources-game-safety__cta-button,
  .page-resources-game-safety__cta-button--large,
  .page-resources-game-safety__cta-button--secondary,
  .page-resources-game-safety a[class*="button"],
  .page-resources-game-safety a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-resources-game-safety__cta-bottom,
  .page-resources-game-safety__contact-cta {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  .page-resources-game-safety__hero-image-wrapper {
    min-width: unset;
  }

  /* Images */
  .page-resources-game-safety img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Introduction Section */
  .page-resources-game-safety__introduction-section {
    padding: 40px 0;
  }

  .page-resources-game-safety__intro-text p {
    font-size: 15px;
  }

  .page-resources-game-safety__learn-more-button {
    width: 100%;
    text-align: center;
  }

  /* Scam Types Section */
  .page-resources-game-safety__scam-types-section {
    padding: 40px 0;
  }

  .page-resources-game-safety__scam-card {
    padding: 20px;
  }

  .page-resources-game-safety__card-title {
    font-size: 20px;
  }

  .page-resources-game-safety__scam-card p {
    font-size: 15px;
  }

  /* Prevention Guide Section */
  .page-resources-game-safety__prevention-guide-section {
    padding: 40px 0;
  }

  .page-resources-game-safety__guide-steps {
    grid-template-columns: 1fr;
  }

  .page-resources-game-safety__guide-item {
    padding: 25px;
  }

  .page-resources-game-safety__guide-item h3 {
    font-size: 20px;
  }

  .page-resources-game-safety__guide-item p {
    font-size: 15px;
  }

  /* Platform Security Section */
  .page-resources-game-safety__platform-security-section {
    padding: 40px 0;
  }

  .page-resources-game-safety__security-features {
    grid-template-columns: 1fr;
  }

  .page-resources-game-safety__feature-card {
    padding: 20px;
  }

  .page-resources-game-safety__feature-card h3 {
    font-size: 18px;
  }

  .page-resources-game-safety__feature-card p {
    font-size: 14px;
  }

  /* What to Do Section */
  .page-resources-game-safety__what-to-do-section {
    padding: 40px 0;
  }

  .page-resources-game-safety__action-list li {
    font-size: 15px;
    padding: 15px 20px;
  }

  .page-resources-game-safety__list-icon {
    font-size: 20px;
    margin-right: 10px;
  }

  /* FAQ Section */
  .page-resources-game-safety__faq-section {
    padding: 40px 0;
  }

  .page-resources-game-safety__faq-item {
    border-radius: 6px;
  }

  .page-resources-game-safety__faq-question {
    padding: 15px 20px;
  }

  .page-resources-game-safety__faq-question h3 {
    font-size: 16px;
  }

  .page-resources-game-safety__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
    margin-left: 15px;
  }

  .page-resources-game-safety__faq-answer {
    padding: 0 20px;
  }

  .page-resources-game-safety__faq-item.active .page-resources-game-safety__faq-answer {
    padding: 15px 20px !important;
  }

  .page-resources-game-safety__faq-answer p {
    font-size: 15px;
  }

  /* Conclusion Section */
  .page-resources-game-safety__conclusion-section {
    padding: 40px 0;
  }

  .page-resources-game-safety__conclusion-section p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .page-resources-game-safety__hero-title {
    font-size: 30px;
  }

  .page-resources-game-safety__hero-description {
    font-size: 15px;
  }

  .page-resources-game-safety__cta-button {
    font-size: 18px;
    padding: 12px 25px;
  }

  .page-resources-game-safety__cta-button--large {
    font-size: 18px;
    padding: 15px 30px;
  }

  .page-resources-game-safety__section-title {
    font-size: 24px;
  }

  .page-resources-game-safety__section-description {
    font-size: 14px;
  }

  .page-resources-game-safety__guide-item h3 {
    font-size: 18px;
  }

  .page-resources-game-safety__scam-card h3 {
    font-size: 18px;
  }

  .page-resources-game-safety__feature-card h3 {
    font-size: 16px;
  }

  .page-resources-game-safety__action-list li {
    font-size: 14px;
    padding: 12px 15px;
  }

  .page-resources-game-safety__list-icon {
    font-size: 18px;
  }

  .page-resources-game-safety__faq-question h3 {
    font-size: 15px;
  }

  .page-resources-game-safety__faq-toggle {
    font-size: 20px;
    width: 22px;
    height: 22px;
  }

  .page-resources-game-safety__faq-answer p {
    font-size: 14px;
  }
}