.page-index-how-to-start {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Dark body background #121212, so light text */
  background-color: transparent; /* Inherit from shared.css body */
}

.page-index-how-to-start__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-index-how-to-start__section {
  padding: 60px 0;
  margin-bottom: 0;
}

.page-index-how-to-start__dark-section {
  background-color: #003366; /* Main brand color for dark sections */
  color: #ffffff;
}

.page-index-how-to-start__main-title {
  font-size: 38px;
  font-weight: bold;
  color: #FFD700; /* Auxiliary color for main titles */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-index-how-to-start__heading {
  font-size: 32px;
  font-weight: bold;
  color: #FFD700; /* Auxiliary color for headings */
  text-align: center;
  margin-bottom: 25px;
  margin-top: 40px;
}

.page-index-how-to-start__sub-heading {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
  margin-top: 30px;
}

.page-index-how-to-start__paragraph {
  font-size: 16px;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-index-how-to-start__btn-primary,
.page-index-how-to-start__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-how-to-start__btn-primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #003366; /* Main color for text */
  border: 2px solid #FFD700;
}

.page-index-how-to-start__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-index-how-to-start__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index-how-to-start__btn-secondary:hover {
  background-color: #FFD700;
  color: #003366;
}

.page-index-how-to-start__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Hero Section */
.page-index-how-to-start__hero-section {
  position: relative;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0; /* shared already sets body padding-top */
  margin-top: 0;
  background-color: #003366; /* Ensure a base color if image fails */
}

.page-index-how-to-start__hero-container {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.page-index-how-to-start__hero-image {
  width: 100%;
  margin: 0;
}

.page-index-how-to-start__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* Products Section */
.page-index-how-to-start__products-section {
  width: 100%;
  padding: 60px 20px;
  background-color: #002244; /* A slightly lighter dark blue for contrast */
  box-sizing: border-box;
}

.page-index-how-to-start__products-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 2fr;
  gap: 20px;
}

.page-index-how-to-start__products-grid {
  display: grid;
  gap: 20px;
}

.page-index-how-to-start__products-grid--small {
  grid-template-columns: repeat(4, 1fr);
}

.page-index-how-to-start__products-grid--large {
  grid-template-columns: repeat(2, 1fr);
}

.page-index-how-to-start__product-card {
  width: 100%;
  max-width: 300px; /* Max width for product cards */
  border-radius: 0; /* No border-radius */
  overflow: hidden;
  background-color: transparent;
  box-shadow: none; /* No box-shadow */
  transition: transform 0.3s ease;
}

.page-index-how-to-start__product-card:hover {
  transform: translateY(-5px);
}

.page-index-how-to-start__product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-index-how-to-start__product-card-image {
  width: 100%;
  max-width: 300px;
  overflow: hidden;
}

.page-index-how-to-start__product-card-image img {
  max-width: 100%;
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  display: block;
  object-fit: contain;
}

/* Quick Links */
.page-index-how-to-start__link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
}

.page-index-how-to-start__note {
  text-align: center;
  margin-top: 30px;
  font-style: italic;
  color: #cccccc;
}

/* Core Games */
.page-index-how-to-start__game-category {
  margin-bottom: 40px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  text-align: center;
}

.page-index-how-to-start__game-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-index-how-to-start__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

/* Promotions */
.page-index-how-to-start__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-index-how-to-start__promo-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
}

/* FAQ Section */
.page-index-how-to-start__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-index-how-to-start__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-index-how-to-start__faq-item.active .page-index-how-to-start__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0 0 5px 5px;
}

.page-index-how-to-start__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background-color: #004488; /* Slightly lighter brand blue for questions */
  border: 1px solid #0055aa;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-how-to-start__faq-question:hover {
  background-color: #0055aa;
  border-color: #0066cc;
}

.page-index-how-to-start__faq-question:active {
  background-color: #0066cc;
}

.page-index-how-to-start__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-index-how-to-start__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-index-how-to-start__faq-item.active .page-index-how-to-start__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

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

.page-index-how-to-start__blog-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-how-to-start__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-how-to-start__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index-how-to-start__blog-content {
  padding: 20px;
}

.page-index-how-to-start__blog-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-index-how-to-start__blog-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-index-how-to-start__blog-title a:hover {
  text-decoration: underline;
}

.page-index-how-to-start__blog-excerpt {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 15px;
}

.page-index-how-to-start__blog-date {
  font-size: 14px;
  color: #999999;
}

/* General image styles */
.page-index-how-to-start img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Ensure no CSS filter is applied to change image color */
  filter: none; 
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-how-to-start__products-container {
    grid-template-columns: 1fr; /* Stack product grids vertically */
  }
  .page-index-how-to-start__products-grid--small {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-index-how-to-start__products-grid--large {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-index-how-to-start {
    font-size: 15px;
  }
  .page-index-how-to-start__main-title {
    font-size: 30px;
  }
  .page-index-how-to-start__heading {
    font-size: 26px;
  }
  .page-index-how-to-start__sub-heading {
    font-size: 20px;
  }
  .page-index-how-to-start__section {
    padding: 40px 0;
  }
  .page-index-how-to-start__container {
    padding: 0 15px; /* Add padding to container */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  /* Hero Section Mobile */
  .page-index-how-to-start__hero-section {
    padding-top: 0 !important;
  }

  /* Products Section Mobile */
  .page-index-how-to-start__products-section {
    padding: 40px 15px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-index-how-to-start__products-container {
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-index-how-to-start__products-grid--small {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-index-how-to-start__products-grid--small .page-index-how-to-start__product-card,
  .page-index-how-to-start__products-grid--small .page-index-how-to-start__product-card-image {
    max-width: 100%; /* Ensure cards fill grid space */
  }
  .page-index-how-to-start__products-grid--large {
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-index-how-to-start__products-grid--large .page-index-how-to-start__product-card,
  .page-index-how-to-start__products-grid--large .page-index-how-to-start__product-card-image {
    max-width: 100%;
  }

  /* Buttons Mobile */
  .page-index-how-to-start__btn-primary,
  .page-index-how-to-start__btn-secondary {
    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-start__cta-buttons,
  .page-index-how-to-start__link-grid {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }
  .page-index-how-to-start__link-grid a {
    max-width: 100%;
  }

  /* FAQ Mobile */
  .page-index-how-to-start__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-index-how-to-start__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-index-how-to-start__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-index-how-to-start__faq-answer {
    padding: 0 15px;
  }
  .page-index-how-to-start__faq-item.active .page-index-how-to-start__faq-answer {
    padding: 15px !important;
  }

  /* Blog Mobile */
  .page-index-how-to-start__blog-grid {
    grid-template-columns: 1fr;
  }
  .page-index-how-to-start__blog-image {
    height: 180px;
  }
  .page-index-how-to-start__blog-title {
    font-size: 18px;
  }

  /* All images responsive */
  .page-index-how-to-start img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-how-to-start__section,
  .page-index-how-to-start__card,
  .page-index-how-to-start__container,
  .page-index-how-to-start__game-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-how-to-start__game-content .page-index-how-to-start__paragraph {
    padding-left: 0;
    padding-right: 0;
  }
}