/* style/register.css */
/* Base styles */
.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 15px;
  box-sizing: border-box;
}

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

.page-register__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0; /* Light grey for intro text on dark background */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.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 contrast */
  z-index: 2;
}

.page-register__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

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

.page-register__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  line-height: 1.5;
  color: #f0f0f0; /* Light grey description on dark overlay */
}

.page-register__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* 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;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.page-register__btn-primary {
  background-color: #C30808; /* Custom Register color */
  color: #FFFF00; /* Custom Register text color */
}

.page-register__btn-primary:hover {
  background-color: #a00606; /* Darker red on hover */
  transform: translateY(-2px);
}

.page-register__btn-secondary {
  background-color: #017439; /* Brand green for secondary */
  color: #ffffff; /* White text on brand green */
  border-color: #017439;
}

.page-register__btn-secondary:hover {
  background-color: #005a2e; /* Darker green on hover */
  border-color: #005a2e;
  transform: translateY(-2px);
}

.page-register__cta-buttons--centered {
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: #FFFFFF; /* White background for light text */
  color: #333333; /* Dark text for white background */
}

.page-register__benefits-section .page-register__section-title {
  color: #017439; /* Brand green for titles */
}

.page-register__benefits-section .page-register__section-intro {
  color: #555555; /* Darker grey for intro text on light background */
}

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

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

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

.page-register__benefit-icon {
  width: 100%; /* Ensure full width */
  max-width: 250px; /* Limit icon size */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain; /* Ensure image fits without cropping */
  border-radius: 8px;
}

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

.page-register__benefit-text {
  font-size: 1em;
  color: #666666;
}

/* Steps Section */
.page-register__steps-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background for this section */
  color: #ffffff; /* Light text */
}

.page-register__steps-section .page-register__section-title {
  color: #ffffff; /* White title on dark background */
}

.page-register__steps-section .page-register__section-intro {
  color: #e0e0e0; /* Light grey intro text */
}

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

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: #017439; /* Brand green for step numbers */
  color: #ffffff;
  border-radius: 50%;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

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

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

.page-register__steps-image {
    display: block;
    max-width: 800px;
    width: 100%;
    height: auto;
    margin: 60px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Games Section */
.page-register__games-section {
  padding: 80px 0;
  background-color: #FFFFFF; /* White background */
  color: #333333; /* Dark text */
}

.page-register__games-section .page-register__section-title {
  color: #017439;
}

.page-register__games-section .page-register__section-intro {
  color: #555555;
}

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

.page-register__game-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: center;
}

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

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

.page-register__game-title {
  font-size: 1.4em;
  color: #017439;
  margin: 15px 15px 10px 15px;
  font-weight: bold;
}

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

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

.page-register__game-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 15px 20px 15px;
}

/* Promo Video Section */
.page-register__promo-video-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-register__promo-video-section .page-register__section-title {
  color: #ffffff;
}

.page-register__promo-video-section .page-register__section-intro {
  color: #e0e0e0;
}

.page-register__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 1000px;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__video-wrapper .page-register__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}