/* style/support.css */

/* Base styles for the page-support scope */
.page-support {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Custom main text color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-support__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #F2C14E; /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__section-description {
  font-size: 18px;
  color: #A7D9B8; /* Secondary text color */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #08160F;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-support__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
}

.page-support__main-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: #F2FFF6; /* Main text color for H1 */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 18px;
  color: #A7D9B8;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

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

.page-support__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
  color: #F2FFF6; /* Main text color */
  border: 2px solid transparent;
}

.page-support__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-support__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Green from gradient start */
  border: 2px solid #2AD16F;
}

.page-support__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
  transform: translateY(-3px);
}

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

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

.page-support__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-support__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 20px;
  font-weight: 600;
  color: #F2FFF6; /* Main text color */
  cursor: pointer;
  list-style: none;
  outline: none;
  transition: background-color 0.3s ease;
}

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

.page-support__faq-item summary:hover {
  background-color: rgba(42, 209, 111, 0.1);
}

.page-support__faq-qtext {
  flex-grow: 1;
}

.page-support__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow color */
}

.page-support__faq-item[open] .page-support__faq-toggle {
  content: '−';
}

.page-support__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: #A7D9B8; /* Secondary text color */
  line-height: 1.7;
}

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

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

.page-support__contact-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  border: 1px solid #2E7A4E;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-support__contact-icon {
  width: 200px; /* Min size requirement */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-support__card-title {
  font-size: 22px;
  font-weight: 600;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-support__card-text {
  font-size: 16px;
  color: #A7D9B8;
  margin-bottom: 25px;
}

/* Game Guides Section */
.page-support__game-guides-section {
  padding: 80px 0;
  background-color: #0A4B2C;
}

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

.page-support__guide-card {
  background-color: #11271B;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2E7A4E;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-support__guide-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-support__guide-card .page-support__card-title {
  font-size: 20px;
  padding: 15px 20px 0;
  text-align: left;
}

.page-support__guide-card .page-support__card-title a {
  color: #F2FFF6;
  text-decoration: none;
}

.page-support__guide-card .page-support__card-title a:hover {
  color: #57E38D;
}

.page-support__guide-card .page-support__card-text {
  font-size: 15px;
  padding: 0 20px 15px;
  text-align: left;
}

.page-support__guide-card .page-support__btn-secondary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  text-align: center;
}

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

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
  padding: 80px 0;
  background-color: #08160F;
}

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

.page-support__info-card {
  background-color: #11271B;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  border: 1px solid #2E7A4E;
}

.page-support__info-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

/* News and Blog Section */
.page-support__news-blog-section {
  padding: 80px 0;
  background-color: #0A4B2C;
}

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

.page-support__news-card,
.page-support__blog-card {
  background-color: #11271B;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2E7A4E;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__news-card:hover,
.page-support__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-support__news-image,
.page-support__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-support__news-card .page-support__card-title,
.page-support__blog-card .page-support__card-title {
  font-size: 20px;
  padding: 15px 20px 0;
  text-align: left;
}

.page-support__news-card .page-support__card-title a,
.page-support__blog-card .page-support__card-title a {
  color: #F2FFF6;
  text-decoration: none;
}

.page-support__news-card .page-support__card-title a:hover,
.page-support__blog-card .page-support__card-title a:hover {
  color: #57E38D;
}

.page-support__news-card .page-support__card-text,
.page-support__blog-card .page-support__card-text {
  font-size: 15px;
  padding: 0 20px 10px;
  text-align: left;
}

.page-support__news-date,
.page-support__blog-date {
  display: block;
  font-size: 14px;
  color: #A7D9B8;
  padding: 0 20px 20px;
  text-align: left;
}

.page-support__view-all-links {
  text-align: center;
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Final CTA Section */
.page-support__final-cta-section {
  padding: 80px 0;
  background-color: #08160F;
  text-align: center;
}

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

  .page-support__section-title {
    font-size: 32px;
  }

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

  .page-support__main-title {
    font-size: 38px;
  }

  .page-support__hero-description {
    font-size: 16px;
  }

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

  .page-support__btn-primary,
  .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: 12px 20px;
    font-size: 16px;
  }

  .page-support__faq-item summary {
    font-size: 18px;
    padding: 15px 20px;
  }

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

  .page-support__contact-methods,
  .page-support__guides-grid,
  .page-support__info-cards,
  .page-support__news-blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__contact-icon,
  .page-support__info-icon {
    width: 150px;
  }

  .page-support__card-title {
    font-size: 20px;
  }

  .page-support__guide-image,
  .page-support__news-image,
  .page-support__blog-image {
    height: 180px;
  }

  /* Mobile image responsiveness */
  .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__faq-section,
  .page-support__contact-section,
  .page-support__game-guides-section,
  .page-support__responsible-gaming-section,
  .page-support__news-blog-section,
  .page-support__final-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-support__hero-section {
    padding-top: 10px !important;
  }
  .page-support__hero-image-wrapper {
    max-height: 300px;
  }

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

  .page-support__faq-list,
  .page-support__contact-methods,
  .page-support__guides-grid,
  .page-support__info-cards,
  .page-support__news-blog-grid {
    padding-left: 0;
    padding-right: 0;
  }

  .page-support__guide-card .page-support__btn-secondary {
    width: calc(100% - 40px) !important;
  }
}