/* style/support.css */

/* Base styles for the support page */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

/* Section styling */
.page-support__section-title {
  font-size: 2.5rem;
  color: #ffffff; /* Default for dark sections */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__section-description {
  font-size: 1.1rem;
  color: #f0f0f0; /* Slightly lighter for description on dark background */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-support__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  cursor: pointer; /* Indicate clickable */
}

.page-support__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-support__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 2;
}

.page-support__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-support__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #ffffff;
}

.page-support__hero-description {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

/* Buttons */
.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

.page-support__btn-primary:hover {
  background-color: #e00a0a;
  transform: translateY(-3px);
}

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

.page-support__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1); 
  transform: translateY(-3px);
}

.page-support__small-button {
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
}

/* Contact Methods Section */
.page-support__contact-methods {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text for light background */
}

.page-support__contact-methods .page-support__section-title {
  color: #000000; /* Dark title for light background */
}

.page-support__contact-methods .page-support__section-description {
  color: #333333; /* Dark description for light background */
}

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

.page-support__contact-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #333333;
}

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

.page-support__contact-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px; /* Added for visual appeal */
}

.page-support__card-title {
  font-size: 1.8rem;
  color: #017439; /* Brand color for titles */
  margin-bottom: 15px;
}

.page-support__card-text {
  font-size: 1rem;
  color: #555555;
  margin-bottom: 20px;
}

.page-support__contact-card a {
  color: #017439;
  text-decoration: underline;
}
.page-support__contact-card a:hover {
  color: #005a2e;
}


/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
  background-color: #017439; /* Brand color background */
  color: #ffffff;
}

.page-support__faq-section .page-support__section-title {
  color: #ffffff;
}

.page-support__faq-section .page-support__section-description {
  color: #f0f0f0;
}

.page-support__faq-image {
  display: block;
  margin: 40px auto;
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on brand background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-support__faq-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
}

.page-support__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffffff;
  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, padding 0.3s ease;
  color: #f0f0f0;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Ensure it expands fully */
  padding: 15px 20px 20px;
}

.page-support__faq-answer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.page-support__faq-answer a {
  color: #FFFF00; /* Yellow for links on dark background */
  text-decoration: underline;
}
.page-support__faq-answer a:hover {
  color: #ffcc00;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text */
}

.page-support__responsible-gaming .page-support__section-title {
  color: #000000;
}

.page-support__responsible-gaming .page-support__section-description {
  color: #333333;
}

.page-support__responsible-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

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

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

.page-support__sub-title {
  font-size: 1.8rem;
  color: #017439;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* Why Choose Section */
.page-support__why-choose {
  padding: 80px 0;
  background-color: #0d0d0d; /* Darker background for contrast */
  color: #ffffff;
}

.page-support__why-choose .page-support__section-title {
  color: #ffffff;
}

.page-support__why-choose .page-support__section-description {
  color: #f0f0f0;
}

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

.page-support__advantage-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-support__advantage-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-support__advantage-card .page-support__card-title {
  color: #FFFF00; /* Yellow for titles on dark background */
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.page-support__advantage-card .page-support__card-text {
  color: #f0f0f0;
  font-size: 1rem;
}


/* CTA Section */
.page-support__cta-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text */
  text-align: center;
}

.page-support__cta-section .page-support__section-title {
  color: #000000;
}

.page-support__cta-section .page-support__section-description {
  color: #333333;
  margin-bottom: 40px;
}

.page-support__cta-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  margin: 0 auto 40px;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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


/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 3rem;
  }
  .page-support__hero-description {
    font-size: 1.2rem;
  }
  .page-support__section-title {
    font-size: 2rem;
  }
  .page-support__card-title {
    font-size: 1.5rem;
  }
  .page-support__sub-title {
    font-size: 1.5rem;
  }
}

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

  /* Images responsive (must use !important) */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video responsive (must use !important) */
  .page-support video,
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Containers for images/videos/buttons responsive (must use !important) */
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__contact-card,
  .page-support__advantage-card,
  .page-support__cta-container,
  .page-support__hero-video-wrapper,
  .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; /* Prevent horizontal scroll */
  }

  /* Buttons responsive (must use !important) */
  .page-support__cta-button,
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support a[class*="button"],
  .page-support 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-support__hero-buttons,
  .page-support__cta-buttons-bottom {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__hero-title {
    font-size: 2.2rem;
  }
  .page-support__hero-description {
    font-size: 1rem;
  }
  .page-support__section-title {
    font-size: 1.8rem;
  }
  .page-support__section-description {
    font-size: 1rem;
  }
  .page-support__contact-grid,
  .page-support__advantages-grid {
    grid-template-columns: 1fr;
  }
  .page-support__responsible-content {
    flex-direction: column;
  }
  .page-support__responsible-image {
    max-width: 100%;
  }
  .page-support__faq-title {
    font-size: 1.1rem;
  }
  .page-support__faq-question {
    padding: 15px;
  }
  .page-support__faq-answer {
    padding: 0 15px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 10px 15px 15px;
  }
}