.page-resources-okvip-new88-platform-advantages {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-resources-okvip-new88-platform-advantages__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-okvip-new88-platform-advantages__section {
  padding: 60px 0;
}

.page-resources-okvip-new88-platform-advantages__dark-bg {
  background-color: #017439; /* Brand primary color for specific sections */
  color: #ffffff;
}

.page-resources-okvip-new88-platform-advantages__dark-section {
  background-color: #0a0a0a; /* Dark background from body */
  color: #ffffff;
}

.page-resources-okvip-new88-platform-advantages__content-area {
  background-color: #0a0a0a; /* Dark background from body */
  color: #ffffff;
}

.page-resources-okvip-new88-platform-advantages__section-title {
  font-size: 3em;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
  font-weight: bold;
}

.page-resources-okvip-new88-platform-advantages__sub-title {
  font-size: 2em;
  margin-top: 20px;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-resources-okvip-new88-platform-advantages__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-resources-okvip-new88-platform-advantages__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #017439;
  color: #ffffff;
  display: flex;
  align-items: center;
  min-height: 70vh;
}

.page-resources-okvip-new88-platform-advantages__hero-section .page-resources-okvip-new88-platform-advantages__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-resources-okvip-new88-platform-advantages__hero-content {
  flex: 1;
  min-width: 300px;
}

.page-resources-okvip-new88-platform-advantages__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-resources-okvip-new88-platform-advantages__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

.page-resources-okvip-new88-platform-advantages__hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-okvip-new88-platform-advantages__hero-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-resources-okvip-new88-platform-advantages__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-resources-okvip-new88-platform-advantages__btn-primary,
.page-resources-okvip-new88-platform-advantages__btn-secondary,
.page-resources-okvip-new88-platform-advantages__btn-register,
.page-resources-okvip-new88-platform-advantages__btn-login {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
}

.page-resources-okvip-new88-platform-advantages__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-resources-okvip-new88-platform-advantages__btn-primary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

.page-resources-okvip-new88-platform-advantages__btn-secondary {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
}

.page-resources-okvip-new88-platform-advantages__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-okvip-new88-platform-advantages__btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-resources-okvip-new88-platform-advantages__btn-register:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-resources-okvip-new88-platform-advantages__btn-login {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-resources-okvip-new88-platform-advantages__btn-login:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-resources-okvip-new88-platform-advantages__cta-buttons {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Cards */
.page-resources-okvip-new88-platform-advantages__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark body bg */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
  height: 100%; /* Ensure cards in a grid have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-resources-okvip-new88-platform-advantages__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-okvip-new88-platform-advantages__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #ffffff;
}

.page-resources-okvip-new88-platform-advantages__card-description {
  font-size: 1em;
  flex-grow: 1;
}

/* Feature Grid */
.page-resources-okvip-new88-platform-advantages__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Game Showcase */
.page-resources-okvip-new88-platform-advantages__game-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-okvip-new88-platform-advantages__game-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.page-resources-okvip-new88-platform-advantages__game-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.page-resources-okvip-new88-platform-advantages__game-link:hover .page-resources-okvip-new88-platform-advantages__game-title {
  color: #FFFF00; /* Highlight color on hover */
}

.page-resources-okvip-new88-platform-advantages__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.page-resources-okvip-new88-platform-advantages__game-card:hover .page-resources-okvip-new88-platform-advantages__game-image {
  transform: scale(1.05);
}

.page-resources-okvip-new88-platform-advantages__game-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  padding: 0 15px 15px;
  margin: 0;
}

/* Promo Grid */
.page-resources-okvip-new88-platform-advantages__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-okvip-new88-platform-advantages__promo-card {
  padding: 0;
  overflow: hidden;
}

.page-resources-okvip-new88-platform-advantages__promo-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.page-resources-okvip-new88-platform-advantages__promo-link:hover .page-resources-okvip-new88-platform-advantages__card-title {
  color: #FFFF00; /* Highlight color on hover */
}

/* Image Centering */
.page-resources-okvip-new88-platform-advantages__image-center {
  text-align: center;
  margin-top: 40px;
}

.page-resources-okvip-new88-platform-advantages__responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Flex Grid */
.page-resources-okvip-new88-platform-advantages__flex-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.page-resources-okvip-new88-platform-advantages__flex-item {
  flex: 1;
  min-width: 300px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

/* FAQ Section */
.page-resources-okvip-new88-platform-advantages__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-okvip-new88-platform-advantages__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-okvip-new88-platform-advantages__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-resources-okvip-new88-platform-advantages__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-okvip-new88-platform-advantages__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #ffffff;
}

.page-resources-okvip-new88-platform-advantages__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFFF00;
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-resources-okvip-new88-platform-advantages__faq-item.active .page-resources-okvip-new88-platform-advantages__faq-toggle {
  transform: rotate(0deg); /*  to "-" animation */
}

.page-resources-okvip-new88-platform-advantages__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-okvip-new88-platform-advantages__faq-item.active .page-resources-okvip-new88-platform-advantages__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px 25px;
}

.page-resources-okvip-new88-platform-advantages__faq-answer p {
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-okvip-new88-platform-advantages__hero-title {
    font-size: 3em;
  }
  .page-resources-okvip-new88-platform-advantages__hero-description {
    font-size: 1.1em;
  }
  .page-resources-okvip-new88-platform-advantages__section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-resources-okvip-new88-platform-advantages__hero-section .page-resources-okvip-new88-platform-advantages__container {
    flex-direction: column;
    text-align: center;
  }

  .page-resources-okvip-new88-platform-advantages__hero-title {
    font-size: 2.5em;
  }

  .page-resources-okvip-new88-platform-advantages__hero-description {
    font-size: 1em;
  }

  .page-resources-okvip-new88-platform-advantages__hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-resources-okvip-new88-platform-advantages__btn-primary,
  .page-resources-okvip-new88-platform-advantages__btn-secondary,
  .page-resources-okvip-new88-platform-advantages__btn-register,
  .page-resources-okvip-new88-platform-advantages__btn-login {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-okvip-new88-platform-advantages__cta-buttons,
  .page-resources-okvip-new88-platform-advantages__button-group {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-resources-okvip-new88-platform-advantages__section-title {
    font-size: 2em;
  }

  .page-resources-okvip-new88-platform-advantages__feature-grid,
  .page-resources-okvip-new88-platform-advantages__game-showcase,
  .page-resources-okvip-new88-platform-advantages__promo-grid,
  .page-resources-okvip-new88-platform-advantages__flex-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    gap: 20px;
  }

  .page-resources-okvip-new88-platform-advantages__flex-item {
    min-width: unset;
  }

  .page-resources-okvip-new88-platform-advantages img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-okvip-new88-platform-advantages__section,
  .page-resources-okvip-new88-platform-advantages__card,
  .page-resources-okvip-new88-platform-advantages__container,
  .page-resources-okvip-new88-platform-advantages__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-resources-okvip-new88-platform-advantages__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-okvip-new88-platform-advantages__game-image {
    height: auto; /* Allow height to adjust for smaller screens */
  }

  .page-resources-okvip-new88-platform-advantages__faq-question {
    padding: 15px 20px;
  }

  .page-resources-okvip-new88-platform-advantages__faq-question h3 {
    font-size: 1.1em;
  }

  .page-resources-okvip-new88-platform-advantages__faq-answer {
    padding: 0 20px;
  }

  .page-resources-okvip-new88-platform-advantages__faq-item.active .page-resources-okvip-new88-platform-advantages__faq-answer {
    padding: 10px 20px 20px;
  }
}