.page-register {
  font-family: 'Arial', sans-serif;
  color: #FFF5E1; /* Text Main */
  background: var(--bg-color, #B71C1C); /* Background */
}

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

.page-register__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #FFF5E1; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-register__section-description {
  font-size: 18px;
  color: #FFF5E1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.page-register__dark-section {
  background: #B71C1C; /* Background */
  padding: 60px 0;
  color: #FFF5E1;
}

.page-register__light-bg {
  background: #ffffff;
  color: #333333;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: 10px; /* Small top padding */
  overflow: hidden;
  color: #FFF5E1;
}

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

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 20px;
}

.page-register__hero-title {
  font-weight: 800;
  color: #FFCC66; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(2.5rem, 5vw, 4.5rem); /* Responsive font size */
}

.page-register__hero-description {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-register__hero-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button Gradient */
  color: #7A0E0E; /* Deep Red for contrast on gold button */
  text-decoration: none;
  border-radius: 50px;
  font-size: 22px;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid #F2B544; /* Border */
}

.page-register__hero-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Why Join Section */
.page-register__why-join-section {
  padding: 80px 0;
}

.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: #D32F2F; /* Card BG */
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #E53935;
  transition: transform 0.3s ease;
  color: #FFF5E1;
}

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

.page-register__benefit-card .page-register__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFCC66; /* Glow */
  margin-bottom: 15px;
}

.page-register__benefit-card .page-register__card-text {
  font-size: 16px;
  line-height: 1.7;
  color: #FFF5E1;
}

/* Registration Steps Section */
.page-register__registration-steps-section {
  padding: 80px 0;
  background: #B71C1C; /* Background */
}

.page-register__steps-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-register__steps-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.page-register__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #FFCC66; /* Glow */
  color: #7A0E0E; /* Deep Red */
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.page-register__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #F4D34D; /* Gold */
  margin-bottom: 5px;
}

.page-register__step-text {
  font-size: 16px;
  line-height: 1.6;
  color: #FFF5E1;
}

.page-register__steps-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-register__steps-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid #F2B544; /* Border */
}

.page-register__steps-cta {
  margin-top: 30px;
  align-self: center;
}

/* Exclusive Benefits Section */
.page-register__exclusive-benefits-section {
  padding: 80px 0;
}

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

.page-register__benefit-item {
  background: #D32F2F; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #E53935;
  color: #FFF5E1;
}

.page-register__benefit-item-title {
  font-size: 20px;
  font-weight: 700;
  color: #F4D34D; /* Gold */
  margin-bottom: 10px;
}

.page-register__benefit-item-text {
  font-size: 15px;
  line-height: 1.6;
  color: #FFF5E1;
}

.page-register__exclusive-benefits-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  margin-top: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid #F2B544; /* Border */
}

/* Game Showcase Section */
.page-register__game-showcase-section {
  padding: 80px 0;
  background: #B71C1C; /* Background */
}

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

.page-register__game-card {
  display: block;
  background: #D32F2F; /* Card BG */
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  color: #FFF5E1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #E53935;
  transition: transform 0.3s ease;
}

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

.page-register__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-register__game-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFCC66; /* Glow */
  padding: 15px 15px 5px;
}

.page-register__game-card-text {
  font-size: 15px;
  line-height: 1.5;
  padding: 0 15px 20px;
  color: #FFF5E1;
}

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

.page-register__main-cta {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button Gradient */
  color: #7A0E0E; /* Deep Red */
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid #F2B544; /* Border */
}

.page-register__main-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Security Support Section */
.page-register__security-support-section {
  padding: 80px 0;
}

.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: #D32F2F; /* Card BG */
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #E53935;
  transition: transform 0.3s ease;
  color: #FFF5E1;
}

.page-register__security-item:hover {
  transform: translateY(-5px);
}

.page-register__item-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFCC66; /* Glow */
  margin-bottom: 15px;
}

.page-register__item-text {
  font-size: 16px;
  line-height: 1.7;
  color: #FFF5E1;
}

.page-register__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  margin-top: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid #F2B544; /* Border */
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background: #B71C1C; /* Background */
}

.page-register__faq-list {
  margin-top: 40px;
}

details.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #E53935;
  overflow: hidden;
  background: #D32F2F; /* Card BG */
  color: #FFF5E1;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

details.page-register__faq-item summary.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-register__faq-item summary.page-register__faq-question::-webkit-details-marker {
  display: none;
}

details.page-register__faq-item summary.page-register__faq-question:hover {
  background: #C91F17; /* Main Color */
}

.page-register__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F4D34D; /* Gold */
}

.page-register__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFCC66; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-register__faq-item .page-register__faq-answer {
  padding: 0 20px 20px;
  background: #C91F17; /* Main Color */
  border-radius: 0 0 10px 10px;
  color: #FFF5E1;
  line-height: 1.7;
}

/* Final CTA Section */
.page-register__final-cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-register__final-cta {
  display: inline-block;
  padding: 18px 50px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button Gradient */
  color: #7A0E0E; /* Deep Red */
  text-decoration: none;
  border-radius: 50px;
  font-size: 24px;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid #F2B544; /* Border */
  margin-top: 40px;
}

.page-register__final-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* General Image and Button Rules for responsiveness */
.page-register img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-register__hero-cta-button,
.page-register__cta-button,
.page-register__main-cta,
.page-register__final-cta {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__cta-buttons,
.page-register__button-group,
.page-register__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-register__container {
    padding: 15px;
  }

  .page-register__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-register__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Hero Section Mobile */
  .page-register__hero-section {
    min-height: 450px;
    padding-top: 10px !important;
  }

  .page-register__hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 15px;
  }

  .page-register__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-register__hero-cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }

  /* Why Join Section Mobile */
  .page-register__why-join-section {
    padding: 40px 0;
  }

  .page-register__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__benefit-card {
    padding: 25px;
  }

  .page-register__benefit-card .page-register__card-title {
    font-size: 20px;
  }

  .page-register__benefit-card .page-register__card-text {
    font-size: 14px;
  }

  /* Registration Steps Section Mobile */
  .page-register__registration-steps-section {
    padding: 40px 0;
  }

  .page-register__steps-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-register__steps-content {
    gap: 20px;
  }

  .page-register__step-number {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .page-register__step-title {
    font-size: 18px;
  }

  .page-register__step-text {
    font-size: 14px;
  }

  .page-register__steps-cta {
    font-size: 18px;
    padding: 12px 30px;
  }

  /* Exclusive Benefits Section Mobile */
  .page-register__exclusive-benefits-section {
    padding: 40px 0;
  }

  .page-register__exclusive-benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__benefit-item-title {
    font-size: 18px;
  }

  .page-register__benefit-item-text {
    font-size: 14px;
  }

  /* Game Showcase Section Mobile */
  .page-register__game-showcase-section {
    padding: 40px 0;
  }

  .page-register__game-categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }

  .page-register__game-card-image {
    height: 150px;
  }

  .page-register__game-card-title {
    font-size: 16px;
    padding: 10px 10px 5px;
  }

  .page-register__game-card-text {
    font-size: 13px;
    padding: 0 10px 15px;
  }

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

  .page-register__main-cta {
    padding: 12px 30px;
    font-size: 18px;
  }

  /* Security Support Section Mobile */
  .page-register__security-support-section {
    padding: 40px 0;
  }

  .page-register__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__item-title {
    font-size: 20px;
  }

  .page-register__item-text {
    font-size: 14px;
  }

  /* FAQ Section Mobile */
  .page-register__faq-section {
    padding: 40px 0;
  }

  .page-register__faq-list {
    margin-top: 30px;
  }

  details.page-register__faq-item summary.page-register__faq-question {
    padding: 15px;
  }

  .page-register__faq-qtext {
    font-size: 16px;
  }

  .page-register__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }

  details.page-register__faq-item .page-register__faq-answer {
    padding: 0 15px 15px;
    font-size: 14px;
  }

  /* Final CTA Section Mobile */
  .page-register__final-cta-section {
    padding: 40px 0;
  }

  .page-register__final-cta {
    padding: 15px 35px;
    font-size: 20px;
    margin-top: 30px;
  }

  /* Universal Image and Button Mobile Adaption */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-register__hero-cta-button,
  .page-register__cta-button,
  .page-register__main-cta,
  .page-register__final-cta,
  .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-buttons,
  .page-register__button-group,
  .page-register__btn-container,
  .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;
    overflow-x: hidden;
  }

  .page-register__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
}

/* Media Query for Hero Image object-fit for 849px width */
@media (max-width: 849px) {
  .page-register__hero-image {
    object-fit: contain;
    height: auto;
  }
}