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

/* Base styles for the page content wrapper */
.page-resources-secure-gaming-practices {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

/* Hero Section */
.page-resources-secure-gaming-practices__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

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

.page-resources-secure-gaming-practices__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-resources-secure-gaming-practices__hero-content {
  max-width: 800px;
  z-index: 3;
  padding: 20px;
}

.page-resources-secure-gaming-practices__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-resources-secure-gaming-practices__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-secure-gaming-practices__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Section titles */
.page-resources-secure-gaming-practices__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-resources-secure-gaming-practices__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
}

.page-resources-secure-gaming-practices__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #ffffff; /* Light text for dark background */
}

/* Buttons */
.page-resources-secure-gaming-practices__btn-primary,
.page-resources-secure-gaming-practices__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-secure-gaming-practices__btn-primary {
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-secure-gaming-practices__btn-primary:hover {
  background-color: #1e87c0; /* Slightly darker on hover */
  border-color: #1e87c0;
}

.page-resources-secure-gaming-practices__btn-secondary {
  background-color: transparent;
  color: #26A9E0; /* Primary brand color for text */
  border: 2px solid #26A9E0;
}

.page-resources-secure-gaming-practices__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Sections with dark background */
.page-resources-secure-gaming-practices__dark-bg {
  background-color: rgba(38, 169, 224, 0.1); /* Slightly transparent brand color for dark effect */
  padding-bottom: 60px;
}

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

.page-resources-secure-gaming-practices__card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards on dark body */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

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

.page-resources-secure-gaming-practices__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-secure-gaming-practices__card-text {
  font-size: 1em;
  color: #f0f0f0;
  text-align: left;
}

/* Lists */
.page-resources-secure-gaming-practices__list,
.page-resources-secure-gaming-practices__numbered-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-resources-secure-gaming-practices__numbered-list {
  list-style-type: decimal;
}

.page-resources-secure-gaming-practices__list-item {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-resources-secure-gaming-practices__list-item strong {
  color: #26A9E0; /* Highlight important text in lists */
}

/* Video Section */
.page-resources-secure-gaming-practices__video-section {
  padding: 60px 0;
  text-align: center;
}

.page-resources-secure-gaming-practices__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px; /* Max width for video */
  margin: 30px auto;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-resources-secure-gaming-practices__video-link {
  display: block;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.page-resources-secure-gaming-practices__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-resources-secure-gaming-practices__play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4em;
  color: #ffffff;
  background-color: rgba(38, 169, 224, 0.8);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.page-resources-secure-gaming-practices__play-button:hover {
  background-color: #26A9E0;
}

/* Call to Action Section */
.page-resources-secure-gaming-practices__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: rgba(38, 169, 224, 0.05); /* Lightest tint for a subtle background */
}

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

/* FAQ Section */
.page-resources-secure-gaming-practices__faq-section {
  padding: 60px 0;
}

.page-resources-secure-gaming-practices__faq-list {
  margin-top: 40px;
}

.page-resources-secure-gaming-practices__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-resources-secure-gaming-practices__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.1); /* Slightly darker for question */
  transition: background-color 0.3s ease;
}

.page-resources-secure-gaming-practices__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.2);
}

.page-resources-secure-gaming-practices__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #26A9E0;
}

.page-resources-secure-gaming-practices__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-resources-secure-gaming-practices__faq-item.active .page-resources-secure-gaming-practices__faq-toggle {
  transform: rotate(45deg); /* Change to 'x' or '-' visually */
}

.page-resources-secure-gaming-practices__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px; /* Initial padding for collapsed state */
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

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

/* Links within text */
.page-resources-secure-gaming-practices a {
  color: #26A9E0; /* Brand primary color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-secure-gaming-practices a:hover {
  color: #1e87c0; /* Slightly darker on hover */
  text-decoration: underline;
}

/* Image specific styles - ensure no filter is used */
.page-resources-secure-gaming-practices img {
  border-radius: 8px;
  /* NO CSS FILTERS ALLOWED */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-secure-gaming-practices__hero-title {
    font-size: 2.8em;
  }
  .page-resources-secure-gaming-practices__section-title {
    font-size: 2em;
  }
  .page-resources-secure-gaming-practices__sub-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-resources-secure-gaming-practices {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-resources-secure-gaming-practices__container {
    padding: 0 15px;
  }

  .page-resources-secure-gaming-practices__hero-section {
    height: 500px;
  }

  .page-resources-secure-gaming-practices__hero-title {
    font-size: 2.2em;
  }

  .page-resources-secure-gaming-practices__hero-description {
    font-size: 1em;
  }
}