/* CSS cho trang Liên hệ chúng tôi */
.page-contact {
  font-family: Arial, sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy); /* Body background from shared.css */
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

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

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px 20px;
  background: rgba(16, 35, 63, 0.85); /* Card BG with transparency */
  border-radius: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__main-title {
  font-size: 3.2em;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  line-height: 1.6;
}

/* General Section Styles */
.page-contact__form-section,
.page-contact__alternative-methods,
.page-contact__faq-section,
.page-contact__commitment-section,
.page-contact__cta-section {
  padding: 60px 0;
  background-color: var(--deep-navy);
}

.page-contact__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-contact__section-subtitle {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* Contact Form */
.page-contact__contact-form {
  background: #10233F; /* Card BG */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid #244D84; /* Border */
}

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

.page-contact__form-label {
  display: block;
  font-size: 1.1em;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 8px;
  font-weight: 600;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  background-color: #08162B; /* Deep Navy */
  color: #F3F8FF; /* Text Main */
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #AFC4E8; /* Text Secondary */
  opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #1D5FD1; /* Auxiliary color */
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 95, 209, 0.3);
}

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

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__btn-secondary {
  background: transparent;
  color: #2B73F6; /* Primary button top color */
  border: 2px solid #2B73F6;
}

.page-contact__btn-secondary:hover {
  background: #2B73F6;
  color: #F3F8FF; /* Text Main */
  transform: translateY(-2px);
}

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

.page-contact__method-card {
  background: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__method-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 3px solid #F2C14E; /* Gold */
  padding: 10px;
  background-color: #08162B;
}

.page-contact__method-title {
  font-size: 1.8em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-contact__method-description {
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
}
details.page-contact__faq-item summary.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F3F8FF; /* Text Main */
}
details.page-contact__faq-item summary.page-contact__faq-question::-webkit-details-marker {
  display: none;
}
details.page-contact__faq-item summary.page-contact__faq-question:hover {
  background: rgba(29, 95, 209, 0.1); /* Auxiliary color with transparency */
}
.page-contact__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}
.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 20px 20px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 5px 5px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 0.95em;
  line-height: 1.6;
}
.page-contact__faq-answer p {
  margin-bottom: 10px;
}
.page-contact__faq-answer p:last-child {
  margin-bottom: 0;
}
.page-contact__faq-answer a {
  color: #2B73F6;
  text-decoration: underline;
}
.page-contact__faq-answer a:hover {
  color: #4FA8FF;
}

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

.page-contact__commitment-card {
  background: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
}

.page-contact__commitment-icon {
  width: 150px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-contact__card-title {
  font-size: 1.6em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-contact__card-description {
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.5;
}

.page-contact__closing-text {
  font-size: 1.1em;
  color: #AFC4E8;
  text-align: center;
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* CTA Section */
.page-contact__cta-section {
  background: linear-gradient(135deg, #113B7A 0%, #08162B 100%);
  padding: 80px 0;
}

.page-contact__cta-section .page-contact__section-title {
  color: #F3F8FF; /* Text Main */
}

.page-contact__cta-section .page-contact__section-subtitle {
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 50px;
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile Responsive Styles */
@media (max-width: 1023px) {
  /* Placeholder for homepage specific game trial, not applicable to contact.html */
  /* This block is mandatory if it were index.html, but contact.html does not have these elements. */
  /* Per instructions, if not index.html, do not use gameshow/home-hero specific CSS */
}

@media (min-width: 1024px) {
  /* Placeholder for homepage specific game trial, not applicable to contact.html */
  /* This block is mandatory if it were index.html, but contact.html does not have these elements. */
  /* Per instructions, if not index.html, do not use gameshow/home-hero specific CSS */
}

@media (max-width: 768px) {
  .page-contact__main-title {
    font-size: 2.2em;
  }

  .page-contact__hero-description,
  .page-contact__section-subtitle,
  .page-contact__form-label,
  .page-contact__form-input,
  .page-contact__form-textarea,
  .page-contact__method-description,
  .page-contact__card-description,
  .page-contact__closing-text {
    font-size: 0.95em;
  }

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

  .page-contact__form-section,
  .page-contact__alternative-methods,
  .page-contact__faq-section,
  .page-contact__commitment-section,
  .page-contact__cta-section {
    padding: 40px 0;
  }

  .page-contact__contact-form {
    padding: 25px;
  }

  .page-contact__methods-grid,
  .page-contact__commitment-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Images */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-contact__hero-section,
  .page-contact__container,
  .page-contact__contact-form,
  .page-contact__method-card,
  .page-contact__commitment-card,
  .page-contact__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons */
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .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;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  /* FAQ */
  details.page-contact__faq-item summary.page-contact__faq-question { padding: 15px; }
  .page-contact__faq-qtext { font-size: 1em; }
  details.page-contact__faq-item .page-contact__faq-answer { padding: 0 15px 15px; }
  .page-contact__faq-toggle { font-size: 20px; width: 24px; }
}

/* General image and container responsive styles for all content sections */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}
.page-contact__hero-section,
.page-contact__container,
.page-contact__form-section,
.page-contact__alternative-methods,
.page-contact__faq-section,
.page-contact__commitment-section,
.page-contact__cta-section,
.page-contact__contact-form,
.page-contact__method-card,
.page-contact__commitment-card,
.page-contact__cta-buttons {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* No filter property to change image colors */
.page-contact__method-icon,
.page-contact__commitment-icon {
  filter: none; /* Ensure no filter is applied */
}

/* Specific for the placeholder game trial, not applicable to contact.html */
/* These are included as per instructions, but should not affect this page */
.page-contact__home-hero {
  padding-top: 10px; /* Small top padding, body handles header offset */
}
.page-contact__game-trial-overlay.is-hidden { display: none !important; pointer-events: none !important; }
.page-contact__reward-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.7); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.page-contact__reward-modal[aria-hidden="false"] { opacity: 1; visibility: visible; }
.page-contact__reward-modal-content { background: #10233F; padding: 30px; border-radius: 10px; max-width: 500px; text-align: center; position: relative; color: #F3F8FF; }
.page-contact__reward-modal-close { position: absolute; top: 15px; right: 15px; font-size: 24px; color: #F2C14E; cursor: pointer; background: none; border: none; }
.page-contact__reward-modal-title { font-size: 1.8em; color: #F2C14E; margin-bottom: 15px; }
.page-contact__reward-modal-text { font-size: 1.1em; color: #AFC4E8; margin-bottom: 25px; }
.page-contact__reward-modal .page-contact__btn-primary { width: auto; padding: 12px 25px; }