/* Base styles for .page-contact */
.page-contact {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

.page-contact__section {
  padding: 60px 20px;
  max-width: 1330px;
  margin: 0 auto;
}

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

.page-contact__section-title,
.page-contact__card-title,
.page-contact__cta-title {
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-title {
  font-size: 2.5em;
  line-height: 1.2;
}

.page-contact__section-description,
.page-contact__card-text,
.page-contact__cta-description {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1em;
  color: #FFF6D6; /* Text Main */
}

/* Hero Section */
.page-contact__hero-section {
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  position: relative;
  overflow: hidden;
}

.page-contact__hero-content-wrapper {
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  max-width: 1330px;
  margin: 0 auto;
}

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

.page-contact__hero-text-block {
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
}

.page-contact__main-title {
  color: #F2C14E; /* Main color */
  font-weight: bold;
  margin-bottom: 15px;
}

.page-contact__description {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for bright button */
  border: none;
}

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

.page-contact__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Main color border */
}

.page-contact__btn-secondary:hover {
  background: #F2C14E; /* Main color */
  color: #111111; /* Dark text for bright button */
}

/* Contact Form Section */
.page-contact__contact-form-section {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  margin-top: 40px;
  padding-bottom: 40px;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
  background-color: #0A0A0A; /* Background */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #888;
}

.page-contact__contact-form .page-contact__btn-primary {
  width: auto;
  margin: 0 auto;
  display: block;
}

/* Info Section */
.page-contact__info-section {
  background-color: #0A0A0A; /* Background */
}

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

.page-contact__info-card {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%; /* Ensure cards are same height */
}

.page-contact__info-card .page-contact__card-title {
  color: #FFD36B; /* Aux color / Glow */
  margin-bottom: 15px;
  font-size: 1.5em;
}

.page-contact__info-card .page-contact__card-text {
  color: #FFF6D6; /* Text Main */
  margin-bottom: 25px;
  flex-grow: 1; /* Push button to bottom */
}

.page-contact__info-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
}

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

.page-contact__social-icon {
  display: block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.page-contact__social-icon:hover {
  background-color: #F2C14E; /* Main color */
}

.page-contact__social-icon img {
  
  
  object-fit: contain;
}

/* FAQ Section */
.page-contact__faq-section {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  margin-top: 40px;
  padding-bottom: 40px;
}

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

.page-contact__faq-item {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  font-size: 1.1em;
  list-style: none; /* Hide default marker for details summary */
}

.page-contact__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate for open state */
}

.page-contact__faq-answer {
  padding: 0 25px 20px;
  color: #FFF6D6; /* Text Main */
  font-size: 1em;
}

/* CTA Section */
.page-contact__cta-section {
  background-color: #F2C14E; /* Main color for dark-bg */
  border-radius: 10px;
  margin-top: 40px;
  padding: 60px 20px;
}

.page-contact__cta-content {
  text-align: center;
}

.page-contact__cta-title {
  color: #111111; /* Dark text for bright background */
  margin-bottom: 20px;
}

.page-contact__cta-description {
  color: #111111; /* Dark text for bright background */
  margin-bottom: 40px;
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-contact__cta-buttons .page-contact__btn-primary,
.page-contact__cta-buttons .page-contact__btn-secondary {
  min-width: 200px; /* Ensure buttons are not too small */
}

/* Image responsive rules for general images */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default object-fit for content images */
}

/* Placeholder styles for sections not explicitly on contact page, but required for CSS output */
.page-contact__home-content {
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  margin-top: 40px;
  background-color: #111111;
  color: #FFF6D6;
  height: 650px; /* Placeholder height */
  overflow-y: auto;
}
.page-contact__row-games,
.page-contact__row-sport,
.page-contact__row-coop {
  background-color: #0A0A0A; /* Background */
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
}
.page-contact__games-title,
.page-contact__sport-title,
.page-contact__coop-title {
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 30px;
}
.page-contact__slider-wrapper {
  overflow: hidden;
  margin-bottom: 30px;
}
.page-contact__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  transition: transform 0.5s ease-in-out;
}
.page-contact__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
  background-color: #111111;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  text-align: center;
  padding-bottom: 15px;
}
.page-contact__game-slide img {
  width: 100%;
  
  object-fit: cover;
  margin-bottom: 10px;
}
.page-contact__game-slide h4 {
  color: #FFF6D6;
  font-size: 1.1em;
  margin-bottom: 10px;
}
.page-contact__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)); /* Desktop: 6 columns */
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 40px;
}
.page-contact__banner-item {
  background-color: #111111;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-contact__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}
.page-contact__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch; /* Ensure cards in a row have equal height */
}
.page-contact__blog-card {
  background-color: #111111;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-contact__blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.page-contact__blog-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.page-contact__blog-card-title {
  color: #F2C14E;
  font-size: 1.3em;
  margin-bottom: 10px;
  flex-grow: 1;
}
.page-contact__blog-card-text {
  color: #FFF6D6;
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 15px;
}
.page-contact__blog-card-link {
  display: inline-block;
  color: #FFD36B;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto; /* Push to bottom */
}
.page-contact__blog-card-link:hover {
  text-decoration: underline;
}
.page-contact__blog-slider {
  overflow: hidden;
  margin-bottom: 30px;
}
.page-contact__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}
.page-contact__blog-slide {
  flex: 0 0 calc(33.333% - 14px); /* For 3 items with 20px gap */
  max-width: calc(33.333% - 14px);
}
.page-contact__btn-outline {
  background: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E;
  margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__hero-image {
    height: 500px; /* Adjust for smaller screens */
  }
  .page-contact__grid-layout {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-contact__blog-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-contact__blog-slide {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__hero-section {
    padding-top: 10px !important; /* Small top padding, assuming body handles --header-offset */
  }
  .page-contact__hero-image {
    height: 300px; /* Further adjust for mobile */
    margin-bottom: 20px;
  }
  .page-contact__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em); /* Use clamp for H1 */
  }
  .page-contact__description {
    font-size: 1em;
  }
  .page-contact__section {
    padding: 40px 15px;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-description,
  .page-contact__card-text,
  .page-contact__cta-description {
    font-size: 0.95em;
  }

  /* Images */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__contact-form,
  .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 */
  .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-direction: column !important;
    gap: 15px;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
  }

  /* Placeholder for HERO main image area (already handled by .page-contact__hero-section) */
  /* Placeholder for long text gold frame area */
  .page-contact__home-content {
    height: auto;
    overflow-y: visible;
    padding: 20px 15px;
  }
  /* Placeholder for game carousel */
  .page-contact__slider-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-contact__game-slide {
    flex: 0 0 80%;
    max-width: 80%;
    scroll-snap-align: start;
  }
  /* Placeholder for partner brand six-grid */
  .page-contact__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .page-contact__banner-item img {
    
    
  }
  /* Placeholder for blog card area */
  .page-contact__blog-masonry {
    grid-template-columns: 1fr;
  }
  .page-contact__blog-card-image {
    height: 180px;
  }
  .page-contact__blog-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .page-contact__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-contact__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-contact__faq-answer {
    padding: 0 20px 15px;
  }
}