:root {
    --primary-bg-color: #1A202C;
    --secondary-accent-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #1A202C;
    --text-darker: #000000;
    --border-color-light: #e0e0e0;
}

/* 🚨 Cần điều chỉnh padding-top cho main content để tránh bị header cố định che khuất */
.page-resources-au88-game-features {
    padding-top: 120px; /* Điều chỉnh dựa trên chiều cao header cố định */
    background-color: #121212; /* Thống nhất với body background color */
    color: var(--text-light);
}

/* 🚨 Desktop video section styles (must be strictly adhered to) */
.page-resources-au88-game-features__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  /* 🚨 Must add desktop padding-top, ensure content is not covered by fixed navigation bar */
  padding-top: 10px; /* Desktop: Adjust based on actual navigation bar height */
  background-color: var(--primary-bg-color);
}

.page-resources-au88-game-features__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* 🚨 Video click link style (must be strictly adhered to) */
.page-resources-au88-game-features__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-au88-game-features__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-au88-game-features__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio - 🚨 PageSpeed optimization: fixed aspect ratio to avoid layout shifts (CLS) */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-resources-au88-game-features__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click events */
}

/* 🚨 Video click hint overlay style (optional, enhances user experience) */
.page-resources-au88-game-features__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-resources-au88-game-features__video-link:hover .page-resources-au88-game-features__video-overlay {
  opacity: 1;
}

.page-resources-au88-game-features__video-click-hint {
  color: var(--text-light);
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(var(--secondary-accent-color-rgb, 255, 215, 0), 0.8);
  border-radius: 5px;
  white-space: nowrap;
}

/* 🚨 Play Now button style (must be strictly adhered to, located in the middle below the video) */
.page-resources-au88-game-features__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-resources-au88-game-features__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-accent-color, #FFD700); /* Gold background */
  color: var(--text-darker, #000000); /* Dark text for gold background */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-resources-au88-game-features__play-now-button:hover {
  background: #e0be00; /* Slightly darker gold on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-resources-au88-game-features__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Title Section */
.page-resources-au88-game-features__title-section {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-bg-color), #2a3447);
  color: var(--text-light);
}

.page-resources-au88-game-features__title-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-au88-game-features__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--secondary-accent-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-au88-game-features__title-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #cccccc;
}

.page-resources-au88-game-features__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources-au88-game-features__cta-button {
  display: inline-block;
  padding: 15px 35px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
}

.page-resources-au88-game-features__cta-button--primary {
  background: var(--secondary-accent-color);
  color: var(--text-darker);
}

.page-resources-au88-game-features__cta-button--primary:hover {
  background: #e0be00;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-au88-game-features__cta-button--secondary {
  background: transparent;
  color: var(--secondary-accent-color);
  border-color: var(--secondary-accent-color);
}

.page-resources-au88-game-features__cta-button--secondary:hover {
  background: var(--secondary-accent-color);
  color: var(--text-darker);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Content Area */
.page-resources-au88-game-features__content-area {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-au88-game-features__container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-resources-au88-game-features__dark-bg {
    background-color: var(--primary-bg-color);
    color: var(--text-light);
}

.page-resources-au88-game-features__light-bg {
    background-color: #f9f9f9;
    color: var(--text-dark);
}

.page-resources-au88-game-features__section-title {
  font-size: 2.5em;
  color: var(--secondary-accent-color);
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.page-resources-au88-game-features__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-accent-color);
    border-radius: 2px;
}

.page-resources-au88-game-features__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #cccccc;
}

.page-resources-au88-game-features__dark-bg .page-resources-au88-game-features__paragraph {
    color: #cccccc;
}

.page-resources-au88-game-features__light-bg .page-resources-au88-game-features__paragraph {
    color: var(--text-dark);
}

.page-resources-au88-game-features__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-resources-au88-game-features__list-item {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: #cccccc;
}

.page-resources-au88-game-features__dark-bg .page-resources-au88-game-features__list-item {
    color: #cccccc;
}

.page-resources-au88-game-features__light-bg .page-resources-au88-game-features__list-item {
    color: var(--text-dark);
}

.page-resources-au88-game-features__list-item::before {
  content: '✓';
  color: var(--secondary-accent-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-resources-au88-game-features__list-ordered {
    list-style-type: decimal;
    padding-left: 20px;
    margin-bottom: 30px;
}

.page-resources-au88-game-features__list-ordered .page-resources-au88-game-features__list-item {
    padding-left: 0;
    margin-left: 10px;
}

.page-resources-au88-game-features__list-ordered .page-resources-au88-game-features__list-item::before {
    content: none;
}

.page-resources-au88-game-features__game-category {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-resources-au88-game-features__game-category-title {
  font-size: 1.8em;
  color: var(--secondary-accent-color);
  margin-bottom: 20px;
}

.page-resources-au88-game-features__image-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px auto;
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-resources-au88-game-features__faq-section {
  padding: 80px 20px;
}

.page-resources-au88-game-features__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

/* FAQ container style */
.page-resources-au88-game-features__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* FAQ default state - answer hidden */
.page-resources-au88-game-features__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: var(--text-dark);
}

/* FAQ expanded state - 🚨 Use !important and sufficiently large max-height to ensure it can expand */
.page-resources-au88-game-features__faq-item.active .page-resources-au88-game-features__faq-answer {
  max-height: 2000px !important; /* 🚨 Use !important to ensure priority, value large enough to accommodate any content */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

/* Question style */
.page-resources-au88-game-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color-light);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-au88-game-features__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-au88-game-features__faq-question:active {
  background: #eeeeee;
}

/* Question title style */
.page-resources-au88-game-features__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 tag from blocking click events */
  color: var(--text-dark);
}

/* Toggle icon */
.page-resources-au88-game-features__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click events */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-au88-game-features__faq-item.active .page-resources-au88-game-features__faq-toggle {
  color: var(--primary-bg-color);
}

/* Brand Section */
.page-resources-au88-game-features__brand-section {
  padding: 80px 20px;
  background-color: var(--primary-bg-color);
  color: var(--text-light);
}

.page-resources-au88-game-features__brand-title {
  font-size: 2.5em;
  color: var(--secondary-accent-color);
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.page-resources-au88-game-features__brand-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-accent-color);
    border-radius: 2px;
}

.page-resources-au88-game-features__brand-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-resources-au88-game-features__brand-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-au88-game-features__brand-item h3 {
  font-size: 1.5em;
  color: var(--secondary-accent-color);
  margin-bottom: 15px;
}

.page-resources-au88-game-features__brand-item p {
  font-size: 1em;
  line-height: 1.7;
  color: #cccccc;
}

/* Blog Section */
.page-resources-au88-game-features__blog-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
  color: var(--text-dark);
}

.page-resources-au88-game-features__blog-title {
  font-size: 2.5em;
  color: var(--primary-bg-color);
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.page-resources-au88-game-features__blog-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-bg-color);
    border-radius: 2px;
}

.page-resources-au88-game-features__blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-resources-au88-game-features__blog-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-au88-game-features__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-au88-game-features__blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 20px;
}

.page-resources-au88-game-features__blog-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-resources-au88-game-features__blog-item-title {
  font-size: 1.3em;
  color: var(--primary-bg-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-resources-au88-game-features__blog-item-excerpt {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
}

.page-resources-au88-game-features__blog-item-date {
  font-size: 0.85em;
  color: #888;
  display: block;
  text-align: right;
}

/* General link styling for content */
.page-resources-au88-game-features a {
    color: var(--secondary-accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-au88-game-features a:hover {
    color: #e0be00;
    text-decoration: underline;
}

.page-resources-au88-game-features__light-bg a {
    color: var(--primary-bg-color);
}

.page-resources-au88-game-features__light-bg a:hover {
    color: #4a5a70;
}


/* 🚨 Mobile Responsive Design (must be strictly adhered to) */
@media (max-width: 768px) {
  .page-resources-au88-game-features {
    padding-top: 100px; /* Mobile: Adjust based on actual mobile navigation bar height */
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll on main page */
  }

  .page-resources-au88-game-features__video-section {
    padding-top: 10px !important; /* Mobile: Adjust based on mobile navigation bar height */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-resources-au88-game-features__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  
  .page-resources-au88-game-features__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-resources-au88-game-features__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 4px;
    overflow: hidden !important;
  }
  
  .page-resources-au88-game-features__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 4px;
    object-fit: contain;
  }
  
  .page-resources-au88-game-features__video-cta {
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .page-resources-au88-game-features__play-now-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-resources-au88-game-features__video-click-hint {
    font-size: 14px !important;
    padding: 8px 16px !important;
  }

  .page-resources-au88-game-features__title-section {
    padding: 60px 15px;
  }

  .page-resources-au88-game-features__main-title {
    font-size: 2.2em;
  }

  .page-resources-au88-game-features__title-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-resources-au88-game-features__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-resources-au88-game-features__cta-button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 1em;
    padding: 12px 25px;
    white-space: normal;
    word-wrap: break-word;
  }

  .page-resources-au88-game-features__content-area,
  .page-resources-au88-game-features__faq-section,
  .page-resources-au88-game-features__brand-section,
  .page-resources-au88-game-features__blog-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  .page-resources-au88-game-features__container {
      max-width: 100%;
      padding: 0;
  }

  .page-resources-au88-game-features__section-title,
  .page-resources-au88-game-features__brand-title,
  .page-resources-au88-game-features__blog-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }

  .page-resources-au88-game-features__section-title::after,
  .page-resources-au88-game-features__brand-title::after,
  .page-resources-au88-game-features__blog-title::after {
      bottom: -10px;
  }

  .page-resources-au88-game-features__paragraph,
  .page-resources-au88-game-features__list-item {
    font-size: 0.95em;
    line-height: 1.7;
  }

  .page-resources-au88-game-features__game-category {
    padding: 20px;
    margin-bottom: 30px;
  }

  .page-resources-au88-game-features__game-category-title {
    font-size: 1.5em;
  }

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

  .page-resources-au88-game-features__brand-content,
  .page-resources-au88-game-features__blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-au88-game-features__brand-item {
    padding: 20px;
  }

  .page-resources-au88-game-features__brand-item h3 {
    font-size: 1.3em;
  }

  .page-resources-au88-game-features__blog-item-title {
    font-size: 1.1em;
  }

  .page-resources-au88-game-features img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-au88-game-features__section,
  .page-resources-au88-game-features__card,
  .page-resources-au88-game-features__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-au88-game-features__video-section {
    padding-top: 10px !important;
  }

  .page-resources-au88-game-features video,
  .page-resources-au88-game-features__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-au88-game-features__video-section,
  .page-resources-au88-game-features__video-container,
  .page-resources-au88-game-features__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-resources-au88-game-features__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-au88-game-features__cta-button,
  .page-resources-au88-game-features__btn-primary,
  .page-resources-au88-game-features__btn-secondary,
  .page-resources-au88-game-features a[class*="button"],
  .page-resources-au88-game-features a[class*="btn"] {
    max-width: 100% !important;
    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-au88-game-features__cta-buttons,
  .page-resources-au88-game-features__button-group,
  .page-resources-au88-game-features__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-resources-au88-game-features__cta-buttons {
    flex-direction: column;
  }
}