/* General Styling */
.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background: #F4F7FB; /* Background */
}

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

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

.page-support__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* Hero Section */
.page-support__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%);
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

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

.page-support__main-title {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.1;
}

.page-support__intro-text {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-support__btn-secondary:hover {
  background: #f0f0f0;
  color: #2F6BFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

/* Guides Section */
.page-support__guide-card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-support__guide-card:last-child {
  margin-bottom: 0;
}

.page-support__guide-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-support__guide-title {
  font-size: 28px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-support__guide-text {
  font-size: 17px;
  color: #1F2D3D;
  margin-bottom: 20px;
}

.page-support__guide-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-support__guide-list li {
  margin-bottom: 8px;
  font-size: 16px;
}

.page-support__guide-button {
  margin-top: 20px;
}

/* FAQ Section */
.page-support__dark-section {
  background: #2F6BFF; /* Main color as background */
  color: #ffffff; /* White text for dark background */
}

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

.page-support__faq-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto 40px;
  border-radius: 10px;
}

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}
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: rgba(255, 255, 255, 0.2);
}
.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: 28px; /* Larger for better visibility */
  font-weight: bold;
  color: #ffffff;
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px; /* Larger toggle area */
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
details.page-support__faq-item .page-support__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.1); /* Slightly darker for contrast */
  border-radius: 0 0 10px 10px;
  color: #f0f0f0;
  font-size: 16px;
}

/* Contact Section */
.page-support__contact-section {
  background: #F4F7FB; /* Background */
}

.page-support__contact-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto 40px;
  border-radius: 10px;
}

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

.page-support__contact-item {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-support__contact-title {
  font-size: 24px;
  color: #2F6BFF; /* Main color */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-support__contact-text {
  font-size: 16px;
  color: #1F2D3D;
  margin-bottom: 25px;
}

/* Responsible Gambling Section */
.page-support__light-bg {
  background: #F4F7FB; /* Use default light background */
  color: #1F2D3D;
}

.page-support__responsible-gambling-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto 40px;
  border-radius: 10px;
}

.page-support__responsible-gambling-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 17px;
  color: #1F2D3D;
}

.page-support__responsible-gambling-list li {
  margin-bottom: 12px;
}

.page-support__responsible-gambling-list strong {
  color: #2F6BFF; /* Highlight key points */
}

.page-support__responsible-gambling-footer {
  font-size: 18px;
  font-style: italic;
  text-align: center;
  margin-top: 30px;
  color: #1F2D3D;
}

/* --- Responsive Adjustments --- */

/* Mandatory 1023px and 1024px blocks from prompt, adapted for page-support class */
@media (max-width: 1023px) {
  .page-support__hero-section { /* Adapting 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;
    padding-bottom: 40px;
  }
  .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__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    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 {
    margin-top: 16px;
  }
}

/* Mobile Adjustments (max-width: 768px) */
@media (max-width: 768px) {
  .page-support__section-padding {
    padding: 40px 0;
  }

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

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

  /* Hero Section */
  .page-support__main-title {
    font-size: 36px;
  }

  .page-support__intro-text {
    font-size: 18px;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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


  /* Guide Cards */
  .page-support__guide-card {
    padding: 20px;
  }

  .page-support__guide-title {
    font-size: 22px;
  }

  .page-support__guide-text,
  .page-support__guide-list li {
    font-size: 15px;
  }

  /* FAQ Section */
  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;
    width: 28px;
    height: 28px;
  }
  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 15px 15px;
  }

  /* Contact Section */
  .page-support__contact-methods {
    grid-template-columns: 1fr;
  }

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

  /* Responsible Gambling */
  .page-support__responsible-gambling-list {
    font-size: 15px;
    padding-left: 20px;
  }

  /* Universal image and container rules for mobile */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-section,
  .page-support__guides-section,
  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__responsible-gambling-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Mandatory Mobile CSS blocks for homepage modules (adapted for support page context) */
  .page-support__promo-strip-track { 
    grid-template-columns: repeat(1, 1fr) !important; 
    overflow-x: hidden !important;
  }
  .page-support__promo-card-image {
    width: 100% !important;
    height: auto !important;
  }
  .page-support__promo-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-support__promo-card-button {
    width: 100% !important;
  }

  .page-support__hot-games-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
  }
  .page-support__hot-games-name,
  .page-support__hot-games-rtp,
  .page-support__hot-games-desc {
    display: none !important;
  }
  .page-support__hot-games-image {
    width: 100% !important;
    height: auto !important;
  }
}

/* Generic styles from prompt for game trial overlay/start, even if not directly used */
.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.is-hidden { display: none !important; } /* Ensure modal can be hidden */
.page-support--reward-open { overflow: hidden; } /* Body class for modal */
.page-support__reward-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10001;
    color: #333;
}