.page-register {
  color: #333333; /* Dark text for default white body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

.page-register__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 0;
  margin-bottom: 40px;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text contrast */
}

.page-register__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 90%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

.page-register__main-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: #FFC107; /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-register__intro-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-register__register-button {
  display: inline-block;
  background-color: #007BFF; /* Main color */
  color: #ffffff;
  padding: 15px 30px;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-register__login-link {
  display: inline-block;
  color: #FFC107; /* Auxiliary color */
  font-size: 1.1em;
  text-decoration: none;
  margin: 10px;
  transition: color 0.3s ease;
}

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

.page-register__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-register__section-title {
  font-size: 2.5em;
  color: #007BFF; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  position: relative;
}

.page-register__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFC107; /* Auxiliary color */
  border-radius: 2px;
}

.page-register__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-register__value-section, .page-register__steps-section, .page-register__terms-section, .page-register__faq-section, .page-register__cta-section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-register__value-section {
  background-color: #ffffff;
}

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

.page-register__value-item {
  text-align: center;
  padding: 25px;
  background-color: #f0f7ff; /* Lighter shade of main color */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-register__value-item:hover {
  transform: translateY(-5px);
}

.page-register__value-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-register__value-heading {
  font-size: 1.6em;
  color: #007BFF; /* Main color */
  margin-bottom: 15px;
}

.page-register__value-text {
  font-size: 1em;
  color: #444444;
}

.page-register__call-to-action-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  background-color: #FFC107; /* Auxiliary color */
  color: #333333;
  padding: 18px 35px;
  font-size: 1.3em;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__call-to-action-button:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-register__steps-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin-top: 40px;
}

.page-register__step-item {
  background-color: #ffffff;
  margin-bottom: 25px;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: relative;
  padding-left: 80px;
}

.page-register__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 30px;
  background-color: #007BFF; /* Main color */
  color: #ffffff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-register__step-heading {
  font-size: 1.8em;
  color: #007BFF; /* Main color */
  margin-bottom: 10px;
}

.page-register__step-text {
  font-size: 1.05em;
  color: #444444;
}

.page-register__register-button--bottom {
  margin-top: 50px;
}

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

.page-register__term-item {
  background-color: #ffffff;
  padding: 25px;
  border-left: 5px solid #FFC107; /* Auxiliary color highlight */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-register__term-heading {
  font-size: 1.5em;
  color: #333333;
  margin-bottom: 10px;
}

.page-register__term-text {
  font-size: 1em;
  color: #555555;
}

.page-register__responsible-gaming-note {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #555555;
}

.page-register__responsible-gaming-link {
  color: #007BFF; /* Main color */
  text-decoration: none;
  font-weight: bold;
}

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

.page-register__faq-container {
  margin-top: 40px;
}

.page-register__faq-item {
  background-color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-register__faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #f0f7ff; /* Lighter shade of main color */
  border: none;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  color: #007BFF; /* Main color */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-question[aria-expanded="true"] {
  background-color: #d1e7ff;
}

.page-register__faq-icon {
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-register__faq-question[aria-expanded="true"] .page-register__faq-icon {
  transform: rotate(45deg);
}

.page-register__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-register__faq-answer p {
  padding-bottom: 20px;
  color: #444444;
}

.page-register__faq-link {
  color: #007BFF;
  text-decoration: none;
  font-weight: bold;
}

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

.page-register__support-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #555555;
}

.page-register__support-link {
  color: #007BFF;
  text-decoration: none;
  font-weight: bold;
}

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

.page-register__cta-section {
  position: relative;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  padding: 80px 0;
  margin-bottom: 40px;
}

.page-register__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  z-index: 1;
}

.page-register__cta-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-register__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFC107; /* Auxiliary color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-register__cta-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-register__final-cta-button {
  display: inline-block;
  background-color: #007BFF; /* Main color */
  color: #ffffff;
  padding: 18px 40px;
  font-size: 1.4em;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-register__final-cta-button:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: 2.8em;
  }
  .page-register__intro-text {
    font-size: 1.2em;
  }
  .page-register__section-title {
    font-size: 2.2em;
  }
  .page-register__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-register__hero-content {
    padding: 15px;
  }
  .page-register__main-title {
    font-size: 2.2em;
  }
  .page-register__intro-text {
    font-size: 1em;
  }
  .page-register__register-button, .page-register__call-to-action-button, .page-register__final-cta-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 8px auto;
  }
  .page-register__login-link {
    font-size: 0.9em;
  }
  .page-register__content-area {
    padding: 20px 15px;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__section-description {
    font-size: 0.95em;
  }
  .page-register__value-grid, .page-register__terms-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-register__value-icon {
    width: 200px;
    height: 150px;
  }
  .page-register__step-item {
    padding: 25px 20px 25px 70px;
  }
  .page-register__step-item::before {
    left: 15px;
    top: 25px;
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }
  .page-register__step-heading {
    font-size: 1.6em;
  }
  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-register__faq-answer p {
    padding-bottom: 15px;
  }
  .page-register__cta-title {
    font-size: 2em;
  }
  .page-register__cta-description {
    font-size: 1.1em;
  }

  /* Mobile content area image overflow prevention */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
  .page-register__value-icon {
    width: 200px;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: 1.8em;
  }
  .page-register__intro-text {
    font-size: 0.9em;
  }
  .page-register__register-button, .page-register__call-to-action-button, .page-register__final-cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__step-heading {
    font-size: 1.4em;
  }
  .page-register__cta-title {
    font-size: 1.8em;
  }
  .page-register__cta-description {
    font-size: 1em;
  }
}