/* General styles for the register page */
.page-register {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
  background-color: #f8f8f8; /* Light background for the page content */
}

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

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

/* Hero Section */
.page-register__hero-section {
  padding-top: 10px; /* Small top padding as per instruction */
  margin-bottom: 40px;
  overflow: hidden;
  background-color: #f8f8f8;
  color: #333333;
}

.page-register__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px;
  border-radius: 10px;
}

.page-register__hero-content {
  text-align: center;
  max-width: 800px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-register__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-register__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #555555;
}

/* Buttons */
.page-register__btn-primary {
  display: inline-block;
  background: #EA7C07; /* Login button color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary:hover {
  background: #d46c00;
}

.page-register__btn-large {
  padding: 18px 35px;
  font-size: 20px;
}

/* Form Section */
.page-register__form-section {
  padding: 60px 0;
  background: #ffffff;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.page-register__form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #f9f9f9;
}

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

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

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

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

.page-register__captcha-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-register__captcha-input {
  flex: 1;
}

.page-register__captcha-image {
  width: 150px;
  height: 50px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  object-fit: cover;
  flex-shrink: 0;
}

.page-register__captcha-refresh {
  background: #26A9E0;
  color: #ffffff;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__captcha-refresh:hover {
  background: #1e87b7;
}

.page-register__terms-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.page-register__terms-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.page-register__terms-checkbox a {
  color: #26A9E0;
  text-decoration: none;
}

.page-register__terms-checkbox a:hover {
  text-decoration: underline;
}

.page-register__submit-button {
  width: 100%;
  margin-top: 20px;
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background: #26A9E0;
  color: #ffffff;
  margin-bottom: 40px;
}

.page-register__benefits-section .page-register__section-title {
  color: #ffffff;
}

.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: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-register__benefit-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-register__benefit-description {
  font-size: 16px;
  color: #f0f0f0;
}

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

/* FAQ Section */
details.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-register__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-register__faq-item .page-register__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* Final CTA Section */
.page-register__cta-final-section {
  padding: 60px 0;
  text-align: center;
  background: #f0f0f0;
  border-top: 1px solid #e0e0e0;
}

.page-register__final-description {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #555555;
}

/* Responsive Styles */

/* Homepage Trial Layout Specific (Verbatim inclusion as per instructions, even if not directly used by this page's content) */
@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;
  }
}

/* Mobile Responsive Styles for content (max-width: 768px) */
@media (max-width: 768px) {
  .page-register__container {
    padding: 0 15px !important;
  }

  .page-register__hero-section {
    padding-top: 10px;
    margin-bottom: 30px;
  }
  .page-register__hero-image {
    margin-bottom: 20px;
  }
  .page-register__main-title {
    font-size: 32px;
  }
  .page-register__hero-description {
    font-size: 16px;
  }
  .page-register__hero-content {
    padding: 0 15px;
  }

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

  .page-register__form-section {
    padding: 40px 0;
  }

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

  .page-register__captcha-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-register__captcha-image {
    width: 100%;
    max-width: 150px;
    height: auto;
  }

  .page-register__captcha-refresh {
    width: 100%;
    margin-top: 10px;
  }

  .page-register__terms-checkbox {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .page-register__benefits-section {
    padding: 50px 0;
  }

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

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

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

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

  .page-register__cta-final-section {
    padding: 40px 0;
  }

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

  /* Image responsiveness */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__form-wrapper,
  .page-register__benefits-grid,
  .page-register__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsiveness */
  .page-register__btn-primary,
  .page-register__captcha-refresh,
  .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-container,
  .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;
  }
  
  .page-register__cta-buttons {
    display: flex;
    flex-direction: column; 
  }
}

/* No promo-strip, hot-games, brand-intro, winner-ticker for this inner page */

/* Overlay and modal styles (verbatim from prompt, if applicable) */
.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; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.7); visibility: hidden; opacity: 0; transition: opacity 0.3s ease, visibility 0.3s ease;}
.page-register__reward-modal[aria-hidden="false"] { visibility: visible; opacity: 1; }
.page-register__reward-modal-content { background: #fff; padding: 30px; border-radius: 10px; text-align: center; max-width: 400px; width: 90%; position: relative; }
.page-register__reward-modal-close { position: absolute; top: 10px; right: 10px; background: none; border: none; font-size: 24px; cursor: pointer; color: #333; }
.page-register__reward-modal-title { font-size: 24px; color: #26A9E0; margin-bottom: 15px; }
.page-register__reward-modal-text { font-size: 16px; color: #555; margin-bottom: 20px; }
.page-register__reward-modal-button { background: #EA7C07; color: #fff; padding: 10px 20px; border-radius: 5px; text-decoration: none; display: inline-block; }
.page-register__reward-modal-button:hover { background: #d46c00; }
.page-register__reward-modal[hidden] { display: none !important; }