/* style/resources-shbet-game-platform-deep-dive.css */

/* Base styles for the page content, ensuring text color for dark body background */
.page-resources-shbet-game-platform-deep-dive {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background #1a1a1a */
  background-color: transparent; /* Main content background is transparent to show body background */
}

/* Header offset for the first content section */
.page-resources-shbet-game-platform-deep-dive__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  overflow: hidden; /* Prevent content overflow */
  box-sizing: border-box;
}

.page-resources-shbet-game-platform-deep-dive__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-resources-shbet-game-platform-deep-dive__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: -1;
}

.page-resources-shbet-game-platform-deep-dive__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-resources-shbet-game-platform-deep-dive__hero-title {
  font-size: 3.2em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-shbet-game-platform-deep-dive__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.8;
}

.page-resources-shbet-game-platform-deep-dive__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-shbet-game-platform-deep-dive__content-section {
  padding: 60px 20px;
  box-sizing: border-box;
  width: 100%;
}

.page-resources-shbet-game-platform-deep-dive__dark-bg {
  background-color: #1a1a1a; /* Ensure dark background for sections */
  color: #ffffff;
}

.page-resources-shbet-game-platform-deep-dive__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-resources-shbet-game-platform-deep-dive__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-resources-shbet-game-platform-deep-dive__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-shbet-game-platform-deep-dive__dark-bg .page-resources-shbet-game-platform-deep-dive__section-title {
    color: #ffffff; /* White title on dark background */
}

.page-resources-shbet-game-platform-deep-dive__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-shbet-game-platform-deep-dive__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Min size for images */
  min-height: 200px;
}

.page-resources-shbet-game-platform-deep-dive__image-center {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Min size for images */
  min-height: 200px;
}

.page-resources-shbet-game-platform-deep-dive__features-grid,
.page-resources-shbet-game-platform-deep-dive__game-types,
.page-resources-shbet-game-platform-deep-dive__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-shbet-game-platform-deep-dive__feature-card,
.page-resources-shbet-game-platform-deep-dive__game-card,
.page-resources-shbet-game-platform-deep-dive__step-card {
  background-color: #f8f8f8; /* Light background for cards */
  color: #333333; /* Dark text for light card background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-shbet-game-platform-deep-dive__dark-bg .page-resources-shbet-game-platform-deep-dive__feature-card,
.page-resources-shbet-game-platform-deep-dive__dark-bg .page-resources-shbet-game-platform-deep-dive__game-card,
.page-resources-shbet-game-platform-deep-dive__dark-bg .page-resources-shbet-game-platform-deep-dive__step-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    color: #ffffff;
}

.page-resources-shbet-game-platform-deep-dive__card-title {
  font-size: 1.5em;
  color: #017439; /* Brand color for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-shbet-game-platform-deep-dive__dark-bg .page-resources-shbet-game-platform-deep-dive__card-title {
    color: #ffffff; /* White title on dark background cards */
}

.page-resources-shbet-game-platform-deep-dive__card-text {
  font-size: 1em;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-resources-shbet-game-platform-deep-dive__btn-primary,
.page-resources-shbet-game-platform-deep-dive__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-shbet-game-platform-deep-dive__btn-primary {
  background-color: #017439; /* Main brand color */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-resources-shbet-game-platform-deep-dive__btn-primary:hover {
  background-color: #005f2f; /* Darker green on hover */
  border-color: #005f2f;
}

.page-resources-shbet-game-platform-deep-dive__btn-secondary {
  background-color: #ffffff;
  color: #017439; /* Main brand color for text */
  border: 2px solid #017439;
}

.page-resources-shbet-game-platform-deep-dive__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #005f2f;
  border-color: #005f2f;
}

.page-resources-shbet-game-platform-deep-dive__btn-text-link {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-top: auto; /* Push link to bottom of card */
}

.page-resources-shbet-game-platform-deep-dive__dark-bg .page-resources-shbet-game-platform-deep-dive__btn-text-link {
    color: #FFFF00; /* Yellow for text link on dark background */
}

.page-resources-shbet-game-platform-deep-dive__btn-text-link:hover {
  text-decoration: underline;
  color: #005f2f;
}

.page-resources-shbet-game-platform-deep-dive__dark-bg .page-resources-shbet-game-platform-deep-dive__btn-text-link:hover {
    color: #ffffff; /* White on dark background hover */
}

.page-resources-shbet-game-platform-deep-dive__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-resources-shbet-game-platform-deep-dive__promo-list,
.page-resources-shbet-game-platform-deep-dive__contact-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
}

.page-resources-shbet-game-platform-deep-dive__list-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly visible item background on dark sections */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-resources-shbet-game-platform-deep-dive__light-bg .page-resources-shbet-game-platform-deep-dive__list-item {
    background-color: #f0f0f0; /* Light background for list items on light sections */
    color: #333333;
}

.page-resources-shbet-game-platform-deep-dive__list-item strong {
  color: #FFFF00; /* Yellow for strong text */
  margin-right: 10px;
}

.page-resources-shbet-game-platform-deep-dive__light-bg .page-resources-shbet-game-platform-deep-dive__list-item strong {
    color: #017439; /* Brand green for strong text on light background */
}

.page-resources-shbet-game-platform-deep-dive__contact-info {
    text-align: center;
    margin-top: 30px;
}

/* FAQ styles */
.page-resources-shbet-game-platform-deep-dive__faq-list {
  max-width: 900px;
  margin: 40px auto;
}

.page-resources-shbet-game-platform-deep-dive__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-resources-shbet-game-platform-deep-dive__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15); /* Slightly darker for question area */
  color: #ffffff;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-shbet-game-platform-deep-dive__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-resources-shbet-game-platform-deep-dive__faq-question .page-resources-shbet-game-platform-deep-dive__card-title {
    margin: 0;
    color: #ffffff;
}

.page-resources-shbet-game-platform-deep-dive__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFFF00; /* Yellow toggle icon */
}

.page-resources-shbet-game-platform-deep-dive__faq-item.active .page-resources-shbet-game-platform-deep-dive__faq-toggle {
  transform: rotate(45deg); /* Change to '-' visually */
}

.page-resources-shbet-game-platform-deep-dive__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-shbet-game-platform-deep-dive__faq-item.active .page-resources-shbet-game-platform-deep-dive__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px 20px; /* Adjust padding when active */
}

/* Specific styles for login/register buttons from custom colors */
.page-resources-shbet-game-platform-deep-dive__hero-cta .page-resources-shbet-game-platform-deep-dive__btn-primary {
  background-color: #C30808; /* Register button color */
  border-color: #C30808;
  color: #FFFF00; /* Register font color */
}

.page-resources-shbet-game-platform-deep-dive__hero-cta .page-resources-shbet-game-platform-deep-dive__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-resources-shbet-game-platform-deep-dive__hero-cta .page-resources-shbet-game-platform-deep-dive__btn-secondary {
  background-color: #C30808; /* Login button color */
  border-color: #C30808;
  color: #FFFF00; /* Login font color */
}

.page-resources-shbet-game-platform-deep-dive__hero-cta .page-resources-shbet-game-platform-deep-dive__btn-secondary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

/* Global image size constraint for content area (no small icons) */
.page-resources-shbet-game-platform-deep-dive img {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive design */
@media (max-width: 1024px) {
  .page-resources-shbet-game-platform-deep-dive__hero-title {
    font-size: 2.8em;
  }
  .page-resources-shbet-game-platform-deep-dive__hero-description {
    font-size: 1.2em;
  }
  .page-resources-shbet-game-platform-deep-dive__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-shbet-game-platform-deep-dive__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }
  .page-resources-shbet-game-platform-deep-dive__hero-title {
    font-size: 2.2em;
  }
  .page-resources-shbet-game-platform-deep-dive__hero-description {
    font-size: 1em;
  }
  .page-resources-shbet-game-platform-deep-dive__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-shbet-game-platform-deep-dive__btn-primary,
  .page-resources-shbet-game-platform-deep-dive__btn-secondary {
    width: 100%; /* Full width buttons on mobile */
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px 10px;
  }
  .page-resources-shbet-game-platform-deep-dive__cta-buttons {
      flex-direction: column;
      gap: 15px;
      padding: 0 15px; /* Add padding to button container */
  }

  .page-resources-shbet-game-platform-deep-dive__content-section {
    padding: 40px 15px;
  }
  .page-resources-shbet-game-platform-deep-dive__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-shbet-game-platform-deep-dive__text-block {
    font-size: 0.95em;
  }
  .page-resources-shbet-game-platform-deep-dive__features-grid,
  .page-resources-shbet-game-platform-deep-dive__game-types,
  .page-resources-shbet-game-platform-deep-dive__guide-steps {
    grid-template-columns: 1fr; /* Single column layout for cards */
  }
  .page-resources-shbet-game-platform-deep-dive__feature-card,
  .page-resources-shbet-game-platform-deep-dive__game-card,
  .page-resources-shbet-game-platform-deep-dive__step-card,
  .page-resources-shbet-game-platform-deep-dive__faq-item {
      padding: 20px;
  }
  .page-resources-shbet-game-platform-deep-dive__card-title {
    font-size: 1.3em;
  }
  .page-resources-shbet-game-platform-deep-dive__list-item {
      padding: 12px 15px;
      font-size: 0.95em;
  }

  /* Mobile image responsiveness */
  .page-resources-shbet-game-platform-deep-dive img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* Containers for images/content to prevent overflow */
  .page-resources-shbet-game-platform-deep-dive__container,
  .page-resources-shbet-game-platform-deep-dive__hero-section,
  .page-resources-shbet-game-platform-deep-dive__content-section,
  .page-resources-shbet-game-platform-deep-dive__hero-cta,
  .page-resources-shbet-game-platform-deep-dive__features-grid,
  .page-resources-shbet-game-platform-deep-dive__game-types,
  .page-resources-shbet-game-platform-deep-dive__guide-steps,
  .page-resources-shbet-game-platform-deep-dive__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
}