:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
  --header-offset: 122px; /* Placeholder, actual value from shared.css */
}

.page-register {
  background-color: var(--background-color);
  color: var(--text-main); /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  text-align: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding as body handles header offset */
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: none; /* No image filters */
}

.page-register__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-register__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-register__description {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 10px;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box; /* For mobile responsiveness */
  white-space: normal; /* For mobile button text wrap */
  word-wrap: break-word; /* For mobile button text wrap */
}

.page-register__cta-button--primary {
  background: var(--button-gradient);
  color: #ffffff; /* Contrast with button gradient */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__cta-button--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-register__cta-button--secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-register__cta-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-register__why-join-section,
.page-register__steps-section,
.page-register__security-section,
.page-register__bonus-section,
.page-register__faq-section,
.page-register__cta-final-section {
  padding: 60px 0;
  text-align: center;
}

.page-register__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__section-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__section-description--small {
  font-size: 0.95em;
  margin-top: 20px;
  margin-bottom: 20px;
}

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

.page-register__feature-card,
.page-register__security-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__feature-card:hover,
.page-register__security-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-register__feature-icon,
.page-register__security-icon {
  width: 250px; /* Enforcing min 200x200 display size */
  height: 250px; /* Enforcing min 200x200 display size */
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* No image filters */
}

.page-register__security-icon {
  width: 200px;
  height: 200px;
}

.page-register__feature-title,
.page-register__security-title {
  font-size: 1.4em;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__feature-text,
.page-register__security-text {
  font-size: 1em;
  color: var(--text-secondary);
}

.page-register__steps-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-register__step-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-register__step-number {
  background: var(--button-gradient);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-register__step-title {
  font-size: 1.3em;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-register__step-text {
  font-size: 1em;
  color: var(--text-secondary);
}

.page-register__image-promo-wrapper {
  margin-top: 60px;
  margin-bottom: 40px;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__promo-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter: none; /* No image filters */
}

.page-register__bonus-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-register__bonus-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__bonus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-register__bonus-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  filter: none; /* No image filters */
}

.page-register__bonus-title {
  font-size: 1.5em;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-register__bonus-text {
  font-size: 1em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-register__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-register__faq-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green); /* Slightly different background for question */
  border-bottom: 1px solid var(--divider-color);
}

.page-register__faq-question:hover {
  background-color: var(--primary-color);
}

.page-register__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--gold-color);
  margin-left: 15px;
}

.page-register__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: var(--text-secondary);
  line-height: 1.8;
  max-height: 0; /* Hidden by default */
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-register__faq-item[open] .page-register__faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding-top: 15px;
  padding-bottom: 20px;
}

.page-register__faq-item[open] .page-register__faq-question {
  border-bottom: none;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  content: "−";
}

.page-register__cta-buttons-bottom {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-register__hero-section {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 40px;
  }

  .page-register__hero-content {
    padding: 0 10px;
  }

  .page-register__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

  .page-register__description {
    font-size: 1em;
  }

  .page-register__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 5px 0;
  }

  .page-register__cta-buttons-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .page-register__why-join-section,
  .page-register__steps-section,
  .page-register__security-section,
  .page-register__bonus-section,
  .page-register__faq-section,
  .page-register__cta-final-section {
    padding: 40px 0;
  }

  .page-register__section-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }

  .page-register__section-description {
    font-size: 0.95em;
  }

  .page-register__features-grid,
  .page-register__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__feature-card,
  .page-register__security-item,
  .page-register__step-item,
  .page-register__bonus-card {
    padding: 20px;
    margin-left: 15px;
    margin-right: 15px;
    width: auto; /* Allow max-width to take effect */
  }

  .page-register__feature-icon,
  .page-register__security-icon {
    width: 200px !important; /* Min size enforcement */
    height: 200px !important; /* Min size enforcement */
  }

  .page-register__promo-image,
  .page-register__bonus-image,
  .page-register__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-register__image-promo-wrapper {
    padding: 0 15px;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .page-register__bonus-cards {
    flex-direction: column;
    gap: 20px;
  }

  .page-register__faq-list {
    padding: 0 15px;
  }

  .page-register__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

  .page-register__cta-final-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure all images are responsive */
.page-register img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure all image containers are responsive */
.page-register__hero-image-wrapper,
.page-register__image-promo-wrapper,
.page-register__bonus-card,
.page-register__feature-card,
.page-register__security-item {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}