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

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

.page-contact__hero-section {
  background-color: #f0f0f0;
  padding: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-contact__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  color: #FFFFFF;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

.page-contact__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.page-contact__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

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

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

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

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

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

.page-contact__introduction-section,
.page-contact__methods-section,
.page-contact__faq-section,
.page-contact__commitment-section,
.page-contact__feedback-section,
.page-contact__responsible-gaming-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-contact__introduction-image,
.page-contact__faq-image,
.page-contact__commitment-image,
.page-contact__responsible-gaming-image {
  display: block;
  margin: 40px auto;
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

.page-contact__method-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__method-icon {
  width: 200px; /* Min size 200px */
  height: 200px; /* Min size 200px */
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-contact__card-description {
  font-size: 1em;
  margin-bottom: 25px;
  color: #555555;
  flex-grow: 1;
}

.page-contact__email-link,
.page-contact__text-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-contact__email-link:hover,
.page-contact__text-link:hover {
  text-decoration: underline;
}

.page-contact__faq-section .page-contact__button,
.page-contact__responsible-gaming-section .page-contact__button {
  margin-top: 20px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__hero-description {
    font-size: 1.1em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__section-text {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__button {
    width: 80%;
    max-width: 300px;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-text {
    font-size: 0.95em;
  }
  .page-contact__method-cards {
    grid-template-columns: 1fr;
  }
  /* Mobile content area image safety */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
  .page-contact__introduction-image,
  .page-contact__faq-image,
  .page-contact__commitment-image,
  .page-contact__responsible-gaming-image,
  .page-contact__method-icon {
    width: 100%; /* Ensure images scale down */
    max-width: 400px; /* Example max-width to keep them from being too large on small screens */
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__hero-description {
    font-size: 0.85em;
  }
  .page-contact__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__section-text {
    font-size: 0.9em;
  }
  .page-contact__method-card {
    padding: 20px;
  }
  .page-contact__card-title {
    font-size: 1.5em;
  }
  .page-contact__card-description {
    font-size: 0.9em;
  }
}