/* Base styles for the page-register scope */
.page-register {
  color: #F3F8FF; /* Text Main */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: var(--deep-navy); /* From shared.css, dark background */
}

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

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

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

/* Hero Section */
.page-register__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px; /* Small top padding, relies on body padding-top */
  position: relative;
  background-color: #08162B; /* Deep Navy */
  overflow: hidden;
}

.page-register__hero-image-container {
  width: 100%;
  max-height: 675px; /* Max height for desktop hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-register__hero-image {
  width: 1200px; /* Display width */
  height: 675px; /* Display height */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(79, 168, 255, 0.3);
  max-width: 100%;
  height: auto;
  display: block;
}

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

.page-register__main-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.4);
}

.page-register__intro-text {
  font-size: 20px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
  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__cta-button--primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(43, 115, 246, 0.4);
}

.page-register__cta-button--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(43, 115, 246, 0.6);
}

.page-register__cta-button--secondary {
  background: #10233F; /* Card BG */
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
  margin-left: 20px;
}

.page-register__cta-button--secondary:hover {
  background: #1B3357; /* Divider */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

.page-register__cta-button--small {
  padding: 12px 25px;
  font-size: 18px;
}

.page-register__cta-button--large {
  padding: 18px 40px;
  font-size: 22px;
  min-width: 280px;
  margin: 0 10px;
}

/* Benefits Section */
.page-register__benefits-section,
.page-register__steps-section,
.page-register__verification-deposit-section,
.page-register__explore-games-section,
.page-register__responsible-gaming-section,
.page-register__faq-section,
.page-register__final-cta-section {
  padding: 80px 0;
  background-color: #08162B; /* Deep Navy */
}

.page-register__benefits-section {
  padding-top: 40px;
}

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

.page-register__benefit-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(79, 168, 255, 0.4);
}

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

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

.page-register__benefit-text {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
}

/* Steps Section */
.page-register__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-register__step-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-register__step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(43, 115, 246, 0.4);
}

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

.page-register__step-text {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-register__step-image {
  width: 100%;
  height: auto;
  max-width: 300px;
  margin: 20px auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.page-register__important-notes {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 40px;
  margin-top: 60px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__notes-title {
  font-size: 28px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 25px;
  text-align: center;
}

.page-register__notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__notes-list li {
  font-size: 17px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-register__notes-list li:last-child {
  margin-bottom: 0;
}

.page-register__notes-list li::before {
  content: '⚠️';
  position: absolute;
  left: 0;
  color: #F2C14E; /* Gold */
  font-size: 20px;
  line-height: 1;
}

.page-register__notes-list strong {
  color: #F3F8FF; /* Text Main */
}

/* Verification & Deposit Section */
.page-register__verification-deposit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.page-register__info-block {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__info-title {
  font-size: 24px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-register__info-text {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-register__info-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin: 20px auto 0;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

/* Explore Games Section */
.page-register__game-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-register__game-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(79, 168, 255, 0.4);
}

.page-register__game-image {
  width: 100%;
  height: auto;
  max-width: 350px;
  margin: 0 auto 20px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-register__game-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-register__game-title a {
  color: #F2C14E; /* Gold */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-register__game-title a:hover {
  color: #4FA8FF; /* Glow */
}

.page-register__game-text {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
}

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

/* Responsible Gaming Section */
.page-register__responsible-gaming-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.page-register__responsible-gaming-content .page-register__info-block {
  text-align: left;
}

.page-register__responsible-gaming-content .page-register__info-block a {
  color: #4FA8FF; /* Glow */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-register__responsible-gaming-content .page-register__info-block a:hover {
  color: #F2C14E; /* Gold */
}

/* 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 4px 15px rgba(0, 0, 0, 0.2);
}

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, border-color 0.3s ease;
  font-size: 18px;
  font-weight: 600;
  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: #1B3357; /* Divider - slightly lighter dark */
}

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

.page-register__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  text-align: center;
  line-height: 1;
}

details.page-register__faq-item .page-register__faq-answer {
  padding: 0 25px 25px;
  background: #08162B; /* Deep Navy - darker for answer content */
  border-radius: 0 0 10px 10px;
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
}

.page-register__faq-answer p {
  margin: 0;
  padding-top: 10px;
}

.page-register__faq-answer a {
  color: #4FA8FF; /* Glow */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-register__faq-answer a:hover {
  color: #F2C14E; /* Gold */
}

/* Final CTA Section */
.page-register__final-cta-section {
  padding-bottom: 100px;
}

.page-register__final-cta-section .page-register__cta-button--large {
  margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-register__hero-image-container {
    max-height: 500px;
  }

  .page-register__hero-image {
    width: 100%;
    height: auto;
  }

  .page-register__main-title {
    font-size: clamp(30px, 5vw, 48px);
  }

  .page-register__intro-text {
    font-size: 18px;
  }

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

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

  .page-register__cta-button {
    font-size: 18px;
    padding: 14px 28px;
  }

  .page-register__cta-button--large {
    font-size: 20px;
    padding: 16px 35px;
  }

  .page-register__benefits-grid,
  .page-register__steps-grid,
  .page-register__verification-deposit-grid,
  .page-register__game-categories-grid,
  .page-register__responsible-gaming-content {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 10px 0 40px;
  }

  .page-register__hero-image-container {
    max-height: 300px !important;
    margin-bottom: 20px !important;
  }

  .page-register__hero-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  .page-register__hero-content {
    padding: 0 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-register__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }

  .page-register__intro-text {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-register__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 14px 15px !important;
    margin: 10px 0 !important; /* Ensure vertical stacking for multiple buttons */
    font-size: 18px !important;
  }

  .page-register__cta-button--secondary {
    margin-left: 0 !important;
  }

  .page-register__cta-button--large {
    min-width: unset !important;
  }

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

  .page-register__section-description {
    font-size: 15px;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-register__benefits-section,
  .page-register__steps-section,
  .page-register__verification-deposit-section,
  .page-register__explore-games-section,
  .page-register__responsible-gaming-section,
  .page-register__faq-section,
  .page-register__final-cta-section {
    padding: 50px 0;
  }

  .page-register__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-register__benefits-grid,
  .page-register__steps-grid,
  .page-register__verification-deposit-grid,
  .page-register__game-categories-grid,
  .page-register__responsible-gaming-content {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-register__benefit-card,
  .page-register__step-card,
  .page-register__info-block,
  .page-register__game-card {
    padding: 20px !important;
  }

  .page-register__benefit-title,
  .page-register__step-title,
  .page-register__info-title,
  .page-register__game-title {
    font-size: 20px !important;
  }

  .page-register__benefit-text,
  .page-register__step-text,
  .page-register__info-text,
  .page-register__game-text {
    font-size: 15px !important;
  }

  .page-register__benefit-icon,
  .page-register__step-image,
  .page-register__info-image,
  .page-register__game-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-register__important-notes {
    padding: 25px !important;
    margin-top: 40px !important;
  }

  .page-register__notes-title {
    font-size: 24px !important;
    margin-bottom: 20px !important;
  }

  .page-register__notes-list li {
    font-size: 15px !important;
    padding-left: 25px !important;
  }

  details.page-register__faq-item summary.page-register__faq-question {
    padding: 15px 20px !important;
    font-size: 16px !important;
  }

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

  .page-register__faq-toggle {
    font-size: 24px !important;
    width: 28px !important;
  }

  details.page-register__faq-item .page-register__faq-answer {
    padding: 0 20px 20px !important;
  }

  .page-register__final-cta-section .page-register__cta-button--large {
    margin-top: 30px !important;
  }

  .page-register__final-cta-section .page-register__cta-button--large:first-of-type {
    margin-bottom: 15px !important;
  }
}