/* style/support.css */

/* Custom colors based on provided palette */
:root {
  --page-support-bg: #08160F;
  --page-support-card-bg: #11271B;
  --page-support-text-main: #F2FFF6;
  --page-support-text-secondary: #A7D9B8;
  --page-support-border: #2E7A4E;
  --page-support-glow: #57E38D;
  --page-support-gold: #F2C14E;
  --page-support-divider: #1E3A2A;
  --page-support-deep-green: #0A4B2C;
  --page-support-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-support-primary-color: #11A84E; /* Main color */
  --page-support-secondary-color: #22C768; /* Auxiliary color */
}

.page-support {
  background-color: var(--page-support-bg); /* Body background is from shared.css, this is for main content */
  color: var(--page-support-text-main); /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Base styles for sections and containers */
.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-support__section-title {
  font-size: 2.5rem;
  color: var(--page-support-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-support__sub-section-title {
  font-size: 1.8rem;
  color: var(--page-support-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-support__text-block {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--page-support-text-secondary);
}

.page-support__text-block a {
  color: var(--page-support-primary-color);
  text-decoration: underline;
}

.page-support__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--page-support-text-secondary);
}

.page-support__list-item {
  margin-bottom: 10px;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, relying on body padding for header offset */
  background-color: var(--page-support-deep-green);
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-support__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  box-sizing: border-box;
  z-index: 1;
  position: relative; /* Ensure content is above image but not overlapping */
  margin-top: 20px; /* Space below image */
}

.page-support__hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  color: var(--page-support-gold);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.1rem;
  color: var(--page-support-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-support__btn-primary {
  background: var(--page-support-btn-gradient);
  color: #ffffff; /* White text for dark button */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-support__btn-secondary {
  background: transparent;
  color: var(--page-support-primary-color);
  border: 2px solid var(--page-support-primary-color);
}

.page-support__btn-secondary:hover {
  background: var(--page-support-primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Section specific styles */
.page-support__dark-section {
  background-color: var(--page-support-card-bg); /* Darker background for contrast */
  padding: 60px 0;
}

.page-support__introduction-section {
  padding: 60px 0;
}

.page-support__grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 0;
}

.page-support__grid-container--reverse {
  grid-template-columns: 1fr 1fr; /* Reset for desktop, will reverse in mobile */
}

.page-support__image-block {
  text-align: center;
}

.page-support__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
}

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

.page-support__faq-item {
  background-color: var(--page-support-bg); /* Use page background for FAQ items */
  border: 1px solid var(--page-support-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--page-support-text-main);
  background-color: var(--page-support-card-bg); /* Slightly different background for question */
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: var(--page-support-deep-green);
}

.page-support__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-support-primary-color);
}

.page-support__faq-item[open] .page-support__faq-toggle {
  color: var(--page-support-gold);
}

.page-support__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: var(--page-support-text-secondary);
  line-height: 1.6;
}

.page-support__faq-answer p {
  margin-bottom: 0; /* Remove default paragraph margin */
}

/* Hide default details marker */
.page-support__faq-item summary {
  list-style: none;
}
.page-support__faq-item summary::-webkit-details-marker {
  display: none;
}


/* Contact Section */
.page-support__contact-section {
  padding: 60px 0;
  text-align: center;
}

.page-support__contact-methods {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-support__contact-card {
  background-color: var(--page-support-card-bg);
  border: 1px solid var(--page-support-border);
  border-radius: 10px;
  padding: 30px;
  flex: 1;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-height: 220px; /* Ensure cards have similar height */
  box-sizing: border-box;
}

.page-support__contact-card-title {
  font-size: 1.5rem;
  color: var(--page-support-gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-support__contact-card-description {
  color: var(--page-support-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-support__grid-container {
    grid-template-columns: 1fr;
  }

  .page-support__grid-container--reverse {
    grid-template-columns: 1fr; /* Remove desktop reversal */
  }

  .page-support__grid-container--reverse .page-support__image-block {
    order: -1; /* Place image above content on mobile for reversed grid */
  }

  .page-support__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }

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

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

@media (max-width: 768px) {
  .page-support__container,
  .page-support__hero-content,
  .page-support__hero-cta-buttons,
  .page-support__grid-container,
  .page-support__introduction-section,
  .page-support__getting-started-section,
  .page-support__transactions-section,
  .page-support__game-rules-section,
  .page-support__promotions-section,
  .page-support__responsible-gambling-section,
  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__contact-methods,
  .page-support__contact-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-support__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 40px !important;
  }

  .page-support__hero-image-wrapper {
    max-height: 300px;
  }

  .page-support__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px !important;
  }

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

  .page-support__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

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

  .page-support__contact-methods {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .page-support__contact-card {
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-support__dark-section,
  .page-support__introduction-section,
  .page-support__getting-started-section,
  .page-support__transactions-section,
  .page-support__game-rules-section,
  .page-support__promotions-section,
  .page-support__responsible-gambling-section,
  .page-support__faq-section,
  .page-support__contact-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

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

  .page-support__sub-section-title {
    font-size: 1.2rem;
  }

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

/* Hide default details marker in Firefox */
.page-support__faq-item > summary {
  list-style: none;
}
.page-support__faq-item > summary::marker {
  display: none;
}