@media (max-width: 1023px) {
  .page-contact__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__hero-brand,
  .page-contact__hero-jackpot {
    display: none !important;
  }
  .page-contact__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__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-contact__game-trial-topbar,
  .page-contact__game-trial-bottombar {
    display: none !important;
  }
  .page-contact__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__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__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-contact__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-contact__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__hero-brand,
  .page-contact__hero-jackpot,
  .page-contact__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-contact__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-contact__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-contact__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-contact__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-contact__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

.page-contact {
  color: #F3F8FF; /* Text Main for dark body background */
  background-color: var(--deep-navy);
}

.page-contact__section {
  padding: 40px 20px;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%);
  text-align: center;
}

.page-contact__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
  padding: 0 15px;
}

.page-contact__main-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

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

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-contact__cta-button--large {
    padding: 18px 35px;
    font-size: 20px;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 20px;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-contact__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-contact__section-intro-text {
    font-size: 17px;
    color: #AFC4E8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

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

.page-contact__contact-card {
  background: #10233F; /* Card B G */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-contact__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-contact__card-text {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  margin-top: auto;
}

.page-contact__btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-contact__social-media-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
}

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

.page-contact__social-text-link {
    color: #4FA8FF; /* Glow */
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.page-contact__social-text-link:hover {
    color: #F2C14E; /* Gold */
}

.page-contact__why-contact {
  background: #ffffff;
  color: #333333; /* Dark text for light background */
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-contact__why-contact .page-contact__section-title {
    color: #113B7A; /* Primary color for title on light background */
}

.page-contact__why-contact p,
.page-contact__why-contact li {
    color: #333333; /* Dark text for light background */
}

.page-contact__content-wrapper {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-contact__sub-title {
  font-size: 28px;
  font-weight: 700;
  color: #113B7A; /* Primary color */
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-contact__text-block p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-contact__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-contact__list li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.page-contact__text-link {
    color: #1D5FD1; /* Auxiliary color for links on light background */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-contact__text-link:hover {
    color: #1144A6;
}

.page-contact__image-block {
  text-align: center;
}

.page-contact__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-contact__faq-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-contact__faq-section .page-contact__section-intro-text {
    color: #AFC4E8;
}

.page-contact__faq-list {
  margin-top: 40px;
}

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card B G */
}

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;
}

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(17, 59, 122, 0.8); /* Darker shade of primary */
}

.page-contact__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}

.page-contact__faq-qtext a {
    color: #4FA8FF; /* Glow for links on dark background */
    text-decoration: underline;
}

.page-contact__faq-qtext a:hover {
    color: #F2C14E; /* Gold */
}

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #4FA8FF; /* Glow */
  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: rgba(17, 59, 122, 0.5); /* Slightly lighter dark background */
  border-radius: 0 0 5px 5px;
}

.page-contact__faq-answer p {
    font-size: 16px;
    line-height: 1.7;
    color: #AFC4E8; /* Text Secondary */
}

.page-contact__faq-answer p a {
    color: #4FA8FF; /* Glow for links on dark background */
    text-decoration: underline;
}

.page-contact__faq-answer p a:hover {
    color: #F2C14E; /* Gold */
}

.page-contact__form-section {
  background: #10233F; /* Card B G */
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-contact__form-section .page-contact__section-title {
    color: #F2C14E; /* Gold */
}

.page-contact__form-description {
  font-size: 17px;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.page-contact__contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background: #08162B; /* Deep Navy, darker for form */
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid #244D84; /* Border */
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #244D84; /* Border */
  border-radius: 6px;
  font-size: 16px;
  color: #F3F8FF; /* Text Main */
  box-sizing: border-box;
  transition: border-color 0.3s ease, background-color 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: #4FA8FF; /* Glow */
  background-color: rgba(255, 255, 255, 0.15);
  outline: none;
}

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

.page-contact__form-submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 18px;
  border-radius: 8px;
  margin-top: 10px;
}

.page-contact__operating-hours {
  background: #ffffff;
  color: #333333; /* Dark text for light background */
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-contact__operating-hours .page-contact__section-title {
    color: #113B7A; /* Primary color for title on light background */
}

.page-contact__hours-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-contact__hours-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-contact__hours-text p,
.page-contact__hours-text li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333333;
}

.page-contact__hours-text strong {
    color: #113B7A;
}

.page-contact__conclusion-section {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, #08162B 0%, #113B7A 100%);
}

.page-contact__conclusion-text {
  font-size: 18px;
  color: #AFC4E8; /* Text Secondary */
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.page-contact__conclusion-text a {
    color: #4FA8FF; /* Glow for links on dark background */
    text-decoration: underline;
}

.page-contact__conclusion-text a:hover {
    color: #F2C14E; /* Gold */
}

/* Mobile Responsive Styles */
@media (max-width: 1023px) {
    .page-contact__main-title {
        font-size: 38px;
    }
    .page-contact__hero-description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
  /* Homepage trial CSS (as per instruction, even if not directly used) */
  .page-contact__promo-strip-track { grid-template-columns: repeat(4, 1fr); overflow-x: hidden; }
  .page-contact__hot-games-grid { grid-template-columns: repeat(2, 1fr); }

  .page-contact__hero-section {
    padding-top: 10px;
  }
  .page-contact__main-title {
    font-size: 32px;
  }
  .page-contact__hero-description {
    font-size: 15px;
  }
  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-contact__cta-button--large {
      padding: 15px 30px;
      font-size: 18px;
  }
  .page-contact__section {
    padding: 30px 15px;
  }
  .page-contact__section-title {
    font-size: 28px;
  }
  .page-contact__section-intro-text {
      font-size: 15px;
      margin-bottom: 30px;
  }
  .page-contact__contact-methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-contact__contact-card {
    padding: 25px;
  }
  .page-contact__card-title {
    font-size: 20px;
  }
  .page-contact__card-text {
    font-size: 15px;
  }
  .page-contact__social-media-image {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
  }
  .page-contact__social-links-text {
      gap: 10px;
      flex-wrap: wrap;
  }
  .page-contact__content-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-contact__sub-title {
    font-size: 22px;
  }
  .page-contact__text-block p,
  .page-contact__list li {
    font-size: 15px;
  }
  .page-contact__content-image {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
  }
  details.page-contact__faq-item summary.page-contact__faq-question { padding: 15px; }
  .page-contact__faq-qtext { font-size: 15px; }
  .page-contact__faq-toggle { font-size: 20px; width: 24px; height: 24px; margin-left: 10px;}
  details.page-contact__faq-item .page-contact__faq-answer { padding: 0 15px 15px; }
  .page-contact__faq-answer p { font-size: 15px; }
  .page-contact__form-section .page-contact__form-description {
      font-size: 15px;
  }
  .page-contact__contact-form {
    padding: 20px;
  }
  .page-contact__form-label {
    font-size: 15px;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px 12px;
    font-size: 15px;
  }
  .page-contact__form-submit-btn {
    font-size: 16px;
    padding: 12px;
  }
  .page-contact__operating-hours .page-contact__hours-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-contact__hours-image {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
  }
  .page-contact__hours-text p,
  .page-contact__hours-text li {
    font-size: 15px;
  }
  .page-contact__conclusion-text {
    font-size: 16px;
  }

  /* General image and container rules for mobile */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-image-wrapper,
  .page-contact__image-block,
  .page-contact__hours-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .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,
  .page-contact__button-group,
  .page-contact__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;
  }
  .page-contact__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}