.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

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

.page-register__section {
  padding: 60px 0;
  text-align: center;
}

.page-register__card-bg {
  background-color: #2A1212; /* Card BG */
}

.page-register__dark-section {
  background-color: #7E0D0D; /* Deep Red */
  color: #FFF1E8;
}

.page-register__section-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F3C54D; /* Gold */
  line-height: 1.2;
}

.page-register__section-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF1E8;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #FFF1E8;
  padding-top: 10px; /* Small top padding, assuming body has --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.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.4);
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 15px;
  box-sizing: border-box;
}

.page-register__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #F3C54D; /* Gold */
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #FFF1E8;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__cta-button--primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #FFF1E8;
  border: none;
}

.page-register__cta-button--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-register__cta-button--secondary {
  background: #C61F1F; /* Main color */
  color: #FFF1E8;
  border: 2px solid #F3C54D; /* Gold border */
}

.page-register__cta-button--secondary:hover {
  background: #E53030; /* Auxiliary color */
  border-color: #FFB04A;
  transform: translateY(-2px);
}

/* Why Register Section */
.page-register__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-register__feature-card {
  background-color: #2A1212; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #6A1E1E; /* Border */
}

.page-register__feature-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-register__feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F3C54D; /* Gold */
}

.page-register__feature-text {
  font-size: 16px;
  color: #FFF1E8;
}

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

.page-register__step-card {
  background-color: #2A1212; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
  border: 1px solid #6A1E1E; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #FFF1E8;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  border: 3px solid #6A1E1E;
}

.page-register__step-title {
  font-size: 22px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #F3C54D; /* Gold */
}

.page-register__step-text {
  font-size: 16px;
  color: #FFF1E8;
  flex-grow: 1;
}

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

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

/* Security Section */
.page-register__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-register__security-text-block {
  flex: 1;
}

.page-register__security-subtitle {
  font-size: 26px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-register__security-text-block p {
  font-size: 16px;
  color: #FFF1E8;
  margin-bottom: 15px;
}

.page-register__security-image {
  flex: 1;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

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

.page-register__bonus-card {
  background-color: #140C0C; /* Background */
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #6A1E1E; /* Border */
}

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

.page-register__bonus-title {
  font-size: 22px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
}

.page-register__bonus-text {
  font-size: 16px;
  color: #FFF1E8;
}

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

.page-register__game-category-card {
  background-color: #2A1212; /* Card BG */
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #6A1E1E; /* Border */
  display: flex;
  flex-direction: column;
}

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

.page-register__game-category-title {
  font-size: 22px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
}

.page-register__game-category-text {
  font-size: 16px;
  color: #FFF1E8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-register__game-category-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #C61F1F; /* Main color */
  color: #FFF1E8;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-register__game-category-link:hover {
  background-color: #E53030; /* Auxiliary color */
}

/* Payment Methods Section */
.page-register__payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-register__payment-card {
  background-color: #2A1212; /* Card BG */
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #6A1E1E; /* Border */
}

.page-register__payment-icon {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-register__payment-title {
  font-size: 22px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
}

.page-register__payment-text {
  font-size: 16px;
  color: #FFF1E8;
}

/* Support Section */
.page-register__support-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-register__channel-card {
  background-color: #2A1212; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #6A1E1E; /* Border */
}

.page-register__channel-icon {
  width: 100%;
  max-width: 100px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-register__channel-title {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  margin-bottom: 10px;
}

.page-register__channel-text {
  font-size: 16px;
  color: #FFF1E8;
}

/* Responsible Gaming Section */
.page-register__responsible-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-register__responsible-image {
  flex: 1;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.page-register__responsible-text-block {
  flex: 1;
}

.page-register__responsible-subtitle {
  font-size: 26px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  margin-top: 25px;
  margin-bottom: 10px;
}

/* FAQ Section */
details.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  color: #FFF1E8;
  text-align: left;
}

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;
  color: #F3C54D; /* Gold */
  font-weight: bold;
}

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: #3A1A1A;
}

.page-register__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.page-register__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  text-align: center;
}

details.page-register__faq-item .page-register__faq-answer {
  padding: 0 20px 20px;
  background: #140C0C; /* Background */
  border-radius: 0 0 12px 12px;
  font-size: 16px;
  color: #FFF1E8;
}

/* Global image and button responsive styles */
.page-register img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-register__cta-button,
.page-register__cta-button--primary,
.page-register__cta-button--secondary,
.page-register a[class*="button"],
.page-register a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

  .page-register__section {
    padding: 40px 0;
  }

  .page-register__section-title {
    font-size: 30px;
  }

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

  /* Hero Section Mobile */
  .page-register__hero-section {
    padding-top: 10px; /* Consistent small top padding */
    padding-bottom: 40px;
  }

  .page-register__hero-image {
    object-fit: contain;
    height: auto;
  }

  .page-register__main-title {
    font-size: 28px;
  }

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

  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 18px;
  }

  /* General Image & Button Mobile */
  .page-register 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-wrapper,
  .page-register__button-group,
  .page-register__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-register__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  /* Why Register Section Mobile */
  .page-register__features-grid {
    grid-template-columns: 1fr;
  }

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

  /* Steps Section Mobile */
  .page-register__steps-grid {
    grid-template-columns: 1fr;
  }

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

  /* Security Section Mobile */
  .page-register__security-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-register__security-subtitle {
    font-size: 22px;
  }

  /* Bonuses Section Mobile */
  .page-register__bonus-grid {
    grid-template-columns: 1fr;
  }

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

  /* Games Overview Section Mobile */
  .page-register__game-categories-grid {
    grid-template-columns: 1fr;
  }

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

  /* Payment Methods Section Mobile */
  .page-register__payment-grid {
    grid-template-columns: 1fr;
  }

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

  /* Support Section Mobile */
  .page-register__support-channels {
    grid-template-columns: 1fr;
  }

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

  /* Responsible Gaming Section Mobile */
  .page-register__responsible-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-register__responsible-subtitle {
    font-size: 22px;
  }

  /* FAQ Section Mobile */
  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: 28px;
    height: 28px;
  }
  details.page-register__faq-item .page-register__faq-answer {
    padding: 0 15px 15px;
  }
}