/* style/register.css */

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

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

/* Section specific styles */
.page-register__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #26A9E0; /* Primary brand color for hero background */
  color: #ffffff;
  overflow: hidden;
}

.page-register__hero-content {
  z-index: 1;
  max-width: 800px;
  margin-bottom: 40px;
}

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

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 0 10px;
  box-sizing: border-box; /* Ensure padding doesn't cause overflow */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

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

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

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

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

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 20px;
  text-align: center;
}

.page-register__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* General section styles */
.page-register__info-section,
.page-register__promo-section,
.page-register__responsible-gaming-section {
  padding: 80px 0;
  text-align: center;
  background-color: #ffffff; /* Explicit light background */
  color: #333333; /* Dark text for light background */
}

.page-register__dark-bg {
  background-color: #26A9E0; /* Brand color for dark sections */
  color: #ffffff;
}

.page-register__light-bg {
  background-color: #ffffff; /* White background for light sections */
  color: #333333;
}

.page-register__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
}

.page-register__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Benefits Grid */
.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-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: #333333;
}

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

.page-register__benefit-card .page-register__benefit-description {
  font-size: 1em;
  color: #555555;
}

/* Guide Section */
.page-register__guide-section {
  padding: 80px 0;
  text-align: center;
  background-color: #26A9E0; /* Dark background */
  color: #ffffff;
}

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

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  text-align: left;
  color: #ffffff;
  position: relative;
}