/* style/register.css */

/* Base Styles for .page-register */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

/* Section Titles */
.page-register__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__section-intro {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  background: linear-gradient(rgba(1, 116, 57, 0.8), rgba(0, 0, 0, 0.8)), url('[GALLERY:hero:1920x1080:online_betting,registration_banner,sports_casino,welcome_bonus]') no-repeat center center/cover;
  padding: 100px 0;
  text-align: center;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  box-sizing: border-box;
}

.page-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #FFFF00; /* Register/Login font color */
}

.page-register__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

/* Call to Action Button */
.page-register__cta-button {
  display: inline-block;
  background-color: #C30808; /* Register button color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-register__cta-button:hover {
  background-color: #e02a2a;
  transform: translateY(-3px);
}

/* Why Us Section */
.page-register__why-us-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-register__feature-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__feature-card:hover {
  transform: translateY(-5px);
}

.page-register__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-register__feature-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__feature-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Guide Section */
.page-register__guide-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-register__step-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-register__step-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__step-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Important Notes Section */
.page-register__important-notes-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

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

.page-register__note-item {
  background-color: rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #FFFF00;
}

.page-register__note-title {
  font-size: 1.4em;
  color: #FFFF00;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-register__note-text {
  font-size: 1em;
  color: #ffffff;
}

/* After Register Section */
.page-register__after-register-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-register__after-register-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-register__after-register-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-register__after-register-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__after-register-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-register__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #017439;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  border: 2px solid #017439;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

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

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

.page-register__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFF00;
  cursor: pointer;
  background-color: rgba(1, 116, 57, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* For details/summary */
}

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

.page-register__faq-item summary {
  list-style: none;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFFF00;
  margin-left: 15px;
}

.page-register__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.03);
}

/* CTA Section at bottom */
.page-register__cta-section {
  padding: 60px 0;
  background-color: #017439;
  text-align: center;
  color: #ffffff;
}

/* Dark/Light Background Helpers */
.page-register__dark-bg {
  color: #ffffff; /* Deep contrast for dark backgrounds */
}

.page-register__light-bg {
  color: #ffffff; /* For sections with slightly lighter dark backgrounds */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3em;
  }

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

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 80px 0;
    min-height: 450px;
  }

  .page-register__hero-title {
    font-size: 2.5em;
  }

  .page-register__hero-description {
    font-size: 1.1em;
  }

  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }

  .page-register__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-register__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-register__why-us-section,
  .page-register__guide-section,
  .page-register__important-notes-section,
  .page-register__after-register-section,
  .page-register__faq-section,
  .page-register__cta-section {
    padding: 50px 0;
  }

  .page-register__features-grid,
  .page-register__guide-steps,
  .page-register__after-register-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__feature-card,
  .page-register__step-item,
  .page-register__after-register-card,
  .page-register__note-item,
  .page-register__faq-item {
    padding: 20px;
  }

  .page-register__feature-title,
  .page-register__step-title,
  .page-register__after-register-title,
  .page-register__note-title {
    font-size: 1.3em;
  }

  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-register__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile image, video, button responsiveness */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register video,
  .page-register__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register__hero-section,
  .page-register__why-us-section,
  .page-register__guide-section,
  .page-register__important-notes-section,
  .page-register__after-register-section,
  .page-register__faq-section,
  .page-register__cta-section,
  .page-register__container,
  .page-register__feature-card,
  .page-register__step-item,
  .page-register__after-register-card,
  .page-register__note-item,
  .page-register__faq-item,
  .page-register__cta-button,
  .page-register__btn-primary,
  .page-register__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__cta-button,
  .page-register__btn-primary,
  .page-register__btn-secondary {
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px; /* Add margin for stacked buttons */
  }

  .page-register__cta-buttons,
  .page-register__button-group,
  .page-register__btn-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .page-register__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
  }
}