.page-register {
  color: #333333; /* Default text color for light background */
  background-color: var(--primary-color); /* Shared body background color */
}

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

.page-register__dark-section {
  background-color: #1A202C;
  color: #ffffff;
  padding: 60px 0;
}

.page-register__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.page-register__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-register__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700;
}

.page-register__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  color: #f0f0f0;
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  margin-top: 40px;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-register__dark-section .page-register__section-title {
  color: #FFD700;
}

.page-register__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: inherit;
}

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

.page-register__benefit-item {
  text-align: center;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-register__benefit-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-register__benefit-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1A202C;
}

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

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

.page-register__steps-text {
  flex: 1;
}

.page-register__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__step-item {
  margin-bottom: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid #FFD700;
}

.page-register__step-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFD700;
}

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

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

.page-register__steps-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

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

.page-register__bonus-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-register__bonus-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px;
  min-height: 200px;
}

.page-register__bonus-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1A202C;
}

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

.page-register__bonuses-cta {
  margin-top: 50px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

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

.page-register__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-register__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

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

.page-register__game-title {
  font-size: 1.4em;
  font-weight: 600;
  padding: 15px 20px 0;
  color: #FFD700;
}

.page-register__game-text {
  font-size: 0.95em;
  line-height: 1.5;
  padding: 0 20px 20px;
  color: #cccccc;
  flex-grow: 1;
}

.page-register__security-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

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

.page-register__security-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__security-item {
  margin-bottom: 25px;
}

.page-register__security-subtitle {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1A202C;
}

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

.page-register__security-cta {
  margin-top: 30px;
  display: inline-block;
}

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

.page-register__security-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-register__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: #FFD700;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

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

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

.page-register__faq-image-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-register__faq-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-register__final-cta {
  margin-top: 50px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-register__btn-primary {
  background: #FFD700;
  color: #1A202C;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-register__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-register__btn-secondary {
  background: transparent;
  color: #1A202C;
  border: 2px solid #1A202C;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.page-register__btn-secondary:hover {
  background-color: #1A202C;
  color: #ffffff;
  transform: translateY(-2px);
}

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

.page-register__text-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 2.8em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__steps-content, .page-register__security-content {
    flex-direction: column;
  }
  .page-register__steps-image-wrapper, .page-register__security-image-wrapper {
    margin-top: 30px;
  }
  .page-register__benefit-item, .page-register__bonus-item, .page-register__game-card {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__section-description {
    font-size: 0.95em;
  }
  .page-register__benefit-item, .page-register__bonus-item, .page-register__game-card {
    padding: 15px;
  }
  .page-register__benefit-title, .page-register__bonus-title, .page-register__game-title, .page-register__step-title, .page-register__security-subtitle {
    font-size: 1.3em;
  }
  .page-register__benefit-text, .page-register__bonus-text, .page-register__game-text, .page-register__step-text, .page-register__security-paragraph {
    font-size: 0.9em;
  }
  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-register__faq-answer {
    padding: 0 15px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 10px 15px;
  }
  .page-register__btn-primary, .page-register__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }
  
  /* Mobile responsive for images, videos, buttons */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-register__hero-image-wrapper,
  .page-register__steps-image-wrapper,
  .page-register__security-image-wrapper,
  .page-register__faq-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .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-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__hero-section,
  .page-register__benefits-section,
  .page-register__steps-section,
  .page-register__bonuses-section,
  .page-register__games-section,
  .page-register__security-section,
  .page-register__faq-section,
  .page-register__cta-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-register__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}