/* style/register.css */

/* Base styles for the register page */
.page-register {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure consistency with body background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

.page-register__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold brand color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Hero Section */
.page-register__hero-section {
  position: relative;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
  padding: 100px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 70vh; /* Ensure hero section is visible */
}

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

.page-register__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-register__hero-title {
  font-size: 3.8em;
  color: #FFD700; /* Gold brand color */
  margin-bottom: 25px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.page-register__hero-description {
  font-size: 1.4em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.5;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-register__btn-primary {
  background-color: #FFD700; /* Gold brand color */
  color: #000000; /* Black text for contrast */
}

.page-register__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-register__btn-secondary {
  background-color: #8B0000; /* Dark Red brand color */
  color: #ffffff;
  border: 2px solid #FFD700;
}

.page-register__btn-secondary:hover {
  background-color: #a00000;
  transform: translateY(-3px);
}

.page-register__promo-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 40px auto 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-register__promo-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-register__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Subtle overlay for video */
  pointer-events: none; /* Allow clicks to pass through to video */
}

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

.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: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-register__benefit-icon {
  width: 100%;
  height: auto;
  max-width: 200px; /* Adjusted to meet minimum display size requirement */
  min-width: 200px; /* Explicitly ensure minimum width */
  min-height: 200px; /* Explicitly ensure minimum height */
  margin: 0 auto 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-register__benefit-description {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.6;
}

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

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

.page-register__step-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(139, 0, 0, 0.3);
}

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

.page-register__step-number {
  width: 60px;
  height: 60px;
  background-color: #FFD700;
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

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

.page-register__step-description {
  font-size: 0.95em;
  color: #cccccc;
  line-height: 1.6;
}

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

/* Games Section */
.page-register__games-section {
  background-color: #1a1a1a;
  padding: 80px 0;
}

.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: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

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

.page-register__game-title {
  font-size: 1.4em;
  color: #FFD700;
  padding: 15px;
  font-weight: bold;
}

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

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

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

/* Promotions Section */
.page-register__promo-section {
  background-color: #0d0d0d;
  padding: 80px 0;
}

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

.page-register__promo-card {
  background-color: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  border: 1px solid rgba(139, 0, 0, 0.3);
}

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

.page-register__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency, will be responsive */
  object-fit: cover;
}

.page-register__promo-title {
  font-size: 1.4em;
  color: #FFD700;
  padding: 15px;
  font-weight: bold;
}

.page-register__promo-title a {
  color: #FFD700;
  text-decoration: none;
}

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

.page-register__promo-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 15px 20px;
  line-height: 1.6;
}

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

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

.page-register__security-item {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-register__security-item:hover {
  transform: translateY(-10px);
}