@media (max-width: 1023px) {
  .page-contact-us__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-contact-us__hero-brand,
  .page-contact-us__hero-jackpot {
    display: none !important;
  }
  .page-contact-us__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-contact-us__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-contact-us__game-trial-topbar,
  .page-contact-us__game-trial-bottombar {
    display: none !important;
  }
  .page-contact-us__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-contact-us__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-contact-us__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-contact-us__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-contact-us__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-contact-us__hero-brand,
  .page-contact-us__hero-jackpot,
  .page-contact-us__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-contact-us__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-contact-us__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-contact-us__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-contact-us__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-contact-us__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

/* Base styles for the contact-us page */
.page-contact-us {
  font-family: Arial, sans-serif;
  background-color: #0A0A0A; /* Body BG from shared.css, so content areas need light text */
  color: #FFF6D6; /* Text Main color */
  line-height: 1.6;
  padding-bottom: 50px; /* General padding, assuming body has padding-top for header */
}

.page-contact-us__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-contact-us__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #F2C14E; /* Main color for titles */
  text-align: center;
  margin-bottom: 20px;
  margin-top: 40px;
  line-height: 1.2;
}

.page-contact-us__section-description {
  font-size: 18px;
  color: #FFF6D6;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-contact-us__hero-section {
  display: flex;
  flex-direction: column; /* Default for mobile, will change for desktop */
  align-items: center;
  gap: 30px;
  padding-top: 10px; /* Small padding, relying on body padding-top for header offset */
  padding-bottom: 50px;
  background-color: #111111; /* Card BG color for this section */
  border-bottom: 1px solid #3A2A12; /* Border color */
}

.page-contact-us__hero-content {
  text-align: center;
  max-width: 800px;
}

.page-contact-us__main-title {
  font-size: 48px;
  font-weight: 700;
  color: #FFD36B; /* Auxiliary color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact-us__description {
  font-size: 18px;
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-contact-us__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for bright button */
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4); /* Glow effect */
}

.page-contact-us__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-contact-us__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Form Section */
.page-contact-us__form-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-contact-us__contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border color */
}

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

.page-contact-us__form-label {
  display: block;
  font-size: 16px;
  color: #F2C14E; /* Main color for labels */
  margin-bottom: 8px;
  font-weight: bold;
}

.page-contact-us__form-input,
.page-contact-us__form-textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: #222222; /* Slightly lighter dark for input fields */
  border: 1px solid #3A2A12;
  border-radius: 5px;
  color: #FFF6D6;
  font-size: 16px;
  box-sizing: border-box;
}

.page-contact-us__form-input::placeholder,
.page-contact-us__form-textarea::placeholder {
  color: #999999;
}

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

.page-contact-us__submit-button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-contact-us__submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

/* Info Section */
.page-contact-us__info-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-contact-us__contact-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact-us__contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-contact-us__contact-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(242, 193, 78, 0.5)); /* Subtle glow for icons */
}

.page-contact-us__card-title {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Main color for card titles */
  margin-bottom: 15px;
}

.page-contact-us__card-text {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 15px;
}

.page-contact-us__card-phone {
  font-size: 20px;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color for phone number */
  margin-bottom: 20px;
}

.page-contact-us__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact-us__card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(242, 193, 78, 0.3);
}

.page-contact-us__social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-contact-us__social-link {
  color: #FFD36B;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

.page-contact-us__social-link:hover {
  color: #F2C14E;
  text-decoration: underline;
}

/* FAQ Section - Using <details> and <summary> */
.page-contact-us__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

details.page-contact-us__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #111111; /* Card BG */
}
details.page-contact-us__faq-item summary.page-contact-us__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: #F2C14E; /* Main color for question text */
}
details.page-contact-us__faq-item summary.page-contact-us__faq-question::-webkit-details-marker {
  display: none;
}
details.page-contact-us__faq-item summary.page-contact-us__faq-question:hover {
  background: #181818; /* Slightly lighter dark on hover */
}
.page-contact-us__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E;
}
.page-contact-us__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-contact-us__faq-item .page-contact-us__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A; /* Body BG for answer content */
  border-radius: 0 0 10px 10px;
  color: #FFF6D6; /* Text Main for answer content */
}
.page-contact-us__faq-answer p {
  margin-bottom: 10px;
}
.page-contact-us__faq-answer p:last-child {
  margin-bottom: 0;
}
.page-contact-us__faq-answer a {
  color: #FFD36B;
  text-decoration: underline;
}
.page-contact-us__faq-answer a:hover {
  color: #F2C14E;
}

/* Newsletter CTA Section */
.page-contact-us__newsletter-cta {
  padding: 60px 0;
  text-align: center;
  background-color: #111111; /* Card BG for this section */
  border-top: 1px solid #3A2A12;
}

.page-contact-us__cta-button--large {
  padding: 18px 35px;
  font-size: 22px;
}

/* Responsive design for desktop */
@media (min-width: 769px) {
  .page-contact-us__hero-section {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-contact-us__hero-content {
    text-align: left;
    max-width: 50%;
    padding-right: 30px;
  }
  .page-contact-us__hero-image {
    max-width: 45%;
  }
  .page-contact-us__main-title {
    font-size: 56px;
    text-align: left;
  }
  .page-contact-us__description {
    text-align: left;
  }
}

/* Responsive design for mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-contact-us {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact-us__section-title {
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-contact-us__section-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-contact-us__main-title {
    font-size: 36px;
  }
  .page-contact-us__description {
    font-size: 16px;
  }
  .page-contact-us__cta-button,
  .page-contact-us__submit-button,
  .page-contact-us__card-button,
  .page-contact-us__cta-button--large,
  .page-contact-us a[class*="button"],
  .page-contact-us 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-us__form-input,
  .page-contact-us__form-textarea {
    padding: 10px 12px;
    font-size: 15px;
  }
  .page-contact-us__form-label {
    font-size: 15px;
  }

  .page-contact-us__hero-section,
  .page-contact-us__form-section,
  .page-contact-us__info-section,
  .page-contact-us__faq-section,
  .page-contact-us__newsletter-cta {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Images responsive */
  .page-contact-us img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-contact-us__section,
  .page-contact-us__card,
  .page-contact-us__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Contact cards for mobile */
  .page-contact-us__contact-cards {
    grid-template-columns: 1fr;
  }
  .page-contact-us__social-list {
    flex-direction: column;
    gap: 8px;
  }
  .page-contact-us__social-link {
    font-size: 16px;
  }

  /* FAQ mobile */
  details.page-contact-us__faq-item summary.page-contact-us__faq-question { padding: 15px; }
  .page-contact-us__faq-qtext { font-size: 15px; }
  .page-contact-us__faq-toggle { font-size: 24px; width: 24px; }
  details.page-contact-us__faq-item .page-contact-us__faq-answer { padding: 0 15px 15px; }

  /* Ensure button groups wrap or stack */
  .page-contact-us__cta-buttons,
  .page-contact-us__button-group,
  .page-contact-us__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}