/* style/resources-secure-gaming-tips.css */

/* --- General Styles --- */
.page-resources-secure-gaming-tips {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-resources-secure-gaming-tips__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-secure-gaming-tips__section {
  padding: 60px 0;
  text-align: center;
}

.page-resources-secure-gaming-tips__heading {
  font-size: 3em;
  color: #26A9E0; /* Brand color for headings */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-secure-gaming-tips__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text for readability on dark background */
}

.page-resources-secure-gaming-tips__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-resources-secure-gaming-tips__list-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly visible background for list items */
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.05em;
  color: #ffffff;
  line-height: 1.6;
  border-left: 4px solid #26A9E0;
}

.page-resources-secure-gaming-tips__list-item strong {
  color: #26A9E0; /* Highlight strong text with brand color */
}

/* --- Buttons --- */
.page-resources-secure-gaming-tips__btn-primary,
.page-resources-secure-gaming-tips__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
  margin: 10px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-resources-secure-gaming-tips__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid transparent;
}

.page-resources-secure-gaming-tips__btn-primary:hover {
  background: #1e87c0;
  transform: translateY(-2px);
}

.page-resources-secure-gaming-tips__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-secure-gaming-tips__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87c0;
  transform: translateY(-2px);
}

.page-resources-secure-gaming-tips__btn-centered {
  display: block;
  margin: 30px auto 0 auto;
}

/* --- Hero Section --- */
.page-resources-secure-gaming-tips__hero-section {
  position: relative;
  width: 100%;
  height: 70vh; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-resources-secure-gaming-tips__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-resources-secure-gaming-tips__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: -1;
}

.page-resources-secure-gaming-tips__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-resources-secure-gaming-tips__hero-title {
  font-size: 3.8em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-secure-gaming-tips__hero-description {
  font-size: 1.5em;
  color: #f0f0f0;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources-secure-gaming-tips__hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Content Image --- */
.page-resources-secure-gaming-tips__image-content {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* --- Card Grid --- */
.page-resources-secure-gaming-tips__grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-secure-gaming-tips__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark body */
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff; /* Ensure text is light on card background */
}

.page-resources-secure-gaming-tips__card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-resources-secure-gaming-tips__card-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-secure-gaming-tips__card-text {
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

/* --- Feature Cards --- */
.page-resources-secure-gaming-tips__feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-secure-gaming-tips__feature-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff; /* Ensure text is light on feature card background */
}

.page-resources-secure-gaming-tips__feature-card:hover {
  transform: translateY(-5px);
}

.page-resources-secure-gaming-tips__feature-icon {
  width: 200px; /* Minimum size requirement */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-secure-gaming-tips__feature-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-resources-secure-gaming-tips__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

/* --- Call to Action Section --- */
.page-resources-secure-gaming-tips__call-to-action {
  background: linear-gradient(135deg, #26A9E0, #1e87c0);
  color: #ffffff;
  padding: 80px 20px;
  border-radius: 15px;
  margin: 60px auto;
  max-width: 1000px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-resources-secure-gaming-tips__call-to-action .page-resources-secure-gaming-tips__heading {
  color: #ffffff;
}

.page-resources-secure-gaming-tips__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* --- FAQ Section --- */
.page-resources-secure-gaming-tips__faq {
  text-align: left;
}

.page-resources-secure-gaming-tips__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-resources-secure-gaming-tips__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-resources-secure-gaming-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.page-resources-secure-gaming-tips__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-resources-secure-gaming-tips__faq-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin: 0;
  flex-grow: 1;
}

.page-resources-secure-gaming-tips__faq-toggle {
  font-size: 1.8em;
  color: #ffffff;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-resources-secure-gaming-tips__faq-item.active .page-resources-secure-gaming-tips__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to form an X or minus */
}

.page-resources-secure-gaming-tips__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-secure-gaming-tips__faq-item.active .page-resources-secure-gaming-tips__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px 25px;
}

.page-resources-secure-gaming-tips__faq-answer .page-resources-secure-gaming-tips__paragraph {
  color: #f0f0f0;
  margin-bottom: 0;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-resources-secure-gaming-tips__hero-title {
    font-size: 3em;
  }
  .page-resources-secure-gaming-tips__hero-description {
    font-size: 1.3em;
  }
  .page-resources-secure-gaming-tips__heading {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  /* --- Global mobile adjustments --- */
  .page-resources-secure-gaming-tips__section {
    padding: 40px 0;
  }
  .page-resources-secure-gaming-tips__heading {
    font-size: 2em;
  }
  .page-resources-secure-gaming-tips__paragraph {
    font-size: 1em;
    line-height: 1.7;
  }
  .page-resources-secure-gaming-tips__list-item {
    font-size: 0.95em;
    padding: 12px 15px;
  }
  .page-resources-secure-gaming-tips__container,
  .page-resources-secure-gaming-tips__call-to-action {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* --- Hero Section Mobile --- */
  .page-resources-secure-gaming-tips__hero-section {
    height: 60vh;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset is applied */
  }
  .page-resources-secure-gaming-tips__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-resources-secure-gaming-tips__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
  }
  .page-resources-secure-gaming-tips__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-secure-gaming-tips__btn-primary,
  .page-resources-secure-gaming-tips__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  /* --- Images Mobile --- */
  .page-resources-secure-gaming-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* --- Card Grid Mobile --- */
  .page-resources-secure-gaming-tips__grid-cards,
  .page-resources-secure-gaming-tips__feature-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* --- Call to Action Mobile --- */
  .page-resources-secure-gaming-tips__call-to-action {
    padding: 50px 15px;
    margin: 40px auto;
  }
  .page-resources-secure-gaming-tips__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-secure-gaming-tips__cta-buttons a {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  /* --- FAQ Mobile --- */
  .page-resources-secure-gaming-tips__faq-question {
    padding: 15px 20px;
  }
  .page-resources-secure-gaming-tips__faq-title {
    font-size: 1.1em;
  }
  .page-resources-secure-gaming-tips__faq-answer {
    padding: 0 20px;
  }
  .page-resources-secure-gaming-tips__faq-item.active .page-resources-secure-gaming-tips__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  /* Ensure all content containers prevent overflow */
  .page-resources-secure-gaming-tips__section,
  .page-resources-secure-gaming-tips__card,
  .page-resources-secure-gaming-tips__container,
  .page-resources-secure-gaming-tips__hero-content,
  .page-resources-secure-gaming-tips__feature-card,
  .page-resources-secure-gaming-tips__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll for these containers */
  }
}

/* Ensure text color for main content area on body background */
.page-resources-secure-gaming-tips__introduction,
.page-resources-secure-gaming-tips__security-measures,
.page-resources-secure-gaming-tips__player-guide,
.page-resources-secure-gaming-tips__responsible-gaming,
.page-resources-secure-gaming-tips__transparency,
.page-resources-secure-gaming-tips__customer-support,
.page-resources-secure-gaming-tips__faq {
  background-color: transparent; /* Rely on body background */
  color: #f0f0f0; /* Light text for readability on dark body background */
}

.page-resources-secure-gaming-tips__introduction .page-resources-secure-gaming-tips__heading,
.page-resources-secure-gaming-tips__security-measures .page-resources-secure-gaming-tips__heading,
.page-resources-secure-gaming-tips__player-guide .page-resources-secure-gaming-tips__heading,
.page-resources-secure-gaming-tips__responsible-gaming .page-resources-secure-gaming-tips__heading,
.page-resources-secure-gaming-tips__transparency .page-resources-secure-gaming-tips__heading,
.page-resources-secure-gaming-tips__customer-support .page-resources-secure-gaming-tips__heading,
.page-resources-secure-gaming-tips__faq .page-resources-secure-gaming-tips__heading {
  color: #26A9E0; /* Brand color for headings in content sections */
}