/* style/support.css */

/* Base styles for the support page */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text on dark background from shared.css body */
  background-color: transparent; /* Body handles the actual background */
}

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

.page-support__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  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;
  min-height: 500px;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
  text-align: center;
}

.page-support__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #ffffff;
  padding: 20px;
}

.page-support__main-title {
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

.page-support__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.page-support__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-support__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

.page-support__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-support__btn-tertiary {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-support__btn-tertiary:hover {
  background-color: #c96706;
  border-color: #c96706;
}

.page-support__btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-support__btn-text-link {
  background: none;
  border: none;
  color: #26A9E0;
  text-decoration: underline;
  padding: 5px 0;
  display: inline-block;
}

.page-support__btn-text-link:hover {
  color: #1a7fb8;
}

/* Overview Section */
.page-support__overview-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Dark background for this section */
  color: #ffffff;
}

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

.page-support__channel-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  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__channel-icon {
  width: 150px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-support__channel-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-support__channel-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-support__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__faq-item summary {
  list-style: none; /* Remove default marker */
}

.page-support__faq-item summary::-webkit-details-marker {
  display: none; /* Hide for Webkit browsers */
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-support__faq-item[open] .page-support__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-support__faq-answer p {
  margin-bottom: 15px;
}

.page-support__faq-cta {
  text-align: center;
  margin-top: 40px;
}

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

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

.page-support__guide-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.page-support__guide-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__guide-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin: 20px 15px 10px;
  flex-grow: 1;
}

.page-support__guide-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-support__guide-title a:hover {
  text-decoration: underline;
}

.page-support__guide-text {
  font-size: 0.95em;
  color: #f0f0f0;
  padding: 0 15px 20px;
}

/* Security Section */
.page-support__security-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-support__security-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 40px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-support__security-points,
.page-support__responsible-gaming-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-support__point-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__point-item h3 {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-support__point-item p {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-support__security-cta,
.page-support__responsible-gaming-cta {
  text-align: center;
  margin-top: 50px;
}

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

.page-support__responsible-gaming-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 40px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.page-support__cta-buttons--centered {
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__hero-content {
    padding: 15px;
  }

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

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

@media (max-width: 768px) {
  .page-support__main-title {
    font-size: clamp(1.8em, 6vw, 2.8em) !important;
  }

  .page-support__description,
  .page-support__section-description {
    font-size: 1em;
  }

  .page-support__hero-section,
  .page-support__overview-section,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__security-section,
  .page-support__responsible-gaming-section,
  .page-support__final-cta {
    padding: 40px 0 !important;
  }
  
  .page-support__hero-section {
    padding-top: 10px !important; /* Small top padding for hero */
  }

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

  /* Mobile responsive images */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile responsive containers for images/videos/buttons */
  .page-support__hero-section,
  .page-support__overview-section,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__security-section,
  .page-support__responsible-gaming-section,
  .page-support__final-cta,
  .page-support__channel-card,
  .page-support__guide-card,
  .page-support__point-item,
  .page-support__cta-buttons,
  .page-support__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Specific overrides for flex/grid items to ensure full width */
  .page-support__channels-grid,
  .page-support__guides-grid,
  .page-support__security-points,
  .page-support__responsible-gaming-points {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Mobile responsive buttons */
  .page-support__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }

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

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

  .page-support__faq-answer {
    padding: 15px;
  }
  
  .page-support__channel-icon {
    width: 100px;
    height: 70px;
  }
  
  .page-support__guide-image {
    height: 150px;
  }
}