/* style/register.css */

/* Base styles for the page-register scope */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: transparent; /* Inherit from body or shared */
}

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

/* Section styling */
.page-register__hero-section,
.page-register__process-section,
.page-register__benefits-section,
.page-register__game-types-section,
.page-register__secure-section,
.page-register__faq-section,
.page-register__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

.page-register__dark-bg {
  background-color: var(--black-color, #000000); /* Ensure dark background */
  color: #ffffff; /* Light text on dark background */
}

.page-register__light-bg {
  background-color: #ffffff; /* White background */
  color: #333333; /* Dark text on light background */
}

.page-register__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: inherit; /* Inherit from section for contrast */
}

.page-register__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit; /* Inherit from section for contrast */
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  overflow: hidden;
  /* padding-top: var(--header-offset, 120px);  handled by inline style in HTML */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 600px;
}

.page-register__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Make it a background image */
}

.page-register__hero-section > .page-register__container {
  position: relative;
  z-index: 1;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffffff;
}

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

/* CTA Buttons */
.page-register__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary {
  background-color: #26A9E0; /* Primary color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-register__btn-secondary {
  background-color: transparent;
  color: #ffffff; /* Light text for dark sections */
  border: 2px solid #ffffff;
}
.page-register__dark-bg .page-register__btn-secondary { /* For dark background sections */
  color: #ffffff;
  border-color: #ffffff;
}
.page-register__light-bg .page-register__btn-secondary { /* For light background sections */
  color: #26A9E0;
  border-color: #26A9E0;
}


.page-register__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.page-register__light-bg .page-register__btn-secondary:hover { /* For light background sections */
  background-color: #26A9E0;
  color: #ffffff;
}

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

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

.page-register__step-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px; /* Apply border-radius to images */
}

.page-register__step-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

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

.page-register__cta-text {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: inherit;
}

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

.page-register__benefit-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-register__benefit-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-register__card-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #26A9E0;
}
}