.page-faq {
  background-color: var(--background-color);
  color: var(--text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.page-faq__main-title {
  color: var(--text-main);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.page-faq__section-title {
  color: var(--text-main);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-faq__intro-section, 
.page-faq__banking-section, 
.page-faq__promotions-section, 
.page-faq__support-section {
  background-color: var(--background-color);
  color: var(--text-main);
}

.page-faq__login-register-section,
.page-faq__games-products-section,
.page-faq__security-section,
.page-faq__conclusion-section {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-faq__text-block {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-faq__highlight {
  color: var(--glow);
  font-weight: bold;
}

.page-faq__image-content {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
}

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-faq__faq-item {
  background-color: var(--deep-green);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.page-faq__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: var(--deep-green);
  color: var(--text-main);
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.page-faq__faq-item summary:hover {
  background-color: var(--divider);
}

.page-faq__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-faq__faq-qtext {
  flex-grow: 1;
}

.page-faq__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow);
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  content: '−';
}

.page-faq__faq-answer {
  padding: 0 20px 20px;
  color: var(--text-secondary);
  font-size: 1rem;
  text-align: justify;
}

.page-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-faq__btn-secondary {
  background: transparent;
  color: var(--glow);
  border: 2px solid var(--glow);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-faq__btn-secondary:hover {
  background: var(--glow);
  color: var(--card-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-faq__button-group {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-faq__inline-link {
  color: var(--gold);
  text-decoration: underline;
}

.page-faq__inline-link:hover {
  color: var(--glow);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-faq__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-faq__hero-content {
    padding: 15px;
  }

  .page-faq__main-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }

  .page-faq__description {
    font-size: 1rem;
  }

  .page-faq__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-faq__container {
    padding: 20px 15px;
  }

  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-faq__hero-section,
  .page-faq__intro-section,
  .page-faq__login-register-section,
  .page-faq__banking-section,
  .page-faq__games-products-section,
  .page-faq__promotions-section,
  .page-faq__security-section,
  .page-faq__support-section,
  .page-faq__conclusion-section,
  .page-faq__faq-item,
  .page-faq__hero-image-wrapper,
  .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-faq__hero-section {
    padding-bottom: 40px;
    padding-left: 0;
    padding-right: 0;
  }

  .page-faq__hero-image-wrapper {
    left: 0;
    right: 0;
  }

  .page-faq__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

  .page-faq__faq-answer {
    padding: 0 15px 15px;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq a[class*="button"],
  .page-faq 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-faq__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0px;
    padding-right: 0px;
    flex-direction: column !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-section {
    padding-bottom: 30px;
  }

  .page-faq__main-title {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
  }

  .page-faq__description {
    font-size: 0.9rem;
  }

  .page-faq__section-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  .page-faq__faq-item summary {
    font-size: 0.95rem;
  }

  .page-faq__faq-answer {
    font-size: 0.9rem;
  }
}