/* style/index-security-guarantee.css */
:root {
  --w88hanoi-primary-color: #11A84E;
  --w88hanoi-secondary-color: #22C768;
  --w88hanoi-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --w88hanoi-card-bg: #11271B;
  --w88hanoi-background: #08160F;
  --w88hanoi-text-main: #F2FFF6;
  --w88hanoi-text-secondary: #A7D9B8;
  --w88hanoi-border: #2E7A4E;
  --w88hanoi-glow: #57E38D;
  --w88hanoi-gold: #F2C14E;
  --w88hanoi-divider: #1E3A2A;
  --w88hanoi-deep-green: #0A4B2C;
}

.page-index-security-guarantee {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--w88hanoi-text-main); /* Default text color for the page */
  background-color: var(--w88hanoi-background); /* Page background */
}

.page-index-security-guarantee__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  background-color: var(--w88hanoi-deep-green);
}

.page-index-security-guarantee__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

.page-index-security-guarantee__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-index-security-guarantee__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-security-guarantee__hero-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: var(--w88hanoi-gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-index-security-guarantee__hero-description {
  font-size: 1.2em;
  color: var(--w88hanoi-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-security-guarantee__section {
  padding: 80px 20px;
  text-align: center;
}

.page-index-security-guarantee__section--intro {
  background-color: var(--w88hanoi-background);
}

.page-index-security-guarantee__section--features {
  background-color: var(--w88hanoi-card-bg);
}

.page-index-security-guarantee__section--details {
  background-color: var(--w88hanoi-background);
}

.page-index-security-guarantee__dark-section {
  background-color: var(--w88hanoi-deep-green);
  color: var(--w88hanoi-text-main);
}

.page-index-security-guarantee__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-index-security-guarantee__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: var(--w88hanoi-gold);
  margin-bottom: 40px;
  font-weight: bold;
}

.page-index-security-guarantee__section-text {
  font-size: 1.1em;
  color: var(--w88hanoi-text-secondary);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-security-guarantee__feature-item {
  background-color: var(--w88hanoi-background);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid var(--w88hanoi-border);
}

.page-index-security-guarantee__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-index-security-guarantee__feature-title {
  font-size: 1.5em;
  color: var(--w88hanoi-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-security-guarantee__feature-description {
  font-size: 1em;
  color: var(--w88hanoi-text-secondary);
}

.page-index-security-guarantee__advantage-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
  text-align: left;
}

.page-index-security-guarantee__advantage-item {
  background-color: var(--w88hanoi-background);
  border: 1px solid var(--w88hanoi-border);
  padding: 15px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: var(--w88hanoi-text-main);
  position: relative;
  padding-left: 45px;
}

.page-index-security-guarantee__advantage-item::before {
  content: '✔';
  color: var(--w88hanoi-primary-color);
  position: absolute;
  left: 15px;
  font-weight: bold;
  font-size: 1.2em;
  top: 50%;
  transform: translateY(-50%);
}

.page-index-security-guarantee__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-index-security-guarantee__faq-item {
  background-color: var(--w88hanoi-card-bg);
  border: 1px solid var(--w88hanoi-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-index-security-guarantee__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--w88hanoi-text-main);
  cursor: pointer;
  background-color: var(--w88hanoi-deep-green);
  border-bottom: 1px solid var(--w88hanoi-border);
}

.page-index-security-guarantee__faq-item[open] .page-index-security-guarantee__faq-question {
  border-bottom: 1px solid var(--w88hanoi-border);
}

.page-index-security-guarantee__faq-qtext {
  flex-grow: 1;
}

.page-index-security-guarantee__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--w88hanoi-gold);
}

.page-index-security-guarantee__faq-item details > summary {
  list-style: none;
}

.page-index-security-guarantee__faq-item details > summary::-webkit-details-marker {
  display: none;
}

.page-index-security-guarantee__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--w88hanoi-text-secondary);
  background-color: var(--w88hanoi-background);
}

.page-index-security-guarantee__faq-answer p {
  margin: 0;
}

.page-index-security-guarantee__btn-primary,
.page-index-security-guarantee__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;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-security-guarantee__btn-primary {
  background: var(--w88hanoi-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-index-security-guarantee__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index-security-guarantee__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-index-security-guarantee__btn-secondary {
  background: transparent;
  color: var(--w88hanoi-primary-color);
  border: 2px solid var(--w88hanoi-primary-color);
}

.page-index-security-guarantee__btn-secondary:hover {
  background: var(--w88hanoi-primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index-security-guarantee__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-index-security-guarantee__hero-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-index-security-guarantee__section-title {
    font-size: clamp(1.6em, 4vw, 2.5em);
  }
  .page-index-security-guarantee__feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-security-guarantee {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-security-guarantee__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-index-security-guarantee__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index-security-guarantee__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-index-security-guarantee__hero-description {
    font-size: 1em;
  }

  .page-index-security-guarantee__section {
    padding: 40px 15px;
  }

  .page-index-security-guarantee__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-index-security-guarantee__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
  }

  .page-index-security-guarantee__section-text {
    font-size: 0.95em;
  }

  .page-index-security-guarantee__feature-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index-security-guarantee__advantage-item {
    font-size: 1em;
    padding-left: 40px;
  }

  .page-index-security-guarantee__advantage-item::before {
    font-size: 1em;
    left: 10px;
  }

  .page-index-security-guarantee__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-index-security-guarantee__faq-answer {
    font-size: 0.95em;
    padding: 15px 20px;
  }

  .page-index-security-guarantee__btn-primary,
  .page-index-security-guarantee__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px; /* Add some space between stacked buttons */
  }

  .page-index-security-guarantee__btn-primary--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }

  .page-index-security-guarantee__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Ensure all images are responsive */
  .page-index-security-guarantee img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

/* Ensure all video elements are responsive */
.page-index-security-guarantee video,
.page-index-security-guarantee__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-index-security-guarantee__video-section,
.page-index-security-guarantee__video-container,
.page-index-security-guarantee__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-index-security-guarantee video,
  .page-index-security-guarantee__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-security-guarantee__video-section,
  .page-index-security-guarantee__video-container,
  .page-index-security-guarantee__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-index-security-guarantee__video-section {
    padding-top: 10px !important;
  }
  .page-index-security-guarantee__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}