.page-shbet-code-faq {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;

  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for the page content, contrasting with body bg */
  background-color: transparent; /* Body handles the main background */
}

.page-shbet-code-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-shbet-code-faq__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  filter: brightness(0.6);
  min-height: 400px;
}

.page-shbet-code-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  border-radius: 10px;
  margin-top: 80px;
}

.page-shbet-code-faq__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-shbet-code-faq__hero-description {
  font-size: 1.2em;
  color: var(--text-main);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-shbet-code-faq__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-shbet-code-faq__btn-primary,
.page-shbet-code-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-shbet-code-faq__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-shbet-code-faq__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.page-shbet-code-faq__btn-secondary {
  background: var(--card-bg);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-shbet-code-faq__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.page-shbet-code-faq__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.3em;
  margin-top: 30px;
}

.page-shbet-code-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-shbet-code-faq__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-shbet-code-faq__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.page-shbet-code-faq__sub-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-shbet-code-faq__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-shbet-code-faq__text-block a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-shbet-code-faq__text-block a:hover {
  color: var(--gold-color);
}

.page-shbet-code-faq__ordered-list,
.page-shbet-code-faq__unordered-list {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-shbet-code-faq__ordered-list li,
.page-shbet-code-faq__unordered-list li {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.page-shbet-code-faq__ordered-list li strong {
  color: var(--text-main);
}

.page-shbet-code-faq__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
}

.page-shbet-code-faq__image--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
}

.page-shbet-code-faq__image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
}

.page-shbet-code-faq__image--center {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-shbet-code-faq__dark-section {
  background-color: var(--deep-green);
  padding: 60px 0;
}

.page-shbet-code-faq__faq-list {
  margin-top: 40px;
  clear: both;
}

.page-shbet-code-faq__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-shbet-code-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--card-bg);
  transition: background-color 0.3s ease;
  list-style: none; /* For details summary */
}

.page-shbet-code-faq__faq-question::-webkit-details-marker {
  display: none; /* For details summary */
}

.page-shbet-code-faq__faq-question:hover {
  background-color: var(--divider-color);
}

.page-shbet-code-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-shbet-code-faq__faq-item[open] .page-shbet-code-faq__faq-toggle {
  transform: rotate(45deg);
}

.page-shbet-code-faq__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--text-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-shbet-code-faq__faq-item[open] .page-shbet-code-faq__faq-answer {
  max-height: 1000px; /* Sufficiently large for content */
  padding-top: 10px;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-shbet-code-faq__hero-content {
    margin-top: 50px;
  }
  .page-shbet-code-faq__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-shbet-code-faq__hero-description {
    font-size: 1em;
  }
  .page-shbet-code-faq__image--left,
  .page-shbet-code-faq__image--right {
    float: none;
    margin: 30px auto;
  }
}

@media (max-width: 768px) {
  .page-shbet-code-faq__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-bottom: 40px;
  }
  .page-shbet-code-faq__hero-content {
    margin-top: 40px;
    padding: 15px;
  }
  .page-shbet-code-faq__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-shbet-code-faq__hero-description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  .page-shbet-code-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  .page-shbet-code-faq__btn-primary,
  .page-shbet-code-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-shbet-code-faq__btn-primary--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  .page-shbet-code-faq__container {
    padding: 20px 15px;
  }
  .page-shbet-code-faq__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-shbet-code-faq__sub-title {
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 15px;
  }
  .page-shbet-code-faq__text-block,
  .page-shbet-code-faq__ordered-list li,
  .page-shbet-code-faq__unordered-list li {
    font-size: 1em;
    line-height: 1.7;
  }
  .page-shbet-code-faq__image {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-shbet-code-faq__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-shbet-code-faq__faq-answer {
    font-size: 0.95em;
    padding: 0 15px 15px;
  }
  .page-shbet-code-faq__dark-section {
    padding: 40px 0;
  }
}