/* Base styles for the support page */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light body background */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

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

.page-support__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-support__btn-primary:hover {
  background: #1e87b9;
  border-color: #1e87b9;
}

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

.page-support__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87b9;
  border-color: #1e87b9;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0 60px;
  overflow: hidden;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-support__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  z-index: 2;
  max-width: 90%;
}

.page-support__main-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  color: #ffffff;
}

.page-support__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

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

/* Why Choose Us Section */
.page-support__why-choose-us {
  padding: 80px 0;
  background: #f9f9f9;
}

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

.page-support__feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-support__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-support__feature-text {
  font-size: 16px;
  color: #555555;
}

/* Contact Methods Section */
.page-support__contact-methods {
  padding: 80px 0;
  background: #26A9E0;
  color: #ffffff;
}

.page-support__contact-methods .page-support__section-title,
.page-support__contact-methods .page-support__section-description {
  color: #ffffff;
}

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

.page-support__method-card {
  background: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-support__method-title {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-support__method-text {
  font-size: 16px;
  margin-bottom: 25px;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
  background: #f9f9f9;
}

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

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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;
}
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: #f5f5f5;
}
.page-support__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* Responsible Gambling Section */
.page-support__responsible-gambling {
  padding: 80px 0;
  background: #26A9E0;
  color: #ffffff;
}

.page-support__responsible-gambling .page-support__section-title,
.page-support__responsible-gambling .page-support__section-description {
  color: #ffffff;
}

.page-support__responsible-gambling .page-support__btn-primary {
  background: #EA7C07; /* Login color for a distinct CTA */
  border-color: #EA7C07;
}

.page-support__responsible-gambling .page-support__btn-primary:hover {
  background: #c26600;
  border-color: #c26600;
}

/* Final CTA Section */
.page-support__final-cta {
  padding: 80px 0;
  background: #ffffff;
}

/* Responsive Styles */
@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;
  }

  /* Support page specific adjustments for tablet */
  .page-support__hero-content {
    max-width: 95%;
  }
  .page-support__main-title {
    font-size: 40px;
  }
  .page-support__hero-description {
    font-size: 18px;
  }
  .page-support__section-title {
    font-size: 30px;
  }
  .page-support__section-description {
    font-size: 16px;
  }
  .page-support__features-grid, .page-support__methods-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  /* Support page specific adjustments for desktop */
  .page-support__hero-section {
    padding: 40px 0 80px;
  }
  .page-support__hero-image {
    max-height: 600px;
  }
  .page-support__hero-content {
    max-width: 800px;
  }
  .page-support__main-title {
    font-size: 56px;
  }
  .page-support__hero-description {
    font-size: 22px;
  }
  .page-support__section-title {
    font-size: 40px;
  }
  .page-support__section-description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  /* Homepage specific overrides - included as per instruction */
  .page-support__promo-strip-track {
    grid-template-columns: repeat(4, 1fr);
    overflow-x: hidden;
  }
  .page-support__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Support page specific mobile adjustments */
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-support__hero-section {
    padding: 10px 0 40px;
  }
  .page-support__hero-image {
    max-height: 300px;
  }
  .page-support__hero-content {
    position: static; /* Reset absolute positioning for mobile */
    transform: none; /* Reset transform */
    padding: 20px 15px;
    color: #333333; /* Darker text for static content */
    background: #ffffff; /* White background for text section */
    width: 100%;
    box-sizing: border-box;
  }
  .page-support__hero-section .page-support__hero-image { /* Move image above text for mobile */
    order: -1; /* Place image before content */
    margin-bottom: 20px;
    filter: none; /* Remove filter if image is not background */
  }
  .page-support__main-title {
    font-size: 32px;
    margin-bottom: 10px;
    text-shadow: none;
    color: #26A9E0;
  }
  .page-support__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
    text-shadow: none;
    color: #555555;
  }
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-support__section-title {
    font-size: 28px;
  }
  .page-support__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-support__why-choose-us, .page-support__contact-methods, .page-support__faq-section, .page-support__responsible-gambling, .page-support__final-cta {
    padding: 40px 0;
  }
  .page-support__container {
    padding: 0 15px;
  }
  .page-support__feature-item, .page-support__method-card {
    padding: 20px;
  }
  .page-support__feature-title, .page-support__method-title {
    font-size: 20px;
  }
  .page-support__faq-qtext {
    font-size: 15px;
  }
  details.page-support__faq-item summary.page-support__faq-question { padding: 15px; }
  .page-support__faq-toggle { font-size: 20px; width: 24px; }
  details.page-support__faq-item .page-support__faq-answer { padding: 0 15px 15px; }

  /* General image and container responsive styles */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .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;
  }
  .page-support__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

/* Common styles for game trial shell and reward modal - included as per instruction */
.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;}
.page-support__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  z-index: 10001;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.page-support__reward-modal-close:hover { background: #eee; }
.page-support--reward-open { overflow: hidden; }
.page-support__dark-bg { background: #26A9E0; color: #ffffff; }
.page-support__light-bg { background: #ffffff; color: #333333; }
.page-support__dark-section { background: #26A9E0; color: #ffffff; }
.page-support__light-section { background: #f9f9f9; color: #333333; }