.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

/* Ensure main content area has correct padding-top to clear fixed header */
.page-content.page-register {
  padding-top: var(--header-offset, 120px);
}

.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #017439, #005f2e); /* Brand green gradient */
  color: #ffffff;
}

.page-register__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-register__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-register__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Custom color for register title */
}

.page-register__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Custom color for register button */
  color: #FFFF00; /* Custom color for register button text */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-register__cta-button:hover {
  background: #a30606; /* Slightly darker red on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-register__cta-button--small {
  padding: 12px 30px;
  font-size: 16px;
  margin-top: 20px;
}

.page-register__cta-button--large {
  padding: 20px 60px;
  font-size: 22px;
  margin-top: 40px;
}

.page-register__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #017439;
}

.page-register__section-title--light {
  color: #ffffff;
}

.page-register__section-intro {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-register__section-intro--light {
  color: #f0f0f0;
}

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

.page-register__container--centered {
  text-align: center;
}

.page-register__light-bg {
  background-color: #FFFFFF;
  padding: 80px 0;
  color: #333333;
}

.page-register__dark-bg {
  background-color: #017439;
  padding: 80px 0;
  color: #ffffff;
}

/* Benefits Section */
.page-register__benefits-section {
  padding-bottom: 60px;
}

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

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

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

.page-register__benefit-item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-register__benefit-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-register__benefit-item p {
  font-size: 16px;
  color: #555555;
}

/* Guide Section */
.page-register__guide-section {
  padding-bottom: 60px;
}

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

.page-register__step-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-register__step-item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-register__step-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-register__step-item p {
  font-size: 16px;
  color: #f0f0f0;
}

.page-register__tips-box {
  background: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  margin-top: 50px;
  text-align: left;
}

.page-register__tips-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #017439;
}

.page-register__tips-title--light {
  color: #FFFF00;
}

.page-register__tips-list {
  list-style: disc;
  padding-left: 25px;
  font-size: 16px;
  color: #555555;
}

.page-register__tips-list--light li {
  color: #f0f0f0;
  margin-bottom: 10px;
}

.page-register__tips-list--light li strong {
  color: #FFFF00;
}

/* Rewards Section */
.page-register__rewards-section {
  padding-bottom: 60px;
}

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

.page-register__reward-item {
  text-align: center;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__reward-item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-register__reward-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-register__reward-item p {
  font-size: 16px;
  color: #555555;
}

/* Games Section */
.page-register__games-section {
  padding-bottom: 60px;
}

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

.page-register__game-item {
  text-align: center;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__game-item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-register__game-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFF00; /* Custom color for game titles in dark section */
}

.page-register__game-item p {
  color: #f0f0f0;
}

.page-register__game-title a {
  color: inherit; /* Inherit color from parent */
  text-decoration: none;
}

.page-register__game-title a:hover {
  text-decoration: underline;
}

/* Security Section */
.page-register__security-section {
  padding-bottom: 60px;
}

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

.page-register__security-item {
  text-align: center;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-register__security-item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-register__security-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-register__security-item p {
  font-size: 16px;
  color: #555555;
}