/* style/resources-understanding-hi88-security.css */

.page-resources-understanding-hi88-security {
  font-family: 'Arial', sans-serif;
  color: #FFFFFF; /* Default text color for dark backgrounds */
  line-height: 1.6;
  background-color: #0A2463; /* Main background color */
}

.page-resources-understanding-hi88-security__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-understanding-hi88-security__hero {
  background: linear-gradient(135deg, #0A2463, #1A3F87);
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-resources-understanding-hi88-security__hero-content {
  z-index: 1;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-resources-understanding-hi88-security__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.3;
  overflow: hidden;
}

.page-resources-understanding-hi88-security__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-resources-understanding-hi88-security__title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-understanding-hi88-security__subtitle {
  font-size: 1.4em;
  color: #E0E0E0;
  margin-bottom: 30px;
}

.page-resources-understanding-hi88-security__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-understanding-hi88-security__section:last-of-type {
  border-bottom: none;
}

.page-resources-understanding-hi88-security__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-resources-understanding-hi88-security__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-resources-understanding-hi88-security__commitment p,
.page-resources-understanding-hi88-security__data-protection p,
.page-resources-understanding-hi88-security__fund-safety p,
.page-resources-understanding-hi88-security__fair-play p,
.page-resources-understanding-hi88-security__vip-security p,
.page-resources-understanding-hi88-security__responsible-gaming p {
  font-size: 1.1em;
  color: #E0E0E0;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-understanding-hi88-security__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-understanding-hi88-security__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-resources-understanding-hi88-security__feature-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-understanding-hi88-security__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-resources-understanding-hi88-security__feature-graphic {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 8px;
  opacity: 0.8;
}

.page-resources-understanding-hi88-security__feature-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources-understanding-hi88-security__feature-item p {
  font-size: 1em;
  color: #CCCCCC;
  text-align: justify;
}

.page-resources-understanding-hi88-security__graphic {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 30px auto 0;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-resources-understanding-hi88-security__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  border-left: 5px solid #FFD700;
}

.page-resources-understanding-hi88-security__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-resources-understanding-hi88-security__faq-answer {
  font-size: 1.1em;
  color: #E0E0E0;
}

.page-resources-understanding-hi88-security__cta {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(90deg, #0A2463, #2A4F9E);
}

.page-resources-understanding-hi88-security__cta .page-resources-understanding-hi88-security__section-title {
  color: #FFD700;
}

.page-resources-understanding-hi88-security__cta .page-resources-understanding-hi88-security__section-title::after {
  background-color: #FFD700;
}

.page-resources-understanding-hi88-security__cta p {
  font-size: 1.2em;
  color: #E0E0E0;
  margin-bottom: 40px;
}

.page-resources-understanding-hi88-security__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-resources-understanding-hi88-security__button--primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

.page-resources-understanding-hi88-security__button--primary:hover {
  background-color: #E0B700;
  border-color: #E0B700;
  transform: translateY(-3px);
}

.page-resources-understanding-hi88-security__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-understanding-hi88-security__button--secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-understanding-hi88-security__title {
    font-size: 2.8em;
  }
  .page-resources-understanding-hi88-security__subtitle {
    font-size: 1.2em;
  }
  .page-resources-understanding-hi88-security__section-title {
    font-size: 2em;
  }
  .page-resources-understanding-hi88-security__hero-image-wrapper {
    width: 60%;
  }
}

@media (max-width: 768px) {
  .page-resources-understanding-hi88-security__hero {
    padding: 60px 0;
  }
  .page-resources-understanding-hi88-security__title {
    font-size: 2.2em;
  }
  .page-resources-understanding-hi88-security__subtitle {
    font-size: 1em;
  }
  .page-resources-understanding-hi88-security__section {
    padding: 40px 0;
  }
  .page-resources-understanding-hi88-security__section-title {
    font-size: 1.8em;
  }
  .page-resources-understanding-hi88-security__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-understanding-hi88-security__feature-item {
    padding: 25px;
  }
  .page-resources-understanding-hi88-security__hero-image-wrapper {
    width: 80%;
    height: 80%;
    top: auto;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.2;
  }
  .page-resources-understanding-hi88-security__hero-content {
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .page-resources-understanding-hi88-security__title {
    font-size: 1.8em;
  }
  .page-resources-understanding-hi88-security__subtitle {
    font-size: 0.9em;
  }
  .page-resources-understanding-hi88-security__section-title {
    font-size: 1.5em;
  }
  .page-resources-understanding-hi88-security__button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 5px;
  }
  .page-resources-understanding-hi88-security__hero-image-wrapper {
    display: none; /* Hide hero image on very small screens for better readability */
  }
}