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

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

.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  background-color: #f8f8f8; /* Light background for hero text */
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2; /* Slightly faded background image */
}

.page-register__hero-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  background-color: rgba(255, 255, 255, 0.85); /* Semi-transparent white background for readability */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-register__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 30px;
}

.page-register__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-register__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-register__button--primary {
  background-color: #FFD700; /* Auxiliary brand color */
  color: #4A148C; /* Main brand color for text */
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

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

.page-register__button--secondary {
  background-color: #4A148C; /* Main brand color */
  color: #FFD700; /* Auxiliary brand color for text */
  box-shadow: 0 4px 10px rgba(74, 20, 140, 0.4);
}

.page-register__button--secondary:hover {
  background-color: #3b1070;
  box-shadow: 0 6px 15px rgba(74, 20, 140, 0.6);
  transform: translateY(-2px);
}

.page-register__section-title {
  font-size: 2.5em;
  color: #4A148C;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 20px;
}

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

.page-register__value-section {
  padding: 60px 0;
  background-color: #f4f4ff;
}

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

.page-register__value-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-register__value-icon {
  width: 200px; /* Minimum size requirement */
  height: 150px; /* Minimum size requirement */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-register__value-heading {
  font-size: 1.5em;
  color: #4A148C;
  margin-bottom: 15px;
}

.page-register__value-text {
  color: #555555;
}

.page-register__steps-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-register__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.page-register__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  background-color: #4A148C;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  margin-right: 25px;
}

.page-register__step-heading {
  font-size: 1.6em;
  color: #4A148C;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-register__step-text {
  color: #555555;
}

.page-register__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-register__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-register__conditions-section {
  padding: 60px 0;
  background-color: #f4f4f4;
}

.page-register__conditions-list {
  max-width: 900px;
  margin: 0 auto 30px;
  list-style: none;
  padding: 0;
}

.page-register__condition-item {
  background-color: #ffffff;
  padding: 20px;
  margin-bottom: 15px;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
  color: #555555;
}

.page-register__condition-item strong {
  color: #4A148C;
}

.page-register__responsible-gaming-text {
  text-align: center;
  font-size: 1em;
  color: #666666;
}

.page-register__responsible-gaming-text a {
  color: #4A148C;
  text-decoration: underline;
}

.page-register__responsible-gaming-text a:hover {
  color: #FFD700;
}

.page-register__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-register__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #4A148C;
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #eeeeee;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
  padding: 20px 25px;
  background-color: #ffffff;
  color: #555555;
  font-size: 1em;
}

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

.page-register__call-to-action-section {
  padding: 80px 0;
  background-color: #4A148C; /* Main brand color */
  text-align: center;
  color: #ffffff;
}

.page-register__call-to-action-section .page-register__section-title,
.page-register__call-to-action-section .page-register__section-description {
  color: #ffffff;
}

.page-register__call-to-action-section .page-register__section-title {
  font-size: 2.8em;
}

.page-register__call-to-action-section .page-register__section-description {
  font-size: 1.15em;
  margin-bottom: 50px;
}

.page-register__login-prompt {
  margin-top: 30px;
  font-size: 1.1em;
}

.page-register__login-prompt a {
  color: #FFD700;
  font-weight: bold;
  text-decoration: underline;
}

.page-register__login-prompt a:hover {
  color: #e6c200;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 2.8em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__value-icon {
    width: 180px;
    height: 135px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 60px 15px;
  }
  .page-register__hero-container {
    padding: 30px;
  }
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-register__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 15px;
  }
  .page-register__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-register__value-section, .page-register__steps-section, .page-register__conditions-section, .page-register__faq-section, .page-register__call-to-action-section {
    padding: 40px 0;
  }
  .page-register__value-grid {
    grid-template-columns: 1fr;
  }
  .page-register__value-icon {
    max-width: 100%;
    height: auto;
  }
  .page-register__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
  .page-register__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-register__step-heading {
    font-size: 1.4em;
  }
  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-register__faq-answer {
    padding: 15px 20px;
  }
  .page-register__call-to-action-section .page-register__section-title {
    font-size: 2em;
  }
  .page-register__call-to-action-section .page-register__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-register__button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Ensure all content images scale down correctly */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
  .page-register__value-item img, .page-register__step-item img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min-size for content images */
    min- /* Enforce min-size for content images */
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.6em;
  }
  .page-register__hero-container {
    padding: 20px;
  }
  .page-register__button {
    font-size: 0.9em;
  }
  .page-register__step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    font-size: 1.5em;
  }
  .page-register__step-heading {
    font-size: 1.2em;
  }
  .page-register__faq-question {
    font-size: 1em;
  }
  .page-register__call-to-action-section .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__button--large {
    font-size: 1em;
  }
}