/* style/support.css */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff;
}

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

.page-support__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #26A9E0, #1A7BBF);
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-support__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #ffffff;
}

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

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

.page-support__btn-primary {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-support__btn-primary:hover {
  background-color: #D66D00;
  border-color: #D66D00;
}

.page-support__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-support__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-support__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  color: #26A9E0;
}

.page-support__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-support__intro-section,
.page-support__channels-section,
.page-support__faq-section,
.page-support__guides-section,
.page-support__responsible-gambling-section,
.page-support__cta-section {
  padding: 60px 0;
}

.page-support__intro-section,
.page-support__faq-section,
.page-support__responsible-gambling-section {
  background-color: #ffffff;
  color: #333333;
}

.page-support__channels-section,
.page-support__guides-section,
.page-support__cta-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-support__channels-section .page-support__section-title,
.page-support__guides-section .page-support__section-title,
.page-support__cta-section .page-support__section-title {
  color: #ffffff;
}

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

.page-support__channel-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.page-support__channel-card .page-support__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-support__channel-card .page-support__card-text {
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-support__faq-list {
  margin-top: 40px;
}

.page-support__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  color: #333333;
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #f0f0f0;
}

.page-support__faq-title {
  margin: 0;
  color: #26A9E0;
  font-size: 1.2em;
}

.page-support__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg);
  content: '−'; /* This will not work in CSS, handled by JS */
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-support__faq-answer p {
  margin: 0;
}

.page-support__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-support__guide-item {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.page-support__guide-item a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  display: block;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-support__guide-item a:hover {
  color: #f0f0f0;
}

.page-support__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-support__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-support__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-support__hero-title {
    font-size: 2.2em;
  }

  .page-support__hero-description {
    font-size: 1em;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__section-title {
    font-size: 2em;
  }

  .page-support__section-description {
    font-size: 1em;
  }

  .page-support__intro-section,
  .page-support__channels-section,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__responsible-gambling-section,
  .page-support__cta-section {
    padding: 40px 0;
  }

  .page-support__channel-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__faq-question {
    padding: 15px 20px;
  }

  .page-support__faq-title {
    font-size: 1em;
  }

  .page-support__faq-answer {
    padding: 0 20px;
  }

  .page-support__faq-item.active .page-support__faq-answer {
    padding: 10px 20px;
  }

  .page-support__guide-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__image {
    margin-left: 0;
    margin-right: 0;
  }

  /* Ensure all containers with images/buttons/videos are responsive */
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__channel-card,
  .page-support__faq-item,
  .page-support__guide-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}