.page-contact {
  color: #333333; /* Default text color 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-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #1A202C; /* Dark background for contrast with gold */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

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

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-contact__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  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: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

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

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

.page-contact__button--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-2px);
}

.page-contact__button--card {
  margin-top: 20px;
  width: fit-content;
  padding: 10px 20px;
  font-size: 1em;
}

/* Section Styling */
.page-contact__section-title {
  font-size: 2.5em;
  color: #1A202C;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

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

/* Contact Methods Section */
.page-contact__methods-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

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

.page-contact__method-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-contact__method-description {
  font-size: 1em;
  color: #666;
  flex-grow: 1;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-contact__faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-contact__faq-item {
  background-color: #f0f0f0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
  font-size: 1.4em;
  color: #1A202C;
  margin-bottom: 10px;
}

.page-contact__faq-answer {
  font-size: 1em;
  color: #555;
}

.page-contact__faq-cta {
  text-align: center;
  margin-top: 40px;
}

/* Responsible Gaming Section */
.page-contact__responsible-gaming-section {
  padding: 60px 0;
  background-color: #1A202C;
  color: #ffffff;
}

.page-contact__responsible-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-contact__responsible-image {
  width: 400px;
  height: auto;
  border-radius: 10px;
  flex-shrink: 0;
}

.page-contact__responsible-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-contact__responsible-links {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.page-contact__link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.3s ease;
}

.page-contact__link:hover {
  border-bottom: 2px solid #FFD700;
}

/* Why Choose Section */
.page-contact__why-choose-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-contact__advantage-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
}

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

.page-contact__advantage-description {
  font-size: 0.95em;
  color: #666;
}

.page-contact__why-choose-cta {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

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

  .page-contact__responsible-content {
    flex-direction: column;
    text-align: center;
  }

  .page-contact__responsible-image {
    width: 100%;
    max-width: 600px;
  }
}

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

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

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

  .page-contact__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__button {
    width: 80%;
    margin: 0 auto;
  }

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

  .page-contact__section-intro {
    font-size: 0.95em;
  }

  .page-contact__method-grid,
  .page-contact__advantage-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__method-icon {
    width: 150px;
  }

  .page-contact__responsible-image {
    width: 100%;
    height: auto;
    max-width: 100%; /* Ensure content area images do not overflow */
  }

  .page-contact__link {
    width: 100%;
    text-align: center;
  }

  .page-contact__why-choose-cta {
    flex-direction: column;
    gap: 15px;
  }

  /* Enforce max-width: 100%; height: auto; for all images within .page-contact */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-contact__hero-image {
    width: 100% !important;
    height: auto !important;
  }
  .page-contact__method-icon {
    width: 200px !important;
    height: auto !important;
  }
  .page-contact__responsible-image {
    width: 100% !important;
    height: auto !important;
  }
}

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

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

  .page-contact__button {
    width: 90%;
  }

  .page-contact__method-card,
  .page-contact__faq-item,
  .page-contact__advantage-item {
    padding: 20px;
  }

  .page-contact__faq-question {
    font-size: 1.2em;
  }
}