.page-register {
  font-family: 'Arial', sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy-color); /* Deep Navy */
}

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

.page-register__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Rely on body padding-top from shared.css, add small top margin */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-height: 810px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 800px;
  margin-top: -100px; /* Pull content up over the image slightly */
  background: rgba(16, 35, 63, 0.85); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  border: 1px solid #244D84; /* Border */
}

.page-register__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  line-height: 1.2;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-register__hero-description {
  font-size: 1.15em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-register__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-register__section-description {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-register__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  border: 2px solid transparent;
}

.page-register__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-register__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  border: 2px solid #244D84; /* Border */
}

.page-register__btn-secondary:hover {
  background: #08162B; /* Deep Navy */
  border-color: #4FA8FF; /* Glow */
  color: #4FA8FF; /* Glow */
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-register__benefits-section,
.page-register__steps-section,
.page-register__faq-section,
.page-register__final-cta-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

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

.page-register__benefit-card {
  background: #10233F; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #1B3357; /* Divider */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__benefit-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
}

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

.page-register__benefit-text {
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.7;
}

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

.page-register__step-item {
  background: #10233F; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #1B3357; /* Divider */
  position: relative;
  padding-top: 60px;
}

.page-register__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #08162B; /* Deep Navy */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-register__step-title {
  font-size: 1.6em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  text-align: center;
}

.page-register__step-text {
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-register__form-checklist {
    list-style: disc;
    text-align: left;
    margin-left: 20px;
    color: #AFC4E8;
    font-size: 0.95em;
    margin-bottom: 20px;
}

.page-register__form-checklist li {
    margin-bottom: 8px;
}

.page-register__step-button {
    margin-top: 15px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-register__step-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 20px;
    border-radius: 8px;
    border: 1px solid #244D84;
}

.page-register__cta-bottom {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background: #10233F;
    border-radius: 10px;
    border: 1px solid #1B3357;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-register__cta-text {
    font-size: 1.2em;
    color: #F3F8FF;
    margin-bottom: 25px;
    font-weight: 600;
}

.page-register__security-section {
  background: #08162B; /* Deep Navy */
  padding: 80px 0;
  text-align: center;
}

.page-register__security-section .page-register__section-title {
    color: #F3F8FF;
    text-shadow: none;
}

.page-register__security-section .page-register__section-description {
    color: #AFC4E8;
}

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

.page-register__feature-item {
  background: #10233F; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #1B3357; /* Divider */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-register__feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
}

.page-register__feature-title {
  font-size: 1.4em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-register__feature-text {
  font-size: 0.95em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.7;
}

.page-register__faq-list {
  margin-top: 40px;
}

details.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

details.page-register__faq-item summary.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F3F8FF; /* Text Main */
}

details.page-register__faq-item summary.page-register__faq-question::-webkit-details-marker {
  display: none;
}

details.page-register__faq-item summary.page-register__faq-question:hover {
  background: #08162B; /* Deep Navy */
}

.page-register__faq-qtext {
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}

.page-register__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 20px;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}

details[open] .page-register__faq-toggle {
  transform: rotate(45deg);
}

details.page-register__faq-item .page-register__faq-answer {
  padding: 0 25px 25px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 5px 5px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 1em;
  line-height: 1.7;
}

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

.page-register__final-cta-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%);
}

.page-register__final-cta-section .page-register__section-title {
    color: #F2C14E;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

.page-register__small-text {
    font-size: 0.9em;
    color: #AFC4E8;
    margin-top: 30px;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 2.8em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .page-register__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-register__hero-section {
    padding-top: 10px;
    margin-bottom: 20px;
  }

  .page-register__hero-image-wrapper {
    max-height: 400px;
  }

  .page-register__hero-image {
    object-fit: contain !important;
  }

  .page-register__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  }

  .page-register__hero-title {
    font-size: 2em;
    margin-bottom: 10px;
  }

  .page-register__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .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: 12px 20px;
    font-size: 1em;
  }

  .page-register__cta-buttons,
  .page-register__button-group,
  .page-register__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }

  .page-register__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-register__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-register__benefits-section,
  .page-register__steps-section,
  .page-register__faq-section,
  .page-register__final-cta-section {
    padding: 40px 0;
    margin-bottom: 20px;
  }

  .page-register__benefits-grid,
  .page-register__steps-grid,
  .page-register__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__benefit-card,
  .page-register__step-item,
  .page-register__feature-item {
    padding: 25px;
  }

  .page-register__benefit-title,
  .page-register__step-title {
    font-size: 1.3em;
  }

  .page-register__benefit-text,
  .page-register__step-text,
  .page-register__feature-text {
    font-size: 0.9em;
  }

  .page-register__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.5em;
  }

  .page-register__faq-item summary.page-register__faq-question {
    padding: 15px;
  }

  .page-register__faq-qtext {
    font-size: 1em;
  }

  .page-register__faq-toggle {
    font-size: 20px;
    margin-left: 15px;
  }

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

  /* Placeholder styles for elements not typically on a register page but required for CSS output */
  /* __access-links (three-link buttons) */
  .page-register__access-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .page-register__access-links .page-register__access-link-item {
    width: 100%;
  }

  /* __category-lobby (five entry points) */
  .page-register__category-lobby__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
  }
  .page-register__category-card-link {
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #10233F;
    border: none !important;
    box-shadow: none !important;
  }
  .page-register__category-card-link img {
    aspect-ratio: 1/1;
    width: 100%;
    object-fit: contain;
    border: none !important;
    box-shadow: none !important;
  }
  /* Ensure no text outside image for gameshow type */
  .page-register__category-card-link .page-register__card-text {
    display: none; /* Hide any text that might appear outside the image */
  }

  /* __blog-slider (blog block) */
  .page-register__blog-slider-track {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 10px;
  }
  .page-register__blog-slider-track::-webkit-scrollbar {
    display: none;
  }
  .page-register__blog-slider-track > .page-register__post-item {
    flex: 0 0 calc(100% - 30px); /* Show one card with some spacing */
    scroll-snap-align: start;
  }
  .page-register__blog-slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  .page-register__blog-slider-prev, .page-register__blog-slider-next {
    background: #1D5FD1;
    color: #F3F8FF;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 10px;
    font-size: 1.2em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }
  .page-register__blog-slider-prev:hover, .page-register__blog-slider-next:hover {
    background: #2B73F6;
  }
}

/* Ensure general image and button rules are applied */
.page-register__section, .page-register__card, .page-register__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.page-register__form-checklist {
    margin-left: 0;
    padding-left: 20px;
}

.page-register__cta-bottom {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.page-register__cta-bottom .page-register__cta-button {
    width: 100%;
}