/* style/register.css */
.page-register {
  color: #333333; /* Default text color for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-register__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  color: #ffffff;
  text-align: center;
  padding: 20px;
}

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

.page-register__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 30px;
  background: rgba(10, 36, 99, 0.7); /* Main color with transparency */
  border-radius: 10px;
}

.page-register__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary color for emphasis */
  line-height: 1.2;
}

.page-register__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-register__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary color for buttons */
  color: #0A2463; /* Main color for button text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-register__cta-button:hover {
  background-color: #e6c200;
}

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

.page-register__cta-button--large {
  padding: 18px 35px;
  font-size: 1.3em;
}

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section,
.page-register__promo-cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.page-register__section-title {
  font-size: 2.5em;
  color: #0A2463; /* Main color for titles */
  text-align: center;
  margin-bottom: 40px;
}

.page-register__value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-register__value-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-register__value-item:hover {
  transform: translateY(-10px);
}

.page-register__value-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-register__value-heading {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-register__value-description {
  font-size: 1em;
  color: #555555;
}

.page-register__steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
}

.page-register__step-item {
  background: #f9f9f9;
  border-left: 5px solid #FFD700; /* Auxiliary color for accent */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  position: relative;
}

.page-register__step-icon {
  background-color: #0A2463; /* Main color for icons */
  color: #FFD700;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
  position: absolute;
  top: -20px;
  left: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-register__step-heading {
  font-size: 1.4em;
  color: #0A2463;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-register__step-description {
  font-size: 0.95em;
  color: #666666;
}

.page-register__conditions-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

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

.page-register__conditions-list {
  list-style: none;
  padding: 0;
  flex: 1;
  min-width: 300px;
}

.page-register__conditions-item {
  background: #f0f4f8;
  border-left: 4px solid #0A2463;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1em;
  color: #444444;
}

.page-register__responsible-gaming-text {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9em;
  color: #777777;
}

.page-register__responsible-gaming-text a {
  color: #0A2463;
  text-decoration: none;
  font-weight: bold;
}

.page-register__responsible-gaming-text a:hover {
  text-decoration: underline;
}

.page-register__faq-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-register__faq-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #0A2463;
  cursor: pointer;
  background-color: #f5f8fc;
  border-bottom: 1px solid #e0e0e0;
  user-select: none;
}

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

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  background-color: #ffffff;
  border-top: 1px solid #f0f0f0;
}

.page-register__promo-cta-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  color: #ffffff;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 80px;
}

.page-register__promo-cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-register__promo-cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  border-radius: 10px;
}

.page-register__promo-cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-register__promo-cta-description {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-register__main-title {
    font-size: 2.5em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__promo-cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    min-height: 400px;
  }
  .page-register__hero-content {
    padding: 20px;
  }
  .page-register__main-title {
    font-size: 2em;
  }
  .page-register__intro-text {
    font-size: 1em;
  }
  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-register__value-grid, .page-register__steps-list {
    grid-template-columns: 1fr;
  }
  .page-register__conditions-content {
    flex-direction: column;
  }
  .page-register__conditions-image {
    max-width: 100%;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__promo-cta-title {
    font-size: 1.8em;
  }
  .page-register__promo-cta-description {
    font-size: 1em;
  }
  
  /* Mobile content image constraint */
  .page-register img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
  .page-register__value-image, .page-register__conditions-image {
    width: 100%; /* Ensure they take full width in mobile */
    height: auto;
  }
  .page-register__hero-image, .page-register__promo-cta-image {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-register__faq-answer {
    padding: 15px 20px;
  }
  .page-register__promo-cta-title {
    font-size: 1.6em;
  }
  .page-register__promo-cta-content {
    padding: 20px;
  }
}