/* style/login.css */
.page-login {
  color: #ffffff; /* Light text for dark body background */
  background-color: #121212; /* Explicitly set to match body for consistency */
  padding-top: var(--header-offset, 120px);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-login__hero-section {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #1A1A2E, #0a0a1a);
  border-bottom: 2px solid #FFD700;
}

.page-login__main-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  line-height: 1.2;
}

.page-login__intro-description {
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto;
}

.page-login__form-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Darker background for the form section */
}

.page-login__form-container {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.page-login__form-wrapper {
  background: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  flex: 1;
  max-width: 500px;
  border: 1px solid #FFD700;
}

.page-login__form-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 20px;
  text-align: center;
}

.page-login__form-intro {
  color: #f0f0f0;
  margin-bottom: 30px;
  text-align: center;
  font-size: 0.95em;
}

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

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

.page-login__input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #FFD700;
  border-radius: 5px;
  background-color: #0d0d1a;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__input::placeholder {
  color: #aaa;
}

.page-login__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 15px;
}

.page-login__forgot-password {
  color: #FFD700;
  text-decoration: none;
  font-size: 0.9em;
  transition: color 0.3s ease;
}

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

.page-login__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background-color: #FFD700;
  color: #1A1A2E; /* Dark text on gold for contrast */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-primary:hover {
  background-color: #e0b000;
  transform: translateY(-2px);
}

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

.page-login__register-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

.page-login__image-wrapper {
  flex: 1;
  max-width: 600px;
  text-align: center;
}

.page-login__form-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #FFD700;
}

.page-login__section-title {
  font-size: 2.2em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.page-login__section-description {
  font-size: 1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-login__security-section {
  padding: 80px 0;
  background-color: #121212;
}

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

.page-login__feature-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #FFD700;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
}

.page-login__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 5px;
  object-fit: cover;
}

.page-login__feature-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-login__feature-text {
  color: #e0e0e0;
  font-size: 0.95em;
}

.page-login__responsible-gambling {
  background: rgba(255, 215, 0, 0.1);
  padding: 30px;
  border-radius: 10px;
  margin-top: 60px;
  border: 1px solid #FFD700;
  text-align: center;
}

.page-login__responsible-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-login__responsible-text {
  color: #f0f0f0;
  font-size: 1em;
}

.page-login__link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-login__link:hover {
  color: #fff;
}

.page-login__benefits-section {
  padding: 80px 0;
  background-color: #1a1a2e;
  border-top: 2px solid #FFD700;
}

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

.page-login__benefit-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #FFD700;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
}

.page-login__benefit-icon {
  width: 100%;
  height: auto;
  max-width: 280px;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 5px;
  object-fit: cover;
}

.page-login__benefit-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-login__benefit-text {
  color: #e0e0e0;
  font-size: 0.95em;
}

.page-login__faq-section {
  padding: 80px 0;
  background-color: #121212;
  border-top: 2px solid #FFD700;
}

.page-login__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ容器样式 */
.page-login__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

/* FAQ默认状态 - 答案 ẩn */
.page-login__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: #f0f0f0;
  font-size: 0.95em;
}