/* Boilerplate CSS for homepage sections, as strictly required by prompt, even if not directly used on this 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;
  }
}

/* General contact page styles */
.page-contact {
  background: #140C0C;
  color: #FFF1E8;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-contact__hero-section {
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  background: #140C0C;
}

.page-contact__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-contact__main-title {
  font-size: 48px;
  font-weight: bold;
  color: #F3C54D;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__intro-text {
  font-size: 18px;
  color: #FFF1E8;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-contact__section-title {
  font-size: 36px;
  color: #F3C54D;
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 16px;
  color: #FFF1E8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-contact__contact-methods {
  padding: 60px 0;
  background: #2A1212;
}

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

.page-contact__method-card {
  background: #140C0C;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-contact__method-title {
  font-size: 24px;
  color: #FFB04A;
  margin-bottom: 15px;
}

.page-contact__method-description {
  font-size: 15px;
  color: #FFF1E8;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__hotline-number {
  font-size: 20px;
  font-weight: bold;
  color: #FFB04A;
  margin-top: 15px;
}

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

.page-contact__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #C61F1F;
  color: #FFF1E8;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__social-icon:hover {
  background: #E53030;
}

.page-contact__form-section {
  padding: 60px 0;
  background: #140C0C;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

.page-contact__form-label {
  display: block;
  font-size: 16px;
  color: #FFB04A;
  margin-bottom: 8px;
  font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #7E0D0D;
  border-radius: 5px;
  background: #0D0606;
  color: #FFF1E8;
  font-size: 15px;
  box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #FFB04A;
  box-shadow: 0 0 0 3px rgba(255, 176, 74, 0.3);
}

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

.page-contact__btn-primary {
  display: inline-block;
  padding: 14px 30px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: #FFF1E8;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #FFC06A 0%, #E87A24 100%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.page-contact__submit-button {
  width: auto;
  margin-top: 15px;
}

.page-contact__commitment-section {
  padding: 60px 0;
  background: #2A1212;
}

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

.page-contact__commitment-item {
  background: #140C0C;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__commitment-title {
  font-size: 22px;
  color: #FFB04A;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__commitment-text {
  font-size: 15px;
  color: #FFF1E8;
}

.page-contact__faq-section {
  padding: 60px 0;
  background: #140C0C;
}

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

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E;
  overflow: hidden;
  background: #2A1212;
  box-shadow: 0 2px 8px 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 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFB04A;
}

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: #3A1A1A;
}

.page-contact__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D;
  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: #1A0D0D;
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
}

.page-contact__faq-answer p {
  margin: 0;
  padding: 0;
}

.page-contact a {
  color: #FFB04A;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact a:hover {
  color: #F3C54D;
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 1023px) {
  /* Homepage specific elements are handled by the boilerplate above */
}

@media (min-width: 1024px) {
  /* Homepage specific elements are handled by the boilerplate above */
}

@media (max-width: 768px) {
  .page-contact__container {
    padding: 15px;
  }
  
  .page-contact__main-title {
    font-size: 36px;
    padding: 0 10px;
  }

  .page-contact__intro-text {
    font-size: 16px;
    padding: 0 10px;
  }

  .page-contact__section-title {
    font-size: 28px;
  }

  .page-contact__section-description {
    font-size: 15px;
    padding: 0 10px;
  }

  .page-contact__method-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__contact-form {
    padding: 25px;
  }

  .page-contact__form-label {
    font-size: 15px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    font-size: 14px;
    padding: 10px 12px;
  }

  .page-contact__btn-primary {
    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__submit-button {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .page-contact__commitment-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__commitment-title {
    font-size: 20px;
  }

  .page-contact__commitment-text {
    font-size: 14px;
  }

  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;
    margin-left: 10px;
  }

  details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 15px 15px;
  }

  /* Mobile image overflow prevention */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__section,
  .page-contact__card,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button overflow prevention */
  .page-contact__cta-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;
  }
  
  .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;
  }
}

/* Boilerplate for homepage sections (e.g., promo-strip, hot-games, winner-ticker) if they were present */
.page-contact__promo-strip-track { /* Placeholder for promo strip if it existed */ }
.page-contact__hot-games-grid { /* Placeholder for hot games if it existed */ }
.page-contact__brand-intro { /* Placeholder for brand intro if it existed */ }
.page-contact__winner-ticker { /* Placeholder for winner ticker if it existed */ }

/* Reward Modal styles (boilerplate, as strictly required) */
.page-contact__reward-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-contact__reward-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.page-contact__reward-modal-content {
  background: #2A1212;
  color: #FFF1E8;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-contact__reward-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  color: #FFB04A;
  cursor: pointer;
  line-height: 1;
}

.page-contact__reward-modal-title {
  font-size: 28px;
  color: #F3C54D;
  margin-bottom: 15px;
}

.page-contact__reward-modal-text {
  font-size: 16px;
  margin-bottom: 25px;
}

.page-contact__reward-modal-button {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.page-contact__reward-modal-button:hover {
  background: linear-gradient(180deg, #FFC06A 0%, #E87A24 100%);
}