/* General styles for the support page */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light background */
  background-color: #f9f9f9; /* Light background for the page */
  padding-bottom: 20px; /* Ensure space above footer */
}

/* Container for content */
.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Section titles */
.page-support__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #017439; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 15px;
  padding-top: 40px;
}

.page-support__section-intro {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #ffffff;
}

.page-support__hero-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  margin-bottom: 30px;
}

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

.page-support__main-title {
  font-size: 44px;
  font-weight: 800;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-support__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-support__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-support__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
  margin-left: 20px;
}

.page-support__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
  border-color: #005a2e;
}

.page-support__btn-text {
  color: #017439;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-support__btn-text:hover {
  color: #005a2e;
  text-decoration: underline;
}

/* Dark Section styling */
.page-support__dark-section {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 0;
}
.page-support__dark-section .page-support__section-title {
  color: #ffffff;
}
.page-support__dark-section .page-support__section-intro {
  color: #f0f0f0;
}

/* Channels Section */
.page-support__channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-support__channel-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-support__channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-support__channel-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  max-height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
  min-width: 200px;
  min-height: 200px;
}

.page-support__channel-title {
  font-size: 24px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
}

.page-support__channel-description {
  font-size: 16px;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-support__channel-card .page-support__btn-secondary {
  margin-left: 0;
  width: auto; /* Override default button width for card */
  min-width: 180px;
  max-width: 100%;
}

/* Troubleshooting Section */
.page-support__troubleshooting-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-support__guide-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-support__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

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

.page-support__guide-description {
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Commitment Section */
.page-support__commitment-section {
  padding: 60px 0;
}

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

.page-support__commitment-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-support__commitment-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  max-height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-support__commitment-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* Contact Form Section */
.page-support__contact-form-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-support__contact-form {
  max-width: 600px;
  margin: 0 auto 30px;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.page-support__form-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 8px;
}

.page-support__form-input,
.page-support__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 16px;
  color: #333333;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-support__form-input:focus,
.page-support__form-textarea:focus {
  border-color: #017439;
  box-shadow: 0 0 0 3px rgba(1, 116, 57, 0.2);
  outline: none;
}

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

.page-support__contact-form .page-support__btn-primary {
  width: auto;
  padding: 12px 25px;
  font-size: 16px;
}

.page-support__alternative-contact {
  text-align: center;
  font-size: 16px;
  color: #555555;
}

.page-support__text-link {
  color: #017439;
  text-decoration: none;
  font-weight: 600;
}

.page-support__text-link:hover {
  text-decoration: underline;
  color: #005a2e;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
  background-color: #017439; /* Dark background for FAQ */
  color: #ffffff; /* Light text for dark background */
}

.page-support__faq-section .page-support__section-title {
  color: #ffffff;
}
.page-support__faq-section .page-support__section-intro {
  color: #f0f0f0;
}

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2); /* Lighter border for dark background */
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05); /* Slightly visible background for items */
}
details.page-support__faq-item summary.page-support__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: #ffffff; /* White text for question */
}
details.page-support__faq-item summary.page-support__faq-question::-webkit-details-marker {
  display: none;
}
details.page-support__faq-item summary.page-support__faq-question:hover {
  background: rgba(255, 255, 255, 0.1); /* Lighter hover background */
}
.page-support__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #ffffff;
}
.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-support__faq-item .page-support__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.1); /* Darker background for answer */
  border-radius: 0 0 5px 5px;
  color: #f0f0f0; /* Light text for answer */
}
details.page-support__faq-item .page-support__faq-answer p {
  font-size: 16px;
  margin-bottom: 0;
}

/* CTA Section */
.page-support__cta-section {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-support__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__cta-buttons .page-support__btn-primary,
.page-support__cta-buttons .page-support__btn-secondary {
  flex-grow: 1;
  min-width: 200px;
}

/* Copyright Info */
.page-support__copyright-info {
  text-align: center;
  padding: 20px 15px;
  background-color: #017439;
  color: #ffffff;
  font-size: 14px;
}

/* --- Responsive Styles --- */
/* Mobile images and containers */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-support__hero-image {
  min-width: 200px;
  min-height: 200px;
}

@media (max-width: 1023px) {
  .page-support__main-title {
    font-size: 38px;
  }
  .page-support__hero-description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-support__main-title {
    font-size: 28px;
  }
  .page-support__hero-description {
    font-size: 16px;
  }
  .page-support__section-title {
    font-size: 26px;
    padding-top: 30px;
  }
  .page-support__section-intro {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Images */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-support__channel-icon,
  .page-support__commitment-icon {
    min-width: 100% !important; /* Override min-width for mobile to fit container */
    max-width: 100% !important;
    height: auto !important;
    min-height: 150px !important; /* Still ensure minimum height */
  }

  /* Containers */
  .page-support__section,
  .page-support__card,
  .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons */
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support a[class*="button"],
  .page-support 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: 12px 15px; /* Adjust padding for mobile */
    font-size: 16px;
    margin-left: 0 !important; /* Remove margin-left for stacked buttons */
  }
  
  .page-support__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px; /* Space between stacked buttons */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Cards */
  .page-support__channel-card,
  .page-support__guide-card,
  .page-support__commitment-item {
    padding: 20px;
  }

  /* FAQ */
  details.page-support__faq-item summary.page-support__faq-question { padding: 15px; }
  .page-support__faq-qtext { font-size: 16px; }
  details.page-support__faq-item .page-support__faq-answer { padding: 0 15px 15px; }

  /* Contact Form */
  .page-support__contact-form {
    padding: 25px;
  }
}

/* Ensure minimum image size for content areas as per rules, overriding smaller defaults if any */
.page-support__channel-icon {
  min-width: 200px;
  min-height: 200px;
}
.page-support__commitment-icon {
  min-width: 200px;
  min-height: 200px;
}

/* --- Homepage-specific CSS (verbatim as required by prompt, even if not used on this page) --- */
@media (max-width: 1023px) {
  .page-support__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-support__hero-brand,
  .page-support__hero-jackpot {
    display: none !important;
  }
  .page-support__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-support__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-support__game-trial-topbar,
  .page-support__game-trial-bottombar {
    display: none !important;
  }
  .page-support__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-support__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-support__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-support__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-support__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-support__hero-brand,
  .page-support__hero-jackpot,
  .page-support__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-support__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-support__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-support__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-support__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-support__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

/* Additional homepage-related sections as required by prompt, even if not used */
@media (max-width: 768px) {
  /* Placeholder for __promo-strip mobile styles */
  .page-support__promo-strip-track {
    grid-template-columns: repeat(1, 1fr) !important; /* Example: single column on mobile */
    overflow-x: hidden !important;
  }
  .page-support__promo-card img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-support__promo-card-content {
    flex-direction: column !important;
    text-align: center;
  }

  /* Placeholder for __hot-games mobile styles */
  .page-support__hot-games-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
  }
  .page-support__hot-games-item img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-support__hot-games-name,
  .page-support__hot-games-rtp,
  .page-support__hot-games-desc {
    display: none !important;
  }

  /* Placeholder for __brand-intro mobile styles (if present on homepage) */
  .page-support__brand-intro {
    padding: 20px 15px;
  }
  .page-support__brand-intro-content {
    flex-direction: column;
    text-align: center;
  }

  /* Placeholder for __winner-ticker mobile styles (if present on homepage) */
  .page-support__winner-ticker {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    padding: 10px 0 !important;
  }
  body {
    padding-bottom: 50px; /* Adjust body padding for fixed ticker */
  }
  main.page-content {
    padding-bottom: 50px; /* Adjust main content padding for fixed ticker */
  }
}

/* Default styles for game trial overlay and modal, as required */
.page-support__game-trial-overlay{
  z-index:5;
  pointer-events:auto;
}
.page-support__game-trial-overlay.is-hidden{
  display:none!important;
  pointer-events:none!important;
}
.page-support__game-trial-start{
  z-index:6;
  pointer-events:auto;
  touch-action:manipulation;
}
.page-support__game-trial-shell{
  border:1px solid rgba(212,175,55,.45);
  border-radius:10px;
  overflow:hidden;
}
.page-support__reward-modal{
  position:fixed;
  inset:0;
  z-index:10000;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-sizing: border-box;
}
.page-support__reward-modal[hidden] {
  display: none;
}
.page-support__reward-modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 100%;
  position: relative;
  color: #333;
}
.page-support__reward-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}
.page-support__reward-modal-title {
  font-size: 24px;
  color: #017439;
  margin-bottom: 15px;
}
.page-support__reward-modal-text {
  font-size: 16px;
  margin-bottom: 20px;
}
.page-support__reward-modal-button {
  background-color: #017439;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}