/* style/index-how-to-get-started.css */

/* Base styles for the page */
.page-index-how-to-get-started {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from shared.css body */
}

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

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

.page-index-how-to-get-started__dark-bg {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

.page-index-how-to-get-started__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-index-how-to-get-started__hero-section {
  position: relative;
  padding: 100px 0;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 600px;
  text-align: center;
}

.page-index-how-to-get-started__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Overlay for readability */
  z-index: 1;
}

.page-index-how-to-get-started__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-index-how-to-get-started__hero-section .page-index-how-to-get-started__container {
  position: relative;
  z-index: 2;
}

.page-index-how-to-get-started__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-index-how-to-get-started__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-index-how-to-get-started__section-title,
.page-index-how-to-get-started__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: inherit;
}

.page-index-how-to-get-started__section-description,
.page-index-how-to-get-started__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

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

.page-index-how-to-get-started__cta-buttons--center {
  margin-top: 30px;
}

.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: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.page-index-how-to-get-started__btn-primary {
  background-color: #017439;
  color: #ffffff;
}

.page-index-how-to-get-started__btn-primary:hover {
  background-color: #005f2e;
}

.page-index-how-to-get-started__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border-color: #017439;
}

.page-index-how-to-get-started__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
}

.page-index-how-to-get-started__btn-register {
  background-color: #C30808; /* Custom color for register */
  color: #FFFF00; /* Custom font color for register */
}

.page-index-how-to-get-started__btn-register:hover {
  background-color: #a00606;
}

.page-index-how-to-get-started__btn-login {
  background-color: #C30808; /* Custom color for login */
  color: #FFFF00; /* Custom font color for login */
}

.page-index-how-to-get-started__btn-login:hover {
  background-color: #a00606;
}

.page-index-how-to-get-started__features-grid,
.page-index-how-to-get-started__steps-grid,
.page-index-how-to-get-started__payment-methods,
.page-index-how-to-get-started__app-download {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-how-to-get-started__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-how-to-get-started__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark bg */
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-index-how-to-get-started__light-bg .page-index-how-to-get-started__card {
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-index-how-to-get-started__card-title,
.page-index-how-to-get-started__feature-title,
.page-index-how-to-get-started__step-title,
.page-index-how-to-get-started__game-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: bold;
  color: inherit;
}

.page-index-how-to-get-started__game-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-index-how-to-get-started__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-index-how-to-get-started__step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #017439;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index-how-to-get-started__image-full-width {
  width: 100%;
  height: auto;
  margin-top: 50px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-index-how-to-get-started__game-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

/* FAQ Section */
.page-index-how-to-get-started__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-how-to-get-started__faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* For dark bg */
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter card for contrast */
  border-radius: 8px;
  overflow: hidden;
}

.page-index-how-to-get-started__light-bg .page-index-how-to-get-started__faq-item {
  border-bottom: 1px solid #e0e0e0;
  background-color: #f9f9f9;
}

.page-index-how-to-get-started__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: inherit;
  transition: background-color 0.3s ease;
}

.page-index-how-to-get-started__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-index-how-to-get-started__light-bg .page-index-how-to-get-started__faq-question:hover {
  background-color: #eef;
}

.page-index-how-to-get-started__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-index-how-to-get-started__faq-item.active .page-index-how-to-get-started__faq-toggle {
  transform: rotate(45deg);
}

.page-index-how-to-get-started__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  text-align: left;
  color: inherit;
}

.page-index-how-to-get-started__faq-item.active .page-index-how-to-get-started__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 30px 30px;
}

.page-index-how-to-get-started__faq-answer p {
  margin: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-index-how-to-get-started__hero-title {
    font-size: 3em;
  }

  .page-index-how-to-get-started__section-title,
  .page-index-how-to-get-started__cta-title {
    font-size: 2em;
  }
}

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

  .page-index-how-to-get-started__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding is also correct */
    min-height: 500px;
  }

  .page-index-how-to-get-started__hero-title {
    font-size: 2.5em;
  }

  .page-index-how-to-get-started__hero-description {
    font-size: 1em;
  }
}