.page-register {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

/* Hero Section */
.page-register__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  box-sizing: border-box;
}

.page-register__hero-image-wrapper {
  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;
  display: block;
  filter: brightness(0.5); /* Slightly darken image for text readability */
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: #ffffff;
}

.page-register__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 100%;
}

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

.page-register__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-register__btn-primary {
  background-color: #EA7C07; /* Login/Register color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-register__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

.page-register__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-register__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

/* Sections */
.page-register__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles on light background */
}

.page-register__section-description {
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0; /* Default light text for dark sections */
}

.page-register__light-bg .page-register__section-title,
.page-register__light-bg .page-register__section-description {
  color: #333333; /* Dark text for light background sections */
}

.page-register__dark-bg .page-register__section-title,
.page-register__dark-bg .page-register__section-description {
  color: #ffffff; /* Light text for dark background sections */
}

.page-register__dark-bg {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible dark background */
  padding: 80px 0;
}

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

.page-register__brand-bg {
  background-color: #26A9E0;
  padding: 80px 0;
}

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

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

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

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

.page-register__benefit-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-register__benefit-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-register__benefit-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

/* Guide Section */
.page-register__steps-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-register__process-image {
  flex: 1 1 40%;
  min-width: 300px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  height: auto;
  display: block;
}

.page-register__registration-steps {
  flex: 1 1 50%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__step-item {
  background: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #26A9E0;
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #ffffff;
}

.page-register__step-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-register__step-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Security Section */
.page-register__security-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-register__security-image {
  flex: 1 1 40%;
  min-width: 300px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: auto;
  display: block;
}

.page-register__security-features {
  flex: 1 1 50%;
  list-style: none;
  padding: 0;
  margin: 0;
  color: #333333;
}

.page-register__security-features li {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
  position: relative;
  padding-left: 35px;
}

.page-register__security-features li .page-register__icon {
  position: absolute;
  left: 0;
  top: 5px;
  font-size: 1.5rem;
  color: #26A9E0;
}

.page-register__icon--lock::before { content: '🔒'; }
.page-register__icon--shield::before { content: '🛡️'; }
.page-register__icon--audit::before { content: ' auditing'; }
.page-register__icon--verified::before { content: '✅'; }

.page-register__security-footer {
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
  margin-top: 40px;
  color: #555555;
}

.page-register__link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-register__link:hover {
  color: #1a7bbd;
}

/* Games Section */
.page-register__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-register__game-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-register__game-image {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-register__game-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-register__game-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #f0f0f0;
}

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

.page-register__promo-card {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-register__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-register__promo-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-register__promo-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-register__promo-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

/* FAQ Section */
.page-register__faq-list {
  margin-top: 40px;
}

.page-register__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-register__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-register__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-register__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-register__faq-qtext {
  flex-grow: 1;
  color: #26A9E0;
}

.page-register__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

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

.page-register__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Final CTA Section */
.page-register__final-cta-section {
  text-align: center;
}

.page-register__cta-buttons--center {
  margin-top: 40px;
}

.page-register__btn-large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: 2.8rem;
  }
  .page-register__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-register__hero-content {
    max-width: 100%;
  }
  .page-register__main-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }
  .page-register__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-register__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register a[class*="button"],
  .page-register a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__cta-buttons,
  .page-register__button-group,
  .page-register__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-register__benefits-grid,
  .page-register__games-grid,
  .page-register__promotion-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-register__steps-wrapper,
  .page-register__security-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-register__process-image,
  .page-register__security-image {
    min-width: unset;
    width: 100%;
  }
  .page-register__section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  .page-register__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-register__benefits-section,
  .page-register__guide-section,
  .page-register__security-section,
  .page-register__games-section,
  .page-register__promotions-section,
  .page-register__faq-section,
  .page-register__final-cta-section {
    padding: 50px 0;
  }
  .page-register__container {
    padding: 0 15px;
  }
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-register__section,
  .page-register__card,
  .page-register__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-register__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: 1.8rem;
  }
  .page-register__section-title {
    font-size: 1.5rem;
  }
  .page-register__step-title,
  .page-register__benefit-title,
  .page-register__game-title,
  .page-register__promo-title {
    font-size: 1.2rem;
  }
  .page-register__btn-large {
    font-size: 1rem;
    padding: 15px 25px;
  }
}