.page-support {
  color: #333333; /* Dark text on default light body background */
}

.page-support__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 500px;
  background-color: #000000; /* Main brand color for hero background */
}

.page-support__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly dim the background image */
  z-index: 0;
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF; /* White text on dark hero section */
  max-width: 800px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-support__hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.page-support__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-support__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text on primary button */
  border: 2px solid #FCBC45;
}

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

.page-support__button--secondary {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-support__button--secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-support__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 6px;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-support__button--small:hover {
  background-color: #e6a73c;
}

.page-support__faq-section,
.page-support__guide-section,
.page-support__responsible-gaming-section,
.page-support__contact-section,
.page-support__security-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #FFFFFF; /* Light background for content sections */
  color: #333333;
}

.page-support__faq-section {
  background-color: #f8f8f8;
}

.page-support__faq-container,
.page-support__guide-container,
.page-support__responsible-gaming-container,
.page-support__contact-container,
.page-support__security-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-support__faq-title,
.page-support__guide-title,
.page-support__responsible-gaming-title,
.page-support__contact-title,
.page-support__security-title {
  font-size: 2.8em;
  margin-bottom: 25px;
  color: #000000; /* Dark text for titles */
}

.page-support__faq-intro,
.page-support__guide-intro,
.page-support__contact-intro,
.page-support__security-description {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

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

.page-support__faq-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-support__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 15px;
}

.page-support__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

.page-support__faq-cta {
  margin-top: 60px;
}

.page-support__faq-cta p {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: #000000;
}

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

.page-support__guide-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-support__guide-card-title {
  font-size: 1.4em;
  color: #000000;
  margin: 20px 20px 10px;
  line-height: 1.4;
}

.page-support__guide-card-title a {
  color: #000000;
  text-decoration: none;
}

.page-support__guide-card-title a:hover {
  color: #FCBC45;
}

.page-support__guide-card-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 20px 20px;
  line-height: 1.6;
}

.page-support__guide-card .page-support__button--small {
  margin: 0 20px 20px;
  display: inline-block;
}

.page-support__responsible-gaming-section {
  background-color: #000000; /* Dark background for responsible gaming */
  color: #FFFFFF;
  padding: 100px 20px;
}

.page-support__responsible-gaming-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-support__responsible-gaming-image {
  flex: 1 1 400px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-support__responsible-gaming-content {
  flex: 2 1 500px;
}

.page-support__responsible-gaming-title {
  font-size: 2.8em;
  color: #FFFFFF;
  margin-bottom: 25px;
}

.page-support__responsible-gaming-description {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 40px;
  color: #cccccc;
}

.page-support__responsible-gaming-content .page-support__button--primary {
  background-color: #FCBC45;
  color: #000000;
}

.page-support__contact-section {
  background-color: #f8f8f8;
}

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

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

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

.page-support__contact-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 25px;
}

.page-support__contact-method-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-support__contact-method-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 25px;
}

.page-support__security-section {
  padding-bottom: 100px;
}

.page-support__security-title {
  font-size: 2.8em;
  margin-bottom: 25px;
  color: #000000;
}

.page-support__security-description {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-support__security-links {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.page-support__link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-support__link:hover {
  color: #e6a73c;
  text-decoration: underline;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }

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

  .page-support__faq-title,
  .page-support__guide-title,
  .page-support__responsible-gaming-title,
  .page-support__contact-title,
  .page-support__security-title {
    font-size: 2.4em;
  }

  .page-support__responsible-gaming-container {
    flex-direction: column;
    text-align: center;
  }

  .page-support__responsible-gaming-image {
    max-width: 80%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-support {
    padding-top: var(--header-offset, 120px); /* Ensure mobile content is below fixed header */
  }

  .page-support__hero-section {
    padding: 40px 15px;
    min-height: 400px;
  }

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

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

  .page-support__hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .page-support__button {
    width: 100%;
  }

  .page-support__faq-section,
  .page-support__guide-section,
  .page-support__responsible-gaming-section,
  .page-support__contact-section,
  .page-support__security-section {
    padding: 60px 15px;
  }

  .page-support__faq-title,
  .page-support__guide-title,
  .page-support__responsible-gaming-title,
  .page-support__contact-title,
  .page-support__security-title {
    font-size: 2em;
  }

  .page-support__faq-intro,
  .page-support__guide-intro,
  .page-support__contact-intro,
  .page-support__security-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-support__faq-grid,
  .page-support__guide-grid,
  .page-support__contact-methods {
    grid-template-columns: 1fr;
  }

  .page-support__responsible-gaming-image {
    max-width: 90%;
  }

  .page-support__security-links {
    flex-direction: column;
    gap: 15px;
  }

  /* Critical: Prevent content overflow on mobile */
  .page-support img {
    max-width: 100%;
    height: auto;
  }

  .page-support__hero-image {
    width: 100%; /* Ensure hero image scales */
    height: auto;
  }
}

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

  .page-support__faq-title,
  .page-support__guide-title,
  .page-support__responsible-gaming-title,
  .page-support__contact-title,
  .page-support__security-title {
    font-size: 1.6em;
  }

  .page-support__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-support__faq-item,
  .page-support__guide-card,
  .page-support__contact-card {
    padding: 20px;
  }

  .page-support__faq-question {
    font-size: 1.1em;
  }

  .page-support__guide-card-title {
    font-size: 1.2em;
  }

  .page-support__responsible-gaming-description {
    font-size: 0.9em;
  }
}