/* style/support.css */

/* Base styles for the support page content */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main from custom palette */
  background-color: #0A0A0A; /* Background from custom palette */
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #0A0A0A;
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

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

.page-support__hero-content-wrapper {
  width: 100%;
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, #0A0A0A 100%); /* Gradient to blend with background */
  margin-top: -100px; /* Overlap slightly for visual blend */
  position: relative;
  z-index: 1;
}

.page-support__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: #FFD36B; /* Glow from custom palette */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-support__hero-description {
  font-size: 1.1em;
  color: #FFF6D6;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button from custom palette */
  color: #111111; /* Dark text for contrast */
  border: 2px solid transparent;
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #FFE699 0%, #E6B02A 100%);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

.page-support__btn-secondary {
  background-color: transparent;
  color: #FFD36B; /* Glow from custom palette */
  border: 2px solid #FFD36B; /* Border from custom palette */
}

.page-support__btn-secondary:hover {
  background-color: #FFD36B;
  color: #111111;
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

.page-support__btn-text {
  background-color: transparent;
  color: #FFD36B;
  border: 1px solid #FFD36B;
  padding: 10px 20px;
}

.page-support__btn-text:hover {
  background-color: #FFD36B;
  color: #111111;
}

/* General Section Styling */
.page-support__section-title {
  font-size: 2.5em;
  color: #FFD36B;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

.page-support__section-description {
  font-size: 1.1em;
  color: #FFF6D6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

/* Channels Section */
.page-support__channels-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-support__channel-card {
  background-color: #111111; /* Card BG from custom palette */
  border: 1px solid #3A2A12; /* Border from custom palette */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.2);
}

.page-support__channel-icon {
  width: 250px; /* Ensure minimum 200x200px */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-support__channel-title {
  font-size: 1.8em;
  color: #FFD36B;
  margin-bottom: 15px;
}

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

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

.page-support__faq-list {
  margin-top: 40px;
}

.page-support__faq-item {
  background-color: #111111; /* Card BG from custom palette */
  border: 1px solid #3A2A12; /* Border from custom palette */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1a1a1a;
  transition: background-color 0.3s ease;
}

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

.page-support__faq-title {
  font-size: 1.25em;
  color: #FFD36B;
  margin: 0;
}

.page-support__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD36B;
  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;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
}

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

.page-support__faq-answer p {
  margin: 0;
  font-size: 1em;
}

.page-support__more-faq {
  text-align: center;
  margin-top: 40px;
}

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

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

.page-support__responsible-gaming-image {
  flex: 1 1 45%;
  min-width: 300px;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #3A2A12;
}

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

.page-support__responsible-gaming-text h3 {
  font-size: 2em;
  color: #FFD36B;
  margin-bottom: 20px;
}

.page-support__responsible-gaming-text p {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 30px;
}

/* Contact CTA Section */
.page-support__contact-cta-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG from custom palette */
  text-align: center;
}

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

  .page-support__hero-content-wrapper {
    padding: 40px 0;
    margin-top: -50px;
  }

  .page-support__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

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

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

  .page-support__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-support__channels-grid {
    grid-template-columns: 1fr;
  }

  .page-support__channel-icon {
    width: 200px; /* Minimum size */
    height: auto;
  }

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

  .page-support__faq-question {
    padding: 15px 20px;
  }

  .page-support__faq-title {
    font-size: 1.1em;
  }

  .page-support__faq-answer {
    padding: 0 20px;
  }

  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px 20px;
  }

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

  .page-support__responsible-gaming-image {
    min-width: unset;
    width: 100%;
  }

  .page-support__responsible-gaming-text {
    min-width: unset;
    width: 100%;
  }

  /* Force responsive for all images, videos, and buttons */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container,
  .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;
  }

  .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__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
  }

  /* Video section is not present, so no specific video mobile style needed for this page */
}

/* Color Contrast Adjustments (as per instructions) */
.page-support p,
.page-support li {
  color: #FFF6D6;
}

.page-support__channel-card,
.page-support__faq-item {
  background-color: #111111;
  color: #FFF6D6;
  border: 1px solid #3A2A12;
}

.page-support__contact-cta-section {
  background-color: #111111;
  color: #FFF6D6;
}