.page-contact {
  background: #0A0A0A; /* Background color from custom palette */
  color: #FFF6D6; /* Text Main color from custom palette for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding as per instruction */
}

.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;
  color: #F2C14E; /* Main color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
  padding: 0 0 40px; /* Adjust padding for content below image */
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 1) 100%);
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height of hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and text */
}

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

.page-contact__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-contact__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  color: #F2C14E;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.page-contact__hero-description {
  font-size: 1.15rem;
  color: #FFF6D6;
  margin-bottom: 30px;
}

/* Contact Form Section */
.page-contact__form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__form-image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 8px;
}

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

.page-contact__contact-form {
  display: flex;
  flex-direction: column;
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #FFF6D6; /* Text Main color */
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 5px;
  background: #0A0A0A; /* Darker background for input */
  color: #FFF6D6; /* Text Main color */
  font-size: 16px;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 246, 214, 0.6); /* Lighter placeholder color */
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #F2C14E; /* Main color on focus */
  box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.3);
}

/* Buttons */
.page-contact__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #0A0A0A; /* Dark text on bright button */
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-contact__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-contact__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color for text */
  border: 2px solid #F2C14E; /* Main color for border */
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-contact__btn-secondary:hover {
  background: #F2C14E; /* Main color for hover background */
  color: #0A0A0A; /* Dark text on bright button */
  box-shadow: 0 2px 10px rgba(242, 193, 78, 0.3);
}

.page-contact__btn-large {
    padding: 15px 30px;
    font-size: 20px;
}

/* Quick Support Section */
.page-contact__quick-support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-contact__support-card {
  background: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__support-card-image {
  width: 100%;
  max-width: 300px; /* Limit image width */
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-contact__support-card-title {
  font-size: 24px;
  color: #FFD36B; /* Glow color for sub-titles */
  margin-bottom: 15px;
}

.page-contact__support-card-description {
  font-size: 16px;
  color: #FFF6D6; /* Text Main color */
  margin-bottom: 25px;
  flex-grow: 1; /* Make description take available space */
}

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

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

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border color */
  overflow: hidden;
  background: #111111; /* Card BG color */
}
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: #FFF6D6; /* Text Main color */
}
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(242, 193, 78, 0.1); /* Light hover effect */
}
.page-contact__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6; /* Text Main color */
}
.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Main color for toggle */
  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: rgba(17, 17, 17, 0.8); /* Slightly lighter background for answer */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6; /* Text Main color */
}
.page-contact__faq-answer p {
    margin: 0;
    padding-top: 10px;
}
.page-contact__faq-answer a {
    color: #F2C14E; /* Main color for links */
    text-decoration: none;
}
.page-contact__faq-answer a:hover {
    text-decoration: underline;
}

.page-contact__faq-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Call to Action Section */
.page-contact__call-to-action {
  padding: 80px 0;
  background: linear-gradient(90deg, #F2C14E, #FFD36B); /* Gradient background */
  text-align: center;
  color: #0A0A0A; /* Dark text on bright background */
}

.page-contact__cta-content .page-contact__section-title {
  color: #0A0A0A; /* Dark title on bright background */
  margin-bottom: 20px;
}

.page-contact__cta-content .page-contact__section-description {
  color: #0A0A0A; /* Dark description on bright background */
  margin-bottom: 40px;
}

/* Responsive styles for images and buttons (general) */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-container { /* If I had a button group */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Homepage-specific media queries (as per instruction, must be included) */
@media (max-width: 1023px) {
  .page-contact__home-hero { /* Placeholder for homepage 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, /* Placeholder for homepage hero elements */
  .page-contact__hero-jackpot {
    display: none !important;
  }
  .page-contact__game-trial { /* Placeholder for homepage 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 { /* Placeholder for homepage 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, /* Placeholder for homepage game trial elements */
  .page-contact__game-trial-bottombar {
    display: none !important;
  }
  .page-contact__game-trial-viewport { /* Placeholder for homepage 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 { /* Placeholder for homepage game trial iframe */
    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 { /* Placeholder for homepage game trial overlay */
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-contact__game-trial-start { /* Placeholder for homepage game trial start button */
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-contact__home-hero { /* Placeholder for homepage 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, /* Placeholder for homepage hero elements */
  .page-contact__hero-jackpot,
  .page-contact__game-trial { /* Placeholder for homepage game trial */
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-contact__game-trial { /* Placeholder for homepage game trial */
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-contact__game-trial-shell { /* Placeholder for homepage game trial shell */
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-contact__game-trial-viewport { /* Placeholder for homepage game trial viewport */
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-contact__game-trial-frame { /* Placeholder for homepage game trial iframe */
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-contact__hero-jackpot-claim { /* Placeholder for homepage hero jackpot claim */
    background: #c62828 !important;
    color: #fff !important;
  }
  /* No promo/hot-games/brand-intro/winner-ticker here as this is contact.css, not index.css */
}

/* Mobile-specific styles (max-width: 768px) */
@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
    padding-top: 8px;
  }

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

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

  .page-contact__section-description {
    font-size: 16px;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .page-contact__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 20px;
  }

  .page-contact__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    padding: 0 10px;
  }

  .page-contact__hero-description {
    font-size: 1rem;
    padding: 0 10px;
    margin-bottom: 20px;
  }

  .page-contact__form-grid {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }

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

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

  .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__quick-support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__support-card {
    padding: 20px;
  }

  .page-contact__support-card-image {
    max-width: 200px;
  }

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

  .page-contact__support-card-description {
    font-size: 15px;
  }

  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;
  }
  details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 15px 15px;
  }

  .page-contact__faq-image {
    margin-top: 20px;
  }

  .page-contact__call-to-action {
    padding: 50px 0;
  }

  /* Universal image responsive styles for mobile */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__form-grid,
  .page-contact__quick-support-grid,
  .page-contact__faq-list,
  .page-contact__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Buttons container mobile adaptation */
  .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;
  }
}