.page-register {
  color: #ffffff; /* Default text color for dark background */
  background-color: var(--dark-bg-1); /* Inherit from shared.css, assumed dark */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-register__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Accent color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__section-description {
  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 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('[GALLERY:hero_bg:1920x1080:sunwin_hb,abstract,gaming_background,dark_gold_glow]') no-repeat center center/cover;
  position: relative;
  overflow: hidden;
}

.page-register__hero-content {
  z-index: 1;
  max-width: 900px;
}

.page-register__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-register__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons */
.page-register__btn-primary {
  display: inline-block;
  background-color: #FFD700;
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-register__btn-primary:hover {
  background-color: #e0b800;
  transform: translateY(-2px);
}

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

.page-register__btn-secondary:hover {
  background-color: #FFD700;
  color: #000000;
}

.page-register__btn-large {
    padding: 20px 40px;
    font-size: 1.3em;
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 60px 0;
  background-color: #0d0d0d; /* Slightly lighter dark background */
}

.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: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.page-register__benefit-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-register__benefit-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

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

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

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

.page-register__step-card {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.page-register__step-number {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #FFD700;
  color: #000000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
  z-index: 1;
}

.page-register__step-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-register__step-text {
  color: #cccccc;
  font-size: 1em;
  margin-bottom: 20px;
}

.page-register__step-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

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

/* Promotions Section */
.page-register__promotions-section {
    padding: 60px 0;
    background-color: #0d0d0d;
}

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

.page-register__promotion-card {
    background-color: #1a1a1a;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-register__promotion-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-register__promotion-text {
    color: #cccccc;
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-register__cta-promotions {
    text-align: center;
    margin-top: 50px;
}

.page-register__cta-text {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 25px;
}

/* Security Section */
.page-register__security-section {
    padding: 60px 0;
    background-color: #000000;
}

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

.page-register__security-item {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-register__security-icon {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-register__security-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

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

.page-register__security-closing-text {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: #f0f0f0;
}

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

.page-register__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__faq-question:hover {
  background-color: #1a1a1a;
}

.page-register__faq-question-title {
  color: #FFD700;
  font-size: 1.2em;
  margin: 0;
}

.page-register__faq-toggle {
  color: #FFD700;
  font-size: 1.8em;
  font-weight: bold;
  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 25px;
  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; /* Sufficiently large to show content */
  padding: 20px 25px;
}

/* Final CTA Section */
.page-register__cta-final-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #000000;
}

.page-register__cta-note {
    font-size: 1em;
    color: #cccccc;
    margin-top: 30px;
}

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

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

  .page-register__hero-section {
    flex-direction: column;
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header */
  }

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

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

  .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: 15px;
    padding-right: 15px;
    margin-bottom: 15px;
  }
  
  .page-register__cta-bottom .page-register__btn-primary, .page-register__cta-promotions .page-register__btn-primary, .page-register__cta-final-section .page-register__btn-primary {
    width: auto !important;
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .page-register__benefits-grid,
  .page-register__steps-grid,
  .page-register__promotions-grid,
  .page-register__security-grid {
    grid-template-columns: 1fr;
  }
  
  .page-register img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register__benefit-icon, .page-register__security-icon {
    width: 150px;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__btn-primary {
    font-size: 1em;
    padding: 12px 25px;
  }
}