/* -------------------------------------------------- */
/* --- Global/Shared styles for .page-contact --- */
/* -------------------------------------------------- */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Text Main */
  background-color: #F5F7FA; /* Background */
}

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

.page-contact__section-spacing {
  padding: 40px 0;
}

.page-contact__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #E53935; /* Main color */
  text-align: center;
  margin-bottom: 15px;
}

.page-contact__section-title--light {
  color: #ffffff;
}

.page-contact__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #333333;
}

.page-contact__section-description--light {
  color: #f0f0f0;
}

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

.page-contact a:hover {
  color: #FF5A4F;
}

/* -------------------------------------------------- */
/* --- Buttons --- */
/* -------------------------------------------------- */
.page-contact__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button gradient */
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* -------------------------------------------------- */
/* --- Hero Section --- */
/* -------------------------------------------------- */
.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  background-color: #F5F7FA;
}

.page-contact__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

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

.page-contact__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #E53935;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 19px;
  color: #333333;
  margin-bottom: 20px;
}

/* -------------------------------------------------- */
/* --- Contact Methods Section --- */
/* -------------------------------------------------- */
.page-contact__contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
}

.page-contact__method-card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-contact__method-icon {
  width: 100%;
  height: auto;
  max-width: 250px; /* Adjust as needed */
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
}

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

.page-contact__method-text {
  font-size: 16px;
  color: #333333;
  margin-bottom: 25px;
}

.page-contact__method-button {
  width: 100%;
}

/* -------------------------------------------------- */
/* --- Contact Form Section --- */
/* -------------------------------------------------- */
.page-contact__form-section {
  background: #E53935; /* Main color */
  color: #ffffff;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.page-contact__form-label {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 600;
}

.page-contact__form-label--light {
  color: #ffffff;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  font-size: 16px;
  box-sizing: border-box;
}

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

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

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

.page-contact__form-submit {
  width: auto;
  min-width: 150px;
  margin-top: 10px;
}

/* -------------------------------------------------- */
/* --- Commitment Section --- */
/* -------------------------------------------------- */
.page-contact__commitment-section {
  background-color: #F5F7FA;
}

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

.page-contact__commitment-item {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-contact__commitment-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__commitment-heading {
  font-size: 22px;
  color: #E53935;
  margin-bottom: 15px;
}

.page-contact__commitment-text {
  font-size: 16px;
  color: #333333;
}

.page-contact__closing-statement {
  font-size: 18px;
  text-align: center;
  margin-top: 50px;
  font-weight: 600;
  color: #333333;
}

/* -------------------------------------------------- */
/* --- FAQ Section --- */
/* -------------------------------------------------- */
details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #E0E0E0; /* Border */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

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

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

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #E53935;
  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 8px 8px;
  color: #333333;
}

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

/* -------------------------------------------------- */
/* --- Responsive Design --- */
/* -------------------------------------------------- */
@media (max-width: 1023px) {
  /* Placeholder for home-hero specific overrides if this were index.html */
  /* As this is contact.html, these are not directly relevant but included for completeness if the template were reused */
  .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) {
  /* Placeholder for home-hero specific overrides if this were index.html */
  /* As this is contact.html, these are not directly relevant but included for completeness if the template were reused */
  .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;
  }
}

@media (max-width: 768px) {
  .page-contact__section-title {
    font-size: 26px;
  }
  .page-contact__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Hero Section */
  .page-contact__main-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-contact__hero-description {
    font-size: 16px;
  }

  /* Contact Methods */
  .page-contact__contact-methods {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-contact__method-card {
    padding: 25px;
  }
  .page-contact__method-title {
    font-size: 20px;
  }
  .page-contact__method-text {
    font-size: 15px;
  }

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

  /* Commitment Section */
  .page-contact__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-contact__commitment-item {
    padding: 25px;
  }
  .page-contact__commitment-heading {
    font-size: 20px;
  }
  .page-contact__commitment-text {
    font-size: 15px;
  }
  .page-contact__closing-statement {
    font-size: 16px;
    margin-top: 30px;
  }

  /* FAQ Section */
  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;
  }

  /* Universal image & container responsive rules */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-image-container,
  .page-contact__contact-form {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Buttons */
  .page-contact__btn-primary,
  .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;
  }
}

/* Placeholder for shared.css body padding-top, if not handled there */
/* body { padding-top: var(--header-offset); } */

/* Game trial related styles (copied from template for completeness, not used on contact page) */
.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.is-hidden {
  display: none !important;
  pointer-events: none !important;
}
.page-contact__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #E53935;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}