/* style/beginner-guide-register-account.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark-1: var(--dark-bg-1, #0d0d0d); /* Assuming shared.css defines --dark-bg-1 */
}

.page-beginner-guide-register-account {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for the main page wrapper, assuming a dark body background */
  background-color: var(--bg-dark-1); /* Inherit from body or set explicitly if section has specific dark background */
}

.page-beginner-guide-register-account__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-beginner-guide-register-account__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color), #4CAF50); /* Blend primary color */
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.page-beginner-guide-register-account__hero-content {
  z-index: 10;
  max-width: 800px;
}

.page-beginner-guide-register-account__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-beginner-guide-register-account__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-beginner-guide-register-account__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  z-index: 1;
}

.page-beginner-guide-register-account__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* General Sections */
.page-beginner-guide-register-account__why-section,
.page-beginner-guide-register-account__how-to-register-section,
.page-beginner-guide-register-account__tips-section,
.page-beginner-guide-register-account__faq-section,
.page-beginner-guide-register-account__conclusion-section,
.page-beginner-guide-register-account__video-section {
  padding: 60px 0;
  background-color: var(--secondary-color); /* Light background for content sections */
  color: var(--text-dark);
}

.page-beginner-guide-register-account__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-beginner-guide-register-account__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-dark);
}

/* Buttons */
.page-beginner-guide-register-account__btn-primary,
.page-beginner-guide-register-account__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-beginner-guide-register-account__btn-primary {
  background-color: var(--login-color); /* Use login color for primary action */
  color: var(--text-light);
  border: 2px solid var(--login-color);
}

.page-beginner-guide-register-account__btn-primary:hover {
  background-color: #c96806;
  transform: translateY(-2px);
}

.page-beginner-guide-register-account__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-beginner-guide-register-account__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* Features Grid */
.page-beginner-guide-register-account__features-grid,
.page-beginner-guide-register-account__steps-grid,
.page-beginner-guide-register-account__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-beginner-guide-register-account__feature-card,
.page-beginner-guide-register-account__step-card,
.page-beginner-guide-register-account__tip-card {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: var(--text-dark);
}

.page-beginner-guide-register-account__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-beginner-guide-register-account__card-text {
  font-size: 1em;
  color: var(--text-dark);
}

.page-beginner-guide-register-account__game-list,
.page-beginner-guide-register-account__form-fields {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-beginner-guide-register-account__game-list li,
.page-beginner-guide-register-account__form-fields li {
  margin-bottom: 10px;
}

.page-beginner-guide-register-account__game-item-title,
.page-beginner-guide-register-account__field-title {
  font-size: 1.1em;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.page-beginner-guide-register-account__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--login-color);
  margin-bottom: 15px;
}

/* Image Content Wrapper */
.page-beginner-guide-register-account__image-content-wrapper {
  margin-top: 60px;
  text-align: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-beginner-guide-register-account__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto; /* Center the image */
}

/* FAQ Section */
.page-beginner-guide-register-account__faq-list {
  margin-top: 40px;
}

.page-beginner-guide-register-account__faq-item {
  background-color: var(--bg-light);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-beginner-guide-register-account__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-dark);
  cursor: pointer;
  background-color: var(--secondary-color);
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-beginner-guide-register-account__faq-question:hover {
  background-color: #f0f0f0;
}

.page-beginner-guide-register-account__faq-question h3 {
  margin: 0;
  color: var(--primary-color);
}

.page-beginner-guide-register-account__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-beginner-guide-register-account__faq-item.active .page-beginner-guide-register-account__faq-toggle {
  transform: rotate(45deg);
}

.page-beginner-guide-register-account__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-dark);
}

.page-beginner-guide-register-account__faq-item.active .page-beginner-guide-register-account__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px;
}

.page-beginner-guide-register-account__faq-answer p {
  margin: 0;
  color: var(--text-dark);
}

/* Video Section */
.page-beginner-guide-register-account__video-section {
  background-color: var(--bg-dark-1);
  color: var(--text-light);
  text-align: center;
}

.page-beginner-guide-register-account__video-section .page-beginner-guide-register-account__section-title,
.page-beginner-guide-register-account__video-section .page-beginner-guide-register-account__section-description {
  color: var(--text-light);
}

.page-beginner-guide-register-account__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide-register-account__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  cursor: pointer;
}

.page-beginner-guide-register-account__video-cta {
  margin-top: 30px;
}

/* Conclusion Section */
.page-beginner-guide-register-account__conclusion-section {
  text-align: center;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-beginner-guide-register-account__conclusion-section .page-beginner-guide-register-account__section-title,
.page-beginner-guide-register-account__conclusion-section .page-beginner-guide-register-account__section-description {
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-beginner-guide-register-account__hero-section {
    padding: 60px 20px;
  }

  .page-beginner-guide-register-account__main-title {
    font-size: 2.5em;
  }

  .page-beginner-guide-register-account__section-title {
    font-size: 2em;
  }

  .page-beginner-guide-register-account__features-grid,
  .page-beginner-guide-register-account__steps-grid,
  .page-beginner-guide-register-account__tips-grid {
    grid-template-columns: 1fr;
  }

  .page-beginner-guide-register-account__hero-image-wrapper {
    display: none; /* Hide hero image on smaller screens if it overlaps content */
  }
}

@media (max-width: 768px) {
  .page-beginner-guide-register-account {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-beginner-guide-register-account__hero-section {
    padding: 40px 15px;
  }

  .page-beginner-guide-register-account__main-title {
    font-size: 2em;
  }

  .page-beginner-guide-register-account__intro-text {
    font-size: 1em;
  }

  .page-beginner-guide-register-account__section-title {
    font-size: 1.8em;
  }

  .page-beginner-guide-register-account__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  /* Images responsiveness */
  .page-beginner-guide-register-account img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-beginner-guide-register-account__image-content-wrapper,
  .page-beginner-guide-register-account__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  /* Video responsiveness */
  .page-beginner-guide-register-account video,
  .page-beginner-guide-register-account__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-beginner-guide-register-account__video-section,
  .page-beginner-guide-register-account__video-container,
  .page-beginner-guide-register-account__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-beginner-guide-register-account__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for video section on mobile */
  }

  /* Button responsiveness */
  .page-beginner-guide-register-account__btn-primary,
  .page-beginner-guide-register-account__btn-secondary,
  .page-beginner-guide-register-account a[class*="button"],
  .page-beginner-guide-register-account 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;
    margin-bottom: 10px; /* Add space between stacked buttons */
  }
  
  .page-beginner-guide-register-account__cta-buttons,
  .page-beginner-guide-register-account__button-group,
  .page-beginner-guide-register-account__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-beginner-guide-register-account__cta-buttons {
    display: flex;
    flex-direction: column; 
  }

  .page-beginner-guide-register-account__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-beginner-guide-register-account__faq-answer {
    padding: 0 20px;
  }

  .page-beginner-guide-register-account__faq-item.active .page-beginner-guide-register-account__faq-answer {
    padding: 10px 20px;
  }

  .page-beginner-guide-register-account__step-card,
  .page-beginner-guide-register-account__feature-card,
  .page-beginner-guide-register-account__tip-card {
    padding: 20px;
  }
}

/* Ensure no filter on images */
.page-beginner-guide-register-account img {
  filter: none; /* Explicitly remove any potential filter */
}