/* style/support.css */

/* Base Styles & Typography */
.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 handled by shared.css */
}

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

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

.page-support__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0; /* Lighter text for dark backgrounds */
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #26A9E0; /* Primary brand color */
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Slightly transparent to let text stand out */
}

.page-support__hero-section .page-support__container {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.page-support__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

/* Buttons */
.page-support__cta-button {
  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;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

/* Features Section */
.page-support__features-section {
  padding: 80px 0;
}

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

.page-support__feature-card {
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff; /* Light text for dark background */
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

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

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

.page-support__feature-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

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

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

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

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly darker for contrast */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-support__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

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

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

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

.page-support__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-support__faq-answer p {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-support__faq-answer a {
  color: #EA7C07; /* Link color for internal links */
  text-decoration: underline;
}

.page-support__faq-answer a:hover {
  color: #e06c00;
}

/* Contact Channels Section */
.page-support__contact-channels-section {
  padding: 80px 0;
}

.page-support__contact-channels-section .page-support__section-title {
  color: #26A9E0;
}

.page-support__contact-channels-section .page-support__section-intro {
  color: #f0f0f0;
}

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

.page-support__channel-card {
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-support__channel-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

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

.page-support__channel-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Guides Section */
.page-support__guides-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-support__guides-section .page-support__section-intro {
  color: #f0f0f0;
}

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

.page-support__guide-card {
  display: block;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  height: 100%;
}

.page-support__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-support__guide-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-support__guide-card h3, .page-support__guide-card p {
  padding: 0 20px;
}

.page-support__guide-title {
  font-size: 1.4em;
  margin: 20px 0 10px 0;
  color: #ffffff;
}

.page-support__guide-text {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
  padding: 80px 0;
}

.page-support__responsible-gaming-section .page-support__section-title {
  color: #26A9E0;
}

.page-support__responsible-gaming-section .page-support__section-intro {
  color: #f0f0f0;
}

.page-support__responsible-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

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

.page-support__responsible-text-block {
  flex: 1 1 400px;
  color: #f0f0f0;
}

.page-support__responsible-subtitle {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-support__responsible-text-block p {
  margin-bottom: 20px;
  color: #f0f0f0;
}

/* Final CTA Section */
.page-support__final-cta-section {
  padding: 80px 0;
  background-color: #26A9E0;
  text-align: center;
  color: #ffffff;
}

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

.page-support__final-cta-section .page-support__section-intro {
  color: #f0f0f0;
}

/* --- General Color Contrast / Background Handling --- */
/* Default for sections on a dark body background */
.page-support__dark-section {
  background-color: #26A9E0; /* Brand primary for dark sections */
  color: #ffffff;
}

.page-support__light-bg {
  background-color: rgba(255, 255, 255, 0.05); /* Very subtle light background on dark body */
  color: #ffffff;
}

.page-support__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 3em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__hero-section {
    padding: 80px 0;
  }
  .page-support__features-grid, .page-support__channels-grid, .page-support__guides-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 60px;
  }
  .page-support__hero-title {
    font-size: 2.5em;
  }
  .page-support__hero-description {
    font-size: 1.1em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-support__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__cta-button {
    padding: 12px 20px;
    font-size: 1em;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-support__features-section, .page-support__faq-section, .page-support__contact-channels-section, .page-support__guides-section, .page-support__responsible-gaming-section, .page-support__final-cta-section {
    padding: 50px 0;
  }
  .page-support__container {
    padding: 0 15px;
  }
  .page-support__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-support__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-support__responsible-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-support__responsible-image {
    flex: none;
    width: 100%;
  }
  .page-support__responsible-text-block {
    flex: none;
    width: 100%;
  }

  /* Mobile image and video specific overrides */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper,
  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  .page-support__cta-buttons {
    flex-direction: column !important;
  }
}