/* Base Styles for Page Support */
.page-support {
  background-color: var(--site-bg, #08160F);
  color: var(--text-main, #F2FFF6);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-support__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  background-color: #08160F;
}

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

.page-support__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main, #F2FFF6);
}

.page-support__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-secondary, #A7D9B8);
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
}

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

.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-support__btn-secondary {
  background: none;
  color: var(--primary-color, #11A84E);
  border: 2px solid var(--border-color, #2E7A4E);
  box-shadow: none;
}

.page-support__btn-secondary:hover {
  background: rgba(17, 168, 78, 0.1);
  transform: translateY(-2px);
}

.page-support__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: var(--text-main, #F2FFF6);
}

.page-support__section-description {
  font-size: 1.05rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-secondary, #A7D9B8);
}

.page-support__dark-section {
  background-color: var(--card-bg, #11271B);
}

/* Overview Section */
.page-support__overview-section, .page-support__security-section, .page-support__new-user-guide-section, .page-support__responsible-gaming-section, .page-support__contact-section, .page-support__faq-section, .page-support__conclusion-section {
  padding: 60px 0;
}

.page-support__overview-list, .page-support__security-features, .page-support__responsible-gaming-options, .page-support__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.page-support__overview-item, .page-support__feature-item, .page-support__option-item, .page-support__step-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-support__overview-heading, .page-support__feature-heading, .page-support__option-heading, .page-support__step-heading, .page-support__contact-heading {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--gold, #F2C14E);
}

.page-support__overview-item p, .page-support__feature-item p, .page-support__option-item p, .page-support__step-item p, .page-support__contact-card p {
  color: var(--text-secondary, #A7D9B8);
}

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

/* FAQ Section */
details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color, #2E7A4E);
  overflow: hidden;
  background: var(--card-bg, #11271B);
  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: var(--text-main, #F2FFF6);
}

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: var(--deep-green, #0A4B2C); /* Slightly darker hover */
}

.page-support__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main, #F2FFF6);
}

.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--glow, #57E38D);
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-support__faq-item .page-support__faq-answer {
  padding: 0 25px 25px;
  background: var(--background, #08160F);
  border-radius: 0 0 10px 10px;
  color: var(--text-secondary, #A7D9B8);
}

.page-support__faq-answer p {
  margin: 0;
  padding-top: 10px;
}

/* Contact Section */
.page-support__contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__contact-card {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-support__contact-card .page-support__cta-button {
  margin-top: 20px;
  width: 100%;
}

/* Conclusion Section */
.page-support__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-support__conclusion-section .page-support__cta-button {
  margin-top: 30px;
}

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

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

/* Mobile specific styles for Support page elements */
@media (max-width: 768px) {
  .page-support {
    font-size: 15px;
  }

  .page-support__hero-section {
    padding-bottom: 20px;
  }

  .page-support__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-support__intro-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-support__cta-button {
    padding: 12px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }

  .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;
    display: flex;
    flex-direction: column;
  }

  .page-support__section-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-support__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-support__overview-list, .page-support__security-features, .page-support__responsible-gaming-options, .page-support__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 0;
  }

  .page-support__overview-item, .page-support__feature-item, .page-support__option-item, .page-support__step-item {
    padding: 20px;
  }

  .page-support__overview-heading, .page-support__feature-heading, .page-support__option-heading, .page-support__step-heading, .page-support__contact-heading {
    font-size: 1.2rem;
  }

  .page-support__content-image {
    margin-top: 20px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-support__faq-qtext {
    font-size: 1rem;
  }

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

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

  .page-support__contact-methods {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  /* General image and container rules for mobile */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__container, .page-support__section, .page-support__card, .page-support__box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  /* Placeholder for homepage promo strip, hot games, brand intro, winner ticker - as requested by prompt */
  .page-support__promo-strip-track { /* This block would be for homepage, but included as per strict instruction */
    grid-template-columns: repeat(4,1fr);
    overflow-x:hidden;
  }
  .page-support__hot-games-grid { /* This block would be for homepage, but included as per strict instruction */
    grid-template-columns: repeat(2,1fr);
  }
  /* No explicit CSS for __brand-intro, __winner-ticker for 768px, as they are not on this page and the 1023px already hides brand/jackpot */
}

/* General Styles (Not homepage specific media queries) */
.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 var(--border-color, #2E7A4E);border-radius:10px;overflow:hidden;}.page-support__reward-modal{position:fixed;inset:0;z-index:10000;}

/* Color Contrast & Theming */
.page-support h1, .page-support h2, .page-support h3, .page-support h4, .page-support h5, .page-support h6 {
  color: var(--text-main, #F2FFF6);
}

.page-support a {
  color: var(--glow, #57E38D);
  text-decoration: none;
}

.page-support a:hover {
  text-decoration: underline;
}

/* Specific button colors for primary/secondary as requested */
.page-support__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-support__btn-secondary {
  background: none;
  color: var(--glow, #57E38D);
  border: 2px solid var(--glow, #57E38D);
}

/* Divider */
.page-support__divider {
  width: 100%;
  height: 1px;
  background-color: var(--divider, #1E3A2A);
  margin: 40px auto;
}