/* style/register.css */

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

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

.page-register__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__section-intro {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 60px; /* Adjusted padding-top to avoid double offset */
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
  min-height: 600px;
  background: linear-gradient(135deg, #017439, #005f2e);
}

.page-register__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15; /* Slightly transparent overlay */
}

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page-register__hero-title {
  font-size: 3.5em;
  color: #FFFF00; /* Custom font color for register/login */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__hero-description {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-register__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0 10px;
  cursor: pointer;
}

.page-register__btn-primary {
  background-color: #C30808; /* Custom color for register */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

.page-register__btn-primary:hover {
  background-color: #e60a0a;
  border-color: #e60a0a;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-register__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-register__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Why Register Section */
.page-register__why-register-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background from shared.css */
}

.page-register__why-register-section .page-register__section-title,
.page-register__why-register-section .page-register__section-intro {
  color: #ffffff;
}

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

.page-register__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-register__feature-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-register__feature-icon {
  width: 100%;
  max-width: 250px; /* Ensure images are not too small */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-register__feature-title {
  font-size: 1.5em;
  color: #FFFF00; /* Highlight important titles */
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* Registration Steps Section */
.page-register__steps-section {
  padding: 80px 0;
  background-color: #FFFFFF; /* Custom background color */
}

.page-register__steps-section .page-register__section-title,
.page-register__steps-section .page-register__section-intro {
  color: #333333;
}

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

.page-register__step-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.page-register__step-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  margin-bottom: 25px;
  border-radius: 8px;
  object-fit: cover;
}

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

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

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

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

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

.page-register__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

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

.page-register__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-register__promo-card h3,
.page-register__promo-card p {
  padding: 0 25px;
}

.page-register__promo-title {
  font-size: 1.4em;
  color: #FFFF00; /* Highlight important titles */
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-register__promo-description {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-register__promo-button {
  margin: 0 25px 25px 25px;
  align-self: flex-start;
}

/* Game Selection Section */
.page-register__game-selection-section {
  padding: 80px 0;
  background-color: #FFFFFF; /* Custom background color */
}

.page-register__game-selection-section .page-register__section-title,
.page-register__game-selection-section .page-register__section-intro {
  color: #333333;
}

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

.page-register__game-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #555555;
}

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

.page-register__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

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

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

.page-register__game-title a {
  color: #017439; /* Link color */
  text-decoration: none;
}

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

.page-register__game-description {
  font-size: 0.9em;
  color: #777777;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Security Section */
.page-register__security-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background from shared.css */
}

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

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