/* style/support.css */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF; /* Matches shared body background */
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.page-support__dark-bg {
  background: #017439;
  color: #ffffff;
}

.page-support__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-support__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-support__btn-primary:hover {
  background: #005f2e;
}

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

.page-support__btn-secondary:hover {
  background: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
}

/* Specific colors for Login/Register buttons */
.page-support__btn-login,
.page-support__btn-register {
  background: #C30808;
  color: #FFFF00;
  border: 2px solid transparent;
}

.page-support__btn-login:hover,
.page-support__btn-register:hover {
  background: #a00606;
  color: #ffffe0;
}

/* Video Section */
.page-support__video-section {
  padding: 60px 0;
  text-align: center;
}

.page-support__section-title {
  font-size: 2.2em;
  margin-bottom: 20px;
  color: inherit;
}

.page-support__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__video-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto 20px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-support__video-link {
  display: block;
  line-height: 0;
}

.page-support__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-support__video-caption {
  font-style: italic;
  color: #555;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
}

.page-support__faq-list {
  max-width: 900px;
  margin: 40px auto;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

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

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

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

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

.page-support__faq-question h3 {
  margin: 0;
  color: inherit;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg);
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: #ffffff;
  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 0 10px 0;
}

.page-support__faq-image {
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Methods Section */
.page-support__contact-methods {
  padding: 60px 0;
  text-align: center;
}

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

.page-support__contact-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-support__contact-card .page-support__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: inherit;
}

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

.page-support__contact-image {
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsible Gambling Section */
.page-support__responsible-gambling {
  padding: 60px 0;
  text-align: center;
}

.page-support__responsible-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-support__responsible-text {
  flex: 1;
  min-width: 300px;
}

.page-support__responsible-text h3 {
  font-size: 1.6em;
  margin-top: 25px;
  margin-bottom: 15px;
  color: #017439;
}

.page-support__responsible-text p {
  margin-bottom: 15px;
  color: #555555;
}

.page-support__responsible-image {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: block;
  height: auto;
}

/* Resources Section */
.page-support__resources {
  padding: 60px 0;
  text-align: center;
}

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

.page-support__resource-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-support__resource-card .page-support__card-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-support__resource-card .page-support__card-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__resource-card .page-support__card-title a:hover {
  color: #FFFF00; /* Yellow for hover on dark background */
}

.page-support__resource-card .page-support__card-text {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-top: auto;
}

.page-support__resources-image {
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Final CTA Section */
.page-support__cta-final {
  padding: 60px 0;
  text-align: center;
}

/* General Section Spacing */
.page-support section {
  margin-bottom: 0;
}

/* Image specific styles */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.5em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-support__hero-section {
    padding: 60px 0;
    min-height: 350px;
  }
  .page-support__hero-title {
    font-size: 2em;
  }
  .page-support__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-login,
  .page-support__btn-register {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-description {
    font-size: 0.95em;
  }
  .page-support__video-section,
  .page-support__faq-section,
  .page-support__contact-methods,
  .page-support__responsible-gambling,
  .page-support__resources,
  .page-support__cta-final {
    padding: 40px 0;
  }
  .page-support__container {
    padding: 0 15px;
  }
  .page-support__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-support__faq-answer {
    padding: 0 20px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 10px 20px;
  }
  .page-support__contact-grid,
  .page-support__resources-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-support__responsible-content {
    flex-direction: column;
  }
  .page-support__responsible-text,
  .page-support__responsible-image {
    min-width: unset;
    width: 100%;
  }
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-support__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-support__section,
  .page-support__card,
  .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}