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

.page-register__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #000000;
  color: #ffffff;
  overflow: hidden;
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-align: center;
  margin-right: 40px;
}

.page-register__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #26A9E0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-register__form-container {
  background: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  max-width: 450px;
  width: 100%;
  margin-left: 40px;
  text-align: left;
}

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

.page-register__form-group {
  display: flex;
  flex-direction: column;
}

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

.page-register__form-input {
  padding: 12px;
  border: 1px solid #26A9E0;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1em;
}

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

.page-register__form-input:focus {
  outline: none;
  border-color: #EA7C07;
  box-shadow: 0 0 8px rgba(234, 124, 7, 0.5);
}

.page-register__form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.page-register__form-checkbox {
  margin-top: 4px;
}

.page-register__form-checkbox-label {
  color: #f0f0f0;
  font-size: 0.95em;
}

.page-register__text-link {
  color: #26A9E0;
  text-decoration: none;
}

.page-register__text-link:hover {
  text-decoration: underline;
  color: #EA7C07;
}

.page-register__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  padding: 15px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  text-align: center;
  display: inline-block;
}

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

.page-register__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  padding: 15px 25px;
  border: 2px solid #26A9E0;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  text-align: center;
  display: inline-block;
}

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

.page-register__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-register__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-register__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-register__light-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-register__dark-bg {
  background-color: #0d0d0d;
  color: #ffffff;
}

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

.page-register__benefit-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid rgba(38, 169, 224, 0.3);
}

.page-register__benefit-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.page-register__benefit-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(38, 169, 224, 0.5));
}

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

.page-register__card-text {
  color: #cccccc;
  font-size: 0.95em;
}

/* How to Register Section */
.page-register__steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.page-register__step-item {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-register__step-item--reverse {
  flex-direction: row-reverse;
}

.page-register__step-image {
  width: 50%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-register__step-content {
  width: 50%;
}

.page-register__step-title {
  font-size: 2em;
  color: #EA7C07;
  margin-bottom: 15px;
}

.page-register__step-text {
  color: #f0f0f0;
  font-size: 1.1em;
}

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

/* Game Preview Section */
.page-register__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-register__game-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid rgba(38, 169, 224, 0.3);
}

.page-register__game-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.page-register__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-register__game-card .page-register__card-title {
  padding: 15px;
  margin-bottom: 0;
  font-size: 1.3em;
  color: #26A9E0;
}

.page-register__game-card .page-register__card-text {
  padding: 0 15px 15px;
  color: #cccccc;
  font-size: 0.9em;
}

.page-register__card-link {
  color: #26A9E0;
  text-decoration: none;
}

.page-register__card-link:hover {
  text-decoration: underline;
  color: #EA7C07;
}

/* FAQ Section */
.page-register__faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

.page-register__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__faq-item:last-child {
  border-bottom: none;
}

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

.page-register__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

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

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

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

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

/* Final CTA Section */
.page-register__final-cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #0d0d0d;
}

.page-register__final-cta-section .page-register__section-title {
  color: #26A9E0;
}

.page-register__final-cta-section .page-register__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-register__hero-section {
    flex-direction: column;
    text-align: center;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-register__hero-content {
    margin-right: 0;
    margin-bottom: 40px;
  }

  .page-register__form-container {
    margin-left: 0;
  }

  .page-register__step-item {
    flex-direction: column;
  }

  .page-register__step-item--reverse {
    flex-direction: column;
  }

  .page-register__step-image,
  .page-register__step-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-register__hero-title {
    font-size: 2.5em;
  }

  .page-register__hero-description {
    font-size: 1em;
  }

  .page-register__section-title {
    font-size: 2em;
  }

  .page-register__section-description {
    font-size: 1em;
  }

  .page-register__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-register__form-container {
    padding: 20px;
  }

  .page-register__content-area {
    padding: 40px 15px;
  }

  /* Images responsive */
  .page-register img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/videos/buttons */
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__form-container,
  .page-register__benefits-grid,
  .page-register__game-grid,
  .page-register__faq-list,
  .page-register__cta-buttons,
  .page-register__steps-wrapper,
  .page-register__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-register__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Buttons responsive */
  .page-register__cta-button,
  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register a[class*="button"],
  .page-register a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-register__benefit-icon {
    width: 80px;
    height: 80px;
  }

  .page-register__benefit-card {
    padding: 20px;
  }

  .page-register__step-image {
    margin-bottom: 20px;
  }

  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-register__faq-answer {
    padding: 0 15px;
  }

  .page-register__faq-item.active .page-register__faq-answer {
    padding: 15px !important;
  }

}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 2em;
  }

  .page-register__section-title {
    font-size: 1.8em;
  }
}