/* Base styles for the help center page */
.page-support {
  background: #140C0C; /* Background */
  color: #FFF1E8; /* Text Main */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
}

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

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

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

/* Hero Section */
.page-support__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 15px 60px;
  background: linear-gradient(180deg, #140C0C 0%, #2A1212 100%); /* Blend Background and Card BG */
  border-bottom: 1px solid #6A1E1E; /* Border */
}

.page-support__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
}

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

.page-support__hero-description {
  font-size: 18px;
  color: #FFF1E8;
  margin-bottom: 30px;
}

.page-support__cta-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button */
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  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(-3px);
  box-shadow: 0 5px 15px rgba(255, 176, 74, 0.4);
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 900px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Introduction Section */
.page-support__introduction-section {
  padding: 60px 0;
  border-bottom: 1px solid #6A1E1E; /* Border */
}

.page-support__introduction-section p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #FFF1E8;
  text-align: justify;
}

/* Categories Section */
.page-support__categories-section {
  padding: 60px 0;
  border-bottom: 1px solid #6A1E1E; /* Border */
}

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

.page-support__category-card {
  background: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF1E8;
}

.page-support__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-support__category-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-support__category-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFB04A; /* Highlight */
}

.page-support__category-title a {
  color: #FFB04A; /* Highlight */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__category-title a:hover {
  color: #F3C54D; /* Gold */
}

.page-support__category-text {
  font-size: 15px;
  color: #FFF1E8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__category-link {
  display: inline-block;
  padding: 8px 18px;
  background: #7E0D0D; /* Deep Red */
  color: #FFF1E8;
  font-size: 15px;
  font-weight: 500;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__category-link:hover {
  background: #C61F1F; /* Main Color */
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
  border-bottom: 1px solid #6A1E1E; /* Border */
}

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  color: #FFF1E8;
}

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: #3a1a1a;
}

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

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

details.page-support__faq-item .page-support__faq-answer {
  padding: 0 20px 20px;
  background: #1e0e0e; /* Slightly lighter than Card BG */
  border-radius: 0 0 8px 8px;
  font-size: 15px;
  color: #FFF1E8;
}

.page-support__faq-answer p {
  margin-bottom: 15px;
}

.page-support__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Contact CTA Section */
.page-support__contact-cta {
  padding: 60px 15px;
  text-align: center;
  background: #2A1212; /* Card BG */
  border-top: 1px solid #6A1E1E;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-support__contact-cta .page-support__section-title {
  color: #FFB04A;
}

.page-support__contact-cta .page-support__section-description {
  color: #FFF1E8;
}

.page-support__contact-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  min-width: 200px;
  min-height: 200px;
}

/* Copyright */
.page-support__copyright {
  padding: 20px 15px;
  text-align: center;
  font-size: 14px;
  color: #6A1E1E; /* Border color for subtle text */
  background: #0a0606; /* Even darker background */
  border-top: 1px solid #0d0d0d;
}

/* Responsive styles */

/* Universal image and button responsive styles */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-support__cta-button,
.page-support__category-link {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__button-group {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 1023px) {
  .page-support__hero-section {
    flex-direction: column;
  }
  .page-support__main-title {
    font-size: clamp(24px, 6vw, 40px);
  }
  .page-support__hero-description {
    font-size: 16px;
  }
  .page-support__section-title {
    font-size: 28px;
  }
  .page-support__section-description {
    font-size: 16px;
  }
  .page-support__category-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-support__hero-brand, .page-support__hero-jackpot { display: none !important; }
}

@media (min-width: 1024px) {
  .page-support__hero-section {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 15px;
  }
  .page-support__hero-content {
    margin-bottom: 0;
    flex: 1;
  }
  .page-support__hero-image-wrapper {
    flex: 1;
    max-width: 700px; /* Adjust as needed for larger screens */
  }
  .page-support__contact-cta {
    flex-direction: row;
    justify-content: center;
    gap: 50px;
  }
  .page-support__contact-image {
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-support__hero-section {
    padding: 30px 15px 40px;
  }
  .page-support__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }
  .page-support__hero-description {
    font-size: 15px;
  }
  .page-support__cta-button,
  .page-support__category-link {
    padding: 10px 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__button-group {
    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__section-title {
    font-size: 24px;
  }
  .page-support__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-support__introduction-section,
  .page-support__categories-section,
  .page-support__faq-section,
  .page-support__contact-cta {
    padding: 40px 0;
  }
  .page-support__category-card {
    padding: 20px;
  }
  .page-support__category-title {
    font-size: 20px;
  }
  .page-support__category-text {
    font-size: 14px;
  }
  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;
    font-size: 14px;
  }
  .page-support__contact-cta {
    flex-direction: column;
    gap: 20px;
    padding: 40px 15px;
  }
  .page-support__contact-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__container {
    padding: 0 15px;
  }
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__hero-section,
  .page-support__introduction-section,
  .page-support__categories-section,
  .page-support__faq-section,
  .page-support__contact-cta,
  .page-support__copyright {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Fixed styles for game trial if this were homepage - NOT APPLICABLE FOR SUPPORT PAGE */
/* The following media queries are included as per strict instructions but are not functionally relevant for this support page */
@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;
  }
}

/* These are generic styles that might be present in a homepage but are not specifically used or defined for this support page */
.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__promo-strip-track{grid-template-columns:repeat(4,1fr);overflow-x:hidden;}
.page-support__hot-games-grid{grid-template-columns:repeat(2,1fr);}