.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy - body background from shared.css */
}

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

.page-register__section {
  padding: 60px 0;
}

.page-register__section-title {
  font-size: 36px;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-register__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: bold;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-register__description {
  font-size: 18px;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-register__text-block {
  font-size: 16px;
  color: #AFC4E8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #F3F8FF; /* Text Main */
  box-shadow: 0 4px 15px rgba(17, 68, 166, 0.4);
}

.page-register__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

.page-register__btn-secondary:hover {
  background: #1B3357; /* Divider */
  color: #F3F8FF;
}

/* Hero Section */
.page-register__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

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

.page-register__hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  background: rgba(8, 22, 43, 0.7); /* Deep Navy semi-transparent overlay */
  border-radius: 15px;
  max-width: 900px;
  box-sizing: border-box;
}

.page-register__hero-cta {
  margin-top: 20px;
}

/* Why Join Section */
.page-register__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-register__card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-register__feature-title,
.page-register__tip-title,
.page-register__category-title,
.page-register__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-register__feature-item p,
.page-register__tip-card p,
.page-register__category-card p,
.page-register__promo-card p {
  font-size: 15px;
  color: #AFC4E8;
}

/* How To Register Section */
.page-register__step-by-step-guide {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.page-register__step-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  position: relative;
  padding-left: 70px;
}

.page-register__step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #F3F8FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 3px 10px rgba(17, 68, 166, 0.3);
}

.page-register__step-title {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-register__step-item p {
  color: #AFC4E8;
  font-size: 16px;
}

.page-register__info-list {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
  margin-bottom: 20px;
}

.page-register__info-list li {
  color: #AFC4E8;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.page-register__info-list li::before {
  content: '•';
  color: #4FA8FF; /* Glow */
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1;
}

.page-register__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 20px;
  border: 1px solid #244D84;
  box-sizing: border-box;
  display: block;
}

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

/* Requirements Section */
.page-register__list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-register__list li {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 16px;
  color: #AFC4E8;
  position: relative;
  padding-left: 50px;
}

.page-register__list li strong {
  color: #F2C14E; /* Gold */
}

.page-register__list li::before {
  content: '✓';
  color: #4FA8FF; /* Glow */
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  font-size: 1.5em;
}

/* Security Section */
.page-register__security-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

/* What to Play Section */
.page-register__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-register__category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(17, 59, 122, 0.4);
}

.page-register__category-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #244D84;
  box-sizing: border-box;
  display: block;
}

/* Promotions for New Member Section */
.page-register__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-register__promotions-cta {
  margin-top: 40px;
  display: block;
  text-align: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
details.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 2px 8px 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;
  font-size: 18px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
}
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: #1B3357; /* Divider */
}
.page-register__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E;
}
.page-register__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #4FA8FF; /* Glow */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}
details.page-register__faq-item .page-register__faq-answer {
  padding: 0 25px 20px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 10px 10px;
  color: #AFC4E8;
}
details.page-register__faq-item .page-register__faq-answer p {
  margin-bottom: 0;
  font-size: 16px;
  color: #AFC4E8;
}

/* General Image styles */
.page-register img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Contradictory Homepage CSS blocks (included as per prompt's final instructions) --- */
@media (max-width: 1023px) {
  .page-register__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-register__hero-brand,
  .page-register__hero-jackpot {
    display: none !important;
  }
  .page-register__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-register__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-register__game-trial-topbar,
  .page-register__game-trial-bottombar {
    display: none !important;
  }
  .page-register__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-register__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-register__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-register__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-register__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-register__hero-brand,
  .page-register__hero-jackpot,
  .page-register__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-register__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-register__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-register__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-register__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-register__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
  .page-register__promo-strip {
    margin-top: 16px;
  }
}

/* Mobile responsive (max-width: 768px) */
@media (max-width: 768px) {
  .page-register__section {
    padding: 40px 0;
  }

  .page-register__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-register__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-register__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-register__text-block {
    font-size: 15px;
  }

  .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 15px;
    font-size: 16px;
  }

  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-register__features-grid,
  .page-register__security-tips,
  .page-register__game-categories,
  .page-register__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__step-item {
    padding-left: 0;
    text-align: center;
    align-items: center;
  }

  .page-register__step-number {
    position: static;
    margin-bottom: 15px;
  }

  .page-register__list li {
    padding: 15px 15px 15px 45px;
    font-size: 15px;
  }

  .page-register__list li::before {
    left: 15px;
  }

  .page-register__category-image {
    height: 150px;
  }

  details.page-register__faq-item summary.page-register__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-register__faq-qtext {
    font-size: 16px;
  }
  .page-register__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    width: 25px;
  }
  details.page-register__faq-item .page-register__faq-answer {
    padding: 0 20px 15px;
  }
  details.page-register__faq-item .page-register__faq-answer p {
    font-size: 15px;
  }

  /* General image and container styles for mobile */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-register__container,
  .page-register__section,
  .page-register__card,
  .page-register__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Placeholder styles for homepage elements as required by prompt, even if not used on this page */
  .page-register__promo-strip-track {
    grid-template-columns: repeat(4,1fr); /* Example, assuming 4 cards in a row for promo strip */
    overflow-x: hidden;
  }
  .page-register__hot-games-grid {
    grid-template-columns: repeat(2,1fr);
  }
  /* __brand-intro, __winner-ticker, etc. would have their mobile styles here if they were present */
}

.page-register__game-trial-overlay{z-index:5;pointer-events:auto;}.page-register__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}.page-register__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}.page-register__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}.page-register__reward-modal{position:fixed;inset:0;z-index:10000;}.page-register__reward-modal.is-hidden { display: none !important; pointer-events: none !important; }.page-register__reward-modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 30px; color: #fff; cursor: pointer; }