.page-resources-jun88-vip-guide {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f5f5f5;
}

.page-resources-jun88-vip-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-resources-jun88-vip-guide__hero {
  position: relative;
  text-align: center;
  color: #ffffff;
  padding: 80px 20px;
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%); /* Deep red to Gold gradient */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-resources-jun88-vip-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15; /* Reduced opacity to ensure text readability */
}

.page-resources-jun88-vip-guide__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-resources-jun88-vip-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-jun88-vip-guide__hero h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold text for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-resources-jun88-vip-guide__hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-jun88-vip-guide__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Gold button */
  color: #8B0000; /* Dark red text */
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-resources-jun88-vip-guide__cta-button:hover {
  background: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-jun88-vip-guide__section {
  padding: 60px 0;
  border-bottom: 1px solid #e0e0e0;
}

.page-resources-jun88-vip-guide__section:last-of-type {
  border-bottom: none;
}

.page-resources-jun88-vip-guide__section h2 {
  font-size: 2.5em;
  color: #8B0000; /* Dark red for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-resources-jun88-vip-guide__section h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #FFD700; /* Gold underline */
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-resources-jun88-vip-guide__about p,
.page-resources-jun88-vip-guide__registration p,
.page-resources-jun88-vip-guide__deposit p,
.page-resources-jun88-vip-guide__security-support p,
.page-resources-jun88-vip-guide__tips p,
.page-resources-jun88-vip-guide__latest-news p {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #444444;
}

.page-resources-jun88-vip-guide__registration h3,
.page-resources-jun88-vip-guide__deposit h3,
.page-resources-jun88-vip-guide__security-support h3 {
  font-size: 1.8em;
  color: #8B0000; /* Dark red for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.page-resources-jun88-vip-guide__step-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 30px;
  text-align: left;
}

.page-resources-jun88-vip-guide__step-item h3 {
  color: #FFD700; /* Gold for step titles */
  font-size: 1.6em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-resources-jun88-vip-guide__step-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-jun88-vip-guide__step-item ul {
  list-style-type: disc;
  margin-left: 20px;
  color: #555555;
}

.page-resources-jun88-vip-guide__step-item li {
  margin-bottom: 8px;
}

.page-resources-jun88-vip-guide__button-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-resources-jun88-vip-guide__button {
  display: inline-block;
  padding: 12px 30px;
  background: #8B0000; /* Dark red button */
  color: #FFD700; /* Gold text */
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-jun88-vip-guide__button:hover {
  background: #6a0000; /* Darker red on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-jun88-vip-guide__deposit ol {
  list-style-type: decimal;
  margin-left: 20px;
  color: #555555;
}

.page-resources-jun88-vip-guide__deposit ol li,
.page-resources-jun88-vip-guide__deposit ul li,
.page-resources-jun88-vip-guide__tips ul li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-resources-jun88-vip-guide__games {
  background-color: #fefefe;
}

.page-resources-jun88-vip-guide__game-category {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.page-resources-jun88-vip-guide__game-category h3 {
  color: #8B0000; /* Dark red for game categories */
  font-size: 2em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-resources-jun88-vip-guide__game-category img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-jun88-vip-guide__game-category p {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #555555;
}

.page-resources-jun88-vip-guide__promotions {
  background-color: #f9f9f9;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-resources-jun88-vip-guide__promotions .page-resources-jun88-vip-guide__container {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-resources-jun88-vip-guide__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-resources-jun88-vip-guide__promo-card img {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-jun88-vip-guide__promo-card h3 {
  color: #FFD700; /* Gold for promo titles */
  font-size: 1.7em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-resources-jun88-vip-guide__promo-card p {
  font-size: 1.05em;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-resources-jun88-vip-guide__security-support ul {
  list-style-type: square;
  margin-left: 20px;
  color: #555555;
}

.page-resources-jun88-vip-guide__security-support ul li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-resources-jun88-vip-guide__security-support img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ styles */
.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #333333;
  flex-grow: 1;
  text-align: left;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #8B0000; /* Dark red toggle icon */
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #FFD700; /* Gold when active */
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fdfdfd;
  color: #555555;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to accommodate content */
  padding: 15px 25px 25px;
  border-top: 1px solid #e0e0e0;
}

.faq-answer p {
  margin: 0;
  font-size: 1.05em;
  text-align: justify;
}

.page-resources-jun88-vip-guide__tips ul {
  list-style-type: disc;
  margin-left: 20px;
  color: #555555;
}

.page-resources-jun88-vip-guide__tips img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-jun88-vip-guide__latest-news {
  background-color: #fefefe;
}

.page-resources-jun88-vip-guide__news-list {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-resources-jun88-vip-guide__news-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-resources-jun88-vip-guide__news-item img {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-jun88-vip-guide__news-item h3 {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 10px;
  flex-grow: 1;
}

.page-resources-jun88-vip-guide__news-item h3 a {
  color: #8B0000; /* Dark red for news titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-jun88-vip-guide__news-item h3 a:hover {
  color: #FFD700; /* Gold on hover */
}

.page-resources-jun88-vip-guide__news-item p {
  font-size: 1em;
  color: #555555;
  margin-bottom: 10px;
}

.page-resources-jun88-vip-guide__news-date {
  font-size: 0.9em;
  color: #777777;
  margin-top: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-jun88-vip-guide__hero h1 {
    font-size: 2.5em;
  }
  .page-resources-jun88-vip-guide__hero p {
    font-size: 1.1em;
  }
  .page-resources-jun88-vip-guide__section h2 {
    font-size: 2em;
  }
  .page-resources-jun88-vip-guide__registration h3,
  .page-resources-jun88-vip-guide__deposit h3,
  .page-resources-jun88-vip-guide__security-support h3 {
    font-size: 1.5em;
  }
  .page-resources-jun88-vip-guide__game-category h3,
  .page-resources-jun88-vip-guide__promo-card h3 {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-resources-jun88-vip-guide__hero {
    padding: 60px 15px;
  }
  .page-resources-jun88-vip-guide__hero h1 {
    font-size: 2em;
  }
  .page-resources-jun88-vip-guide__hero p {
    font-size: 1em;
  }
  .page-resources-jun88-vip-guide__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources-jun88-vip-guide__section {
    padding: 40px 0;
  }
  .page-resources-jun88-vip-guide__section h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-jun88-vip-guide__container {
    padding: 15px;
  }
  .page-resources-jun88-vip-guide__step-item,
  .page-resources-jun88-vip-guide__game-category,
  .page-resources-jun88-vip-guide__promo-card,
  .page-resources-jun88-vip-guide__news-item {
    padding: 20px;
    margin-bottom: 20px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 10px 20px 20px;
  }
  .page-resources-jun88-vip-guide__promotions .page-resources-jun88-vip-guide__container {
      grid-template-columns: 1fr;
  }
  .page-resources-jun88-vip-guide__news-list {
      grid-template-columns: 1fr;
  }
}