.page-contact { background-color: var(--background-color, #08160F); color: var(--Text-Main, #F2FFF6); font-family: 'Arial', sans-serif; line-height: 1.6; }
.page-contact__container { max-width: 1200px; margin: 0 auto; padding: 10px 15px; box-sizing: border-box; }
.page-contact__dark-section { background-color: var(--Card-B-G, #11271B); color: var(--Text-Main, #F2FFF6); padding: 50px 0; }
.page-contact__light-bg { background-color: var(--background-color, #08160F); color: var(--Text-Main, #F2FFF6); padding: 50px 0; }
.page-contact__main-title { font-size: clamp(28px, 4vw, 48px); font-weight: 700; text-align: center; margin-bottom: 20px; color: var(--Gold, #F2C14E); line-height: 1.2; }
.page-contact__hero-description { font-size: 18px; text-align: center; max-width: 800px; margin: 0 auto 30px; color: var(--Text-Secondary, #A7D9B8); }
.page-contact__hero-image { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 10px; object-fit: cover; }

.page-contact__section-title { font-size: clamp(24px, 3.5vw, 38px); font-weight: 700; text-align: center; margin-bottom: 20px; color: var(--Gold, #F2C14E); line-height: 1.3; }
.page-contact__section-description { font-size: 16px; text-align: center; max-width: 900px; margin: 0 auto 40px; color: var(--Text-Secondary, #A7D9B8); }

.page-contact__method-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 30px; }
.page-contact__method-card { background-color: var(--Card-B-G, #11271B); border-radius: 10px; padding: 30px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: transform 0.3s ease; border: 1px solid var(--Border, #2E7A4E); }
.page-contact__method-card:hover { transform: translateY(-5px); }
.page-contact__method-icon { width: 100%; height: 200px; object-fit: cover; margin-bottom: 20px; border-radius: 8px; }
.page-contact__card-title { font-size: 24px; font-weight: 600; margin-bottom: 15px; color: var(--Text-Main, #F2FFF6); }
.page-contact__card-text { font-size: 15px; color: var(--Text-Secondary, #A7D9B8); margin-bottom: 25px; }

.page-contact__btn-primary { display: inline-block; padding: 12px 25px; border-radius: 5px; background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); color: #F2FFF6; font-size: 16px; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.3); white-space: normal; word-wrap: break-word; max-width: 100%; box-sizing: border-box; }
.page-contact__btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,0,0.4); opacity: 0.9; }

.page-contact__social-links { display: flex; justify-content: center; gap: 15px; margin-bottom: 25px; flex-wrap: wrap; }
.page-contact__social-btn { display: inline-block; padding: 10px 20px; border-radius: 5px; background-color: #22C768; color: #F2FFF6; font-size: 15px; text-decoration: none; transition: background-color 0.3s ease; white-space: normal; word-wrap: break-word; max-width: 100%; box-sizing: border-box; }
.page-contact__social-btn:hover { background-color: #11A84E; }

.page-contact__contact-form { text-align: left; margin-top: 20px; }
.page-contact__form-group { margin-bottom: 20px; }
.page-contact__form-label { display: block; font-size: 15px; color: var(--Text-Main, #F2FFF6); margin-bottom: 8px; }
.page-contact__form-input, .page-contact__form-textarea { width: 100%; padding: 12px; border: 1px solid var(--Border, #2E7A4E); border-radius: 5px; background-color: rgba(0,0,0,0.3); color: var(--Text-Main, #F2FFF6); font-size: 16px; box-sizing: border-box; }
.page-contact__form-input::placeholder, .page-contact__form-textarea::placeholder { color: var(--Text-Secondary, #A7D9B8); opacity: 0.7; }
.page-contact__form-input:focus, .page-contact__form-textarea:focus { border-color: var(--Glow, #57E38D); outline: none; box-shadow: 0 0 0 2px rgba(87, 227, 141, 0.3); }
.page-contact__form-submit-btn { width: auto; min-width: 150px; margin-top: 10px; }

details.page-contact__faq-item { margin-bottom: 15px; border-radius: 5px; border: 1px solid var(--Border, #2E7A4E); overflow: hidden; background: var(--Card-B-G, #11271B); }
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(46, 122, 78, 0.2); }
.page-contact__faq-qtext { flex: 1; font-size: 16px; font-weight: 600; line-height: 1.5; text-align: left; color: var(--Text-Main, #F2FFF6); }
.page-contact__faq-toggle { font-size: 24px; font-weight: bold; color: var(--Glow, #57E38D); 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: var(--Deep-Green, #0A4B2C); border-radius: 0 0 5px 5px; color: var(--Text-Secondary, #A7D9B8); }

.page-contact__security-image { display: block; max-width: 100%; height: auto; margin: 30px auto; border-radius: 10px; object-fit: cover; }
.page-contact__security-text { font-size: 15px; text-align: center; max-width: 800px; margin: 0 auto 30px; color: var(--Text-Secondary, #A7D9B8); }
.page-contact__btn-secondary { display: inline-block; padding: 12px 25px; border-radius: 5px; background: transparent; color: var(--Text-Main, #F2FFF6); font-size: 16px; font-weight: 600; text-decoration: none; border: 2px solid var(--Glow, #57E38D); cursor: pointer; transition: all 0.3s ease; margin: 0 10px; white-space: normal; word-wrap: break-word; max-width: 100%; box-sizing: border-box; }
.page-contact__btn-secondary:hover { background-color: var(--Glow, #57E38D); color: #000000; box-shadow: 0 4px 10px rgba(87, 227, 141, 0.3); }
.page-contact__button-group { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-top: 30px; }

.page-contact__cta-section { padding: 80px 0; background-color: var(--Deep-Green, #0A4B2C); }
.page-contact__cta-section .page-contact__section-title { color: var(--Gold, #F2C14E); }
.page-contact__cta-section .page-contact__section-description { color: var(--Text-Main, #F2FFF6); }

/* --- Required boilerplate CSS for homepage elements (as per instructions) --- */
@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;
  }
}

/* Mobile responsiveness for contact page specific elements */
@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__main-title { font-size: clamp(24px, 6vw, 36px); padding: 0 10px; }
  .page-contact__hero-description { font-size: 15px; padding: 0 10px; }
  .page-contact__section-title { font-size: clamp(20px, 5vw, 30px); padding: 0 10px; }
  .page-contact__section-description { font-size: 14px; padding: 0 10px; }
  
  .page-contact__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-contact__section, .page-contact__card, .page-contact__container, .page-contact__method-card, .page-contact__contact-form, .page-contact__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__method-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-contact__method-card { padding: 20px; }
  .page-contact__card-title { font-size: 20px; }
  .page-contact__card-text { font-size: 14px; }

  .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;
    margin: 5px 0 !important; /* Ensure buttons stack */
  }
  
  .page-contact__button-group {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px; 
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__social-links { flex-wrap: wrap; gap: 10px; }
  .page-contact__social-btn { flex: 1 1 auto; min-width: 100px; }

  details.page-contact__faq-item summary.page-contact__faq-question { padding: 15px; }
  .page-contact__faq-qtext { font-size: 15px; }
  details.page-contact__faq-item .page-contact__faq-answer { padding: 0 15px 15px; }
}

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