/* style/register.css */

/* Base Styles */
.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #f5f5f5; /* Body background from shared.css */
}

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

.page-register__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-register__hero-section {
  padding: 100px 0;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  background: linear-gradient(135deg, #26A9E0, #1a7bbd);
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

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

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

.page-register__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* For responsiveness */
}

.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; /* For responsiveness */
  max-width: 100%; /* For responsiveness */
  white-space: normal; /* For responsiveness */
  word-wrap: break-word; /* For responsiveness */
}

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

.page-register__btn-primary:hover {
  background-color: #d16b07;
  border-color: #d16b07;
  transform: translateY(-2px);
}

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

.page-register__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
  transform: translateY(-2px);
}

.page-register__hero-image-wrapper {
  margin-top: 40px;
}

.page-register__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: #f5f5f5;
  color: #333333;
}

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

.page-register__card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-register__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

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

.page-register__card-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
}

/* Registration Guide Section */
.page-register__registration-guide-section {
  padding: 80px 0;
  background-color: #e0f2f7; /* Lighter blue background */
  color: #333333;
}

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

.page-register__step-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
}

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

.page-register__step-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-register__step-text a {
  color: #EA7C07; /* Login color for links */
  text-decoration: none;
  font-weight: bold;
}

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

.page-register__guide-image-wrapper {
  margin-top: 50px;
  text-align: center;
}

.page-register__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-register__additional-info {
  font-size: 1em;
  text-align: center;
  margin-top: 30px;
  color: #666666;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Promotions Section */
.page-register__promotions-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Primary color background */
  color: #ffffff;
}

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

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

.page-register__promo-card {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.page-register__promo-card:hover {
  transform: translateY(-8px);
}

.page-register__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-register__promo-title {
  font-size: 1.7em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__promo-text {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-register__promo-card .page-register__btn-primary {
  background-color: #EA7C07;
  border-color: #EA7C07;
  color: #ffffff;
  align-self: center;
  margin-top: auto;
}

.page-register__promo-card .page-register__btn-primary:hover {
  background-color: #d16b07;
  border-color: #d16b07;
}

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

/* Game Showcase Section */
.page-register__game-showcase-section {
  padding: 80px 0;
  background-color: #f5f5f5;
  color: #333333;
}

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

.page-register__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-register__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-register__game-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-register__game-title a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-register__game-text {
  font-size: 0.95em;
  color: #555555;
  line-height: 1.7;
}

/* Security Section */
.page-register__security-section {
  padding: 80px 0;
  background-color: #000000; /* Dark background for security */
  color: #ffffff;
}

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