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

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

.page-register__section-title {
  font-size: 2.5em;
  color: #0F1A2B; /* Primary brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-register__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  background-color: #0F1A2B; /* Fallback background */
}

.page-register__hero-container {
  position: relative;
  width: 100%; /* Block element, no explicit width to avoid overflow */
  max-width: 100%;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-register__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  z-index: 10;
  padding: 20px;
  max-width: 90%;
}

.page-register__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Auxiliary color for hero title */
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-register__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-register__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary color for CTA */
  color: #0F1A2B; /* Dark text for light button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-register__value-section {
  background-color: #f9f9f9;
  padding: 80px 0;
}

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

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

.page-register__value-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-register__value-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-register__value-heading {
  font-size: 1.5em;
  color: #0F1A2B;
  margin-bottom: 10px;
}

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

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

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

.page-register__step-item {
  background-color: #ffffff;
  border-left: 5px solid #FFD700;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  counter-increment: step-counter;
  position: relative;
}

.page-register__step-item::before {
  content: "0" counter(step-counter);
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #0F1A2B;
  color: #FFD700;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-register__step-heading {
  font-size: 1.8em;
  color: #0F1A2B;
  margin-bottom: 10px;
  padding-left: 40px; /* Adjust for counter */
}

.page-register__step-text {
  font-size: 1.05em;
  color: #666666;
  padding-left: 40px; /* Adjust for counter */
}

.page-register__cta-button--bottom {
  margin-top: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-register__conditions-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-register__conditions-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-register__condition-item {
  background-color: #ffffff;
  padding: 20px 30px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  color: #333333;
  border-left: 4px solid #FFD700;
}

.page-register__condition-item strong {
  color: #0F1A2B;
}

.page-register__additional-info {
  font-size: 0.95em;
  text-align: center;
  margin-top: 30px;
  color: #777777;
}

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

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

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

.page-register__faq-question {
  display: block;
  padding: 20px 30px;
  font-size: 1.15em;
  font-weight: bold;
  color: #0F1A2B;
  cursor: pointer;
  position: relative;
  user-select: none;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-question .page-register__faq-toggle {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
  padding: 0 30px 20px 30px;
  font-size: 1em;
  color: #555555;
  line-height: 1.8;
}

.page-register__responsible-gaming-section {
  background-color: #f9f9f9;
  padding: 80px 0;
}

.page-register__responsible-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.page-register__responsible-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
  border-left: 4px solid #0F1A2B;
  font-size: 1.05em;
  color: #333333;
}

.page-register__responsible-item strong {
  color: #0F1A2B;
}

.page-register__cta-final-section {
  padding: 60px 0;
  background-color: #0F1A2B; /* Primary brand color for final CTA */
  color: #ffffff;
  text-align: center;
}

.page-register__cta-final-content .page-register__section-title,
.page-register__cta-final-content .page-register__section-intro {
  color: #ffffff;
}

.page-register__cta-final-content .page-register__section-title {
  font-size: 2.8em;
  margin-bottom: 15px;
}

.page-register__cta-final-content .page-register__section-intro {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-register__cta-button--large {
  padding: 18px 40px;
  font-size: 1.4em;
  margin-bottom: 20px;
}

.page-register__text-link {
  display: block;
  color: #FFD700;
  text-decoration: none;
  font-size: 1.1em;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-register__text-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3em;
  }
  .page-register__hero-description {
    font-size: 1.1em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-register {
    padding-top: var(--header-offset, 80px);
  }
  .page-register__hero-content {
    padding: 15px;
  }
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-register__value-grid {
    grid-template-columns: 1fr;
  }
  .page-register__value-icon {
    width: 200px;
    height: auto;
  }
  .page-register__step-heading {
    font-size: 1.5em;
  }
  .page-register__step-item::before {
    left: 10px;
    top: 20px;
    transform: translateY(0);
  }
  .page-register__step-heading,
  .page-register__step-text {
    padding-left: 70px;
  }
  .page-register__faq-question {
    font-size: 1.05em;
    padding: 18px 25px;
  }
  .page-register__faq-question .page-register__faq-toggle {
    right: 15px;
  }
  .page-register__faq-answer {
    padding: 0 25px 18px 25px;
  }
  .page-register__responsible-list {
    grid-template-columns: 1fr;
  }
  .page-register__cta-final-content .page-register__section-title {
    font-size: 2em;
  }
  .page-register__cta-final-content .page-register__section-intro {
    font-size: 1.05em;
  }
  .page-register__cta-button--large {
    padding: 15px 30px;
    font-size: 1.2em;
  }
  .page-register__text-link {
    font-size: 1em;
  }
  /* Mobile content area overflow prevention */
  .page-register {
    max-width: 100%;
    overflow-x: hidden;
  }
  .page-register img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure no content area img is smaller than 200px */
  .page-register__value-icon, .page-register__hero-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__hero-description {
    font-size: 0.9em;
  }
  .page-register__cta-button {
    font-size: 1em;
    padding: 10px 20px;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__step-heading {
    font-size: 1.3em;
  }
  .page-register__step-text {
    font-size: 0.95em;
  }
  .page-register__faq-question {
    font-size: 1em;
  }
  .page-register__cta-final-content .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__cta-button--large {
    font-size: 1.1em;
    padding: 12px 25px;
  }
}