.page-support {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-support__hero-section {
  background-color: #CC0000; /* Primary brand color */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

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

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFD700; /* Auxiliary color for emphasis */
}

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

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

.page-support__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
}

.page-support__button--primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #CC0000; /* Primary color */
  border: 2px solid #FFD700;
}

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

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

.page-support__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

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

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: brightness(0.8); /* Slightly darken for text readability */
}

.page-support__section-title {
  font-size: 2.5em;
  color: #CC0000; /* Primary brand color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-support__why-us-section, .page-support__contact-methods-section, .page-support__common-issues-section, .page-support__responsible-gaming-section, .page-support__security-privacy-section, .page-support__get-started-section {
  padding: 60px 0;
}

.page-support__why-us-section {
  background-color: #f9f9f9;
}

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

.page-support__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-support__feature-card:hover {
  transform: translateY(-5px);
}

.page-support__feature-icon {
  width: 100%; /* Ensure images take full width of their container */
  max-width: 250px; /* But don't exceed a reasonable size */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
}

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

.page-support__feature-description {
  font-size: 1em;
  color: #666666;
}

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

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

.page-support__contact-card:hover {
  transform: translateY(-5px);
}

.page-support__contact-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
}

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

.page-support__contact-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 15px;
}

.page-support__contact-info {
  font-size: 1em;
  color: #333333;
  font-weight: bold;
  margin-top: 10px;
}

.page-support__email-link {
  color: #CC0000;
  text-decoration: none;
  font-weight: bold;
}

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

.page-support__button--contact {
  background-color: #FFD700;
  color: #CC0000;
  border: 2px solid #FFD700;
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-support__button--contact:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-support__common-issues-section {
  background-color: #f9f9f9;
}

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

.page-support__issue-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-support__issue-card:hover {
  transform: translateY(-5px);
}

.page-support__issue-title {
  font-size: 1.8em;
  color: #CC0000;
  margin-bottom: 15px;
  text-align: center;
}

.page-support__issue-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-support__issue-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #555555;
  position: relative;
  padding-left: 20px;
}

.page-support__issue-list li::before {
  content: '▶';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-size: 0.8em;
  line-height: 1.6;
}

.page-support__issue-link {
  color: #333333;
  text-decoration: none;
}

.page-support__issue-link:hover {
  color: #CC0000;
  text-decoration: underline;
}

.page-support__button--issue {
  display: block;
  width: fit-content;
  margin: 20px auto 0 auto;
  background-color: #CC0000;
  color: #ffffff;
  border: 2px solid #CC0000;
  padding: 10px 25px;
  font-size: 1em;
}

.page-support__button--issue:hover {
  background-color: #a30000;
  border-color: #a30000;
}

.page-support__responsible-gaming-section, .page-support__security-privacy-section {
  background-color: #ffffff;
}

.page-support__responsible-gaming-content, .page-support__security-privacy-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-support__responsible-gaming-image, .page-support__security-privacy-image {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-support__responsible-gaming-text, .page-support__security-privacy-text {
  flex: 2;
  min-width: 300px;
}

.page-support__responsible-gaming-text p, .page-support__security-privacy-text p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #444444;
}

.page-support__responsible-gaming-list, .page-support__security-privacy-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-support__responsible-gaming-list li, .page-support__security-privacy-list li {
  margin-bottom: 8px;
  font-size: 1em;
  color: #555555;
  position: relative;
  padding-left: 25px;
}

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

.page-support__button--rg, .page-support__button--sp {
  display: inline-block;
  margin-top: 20px;
  background-color: #CC0000;
  color: #ffffff;
  border: 2px solid #CC0000;
  padding: 12px 25px;
  font-size: 1em;
}

.page-support__button--rg:hover, .page-support__button--sp:hover {
  background-color: #a30000;
  border-color: #a30000;
}

.page-support__button--sp + .page-support__button--sp {
  margin-left: 15px;
}

.page-support__get-started-section {
  background-color: #FFD700; /* Auxiliary color */
  padding: 80px 20px;
  text-align: center;
}

.page-support__get-started-section .page-support__section-title {
  color: #CC0000;
}

.page-support__get-started-section .page-support__section-intro {
  color: #333333;
  margin-bottom: 40px;
}

.page-support__button--large {
  background-color: #CC0000;
  color: #ffffff;
  border: 2px solid #CC0000;
  padding: 18px 40px;
  font-size: 1.3em;
  margin: 10px;
}

.page-support__button--large:hover {
  background-color: #a30000;
  border-color: #a30000;
}

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

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

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 60px 15px;
  }

  .page-support__hero-title {
    font-size: 2.2em;
  }

  .page-support__hero-description {
    font-size: 1.1em;
  }

  .page-support__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

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

  .page-support__section-intro {
    font-size: 1em;
  }

  .page-support__features-grid, .page-support__contact-grid, .page-support__issues-grid {
    grid-template-columns: 1fr;
  }

  .page-support__responsible-gaming-content, .page-support__security-privacy-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-support__responsible-gaming-image, .page-support__security-privacy-image {
    order: -1; /* Image on top for mobile */
    max-width: 100%;
  }

  .page-support__button--sp + .page-support__button--sp {
    margin-left: 0;
    margin-top: 15px;
  }

  .page-support__button--large {
    width: 100%;
    max-width: 320px;
    margin: 10px auto;
  }

  .page-support__container img {
    max-width: 100%; /* Ensure images do not overflow on mobile */
    height: auto;
  }

  /* Critical: Ensure all images within .page-support are responsive and don't cause overflow */
  .page-support img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }

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

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