/* style/register.css */

/* Base Styles */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Body background from shared.css */
}

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

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

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

/* Hero Section */
.page-register__hero-section {
  position: relative;
  padding: 120px 0 80px 0; /* Adjusted for header offset */
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero_bg:1920x1080:poker_stars,online_poker,registration,banner,dark_theme]') center/cover no-repeat;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  color: #ffffff;
}

.page-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Yellow for main title */
  font-weight: bold;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-register__btn-primary {
  background-color: #C30808; /* Red */
  color: #FFFF00; /* Yellow */
  border: 2px solid #C30808;
  margin: 0 10px;
}

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

.page-register__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Yellow */
  border: 2px solid #FFFF00; /* Yellow border */
  margin: 0 10px;
}

.page-register__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808; /* Red text on yellow hover */
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

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

.page-register__benefit-card {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #f0f0f0;
}

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

.page-register__card-title {
  font-size: 1.8em;
  color: #FFFF00; /* Yellow for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* How To Register Section */
.page-register__how-to-register-section {
  padding: 80px 0;
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

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

.page-register__step-card {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  color: #f0f0f0;
}

.page-register__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #FFFF00; /* Yellow */
  color: #017439; /* Dark green text on yellow */
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  border: 3px solid #017439;
}

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

.page-register__cta-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #ffffff;
}

/* Registration Form Section */
.page-register__form-section {
  padding: 80px 0;
  background-color: #000000;
  color: #ffffff;
}

.page-register__registration-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #1a1a1a;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-register__form-group {
  margin-bottom: 25px;
}

.page-register__form-label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: #FFFF00; /* Yellow labels */
}

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #333;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-register__form-input::placeholder {
  color: #aaa;
}

.page-register__form-submit-btn {
  width: 100%;
  margin-top: 20px;
}

.page-register__form-note {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9em;
  color: #ccc;
}

.page-register__form-note a {
  color: #FFFF00;
  text-decoration: none;
}

.page-register__form-note a:hover {
  text-decoration: underline;
}

/* Video Section */
.page-register__video-section {
  padding: 80px 0;
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  text-align: center;
}

.page-register__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 50px auto;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-register__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  cursor: pointer;
}

.page-register__video-cta {
  margin-top: 40px;
}

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

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #2a2a2a;
  color: #FFFF00; /* Yellow questions */
  font-weight: bold;
  font-size: 1.1em;
  border-bottom: 1px solid #3a3a3a;
}

.page-register__faq-question:hover {
  background-color: #3a3a3a;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg);
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
  background-color: #1a1a1a;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px;
}

.page-register__faq-answer p {
  margin: 0;
  padding-top: 10px; /* Add some padding for text within answer */
}

.page-register__faq-answer a {
  color: #FFFF00;
  text-decoration: none;
}

.page-register__faq-answer a:hover {
  text-decoration: underline;
}

/* Final CTA Section */
.page-register__cta-final-section {
  padding: 80px 0;
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  text-align: center;
}

.page-register__cta-final-section .page-register__btn-primary,
.page-register__cta-final-section .page-register__btn-secondary {
  margin: 15px 10px;
}

/* Copyright Info */
.page-register__copyright-info {
  text-align: center;
  padding: 30px 20px;
  background-color: #000000;
  color: #777777;
  font-size: 0.9em;
}

/* 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 {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-register__container {
    padding: 0 15px;
  }

  .page-register__hero-section {
    padding: var(--header-offset, 120px) 15px 60px 15px; /* Adjust padding for mobile header */
    min-height: 500px;
  }

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

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

  .page-register__btn-primary,
  .page-register__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0 !important;
    padding: 12px 20px;
  }

  .page-register__hero-section .page-register__btn-primary {
    margin-bottom: 20px;
  }

  .page-register__benefits-grid,
  .page-register__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-register__benefit-card,
  .page-register__step-card {
    padding: 20px;
  }

  .page-register__card-title {
    font-size: 1.5em;
  }

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

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

  .page-register__registration-form {
    padding: 30px 20px;
  }

  .page-register__form-label {
    font-size: 0.9em;
  }

  .page-register__form-input {
    padding: 10px 12px;
  }

  .page-register__video-wrapper {
    margin: 30px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-register__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

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

  .page-register__video-section,
  .page-register__benefits-section,
  .page-register__how-to-register-section,
  .page-register__form-section,
  .page-register__faq-section,
  .page-register__cta-final-section {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}