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

/* General page styling */
.page-resources-sunwin-vn-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 (#0a0a0a) */
}

.page-resources-sunwin-vn-security-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-sunwin-vn-security-features__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-sunwin-vn-security-features__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-resources-sunwin-vn-security-features__subsection-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Hero Section */
.page-resources-sunwin-vn-security-features__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, #0a0a0a 0%, #26A9E0 100%); /* Blend with brand color */
}

.page-resources-sunwin-vn-security-features__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
}

.page-resources-sunwin-vn-security-features__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-resources-sunwin-vn-security-features__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-sunwin-vn-security-features__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-sunwin-vn-security-features__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-resources-sunwin-vn-security-features__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Buttons */
.page-resources-sunwin-vn-security-features__btn-primary,
.page-resources-sunwin-vn-security-features__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;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

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

.page-resources-sunwin-vn-security-features__btn-primary:hover {
  background-color: #1a8ac2;
  border-color: #1a8ac2;
  transform: translateY(-2px);
}

.page-resources-sunwin-vn-security-features__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-sunwin-vn-security-features__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Introduction Section */
.page-resources-sunwin-vn-security-features__introduction {
  padding: 60px 0;
  background-color: #1a1a1a; /* Darker background for contrast */
}

/* Main Features Section */
.page-resources-sunwin-vn-security-features__main-features {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
}

.page-resources-sunwin-vn-security-features__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-sunwin-vn-security-features__feature-card {
  background-color: #1c1c1c; /* Slightly lighter dark for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-resources-sunwin-vn-security-features__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-resources-sunwin-vn-security-features__feature-icon {
  width: 100%; /* Ensure images fill card width */
  height: auto;
  max-height: 200px; /* Constrain height */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-sunwin-vn-security-features__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-sunwin-vn-security-features__feature-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 20px;
}

.page-resources-sunwin-vn-security-features__feature-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-resources-sunwin-vn-security-features__feature-list li::before {
  content: '✓';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Transaction Security Section */
.page-resources-sunwin-vn-security-features__transaction-security {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-resources-sunwin-vn-security-features__content-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-resources-sunwin-vn-security-features__content-row--reverse {
  flex-direction: row-reverse;
}

.page-resources-sunwin-vn-security-features__text-block {
  flex: 1;
}

.page-resources-sunwin-vn-security-features__image-block {
  flex: 1;
  text-align: center;
}

.page-resources-sunwin-vn-security-features__image-full {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* Fairness Section */
.page-resources-sunwin-vn-security-features__fairness {
  padding: 80px 0;
  background-color: #0a0a0a;
}

.page-resources-sunwin-vn-security-features__fairness-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-sunwin-vn-security-features__fairness-item {
  background-color: #1c1c1c;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-resources-sunwin-vn-security-features__fairness-item:hover {
  transform: translateY(-10px);
}

.page-resources-sunwin-vn-security-features__item-icon {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-sunwin-vn-security-features__item-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

/* Player Responsibility Section */
.page-resources-sunwin-vn-security-features__player-responsibility {
  padding: 80px 0;
  background-color: #1a1a1a;
}

/* Support Section */
.page-resources-sunwin-vn-security-features__support {
  padding: 80px 0;
  background-color: #0a0a0a;
}

.page-resources-sunwin-vn-security-features__support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-sunwin-vn-security-features__support-item {
  background-color: #1c1c1c;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-resources-sunwin-vn-security-features__support-item:hover {
  transform: translateY(-10px);
}

/* FAQ Section */
.page-resources-sunwin-vn-security-features__faq {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-resources-sunwin-vn-security-features__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-resources-sunwin-vn-security-features__faq-item {
  background-color: #1c1c1c;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-resources-sunwin-vn-security-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #26A9E0; /* Brand color for question */
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-resources-sunwin-vn-security-features__faq-question:hover {
  background-color: #1a8ac2;
}

.page-resources-sunwin-vn-security-features__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-resources-sunwin-vn-security-features__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #2a2a2a; /* Darker background for answer */
  color: #ffffff;
}

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

.page-resources-sunwin-vn-security-features__faq-answer p {
  margin: 0;
}

/* Call to Action Section */
.page-resources-sunwin-vn-security-features__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0a0a0a;
}

.page-resources-sunwin-vn-security-features__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-sunwin-vn-security-features__hero-title {
    font-size: 3em;
  }
  .page-resources-sunwin-vn-security-features__section-title {
    font-size: 2em;
  }
  .page-resources-sunwin-vn-security-features__subsection-title {
    font-size: 1.5em;
  }
}

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

  .page-resources-sunwin-vn-security-features__hero-title {
    font-size: 2.5em;
  }

  .page-resources-sunwin-vn-security-features__hero-description {
    font-size: 1.1em;
  }

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

  .page-resources-sunwin-vn-security-features__btn-primary,
  .page-resources-sunwin-vn-security-features__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-sunwin-vn-security-features__container {
    padding: 0 15px;
  }
}