/* style/support.css */
.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--black-color); /* Inherit from shared, assume dark for text contrast */
  padding-top: var(--header-offset, 120px);
}

.page-support__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #26A9E0, #1a7bbd);
  color: #ffffff;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.page-support__hero-content {
  max-width: 900px;
  z-index: 1;
}

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

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
}

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

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

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

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

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

.page-support__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7bbd;
}

.page-support__btn-tertiary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-support__btn-tertiary:hover {
  background-color: #1a7bbd;
  border-color: #1a7bbd;
}

.page-support__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.2;
}

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%); /* Allowed for decorative background images */
}

.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff; /* Explicitly set for content sections */
  color: #333333; /* Dark text for light background */
}

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

.page-support__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Video Section */
.page-support__video-section {
  background-color: #f5f5f5;
  padding: 60px 20px;
  text-align: center;
}

.page-support__video-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-support__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #000000;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-support__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-support__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* Contact Methods */
.page-support__contact-methods {
  background-color: #ffffff;
  padding: 60px 0;
}

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

.page-support__method-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-support__method-card:hover {
  transform: translateY(-5px);
}

.page-support__method-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-support__method-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-support__method-text {
  color: #666666;
  margin-bottom: 20px;
}

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

.page-support__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

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

.page-support__faq-toggle {
  font-size: 1.5em;
  color: #26A9E0;
  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 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #555555;
}

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

.page-support__faq-answer p {
  margin-bottom: 1em;
}

/* Technical Assistance */
.page-support__technical-assistance {
  background-color: #ffffff;
  padding: 60px 0;
}

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

.page-support__feature-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-support__feature-card:hover {
  transform: translateY(-5px);
}

.page-support__feature-icon {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-support__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-support__feature-text {
  color: #666666;
}

/* Responsible Gaming */
.page-support__responsible-gaming {
  background-color: #f5f5f5;
  padding: 60px 0;
}

.page-support__responsible-gaming-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-support__responsible-gaming-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-support__responsible-gaming-text {
  max-width: 800px;
  text-align: left;
}

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

.page-support__responsible-gaming-text a {
  color: #26A9E0;
  text-decoration: underline;
}

/* Get Started Section */
.page-support__get-started {
  background: linear-gradient(135deg, #26A9E0, #1a7bbd);
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.page-support__get-started .page-support__section-title,
.page-support__get-started .page-support__section-description {
  color: #ffffff;
}

.page-support__get-started .page-support__btn-primary {
  background-color: #EA7C07;
  border-color: #EA7C07;
}

.page-support__get-started .page-support__btn-primary:hover {
  background-color: #d16e06;
  border-color: #d16e06;
}

.page-support__get-started .page-support__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
}

.page-support__get-started .page-support__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7bbd;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-support__hero-section {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding: 100px 40px;
    min-height: 500px;
  }

  .page-support__hero-content {
    max-width: 50%;
    margin-right: 40px;
  }

  .page-support__hero-image-wrapper {
    position: relative;
    width: 50%;
    height: auto;
    opacity: 1;
    filter: none;
  }

  .page-support__hero-image {
    position: relative;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }

  .page-support__responsible-gaming-content {
    flex-direction: row;
    text-align: left;
  }

  .page-support__responsible-gaming-image {
    margin-right: 40px;
  }
}

@media (max-width: 768px) {
  .page-support {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
  }

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

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

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

  .page-support__sub-title {
    font-size: 1.5em;
  }

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

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-tertiary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  /* Mobile image responsiveness */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-support__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    opacity: 1;
    filter: none;
    margin-top: 30px;
  }

  .page-support__hero-image {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  /* Mobile video responsiveness */
  .page-support video,
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !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-wrapper {
    padding-bottom: 75%; /* Adjust for 4:3 aspect ratio on smaller screens if needed, or keep 16:9 */
  }

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

  .page-support__methods-grid,
  .page-support__tech-features {
    grid-template-columns: 1fr;
  }

  .page-support__method-card,
  .page-support__feature-card {
    padding: 25px;
  }

  .page-support__responsible-gaming-content {
    flex-direction: column;
  }

  .page-support__responsible-gaming-image {
    margin-bottom: 30px;
    max-width: 100%;
  }

  .page-support__responsible-gaming-text {
    text-align: center;
  }

  .page-support__responsible-gaming-text p {
    text-align: left;
  }
}