/* style/support.css */

/* Base styles for the support page */
.page-support {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-support__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-support__heading {
  font-size: 2.8em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__description,
.page-support__text {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bb5 100%); /* Brand color gradient */
}

.page-support__hero-section .page-support__container {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

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

.page-support__cta-group--center {
  margin-top: 40px;
}

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

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

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

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

.page-support__btn-secondary:hover {
  background: #e0e0e0;
  color: #1a7bb5;
  border-color: #1a7bb5;
}

.page-support__btn-contact {
  background: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
  padding: 10px 20px;
  font-size: 1em;
}

.page-support__btn-contact:hover {
  background: #d46b06;
  border-color: #d46b06;
}

.page-support__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Contact Methods Section */
.page-support__contact-methods {
  background: #1a1a1a;
}

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

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

.page-support__method-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 8px;
}

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

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

/* FAQ Section */
.page-support__faq-section {
  background: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-support__faq-section .page-support__heading {
  color: #000000;
}

.page-support__faq-section .page-support__text {
  color: #555555;
}

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

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background: #e9e9e9;
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.3s ease;
}

.page-support__faq-question:hover {
  background: #e0e0e0;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

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

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

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px;
}

/* Video Section */
.page-support__video-section {
  background: #121212;
  padding: 80px 20px;
}

.page-support__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  margin: 40px auto 0;
  max-width: 960px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-support__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-support__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.page-support__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  transition: background 0.3s ease;
  z-index: 1;
}

.page-support__video-link:hover .page-support__video-overlay {
  background: rgba(0, 0, 0, 0);
}

/* Guides Section */
.page-support__guides-section {
  background: #202020;
}

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

.page-support__guide-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.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;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-support__guide-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-support__guide-description {
  font-size: 0.95em;
  color: #cccccc;
  flex-grow: 1;
}

/* Responsible Gambling Section */
.page-support__responsible-gambling {
  background: #f0f0f0;
  color: #333333; /* Dark text for light background */
}

.page-support__responsible-gambling .page-support__heading {
  color: #000000;
}

.page-support__responsible-gambling .page-support__text {
  color: #555555;
}

/* Why Choose Us Section */
.page-support__why-choose-us {
  background: #121212;
}

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

.page-support__feature-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
}

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

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

/* Final CTA Section */
.page-support__final-cta {
  background: linear-gradient(135deg, #26A9E0 0%, #0d5d88 100%);
  padding: 80px 20px;
  color: #ffffff;
}

.page-support__final-cta .page-support__heading {
  color: #ffffff;
}

.page-support__final-cta .page-support__text {
  color: #f0f0f0;
}

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

  .page-support__heading {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    min-height: 500px;
  }

  .page-support__title {
    font-size: 2.5em;
  }

  .page-support__heading {
    font-size: 1.8em;
  }

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

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

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-contact {
    width: 100%;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-support__btn-primary--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  .page-support__methods-grid,
  .page-support__guides-grid,
  .page-support__features-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .page-support__section {
    padding: 40px 15px;
  }

  /* Mobile specific image, video, container rules */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__video-wrapper,
  .page-support__guide-card,
  .page-support__method-card,
  .page-support__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-support__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Re-apply header offset for video section on mobile */
  }

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