.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Inherited from shared.css, explicitly set for context */
}

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

.page-support__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  background-color: #26A9E0; /* Brand main color */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-support__hero-content {
  max-width: 800px;
  z-index: 1;
  position: relative; /* Ensure content is above image */
}

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

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

.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; /* Subtle background image */
}

.page-support__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
}

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

.page-support__contact-methods {
  padding: 80px 0;
  background-color: #1a1a2e;
}

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

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

.page-support__method-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-support__method-icon {
  width: 200px; /* Min size 200x200 */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

.page-support__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-support__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #26A9E0;
  padding: 12px 25px;
  border: 2px solid #26A9E0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.page-support__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-support__faq-section {
  padding: 80px 0;
  background-color: #2a2a3e; /* Slightly lighter dark background */
  color: #ffffff;
}

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

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__faq-item.active .page-support__faq-question {
  border-bottom: none;
}

.page-support__faq-title {
  font-size: 1.3em;
  margin: 0;
  color: #ffffff;
}

.page-support__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  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-out, padding 0.3s ease-out;
}

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

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

.page-support__guides-section {
  padding: 80px 0;
  background-color: #1a1a2e;
}

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

.page-support__guide-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff;
}

.page-support__guide-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-support__guide-card .page-support__guide-title {
  padding: 20px 20px 10px 20px;
  font-size: 1.5em;
  color: #26A9E0;
}

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

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

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

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

.page-support__responsible-gambling {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-support__responsible-gambling-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-support__responsible-gambling-content .page-support__section-title {
  text-align: left;
  color: #ffffff;
}

.page-support__responsible-gambling-content .page-support__section-description {
  text-align: left;
  margin: 0 0 30px 0;
  color: #f0f0f0;
}

.page-support__responsible-gambling-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-support__responsible-gambling-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-support__security-privacy {
  padding: 80px 0;
  background-color: #1a1a2e;
  color: #ffffff;
  text-align: center;
}

.page-support__security-privacy .page-support__section-title {
  color: #ffffff;
}

.page-support__security-privacy .page-support__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__responsible-gambling {
    flex-direction: column;
    text-align: center;
  }
  .page-support__responsible-gambling-content {
    text-align: center;
  }
  .page-support__responsible-gambling-content .page-support__section-title,
  .page-support__responsible-gambling-content .page-support__section-description {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-support__hero-title {
    font-size: 2.2em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-support__contact-methods, .page-support__faq-section, .page-support__guides-section, .page-support__responsible-gambling, .page-support__security-privacy {
    padding: 60px 0;
  }
  .page-support__container {
    padding: 0 15px;
  }
  .page-support__methods-grid, .page-support__guides-grid {
    grid-template-columns: 1fr;
  }
  .page-support__method-icon {
    width: 200px;
    height: auto;
  }
  .page-support__faq-question {
    padding: 15px 20px;
  }
  .page-support__faq-title {
    font-size: 1.1em;
  }
  .page-support__faq-answer {
    padding: 0 20px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px 20px 20px 20px;
  }
  .page-support__faq-image {
    margin-top: 30px;
  }
  .page-support__guide-card .page-support__guide-title {
    font-size: 1.3em;
  }
  .page-support__guide-image {
    height: 200px;
  }

  /* Responsive images, videos, buttons */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper,
  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }
  .page-support__cta-button,
  .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; */ /* Removed to avoid double padding if container also has it */
    /* padding-right: 15px; */ /* Removed to avoid double padding if container also has it */
  }
  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}