/* style/support.css */
.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Main text color for dark background */
  background-color: var(--color-background, #0A0A0A); /* Default to #0A0A0A if var not set */
}

.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0A0A0A; /* Dark background for hero */
}

.page-support__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure width for max-width to work */
}

.page-support__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

.page-support__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-support__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #FFF6D6;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Glow effect */
}

.page-support__intro-text {
  font-size: 1.2rem;
  color: #FFF6D6;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-support__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for light button gradient */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-support__cta-button:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%); /* Slightly different gradient on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 211, 107, 0.4); /* Glow effect */
}

.page-support__section {
  padding: 80px 20px;
  background-color: var(--color-background, #0A0A0A);
  border-bottom: 1px solid #3A2A12; /* Border color */
}

.page-support__section:last-of-type {
  border-bottom: none;
}

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

.page-support__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F2C14E; /* Primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

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

/* Why Choose Us Section */
.page-support__why-choose-us .page-support__section-description {
  margin-bottom: 60px;
}

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

.page-support__feature-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border color */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.2); /* Glow effect on hover */
}

.page-support__feature-title {
  font-size: 1.6rem;
  color: #FFD36B; /* Auxiliary color for feature titles */
  margin-bottom: 15px;
  text-align: center;
}

.page-support__feature-text {
  font-size: 1rem;
  color: #FFF6D6;
  text-align: center;
}

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

.page-support__channel-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border color */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-support__channel-item img {
  width: 100%;
  max-width: 200px; /* Adjust size for channel icons */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 5px;
}

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

.page-support__channel-text {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-support__email-link {
  color: #FFD36B;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-support__email-link:hover {
  color: #F2C14E;
}

.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #3A2A12; /* Border color as background for secondary button */
  color: #FFD36B; /* Auxiliary color for text */
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  border: 1px solid #F2C14E; /* Primary color border */
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-support__btn-secondary:hover {
  background: #F2C14E; /* Primary color on hover */
  color: #111111; /* Dark text for primary color background */
  border-color: #FFD36B; /* Auxiliary color border on hover */
  box-shadow: 0 2px 8px rgba(255, 211, 107, 0.3);
}

/* FAQ Section */
.page-support__faq-area {
  padding-bottom: 80px;
}

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

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

details.page-support__faq-item summary.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: #FFD36B; /* Auxiliary color for question text */
  font-size: 1.1rem;
  font-weight: 600;
}

details.page-support__faq-item summary.page-support__faq-question::-webkit-details-marker {
  display: none;
}

details.page-support__faq-item summary.page-support__faq-question:hover {
  background: rgba(255, 211, 107, 0.1); /* Subtle highlight on hover */
  color: #F2C14E; /* Primary color on hover */
}

.page-support__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: left;
}

.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Primary color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-support__faq-item[open] summary.page-support__faq-question {
  background: rgba(255, 211, 107, 0.15);
  color: #F2C14E;
  border-bottom: 1px solid #3A2A12;
}

details.page-support__faq-item .page-support__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A; /* Background for answer */
  border-radius: 0 0 8px 8px;
  color: #FFF6D6;
}

.page-support__faq-answer p {
  margin-top: 15px;
  margin-bottom: 0;
  font-size: 1rem;
}

.page-support__faq-answer a {
  color: #FFD36B;
  text-decoration: underline;
}

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


/* Guides & Tutorials Section */
.page-support__guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__guide-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border color */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-support__guide-title {
  font-size: 1.4rem;
  color: #F2C14E;
  margin-bottom: 10px;
  flex-grow: 1;
}

.page-support__guide-title a {
  color: inherit;
  text-decoration: none;
}

.page-support__guide-title a:hover {
  text-decoration: underline;
}

.page-support__guide-text {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 0;
}

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

.page-support__responsible-gaming-text {
  flex: 1;
  min-width: 300px;
  color: #FFF6D6;
}

.page-support__responsible-gaming-subtitle {
  font-size: 1.6rem;
  color: #FFD36B;
  margin-top: 25px;
  margin-bottom: 15px;
}

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

.page-support__responsible-gaming-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-support__responsible-gaming-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-support__cta-button--small {
  padding: 10px 20px;
  font-size: 16px;
  margin-top: 20px;
}

/* Feedback Section */
.page-support__feedback {
  text-align: center;
  padding-bottom: 80px;
}

.page-support__cta-button--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
}

.page-support__cta-button--primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
}

/* Latest Blog Section */
.page-support__blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__blog-card {
  background-color: #111111; /* Card BG */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border color */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-support__blog-card img {
  width: 100%;
  height: 200px; /* Fixed height for blog card images */
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
}

.page-support__blog-title {
  font-size: 1.4rem;
  color: #F2C14E;
  margin-bottom: 10px;
  flex-grow: 1;
}

.page-support__blog-title a {
  color: inherit;
  text-decoration: none;
}

.page-support__blog-title a:hover {
  text-decoration: underline;
}

.page-support__blog-excerpt {
  font-size: 0.95rem;
  color: #FFF6D6;
  margin-bottom: 15px;
}

.page-support__blog-read-more {
  display: inline-block;
  color: #FFD36B;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-support__blog-read-more:hover {
  color: #F2C14E;
  text-decoration: underline;
}

.page-support__view-all-button {
  text-align: center;
  margin-top: 50px;
}

/* Global link styling within content for contrast */
.page-support a {
  color: #FFD36B; /* Default link color */
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-support__hero-image img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding-top: 10px !important; /* body handles header offset */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .page-support__intro-text {
    font-size: 1rem;
  }

  .page-support__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

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

  .page-support__features-grid,
  .page-support__channels-grid,
  .page-support__guides-grid,
  .page-support__blog-cards {
    grid-template-columns: 1fr;
  }

  .page-support__feature-item,
  .page-support__channel-item,
  .page-support__guide-card,
  .page-support__blog-card {
    padding: 20px;
  }

  .page-support__feature-title {
    font-size: 1.4rem;
  }

  .page-support__channel-title {
    font-size: 1.6rem;
  }

  details.page-support__faq-item summary.page-support__faq-question {
    padding: 15px;
    font-size: 1rem;
  }

  .page-support__faq-qtext {
    font-size: 1rem;
  }

  .page-support__faq-toggle {
    font-size: 20px;
    width: 24px;
  }

  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 15px 15px;
  }

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

  .page-support__responsible-gaming-subtitle {
    font-size: 1.4rem;
  }

  .page-support__responsible-gaming-image img {
    max-width: 100%;
    height: auto;
  }

  .page-support__blog-card img {
    
  }

  /* Image responsiveness */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsiveness */
  .page-support__cta-button,
  .page-support__btn-secondary {
    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-button--small {
    padding: 10px 15px; /* Adjust padding for small buttons on mobile */
  }

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

  .page-support__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}

/* Accessibility and contrast for specific elements */
.page-support h1, .page-support h2, .page-support h3, .page-support h4, .page-support h5, .page-support h6 {
  color: #F2C14E; /* Ensure headings have good contrast */
}
.page-support p, .page-support li, .page-support span {
  color: #FFF6D6; /* Ensure general text has good contrast */
}
.page-support__feature-text, .page-support__channel-text, .page-support__guide-text, .page-support__blog-excerpt {
  color: #FFF6D6; /* Explicitly set for these texts */
}

/* Ensure buttons have contrasting text */
.page-support__cta-button, .page-support__btn-primary {
  color: #111111; /* Dark text on light gradient */
}
.page-support__btn-secondary {
  color: #FFD36B; /* Light text on dark background */
}
.page-support__btn-secondary:hover {
  color: #111111; /* Dark text on primary color background */
}

/* Link colors on dark background */
.page-support a:not(.page-support__cta-button):not(.page-support__btn-secondary) {
  color: #FFD36B; /* General links in content */
}
.page-support a:not(.page-support__cta-button):not(.page-support__btn-secondary):hover {
  color: #F2C14E;
}