.page-contact {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-contact__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px; /* Minimum height for hero section */
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.5); /* Darken image for better text readability */
}

.page-contact__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  z-index: 2;
  text-align: center;
}

.page-contact__hero-content {
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-contact__hero-description {
  font-size: 1.3rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.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;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__button--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
}

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

.page-contact__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

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

.page-contact__section-title {
  font-size: 2.8rem;
  color: #000000;
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.page-contact__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-contact__section-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

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

.page-contact__support-channels, .page-contact__form-section, .page-contact__why-us, .page-contact__faq-section, .page-contact__cta-section {
  padding: 80px 0;
}

.page-contact__support-channels {
  background-color: #f9f9f9;
}

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

.page-contact__channel-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.page-contact__channel-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

.page-contact__card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__button--livechat, .page-contact__button--email, .page-contact__button--phone, .page-contact__button--faq {
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 6px;
  width: fit-content;
  margin: 0 auto;
}

.page-contact__button--livechat:hover, .page-contact__button--email:hover, .page-contact__button--phone:hover, .page-contact__button--faq:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-contact__form-section {
  background-color: #FFFFFF;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-contact__form-group {
  margin-bottom: 25px;
}

.page-contact__form-label {
  display: block;
  font-size: 1.1rem;
  color: #000000;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-contact__form-input, .page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 1rem;
  color: #333333;
  background-color: #FFFFFF;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input:focus, .page-contact__form-textarea:focus {
  border-color: #FCBC45;
  box-shadow: 0 0 0 3px rgba(252, 188, 69, 0.2);
  outline: none;
}

.page-contact__form-textarea {
  resize: vertical;
}

.page-contact__button--submit {
  background-color: #FCBC45;
  color: #000000;
  width: 100%;
  padding: 15px;
  font-size: 1.2rem;
  border-radius: 8px;
}

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

.page-contact__why-us {
  background-color: #f2f2f2;
}

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

.page-contact__feature-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  text-align: center;
}

.page-contact__feature-card .page-contact__card-title {
  font-size: 1.5rem;
}

.page-contact__feature-card .page-contact__card-description {
  font-size: 0.95rem;
  color: #777777;
}

.page-contact__faq-section {
  background-color: #FFFFFF;
}

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

.page-contact__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
  font-size: 1.3rem;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-contact__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #FCBC45;
  transition: transform 0.3s ease;
}

.page-contact__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-contact__faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: #666666;
  display: none;
  padding-top: 10px;
}

.page-contact__faq-answer.active {
  display: block;
}

.page-contact__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 100px 0;
}

.page-contact__cta-section .page-contact__section-title {
  color: #FFFFFF;
}

.page-contact__cta-section .page-contact__section-intro {
  color: #e0e0e0;
  margin-bottom: 40px;
}

.page-contact__button--playnow {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.3rem;
  border-radius: 10px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 3rem;
  }
  .page-contact__hero-description {
    font-size: 1.2rem;
  }
  .page-contact__section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    min-height: 400px;
  }
  .page-contact__hero-title {
    font-size: 2.5rem;
  }
  .page-contact__hero-description {
    font-size: 1.1rem;
  }
  .page-contact__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-contact__section-title {
    font-size: 2rem;
  }
  .page-contact__section-intro {
    font-size: 1rem;
  }
  .page-contact__channels-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__contact-form {
    padding: 25px;
  }
  .page-contact__form-input, .page-contact__form-textarea {
    width: calc(100% - 24px); /* Adjust for padding and border */
  }
  .page-contact__faq-question {
    font-size: 1.1rem;
  }
  .page-contact__faq-answer {
    font-size: 0.95rem;
  }
  .page-contact__button--playnow {
    font-size: 1.1rem;
    padding: 15px 30px;
  }
  .page-contact__container {
    padding: 20px 15px;
  }
  .page-contact__support-channels, .page-contact__form-section, .page-contact__why-us, .page-contact__faq-section, .page-contact__cta-section {
    padding: 60px 0;
  }
  /* Content area images must not cause horizontal scroll */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
  .page-contact__channel-card img, .page-contact__feature-card img, .page-contact__faq-item img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 2rem;
  }
  .page-contact__hero-description {
    font-size: 1rem;
  }
  .page-contact__button {
    width: 95%;
  }
  .page-contact__section-title {
    font-size: 1.8rem;
  }
  .page-contact__form-input, .page-contact__form-textarea {
    width: calc(100% - 20px);
  }
}