/* style/resources-betting-safety-guide.css */

/* Base styles for the page content */
.page-resources-betting-safety-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Body background from shared.css */
}

.page-resources-betting-safety-guide__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

.page-resources-betting-safety-guide__light-bg {
  background-color: #f9f9f9;
  color: #333333;
}

.page-resources-betting-safety-guide__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-resources-betting-safety-guide__section {
  padding: 60px 20px;
  margin-bottom: 0;
}

.page-resources-betting-safety-guide__section:last-of-type {
  margin-bottom: 0;
}

.page-resources-betting-safety-guide__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #FFD700; /* Primary brand color for titles */
}

.page-resources-betting-safety-guide__section-title--gold {
  color: #FFD700;
}

.page-resources-betting-safety-guide p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: inherit;
}

/* Hero Section */
.page-resources-betting-safety-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
  padding-bottom: 80px;
  overflow: hidden;
}

.page-resources-betting-safety-guide__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 40px;
}

.page-resources-betting-safety-guide__hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-resources-betting-safety-guide__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-resources-betting-safety-guide__hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  line-height: 1.2;
}

.page-resources-betting-safety-guide__hero-description {
  font-size: 22px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Buttons */
.page-resources-betting-safety-guide__btn-primary,
.page-resources-betting-safety-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-betting-safety-guide__btn-primary {
  background-color: #FFD700;
  color: #000000; /* Dark text for gold background */
  border: 2px solid #FFD700;
}

.page-resources-betting-safety-guide__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-resources-betting-safety-guide__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin-left: 20px;
}

.page-resources-betting-safety-guide__btn-secondary:hover {
  background-color: #FFD700;
  color: #000000;
}

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

.page-resources-betting-safety-guide__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
}

.page-resources-betting-safety-guide__feature-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-betting-safety-guide__card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #B22222; /* Auxiliary brand color */
}

.page-resources-betting-safety-guide__feature-card p {
  font-size: 16px;
  color: #555555;
}

/* Security Features */
.page-resources-betting-safety-guide__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-betting-safety-guide__security-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.page-resources-betting-safety-guide__item-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-resources-betting-safety-guide__security-item p {
  font-size: 16px;
  color: #e0e0e0;
}

/* Responsible Gaming List */
.page-resources-betting-safety-guide__responsible-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-resources-betting-safety-guide__responsible-list li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 18px;
  color: #333333;
}

.page-resources-betting-safety-guide__responsible-list li img {
  
  
  min-
  min-
  margin-right: 20px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #FFD700;
  padding: 10px;
}

/* Contact Info */
.page-resources-betting-safety-guide__contact-info {
  margin-top: 40px;
  text-align: center;
  color: #ffffff;
}

.page-resources-betting-safety-guide__contact-info p,
.page-resources-betting-safety-guide__contact-info li {
  color: #f0f0f0;
}

.page-resources-betting-safety-guide__contact-info ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-resources-betting-safety-guide__contact-info li {
  margin-bottom: 10px;
  font-size: 18px;
}

/* FAQ Section */
.page-resources-betting-safety-guide__faq-list {
  margin-top: 40px;
}

/* FAQ容器样式 */
.page-resources-betting-safety-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* FAQ默认状态 - 答案隐藏 */
.page-resources-betting-safety-guide__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;
}

/* FAQ展开状态 - 🚨 Sử dụng!important và đủ lớn max-height để đảm bảo có thể mở rộng */
.page-resources-betting-safety-guide__faq-item.active .page-resources-betting-safety-guide__faq-answer {
  max-height: 2000px !important; /* 🚨 Sử dụng!important để đảm bảo ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
  padding: 20px 15px !important;
  opacity: 1;
  background: #ffffff;
  border-radius: 0 0 5px 5px;
  color: #333333;
}

/* Question styles */
.page-resources-betting-safety-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #333333;
}

.page-resources-betting-safety-guide__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-betting-safety-guide__faq-question:active {
  background: #eeeeee;
}

/* Question title style */
.page-resources-betting-safety-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click events */
  color: #333333;
}

/* Toggle icon */
.page-resources-betting-safety-guide__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-betting-safety-guide__faq-item.active .page-resources-betting-safety-guide__faq-toggle {
  color: #B22222;
  transform: rotate(45deg);
}

/* CTA Section */
.page-resources-betting-safety-guide__cta-section {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-resources-betting-safety-guide__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-betting-safety-guide__hero-title {
    font-size: 42px;
  }
  .page-resources-betting-safety-guide__section-title {
    font-size: 32px;
  }
  .page-resources-betting-safety-guide__feature-grid,
  .page-resources-betting-safety-guide__security-features {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources-betting-safety-guide {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-betting-safety-guide__hero-section {
    padding-bottom: 60px;
  }
  .page-resources-betting-safety-guide__hero-title {
    font-size: 32px;
  }
  .page-resources-betting-safety-guide__hero-description {
    font-size: 18px;
  }
  .page-resources-betting-safety-guide__section {
    padding: 40px 15px;
  }
  .page-resources-betting-safety-guide__section-title {
    font-size: 28px;
    margin-bottom: 25px;
  }
  .page-resources-betting-safety-guide p {
    font-size: 16px;
  }

  /* Image responsive */
  .page-resources-betting-safety-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-betting-safety-guide__section,
  .page-resources-betting-safety-guide__feature-card,
  .page-resources-betting-safety-guide__security-item,
  .page-resources-betting-safety-guide__contact-info,
  .page-resources-betting-safety-guide__cta-section,
  .page-resources-betting-safety-guide__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  /* Button responsive */
  .page-resources-betting-safety-guide__btn-primary,
  .page-resources-betting-safety-guide__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important;
    margin-bottom: 15px;
  }
  .page-resources-betting-safety-guide__cta-buttons {
    flex-direction: column;
    gap: 0;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-betting-safety-guide__cta-buttons a:last-child {
    margin-bottom: 0;
  }

  /* FAQ Mobile */
  .page-resources-betting-safety-guide__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-resources-betting-safety-guide__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-resources-betting-safety-guide__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-resources-betting-safety-guide__faq-answer {
    padding: 0 15px;
  }
  .page-resources-betting-safety-guide__faq-item.active .page-resources-betting-safety-guide__faq-answer {
    padding: 15px !important;
  }
  .page-resources-betting-safety-guide__responsible-list li {
    font-size: 16px;
  }
  .page-resources-betting-safety-guide__responsible-list li img {
    
    
    min-
    min-
    margin-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-betting-safety-guide__hero-title {
    font-size: 28px;
  }
  .page-resources-betting-safety-guide__hero-description {
    font-size: 16px;
  }
  .page-resources-betting-safety-guide__section-title {
    font-size: 24px;
  }
  .page-resources-betting-safety-guide__card-title,
  .page-resources-betting-safety-guide__item-title {
    font-size: 20px;
  }
  .page-resources-betting-safety-guide__btn-primary,
  .page-resources-betting-safety-guide__btn-secondary {
    font-size: 16px;
    padding: 12px 20px;
  }
}