/* style/register.css */

/* Custom properties for brand colors */
:root {
  --primary-color: #0A2463; /* Deep Blue */
  --secondary-color: #E3B347; /* Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f4f4; /* Matches body background from shared.css */
  --border-color: #e0e0e0;
}

/* Base styles for the register page content */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Dark text for light body background */
  background-color: var(--background-light); /* Ensure consistency if body background is overridden */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-register__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-register__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: var(--primary-color); /* Dark background for hero */
  color: var(--text-light); /* Light text for dark background */
  overflow: hidden;
}

.page-register__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Ensure content is above image if image is positioned absolutely */
}

.page-register__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-register__main-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--secondary-color); /* Gold color for main title */
}

.page-register__intro-text {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

/* CTA Button - Primary */
.page-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color); /* Gold background */
  color: var(--primary-color); /* Deep blue text for contrast */
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-register__cta-button:hover {
  background: #f0c25a; /* Slightly lighter gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: var(--background-light); /* Light background */
  color: var(--text-dark);
}

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

.page-register__benefit-card {
  background: var(--text-light); /* White card background */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden; /* Ensure image border-radius works */
}

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

.page-register__benefit-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  min-width: 200px; /* Min size for image */
  min-height: 200px; /* Min size for image */
}

.page-register__benefit-card:hover img {
  transform: scale(1.03);
}

.page-register__card-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__benefit-card p {
  font-size: 16px;
  color: #555555;
}

/* How to Register Section */
.page-register__how-to-register {
  padding: 80px 0;
  background-color: var(--primary-color); /* Dark section background */
  color: var(--text-light);
}

.page-register__how-to-register .page-register__section-title {
  color: var(--secondary-color); /* Gold title for dark background */
}

.page-register__how-to-register .page-register__section-description {
  color: var(--text-light);
}

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

.page-register__step-item {
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-register__step-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-register__step-number {
  font-size: 48px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-register__step-title {
  font-size: 22px;
  color: var(--text-light);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__step-item p {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-register__btn-text {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-register__btn-text:hover {
  color: #f0c25a;
  border-color: #f0c25a;
}

/* Game Overview Section */
.page-register__game-overview {
    padding: 80px 0;
    background-color: var(--background-light);
    color: var(--text-dark);
}

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

.page-register__game-card {
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__game-card .page-register__card-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.page-register__game-card .page-register__card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-register__game-card .page-register__card-title a:hover {
    color: var(--secondary-color);
}

.page-register__game-card p {
    font-size: 15px;
    color: #666666;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: var(--background-light); /* Light background */
  color: var(--text-dark);
}

.page-register__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

/* FAQ container styles */
.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}