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

.page-resources-hi88-account-security {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f9fa; /* Light background for the main content area */
}

.page-resources-hi88-account-security__introduction-section {
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

.page-resources-hi88-account-security__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-resources-hi88-account-security__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #0A192F;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

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

.page-resources-hi88-account-security__main-title {
  font-size: 42px;
  font-weight: 800;
  color: #0A192F;
  text-align: center;
  margin-bottom: 25px;
}

.page-resources-hi88-account-security__text-block {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  color: #333333;
}

.page-resources-hi88-account-security__link-in-text {
  color: #0A192F;
  text-decoration: underline;
  font-weight: 600;
}

.page-resources-hi88-account-security__link-in-text:hover {
  color: #FFD700;
}

/* Buttons */
.page-resources-hi88-account-security__cta-group {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-hi88-account-security__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.page-resources-hi88-account-security__btn-primary {
  background-color: #0A192F;
  color: #ffffff;
  border-color: #0A192F;
}

.page-resources-hi88-account-security__btn-primary:hover {
  background-color: #FFD700;
  color: #0A192F;
  border-color: #FFD700;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-hi88-account-security__btn-secondary {
  background-color: #FFD700;
  color: #0A192F;
  border-color: #FFD700;
}

.page-resources-hi88-account-security__btn-secondary:hover {
  background-color: #0A192F;
  color: #ffffff;
  border-color: #0A192F;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Dark background sections */
.page-resources-hi88-account-security__dark-bg {
  background-color: #0A192F;
  color: #ffffff; /* Light text for dark background */
}

.page-resources-hi88-account-security__dark-bg .page-resources-hi88-account-security__section-title {
  color: #ffffff;
}

.page-resources-hi88-account-security__dark-bg .page-resources-hi88-account-security__text-block {
  color: #f0f0f0;
}

.page-resources-hi88-account-security__dark-bg .page-resources-hi88-account-security__link-in-text {
  color: #FFD700;
}

.page-resources-hi88-account-security__dark-bg .page-resources-hi88-account-security__link-in-text:hover {
  color: #ffffff;
}

/* HERO Section */
.page-resources-hi88-account-security__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  background-color: #0A192F; /* Fallback color */
}

.page-resources-hi88-account-security__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-resources-hi88-account-security__hero-image {
  width: 100%;
  margin: 0;
}

.page-resources-hi88-account-security__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* Product Showcase Section */
.page-resources-hi88-account-security__products-section {
  width: 100%;
  padding: 60px 20px;
  background-color: #f0f0f0;
}

.page-resources-hi88-account-security__products-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 2fr; /* Desktop: 4 small + 2 large */
  gap: 20px;
}

.page-resources-hi88-account-security__products-grid {
  display: grid;
  gap: 20px;
}

.page-resources-hi88-account-security__products-grid--small {
  grid-template-columns: repeat(4, 1fr);
}

.page-resources-hi88-account-security__products-grid--large {
  grid-template-columns: repeat(2, 1fr);
}

.page-resources-hi88-account-security__product-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  border: 3px solid #FFD700; /* Golden border */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-hi88-account-security__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-resources-hi88-account-security__product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-resources-hi88-account-security__product-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.page-resources-hi88-account-security__product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Quick Links Section */
.page-resources-hi88-account-security__quick-links-section {
  padding: 60px 20px;
}

.page-resources-hi88-account-security__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.page-resources-hi88-account-security__link-card {
  background-color: #1a2a47; /* Slightly lighter dark blue */
  color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-hi88-account-security__link-card:hover {
  transform: translateY(-5px);
  background-color: #FFD700;
  color: #0A192F;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border-color: #FFD700;
}

.page-resources-hi88-account-security__link-card:hover .page-resources-hi88-account-security__link-card-title {
  color: #0A192F;
}

.page-resources-hi88-account-security__link-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FFD700;
  transition: color 0.3s ease;
}

.page-resources-hi88-account-security__link-card-description {
  font-size: 15px;
  line-height: 1.5;
  color: #f0f0f0;
}

/* Core Games Section */
.page-resources-hi88-account-security__games-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
}

.page-resources-hi88-account-security__game-category {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-hi88-account-security__game-category:nth-child(even) {
  flex-direction: row-reverse;
}

.page-resources-hi88-account-security__game-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-resources-hi88-account-security__game-image {
  flex: 1;
  min-width: 350px;
  height: 300px;
  overflow: hidden;
}

.page-resources-hi88-account-security__game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-resources-hi88-account-security__game-content {
  flex: 2;
  padding: 30px;
}

.page-resources-hi88-account-security__game-title {
  font-size: 28px;
  font-weight: 700;
  color: #0A192F;
  margin-bottom: 15px;
}

.page-resources-hi88-account-security__game-description {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-resources-hi88-account-security__promotions-section {
  padding: 60px 20px;
}

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

.page-resources-hi88-account-security__promotion-card {
  background-color: #1a2a47; /* Slightly lighter dark blue */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-resources-hi88-account-security__promotion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.page-resources-hi88-account-security__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-resources-hi88-account-security__promotion-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #FFD700;
  margin: 20px 15px 10px;
}

.page-resources-hi88-account-security__promotion-description {
  font-size: 15px;
  color: #f0f0f0;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-resources-hi88-account-security__promotion-card .page-resources-hi88-account-security__btn {
  margin-top: auto;
  margin-bottom: 20px;
  align-self: center;
}

/* Security Section */
.page-resources-hi88-account-security__security-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
}

.page-resources-hi88-account-security__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-hi88-account-security__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-hi88-account-security__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-resources-hi88-account-security__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-resources-hi88-account-security__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #0A192F;
  margin-bottom: 10px;
}

.page-resources-hi88-account-security__feature-description {
  font-size: 15px;
  color: #555555;
  line-height: 1.6;
}

.page-resources-hi88-account-security__cta-contact {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-resources-hi88-account-security__faq-section {
  padding: 60px 20px;
}

.page-resources-hi88-account-security__faq-list {
  margin-top: 30px;
}

.page-resources-hi88-account-security__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-hi88-account-security__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: #333333;
}

.page-resources-hi88-account-security__faq-item.active .page-resources-hi88-account-security__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background-color: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-resources-hi88-account-security__faq-answer p {
  margin: 0;
}

.page-resources-hi88-account-security__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background-color: #1a2a47; /* Darker background for question */
  border: 1px solid #FFD700;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-hi88-account-security__faq-question:hover {
  background-color: #FFD700;
  border-color: #FFD700;
}

.page-resources-hi88-account-security__faq-question:hover h3 {
  color: #0A192F;
}

.page-resources-hi88-account-security__faq-question:hover .page-resources-hi88-account-security__faq-toggle {
  color: #0A192F;
}

.page-resources-hi88-account-security__faq-question:active {
  background-color: #e0c242;
}

.page-resources-hi88-account-security__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
  transition: color 0.3s ease;
}

.page-resources-hi88-account-security__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-hi88-account-security__faq-item.active .page-resources-hi88-account-security__faq-toggle {
  color: #0A192F;
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

/* Blog Section */
.page-resources-hi88-account-security__blog-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
}

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

.page-resources-hi88-account-security__blog-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources-hi88-account-security__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-resources-hi88-account-security__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-resources-hi88-account-security__blog-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #0A192F;
  margin: 20px 20px 10px;
  line-height: 1.4;
}

.page-resources-hi88-account-security__blog-card-title a {
  text-decoration: none;
  color: inherit;
}

.page-resources-hi88-account-security__blog-card-title a:hover {
  color: #FFD700;
}

.page-resources-hi88-account-security__blog-excerpt {
  font-size: 15px;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-resources-hi88-account-security__blog-date {
  font-size: 13px;
  color: #888888;
  padding: 0 20px 20px;
  display: block;
}

.page-resources-hi88-account-security__cta-blog {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-hi88-account-security__products-container {
    grid-template-columns: 1fr;
  }
  
  .page-resources-hi88-account-security__products-grid--small {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-resources-hi88-account-security__products-grid--large {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-resources-hi88-account-security__game-category {
    flex-direction: column;
  }

  .page-resources-hi88-account-security__game-category:nth-child(even) {
    flex-direction: column;
  }

  .page-resources-hi88-account-security__game-image {
    min-width: 100%;
    height: 250px;
  }

  .page-resources-hi88-account-security__game-content {
    padding: 25px;
  }

  .page-resources-hi88-account-security__section-title {
    font-size: 30px;
  }
  .page-resources-hi88-account-security__main-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .page-resources-hi88-account-security__introduction-section {
    padding-top: 100px; /* Adjust for fixed header on mobile */
  }

  .page-resources-hi88-account-security__container {
    padding: 25px 15px;
  }

  .page-resources-hi88-account-security__section-title {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .page-resources-hi88-account-security__main-title {
    font-size: 32px;
  }

  .page-resources-hi88-account-security__text-block {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-hi88-account-security__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-hi88-account-security__btn {
    width: 100%;
    padding: 12px 25px;
    font-size: 16px;
  }

  /* HERO Section Mobile */
  .page-resources-hi88-account-security__hero-section {
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-resources-hi88-account-security__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Products Section Mobile */
  .page-resources-hi88-account-security__products-section {
    padding: 40px 15px;
  }
  
  .page-resources-hi88-account-security__products-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .page-resources-hi88-account-security__products-grid--small {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .page-resources-hi88-account-security__products-grid--small .page-resources-hi88-account-security__product-card {
    aspect-ratio: 1 / 1;
  }
  
  .page-resources-hi88-account-security__products-grid--small .page-resources-hi88-account-security__product-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
  }
  
  .page-resources-hi88-account-security__products-grid--large {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .page-resources-hi88-account-security__products-grid--large .page-resources-hi88-account-security__product-card {
    aspect-ratio: 1 / 1;
  }
  
  .page-resources-hi88-account-security__products-grid--large .page-resources-hi88-account-security__product-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
  }

  .page-resources-hi88-account-security__links-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-hi88-account-security__game-image {
    height: 200px;
  }

  .page-resources-hi88-account-security__game-title {
    font-size: 24px;
  }

  .page-resources-hi88-account-security__game-content {
    padding: 20px;
  }

  .page-resources-hi88-account-security__promotion-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-hi88-account-security__feature-item {
    padding: 25px;
  }

  .page-resources-hi88-account-security__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-resources-hi88-account-security__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-resources-hi88-account-security__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-resources-hi88-account-security__faq-answer {
    padding: 0 15px;
  }
  
  .page-resources-hi88-account-security__faq-item.active .page-resources-hi88-account-security__faq-answer {
    padding: 15px !important;
  }

  .page-resources-hi88-account-security__blog-grid {
    grid-template-columns: 1fr;
  }

  /* General image responsive styles for mobile */
  .page-resources-hi88-account-security img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-hi88-account-security__section,
  .page-resources-hi88-account-security__card,
  .page-resources-hi88-account-security__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}