/* style/register.css */

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

/* Fixed header spacing (body handled by shared.css) */
/* The first content section will have a small padding-top */
.page-register__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #0A0A0A; /* Background */
  overflow: hidden;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  max-height: 700px; /* Limit hero image height */
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  padding: 80px 20px 0;
  color: #FFF6D6;
}

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

.page-register__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.page-register__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff; /* Button text always white for contrast */
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4); /* Glow */
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-register__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: #F2C14E; /* Primary color for text */
  background: #111111; /* Card BG */
  border: 2px solid #3A2A12; /* Border */
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-secondary:hover {
  background-color: #F2C14E; /* Primary color */
  color: #0A0A0A; /* Background color for text */
  border-color: #F2C14E;
}

.page-register__section-spacing {
  padding: 80px 0;
}

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

.page-register__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #FFD36B; /* Glow color */
  text-align: center;
  margin-bottom: 20px;
}

.page-register__section-title--light {
  color: #FFD36B; /* Ensure light color for dark sections */
}

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

.page-register__section-description--light {
  color: #FFF6D6;
}

.page-register__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
}

.page-register__section-image {
  display: block;
  margin: 40px auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Why Join Section */
.page-register__why-join-section {
  background-color: #0A0A0A; /* Background */
}

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

.page-register__feature-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
  font-weight: 600;
}

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

/* Steps Section */
.page-register__dark-section {
  background-color: #111111; /* Card BG for dark sections */
}

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

.page-register__step-item {
  text-align: center;
}

.page-register__step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #F2C14E; /* Primary color */
  color: #0A0A0A; /* Background color for contrast */
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-register__security-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
  font-weight: 600;
}

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

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

.page-register__bonus-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-register__bonuses-cta {
  margin-top: 40px;
  text-align: center;
  display: block;
}

/* Games Section */
.page-register__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-register__category-item {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.4); /* Glow */
}

.page-register__category-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-register__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5)); /* Subtle glow for icons */
}

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

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

.page-register__games-cta {
  margin-top: 40px;
  text-align: center;
  display: block;
}

/* Responsible Gaming Section */
.page-register__responsible-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-register__responsible-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
  font-weight: 600;
}