.page-support {
  color: #ffffff; /* Dark body background, so light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.8) 0%, rgba(255, 215, 0, 0.2) 100%), url('[GALLERY:bg_pattern:1920x1080:abstract_pattern,dark_gold,red_gradient]') center/cover no-repeat;
  min-height: 600px;
}

.page-support__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-support__main-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-support__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-support__btn-primary {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000; /* Dark text for gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FFD700;
}

.page-support__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-support__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Contact Methods Section */
.page-support__contact-methods-section {
  padding: 60px 20px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.page-support__contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-support__contact-card {
  background-color: rgba(139, 0, 0, 0.7); /* Dark red background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

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

.page-support__contact-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-support__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

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

.page-support__btn-secondary {
  display: inline-block;
  background-color: #8B0000;
  color: #FFD700; /* Gold text for dark red button */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FFD700;
}

.page-support__btn-secondary:hover {
  background-color: #6a0000;
  transform: translateY(-2px);
}

.page-support__text-link {
  color: #FFD700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-support__text-link:hover {
  color: #e6c200;
}

/* Video Section */
.page-support__video-section {
  padding: 60px 20px;
  background-color: rgba(0, 0, 0, 0.8);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

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

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

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

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.page-support__faq-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  gap: 30px;
}

.page-support__faq-image {
  flex: 1;
  min-width: 300px;
  max-width: 40%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-support__faq-list {
  flex: 2;
  min-width: 400px;
}

.page-support__faq-item {
  background-color: rgba(139, 0, 0, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: rgba(139, 0, 0, 0.85);
  color: #FFD700;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #8B0000;
}

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

.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: #f0f0f0;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
  padding: 60px 20px;
  background-color: rgba(0, 0, 0, 0.8);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.page-support__responsible-gaming-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.page-support__responsible-gaming-image {
  flex: 1;
  min-width: 300px;
  max-width: 45%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-support__responsible-gaming-list {
  flex: 1;
  min-width: 300px;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: rgba(255, 215, 0, 0.1);
  border-radius: 8px;
  padding: 30px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-support__responsible-gaming-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
  position: relative;
  padding-left: 25px;
}

.page-support__responsible-gaming-list li::before {
  content: '✓';
  color: #FFD700;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Resources Section */
.page-support__resources-section {
  padding: 60px 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  padding-bottom: 80px; /* Add extra padding for footer */
}

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

.page-support__resource-card {
  background-color: rgba(139, 0, 0, 0.7);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-support__resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-support__resource-icon {
  width: 150px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

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

.page-support__resource-card .page-support__card-title a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: 3em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__hero-description,
  .page-support__section-description {
    font-size: 1em;
  }
  .page-support__faq-image,
  .page-support__responsible-gaming-image {
    max-width: 100%;
    margin-bottom: 30px;
  }
  .page-support__faq-container,
  .page-support__responsible-gaming-content {
    flex-direction: column;
    align-items: center;
  }
  .page-support__faq-list {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
  }
  .page-support__main-title {
    font-size: 2.5em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__hero-description,
  .page-support__section-description,
  .page-support__card-text,
  .page-support__responsible-gaming-list li,
  .page-support__faq-answer p {
    font-size: 0.95em;
  }
  .page-support__contact-grid,
  .page-support__resources-grid {
    grid-template-columns: 1fr;
  }
  .page-support__contact-card,
  .page-support__resource-card {
    padding: 20px;
  }
  .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;
  }

  /* Mobile image responsiveness */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__hero-image-wrapper,
  .page-support__contact-methods-section,
  .page-support__video-section,
  .page-support__faq-section,
  .page-support__responsible-gaming-section,
  .page-support__resources-section,
  .page-support__contact-grid,
  .page-support__contact-card,
  .page-support__video-wrapper,
  .page-support__video-link,
  .page-support__faq-container,
  .page-support__faq-list,
  .page-support__faq-item,
  .page-support__responsible-gaming-content,
  .page-support__responsible-gaming-image,
  .page-support__responsible-gaming-list,
  .page-support__resources-grid,
  .page-support__resource-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }
  .page-support__contact-card, .page-support__resource-card {
    margin-left: 10px;
    margin-right: 10px;
  }
  
  /* Mobile video responsiveness */
  .page-support video, .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile button responsiveness */
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support a[class*="button"],
  .page-support a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__contact-grid, .page-support__resources-grid {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__video-wrapper {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
  }
}