.page-register__hero-section { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 10px; padding-bottom: 40px; background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%); color: #ffffff; text-align: center; }
.page-register__hero-image-wrapper { width: 100%; max-width: 1200px; margin-bottom: 20px; }
.page-register__hero-image { width: 100%; height: auto; border-radius: 10px; object-fit: cover; }
.page-register__hero-content { background: #ffffff; color: #333333; padding: 30px; border-radius: 10px; max-width: 800px; width: 100%; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
.page-register__main-title { font-size: clamp(24px, 4vw, 42px); font-weight: 700; line-height: 1.2; margin-bottom: 15px; color: #E53935; max-width: 100%; }
.page-register__description { font-size: 18px; line-height: 1.6; margin-bottom: 30px; }
.page-register__btn-primary { background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); color: #ffffff; padding: 15px 30px; border-radius: 5px; text-decoration: none; font-weight: 600; font-size: 18px; transition: all 0.3s ease; display: inline-block; border: none; cursor: pointer; max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; }
.page-register__btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }

.page-register__intro-section, .page-register__benefits-section, .page-register__faq-section { padding: 60px 0; background: #F5F7FA; color: #333333; }
.page-register__dark-section { background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%); color: #ffffff; padding: 60px 0; }
.page-register__container { max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.page-register__section-title { font-size: clamp(28px, 3.5vw, 38px); font-weight: 700; text-align: center; margin-bottom: 20px; color: #E53935; }
.page-register__dark-section .page-register__section-title { color: #ffffff; }
.page-register__section-description { font-size: 17px; line-height: 1.6; text-align: center; max-width: 800px; margin: 0 auto 40px; }
.page-register__sub-title { font-size: 24px; font-weight: 600; margin-top: 40px; margin-bottom: 20px; color: #E53935; text-align: center; }

.page-register__feature-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; list-style: none; padding: 0; margin: 0; }
.page-register__feature-item { background: #ffffff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); padding: 30px; display: flex; align-items: flex-start; gap: 20px; max-width: 380px; width: 100%; text-align: left; }
.page-register__feature-item h4 { font-size: 20px; font-weight: 600; margin-top: 0; margin-bottom: 10px; color: #333333; }
.page-register__feature-item p { font-size: 15px; line-height: 1.6; color: #555555; }
.page-register__feature-icon { width: 60px; height: 60px; flex-shrink: 0; object-fit: contain; }

.page-register__steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.page-register__step-card { background: rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.page-register__step-image { width: 100%; height: auto; max-height: 250px; object-fit: cover; border-radius: 8px; margin-bottom: 20px; }
.page-register__step-title { font-size: 22px; font-weight: 600; margin-bottom: 15px; color: #ffffff; }
.page-register__step-card p { font-size: 16px; line-height: 1.6; color: #f0f0f0; }

.page-register__benefits-grid, .page-register__info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; margin-top: 40px; }
.page-register__benefit-card, .page-register__info-card { background: #ffffff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.page-register__benefit-image, .page-register__info-image { width: 100%; height: auto; max-height: 300px; object-fit: cover; border-radius: 8px; margin-bottom: 20px; }
.page-register__benefit-title, .page-register__info-title { font-size: 22px; font-weight: 600; margin-bottom: 15px; color: #E53935; }
.page-register__benefit-card p, .page-register__info-card p { font-size: 16px; line-height: 1.6; color: #555555; margin-bottom: 20px; }
.page-register__btn-secondary { background: #ffffff; color: #E53935; border: 2px solid #E53935; padding: 12px 25px; border-radius: 5px; text-decoration: none; font-weight: 600; font-size: 16px; transition: all 0.3s ease; display: inline-block; max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; }
.page-register__btn-secondary:hover { background: #E53935; color: #ffffff; }

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; }

.page-register__cta-section { text-align: center; padding: 80px 0; background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); color: #ffffff; }
.page-register__cta-title { font-size: clamp(30px, 4vw, 48px); font-weight: 700; margin-bottom: 20px; color: #ffffff; }
.page-register__cta-description { font-size: 18px; line-height: 1.6; margin-bottom: 40px; max-width: 800px; margin-left: auto; margin-right: auto; }

.page-register__copyright { text-align: center; padding: 20px; background: #222222; color: #aaaaaa; font-size: 14px; margin-top: auto; }

/* Responsive styles */
@media (max-width: 1023px) { /* This section is from the homepage template, not strictly for inner pages, but included as per general instructions if relevant */
  .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) { /* This section is from the homepage template, not strictly for inner pages, but included as per general instructions if relevant */
  .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; }
}

@media (max-width: 768px) {
  .page-register__hero-section { padding-bottom: 20px; }
  .page-register__hero-content { padding: 20px; }
  .page-register__main-title { font-size: 28px; margin-bottom: 10px; }
  .page-register__description { font-size: 16px; margin-bottom: 20px; }
  .page-register__btn-primary { padding: 12px 20px; font-size: 16px; max-width: 100% !important; width: 100% !important; box-sizing: border-box !important; white-space: normal !important; word-wrap: break-word !important; }

  .page-register__intro-section, .page-register__benefits-section, .page-register__faq-section, .page-register__dark-section, .page-register__cta-section { padding: 40px 0; }
  .page-register__container { padding: 0 15px; max-width: 100% !important; width: 100% !important; box-sizing: border-box !important; }
  .page-register__section-title { font-size: 24px; margin-bottom: 15px; }
  .page-register__section-description { font-size: 15px; margin-bottom: 30px; }
  .page-register__sub-title { font-size: 20px; margin-top: 30px; }

  .page-register__feature-list { flex-direction: column; align-items: center; gap: 20px; }
  .page-register__feature-item { flex-direction: column; align-items: center; text-align: center; padding: 20px; gap: 10px; }
  .page-register__feature-item h4 { font-size: 18px; margin-bottom: 5px; }
  .page-register__feature-item p { font-size: 14px; }
  .page-register__feature-icon { width: 50px; height: 50px; }

  .page-register__steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-register__step-card { padding: 20px; }
  .page-register__step-title { font-size: 20px; }
  .page-register__step-card p { font-size: 15px; }

  .page-register__benefits-grid, .page-register__info-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-register__benefit-card, .page-register__info-card { padding: 20px; }
  .page-register__benefit-title, .page-register__info-title { font-size: 20px; }
  .page-register__benefit-card p, .page-register__info-card p { font-size: 15px; }
  .page-register__btn-secondary { padding: 10px 20px; font-size: 15px; max-width: 100% !important; width: 100% !important; box-sizing: border-box !important; white-space: normal !important; word-wrap: break-word !important; }

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

  .page-register__cta-title { font-size: 26px; }
  .page-register__cta-description { font-size: 16px; margin-bottom: 30px; }

  .page-register img { max-width: 100% !important; width: 100% !important; height: auto !important; }
  .page-register__hero-image-wrapper, .page-register__feature-item, .page-register__step-card, .page-register__benefit-card, .page-register__info-card, .page-register__cta-section, .page-register__intro-section, .page-register__benefits-section, .page-register__security-support-section, .page-register__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Ensure body padding-top is handled by shared.css */
.page-register__hero-section { margin-top: 0; } /* Overwrite potential default margin */

/* General image and button responsive styles */
.page-register img { max-width: 100%; height: auto; display: block; }
.page-register__btn-container, .page-register__cta-buttons { width: 100%; max-width: 100%; overflow: hidden; box-sizing: border-box; }

/* FAQ Toggle for details element */
details.page-register__faq-item .page-register__faq-question:after {
  content: '+';
  font-size: 24px;
  font-weight: bold;
  color: #666;
  margin-left: 15px;
  transition: transform 0.3s ease;
}
details.page-register__faq-item[open] .page-register__faq-question:after {
  content: '−';
  transform: rotate(0deg);
}
.page-register__faq-toggle { display: none; } /* Hide JS-controlled toggle for details element */