.page-register {
  color: #ffffff; /* Default text color for the main content area due to dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-register__section {
  padding: 80px 0;
  position: relative;
}

.page-register__dark-bg {
  background-color: #1a1a1a; /* Match body background for consistency */
  color: #ffffff;
}

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

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

/* Hero Section */
.page-register__hero-section {
  display: flex;
  flex-direction: column; /* Default for mobile, will change for desktop */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  background-color: #1a1a1a; /* Dark background for hero */
  color: #ffffff;
}

.page-register__hero-content {
  max-width: 800px;
  margin-bottom: 40px;
}

.page-register__main-title {
  font-size: 2.5em; /* Use relative units */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for main title */
  max-width: 100%; /* Ensure it doesn't overflow */
}

.page-register__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-register__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* CTA Buttons */
.page-register__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 20px;
  justify-content: center;
}

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

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Responsive button */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  text-align: center;
}

.page-register__btn-primary {
  background-color: #EA7C07; /* Login/Register button color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-register__btn-primary:hover {
  background-color: #d46f06;
  border-color: #d46f06;
}

.page-register__btn-secondary {
  background-color: transparent;
  color: #26A9E0; /* Brand color for secondary button */
  border: 2px solid #26A9E0;
}

.page-register__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-register__btn-text-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-register__btn-text-link:hover {
    color: #1c7fb3;
    text-decoration: underline;
}

/* Section Titles & Descriptions */
.page-register__section-title {
  font-size: 2em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for section titles */
}

.page-register__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

.page-register__sub-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for sub titles */
}

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

.page-register__benefit-card {
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-register__card-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-register__card-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0; /* Brand color for card titles */
}

.page-register__card-text {
  font-size: 1em;
  color: #555555;
}

/* Registration Steps */
.page-register__registration-steps {
    background-color: #1a1a1a;
    color: #ffffff;
}

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

.page-register__step-item {
  text-align: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-register__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #26A9E0;
  color: #ffffff;
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-register__step-title {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-register__step-text {
  font-size: 0.95em;
  color: #cccccc;
}

.page-register__image-full {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 50px auto 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Account Verification */
.page-register__account-verification {
    background-color: #f5f5f5;
    color: #333333;
}

.page-register__verification-content {
    display: flex;
    flex-direction: column; /* Default for mobile */
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-register__image-left {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-register__text-block {
    text-align: left;
}

.page-register__text-block ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.page-register__text-block ul li {
    margin-bottom: 10px;
    color: #555555;
}

.page-register__text-block ul li p {
    display: inline; /* To keep text and strong tag on same line for list items */
    color: #555555;
}

.page-register__text-block strong {
    color: #333333;
}

/* Deposit Bonus */
.page-register__deposit-bonus {
    background-color: #1a1a1a;
    color: #ffffff;
}

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

.page-register__bonus-card {
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Push link to bottom */
}

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

.page-register__bonus-card .page-register__card-title {
    color: #26A9E0;
}

.page-register__bonus-card .page-register__card-text {
    color: #555555;
    margin-bottom: 20px;
}

/* Explore Games */
.page-register__explore-games {
    background-color: #f5f5f5;
    color: #333333;
}

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

.page-register__game-card {
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-register__card-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin-bottom: 15px;
}

.page-register__game-card .page-register__card-title {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.page-register__game-card .page-register__card-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-register__game-card .page-register__card-title a:hover {
    text-decoration: underline;
}

.page-register__game-card .page-register__card-text {
    color: #555555;
    margin-bottom: 15px;
}

/* Security Info */
.page-register__security-info {
    background-color: #1a1a1a;
    color: #ffffff;
}

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

.page-register__security-item {
    text-align: center;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
}

.page-register__security-item .page-register__sub-title {
    color: #26A9E0;
}

.page-register__security-item .page-register__text-block {
    color: #cccccc;
    text-align: center;
}

.page-register__image-center {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 50px auto 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-register__faq-section {
    background-color: #f5f5f5;
    color: #333333;
}

.page-register__faq-list {
  margin-top: 40px;
}

.page-register__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  color: #333333;
  list-style: none; /* For details/summary */
}

.page-register__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker */
}

.page-register__faq-qtext {
    color: #26A9E0;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
  margin-left: 15px;
}

.page-register__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #555555;
}

/* Final CTA */
.page-register__final-cta {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.page-register__cta-content {
    max-width: 900px;
}

/* Responsive Styles */
@media (min-width: 769px) {
  .page-register__hero-section {
    flex-direction: row;
    text-align: left;
    padding: 80px 20px;
    gap: 40px;
  }

  .page-register__hero-content {
    margin-bottom: 0;
    flex: 1;
  }
  
  .page-register__hero-image {
    flex: 1;
  }

  .page-register__verification-content {
    flex-direction: row;
    text-align: left;
  }

  .page-register__image-left {
    margin-right: 40px;
    flex-shrink: 0;
  }

  .page-register__text-block {
    flex-grow: 1;
  }
}

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

  .page-register__main-title {
    font-size: 2em;
  }

  .page-register__section-title {
    font-size: 1.8em;
  }

  .page-register__hero-section {
    padding: 10px 15px 40px; /* Adjust padding for mobile */
  }
  
  .page-register__container {
    padding: 0 15px; /* Add padding for mobile containers */
  }

  /* Responsive images */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__hero-section,
  .page-register__cta-buttons,
  .page-register__benefits-grid,
  .page-register__steps-list,
  .page-register__verification-content,
  .page-register__bonus-grid,
  .page-register__game-categories,
  .page-register__security-grid,
  .page-register__faq-list,
  .page-register__final-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Responsive buttons */
  .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-left: 0;
    padding-right: 0;
  }
  
  .page-register__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
  }

  /* FAQ toggle for details/summary */
  .page-register__faq-item[open] .page-register__faq-toggle {
    content: '−'; /* Change to minus when open */
  }
}