/* style/register.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* General Styles */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
}

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

.page-register__section-title {
  font-size: 3em;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
  font-weight: bold;
}

.page-register__link {
  color: #FFFF00; /* Register/Login font color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-register__link:hover {
  color: #C30808; /* Register/Login button color for hover */
  text-decoration: underline;
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary {
  background: #C30808; /* Register button color */
  color: #FFFF00; /* Register font color */
  border: 2px solid #C30808;
}

.page-register__btn-primary:hover {
  background: #990000;
  border-color: #990000;
}

.page-register__btn-secondary {
  background: #017439; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-register__btn-secondary:hover {
  background: #005a2e;
  border-color: #005a2e;
}

.page-register__large-btn {
  font-size: 1.2em;
  padding: 18px 35px;
}

/* Dark Background Sections */
.page-register__dark-bg {
  background-color: var(--dark-bg-1, #0d0d0d); /* Assuming var(--dark-bg-1) is dark */
  color: #ffffff;
  padding: 80px 0;
}

/* Hero Section */
.page-register__hero-section {
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  display: flex;
  align-items: center;
  min-height: 70vh;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(rgba(1, 116, 57, 0.8), rgba(1, 116, 57, 0.8)), url("[GALLERY:bg_hero:1920x1080:alo789,cockfighting,arena,crowd,energy,dynamic]"); /* Example background image */
  background-size: cover;
  background-position: center;
}

.page-register__hero-section .page-register__container {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.page-register__hero-content {
  flex: 1;
  text-align: left;
}

.page-register__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Highlighted title */
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

/* Form Section */
.page-register__form-section {
  background-color: #ffffff; /* Light background for the form */
  color: #333333; /* Dark text for light background */
  padding: 80px 0;
}

.page-register__form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: #f9f9f9;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-register__registration-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-register__input-group {
  margin-bottom: 15px;
}

.page-register__label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333333;
}

.page-register__input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
  box-sizing: border-box;
}

.page-register__input:focus {
  border-color: #017439;
  outline: none;
  box-shadow: 0 0 0 3px rgba(1, 116, 57, 0.2);
}

.page-register__input-hint {
  font-size: 0.9em;
  color: #777;
  margin-top: 5px;
}

.page-register__captcha-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-register__captcha-input {
  flex: 1;
}

.page-register__captcha-refresh-btn {
  background: #017439;
  color: #ffffff;
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-register__captcha-refresh-btn:hover {
  background: #005a2e;
}

.page-register__checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.page-register__checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.page-register__checkbox-label {
  font-size: 0.95em;
  color: #555;
}

.page-register__btn-register {
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
  margin-top: 20px;
  background: #C30808;
  color: #FFFF00;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-register__btn-register:hover {
  background: #990000;
}

.page-register__login-prompt {
  text-align: center;
  margin-top: 20px;
  font-size: 1em;
  color: #555;
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: var(--dark-bg-1, #0d0d0d);
  color: #ffffff;
}

.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: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-register__benefit-icon {
  width: 200px; /* Enforced min size */
  height: 200px; /* Enforced min size */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px; /* Added for consistency */
}

.page-register__benefit-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00; /* Highlighted title */
}

.page-register__benefit-description {
  font-size: 1em;
  color: #f0f0f0;
}