/* style/support.css */

/* --- General Page Styling --- */
.page-support {
  color: #ffffff; /* Light text for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-support__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700; /* Gold primary color for titles */
}

.page-support__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  color: #f0f0f0; /* Slightly off-white for body text */
}

/* --- Buttons --- */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* Ensure buttons adapt to mobile */
}

.page-support__btn-primary {
  background-color: #FFD700; /* Gold primary color */
  color: #000080; /* Dark blue text for contrast */
  border: 2px solid #FFD700;
}

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

.page-support__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-support__btn-secondary:hover {
  background-color: #FFD700;
  color: #000080;
}

.page-support__btn-link {
  background-color: transparent;
  color: #FFD700;
  border: 1px solid #FFD700;
  padding: 8px 15px;
  font-size: 14px;
}

.page-support__btn-link:hover {
  background-color: #FFD700;
  color: #000080;
}

/* --- Hero Section --- */
.page-support__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Fixed nav bar spacing */
  margin-top: 0;
  background: linear-gradient(135deg, #000080, #0a0a0a); /* Dark blue to dark background */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-support__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px 40px;
  position: relative;
  z-index: 2;
}

.page-support__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Gold title */
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-support__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-support__hero-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3; /* Make background image subtle */
}

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

/* --- Contact Methods Section --- */
.page-support__contact-methods-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

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

.page-support__contact-card {
  background-color: rgba(0, 0, 0, 0.5); /* Slightly transparent dark background */
  border: 1px solid #000080; /* Dark blue border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-support__contact-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-support__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-support__card-text {
  font-size: 16px;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 25px;
}

/* --- FAQ Section --- */
.page-support__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
}

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

.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #0a0a0a; /* Dark background for FAQ items */
  border: 1px solid #000080;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #000080; /* Dark blue for question background */
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-support__faq-question:hover {
  background-color: #000099; /* Slightly lighter dark blue on hover */
}

.page-support__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff; /* White text for question */
  pointer-events: none;
}

.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg); /* Rotate to form an 'X' or '-' */
  color: #ffffff; /* White when active */
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: #0a0a0a; /* Dark background for answer */
  color: #cccccc;
  font-size: 16px;
  line-height: 1.6;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid #000080;
}

.page-support__more-faq {
    text-align: center;
    margin-top: 40px;
    font-size: 18px;
    color: #f0f0f0;
}

.page-support__more-faq a {
    color: #FFD700;
    text-decoration: underline;
    font-weight: bold;
}

.page-support__more-faq a:hover {
    color: #e0b800;
}

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

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

.page-support__guide-card {
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid #000080;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__guide-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-support__guide-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* --- Why Choose Section --- */
.page-support__why-choose-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

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

.page-support__feature-item {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #000080;
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-support__feature-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFD700;
}

.page-support__feature-text {
    font-size: 16px;
    line-height: 1.6;
    color: #cccccc;
}

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 40px;
  }
  .page-support__hero-description {
    font-size: 18px;
  }
  .page-support__section-title {
    font-size: 30px;
  }
  .page-support__section-description {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding-top: 10px; /* Mobile fixed nav bar spacing */
  }
  .page-support__hero-container {
    padding: 60px 15px 30px;
  }
  .page-support__hero-title {
    font-size: 32px;
  }
  .page-support__hero-description {
    font-size: 16px;
  }
  .page-support__hero-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-link {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding-left: 15px; /* Ensure padding inside */
    padding-right: 15px;
  }

  .page-support__contact-methods-section,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__why-choose-section,
  .page-support__responsible-gaming-section {
    padding: 50px 0;
  }

  .page-support__container {
    padding: 0 15px;
  }

  .page-support__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-support__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-support__contact-grid,
  .page-support__guides-grid,
  .page-support__features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-support__contact-card,
  .page-support__guide-card,
  .page-support__feature-item {
    padding: 25px;
  }

  .page-support__card-title,
  .page-support__feature-title {
    font-size: 20px;
  }
  .page-support__card-text,
  .page-support__feature-text {
    font-size: 15px;
  }

  .page-support__faq-list {
    margin-top: 30px;
  }
  .page-support__faq-question {
    padding: 15px 20px;
  }
  .page-support__faq-question h3 {
    font-size: 16px;
  }
  .page-support__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-support__faq-answer {
    padding: 0 20px;
    font-size: 15px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px 20px !important;
  }
  .page-support__more-faq {
      font-size: 16px;
  }
}

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

/* Mobile image and container adaptations */
@media (max-width: 768px) {
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-support__hero-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* All containers that might hold images or buttons */
  .page-support__hero-section,
  .page-support__contact-methods-section,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__why-choose-section,
  .page-support__responsible-gaming-section,
  .page-support__container,
  .page-support__contact-card,
  .page-support__guide-card,
  .page-support__feature-item,
  .page-support__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Removed padding-left/right here to prevent double padding if container already has it */
  }

  /* Specific padding for sections if needed */
  .page-support__contact-methods-section,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__why-choose-section,
  .page-support__responsible-gaming-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}