/* style/resources-online-casino-scams-prevention.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --background-dark: #000;
  --background-light: #f8f9fa;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
}

.page-resources-online-casino-scams-prevention {
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  background-color: var(--background-dark);
}

.page-resources-online-casino-scams-prevention__hero-banner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 180px; /* Desktop: Adjust for fixed header */
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  color: var(--text-color-dark-bg);
}

.page-resources-online-casino-scams-prevention__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-online-casino-scams-prevention__main-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-color-dark-bg);
}

.page-resources-online-casino-scams-prevention__subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  color: var(--text-color-dark-bg);
}

.page-resources-online-casino-scams-prevention__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-color-light-bg);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-resources-online-casino-scams-prevention__cta-button:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-resources-online-casino-scams-prevention__cta-button--secondary {
  background: var(--primary-color);
  color: var(--text-color-dark-bg);
  margin-left: 15px;
}

.page-resources-online-casino-scams-prevention__cta-button--secondary:hover {
  background: #0056b3;
}

.page-resources-online-casino-scams-prevention__content-section {
  padding: 60px 0;
  background: var(--background-light);
  color: var(--text-color-light-bg);
}

.page-resources-online-casino-scams-prevention__section-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-color);
}

.page-resources-online-casino-scams-prevention__section-title--white {
  color: var(--text-color-dark-bg);
}

.page-resources-online-casino-scams-prevention__text-block p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-resources-online-casino-scams-prevention__card {
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 30px;
  color: var(--text-color-light-bg);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-resources-online-casino-scams-prevention__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-online-casino-scams-prevention__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  width: 100%; /* Ensure image takes full width of card */
  max-height: 300px; /* Limit height for consistent card appearance */
}

.page-resources-online-casino-scams-prevention__list {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
  margin-top: 15px;
  text-align: left;
  width: 100%;
}

.page-resources-online-casino-scams-prevention__list li {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.page-resources-online-casino-scams-prevention__list--advice {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-resources-online-casino-scams-prevention__list--advice li {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-weight: 500;
  border-left: 5px solid var(--secondary-color);
  font-size: 16px;
}

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

.page-resources-online-casino-scams-prevention__feature-item {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-online-casino-scams-prevention__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-online-casino-scams-prevention__feature-icon {
  width: 150px; /* Increased size for feature icons */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-resources-online-casino-scams-prevention__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-online-casino-scams-prevention__feature-item p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color-light-bg);
}

.page-resources-online-casino-scams-prevention__read-more-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-online-casino-scams-prevention__read-more-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.page-resources-online-casino-scams-prevention__call-to-action {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background: var(--primary-color);
  color: var(--text-color-dark-bg);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-resources-online-casino-scams-prevention__call-to-action p {
  font-size: 20px;
  margin-bottom: 25px;
  font-weight: 500;
  color: var(--text-color-dark-bg);
}

.page-resources-online-casino-scams-prevention__faq-section {
  background: var(--background-dark);
  padding: 60px 0;
  color: var(--text-color-dark-bg);
}

.page-resources-online-casino-scams-prevention__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-resources-online-casino-scams-prevention__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: #222;
  border: 1px solid #333;
}

.page-resources-online-casino-scams-prevention__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: var(--text-color-dark-bg);
}

.page-resources-online-casino-scams-prevention__faq-item.active .page-resources-online-casino-scams-prevention__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #1a1a1a;
  border-top: 1px solid #333;
  border-radius: 0 0 8px 8px;
}

.page-resources-online-casino-scams-prevention__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #0d0d0d;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-color-dark-bg);
}

.page-resources-online-casino-scams-prevention__faq-question:hover {
  background: #1a1a1a;
  border-color: #444;
}

.page-resources-online-casino-scams-prevention__faq-question:active {
  background: #222;
}

.page-resources-online-casino-scams-prevention__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-color-dark-bg);
}

.page-resources-online-casino-scams-prevention__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-resources-online-casino-scams-prevention__faq-item.active .page-resources-online-casino-scams-prevention__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-online-casino-scams-prevention__main-title {
    font-size: 36px;
  }

  .page-resources-online-casino-scams-prevention__subtitle {
    font-size: 18px;
  }

  .page-resources-online-casino-scams-prevention__section-title {
    font-size: 28px;
  }

  .page-resources-online-casino-scams-prevention__feature-grid {
    gap: 20px;
  }

  .page-resources-online-casino-scams-prevention__card-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .page-resources-online-casino-scams-prevention__hero-banner {
    padding-top: 140px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-online-casino-scams-prevention__container {
    padding: 0 15px;
  }

  .page-resources-online-casino-scams-prevention__main-title {
    font-size: 30px;
  }

  .page-resources-online-casino-scams-prevention__subtitle {
    font-size: 16px;
  }

  .page-resources-online-casino-scams-prevention__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  .page-resources-online-casino-scams-prevention__cta-button--secondary {
    margin-left: 0;
    margin-top: 15px;
  }

  .page-resources-online-casino-scams-prevention__content-section {
    padding: 40px 0;
  }

  .page-resources-online-casino-scams-prevention__section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .page-resources-online-casino-scams-prevention__text-block p {
    font-size: 16px;
  }

  .page-resources-online-casino-scams-prevention__card {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-resources-online-casino-scams-prevention__card-title {
    font-size: 20px;
  }

  .page-resources-online-casino-scams-prevention__list {
    margin-left: 15px;
  }

  .page-resources-online-casino-scams-prevention__list li {
    font-size: 15px;
  }

  .page-resources-online-casino-scams-prevention__list--advice {
    grid-template-columns: 1fr;
  }

  .page-resources-online-casino-scams-prevention__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-online-casino-scams-prevention__feature-icon {
    width: 120px; /* Adjusted size for mobile */
  }

  .page-resources-online-casino-scams-prevention__feature-title {
    font-size: 20px;
  }

  .page-resources-online-casino-scams-prevention__feature-item p {
    font-size: 15px;
  }

  .page-resources-online-casino-scams-prevention__call-to-action p {
    font-size: 18px;
  }

  .page-resources-online-casino-scams-prevention__faq-section {
    padding: 40px 0;
  }

  .page-resources-online-casino-scams-prevention__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-resources-online-casino-scams-prevention__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-resources-online-casino-scams-prevention__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  
  .page-resources-online-casino-scams-prevention__faq-answer {
    padding: 0 15px;
  }
  
  .page-resources-online-casino-scams-prevention__faq-item.active .page-resources-online-casino-scams-prevention__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all images and containers adapt to mobile */
  .page-resources-online-casino-scams-prevention img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-online-casino-scams-prevention__section,
  .page-resources-online-casino-scams-prevention__card,
  .page-resources-online-casino-scams-prevention__container,
  .page-resources-online-casino-scams-prevention__feature-item,
  .page-resources-online-casino-scams-prevention__faq-list,
  .page-resources-online-casino-scams-prevention__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}