/* CSS Reset & Base for page-contact */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main, #FFF3E6); /* Text Main */
  background-color: var(--background-color, #0D0E12); /* Background */
}

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

.page-contact__section {
  padding: 60px 0;
}

.page-contact__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-main, #FFF3E6);
}

.page-contact__section-intro {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-main, #FFF3E6);
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--card-bg, #17191F); /* Card BG for dark section */
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-contact__hero-content {
  max-width: 900px;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-contact__main-title {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main, #FFF3E6);
  /* No fixed font-size, relying on default H1 size from shared or browser, or clamp if needed */
}

.page-contact__description {
  font-size: 18px;
  color: var(--text-main, #FFF3E6);
}

/* Contact Form Section */
.page-contact__contact-form-section {
  padding: 60px 0;
  background-color: var(--background-color, #0D0E12); /* Background */
  color: var(--text-main, #FFF3E6);
}

.page-contact__contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background-color: var(--card-bg, #17191F); /* Card BG */
  border-radius: 10px;
  border: 1px solid var(--border-color, #A84F0C);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-main, #FFF3E6);
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color, #A84F0C);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-main, #FFF3E6);
  font-size: 16px;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 243, 230, 0.6);
}

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

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px 25px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__submit-button:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px var(--glow, #FFB04D);
}

/* Other Methods Section */
.page-contact__methods-section {
  padding: 60px 0;
  background-color: var(--background-color, #0D0E12); /* Background */
  color: var(--text-main, #FFF3E6);
}

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

.page-contact__method-card {
  background-color: var(--card-bg, #17191F); /* Card BG */
  border: 1px solid var(--border-color, #A84F0C);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-main, #FFF3E6);
}

.page-contact__method-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

.page-contact__method-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-main, #FFF3E6);
}

.page-contact__method-description {
  font-size: 16px;
  margin-bottom: 25px;
  flex-grow: 1;
  color: var(--text-main, #FFF3E6);
}

.page-contact__method-button {
  display: inline-block;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__method-button:hover {
  opacity: 0.9;
  box-shadow: 0 0 10px var(--glow, #FFB04D);
}

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

.page-contact__social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background-color: var(--deep-orange, #D96800);
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 15px;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__social-btn:hover {
  background-color: var(--glow, #FFB04D);
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: var(--background-color, #0D0E12); /* Background */
  color: var(--text-main, #FFF3E6);
}

.page-contact__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color, #A84F0C);
  overflow: hidden;
  background: var(--card-bg, #17191F); /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-contact__faq-item summary.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main, #FFF3E6);
}
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(255, 255, 255, 0.08); /* Slightly lighter hover for dark bg */
}
.page-contact__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main, #FFF3E6);
}
.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--glow, #FFB04D);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 25px 25px;
  background: rgba(255, 255, 255, 0.03); /* Slightly different dark bg for answer */
  border-radius: 0 0 10px 10px;
  color: var(--text-main, #FFF3E6);
}
.page-contact__faq-answer p {
  margin: 0;
  font-size: 16px;
}

/* CTA Section */
.page-contact__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--background-color, #0D0E12); /* Background */
  color: var(--text-main, #FFF3E6);
}

.page-contact__cta-button {
  display: inline-block;
  padding: 18px 40px;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 30px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__cta-button:hover {
  opacity: 0.9;
  box-shadow: 0 0 20px var(--glow, #FFB04D);
}

/* Copyright */
.page-contact__copyright {
  text-align: center;
  padding: 20px 15px;
  font-size: 14px;
  color: rgba(255, 243, 230, 0.7);
  background-color: var(--card-bg, #17191F); /* Card BG */
  border-top: 1px solid var(--border-color, #A84F0C);
}

/* Responsive Design */
@media (max-width: 1023px) {
  /* Homepage specific rules from prompt - MUST BE INCLUDED */
  .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;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;aspect-ratio:1024/768;min-height:240px;max-height:none!important;flex:none!important;overflow:hidden;box-sizing:border-box;width:100%;}
  .page-contact__game-trial-frame{position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0!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) {
  /* Homepage specific rules from prompt - MUST BE INCLUDED */
  .page-contact__home-hero {display:grid;grid-template-columns:26% 48% 26%;align-items:stretch;max-width:1280px;margin:0 auto;padding-bottom:24px;}
  .page-contact__hero-brand,.page-contact__hero-jackpot,.page-contact__game-trial{height:300px;max-height:300px;}
  .page-contact__game-trial{overflow:hidden;}
  .page-contact__game-trial-shell{display:flex;flex-direction:column;height:100%;}
  .page-contact__game-trial-viewport{flex:1;min-height:0;}
  .page-contact__game-trial-frame{height:100%;min-height:0;}
  .page-contact__hero-jackpot-claim{background:#c62828!important;}
  .page-contact__promo-strip{margin-top:16px;}
}

@media (max-width: 768px) {
  /* General mobile adaptations for Contact Us page */
  .page-contact__section-title {
    font-size: 28px;
  }
  .page-contact__section-intro {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-contact__hero-section {
    padding-top: 10px; /* Still small top padding */
    padding-bottom: 40px;
  }
  .page-contact__main-title {
    font-size: 2.2em; /* Adjust H1 for mobile, still not fixed large */
  }
  .page-contact__description {
    font-size: 16px;
  }

  /* Images responsiveness */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-contact__hero-image {
    max-height: 400px;
  }
  .page-contact__methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-contact__method-icon {
    max-width: 180px;
  }

  /* Form responsiveness */
  .page-contact__contact-form {
    padding: 20px;
  }
  .page-contact__form-input, .page-contact__form-textarea {
    font-size: 15px;
  }

  /* Buttons responsiveness */
  .page-contact__submit-button,
  .page-contact__method-button,
  .page-contact__cta-button,
  .page-contact__social-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__social-links {
    flex-direction: column;
    gap: 10px;
  }

  /* FAQ responsiveness */
  details.page-contact__faq-item summary.page-contact__faq-question {
    padding: 15px 20px;
  }
  .page-contact__faq-qtext {
    font-size: 16px;
  }
  .page-contact__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 20px 20px;
  }
  .page-contact__faq-answer p {
    font-size: 15px;
  }

  /* Ensure content containers don't overflow */
  .page-contact__container,
  .page-contact__contact-form-section,
  .page-contact__methods-section,
  .page-contact__faq-section,
  .page-contact__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* The following rules are from the prompt's `css` field output example, and are included as per instructions, despite being homepage-specific. */
.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;}