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

.page-register__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-register__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for titles */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-register__section-description {
  font-size: 18px;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

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

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%); /* Brand colors for hero background if image not loaded */
}

.page-register__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-register__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.page-register__hero-image img:hover {
  transform: scale(1.02);
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
}

.page-register__hero-title {
  font-size: 52px;
  font-weight: 900;
  color: #FFD700; /* Gold title for hero */
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-register__hero-description {
  font-size: 22px;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.page-register__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #FFD700; /* Primary brand color */
  color: #8B0000; /* Dark red text for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 24px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

.page-register__cta-button:hover {
  background: #f0c200; /* Slightly darker gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-register__cta-button--large {
  padding: 22px 55px;
  font-size: 28px;
}

/* General Card Styles */
.page-register__card {
  background: rgba(255, 255, 255, 0.08); /* Light transparent white for dark background */
  color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

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

.page-register__card p {
  font-size: 16px;
  color: #f0f0f0;
}

.page-register__card a {
  color: #FFD700;
  text-decoration: underline;
}

.page-register__card a:hover {
  color: #f0c200;
}

/* Why Register Section */
.page-register__why-register-section {
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
}

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

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

/* Guide Section */
.page-register__guide-section {
  background-color: #000;
  padding-bottom: 80px;
}

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

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

.page-register__step-item {
  text-align: center;
  padding: 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-register__step-icon {
  background: #FFD700;
  color: #8B0000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

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

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

.page-register__step-item ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
  text-align: left;
  color: #f0f0f0;
}

.page-register__step-item li {
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
}

.page-register__step-item li::before {
  content: '•';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
}

.page-register__guide-image {
  margin-top: 60px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-register__guide-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-register__note {
  font-style: italic;
  margin-top: 40px;
  color: #FFD700;
}

/* Promotion Details Section */
.page-register__promotion-details-section {
  background-color: #0d0d0d;
}

.page-register__promo-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-register__promo-image {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-register__promo-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-register__promo-text {
  flex: 2;
  min-width: 300px;
  text-align: left;
}

.page-register__promo-text h3 {
  font-size: 28px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-register__promo-text p, .page-register__promo-text li {
  font-size: 17px;
  color: #f0f0f0;
  margin-bottom: 10px;
}

.page-register__promo-text ol {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-register__promo-text li {
  margin-bottom: 8px;
}

/* Game Selection Section */
.page-register__game-selection-section {
  background-color: #000;
}

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

.page-register__game-item h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.page-register__game-item h3 a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-register__game-item h3 a:hover {
  color: #f0c200;
  text-decoration: underline;
}

.page-register__game-item p {
  font-size: 16px;
  color: #f0f0f0;
}

.page-register__game-image {
  margin-top: 60px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-register__game-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Security Section */
.page-register__security-section {
  background-color: #0d0d0d;
}

.page-register__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  margin-top: 50px;
}

.page-register__security-text {
  flex: 2;
  min-width: 300px;
  text-align: left;
}

.page-register__security-text h3 {
  font-size: 28px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-register__security-text p {
  font-size: 17px;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-register__security-image {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-register__security-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Payment Section */
.page-register__payment-section {
  background-color: #000;
}

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

.page-register__payment-item h3 {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-register__payment-item p {
  font-size: 16px;
  color: #f0f0f0;
}

/* Support Section */
.page-register__support-section {
  background-color: #0d0d0d;
}

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

.page-register__support-item h3 {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-register__support-item p {
  font-size: 16px;
  color: #f0f0f0;
}

/* FAQ Section */
.page-register__faq-section {
  background-color: #000;
}

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

.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  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: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-register__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFD700;
}

.page-register__faq-item.active .page-register__faq-question {
  background: rgba(255, 215, 0, 0.2);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.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: 32px;
  height: 32px;
}

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

.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;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 2000px !important; /* Sufficiently large for content */
  padding: 20px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

.page-register__faq-answer p {
  color: #f0f0f0;
  font-size: 16px;
  margin-bottom: 10px;
}

.page-register__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-register__faq-answer a:hover {
  color: #f0c200;
}

/* Final CTA Section */
.page-register__final-cta-section {
  background-color: #0d0d0d;
  padding-bottom: 80px;
}

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

.page-register__btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700;
  color: #8B0000;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary:hover {
  background: #f0c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  background: transparent;
  color: #FFD700;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  border: 2px solid #FFD700;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-secondary:hover {
  background: #FFD700;
  color: #8B0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 44px;
  }
  .page-register__hero-description {
    font-size: 20px;
  }
  .page-register__cta-button {
    font-size: 20px;
    padding: 15px 35px;
  }
  .page-register__cta-button--large {
    font-size: 24px;
    padding: 18px 45px;
  }
  .page-register__section-title {
    font-size: 32px;
  }
  .page-register__section-description {
    font-size: 17px;
  }
  .page-register__card h3 {
    font-size: 20px;
  }
  .page-register__promo-text h3, .page-register__security-text h3 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__hero-title {
    font-size: 36px;
    margin-bottom: 15px;
  }
  .page-register__hero-description {
    font-size: 18px;
    margin-bottom: 25px;
  }
  .page-register__cta-button {
    font-size: 18px;
    padding: 12px 30px;
    width: 100%;
    max-width: 300px; /* Limit width for single button */
    margin: 20px auto 0 auto;
  }
  .page-register__cta-button--large {
    font-size: 20px;
    padding: 15px 35px;
    width: 100%;
    max-width: 320px;
  }
  .page-register__section {
    padding: 40px 0;
  }
  .page-register__section-title {
    font-size: 28px;
  }
  .page-register__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-register__container {
    padding: 0 15px;
  }
  .page-register__features-grid,
  .page-register__guide-steps,
  .page-register__game-grid,
  .page-register__payment-grid,
  .page-register__support-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-register__promo-content,
  .page-register__security-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-register__promo-image, .page-register__security-image {
    order: -1; /* Image above text on mobile */
  }
  .page-register__card {
    padding: 20px;
  }
  .page-register__card h3 {
    font-size: 18px;
  }
  .page-register__promo-text h3, .page-register__security-text h3 {
    font-size: 22px;
  }
  .page-register__promo-text p, .page-register__security-text p, .page-register__card p {
    font-size: 15px;
  }
  .page-register__guide-image img, .page-register__promo-image img, .page-register__game-image img, .page-register__security-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-register__section,
  .page-register__card,
  .page-register__container {
    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,
  .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;
  }
  .page-register__cta-bottom {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .page-register__faq-question {
    padding: 15px;
  }
  .page-register__faq-question h3 {
    font-size: 16px;
  }
  .page-register__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 30px;
  }
  .page-register__hero-description {
    font-size: 16px;
  }
  .page-register__section-title {
    font-size: 24px;
  }
  .page-register__cta-button {
    font-size: 16px;
    padding: 10px 25px;
  }
  .page-register__cta-button--large {
    font-size: 18px;
    padding: 12px 30px;
  }
  .page-register__card h3 {
    font-size: 16px;
  }
  .page-register__promo-text h3, .page-register__security-text h3 {
    font-size: 20px;
  }
  .page-register__promo-text p, .page-register__security-text p, .page-register__card p {
    font-size: 14px;
  }
  .page-register__step-title {
    font-size: 20px;
  }
  .page-register__step-icon {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
  .page-register__faq-question h3 {
    font-size: 15px;
  }
  .page-register__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
}