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

/* General Styles */
.page-login {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark #1a1a2e, so text should be light */
  background-color: #1a1a2e; /* Inherited from body, but good to be explicit for main */
}

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

.page-login__main-title,
.page-login__section-title {
  color: #FFFF00; /* Custom color for titles */
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5em;
  font-weight: bold;
}

.page-login__description {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1em;
  color: #f0f0f0;
}

/* Specific text color for light backgrounds */
.page-login__description--dark-text {
    color: #333333;
}

.page-login__section-title--dark-text {
    color: #017439; /* Brand color for titles on light background */
}


/* Buttons */
.page-login__btn-primary {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background-color: #C30808; /* Custom color for login/register buttons */
  color: #FFFF00; /* Custom font color for login/register buttons */
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-primary:hover {
  background-color: #a00606;
}

.page-login__btn-secondary {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background-color: transparent;
  color: #017439; /* Brand color */
  border: 2px solid #017439; /* Brand color border */
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

/* Hero Section */
.page-login__hero-section {
  position: relative;
  width: 100%;
  padding: 80px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:bg_hero:1920x1080:app no hu,login background,secure,abstract,gaming]') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  color: #ffffff;
}

.page-login__hero-section .page-login__container {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-login__hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 550px;
  text-align: center;
}

.page-login__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-login__hero-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* Login Card */
.page-login__login-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 100%;
  margin: 40px auto 0;
  box-sizing: border-box;
}

.page-login__card-title {
  color: #FFFF00; /* Custom font color for titles */
  font-size: 1.8em;
  text-align: center;
  margin-bottom: 25px;
}

.page-login__form-group {
  margin-bottom: 20px;
}

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-weight: bold;
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #017439; /* Brand color border */
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__form-input::placeholder {
  color: #cccccc;
}

.page-login__form-options {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 25px;
}

.page-login__forgot-password {
  color: #017439; /* Brand color */
  text-decoration: none;
  font-size: 0.95em;
  transition: color 0.3s ease;
}

.page-login__forgot-password:hover {
  color: #00a050;
}

.page-login__register-prompt {
  text-align: center;
  margin-top: 25px;
  color: #f0f0f0;
}

.page-login__register-link {
  color: #C30808; /* Custom color for register link */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-login__register-link:hover {
  color: #a00606;
}

/* Benefits Section */
.page-login__benefits-section {
  padding: 80px 0;
}

.page-login__dark-section {
  background-color: #017439; /* Brand color as background */
  color: #ffffff; /* White text for contrast */
}

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