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

.page-register__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.page-register__hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for better text contrast */
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background for readability */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-register__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold brand color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-register__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-register__registration-card {
  background: rgba(255, 255, 255, 0.15); /* Lighter transparent background for the form */
  border-radius: 10px;
  padding: 30px;
  margin-top: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-align: left;
}

.page-register__card-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 25px;
  text-align: center;
}

.page-register__form-group {
  margin-bottom: 20px;
}

.page-register__form-label {
  display: block;
  margin-bottom: 8px;
  color: #f0f0f0;
  font-weight: bold;
}

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #8B0000; /* Dark red border */
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.7); /* Darker input background */
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-register__form-input::placeholder {
  color: #cccccc;
}

.page-register__form-input:focus {
  border-color: #FFD700; /* Gold focus border */
  outline: none;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.page-register__input-with-button {
  display: flex;
  gap: 10px;
}

.page-register__input-with-button .page-register__form-input {
  flex-grow: 1;
}

.page-register__send-code-button {
  background-color: #8B0000; /* Dark red button */
  color: #ffffff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-register__send-code-button:hover {
  background-color: #a00000;
  transform: translateY(-2px);
}

.page-register__checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.page-register__checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  min-width: 18px; /* Ensure checkbox is visible */
  min-height: 18px;
  transform: translateY(2px);
}

.page-register__checkbox-label {
  color: #f0f0f0;
  font-size: 0.95em;
  line-height: 1.5;
}

.page-register__terms-link {
  color: #FFD700; /* Gold link for terms */
  text-decoration: none;
  font-weight: bold;
}

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

.page-register__submit-button {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  background-color: #FFD700; /* Gold primary button */
  color: #121212; /* Dark text for gold background */
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-register__submit-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-register__login-prompt {
  text-align: center;
  margin-top: 25px;
  color: #cccccc;
}

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

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

/* General Section Styling */
.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-register__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-register__section-description {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.page-register__dark-section {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast with body */
  padding: 60px 0;
  margin-top: 40px;
  box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.3), inset 0 -5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-register__feature-item,
.page-register__security-item,
.page-register__promo-item {
  background: rgba(255, 255, 255, 0.08); /* Transparent card background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-register__feature-icon,
.page-register__security-icon,
.page-register__promo-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-register__feature-title,
.page-register__security-title,
.page-register__promo-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-register__feature-text,
.page-register__security-text,
.page-register__promo-text {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.7;
}

/* Steps Section */
.page-register__steps-wrapper {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-register__step-item {
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  background: rgba(0, 0, 0, 0.7); /* Dark background for steps */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border: 2px solid #8B0000;
  position: relative;
  overflow: hidden;
}

.page-register__step-number {
  position: absolute;
  top: -15px;
  left: -15px;
  background-color: #FFD700;
  color: #121212;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2em;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-register__step-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  margin-top: 20px;
}

.page-register__step-text {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.7;
}

.page-register__step-image-wrapper {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-register__step-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  border: 3px solid #FFD700;
}

/* CTA Buttons */
.page-register__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #121212; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  border: none;
}

.page-register__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-register__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  padding: 15px 30px;
  border: 2px solid #FFD700; /* Gold border */
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.page-register__btn-secondary:hover {
  background-color: #FFD700; /* Gold background on hover */
  color: #121212; /* Dark text on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-register__centered-button {
  display: block;
  margin: 50px auto 0 auto;
  max-width: fit-content; /* Adjust max-width for centered buttons */
}

/* Promotions Section */
.page-register__promo-button {
  margin-top: 20px;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 60px 0;
}

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

.page-register__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.5); /* Darker background for question */
  color: #FFD700;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.page-register__faq-title {
  margin: 0;
  color: #FFD700;
  font-size: 1em; /* Adjust to fit parent font size */
}

.page-register__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg); /* Plus sign becomes cross */
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: rgba(255, 255, 255, 0.05); /* Lighter transparent background for answer */
  color: #e0e0e0;
  line-height: 1.7;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px 25px;
}

.page-register__faq-answer p {
  margin: 0;
  color: #e0e0e0;
}