.page-contact__hero-section { position: relative; width: 100%; overflow: hidden; background: #f0f0f0; padding-top: 10px; }
.page-contact__hero-image-container { width: 100%; height: 400px; overflow: hidden; display: flex; justify-content: center; align-items: center; }
.page-contact__hero-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-contact__hero-content { max-width: 800px; margin: 20px auto 40px; padding: 0 15px; text-align: center; color: #333333; }
.page-contact__main-title { font-size: 36px; font-weight: 700; line-height: 1.2; margin-bottom: 15px; color: #017439; }
.page-contact__description { font-size: 18px; line-height: 1.6; }

.page-contact__form-section { padding: 40px 0; background: #ffffff; }
.page-contact__container { max-width: 900px; margin: 0 auto; padding: 0 15px; }
.page-contact__section-title { font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 20px; color: #017439; }
.page-contact__section-description { font-size: 16px; text-align: center; margin-bottom: 30px; color: #333333; }
.page-contact__contact-form { background: #f9f9f9; padding: 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); }
.page-contact__form-group { margin-bottom: 20px; }
.page-contact__form-label { display: block; font-size: 15px; margin-bottom: 8px; font-weight: 600; color: #333333; }
.page-contact__form-input, .page-contact__form-textarea { width: 100%; padding: 12px 15px; border: 1px solid #e0e0e0; border-radius: 5px; font-size: 16px; box-sizing: border-box; }
.page-contact__form-textarea { resize: vertical; min-height: 120px; }
.page-contact__submit-button { display: block; width: 100%; max-width: 300px; margin: 20px auto 0; padding: 15px 25px; background: #017439; color: #ffffff; border: none; border-radius: 5px; font-size: 18px; font-weight: 700; cursor: pointer; transition: background-color 0.3s ease; box-sizing: border-box; white-space: normal; word-wrap: break-word; }
.page-contact__submit-button:hover { background-color: #005f2c; }
.page-contact__note { text-align: center; margin-top: 30px; font-size: 15px; color: #666666; }
.page-contact__alternative-contact { display: flex; justify-content: center; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.page-contact__support-link, .page-contact__live-chat-button { display: inline-block; padding: 12px 25px; border-radius: 5px; font-size: 16px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; box-sizing: border-box; white-space: normal; word-wrap: break-word; max-width: 100%; }
.page-contact__support-link { background: #ffffff; color: #017439; border: 2px solid #017439; }
.page-contact__support-link:hover { background: #017439; color: #ffffff; }
.page-contact__live-chat-button { background: #017439; color: #ffffff; border: 2px solid #017439; }
.page-contact__live-chat-button:hover { background: #005f2c; border-color: #005f2c; }

.page-contact__faq-section { padding: 40px 0 60px; background: #f0f0f0; }
.page-contact__faq-list { margin-top: 30px; }
details.page-contact__faq-item { margin-bottom: 15px; border-radius: 5px; border: 1px solid #e0e0e0; overflow: hidden; background: #fff; }
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: #f5f5f5; }
.page-contact__faq-qtext { flex: 1; font-size: 16px; font-weight: 600; line-height: 1.5; text-align: left; color: #333333; }
.page-contact__faq-toggle { font-size: 24px; font-weight: bold; color: #666; 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: #f9f9f9; border-radius: 0 0 5px 5px; color: #333333; }
.page-contact__faq-answer p { margin: 0; line-height: 1.6; }
.page-contact__faq-answer a { color: #017439; text-decoration: underline; }

/* Responsive Styles */
@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__promo-strip { margin-top: 16px; }
}

@media (max-width: 768px) {
  .page-contact__hero-image-container { height: 250px; }
  .page-contact__main-title { font-size: 28px; }
  .page-contact__description { font-size: 16px; }
  .page-contact__section-title { font-size: 24px; }
  .page-contact__contact-form { padding: 20px; }
  .page-contact__form-input, .page-contact__form-textarea { padding: 10px 12px; font-size: 15px; }
  .page-contact__submit-button { padding: 12px 20px; 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__alternative-contact { flex-direction: column; align-items: center; gap: 10px; }
  .page-contact__support-link, .page-contact__live-chat-button { width: 100%; max-width: 300px; text-align: center; padding: 12px 15px; }
  details.page-contact__faq-item summary.page-contact__faq-question { padding: 15px; }
  .page-contact__faq-qtext { font-size: 15px; }
  .page-contact__faq-answer { padding: 0 15px 15px; }

  /* General mobile image and button rules */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-contact__hero-section, .page-contact__form-section, .page-contact__faq-section,
  .page-contact__container, .page-contact__contact-form, .page-contact__alternative-contact {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__alternative-contact {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .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); }
}

/* Forced game trial styles (even if not on homepage) */
.page-contact__game-trial-overlay{z-index:5;pointer-events:auto;}
.page-contact__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}
.page-contact__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}
.page-contact__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}
.page-contact__reward-modal{position:fixed;inset:0;z-index:10000;}
.page-contact__reward-modal-close { position: absolute; top: 15px; right: 15px; font-size: 24px; color: #fff; background: none; border: none; cursor: pointer; z-index: 10001; }
.page-contact__reward-modal-close:hover { color: #ccc; }
.page-contact--reward-open { overflow: hidden; }