/* style/support.css */
.page-support {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff; /* Light text for dark body background */
  line-height: 1.7;
  background-color: transparent; /* Body background from shared.css */
  font-size: 17px;
}

.page-support__hero-section {
  position: relative;
  padding: 100px 20px;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  background-color: #0A1931;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-support__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
  z-index: 1;
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 25px;
  color: #E0B400;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

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

.page-support__button {
  display: inline-block;
  background-color: #E0B400;
  color: #0A1931;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 1.1em;
  border: none;
  cursor: pointer;
}

.page-support__button:hover {
  background-color: #f0c800;
  transform: translateY(-3px);
}

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

.page-support__button--secondary:hover {
  background-color: #E0B400;
  color: #0A1931;
  transform: translateY(-3px);
}

.page-support__button--mt {
  margin-top: 30px;
}

.page-support__section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-support__section--dark {
  background-color: #0A1931;
  color: #ffffff;
}

.page-support__section-title {
  font-size: 2.8em;
  margin-bottom: 30px;
  color: #E0B400;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.page-support__section-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

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

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

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

.page-support__faq-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
}

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.page-support__faq-toggle {
  font-size: 1.8em;
  font-weight: normal;
  transition: transform 0.3s ease;
  color: #E0B400;
}

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

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  text-align: justify;
  font-size: 1em;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important;
  padding: 15px 30px 20px;
}

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

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

.page-support__contact-card:hover {
  transform: translateY(-7px);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-support__contact-icon {
  width: 90px;
  height: 90px;
  margin-bottom: 25px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

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

.page-support__contact-text {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-support__contact-link {
  display: inline-block;
  background-color: #E0B400;
  color: #0A1931;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 1em;
}

.page-support__contact-link:hover {
  background-color: #f0c800;
}

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

.page-support__resource-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-support__resource-card:hover {
  transform: translateY(-7px);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.page-support__resource-title {
  font-size: 1.4em;
  color: #E0B400;
  margin-bottom: 15px;
  flex-grow: 1;
  line-height: 1.3;
}

.page-support__resource-card p {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-support__resource-link {
  display: inline-block;
  color: #E0B400;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  font-size: 1em;
}

.page-support__resource-link:hover {
  color: #f0c800;
  text-decoration: underline;
}

.page-support__responsible-gaming-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-support__responsible-gaming-text {
  font-size: 1.1em;
  margin-bottom: 35px;
  color: #f0f0f0;
  text-align: justify;
}

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

.page-support__cta-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 50px auto 0;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  object-fit: cover;
}

/* General image and video responsive rules */
.page-support img,
.page-support video {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-support__contact-card img, 
.page-support__resource-card img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    margin-bottom: 15px;
}

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

  .page-support__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
    min-height: 400px;
  }

  .page-support__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-support__hero-description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }

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

  .page-support__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

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

  .page-support__video-wrapper {
    margin: 20px auto;
    border-radius: 8px;
  }

  .page-support__promotional-video {
    border-radius: 8px;
  }

  .page-support__faq-question {
    font-size: 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__button,
  .page-support__contact-link {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-support__contact-grid,
  .page-support__resources-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-support__section,
  .page-support__contact-card,
  .page-support__resource-card,
  .page-support__faq-item,
  .page-support__hero-section,
  .page-support__video-wrapper {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

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

  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-support__cta-image {
    margin-top: 30px;
    border-radius: 8px;
  }

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