/* style/resources-vn88-app-security-privacy.css */

/* Base styles */
.page-resources-vn88-app-security-privacy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-resources-vn88-app-security-privacy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-vn88-app-security-privacy__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-resources-vn88-app-security-privacy__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-vn88-app-security-privacy__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #ffffff; /* Default for dark sections */
}

.page-resources-vn88-app-security-privacy__paragraph--center {
  text-align: center;
}

.page-resources-vn88-app-security-privacy__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #ffffff;
}

.page-resources-vn88-app-security-privacy__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-resources-vn88-app-security-privacy__btn-primary,
.page-resources-vn88-app-security-privacy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-vn88-app-security-privacy__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-vn88-app-security-privacy__btn-primary:hover {
  background-color: #1f8ac7;
  border-color: #1f8ac7;
}

.page-resources-vn88-app-security-privacy__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

/* Section backgrounds and text colors */
.page-resources-vn88-app-security-privacy__dark-bg {
  background-color: #0a0a0a; /* Match body background from shared.css */
  color: #ffffff;
}

.page-resources-vn88-app-security-privacy__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

.page-resources-vn88-app-security-privacy__light-bg .page-resources-vn88-app-security-privacy__paragraph,
.page-resources-vn88-app-security-privacy__light-bg .page-resources-vn88-app-security-privacy__list li {
  color: #f0f0f0;
}

/* Hero Section */
.page-resources-vn88-app-security-privacy__hero-section {
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-bottom: 60px;
}

.page-resources-vn88-app-security-privacy__hero-section .page-resources-vn88-app-security-privacy__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-resources-vn88-app-security-privacy__hero-content {
  max-width: 800px;
}

.page-resources-vn88-app-security-privacy__main-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: bold;
}

.page-resources-vn88-app-security-privacy__subtitle {
  font-size: 1.4em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.5;
}

.page-resources-vn88-app-security-privacy__hero-image-wrapper {
  width: 100%;
  max-width: 800px;
  margin-top: 40px;
}

.page-resources-vn88-app-security-privacy__hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.page-resources-vn88-app-security-privacy__content-section,
.page-resources-vn88-app-security-privacy__features-section,
.page-resources-vn88-app-security-privacy__responsible-gaming-section,
.page-resources-vn88-app-security-privacy__benefits-section,
.page-resources-vn88-app-security-privacy__faq-section,
.page-resources-vn88-app-security-privacy__cta-section {
  padding: 80px 0;
}

/* Features Grid */
.page-resources-vn88-app-security-privacy__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-vn88-app-security-privacy__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-vn88-app-security-privacy__feature-card:hover {
  transform: translateY(-10px);
}

.page-resources-vn88-app-security-privacy__card-image {
  width: 100%;
  max-width: 400px; /* Limiting max width for card images */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-vn88-app-security-privacy__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-vn88-app-security-privacy__card-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources-vn88-app-security-privacy__content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Video Section */
.page-resources-vn88-app-security-privacy__video-section {
  padding: 80px 0;
  text-align: center;
}

.page-resources-vn88-app-security-privacy__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px; /* Max width for video */
  margin: 40px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.page-resources-vn88-app-security-privacy__video {
  width: 100%;
  height: auto;
  display: block;
}

.page-resources-vn88-app-security-privacy__video-link {
  display: block;
  width: 100%;
  height: 100%;
}

/* Benefits Grid */
.page-resources-vn88-app-security-privacy__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-vn88-app-security-privacy__benefit-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-resources-vn88-app-security-privacy__benefit-item:hover {
  transform: translateY(-10px);
}

.page-resources-vn88-app-security-privacy__benefit-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-vn88-app-security-privacy__benefit-description {
  font-size: 1.05em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-resources-vn88-app-security-privacy__faq-list {
  margin-top: 40px;
}

.page-resources-vn88-app-security-privacy__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-vn88-app-security-privacy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.3em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #26A9E0;
  transition: background-color 0.3s ease;
}

.page-resources-vn88-app-security-privacy__faq-question:hover {
  background-color: #1f8ac7;
}

.page-resources-vn88-app-security-privacy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-vn88-app-security-privacy__faq-item.active .page-resources-vn88-app-security-privacy__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-vn88-app-security-privacy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-resources-vn88-app-security-privacy__faq-answer p {
  margin: 0;
  font-size: 1.05em;
}

/* CTA Section */
.page-resources-vn88-app-security-privacy__cta-section {
  text-align: center;
  padding: 100px 0;
}

.page-resources-vn88-app-security-privacy__cta-content {
  max-width: 900px;
}

.page-resources-vn88-app-security-privacy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-resources-vn88-app-security-privacy__main-title {
    font-size: 3em;
  }

  .page-resources-vn88-app-security-privacy__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-vn88-app-security-privacy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-vn88-app-security-privacy__container {
    padding: 0 15px;
  }

  .page-resources-vn88-app-security-privacy__hero-section .page-resources-vn88-app-security-privacy__container {
    flex-direction: column;
  }

  .page-resources-vn88-app-security-privacy__main-title {
    font-size: 2.2em;
  }

  .page-resources-vn88-app-security-privacy__subtitle {
    font-size: 1.2em;
  }

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