/* style/register.css */

/* Base styles for the register page */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main for dark background */
  background-color: #0A0A0A; /* Background color */
}

/* Section styling */
.page-register__hero-section,
.page-register__why-register,
.page-register__how-to-register,
.page-register__game-portfolio,
.page-register__security-section,
.page-register__promotions-section,
.page-register__mobile-app-section,
.page-register__faq-section,
.page-register__call-to-action {
  padding: 80px 20px;
  text-align: center;
}

/* Specific background and text colors based on section */
.page-register__dark-bg {
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}

.page-register__light-bg {
  background-color: #111111; /* Card BG, but used as light for contrast */
  color: #FFF6D6; /* Text Main */
}

/* Adjust padding-top for first content section (not hero) if body padding is not enough, but prompt says body takes care of it.
   Hero section can have a small padding-top for design. */
.page-register__hero-section {
  padding-top: 10px; /* Small top padding for hero section */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero section has a decent height */
}

.page-register__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-register__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Use clamp for H1 font size */
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD36B; /* Glow color for prominence */
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
}

/* General container for content */
.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-register__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2C14E; /* Main color */
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Subtle glow */
}

.page-register__section-description {
  font-size: 1.1rem;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

/* Card styling */
.page-register__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #FFF6D6;
  height: 100%; /* Ensure cards in a grid have equal height */
}

.page-register__card h3,
.page-register__card a {
  color: #F2C14E; /* Main color for titles/links in cards */
  text-decoration: none;
}

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

/* Button styling */
.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for bright button */
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.7); /* Glow */
}

.page-register__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(255, 211, 107, 1);
}

.page-register__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Main color border */
}

.page-register__btn-secondary:hover {
  background-color: #F2C14E; /* Main color */
  color: #0A0A0A; /* Background color for hover text */
  transform: translateY(-3px);
}

/* Why Register Section */
.page-register__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-register__feature-card {
  padding: 25px;
  text-align: center;
}

.page-register__feature-icon {
  width: 100%;
  height: auto;
  max-height: 200px; /* Limit height for feature icons */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-register__feature-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #F2C14E;
}

.page-register__feature-text {
  font-size: 1rem;
  color: #FFF6D6;
}

/* How to Register Section */
.page-register__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-register__step-item {
  padding: 25px;
  position: relative;
  text-align: center;
}

.page-register__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #F2C14E; /* Main color */
  color: #0A0A0A; /* Dark text for bright number */
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-register__step-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #FFD36B; /* Glow color */
}

.page-register__step-text {
  font-size: 1rem;
  color: #FFF6D6;
}

/* Game Portfolio Section */
.page-register__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-register__game-card {
  padding: 20px;
  text-align: center;
}

.page-register__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-register__game-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.page-register__game-title a {
  color: #F2C14E;
}

.page-register__game-text {
  font-size: 1rem;
  color: #FFF6D6;
}

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

.page-register__security-item {
  padding: 25px;
  text-align: center;
}

.page-register__security-icon {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-register__security-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #FFD36B;
}

.page-register__security-text {
  font-size: 1rem;
  color: #FFF6D6;
}

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

.page-register__promo-card {
  padding: 25px;
  text-align: center;
}

.page-register__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-register__promo-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #F2C14E;
}

.page-register__promo-text {
  font-size: 1rem;
  color: #FFF6D6;
}

/* Mobile App Section */
.page-register__mobile-app-section {
  padding: 100px 20px;
}

.page-register__app-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  max-width: 1000px;
  margin: 50px auto 0 auto;
  text-align: left;
}

.page-register__app-text {
  flex: 1;
}

.page-register__app-subtitle {
  font-size: 2rem;
  color: #F2C14E;
  margin-bottom: 20px;
}

.page-register__app-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-register__app-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* FAQ Section */
.page-register__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__faq-item {
  margin-bottom: 20px;
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
}