/* style/register.css */
.page-register {
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Page background */
  font-family: Arial, sans-serif;
}

.page-register__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  box-sizing: border-box;
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  position: relative;
  z-index: 0;
}

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

.page-register__hero-content {
  position: absolute;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 8px;
  box-sizing: border-box;
}

.page-register__hero-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #FFD36B; /* Glow color for title */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

.page-register__hero-description {
  font-size: 1.1em;
  line-height: 1.5;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-register__section {
  padding: 60px 20px;
  background-color: #0A0A0A;
  box-sizing: border-box;
}

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

.page-register__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-register__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #FFF6D6;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.page-register__cta-button--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-register__cta-button--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-register__cta-button--secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E;
}

.page-register__cta-button--secondary:hover {
  background: #F2C14E;
  color: #111111;
}

.page-register__cta-button--text {
  background: transparent;
  color: #F2C14E;
  border: 2px solid transparent;
  padding: 10px 20px;
}

.page-register__cta-button--text:hover {
  border-color: #F2C14E;
  background: rgba(242, 193, 78, 0.1);
}

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

.page-register__feature-card,
.page-register__step-card,
.page-register__payment-card,
.page-register__promo-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  color: #FFF6D6;
}

.page-register__feature-card:hover,
.page-register__step-card:hover,
.page-register__payment-card:hover,
.page-register__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 211, 107, 0.3);
}

.page-register__feature-icon,
.page-register__payment-icon,
.page-register__promo-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-register__feature-title,
.page-register__step-title,
.page-register__payment-title,
.page-register__promo-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-register__feature-text,
.page-register__step-text,
.page-register__payment-text,
.page-register__promo-text {
  font-size: 1em;
  line-height: 1.6;
  color: #FFF6D6;
}

.page-register__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(242, 193, 78, 0.5);
}

.page-register__registration-image,
.page-register__security-image,
.page-register__responsible-gaming-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-register__security-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-register__security-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 30px;
  color: #FFF6D6;
}

.page-register__security-subtitle {
  font-size: 1.3em;
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-register__security-text {
  font-size: 1em;
  line-height: 1.6;
  color: #FFF6D6;
}

.page-register__promo-link {
  display: inline-block;
  margin-top: 20px;
  color: #FFD36B;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-register__promo-link:hover {
  color: #FFF6D6;
  text-decoration: underline;
}

.page-register__app-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-register__app-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-register__app-content {
  text-align: center;
  max-width: 600px;
}

.page-register__app-subtitle {
  font-size: 1.8em;
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 20px;
}

.page-register__app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
  color: #FFF6D6;
}

.page-register__app-features li {
  margin-bottom: 10px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
}

.page-register__list-icon {
  color: #FFD36B;
  font-size: 1.2em;
  margin-right: 10px;
}

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

.page-register__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: #F2C14E;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-register__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1em; /* Adjust h3 font size within question */
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFD36B;
  transition: transform 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg);
}

.page-register__faq-answer {
  max-height: 0 !important; /* Important for JS toggle */
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to reveal content */
  padding: 20px;
}

.page-register__faq-answer p {
  margin-bottom: 0;
  line-height: 1.6;
}

.page-register__final-cta {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-register__hero-title {
    font-size: 3.5em;
  }
  .page-register__section-title {
    font-size: 3em;
  }
  .page-register__app-showcase {
    flex-direction: row;
    text-align: left;
  }
  .page-register__app-content {
    text-align: left;
  }
  .page-register__security-info {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding on mobile */
  }
  .page-register__hero-content {
    position: relative;
    max-width: 100%;
    margin-top: 20px;
  }
  .page-register__hero-image-wrapper {
    max-height: 400px;
  }
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__section {
    padding: 40px 15px;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__section-description {
    font-size: 0.95em;
  }
  .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% !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 {
    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;
  }
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-register__container,
  .page-register__section,
  .page-register__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__features-grid,
  .page-register__steps-grid,
  .page-register__payment-methods-grid,
  .page-register__promo-cards-grid {
    grid-template-columns: 1fr;
  }
  .page-register__app-showcase {
    flex-direction: column;
  }
  .page-register__app-content {
    text-align: center;
  }
  .page-register__app-features {
    padding-left: 0;
    text-align: center;
  }
  .page-register__app-features li {
    justify-content: center;
  }
  .page-register__security-info {
    grid-template-columns: 1fr;
  }
}