/* style/support.css */

/* Base styles for the support page content */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark background */
  background-color: var(--dark-bg-1); /* Inherit from shared.css, assuming it's dark */
}

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

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not covered by fixed header */
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5); /* Darken image for better text readability */
}

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

.page-support__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-support__hero-cta-button {
  display: inline-block;
  background-color: #26A9E0; /* Brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
}

.page-support__hero-cta-button:hover {
  background-color: #1a7fb7; /* Darker shade of brand color */
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Brand primary color for dark section */
  color: #ffffff; /* White text for brand color background */
}

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

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for items */
  border-radius: 10px;
  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: 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-heading {
  font-size: 1.3em;
  margin: 0;
  color: #ffffff;
}

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

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

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

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

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

/* Contact Section */
.page-support__contact-section {
  padding: 80px 0;
  background-color: var(--dark-bg-1); /* Assuming shared dark background */
  color: #ffffff;
}

.page-support__contact-description {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-support__contact-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  min-height: 380px; /* Adjusted min-height to accommodate 200x200 icons */
}

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

.page-support__contact-icon {
  width: 200px; /* Must be at least 200x200 */
  height: 200px; /* Must be at least 200x200 */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%; /* Make icons round if desired */
  background-color: rgba(255, 255, 255, 0.1);
  padding: 10px;
}

.page-support__contact-card-title {
  font-size: 1.5em;
  color: #26A9E0; /* Brand color for titles */
  margin-bottom: 15px;
}

.page-support__contact-card p {
  color: #f0f0f0;
  margin-bottom: 25px;
  flex-grow: 1; /* Push button to bottom */
}

.page-support__contact-button {
  display: inline-block;
  background-color: #EA7C07; /* Login color for contact buttons */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
}

.page-support__contact-button:hover {
  background-color: #c96806;
}

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

.page-support__responsible-gaming-section .page-support__section-title {
  color: #333333; /* Dark title for light background */
}

.page-support__responsible-gaming-description,
.page-support__responsible-gaming-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-support__responsible-gaming-link {
  color: #26A9E0; /* Brand color for links */
  text-decoration: underline;
  font-weight: bold;
}

.page-support__responsible-gaming-link:hover {
  color: #1a7fb7;
}

.page-support__responsible-gaming-button {
  display: inline-block;
  background-color: #26A9E0; /* Brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 30px;
  border: 2px solid transparent;
}

.page-support__responsible-gaming-button:hover {
  background-color: #1a7fb7;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__faq-heading {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-support__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is not covered */
  }
  .page-support__hero-title {
    font-size: 2.2em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__faq-question {
    padding: 15px 20px;
  }
  .page-support__faq-heading {
    font-size: 1.1em;
  }
  .page-support__faq-answer {
    padding: 0 20px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px 20px 20px;
  }
  .page-support__contact-methods {
    grid-template-columns: 1fr;
  }
  .page-support__contact-card {
    padding: 25px;
    min-height: auto;
  }
  .page-support__contact-icon {
    width: 200px !important; /* Must be at least 200px */
    height: 200px !important; /* Must be at least 200px */
  }

  /* Mobile responsive image, video, button rules */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support video,
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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__hero-cta-button,
  .page-support__contact-button,
  .page-support__responsible-gaming-button {
    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__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container,
  .page-support__contact-methods {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    overflow: hidden !important;
    display: flex !important; /* Ensure flex for wrapping/column */
    flex-direction: column !important; /* Stack buttons vertically on mobile */
  }

  .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;
  }
}

/* Image styling restrictions */
.page-support img {
  filter: none; /* Ensure no filter changes original image color */
}