/* CSS Reset & Base Styles (scoped to .page-contact) */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  padding-bottom: 40px; /* Ensure space above footer */
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #FF8C1A; /* Primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__submit-button,
.page-contact a[class*="button"],
.page-contact a[class*="btn"] {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary,
.page-contact__submit-button {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #FFF3E6;
  border: none;
}

.page-contact__btn-primary:hover,
.page-contact__submit-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.page-contact__btn-secondary {
  background: transparent;
  color: #FF8C1A; /* Primary color for text */
  border: 2px solid #A84F0C; /* Border color */
}

.page-contact__btn-secondary:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 140, 26, 0.1);
}

/* Hero Section */
.page-contact__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 50px;
  background-color: #0D0E12;
}

.page-contact__hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  object-fit: cover;
}

.page-contact__hero-text-block {
  text-align: center;
  max-width: 900px;
}

.page-contact__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
  color: #FF8C1A;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-contact__hero-description {
  font-size: 1.15em;
  color: #FFF3E6;
  margin-bottom: 30px;
}

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

/* Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #17191F; /* Card BG */
  padding: 40px;
  border-radius: 10px;
  border: 1px solid #A84F0C; /* Border color */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #FFF3E6;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #A84F0C;
  border-radius: 5px;
  background-color: #0D0E12;
  color: #FFF3E6;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #999;
}

.page-contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact__submit-button {
  width: 100%;
  font-size: 1.1em;
  padding: 15px 20px;
}

/* Other Methods Section */
.page-contact__other-methods-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

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

.page-contact__contact-card {
  background-color: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #A84F0C;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

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

.page-contact__card-title {
  font-size: 1.8em;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-contact__card-text {
  color: #FFF3E6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__card-info {
  font-size: 1.1em;
  font-weight: bold;
  color: #FF8C1A;
  margin-bottom: 20px;
}

.page-contact__social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 15px;
  flex-wrap: wrap;
}

.page-contact__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: #FF8C1A;
  color: #FFF3E6;
  border-radius: 50%;
  font-size: 1.2em;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-contact__social-icon:hover {
  background-color: #FFA53A;
  transform: translateY(-2px);
}

/* Why Us Section */
.page-contact__why-us-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

.page-contact__why-us-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__list-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C;
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  color: #FFF3E6;
  font-size: 1.05em;
  line-height: 1.8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-contact__list-item strong {
  color: #FF8C1A;
}

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

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

.page-contact__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #FFA53A;
  cursor: pointer;
  background-color: #17191F;
  list-style: none; /* For <summary> */
}

.page-contact__faq-question::-webkit-details-marker {
  display: none;
}

.page-contact__faq-item[open] .page-contact__faq-question {
  border-bottom: 1px solid #A84F0C;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg);
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FF8C1A;
}

.page-contact__faq-answer {
  padding: 0 25px 20px 25px;
  color: #FFF3E6;
  font-size: 1em;
  line-height: 1.7;
}

/* CTA Section */
.page-contact__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0D0E12;
}

.page-contact__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* --- General Image & Button Responsiveness (Global for .page-contact) --- */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-contact__section,
.page-contact__card,
.page-contact__container,
.page-contact__contact-form,
.page-contact__hero-buttons,
.page-contact__cta-buttons,
.page-contact__social-links {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Placeholder for modules not on this page, but required for media query checklist */
.page-contact__hero-section.placeholder-rule-for-header-offset-check { padding-top: 10px; }
.page-contact__home-content.placeholder-rule-for-long-text-area { /* no specific rule for contact page */ }
.page-contact__slider-wrapper.placeholder-rule-for-game-carousel { overflow: hidden; }
.page-contact__slider-track.placeholder-rule-for-game-carousel { display: flex; flex-wrap: nowrap; gap: 16px; }
.page-contact__banners-top-wrapper.placeholder-rule-for-brand-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin: 0 auto; }
.page-contact__banner-item.placeholder-rule-for-brand-grid img {   object-fit: contain; margin: 0 auto; display: block; }
.page-contact__blog-masonry.placeholder-rule-for-blog-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.page-contact__blog-slider-track.placeholder-rule-for-blog-carousel { display: flex; flex-wrap: nowrap; gap: 20px; }

/* --- Mobile Responsive Styles --- */
@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-contact__container {
    padding: 0 15px;
  }

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

  .page-contact__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  /* HERO Section */
  .page-contact__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    padding-bottom: 30px;
  }

  .page-contact__hero-content-wrapper {
    flex-direction: column;
  }

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

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

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

  /* Form Section */
  .page-contact__contact-form {
    padding: 25px;
  }

  .page-contact__form-label {
    font-size: 0.95em;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px;
    font-size: 0.9em;
  }

  .page-contact__submit-button {
    font-size: 1em;
    padding: 12px 20px;
  }

  /* Other Methods Section */
  .page-contact__contact-cards {
    grid-template-columns: 1fr; /* Stack cards vertically */
  }

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

  .page-contact__card-text {
    font-size: 0.95em;
  }

  .page-contact__card-info {
    font-size: 1em;
  }

  .page-contact__social-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1em;
  }

  /* Why Us Section */
  .page-contact__why-us-list {
    margin-top: 30px;
  }

  .page-contact__list-item {
    padding: 15px 20px;
    font-size: 0.95em;
  }

  /* FAQ Section */
  .page-contact__faq-list {
    margin-top: 30px;
  }

  .page-contact__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-contact__faq-toggle {
    font-size: 1.3em;
  }

  .page-contact__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }

  /* CTA Section */
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }

  /* Mobile image and button forced responsive styles */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__contact-form,
  .page-contact__hero-buttons,
  .page-contact__cta-buttons,
  .page-contact__social-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact__submit-button,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile checklist placeholders */
  .page-contact__hero-section.placeholder-rule-for-header-offset-check { padding-top: 10px !important; }
  .page-contact__home-content.placeholder-rule-for-long-text-area { /* Placeholder, not applicable to contact page */ }
  .page-contact__slider-wrapper.placeholder-rule-for-game-carousel { /* Placeholder, not applicable to contact page */ }
  .page-contact__slider-track.placeholder-rule-for-game-carousel { display: flex; flex-wrap: nowrap; gap: 16px; /* Placeholder, not applicable to contact page */ }
  .page-contact__banners-top-wrapper.placeholder-rule-for-brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; /* Placeholder, not applicable to contact page */ }
  .page-contact__banner-item.placeholder-rule-for-brand-grid img {   object-fit: contain !important; margin: 0 auto !important; display: block !important; }
  .page-contact__blog-masonry.placeholder-rule-for-blog-cards { grid-template-columns: 1fr !important; /* Placeholder, not applicable to contact page */ }
  .page-contact__blog-slider-track.placeholder-rule-for-blog-carousel { display: flex; flex-wrap: nowrap; gap: 20px; /* Placeholder, not applicable to contact page */ }
}

@media (max-width: 1024px) {
  .page-contact__container {
    padding: 0 30px;
  }
  .page-contact__main-title {
    font-size: clamp(2.5em, 5vw, 4em);
  }
  .page-contact__hero-description {
    font-size: 1.1em;
  }
  .page-contact__contact-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-contact__faq-question {
    font-size: 1.1em;
  }
  .page-contact__faq-answer {
    font-size: 0.95em;
  }
}