/* style/resources-gamvip-m88-top-games.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-login: #EA7C07;
  --background-white: #FFFFFF;
  --black: #000000;
}

.page-resources-gamvip-m88-top-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-white);
}

.page-resources-gamvip-m88-top-games__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-resources-gamvip-m88-top-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-gamvip-m88-top-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-resources-gamvip-m88-top-games__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: var(--text-light);
}

.page-resources-gamvip-m88-top-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--secondary-color);
}

.page-resources-gamvip-m88-top-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.page-resources-gamvip-m88-top-games__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-gamvip-m88-top-games__btn-primary,
.page-resources-gamvip-m88-top-games__btn-secondary,
.page-resources-gamvip-m88-top-games__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-gamvip-m88-top-games__btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-gamvip-m88-top-games__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

.page-resources-gamvip-m88-top-games__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources-gamvip-m88-top-games__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-resources-gamvip-m88-top-games__btn-tertiary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 1px solid var(--primary-color);
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-resources-gamvip-m88-top-games__btn-tertiary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

.page-resources-gamvip-m88-top-games__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-resources-gamvip-m88-top-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--background-white);
  color: var(--text-dark);
}

.page-resources-gamvip-m88-top-games__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
}

.page-resources-gamvip-m88-top-games__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}

.page-resources-gamvip-m88-top-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-gamvip-m88-top-games__game-card {
  background-color: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #e0e0e0;
}

.page-resources-gamvip-m88-top-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-resources-gamvip-m88-top-games__game-card-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin: 15px 15px 10px 15px;
}

.page-resources-gamvip-m88-top-games__game-card-description {
  font-size: 1em;
  color: var(--text-dark);
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-gamvip-m88-top-games__guide-cards,
.page-resources-gamvip-m88-top-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-resources-gamvip-m88-top-games__card,
.page-resources-gamvip-m88-top-games__feature-item {
  background-color: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
}

.page-resources-gamvip-m88-top-games__card-title,
.page-resources-gamvip-m88-top-games__feature-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-gamvip-m88-top-games__card-description,
.page-resources-gamvip-m88-top-games__feature-description {
  font-size: 1em;
  color: var(--text-dark);
  line-height: 1.7;
}

.page-resources-gamvip-m88-top-games__final-cta {
  text-align: center;
  margin-top: 60px;
}

/* FAQ Section */
.page-resources-gamvip-m88-top-games__faq-container {
  margin-top: 40px;
  border-top: 1px solid #eee;
}

.page-resources-gamvip-m88-top-games__faq-item {
  border-bottom: 1px solid #eee;
}

.page-resources-gamvip-m88-top-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 1.2em;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.page-resources-gamvip-m88-top-games__faq-question:hover {
  color: var(--primary-color);
}

.page-resources-gamvip-m88-top-games__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: inherit; /* Inherit color from parent for hover effect */
}

.page-resources-gamvip-m88-top-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.page-resources-gamvip-m88-top-games__faq-item.active .page-resources-gamvip-m88-top-games__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-gamvip-m88-top-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-dark);
}

.page-resources-gamvip-m88-top-games__faq-item.active .page-resources-gamvip-m88-top-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 15px;
}

.page-resources-gamvip-m88-top-games__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-gamvip-m88-top-games__hero-title {
    font-size: 3em;
  }
  .page-resources-gamvip-m88-top-games__hero-description {
    font-size: 1.2em;
  }
  .page-resources-gamvip-m88-top-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-gamvip-m88-top-games__hero-section {
    height: 60vh;
    min-height: 350px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-resources-gamvip-m88-top-games__hero-title {
    font-size: 2.2em;
  }
  .page-resources-gamvip-m88-top-games__hero-description {
    font-size: 1em;
  }
  .page-resources-gamvip-m88-top-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-resources-gamvip-m88-top-games__btn-primary,
  .page-resources-gamvip-m88-top-games__btn-secondary,
  .page-resources-gamvip-m88-top-games__btn-tertiary,
  .page-resources-gamvip-m88-top-games a[class*="button"],
  .page-resources-gamvip-m88-top-games a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-gamvip-m88-top-games__content-area {
    padding: 40px 15px;
  }
  .page-resources-gamvip-m88-top-games__section-title {
    font-size: 1.8em;
  }
  .page-resources-gamvip-m88-top-games__paragraph {
    font-size: 0.95em;
  }
  .page-resources-gamvip-m88-top-games__game-grid,
  .page-resources-gamvip-m88-top-games__guide-cards,
  .page-resources-gamvip-m88-top-games__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-gamvip-m88-top-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-gamvip-m88-top-games__game-card,
  .page-resources-gamvip-m88-top-games__card,
  .page-resources-gamvip-m88-top-games__feature-item,
  .page-resources-gamvip-m88-top-games__faq-container,
  .page-resources-gamvip-m88-top-games__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-gamvip-m88-top-games__game-image {
    height: 200px;
  }
  .page-resources-gamvip-m88-top-games__faq-question h3 {
    font-size: 1.1em;
  }
  .page-resources-gamvip-m88-top-games__faq-toggle {
    font-size: 1.3em;
  }
  .page-resources-gamvip-m88-top-games__faq-answer {
    padding: 0 10px;
  }
  .page-resources-gamvip-m88-top-games__faq-item.active .page-resources-gamvip-m88-top-games__faq-answer {
    padding: 10px;
  }
}

/* Ensure images maintain original color and no filters */
.page-resources-gamvip-m88-top-games img {
  filter: none !important;
}