/* style/register.css */
.page-register {
  color: #ffffff; /* Body background is #000000 (dark), so text must be light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #000000; /* Ensure main content area respects body background */
}

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

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding for initial section */
  background-color: #000000;
  overflow: hidden;
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

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

.page-register__hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.page-register__main-title {
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-register__hero-description {
  color: #f0f0f0;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box; /* Crucial for button responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-register__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-register__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin-left: 20px;
}

.page-register__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7fb0;
  border-color: #1a7fb0;
}

.page-register__btn-center {
  display: block;
  margin: 30px auto 0;
  max-width: 300px;
}

.page-register__btn-large {
  padding: 18px 35px;
  font-size: 1.3rem;
  max-width: 400px;
}

/* General Section Styling */
.page-register__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__section-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-register__dark-text {
  color: #333333;
}

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

.page-register__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

.page-register__highlight {
  color: #26A9E0;
  font-weight: bold;
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: #000000;
}

.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-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__benefit-icon {
  width: 100%;
  max-width: 200px; /* Ensure images are not too wide in cards */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-register__card-title {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__card-text {
  color: #f0f0f0;
  font-size: 1rem;
}

.page-register__cta-buttons {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Steps Section */
.page-register__steps-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-register__step-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
  background-color: #e0f7fa;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-register__process-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 50px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Bonuses Section */
.page-register__bonuses-section {
  padding: 80px 0;
  background-color: #000000;
}

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

.page-register__bonus-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-register__bonus-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 50px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Secure Gaming Section */
.page-register__secure-gaming-section {
  padding: 80px 0;
  background-color: #000000;
}

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

.page-register__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-register__security-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 50px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-register__faq-item {
  background-color: #f9f9f9;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #e0f7fa;
  border-bottom: 1px solid #d0eef1;
}

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

.page-register__faq-qtext {
  flex-grow: 1;
  color: #333333;
}

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

.page-register__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
  background-color: #fcfcfc;
}

/* Call to Action Final Section */
.page-register__cta-final-section {
  padding: 80px 0;
  text-align: center;
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-register__cta-final-section .page-register__section-description {
  color: #f0f0f0;
  margin-bottom: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: clamp(2.2rem, 5vw, 3rem);
  }
  .page-register__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-register__container,
  .page-register__hero-section,
  .page-register__benefits-section,
  .page-register__steps-section,
  .page-register__bonuses-section,
  .page-register__secure-gaming-section,
  .page-register__faq-section,
  .page-register__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__hero-section {
    padding: 10px 15px 40px;
  }

  .page-register__hero-image,
  .page-register__benefit-icon,
  .page-register__process-image,
  .page-register__bonus-image,
  .page-register__security-image,
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .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;
    margin-left: 0 !important; /* Reset margin for secondary button */
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-register__btn-center {
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-register__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-register__faq-answer {
    font-size: 0.95rem;
    padding: 15px;
  }
  
  .page-register__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-register__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
}