/* style/support.css */

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: transparent; /* Body background is handled by shared.css var(--bg-color) */
  line-height: 1.6;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom for content */
  box-sizing: border-box;
  overflow: hidden;
}

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

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

.page-support__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  z-index: 1;
}

.page-support__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size, not fixed */
  font-weight: 700;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  line-height: 1.2;
}

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

.page-support__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.page-support__btn-primary, 
.page-support__btn-secondary,
.page-support__card-link {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

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

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

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

.page-support__btn-secondary:hover {
  background: #F2C14E;
  color: #111111; /* Card BG */
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-support__btn-center {
  margin: 20px auto;
  display: block;
  max-width: 300px;
}

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

.page-support__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

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

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

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

.page-support__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 211, 107, 0.4); /* Glow on hover */
}

.page-support__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
  display: block;
}

.page-support__card-title {
  font-size: 1.4em;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-support__card-title a {
  color: #F2C14E;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__card-title a:hover {
  color: #FFD36B; /* Auxiliary color */
}

.page-support__card p {
  color: #FFF6D6;
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__card-link {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff; /* White text for contrast */
  border: 2px solid transparent;
  padding: 10px 20px;
  font-size: 0.9em;
  width: fit-content;
}

.page-support__card-link:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

/* List Styles */
.page-support__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-support__list-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(255, 211, 107, 0.4); /* Glow on hover */
}

.page-support__list-item-title {
  font-size: 1.3em;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
}

.page-support__list-item-title a {
  color: #F2C14E;
  text-decoration: none;
}

.page-support__list-item-title a:hover {
  color: #FFD36B;
}

.page-support__list-item p {
  color: #FFF6D6;
  font-size: 0.95em;
}

/* Info Blocks (for Responsible Gaming) */
.page-support__info-block {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  padding: 25px;
  margin: 0 auto 20px;
  max-width: 800px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__info-title {
  font-size: 1.3em;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
}

.page-support__info-block p {
  color: #FFF6D6;
  font-size: 0.95em;
}

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

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

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

.page-support__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-support__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B; /* Auxiliary color */
}

.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 to show content */
  padding: 15px 25px 25px;
}

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

/* Copyright */
.page-support__copyright {
  padding: 40px 20px;
  text-align: center;
  background: #0A0A0A; /* Background color */
  border-top: 1px solid #3A2A12; /* Border color */
}

.page-support__copyright-text {
  color: #FFF6D6;
  font-size: 0.9em;
  margin: 0;
}

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

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

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

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__card-link,
  .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__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__card {
    padding: 20px;
  }

  .page-support__card-image {
    height: 180px;
  }

  .page-support__card-title {
    font-size: 1.2em;
  }

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

  .page-support__section-description,
  .page-support__list-item p,
  .page-support__info-block p,
  .page-support__faq-answer p {
    font-size: 0.9em;
  }

  .page-support__list-item,
  .page-support__info-block {
    padding: 20px;
  }

  .page-support__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

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

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

  /* Ensure all images are responsive */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__hero-image-wrapper,
  .page-support__card,
  .page-support__list-item,
  .page-support__info-block,
  .page-support__faq-item,
  .page-support__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-support__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .page-support__hero-content {
    padding: 0;
  }
}