/* style/register.css */

/* Base styles for the page-register scope */
.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Assuming body handles the dark background */
  padding-bottom: 60px; /* Add some padding at the bottom */
}

/* Container for general content width */
.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section titles */
.page-register__section-title {
  font-size: 2.5em;
  color: #ffffff; /* White text for dark sections */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

/* Section descriptions */
.page-register__section-description {
  font-size: 1.1em;
  color: #f0f0f0; /* Slightly off-white for description */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Text block for sections with light background */
.page-register__text-block {
  color: #333333; /* Dark text for light background */
}
.page-register__text-block .page-register__section-title {
  color: #000000; /* Black title for light background */
}
.page-register__text-block .page-register__section-description {
  color: #333333; /* Dark text for light background */
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  overflow: hidden;
  box-sizing: border-box;
}

.page-register__hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-register__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: -1;
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

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

.page-register__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Buttons */
.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;
  cursor: pointer;
  margin: 10px;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-register__btn-primary:hover {
  background: #1e87b6;
  transform: translateY(-2px);
}

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

.page-register__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87b6;
  transform: translateY(-2px);
}

.page-register__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-register__btn-login {
  background: #EA7C07; /* Login specific color */
  color: #ffffff;
  border: 2px solid transparent;
}
.page-register__btn-login:hover {
  background: #c76706;
}

/* Dark background section */
.page-register__dark-section {
  background-color: #1a1a1a; /* A dark grey, assuming var(--black-color) is similar */
  padding: 80px 0;
  color: #ffffff;
}
.page-register__dark-section .page-register__section-title {
  color: #ffffff;
}
.page-register__dark-section .page-register__section-description {
  color: #f0f0f0;
}

/* Light background section */
.page-register__light-bg {
  background-color: #ffffff;
  padding: 80px 0;
  color: #333333;
}
.page-register__light-bg .page-register__section-title {
  color: #000000;
}
.page-register__light-bg .page-register__section-description {
  color: #333333;
}

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

.page-register__benefit-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white card for dark section */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-register__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-register__benefit-icon {
  width: 200px; /* Min size 200px */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%; /* Example style */
}

.page-register__benefit-title {
  font-size: 1.5em;
  color: #26A9E0; /* Brand color for titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__benefit-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

/* Registration Form/Steps Section */
.page-register__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-register__step-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
  transition: transform 0.3s ease;
}

.page-register__step-card:hover {
  transform: translateY(-5px);
}

.page-register__step-number {
  background: #26A9E0;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-register__step-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-register__link-in-text {
  color: #26A9E0;
  text-decoration: underline;
}
.page-register__link-in-text:hover {
  color: #1e87b6;
}

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

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

.page-register__feature-icon {
  width: 250px; /* Min size 200px */
  height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-register__feature-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-register__security-footer-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #f0f0f0;
}

/* Games & Promotions Preview Section */
.page-register__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-register__content-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-register__content-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-register__content-card h3,
.page-register__content-card p,
.page-register__content-card a {
  padding: 0 20px;
}

.page-register__content-title {
  font-size: 1.5em;
  color: #000000;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-register__content-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-register__btn-link {
  display: inline-block;
  padding: 10px 20px;
  background: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: background 0.3s ease;
  align-self: flex-start;
}

.page-register__btn-link:hover {
  background: #1e87b6;
}

/* FAQ Section */
.page-register__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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