/* -------------------------------------------------------------------------- */
/*                                 Base Styles                                */
/* -------------------------------------------------------------------------- */
.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff;
}

.page-support__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

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

.page-support__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 15px;
}

.page-support__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-support__text-center {
  text-align: center;
}

.page-support__ordered-list,
.page-support__bullet-list {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-support__ordered-list li,
.page-support__bullet-list li {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-support__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* -------------------------------------------------------------------------- */
/*                                 Hero Section                               */
/* -------------------------------------------------------------------------- */
.page-support__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background: linear-gradient(135deg, #017439, #005a2e);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-support__main-title {
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-support__hero-description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-support__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.page-support__hero-image-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 30px;
}

.page-support__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-support__btn-primary {
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-support__btn-primary:hover {
  background: #a80707;
  border-color: #a80707;
  transform: translateY(-2px);
}

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

.page-support__btn-secondary:hover {
  background: #f0f0f0;
  color: #005a2e;
  border-color: #005a2e;
  transform: translateY(-2px);
}

.page-support__btn-text-only {
  background: none;
  color: #017439;
  border: 2px solid #017439;
  padding: 10px 20px;
  font-size: 16px;
}

.page-support__btn-text-only:hover {
  background: #017439;
  color: #ffffff;
}

.page-support__cta-buttons--inline {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* -------------------------------------------------------------------------- */
/*                                Quick Links                                 */
/* -------------------------------------------------------------------------- */
.page-support__quick-links {
  background-color: #f8f8f8;
  border-bottom: 1px solid #eeeeee;
}

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

.page-support__link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 20px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-size: 18px;
  font-weight: 600;
  color: #017439;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-support__link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
  color: #005a2e;
  border-color: #005a2e;
}

/* -------------------------------------------------------------------------- */
/*                                 FAQ Section                                */
/* -------------------------------------------------------------------------- */
.page-support__faq-section {
  background: linear-gradient(135deg, #005a2e, #017439);
  color: #ffffff;
}

.page-support__faq-section .page-support__section-title,
.page-support__faq-section .page-support__section-description {
  color: #ffffff;
}

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

details.page-support__faq-item summary.page-support__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;
  color: #ffffff;
}

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

.page-support__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFFF00; /* Highlight toggle icon */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-support__faq-item .page-support__faq-answer {
  padding: 0 25px 20px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0 0 8px 8px;
  color: #f0f0f0;
}

.page-support__faq-answer p {
  margin-bottom: 0;
  font-size: 16px;
}

/* -------------------------------------------------------------------------- */
/*                                 Other Sections                             */
/* -------------------------------------------------------------------------- */
.page-support__light-bg {
  background-color: #f8f8f8;
}

.page-support__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-support__dark-bg .page-support__section-title,
.page-support__dark-bg .page-support__sub-title {
  color: #ffffff;
}

.page-support__contact-methods p {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-support__final-cta-section {
  padding-bottom: 60px;
}

/* -------------------------------------------------------------------------- */
/*                               Responsive Styles                            */
/* -------------------------------------------------------------------------- */

/* Mobile-first approach, applying base styles, then overriding for larger screens */

/* All images basic responsive */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All buttons basic responsive */
.page-support__cta-button,
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support a[class*="button"],
.page-support a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Button containers basic responsive */
.page-support__cta-buttons,
.page-support__button-group,
.page-support__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 1023px) {
  /* Placeholder for common homepage hero reset, not strictly needed for inner page but required by prompt */
  .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) {
  /* Placeholder for common homepage hero three-column layout, not strictly needed for inner page but required by prompt */
  .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;
  }
  .page-support__promo-strip { /* Placeholder, assuming promo-strip from homepage */
    margin-top: 16px;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding-top: 10px;
    padding-bottom: 20px;
  }

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

  .page-support__hero-description {
    font-size: 16px;
  }

  .page-support__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    padding: 10px 20px;
    font-size: 16px;
  }

  .page-support__section-title {
    font-size: 26px;
  }

  .page-support__section-description {
    font-size: 16px;
  }

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

  .page-support__links-grid {
    grid-template-columns: 1fr;
  }

  .page-support__link-card {
    font-size: 16px;
    padding: 18px 15px;
  }

  details.page-support__faq-item summary.page-support__faq-question {
    padding: 15px;
  }

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

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

  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 15px 15px;
  }

  .page-support p,
  .page-support li {
    font-size: 15px;
  }

  /* Mobile image adaptation */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  /* Mobile button adaptation */
  .page-support__cta-button,
  .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-left: 15px;
    padding-right: 15px;
  }

  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__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-support__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  /* Placeholder for promo-strip (if it were on this page) */
  .page-support__promo-strip-track {
    grid-template-columns: repeat(2, 1fr); /* Example for mobile, 2 columns */
    overflow-x: hidden;
  }

  /* Placeholder for hot-games (if it were on this page) */
  .page-support__hot-games-grid {
    grid-template-columns: repeat(2, 1fr); /* Example for mobile, 2 columns */
  }
}

/* Common overlay/modal styles (required by prompt) */
.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;display:flex;justify-content:center;align-items:center;background:rgba(0,0,0,0.7);visibility:hidden;opacity:0;transition:opacity 0.3s ease, visibility 0.3s ease;}.page-support__reward-modal[aria-hidden="false"]{visibility:visible;opacity:1;}.page-support__reward-modal-content{background:#fff;padding:30px;border-radius:10px;text-align:center;position:relative;max-width:400px;width:90%;box-shadow:0 5px 15px rgba(0,0,0,0.3);}.page-support__reward-modal-close{position:absolute;top:10px;right:10px;background:none;border:none;font-size:24px;cursor:pointer;color:#333;}.page-support__reward-modal-title{font-size:24px;color:#017439;margin-bottom:15px;}.page-support__reward-modal-text{font-size:16px;color:#555;margin-bottom:20px;}
.page-support--reward-open { overflow: hidden; }