.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: #000; /* Body background is black */
}

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

/* Fixed header spacing */
.page-register {
  padding-top: 120px; /* Desktop: Adjust based on fixed header height */
}

.page-register__hero-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #002060, #003399); /* Deep blue gradient */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-register__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract_geometric_pattern_dark]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-register__hero-section .page-register__container {
  position: relative;
  z-index: 1;
}

.page-register__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFD700; /* Gold color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-register__description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary {
  background: #FFD700; /* Gold */
  color: #002060; /* Dark blue */
}

.page-register__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-register__btn-secondary {
  background: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-register__btn-secondary:hover {
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-register__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFD700; /* Gold */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-register__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__light-bg {
  background-color: #f8f9fa; /* Light background */
  color: #333333; /* Dark text */
  padding: 80px 0;
}

.page-register__dark-bg {
  background-color: #002060; /* Dark blue background */
  color: #ffffff; /* Light text */
  padding: 80px 0;
}

/* Registration Form Section */
.page-register__form-section .page-register__section-title {
  color: #002060;
}

.page-register__form-section .page-register__section-subtitle {
  color: #555555;
}

.page-register__registration-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

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

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

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-register__form-input:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
  outline: none;
}

.page-register__form-checkbox {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
}

.page-register__form-checkbox input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
}

.page-register__form-checkbox .page-register__form-label {
  margin-bottom: 0;
  font-weight: normal;
}

.page-register__form-link {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.page-register__form-link:hover {
  text-decoration: underline;
}

.page-register__submit-button {
  width: 100%;
  padding: 15px 20px;
  font-size: 1.2em;
  border-radius: 8px;
  background: #002060; /* Dark blue */
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__submit-button:hover {
  background: #003399;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

.page-register__benefit-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

.page-register__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-register__benefit-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-register__benefit-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold */
  margin-bottom: 10px;
}

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

.page-register__cta-center {
  text-align: center;
  margin-top: 60px;
}

/* Security Section */
.page-register__security-section .page-register__section-title {
  color: #002060;
}

.page-register__security-section .page-register__section-subtitle {
  color: #555555;
}

.page-register__security-content {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-register__security-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  box-sizing: border-box;
}

.page-register__security-item h3 {
  font-size: 1.5em;
  color: #002060;
  margin-bottom: 10px;
}

.page-register__security-item p {
  color: #555555;
}

.page-register__security-img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

/* Games Section */
.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: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

.page-register__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-register__game-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-register__game-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-register__game-button {
  display: inline-block;
  padding: 10px 25px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.95em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Promotions Section */
.page-register__promotions-section .page-register__section-title {
  color: #002060;
}

.page-register__promotions-section .page-register__section-subtitle {
  color: #555555;
}

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

.page-register__promo-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

.page-register__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-register__promo-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-register__promo-title {
  font-size: 1.8em;
  color: #002060;
  margin-bottom: 15px;
}

.page-register__promo-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
}

.page-register__promo-button {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* FAQ Section */
.page-register__faq-section .page-register__section-title {
  color: #FFD700;
}

.page-register__faq-section .page-register__section-subtitle {
  color: #f0f0f0;
}

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

.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  background: #003399;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #002060;
  border: 1px solid #001a4d;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-register__faq-question:hover {
  background: #003399;
  border-color: #002a7a;
}

.page-register__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-register__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-register__faq-item.active .page-register__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Change to X or rotate */
}

.page-register__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 25px;
  opacity: 0;
  color: #f0f0f0;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: #003399;
  border-radius: 0 0 10px 10px;
}

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

/* Contact CTA Section */
.page-register__contact-cta {
  text-align: center;
  padding: 80px 0;
}

.page-register__contact-cta .page-register__section-title {
  color: #002060;
}

.page-register__contact-cta .page-register__description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: 2.8em;
  }
  .page-register__section-title {
    font-size: 2.2em;
  }
  .page-register__description,
  .page-register__section-subtitle {
    font-size: 1.1em;
  }
  .page-register__registration-form {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-register {
    padding-top: 100px !important; /* Mobile: Adjust based on mobile fixed header height */
  }
  .page-register__container {
    padding: 0 15px;
  }
  .page-register__hero-section,
  .page-register__form-section,
  .page-register__benefits-section,
  .page-register__security-section,
  .page-register__games-section,
  .page-register__promotions-section,
  .page-register__faq-section,
  .page-register__contact-cta {
    padding: 60px 0;
  }
  .page-register__main-title {
    font-size: 2.2em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__description,
  .page-register__section-subtitle {
    font-size: 1em;
  }
  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-register__cta-button,
  .page-register__submit-button,
  .page-register__game-button,
  .page-register__promo-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-register__registration-form {
    padding: 20px;
  }
  .page-register__form-label {
    font-size: 0.95em;
  }
  .page-register__form-input {
    padding: 10px 12px;
  }
  .page-register__benefits-grid,
  .page-register__security-content,
  .page-register__games-grid,
  .page-register__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-register__benefit-item,
  .page-register__security-item,
  .page-register__game-card,
  .page-register__promo-card {
    padding: 25px;
  }
  .page-register__benefit-icon,
  .page-register__security-img {
    width: 70px;
    height: 70px;
  }
  .page-register__benefit-title,
  .page-register__security-item h3,
  .page-register__game-title,
  .page-register__promo-title {
    font-size: 1.3em;
  }
  .page-register__game-img,
  .page-register__promo-img {
    height: 180px;
  }
  .page-register__faq-question {
    padding: 15px 20px;
  }
  .page-register__faq-question h3 {
    font-size: 1em;
  }
  .page-register__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 15px 20px !important;
  }
  /* Ensure all images are responsive */
  .page-register img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-register__section,
  .page-register__card,
  .page-register__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.6em;
  }
  .page-register__registration-form {
    padding: 15px;
  }
  .page-register__form-input {
    font-size: 0.9em;
  }
  .page-register__faq-question h3 {
    font-size: 0.9em;
  }
  .page-register__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
}