/* style/support.css */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-color: #1A202C;
  overflow: hidden;
}

.page-support__hero-section .page-support__container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-support__hero-content {
  flex: 1;
  min-width: 300px;
}

.page-support__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-support__hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-support__btn-primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

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

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

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

.page-support__hero-image-wrapper {
  flex: 1;
  min-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-support__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-support__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 25px;
  padding-top: 60px;
}

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

.page-support__dark-section {
  background-color: #1A202C;
  color: #ffffff;
  padding: 80px 0;
}

.page-support__features-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

.page-support__feature-card {
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-support__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-support__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
}

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

.page-support__feature-description {
  color: #cccccc;
  font-size: 1em;
}

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

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

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  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;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-support__faq-q-text {
  font-size: 1.2em;
  color: #FFD700;
  margin: 0;
  flex-grow: 1;
}

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

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(0deg);
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  color: #cccccc;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

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

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

.page-support__contact-card {
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-support__contact-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 25px;
  max-width: 100%;
  height: auto;
}

.page-support__contact-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-support__contact-description {
  color: #cccccc;
  font-size: 1.05em;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

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

.page-support__guide-card {
  padding: 30px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

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

.page-support__guide-description {
  color: #cccccc;
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-support__responsible-gaming .page-support__btn-primary {
  margin-top: 30px;
}

/* Download App Section */
.page-support__download-app {
  padding: 80px 0;
  background-color: #1A202C;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-support__download-app .page-support__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-support__download-image {
  margin-top: 40px;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* CTA Section */
.page-support__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 3em;
  }
  .page-support__section-title {
    font-size: 2.5em;
  }
}

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

  .page-support__hero-section .page-support__container {
    flex-direction: column;
    text-align: center;
  }

  .page-support__hero-content,
  .page-support__hero-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-support__hero-title {
    font-size: 2.5em;
  }

  .page-support__hero-description {
    font-size: 1em;
  }

  .page-support__hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 300px !important; /* Constrain max width for buttons */
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__section-title {
    font-size: 2em;
    padding-top: 40px;
  }

  .page-support__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

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

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

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

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

  .page-support__contact-icon {
    width: 90px;
    height: 90px;
  }

  .page-support__contact-title {
    font-size: 1.7em;
  }

  .page-support__download-image {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  /* Mobile responsive for all images */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-section,
  .page-support__features-section,
  .page-support__faq-section,
  .page-support__contact-methods,
  .page-support__guides-section,
  .page-support__responsible-gaming,
  .page-support__download-app,
  .page-support__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Specific padding for hero section on mobile */
  .page-support__hero-section {
    padding-top: var(--header-offset, 120px) !important; 
  }

  /* Ensure buttons in groups wrap */
  .page-support__hero-buttons,
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-support__cta-buttons a {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}

/* General image rules for content area (min 200px) */
.page-support img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Ensure no small icons are generated by overriding possible defaults */
.page-support__feature-icon, .page-support__contact-icon {
  min-width: 100px; /* Example, ensure it's > 200px if it's a main image, but here they are icons so 100px is fine for this context */
  min-height: 100px;
}

/* Set general text color for the page based on body background */
.page-support p, .page-support li, .page-support__hero-description, .page-support__section-intro, .page-support__feature-description, .page-support__faq-answer, .page-support__contact-description, .page-support__guide-description {
    color: #f0f0f0; /* Light text for dark body background */
}

/* Ensure headings maintain brand color */
.page-support__hero-title, .page-support__section-title, .page-support__feature-title, .page-support__faq-q-text, .page-support__contact-title, .page-support__guide-title {
    color: #FFD700;
}

/* Override specific element background/text colors for contrast */
.page-support__feature-card, .page-support__faq-item, .page-support__contact-card, .page-support__guide-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for cards on dark background */
    color: #ffffff;
}

.page-support__faq-question {
    background-color: rgba(255, 255, 255, 0.15);
}
.page-support__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.25);
}