/* style/support.css */

/* Base styles for the support page */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: transparent; /* Body background from shared.css */
}

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

.page-support__section-title {
  font-size: clamp(2em, 2.5vw, 2.8em);
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-support__sub-title {
  font-size: clamp(1.5em, 2vw, 2.2em);
  color: #FFD36B; /* Auxiliary color */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-support__section-description,
.page-support__card-text,
.page-support p,
.page-support li {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 20px;
  color: #FFF6D6; /* Text Main */
}

.page-support a {
  color: #FFD36B;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support a:hover {
  color: #F2C14E;
}

/* Buttons */
.page-support__cta-button,
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-support__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Auxiliary color */
  border: 2px solid #FFD36B;
}

.page-support__btn-secondary:hover {
  background: #0A0A0A; /* Darker background */
  color: #F2C14E; /* Main color */
  border-color: #F2C14E;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px;
  text-align: center;
  overflow: hidden;
  background-color: #0A0A0A; /* Background */
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-support__hero-content {
  max-width: 900px;
  margin-top: 20px;
}

.page-support__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em);
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.05em;
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

/* Contact Channels Section */
.page-support__contact-channels {
  background-color: #0A0A0A; /* Background */
  padding-top: 60px;
}

.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: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__channel-icon {
  width: 200px; /* Minimum size */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-support__card-title {
  font-size: 1.8em;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: 600;
}

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

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

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
  font-size: 1.2em;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

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

.page-support__faq-question h3 {
  margin: 0;
  color: #FFF6D6; /* Text Main */
  font-size: 1em; /* Adjusted for better hierarchy */
  flex-grow: 1;
  text-align: left;
}

.page-support__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  color: #FFD36B;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(0deg); /* '−' is already rotated, so no extra rotation */
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}

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

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

/* Responsible Gaming Section */
.page-support__responsible-gaming {
  background-color: #0A0A0A; /* Background */
}

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

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

.page-support__responsible-gaming-text p {
  text-align: left;
  margin-bottom: 15px;
}

/* Security and Privacy Section */
.page-support__security-privacy {
  background-color: #0A0A0A; /* Background */
}

.page-support__security-privacy-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-direction: row-reverse; /* Image on right */
}

.page-support__security-privacy-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-support__security-privacy-text p {
  text-align: left;
  margin-bottom: 15px;
}

/* Feedback Section */
.page-support__feedback-section {
  background-color: #0A0A0A; /* Background */
  text-align: center;
}

.page-support__feedback-call-to-action {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

/* Conclusion Section */
.page-support__conclusion-section {
  background-color: #0A0A0A; /* Background */
  text-align: center;
  padding-bottom: 80px;
}

.page-support__final-call-to-action {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-support__hero-section {
    padding: 10px 15px 40px;
  }

  .page-support__section {
    padding: 40px 15px;
  }

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

  .page-support__responsible-gaming-content,
  .page-support__security-privacy-content {
    flex-direction: column;
    text-align: center;
  }

  .page-support__responsible-gaming-text p,
  .page-support__security-privacy-text p {
    text-align: center;
  }

  .page-support__responsible-gaming-image,
  .page-support__security-privacy-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-support__main-title {
    font-size: 2.2em;
  }

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

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

  .page-support__section-description,
  .page-support__hero-description,
  .page-support__card-text,
  .page-support p,
  .page-support li,
  .page-support__feedback-call-to-action,
  .page-support__final-call-to-action {
    font-size: 1em;
    text-align: center;
  }

  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-section,
  .page-support__contact-channels,
  .page-support__faq-section,
  .page-support__responsible-gaming,
  .page-support__security-privacy,
  .page-support__feedback-section,
  .page-support__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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__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;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; 
  }

  .page-support__faq-question,
  .page-support__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__responsible-gaming-image,
  .page-support__security-privacy-image {
    width: 100%;
    height: auto;
  }
}