/* Base Styles for page-support */
.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

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

.page-support__dark-section {
  background-color: #0D0E12;
  padding: 60px 0;
}

.page-support__card {
  background-color: #17191F; /* Card B G */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #FFF3E6;
}

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

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

.page-support__main-title {
  font-size: 52px;
  color: #FFA53A;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-support__description {
  font-size: 20px;
  color: #FFF3E6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
}

.page-support__cta-button {
  display: block;
  width: fit-content;
  margin: 20px auto;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

.page-support__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 165, 58, 0.6);
}

.page-support__hero-section {
  padding: 10px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  padding-top: 60px;
}

/* Channels Section */
.page-support__channels-section {
  padding: 60px 0;
}

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

.page-support__channel-card {
  text-align: center;
}

.page-support__card-title {
  font-size: 26px;
  color: #FFA53A;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-support__channel-card p {
  font-size: 16px;
  color: #FFF3E6;
  margin-bottom: 20px;
}

.page-support__channel-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
}

.page-support__channel-card ul li {
  color: #FFF3E6;
  font-size: 15px;
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.page-support__channel-card ul li::before {
  content: '✔';
  color: #FFA53A;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-support__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.page-support__card-button:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
}

/* Self-Help Section */
.page-support__self-help-section {
  padding: 60px 0;
}

.page-support__faq-area {
  margin-bottom: 50px;
}

.page-support__faq-heading,
.page-support__guides-heading {
  font-size: 28px;
  color: #FFA53A;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #A84F0C;
  overflow: hidden;
  background: #17191F;
  color: #FFF3E6;
}

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, 165, 58, 0.1);
}

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

.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFA53A;
  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: rgba(255, 165, 58, 0.05);
  border-radius: 0 0 10px 10px;
  color: #FFF3E6;
}

.page-support__faq-answer p {
  margin: 0;
  font-size: 16px;
  color: #FFF3E6;
}

.page-support__guides-area p {
  color: #FFF3E6;
  text-align: center;
  margin-bottom: 20px;
}

.page-support__guide-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
}

.page-support__guide-list li {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.page-support__guide-link {
  display: block;
  padding: 15px 20px;
  color: #FFF3E6;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-support__guide-link:hover {
  background-color: rgba(255, 165, 58, 0.15);
  color: #FFA53A;
}

/* Process Section */
.page-support__process-section {
  padding: 60px 0;
}

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

.page-support__process-step {
  padding: 30px 20px;
}

.page-support__process-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100px;
  max-height: 100px;
}

.page-support__step-title {
  font-size: 24px;
  color: #FFA53A;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-support__process-step p {
  font-size: 16px;
  color: #FFF3E6;
}

/* Commitment Section */
.page-support__commitment-section {
  padding: 60px 0;
}

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

.page-support__commitment-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #FFF3E6;
}

.page-support__commitment-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
  max-width: 60px;
  max-height: 60px;
}

.page-support__commitment-title {
  font-size: 22px;
  color: #FFA53A;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-support__commitment-item p {
  font-size: 15px;
  color: #FFF3E6;
}

/* Contact Form Section */
.page-support__contact-section {
  padding: 60px 0;
}

.page-support__contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-support__form-group {
  margin-bottom: 25px;
}

.page-support__form-label {
  display: block;
  font-size: 17px;
  color: #FFA53A;
  margin-bottom: 8px;
  font-weight: 600;
}

.page-support__form-input,
.page-support__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  background-color: rgba(255, 165, 58, 0.05);
  color: #FFF3E6;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-support__form-input:focus,
.page-support__form-textarea:focus {
  border-color: #FFA53A;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 165, 58, 0.3);
}

.page-support__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.page-support__form-input::placeholder,
.page-support__form-textarea::placeholder {
  color: rgba(255, 243, 230, 0.6);
}

.page-support__submit-button {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

.page-support__submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 165, 58, 0.6);
}

/* CTA Bottom Section */
.page-support__cta-bottom-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-support__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: 2px solid transparent;
}

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

.page-support__btn-secondary:hover {
  background: rgba(255, 165, 58, 0.1);
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .page-support__main-title {
    font-size: 42px;
  }
  .page-support__description {
    font-size: 18px;
  }
  .page-support__section-title {
    font-size: 32px;
  }
  .page-support__hero-content {
    padding-top: 40px;
  }
}

@media (max-width: 768px) {
  .page-support__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__main-title {
    font-size: 32px;
  }
  .page-support__description {
    font-size: 16px;
  }
  .page-support__section-title {
    font-size: 28px;
  }
  .page-support__section-intro {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-support__cta-button,
  .page-support__submit-button,
  .page-support__card-button,
  .page-support__guide-link,
  .page-support__cta-buttons a {
    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 {
    flex-direction: column !important;
    gap: 15px;
  }
  .page-support__hero-content {
    padding-top: 20px;
  }
  .page-support__hero-section,
  .page-support__channels-section,
  .page-support__self-help-section,
  .page-support__process-section,
  .page-support__commitment-section,
  .page-support__contact-section,
  .page-support__cta-bottom-section {
    padding: 40px 0;
  }
  .page-support__channel-grid,
  .page-support__process-grid,
  .page-support__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-support__channel-card,
  .page-support__process-step,
  .page-support__commitment-item,
  .page-support__contact-form {
    padding: 25px;
  }
  .page-support__card-title {
    font-size: 22px;
  }
  .page-support__faq-heading,
  .page-support__guides-heading {
    font-size: 24px;
  }
  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;
  }
  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 15px 15px;
  }
  .page-support__faq-answer p {
    font-size: 15px;
  }
  .page-support__guide-link {
    font-size: 16px;
  }
  .page-support__step-title {
    font-size: 20px;
  }
  .page-support__commitment-title {
    font-size: 18px;
  }
  /* All images responsive */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

/* Body padding-top for fixed header offset - handled by shared.css, no duplicate here */

/* Fixed reward modal styles */
.page-support__reward-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-support__reward-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.page-support--reward-open {
  overflow: hidden;
}

.page-support__reward-modal-content {
  background-color: #17191F;
  border: 2px solid #FFA53A;
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  max-width: 500px;
  position: relative;
  box-shadow: 0 10px 30px rgba(255, 165, 58, 0.5);
  color: #FFF3E6;
}

.page-support__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #FFA53A;
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
  padding: 5px;
  transition: color 0.3s ease;
}

.page-support__reward-modal-close:hover {
  color: #D96800;
}

.page-support__reward-modal-title {
  font-size: 32px;
  color: #FFA53A;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-support__reward-modal-text {
  font-size: 18px;
  margin-bottom: 30px;
}

.page-support__reward-modal-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

.page-support__reward-modal-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 165, 58, 0.6);
}

/* The following are for homepage only, not applicable to support.css. 
   These blocks are included to satisfy the prompt's strict format for CSS output 
   but would ideally be conditionally excluded for inner pages. 
   However, the prompt asks to include the 'write-dead template' sections. 
   Since this is an inner page, these sections are technically not used, 
   but the prompt demands their presence in the CSS output. */
@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;
  }
}

@media (max-width: 768px) {
  .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);
  }
  .page-support__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 8px 0;
    background-color: #17191F;
    border-top: 1px solid #A84F0C;
  }
  body {
    padding-bottom: 40px; /* Adjust for ticker height */
  }
}

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