/* style/resources-security-features.css */

/* Base styles for the page content */
.page-resources-security-features {
  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 */
}

/* Hero Section */
.page-resources-security-features__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #ffffff;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  box-sizing: border-box;
}

.page-resources-security-features__hero-content {
  max-width: 900px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  padding: 40px;
  border-radius: 10px;
}

.page-resources-security-features__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for title, good contrast on dark overlay */
  font-weight: bold;
  line-height: 1.2;
}

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

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

/* Call to Action Buttons */
.page-resources-security-features__btn-primary,
.page-resources-security-features__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  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;
  text-align: center;
  max-width: 100%; /* Ensure buttons don't overflow on mobile */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
}

.page-resources-security-features__btn-primary {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-security-features__btn-primary:hover {
  background-color: #1a8cc2; /* Slightly darker blue on hover */
  border-color: #1a8cc2;
}

.page-resources-security-features__btn-secondary {
  background-color: transparent;
  color: #26A9E0; /* Brand primary color for text */
  border: 2px solid #26A9E0;
}

.page-resources-security-features__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* General Content Sections */
.page-resources-security-features__content-section {
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-resources-security-features__dark-bg {
  background-color: #1a1a2e; /* Dark background from body */
  color: #ffffff;
}

.page-resources-security-features__light-bg {
  background-color: #ffffff; /* White background for cards */
  color: #333333; /* Dark text for light background */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-security-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Inner padding for content */
  box-sizing: border-box;
}

.page-resources-security-features__section-title {
  font-size: 2.2em;
  color: #26A9E0; /* Brand color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-security-features__subsection-title {
  font-size: 1.8em;
  color: #26A9E0; /* Brand color */
  margin-top: 50px;
  margin-bottom: 25px;
  font-weight: bold;
  text-align: center;
}

.page-resources-security-features__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
  color: #f0f0f0; /* Light text on dark background */
}

/* Feature Grid for Licensing Section */
.page-resources-security-features__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-security-features__feature-card {
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-security-features__card-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Recommended size for cards */
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-resources-security-features__card-title {
  font-size: 1.4em;
  color: #26A9E0; /* Brand color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-security-features__card-description {
  font-size: 1em;
  color: #333333;
  text-align: justify;
}

/* Security Features Section */
.page-resources-security-features__security-features,
.page-resources-security-features__fairness-features,
.page-resources-security-features__player-protection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-security-features__security-item,
.page-resources-security-features__fairness-item,
.page-resources-security-features__protection-card {
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-security-features__item-title {
  font-size: 1.4em;
  color: #26A9E0; /* Brand color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-security-features__item-description {
  font-size: 1em;
  color: #333333;
  text-align: justify;
}

/* Integrity List */
.page-resources-security-features__integrity-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-resources-security-features__list-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for list items on dark bg */
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-resources-security-features__list-item strong {
  color: #26A9E0;
}

/* Video Section */
.page-resources-security-features__video-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #1a1a2e; /* Same as body background */
  box-sizing: border-box;
}

.page-resources-security-features__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px; /* 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.3);
  box-sizing: border-box;
}

.page-resources-security-features__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer; /* Indicate clickable */
}

.page-resources-security-features__video-link {
  display: block;
  text-decoration: none;
}

.page-resources-security-features__video-caption {
  margin-top: 15px;
  font-size: 1em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-resources-security-features__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-security-features__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #f0f0f0;
}

.page-resources-security-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

.page-resources-security-features__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-security-features__faq-question h4 {
  margin: 0;
  font-size: 1.2em;
  color: #26A9E0; /* Brand color */
  font-weight: bold;
}

.page-resources-security-features__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  color: #26A9E0;
  transition: transform 0.3s ease;
  font-weight: normal;
}

.page-resources-security-features__faq-item.active .page-resources-security-features__faq-toggle {
  transform: rotate(45deg); /* Plus to X / Minus */
}

.page-resources-security-features__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.03);
}

.page-resources-security-features__faq-item.active .page-resources-security-features__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

.page-resources-security-features__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #f0f0f0;
  text-align: justify;
}

/* Call to Action Section */
.page-resources-security-features__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #26A9E0; /* Brand primary color background */
  color: #ffffff;
  box-sizing: border-box;
}

.page-resources-security-features__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-resources-security-features__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-security-features__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-security-features__hero-title {
    font-size: 2.4em;
  }

  .page-resources-security-features__section-title {
    font-size: 2em;
  }

  .page-resources-security-features__subsection-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-resources-security-features__hero-section {
    min-height: 450px;
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

  .page-resources-security-features__hero-content {
    padding: 30px 20px;
  }

  .page-resources-security-features__hero-title {
    font-size: 2em;
  }

  .page-resources-security-features__hero-description {
    font-size: 1em;
  }

  .page-resources-security-features__hero-buttons,
  .page-resources-security-features__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-security-features__btn-primary,
  .page-resources-security-features__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-resources-security-features__content-section {
    padding: 40px 15px;
  }

  .page-resources-security-features__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-security-features__subsection-title {
    font-size: 1.4em;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-resources-security-features__text-block {
    font-size: 0.95em;
  }
}