/* style/register.css */
.page-register {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0d1117; /* Inherited from shared.css, explicitly set for clarity */
}

.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-register__section-title {
  font-size: 2.5rem;
  color: #ffc107; /* Highlight with accent color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__section-intro {
  font-size: 1.1rem;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-register__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
  box-sizing: border-box;
}

.page-register__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-register__hero-section .page-register__container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-register__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffc107; /* Accent color for main title */
  font-weight: bold;
}

.page-register__hero-description {
  font-size: 1.3rem;
  margin-bottom: 40px;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-register__btn-primary {
  display: inline-block;
  background-color: #007bff;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-register__btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.page-register__benefits-section {
  padding: 80px 0;
  background-color: #1a1e24; /* Slightly lighter dark background */
}

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

.page-register__benefit-card {
  background-color: rgba(0, 123, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  border: 1px solid #007bff;
}

.page-register__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.page-register__benefit-icon {
  width: 100%;
  max-width: 250px; /* Adjust max-width for benefit icons */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-register__benefit-title {
  font-size: 1.7rem;
  color: #ffc107;
  margin-bottom: 15px;
}

.page-register__benefit-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-register__steps-section {
  padding: 80px 0;
  background-color: #0d1117;
}

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

.page-register__step-item {
  background-color: rgba(255, 193, 7, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  border: 1px solid #ffc107;
}

.page-register__step-image {
  width: 100%;
  max-width: 600px; /* Ensure images are not too small */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-register__step-title {
  font-size: 1.8rem;
  color: #007bff;
  margin-bottom: 15px;
}

.page-register__step-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-register__verification-section {
  padding: 80px 0;
  background-color: #1a1e24;
}

.page-register__content-block {
  background-color: rgba(0, 123, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  color: #ffffff;
  line-height: 1.7;
}

.page-register__content-subtitle {
  font-size: 1.6rem;
  color: #ffc107;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-register__content-block ul,
.page-register__content-block ol {
  list-style-position: inside;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-register__content-block li {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-register__content-block strong {
  color: #007bff;
}

.page-register__image-fullwidth {
  width: 100%;
  max-width: 1000px; /* Ensure large images */
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-register__deposit-bonus-section {
  padding: 80px 0;
  background-color: #0d1117;
}

.page-register__list-styled {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-register__list-styled li {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-register__list-styled li strong {
  color: #007bff;
}

.page-register__list-styled a {
  color: #ffc107;
  text-decoration: none;
}

.page-register__list-styled a:hover {
  text-decoration: underline;
}

.page-register__faq-section {
  padding: 80px 0;
  background-color: #1a1e24;
}

.page-register__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #007bff;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #007bff;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: #0056b3;
}

.page-register__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg);
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  background-color: rgba(0, 0, 0, 0.3);
}

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

.page-register__faq-answer p {
  margin: 0;
  line-height: 1.6;
}

.page-register__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #007bff;
  color: #ffffff;
}

.page-register__cta-section .page-register__section-title {
  color: #ffc107;
}

.page-register__btn-large {
  padding: 18px 40px;
  font-size: 1.4rem;
  background-color: #ffc107;
  color: #0d1117;
}

.page-register__btn-large:hover {
  background-color: #e0a800;
}

.page-register__cta-subtext {
  margin-top: 20px;
  font-size: 1.1rem;
}

.page-register__cta-link {
  color: #ffc107;
  text-decoration: none;
  font-weight: bold;
}

.page-register__cta-link:hover {
  text-decoration: underline;
}

/* Image Responsive & Min Size & No Filter */
.page-register img {
  filter: none; /* Ensure no CSS filters are applied */
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
  .page-register__hero-section {
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-register__hero-title {
    font-size: 2.2rem;
  }

  .page-register__hero-description {
    font-size: 1rem;
  }

  .page-register__btn-primary,
  .page-register__btn-large {
    font-size: 1rem;
    padding: 12px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-register__section-title {
    font-size: 1.8rem;
  }

  .page-register__section-intro {
    font-size: 0.9rem;
  }

  .page-register__benefits-grid,
  .page-register__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-register__benefit-card,
  .page-register__step-item {
    padding: 20px;
  }

  .page-register__benefit-icon,
  .page-register__step-image,
  .page-register__image-fullwidth {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  .page-register__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-register__faq-answer {
    padding: 10px 20px;
  }

  .page-register__container,
  .page-register__benefits-section,
  .page-register__steps-section,
  .page-register__verification-section,
  .page-register__deposit-bonus-section,
  .page-register__faq-section,
  .page-register__cta-section,
  .page-register__content-block {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Ensure all images and videos are responsive */
  .page-register video,
  .page-register__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-register__video-section,
  .page-register__video-container,
  .page-register__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }
}