/* General styles for .page-index-how-to-get-started */
.page-index-how-to-get-started {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Default background */
}

.page-index-how-to-get-started__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;
}

.page-index-how-to-get-started__section {
  padding: 40px 0;
  text-align: center;
}

.page-index-how-to-get-started__section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #E53935;
  line-height: 1.2;
}

.page-index-how-to-get-started__section-title--white {
  color: #ffffff;
}

.page-index-how-to-get-started__sub-title {
  font-size: 24px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #E53935;
  text-align: left;
}

.page-index-how-to-get-started__text-block {
  font-size: 17px;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-index-how-to-get-started__text-block--white {
  color: #f0f0f0;
}

/* Hero Section */
.page-index-how-to-get-started__hero-section {
  position: relative;
  padding: 10px 0 50px;
  overflow: hidden;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.page-index-how-to-get-started__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  margin-bottom: 20px;
}

.page-index-how-to-get-started__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 15px;
}

.page-index-how-to-get-started__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-how-to-get-started__description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

.page-index-how-to-get-started__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.page-index-how-to-get-started__btn-primary,
.page-index-how-to-get-started__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-how-to-get-started__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-index-how-to-get-started__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-how-to-get-started__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-index-how-to-get-started__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-how-to-get-started__cta-center {
  margin-top: 40px;
  text-align: center;
}

/* Feature Grid */
.page-index-how-to-get-started__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-index-how-to-get-started__feature-card {
  text-align: left;
}

/* Step-by-step Guide */
.page-index-how-to-get-started__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-index-how-to-get-started__step-card {
  text-align: left;
}

/* Content Grid (for deposit/withdrawal) */
.page-index-how-to-get-started__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-index-how-to-get-started__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-index-how-to-get-started__content-grid ul,
.page-index-how-to-get-started__content-grid ol {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-index-how-to-get-started__content-grid li {
  margin-bottom: 10px;
  color: #333333;
}

.page-index-how-to-get-started__content-grid a {
  margin-top: 20px;
}

.page-index-how-to-get-started__content-image img {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Game Types Grid */
.page-index-how-to-get-started__game-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-index-how-to-get-started__game-card {
  text-align: left;
}

/* Promo List */
.page-index-how-to-get-started__promo-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 30px auto;
  text-align: left;
}

.page-index-how-to-get-started__promo-list li {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 17px;
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index-how-to-get-started__promo-list li strong {
  color: #FF5A4F;
}

/* Support Channels */
.page-index-how-to-get-started__support-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-index-how-to-get-started__support-card {
  text-align: left;
}

/* Card Styling */
.page-index-how-to-get-started__card {
  background: #FFFFFF;
  color: #333333;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-index-how-to-get-started__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-index-how-to-get-started__card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #E53935;
  flex-grow: 1;
}

.page-index-how-to-get-started__card p {
  font-size: 16px;
  margin-bottom: 15px;
  color: #333333;
}

.page-index-how-to-get-started__card .page-index-how-to-get-started__btn-secondary {
  margin-top: auto; /* Pushes button to bottom */
  width: fit-content;
}

/* FAQ Section */
details.page-index-how-to-get-started__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  text-align: left;
}
details.page-index-how-to-get-started__faq-item summary.page-index-how-to-get-started__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-index-how-to-get-started__faq-item summary.page-index-how-to-get-started__faq-question::-webkit-details-marker {
  display: none;
}
details.page-index-how-to-get-started__faq-item summary.page-index-how-to-get-started__faq-question:hover {
  background: #f5f5f5;
}
.page-index-how-to-get-started__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #333333;
}
.page-index-how-to-get-started__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #E53935;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-index-how-to-get-started__faq-item .page-index-how-to-get-started__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 10px 10px;
}

.page-index-how-to-get-started__faq-answer p {
  margin: 0;
  padding: 0;
  font-size: 16px;
  color: #333333;
}

/* Final CTA Section */
.page-index-how-to-get-started__final-cta {
  padding: 60px 0;
}

/* Dark Background Elements */
.page-index-how-to-get-started__dark-bg {
  background: #E53935;
  color: #ffffff;
}

/* Light Background Elements */
.page-index-how-to-get-started__light-bg {
  background: #F5F7FA;
  color: #333333;
}

/* Responsive Design */
@media (max-width: 1023px) {
  .page-index-how-to-get-started__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-index-how-to-get-started__hero-brand,
  .page-index-how-to-get-started__hero-jackpot {
    display: none !important;
  }
  .page-index-how-to-get-started__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-index-how-to-get-started__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-index-how-to-get-started__game-trial-topbar,
  .page-index-how-to-get-started__game-trial-bottombar {
    display: none !important;
  }
  .page-index-how-to-get-started__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-index-how-to-get-started__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-index-how-to-get-started__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-index-how-to-get-started__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-index-how-to-get-started__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-index-how-to-get-started__hero-brand,
  .page-index-how-to-get-started__hero-jackpot,
  .page-index-how-to-get-started__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-index-how-to-get-started__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-index-how-to-get-started__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-index-how-to-get-started__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-index-how-to-get-started__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-index-how-to-get-started__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-index-how-to-get-started {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-how-to-get-started__container {
    padding: 15px;
  }

  .page-index-how-to-get-started__section-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .page-index-how-to-get-started__sub-title {
    font-size: 20px;
  }

  .page-index-how-to-get-started__main-title {
    font-size: 2.2rem;
  }

  .page-index-how-to-get-started__description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-index-how-to-get-started__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-how-to-get-started__btn-primary,
  .page-index-how-to-get-started__btn-secondary,
  .page-index-how-to-get-started a[class*="button"],
  .page-index-how-to-get-started 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-index-how-to-get-started__cta-buttons,
  .page-index-how-to-get-started__button-group,
  .page-index-how-to-get-started__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-index-how-to-get-started img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index-how-to-get-started__section,
  .page-index-how-to-get-started__card,
  .page-index-how-to-get-started__container,
  .page-index-how-to-get-started__content-text,
  .page-index-how-to-get-started__content-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index-how-to-get-started__feature-grid,
  .page-index-how-to-get-started__step-by-step,
  .page-index-how-to-get-started__game-types-grid,
  .page-index-how-to-get-started__support-channels {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-how-to-get-started__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-index-how-to-get-started__content-grid--reverse {
    grid-template-columns: 1fr;
  }

  .page-index-how-to-get-started__content-text ul,
  .page-index-how-to-get-started__content-text ol {
    padding-left: 20px;
  }

  .page-index-how-to-get-started__card {
    padding: 20px;
  }

  details.page-index-how-to-get-started__faq-item summary.page-index-how-to-get-started__faq-question { padding: 15px; }
  .page-index-how-to-get-started__faq-qtext { font-size: 15px; }
  .page-index-how-to-get-started__faq-toggle { font-size: 20px; }
  details.page-index-how-to-get-started__faq-item .page-index-how-to-get-started__faq-answer { padding: 0 15px 15px; }

  /* Homepage-specific elements (as per template requirement) */
  .page-index-how-to-get-started__promo-strip-track { /* Placeholder for template requirement */
    grid-template-columns: repeat(4, 1fr);
    overflow-x: hidden;
  }
  .page-index-how-to-get-started__hot-games-grid { /* Placeholder for template requirement */
    grid-template-columns: repeat(2, 1fr);
  }
  /* Winner ticker and brand intro are not in HTML for this page, but CSS block is required if template applies */
}

/* Common game trial elements (as per template requirement) */
.page-index-how-to-get-started__game-trial-overlay{
  z-index:5;
  pointer-events:auto;
}
.page-index-how-to-get-started__game-trial-overlay.is-hidden{
  display:none!important;
  pointer-events:none!important;
}
.page-index-how-to-get-started__game-trial-start{
  z-index:6;
  pointer-events:auto;
  touch-action:manipulation;
}
.page-index-how-to-get-started__game-trial-shell{
  border:1px solid rgba(212,175,55,.45);
  border-radius:10px;
  overflow:hidden;
}
.page-index-how-to-get-started__reward-modal{
  position:fixed;
  inset:0;
  z-index:10000;
}
.page-index-how-to-get-started__reward-modal-close {
  background: #E53935;
  color: #ffffff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  z-index: 10001;
}