.page-faq {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

.page-faq__hero-section {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(30, 144, 255, 0.1));
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-faq__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__hero-title {
  font-size: 3.2em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: bold;
}

.page-faq__hero-description {
  font-size: 1.1em;
  color: #444444;
  margin-bottom: 30px;
}

.page-faq__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-faq__hero-image {
  max-width: 1000px;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-faq__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #1E90FF;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  font-weight: bold;
}

.page-faq__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.page-faq__categories-section,
.page-faq__general-questions-section,
.page-faq__responsible-gaming-section,
.page-faq__contact-support-section,
.page-faq__call-to-action-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

.page-faq__category-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-faq__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.page-faq__category-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-faq__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-faq__card-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-faq__card-title a:hover {
  color: #1E90FF;
}

.page-faq__card-description {
  font-size: 1em;
  color: #666666;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-faq__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-faq__button--primary {
  background-color: #FFD700;
  color: #333333;
  border: 2px solid #FFD700;
}

.page-faq__button--primary:hover {
  background-color: #e6c200;
  color: #000000;
  border-color: #e6c200;
}

.page-faq__button--secondary {
  background-color: #1E90FF;
  color: #ffffff;
  border: 2px solid #1E90FF;
}

.page-faq__button--secondary:hover {
  background-color: #1565b3;
  color: #ffffff;
  border-color: #1565b3;
}

.page-faq__button--link {
  background: none;
  color: #1E90FF;
  border: 2px solid #1E90FF;
  padding: 10px 20px;
}

.page-faq__button--link:hover {
  background-color: #1E90FF;
  color: #ffffff;
}

.page-faq__accordion {
  margin-top: 50px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
}

.page-faq__accordion-item {
  border-bottom: 1px solid #e0e0e0;
}

.page-faq__accordion-item:last-child {
  border-bottom: none;
}

.page-faq__accordion-header {
  background-color: #f9f9f9;
  padding: 20px 30px;
  font-size: 1.3em;
  color: #333333;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
  margin: 0;
}

.page-faq__accordion-header:hover {
  background-color: #f0f0f0;
}

.page-faq__accordion-header::after {
  content: '+';
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-faq__accordion-header.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-faq__accordion-content {
  padding: 0 30px;
  background-color: #ffffff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-faq__accordion-content p {
  padding: 20px 0;
  margin: 0;
  color: #555555;
  font-size: 1em;
}

.page-faq__accordion-content.active {
  max-height: 1000px; /* Adjust as needed for content length */
  padding-bottom: 20px;
}

.page-faq__responsible-gaming-section,
.page-faq__contact-support-section {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 80px;
}

.page-faq__responsible-gaming-section .page-faq__section-title,
.page-faq__contact-support-section .page-faq__section-title {
  text-align: left;
}

.page-faq__responsible-gaming-section .page-faq__section-description,
.page-faq__contact-support-section .page-faq__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.page-faq__responsible-gaming-content,
.page-faq__contact-support-content {
  flex: 1;
}

.page-faq__responsible-gaming-image,
.page-faq__contact-support-image {
  flex: 1;
  min-width: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-faq__responsible-gaming-image img,
.page-faq__contact-support-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Ensure min size */
  min-height: 200px;
}

.page-faq__contact-actions {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-faq__call-to-action-section {
  background-color: #1E90FF;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  border-radius: 15px;
  margin-top: 80px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-faq__call-to-action-section .page-faq__section-title {
  color: #FFD700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-faq__call-to-action-section .page-faq__section-description {
  color: #f0f0f0;
}

.page-faq__call-to-action-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-faq__call-to-action-buttons .page-faq__button--primary {
  background-color: #FFD700;
  color: #333333;
  border-color: #FFD700;
}

.page-faq__call-to-action-buttons .page-faq__button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-faq__call-to-action-buttons .page-faq__button--secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-faq__call-to-action-buttons .page-faq__button--secondary:hover {
  background-color: #ffffff;
  color: #1E90FF;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 2.8em;
  }
  .page-faq__section-title {
    font-size: 2em;
  }
  .page-faq__responsible-gaming-section,
  .page-faq__contact-support-section {
    flex-direction: column;
    text-align: center;
  }
  .page-faq__responsible-gaming-section .page-faq__section-title,
  .page-faq__contact-support-section .page-faq__section-title,
  .page-faq__responsible-gaming-section .page-faq__section-description,
  .page-faq__contact-support-section .page-faq__section-description {
    text-align: center;
  }
  .page-faq__contact-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 60px 15px;
  }
  .page-faq__hero-title {
    font-size: 2.2em;
  }
  .page-faq__hero-description,
  .page-faq__section-description {
    font-size: 1em;
  }
  .page-faq__section-title {
    font-size: 1.8em;
  }
  .page-faq__categories-grid {
    grid-template-columns: 1fr;
  }
  .page-faq__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-faq__accordion-header::after {
    right: 20px;
  }
  .page-faq__accordion-content {
    padding: 0 20px;
  }
  .page-faq__accordion-content p {
    padding: 15px 0;
  }
  .page-faq__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-faq__hero-actions, .page-faq__contact-actions, .page-faq__call-to-action-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-faq__hero-image img,
  .page-faq__responsible-gaming-image img,
  .page-faq__contact-support-image img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 1.8em;
  }
  .page-faq__section-title {
    font-size: 1.5em;
  }
  .page-faq__button {
    width: 100%;
  }
  .page-faq__accordion-header {
    font-size: 1em;
  }
}