/* style/resources-online-entertainment-safety-guide.css */

:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark-card: rgba(255, 255, 255, 0.1);
  --bg-light-card: #ffffff;
  --border-color: #e0e0e0;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.2);
}

.page-resources-online-entertainment-safety-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: #000; /* Ensure body content matches shared.css body bg */
}

.page-resources-online-entertainment-safety-guide__hero-section {
  position: relative;
  width: 100%;
  padding: 120px 20px 80px; /* Desktop padding-top for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #330000 100%);
  color: var(--text-light);
}

.page-resources-online-entertainment-safety-guide__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-resources-online-entertainment-safety-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--primary-color);
  text-shadow: 0 2px 4px var(--shadow-dark);
}

.page-resources-online-entertainment-safety-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.8;
  color: #f0f0f0;
}

.page-resources-online-entertainment-safety-guide__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-online-entertainment-safety-guide__btn-primary,
.page-resources-online-entertainment-safety-guide__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px var(--shadow-light);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Button responsive */
  box-sizing: border-box; /* Button responsive */
  white-space: normal; /* Button responsive */
  word-wrap: break-word; /* Button responsive */
}

.page-resources-online-entertainment-safety-guide__btn-primary {
  background: var(--primary-color);
  color: var(--text-dark);
}

.page-resources-online-entertainment-safety-guide__btn-primary:hover {
  background: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--shadow-dark);
}

.page-resources-online-entertainment-safety-guide__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-online-entertainment-safety-guide__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--shadow-dark);
}

.page-resources-online-entertainment-safety-guide__section {
  padding: 60px 20px;
  text-align: center;
}

.page-resources-online-entertainment-safety-guide__dark-bg {
  background-color: #1a1a1a; /* Dark background for contrast */
  color: var(--text-light);
}

.page-resources-online-entertainment-safety-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-online-entertainment-safety-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: bold;
  color: var(--primary-color);
  text-shadow: 0 1px 3px var(--shadow-dark);
}

.page-resources-online-entertainment-safety-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 40px;
  line-height: 1.8;
  color: #f0f0f0;
}

.page-resources-online-entertainment-safety-guide__features-grid,
.page-resources-online-entertainment-safety-guide__responsible-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-online-entertainment-safety-guide__feature-card,
.page-resources-online-entertainment-safety-guide__responsible-item,
.page-resources-online-entertainment-safety-guide__card {
  background: var(--bg-dark-card); /* Semi-transparent white for dark body bg */
  color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%; /* Card responsive */
  box-sizing: border-box; /* Card responsive */
}

.page-resources-online-entertainment-safety-guide__feature-card:hover,
.page-resources-online-entertainment-safety-guide__responsible-item:hover,
.page-resources-online-entertainment-safety-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-dark);
}

.page-resources-online-entertainment-safety-guide__feature-icon,
.page-resources-online-entertainment-safety-guide__responsible-image {
  width: 150px; /* Min 200x200px, but for icons, larger display size is fine */
  height: auto;
  margin-bottom: 20px;
  max-width: 100%; /* Image responsive */
  display: block;
  border-radius: 8px;
}

.page-resources-online-entertainment-safety-guide__feature-title,
.page-resources-online-entertainment-safety-guide__responsible-title,
.page-resources-online-entertainment-safety-guide__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-resources-online-entertainment-safety-guide__feature-description,
.page-resources-online-entertainment-safety-guide__responsible-description,
.page-resources-online-entertainment-safety-guide__card-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources-online-entertainment-safety-guide__cta-center {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-online-entertainment-safety-guide__commitment-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* FAQ styles */
.page-resources-online-entertainment-safety-guide__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-resources-online-entertainment-safety-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-online-entertainment-safety-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--bg-light-card); /* Light background for FAQ question */
  color: var(--text-dark); /* Dark text for light background */
  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-online-entertainment-safety-guide__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-online-entertainment-safety-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark); /* Ensure dark text */
}

.page-resources-online-entertainment-safety-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  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-online-entertainment-safety-guide__faq-item.active .page-resources-online-entertainment-safety-guide__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Rotate to form an 'x' or simply change to '-' */
}

.page-resources-online-entertainment-safety-guide__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;
  background: #2a2a2a; /* Darker background for answer content */
  color: #f0f0f0; /* Light text for dark background */
  border-radius: 0 0 5px 5px;
}

.page-resources-online-entertainment-safety-guide__faq-item.active .page-resources-online-entertainment-safety-guide__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 15px !important;
  opacity: 1;
}

.page-resources-online-entertainment-safety-guide__faq-answer p {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.7;
  color: #f0f0f0; /* Ensure light text for dark background */
}

.page-resources-online-entertainment-safety-guide__contact-cta {
  padding: 80px 20px;
  background: linear-gradient(45deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-light);
  text-align: center;
}

.page-resources-online-entertainment-safety-guide__contact-content {
  max-width: 800px;
}

.page-resources-online-entertainment-safety-guide__contact-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 0 2px 4px var(--shadow-dark);
}

.page-resources-online-entertainment-safety-guide__contact-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  line-height: 1.8;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-online-entertainment-safety-guide__hero-title {
    font-size: 2.8em;
  }
  .page-resources-online-entertainment-safety-guide__section-title {
    font-size: 2.2em;
  }
  .page-resources-online-entertainment-safety-guide__contact-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-resources-online-entertainment-safety-guide__hero-section {
    padding-top: 100px !important; /* Mobile padding-top for fixed header */
    padding-bottom: 60px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-online-entertainment-safety-guide__hero-container,
  .page-resources-online-entertainment-safety-guide__container,
  .page-resources-online-entertainment-safety-guide__contact-content {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-online-entertainment-safety-guide__hero-title {
    font-size: 2.2em;
  }

  .page-resources-online-entertainment-safety-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-online-entertainment-safety-guide__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-online-entertainment-safety-guide__btn-primary,
  .page-resources-online-entertainment-safety-guide__btn-secondary {
    width: 100% !important;
    padding: 12px 25px !important;
    font-size: 1em !important;
  }

  .page-resources-online-entertainment-safety-guide__section {
    padding: 40px 15px;
  }

  .page-resources-online-entertainment-safety-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-online-entertainment-safety-guide__text-block {
    font-size: 0.95em;
  }

  .page-resources-online-entertainment-safety-guide__features-grid,
  .page-resources-online-entertainment-safety-guide__responsible-grid,
  .page-resources-online-entertainment-safety-guide__commitment-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-online-entertainment-safety-guide__feature-card,
  .page-resources-online-entertainment-safety-guide__responsible-item,
  .page-resources-online-entertainment-safety-guide__card {
    padding: 25px;
  }

  .page-resources-online-entertainment-safety-guide__feature-icon,
  .page-resources-online-entertainment-safety-guide__responsible-image {
    width: 120px; /* Adjusted for mobile, still > 200px equivalent visual size */
    max-width: 100% !important;
    height: auto !important;
  }

  .page-resources-online-entertainment-safety-guide__feature-title,
  .page-resources-online-entertainment-safety-guide__responsible-title,
  .page-resources-online-entertainment-safety-guide__card-title {
    font-size: 1.3em;
  }

  .page-resources-online-entertainment-safety-guide__cta-center {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }

  .page-resources-online-entertainment-safety-guide__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }

  .page-resources-online-entertainment-safety-guide__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }

  .page-resources-online-entertainment-safety-guide__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }

  .page-resources-online-entertainment-safety-guide__faq-answer {
    padding: 0 15px;
  }

  .page-resources-online-entertainment-safety-guide__faq-item.active .page-resources-online-entertainment-safety-guide__faq-answer {
    padding: 15px !important;
  }

  .page-resources-online-entertainment-safety-guide__contact-cta {
    padding: 60px 15px;
  }

  .page-resources-online-entertainment-safety-guide__contact-title {
    font-size: 2em;
  }

  .page-resources-online-entertainment-safety-guide__contact-description {
    font-size: 1em;
  }

  /* Ensure all images are responsive */
  .page-resources-online-entertainment-safety-guide img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

/* General image responsive styles (min-width for larger images) */
.page-resources-online-entertainment-safety-guide img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Contrast Fixes */
.page-resources-online-entertainment-safety-guide__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-resources-online-entertainment-safety-guide__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}