.page-register {
  color: #ffffff; /* Dark body background #1a1a1a, so use light text */
  background-color: #1a1a1a;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-register__hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:register_hero:1920x1080:hit club,registration_banner,dynamic_background]') center/cover no-repeat;
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-register__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Primary brand color */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-register__cta-button--primary {
  background: #FFD700;
  color: #000000; /* Ensure contrast with primary color */
}

.page-register__cta-button--primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-register__cta-button--secondary {
  background: #000000;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-register__cta-button--secondary:hover {
  background: #333333;
  color: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-register__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700;
  padding-top: 40px;
}

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

.page-register__process-section,
.page-register__benefits-section,
.page-register__faq-section,
.page-register__brand-section,
.page-register__blog-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

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

.page-register__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__step-icon {
  font-size: 48px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 20px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.page-register__step-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-register__step-text {
  font-size: 16px;
  color: #f0f0f0;
}

.page-register__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

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

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

.page-register__benefit-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-register__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__benefit-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-register__benefit-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-register__benefit-text {
  font-size: 16px;
  color: #f0f0f0;
}

/* FAQ Section */
.page-register__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-color: #2a2a2a;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2a2a2a;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  position: relative;
}

.page-register__faq-question:hover {
  background: #333333;
}

.page-register__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700;
  pointer-events: none;
}

.page-register__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-register__faq-item.active .page-register__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Change from '-' to 'X' visually */
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: #f0f0f0;
  background-color: #222222;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to ensure content is visible */
  padding: 20px !important;
  opacity: 1;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

/* Brand Section */
.page-register__brand-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700;
  padding-top: 40px;
}

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

.page-register__brand-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.2);
  height: 100%;
}

.page-register__brand-subtitle {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-register__brand-text {
  font-size: 16px;
  color: #f0f0f0;
}

.page-register__brand-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  grid-column: 1 / -1; /* Spans full width for a prominent display */
  margin-top: 30px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

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

.page-register__blog-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-register__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__blog-link {
  display: block;
  text-decoration: none;
  color: #ffffff;
  padding: 20px;
}

.page-register__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-register__blog-item-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-register__blog-item-excerpt {
  font-size: 15px;
  color: #f0f0f0;
  margin-bottom: 10px;
}

.page-register__blog-item-date {
  font-size: 14px;
  color: #aaaaaa;
}

.page-register__blog-cta {
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: 42px;
  }
  .page-register__section-title {
    font-size: 32px;
  }
  .page-register__brand-image {
    grid-column: auto; /* Revert to single column on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-register {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-register__container {
    padding: 0 15px;
  }
  .page-register__hero-section {
    padding: 60px 0;
    min-height: 350px;
  }
  .page-register__main-title {
    font-size: 32px;
  }
  .page-register__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-register__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-register__section-title {
    font-size: 28px;
    padding-top: 30px;
  }
  .page-register__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-register__process-section,
  .page-register__benefits-section,
  .page-register__faq-section,
  .page-register__brand-section,
  .page-register__blog-section {
    padding: 40px 0;
  }
  .page-register__process-steps,
  .page-register__benefits-grid,
  .page-register__brand-content,
  .page-register__blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-register__step-title,
  .page-register__benefit-title,
  .page-register__brand-subtitle {
    font-size: 20px;
  }
  .page-register__step-text,
  .page-register__benefit-text,
  .page-register__brand-text,
  .page-register__blog-item-excerpt {
    font-size: 15px;
  }
  .page-register__faq-question h3 {
    font-size: 16px;
  }
  .page-register__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 15px !important;
  }
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-register__process-section .page-register__container,
  .page-register__benefits-section .page-register__container,
  .page-register__faq-section .page-register__container,
  .page-register__brand-section .page-register__container,
  .page-register__blog-section .page-register__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-register__blog-image {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: 28px;
  }
  .page-register__section-title {
    font-size: 24px;
  }
  .page-register__step-icon {
    font-size: 40px;
    width: 70px;
    height: 70px;
  }
  .page-register__faq-question h3 {
    font-size: 15px;
  }
  .page-register__faq-toggle {
    font-size: 22px;
    width: 22px;
    height: 22px;
  }
  .page-register__blog-image {
    height: 150px;
  }
}