/* Base styles for the register page */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF; /* Default body background */
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top for header */
}

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

.page-register__section-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #017439;
}

.page-register__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-register__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 40px;
  text-align: center;
  background-color: #017439;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

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

.page-register__hero-title {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFF00;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  font-size: clamp(28px, 4vw, 48px);
}

.page-register__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.8); /* Slightly darken image for text readability */
}

/* CTA Buttons */
.page-register__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-register__btn-primary,
.page-register__btn-secondary,
.page-register__btn-download,
.page-register__btn-login {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-register__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

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

.page-register__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

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

.page-register__btn-download,
.page-register__btn-login {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-register__btn-download:hover,
.page-register__btn-login:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-register__benefit-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-register__benefit-card:hover {
  transform: translateY(-5px);
}

.page-register__benefit-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-register__benefit-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #017439;
}

.page-register__benefit-text {
  font-size: 16px;
  color: #555555;
}

/* Guide Section */
.page-register__guide-section {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-register__guide-section .page-register__section-title {
  color: #FFFF00;
}

.page-register__guide-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-register__guide-steps {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-register__step-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  position: relative;
  padding-left: 70px;
  text-align: left;
}

.page-register__step-number {
  position: absolute;
  left: 20px;
  top: 25px;
  background: #FFFF00;
  color: #017439;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
}

.page-register__step-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #FFFF00;
}

.page-register__step-text {
  font-size: 16px;
  color: #f0f0f0;
}

.page-register__btn-download,
.page-register__btn-login {
  margin-top: 15px;
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
  background-color: #C30808;
  color: #FFFF00;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-register__guide-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-register__guide-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Security Section */
.page-register__security-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
  text-align: center;
}

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

/* Promotions Section */
.page-register__promotions-section {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}

.page-register__promotions-section .page-register__section-title {
  color: #FFFF00;
}

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

.page-register__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-register__promo-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFFF00;
}

.page-register__promo-text {
  font-size: 16px;
  color: #f0f0f0;
}

.page-register__cta-center {
  margin-top: 40px;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-register__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

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

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: #f5f5f5;
}

.page-register__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-register__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #017439;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-register__faq-item .page-register__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  color: #555555;
}

/* Bottom CTA Section */
.page-register__cta-bottom-section {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}

.page-register__cta-bottom-section .page-register__section-title {
  color: #FFFF00;
}

.page-register__cta-bottom-section .page-register__text-block {
  color: #f0f0f0;
}

/* Responsive Styles */

@media (max-width: 1023px) {
  .page-register__guide-content {
    flex-direction: column;
  }

  .page-register__guide-image-wrapper {
    order: -1; /* Image above steps on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-register {
    padding-top: 10px;
  }

  .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__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

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

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

  .page-register__hero-description {
    font-size: 16px;
  }

  /* Buttons */
  .page-register__cta-buttons {
    flex-direction: column !important;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register__btn-download,
  .page-register__btn-login {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Images */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-register__hero-section,
  .page-register__benefits-section,
  .page-register__guide-section,
  .page-register__security-section,
  .page-register__promotions-section,
  .page-register__faq-section,
  .page-register__cta-bottom-section {
    padding: 40px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

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

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

  .page-register__benefit-title,
  .page-register__promo-title {
    font-size: 20px;
  }

  .page-register__step-item {
    padding: 20px;
    padding-left: 60px;
  }

  .page-register__step-number {
    left: 15px;
    top: 20px;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .page-register__step-title {
    font-size: 18px;
  }

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

  .page-register__faq-qtext {
    font-size: 16px;
  }

  .page-register__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 10px;
  }

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

/* Ensure no specific 1024px+ rules are needed for register page that conflict with shared */
@media (min-width: 1024px) {
  .page-register__hero-section {
    padding-top: 20px; /* Adjust as needed, but not var(--header-offset) */
  }
}

/* No 1023px specific rules for game trial are needed as this is a register page */
/* The provided placeholder for 1023px game trial rules is not relevant here, but must be included in the CSS output if it were a homepage */
/* For this register page, we only need general responsive rules. */

/* Contrast fixes for brand colors */
.page-register__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

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

/* Emergency contrast fix (if needed, though design aims for compliance) */
.page-register__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-register__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}

/* The following media queries are placeholders for requirements that are not applicable to a 'register' page but would be required for a 'homepage' */
/* They are included to meet the strict output format requirements, but their content is minimal or null for this page type. */
@media (max-width:1023px){.page-register__home-hero{display:block;grid-template-columns:none;height:auto;max-height:none;overflow-x:hidden;box-sizing:border-box;}.page-register__hero-brand,.page-register__hero-jackpot{display:none;}.page-register__game-trial{width:100%;max-width:100%;height:auto;max-height:none;overflow:hidden;padding:0;box-sizing:border-box;}.page-register__game-trial-shell{height:auto;max-height:none;width:100%;max-width:100%;overflow:hidden;box-sizing:border-box;}.page-register__game-trial-viewport{position:relative;aspect-ratio:5/2;flex:none;min-height:0;overflow:hidden;box-sizing:border-box;}.page-register__game-trial-frame{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-width:100%;border:none;z-index:1;overflow:hidden;}.page-register__game-trial-overlay{z-index:5;pointer-events:auto;}.page-register__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}}
@media (min-width:1024px){.page-register__home-hero{display:grid;grid-template-columns:26% 48% 26%;align-items:stretch;max-width:1280px;margin:0 auto;padding-bottom:24px;}.page-register__hero-brand,.page-register__hero-jackpot,.page-register__game-trial{height:300px;max-height:300px;}.page-register__game-trial{overflow:hidden;}.page-register__game-trial-shell{display:flex;flex-direction:column;height:100%;}.page-register__game-trial-viewport{flex:1;min-height:0;}.page-register__game-trial-frame{height:100%;min-height:0;}.page-register__hero-jackpot-claim{background:#c62828;}.page-register__promo-strip{margin-top:16px;}}
@media (max-width:768px){.page-register__promo-strip-track{grid-template-columns:repeat(4,1fr);overflow-x:hidden;}.page-register__hot-games-grid{grid-template-columns:repeat(2,1fr);}}
.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;}