/* style/register.css */
.page-register {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

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

.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  margin-bottom: 40px;
}

.page-register__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-register__description-text {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #111111; /* Dark text for bright button */
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-register__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 211, 107, 0.4);
}

.page-register__cta-button--center {
  display: block;
  margin: 40px auto 0 auto;
  text-align: center;
}

.page-register__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  color: #FFD36B; /* Glow */
}

.page-register__section-description {
  font-size: 1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #FFF6D6;
}

.page-register__benefits-section,
.page-register__guide-section,
.page-register__responsible-gaming-section,
.page-register__mobile-app-section,
.page-register__faq-section,
.page-register__cta-final-section {
  padding: 60px 0;
}

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

.page-register__benefit-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__benefit-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E; /* Main color */
}

.page-register__benefit-text {
  font-size: 0.95rem;
  color: #FFF6D6;
}

.page-register__section-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 0 auto 50px auto;
  border-radius: 10px;
  object-fit: cover;
}

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

.page-register__step-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__step-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

.page-register__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2C14E; /* Main color */
}

.page-register__step-text {
  font-size: 0.95rem;
  color: #FFF6D6;
}

.page-register__responsible-gaming-section {
  background-color: #111111; /* Card BG */
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
  padding: 50px 0;
  text-align: center;
}

.page-register__responsible-gaming-section .page-register__section-title {
  color: #F2C14E;
}

.page-register__text-link {
  color: #FFD36B;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-register__text-link:hover {
  color: #FFF6D6;
}

.page-register__mobile-app-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-register__mobile-app-text {
  text-align: center;
  max-width: 600px;
}

.page-register__mobile-app-text p {
  margin-bottom: 30px;
  font-size: 1.05rem;
  color: #FFF6D6;
}

.page-register__mobile-app-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 10px;
  object-fit: cover;
}

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

.page-register__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  color: #F2C14E; /* Main color */
  background-color: #1a1a1a;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: #2a2a2a;
}

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

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(0deg); /* Explicitly set for consistency with '-' */
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 0.95rem;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px;
}

.page-register__faq-answer p {
  margin: 0;
}

.page-register__cta-final-section {
  background-color: #111111; /* Card BG */
  border-top: 1px solid #3A2A12;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-register__cta-final-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  display: block;
}

.page-register__cta-final-content {
  padding: 60px 20px;
  background: rgba(10, 10, 10, 0.85); /* Slightly transparent dark overlay for text readability */
  margin-top: -5px; /* Pull up slightly to overlap image edge */
  position: relative;
  z-index: 1;
}

.page-register__cta-final-content .page-register__section-title {
  color: #FFD36B;
}

.page-register__cta-final-content .page-register__section-description {
  color: #FFF6D6;
  margin-bottom: 40px;
}

/* Responsive styles */
@media (min-width: 769px) {
  .page-register__mobile-app-content {
    flex-direction: row;
    text-align: left;
    justify-content: center;
  }
  .page-register__mobile-app-text {
    text-align: left;
    margin-right: 40px;
  }
  .page-register__mobile-app-image {
    order: 2;
  }
}

@media (max-width: 768px) {
  .page-register__hero-image,
  .page-register__section-image,
  .page-register__mobile-app-image,
  .page-register__cta-final-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-register__hero-section,
  .page-register__benefits-section,
  .page-register__guide-section,
  .page-register__responsible-gaming-section,
  .page-register__mobile-app-section,
  .page-register__faq-section,
  .page-register__cta-final-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__container {
    padding: 0;
  }

  .page-register__main-title {
    font-size: 2rem;
  }

  .page-register__description-text,
  .page-register__section-description {
    font-size: 1rem;
  }

  .page-register__cta-button,
  .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: 15px 20px !important;
  }

  .page-register__cta-button--center {
    margin-left: 0;
    margin-right: 0;
  }

  .page-register__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-register__faq-answer {
    padding: 10px 20px;
  }

  .page-register__faq-answer p {
    font-size: 0.9rem;
  }

  .page-register__hero-section {
    padding-bottom: 40px;
  }

  .page-register__cta-final-content {
    padding: 40px 15px;
  }

  .page-register__mobile-app-content {
    gap: 20px;
  }
}