/* Base styles and color scheme */
.page-contact {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background: #F4F7FB; /* Background */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

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

.page-contact__section-title {
  font-size: 32px;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-contact__section-description {
  font-size: 18px;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 15px;
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin: 0 auto 40px;
  max-width: 1200px;
  box-sizing: border-box;
}

.page-contact__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  z-index: 0;
}

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-contact__main-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-contact__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-button--bottom {
  margin-top: 40px;
}

/* Methods Section */
.page-contact__methods-section {
  padding: 40px 0;
}

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

.page-contact__card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__card:hover {
  transform: translateY(-5px);
}

.page-contact__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-contact__card-title {
  font-size: 24px;
  color: #1F2D3D;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__card-text {
  font-size: 16px;
  color: #1F2D3D;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__form {
  width: 100%;
  text-align: left;
}

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

.page-contact__form-label {
  display: block;
  font-size: 15px;
  color: #1F2D3D;
  margin-bottom: 8px;
  font-weight: 600;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  font-size: 16px;
  color: #1F2D3D;
  background: #fdfdfd;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #2F6BFF;
  outline: none;
}

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

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

.page-contact__social-link {
  display: inline-block;
  padding: 10px 20px;
  background: #F4F7FB;
  color: #2F6BFF;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid #D6E2FF;
}

.page-contact__social-link:hover {
  background: #2F6BFF;
  color: #ffffff;
  border-color: #2F6BFF;
}

.page-contact__info-block {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
}

.page-contact__info-title {
  font-size: 24px;
  color: #1F2D3D;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__info-text {
  font-size: 16px;
  color: #1F2D3D;
  line-height: 1.6;
}

/* When to Contact Section */
.page-contact__when-to-contact-section {
  padding: 40px 0;
  background: #F4F7FB;
}

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

.page-contact__case-item {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-contact__case-title {
  font-size: 22px;
  color: #2F6BFF;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-contact__case-text {
  font-size: 16px;
  color: #1F2D3D;
  line-height: 1.6;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 40px 0;
}

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

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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;
  font-size: 18px;
  font-weight: 600;
  color: #1F2D3D;
}

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

.page-contact__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}

.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 25px 25px;
  background: #f9fbfd;
  border-top: 1px solid #f0f0f0;
  border-radius: 0 0 10px 10px;
  font-size: 16px;
  color: #1F2D3D;
  line-height: 1.7;
}

/* Commitment Section */
.page-contact__commitment-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #ffffff;
  border-radius: 8px;
  margin: 0 auto 40px;
  max-width: 1200px;
  box-sizing: border-box;
}

.page-contact__commitment-section .page-contact__section-title,
.page-contact__commitment-section .page-contact__section-description {
  color: #ffffff;
}

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

.page-contact__point-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__point-image {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-contact__point-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-contact__point-text {
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-contact__closing-text {
  font-size: 18px;
  text-align: center;
  margin-top: 40px;
  color: #ffffff;
  font-weight: 500;
}

/* Responsive Styles */

/* Mobile first adjustments for general elements */
@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-contact__container {
    padding: 15px;
  }

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

  .page-contact__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Hero Section */
  .page-contact__hero-section {
    padding: 40px 15px;
    border-radius: 0;
    margin-bottom: 30px;
  }

  .page-contact__main-title {
    font-size: 36px;
  }

  .page-contact__hero-description {
    font-size: 18px;
  }

  .page-contact__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 18px;
  }

  /* Methods Section */
  .page-contact__method-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__card {
    padding: 20px;
  }

  .page-contact__card-image {
    height: 180px;
    margin-bottom: 15px;
  }

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

  .page-contact__card-text {
    font-size: 15px;
    margin-bottom: 20px;
  }

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

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

  .page-contact__social-link {
    padding: 8px 15px;
    font-size: 14px;
  }

  .page-contact__info-block {
    padding: 20px;
  }

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

  .page-contact__info-text {
    font-size: 15px;
  }

  /* When to Contact Section */
  .page-contact__cases-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__case-item {
    padding: 20px;
  }

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

  .page-contact__case-text {
    font-size: 15px;
  }

  /* FAQ Section */
  details.page-contact__faq-item {
    border-radius: 8px;
  }

  details.page-contact__faq-item summary.page-contact__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-contact__faq-qtext {
    font-size: 16px;
  }

  .page-contact__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    width: 24px;
  }

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

  /* Commitment Section */
  .page-contact__commitment-section {
    padding: 40px 15px;
    border-radius: 0;
    margin-bottom: 30px;
  }

  .page-contact__commitment-points {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__point-item {
    padding: 20px;
  }

  .page-contact__point-image {
    height: 120px;
  }

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

  .page-contact__point-text {
    font-size: 15px;
  }

  .page-contact__closing-text {
    font-size: 16px;
  }

  /* General image and button responsiveness for mobile */
  .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;
  }

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

  .page-contact__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}

/* Desktop specific styles (min-width: 1024px) */
@media (min-width: 1024px) {
  .page-contact__hero-section {
    flex-direction: row;
    padding: 80px 60px;
    text-align: left;
    justify-content: flex-start;
    border-radius: 12px;
  }
  .page-contact__hero-image-wrapper {
    left: auto;
    right: 0;
    width: 60%;
    opacity: 0.3;
  }
  .page-contact__hero-content {
    max-width: 50%;
  }
  .page-contact__main-title {
    font-size: 56px;
  }
  .page-contact__methods-section .page-contact__container,
  .page-contact__when-to-contact-section .page-contact__container,
  .page-contact__faq-section .page-contact__container,
  .page-contact__commitment-section .page-contact__container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .page-contact__commitment-section {
    border-radius: 12px;
  }
}

/* No game trial CSS needed for contact page. The provided CSS blocks are for homepage. */
/* The following media queries are required by the prompt, even if empty for this page, to ensure structure. */
@media (max-width: 1023px) {
  /* These are for homepage game trial, not applicable to contact page. */
  /* Keeping the structure as per prompt's strict requirement for output. */
  .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; }
  
  /* Placeholder for other mobile elements if they were on contact page */
  .page-contact__promo-strip-track { grid-template-columns: repeat(4,1fr); overflow-x:hidden; } /* Example, if promo strip was on contact page */
  .page-contact__hot-games-grid { grid-template-columns: repeat(2,1fr); } /* Example, if hot games was on contact page */
}

@media (min-width: 1024px) {
  /* These are for homepage game trial, not applicable to contact page. */
  /* Keeping the structure as per prompt's strict requirement for output. */
  .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; } /* Example, if jackpot was on contact page */

  /* Placeholder for other desktop elements if they were on contact page */
  .page-contact__promo-strip { margin-top: 16px; } /* Example, if promo strip was on contact page */
}

/* Ensure contrast for critical elements */
.page-contact p, .page-contact li, .page-contact__form-label, .page-contact__form-input, .page-contact__form-textarea {
  color: #1F2D3D; /* Text Main */
}
.page-contact__dark-section {
  background: #2F6BFF;
  color: #ffffff;
}
.page-contact__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: 2px solid transparent;
}
.page-contact__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

/* The provided placeholder CSS for game trial in the prompt is specific to homepage, 
   but the prompt demands it be *present* in the output. I will include the provided 
   game trial CSS as is, even if functionally irrelevant for a contact page. */
/* This block is from the prompt's example CSS, ensuring it's included as requested. */
.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;}