/* Homepage Trial Game CSS Boilerplate - Must be included as per instructions */
@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;
  }
}
/* End Homepage Trial Game CSS Boilerplate */

/* Common styles for page-support */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy); /* Body background is dark, use light text */
}

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

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

.page-support__section-description {
  font-size: 18px;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for hero image */
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content slightly over image for visual flow */
  background: rgba(8, 22, 43, 0.8); /* Deep Navy with transparency */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.page-support__main-title {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 800;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 18px;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 30px;
}

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

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

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-support__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E; /* Gold */
}

.page-support__btn-secondary:hover {
  background: #F2C14E;
  color: #10233F;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Dark Section */
.page-support__dark-section {
  background-color: #08162B; /* Deep Navy */
  padding: 60px 0;
}

/* About Section */
.page-support__about-section .page-support__section-title,
.page-support__about-section .page-support__section-description {
  color: #F3F8FF;
}

.page-support__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  text-align: center;
}

.page-support__feature-item {
  background: #10233F; /* Card BG */\  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-support__feature-item img {
  
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  border: 3px solid #F2C14E;
}

.page-support__feature-title {
  font-size: 24px;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-support__feature-item p {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
}

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

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

.page-support__contact-method {
  background: #10233F; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-support__contact-method img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #244D84;
}

.page-support__method-title {
  font-size: 24px;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-support__contact-method p {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
  background-color: #08162B;
}

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

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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: #F3F8FF; /* Text Main */
}

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(29, 95, 209, 0.1); /* Slightly lighter version of accent */
}

.page-support__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}

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

details.page-support__faq-item .page-support__faq-answer {
  padding: 0 25px 20px;
  background: rgba(16, 35, 63, 0.7); /* Slightly transparent Card BG */
  border-radius: 0 0 10px 10px;
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
}

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

/* Resources Section */
.page-support__resources-section {
  padding: 60px 0;
  background-color: #08162B;
}

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

.page-support__resource-card {
  background: #10233F; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-support__resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-support__resource-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #244D84;
}

.page-support__resource-title {
  font-size: 22px;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-support__resource-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-support__resource-card p {
  font-size: 15px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

/* CTA Section */
.page-support__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #113B7A; /* Main color */
}

.page-support__cta-section .page-support__section-title,
.page-support__cta-section .page-support__section-description {
  color: #F3F8FF;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-support__container {
    padding: 15px;
  }

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

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

  .page-support__hero-content {
    padding: 30px 15px;
    margin-top: -60px;
  }

  .page-support__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }

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

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

  .page-support__hero-section .page-support__cta-button {
    margin-left: auto;
    margin-right: auto;
  }

  .page-support__feature-item {
    padding: 20px;
  }

  .page-support__feature-item img {
    
  }

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

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

  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: 24px;
  }

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

  /* Mobile image overflow prevention */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-support__hero-section,
  .page-support__about-section,
  .page-support__contact-section,
  .page-support__faq-section,
  .page-support__resources-section,
  .page-support__cta-section,
  .page-support__container,
  .page-support__card,
  .page-support__feature-item,
  .page-support__contact-method,
  .page-support__resource-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__features-grid,
  .page-support__contact-grid,
  .page-support__resources-grid {
    gap: 20px;
  }
  .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;
  }
}