/* style/register.css */

/* Base styles for the register page content */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure consistency with body background */
}

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

.page-register__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-register__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  color: #f0f0f0; /* Slightly off-white for readability */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__highlight {
  color: #26A9E0;
  font-weight: bold;
}

.page-register__link {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-register__link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Buttons */
.page-register__btn-primary {
  display: inline-block;
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-register__btn-primary:hover {
  background-color: #1a7bb0; /* Darker shade for hover */
  transform: translateY(-2px);
}

.page-register__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #26A9E0;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
  box-sizing: border-box;
}

.page-register__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Section */
.page-register__hero-section {
  padding: 60px 0;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  background-color: #000000; /* Dark background */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-register__hero-section .page-register__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

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

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

.page-register__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.5;
}

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

.page-register__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure it behaves as a block element */
}

/* Registration Form */
.page-register__form {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for form background */
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  margin: 0 auto 30px auto; /* Center form */
  text-align: left;
}

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

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

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #333;
  border-radius: 5px;
  background-color: #1a1a1a; /* Dark input background */
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-register__form-input::placeholder {
  color: #aaa;
}

.page-register__form-checkbox {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  color: #f0f0f0;
}

.page-register__checkbox-input {
  margin-right: 10px;
  width: 18px;
  height: 18px;
}

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

.page-register__login-prompt {
  margin-top: 20px;
  font-size: 1.1em;
  color: #f0f0f0;
}

/* Why Choose Section */
.page-register__why-choose-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Darker background for contrast */
}

.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-color: rgba(38, 169, 224, 0.15); /* Semi-transparent brand blue */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-register__benefit-card .page-register__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-register__benefit-card .page-register__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Guide Section */
.page-register__guide-section {
  padding: 80px 0;
  background-color: #000000;
}

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

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

.page-register__step-icon {
  width: 60px;
  height: 60px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 15px rgba(38, 169, 224, 0.4);
}

.page-register__step-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

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

/* Security Section */
.page-register__security-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-register__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-register__feature-card .page-register__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-register__feature-card .page-register__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-register__content-image {
  max-width: 100%;
  height: auto;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Games Section */
.page-register__games-section {
  padding: 80px 0;
  background-color: #000000;
}

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

.page-register__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-register__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-register__game-card .page-register__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-register__game-card .page-register__card-title .page-register__link {
  color: #26A9E0;
}

.page-register__game-card .page-register__card-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Promotions Section */
.page-register__promotions-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-register__promotion-card {
  background-color: rgba(38, 169, 224, 0.15);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-register__promotion-card .page-register__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-register__promotion-card .page-register__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: #000000;
}

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

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #1a1a1a;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: #262626;
}

.page-register__faq-title {
  margin: 0;
  color: #26A9E0;
  font-size: 1.2em;
  line-height: 1.4;
}

.page-register__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg);
  color: #ffffff;
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 20px !important;
}

.page-register__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

/* Final CTA Section */
.page-register__cta-final {
  padding: 80px 0;
  background-color: #1a1a1a;
  text-align: center;
}

.page-register__cta-final .page-register__section-title {
  color: #ffffff;
}

.page-register__button-group {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* General CTA Section for reusability */
.page-register__cta-section {
  text-align: center;
  margin-top: 50px;
}