.page-contact__hero-section { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px 0 40px; text-align: center; position: relative; overflow: hidden; }
.page-contact__hero-image { width: 100%; height: auto; object-fit: cover; position: relative; z-index: 0; margin-bottom: 20px; border-radius: 10px; }
.page-contact__hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; padding: 0 15px; }
.page-contact__hero-title { font-size: 3.2rem; font-weight: 700; line-height: 1.2; margin-bottom: 20px; color: #F3F8FF; }
.page-contact__hero-description { font-size: 1.1rem; line-height: 1.6; margin-bottom: 30px; color: #AFC4E8; }
.page-contact__cta-button { display: inline-block; padding: 15px 30px; border-radius: 8px; font-size: 1.1rem; font-weight: 700; text-decoration: none; transition: all 0.3s ease; white-space: normal; word-wrap: break-word; text-align: center; max-width: 100%; box-sizing: border-box; }
.page-contact__cta-button:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); }

.page-contact__section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 30px; text-align: center; line-height: 1.3; }
.page-contact__text-block { font-size: 1rem; line-height: 1.7; margin-bottom: 20px; text-align: justify; }
.page-contact__text-block a { color: #1D5FD1; text-decoration: underline; }
.page-contact__text-block a:hover { color: #2B73F6; }

.page-contact__info-section, .page-contact__form-section, .page-contact__faq-section, .page-contact__commitment-section, .page-contact__location-section { padding: 60px 0; }

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

.page-contact__contact-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.page-contact__card { background: #10233F; border-radius: 12px; padding: 30px; text-align: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; min-height: 380px; }
.page-contact__card-icon { width: 100%; max-width: 150px; height: auto; margin-bottom: 20px; border-radius: 8px; object-fit: cover; }
.page-contact__card-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 15px; color: #F3F8FF; }
.page-contact__card-text { font-size: 0.95rem; line-height: 1.6; color: #AFC4E8; flex-grow: 1; margin-bottom: 20px; }
.page-contact__card-text a { color: #1D5FD1; text-decoration: underline; }
.page-contact__card-text a:hover { color: #2B73F6; }

.page-contact__contact-form { max-width: 700px; margin: 40px auto 0; background: #10233F; padding: 40px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); }
.page-contact__form-group { margin-bottom: 25px; text-align: left; }
.page-contact__form-label { display: block; font-size: 1rem; margin-bottom: 8px; font-weight: 600; color: #F3F8FF; }
.page-contact__form-input, .page-contact__form-textarea { width: 100%; padding: 12px 15px; border: 1px solid #244D84; border-radius: 8px; background: #08162B; color: #F3F8FF; font-size: 1rem; box-sizing: border-box; }
.page-contact__form-input::placeholder, .page-contact__form-textarea::placeholder { color: #AFC4E8; opacity: 0.7; }
.page-contact__form-input:focus, .page-contact__form-textarea:focus { border-color: #1D5FD1; outline: none; box-shadow: 0 0 0 3px rgba(29, 95, 209, 0.3); }
.page-contact__form-textarea { resize: vertical; min-height: 120px; }
.page-contact__submit-button { width: 100%; padding: 15px 25px; border: none; border-radius: 8px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: all 0.3s ease; white-space: normal; word-wrap: break-word; text-align: center; max-width: 100%; box-sizing: border-box; }
.page-contact__submit-button:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); }

.page-contact__faq-list { margin-top: 40px; }
details.page-contact__faq-item { margin-bottom: 15px; border-radius: 10px; border: 1px solid #244D84; overflow: hidden; background: #10233F; color: #F3F8FF; }
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(29, 95, 209, 0.1); }
.page-contact__faq-qtext { flex: 1; font-size: 1.1rem; font-weight: 600; line-height: 1.5; text-align: left; color: #F3F8FF; }
.page-contact__faq-qtext a { color: #1D5FD1; text-decoration: underline; }
.page-contact__faq-qtext a:hover { color: #2B73F6; }
.page-contact__faq-toggle { font-size: 28px; font-weight: bold; color: #F2C14E; flex-shrink: 0; margin-left: 15px; width: 30px; text-align: center; }
details.page-contact__faq-item .page-contact__faq-answer { padding: 0 20px 20px; background: #08162B; border-radius: 0 0 10px 10px; color: #AFC4E8; }
details.page-contact__faq-item .page-contact__faq-answer p { margin-top: 10px; font-size: 0.95rem; line-height: 1.6; }
details.page-contact__faq-item .page-contact__faq-answer a { color: #1D5FD1; text-decoration: underline; }
details.page-contact__faq-item .page-contact__faq-answer a:hover { color: #2B73F6; }

.page-contact__commitment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.page-contact__commitment-section .page-contact__card { min-height: 350px; }
.page-contact__location-image { width: 100%; height: auto; max-width: 800px; margin: 30px auto; display: block; border-radius: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }

/* Color Palette Application */
.page-contact__dark-bg { background-color: #08162B; color: #F3F8FF; }
.page-contact__light-bg { background-color: #f8f9fa; color: #333333; }
.page-contact__hero-section { background-color: #08162B; /* Deep Navy */ }
.page-contact__info-section, .page-contact__faq-section, .page-contact__location-section { background-color: #f8f9fa; /* Light background for contrast */ color: #333333; }
.page-contact__form-section, .page-contact__commitment-section { background-color: #08162B; /* Deep Navy */ color: #F3F8FF; }
.page-contact__section-title { color: inherit; }
.page-contact__hero-title { color: #F3F8FF; }
.page-contact__hero-description { color: #AFC4E8; }
.page-contact__text-block { color: inherit; }
.page-contact__text-secondary { color: #AFC4E8; }

.page-contact__btn-primary { background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); color: #F3F8FF; border: none; }
.page-contact__btn-primary:hover { background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%); }
.page-contact__btn-secondary { background: #1D5FD1; color: #F3F8FF; border: none; padding: 10px 20px; border-radius: 8px; text-decoration: none; transition: background-color 0.3s ease; }
.page-contact__btn-secondary:hover { background: #2B73F6; }

/* Fixed Header Offset */
.page-contact__hero-section { padding-top: 10px; /* Small top padding, body handles main offset */ }

/* Mobile Responsive - Images & Buttons */
@media (max-width: 768px) {
  .page-contact__hero-title { font-size: 2rem; }
  .page-contact__section-title { font-size: 1.8rem; }
  .page-contact__hero-description, .page-contact__text-block, .page-contact__card-text, .page-contact p, .page-contact li { font-size: 15px; line-height: 1.6; }
  .page-contact__cta-button, .page-contact__submit-button, .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__contact-methods, .page-contact__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-contact__container {
    padding: 0 15px;
  }
  .page-contact__card { padding: 25px; min-height: auto; }
  .page-contact__contact-form { padding: 30px 20px; }
  .page-contact__hero-section, .page-contact__info-section, .page-contact__form-section, .page-contact__faq-section, .page-contact__commitment-section, .page-contact__location-section { padding: 40px 0; }
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !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;
    display: flex;
    flex-direction: column;
  }
  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: 24px; width: 24px; margin-left: 10px; }
  details.page-contact__faq-item .page-contact__faq-answer { padding: 0 15px 15px; }
}

/* Homepage Trial Layout CSS - MUST BE INCLUDED AS-IS (despite being contact page) */
@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;
  }
}

/* Ensure the is-hidden class for overlay */
.is-hidden { display: none !important; pointer-events: none !important; }