.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background);
}

.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;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles top padding, this is decorative */
  background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%); /* Deep Green to Background for hero */
  color: var(--text-main);
  text-align: center;
  overflow: hidden;
}

.page-register__hero-content {
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  margin-bottom: 30px;
}

.page-register__main-title {
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 20px;
  font-size: clamp(2em, 4vw, 3.2em); /* H1 font size constraint */
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-register__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-register__section {
  padding: 80px 0;
  overflow: hidden;
}

.page-register__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: var(--text-main);
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
}

.page-register__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-register__content-wrapper:nth-child(even) {
  flex-direction: row-reverse;
}

.page-register__text-block {
  flex: 1;
  min-width: 0; /* Allow flex item to shrink */
}

.page-register__text-block p {
  margin-bottom: 1em;
  color: var(--text-main);
}

.page-register__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0; /* Allow flex item to shrink */
}

.page-register__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block;
}

.page-register__feature-list, 
.page-register__step-list, 
.page-register__bonus-list, 
.page-register__game-category-list, 
.page-register__responsible-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-register__feature-list li, 
.page-register__step-list li, 
.page-register__bonus-list li, 
.page-register__game-category-list li, 
.page-register__responsible-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: var(--text-secondary);
}

.page-register__feature-list li::before, 
.page-register__bonus-list li::before, 
.page-register__game-category-list li::before, 
.page-register__responsible-list li::before {
  content: '✔';
  color: var(--main-color);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-register__step-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background-color: var(--main-color);
  color: var(--text-main);
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9em;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-register__step-list {
  counter-reset: step-counter;
}

.page-register__list-highlight {
  color: var(--text-main);
}

.page-register__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-register__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-register__btn-secondary {
  background-color: transparent;
  color: var(--main-color);
  border: 2px solid var(--main-color);
}

.page-register__btn-secondary:hover {
  background-color: var(--main-color);
  color: #ffffff;
}

.page-register__cta-section {
  text-align: center;
  padding: 60px 0;
  background-color: var(--light-bg);
  color: var(--dark-text);
}

.page-register__cta-description {
  font-size: 1.1em;
  color: var(--dark-text);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__faq-section {
  padding: 80px 0;
  background-color: var(--card-bg);
  color: var(--text-main);
}

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

.page-register__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-secondary);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--text-main);
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: #1a3025; /* Slightly lighter card BG on hover */
}

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

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

.page-register__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-secondary);
}

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

/* Color Contrast Classes */
.page-register__dark-bg {
  background-color: var(--background);
  color: var(--text-main);
}

.page-register__light-bg {
  background-color: #f8f9fa; /* A very light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-register__card-bg {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-register__text-main {
  color: var(--text-main);
}

.page-register__text-secondary {
  color: var(--text-secondary);
}

/* Custom Colors */
:root {
  --main-color: #11A84E;
  --accent-color: #22C768;
  --background: #08160F;
  --card-bg: #11271B;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
  --light-bg: #f8f9fa; /* For sections requiring light background */
  --dark-text: #333333; /* For text on light backgrounds */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__content-wrapper {
    flex-direction: column;
  }

  .page-register__content-wrapper:nth-child(even) {
    flex-direction: column;
  }

  .page-register__text-block, .page-register__image-wrapper {
    flex: none;
    width: 100%;
  }
  .page-register__hero-content {
    padding: 30px 15px;
  }
  .page-register__section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-register__container {
    padding: 0 15px;
  }

  /* Images */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register__image-wrapper,
  .page-register__hero-image-wrapper,
  .page-register__section,
  .page-register__hero-section,
  .page-register__cta-section,
  .page-register__faq-section,
  .page-register__why-join-section,
  .page-register__steps-section,
  .page-register__bonuses-section,
  .page-register__games-section,
  .page-register__responsible-gaming-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Buttons */
  .page-register__btn,
  .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 !important;
    padding-right: 15px !important;
    margin-bottom: 15px; /* Add space between stacked buttons */
  }

  .page-register__hero-content .page-register__btn {
    margin-left: auto;
    margin-right: auto;
  }

  .page-register__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-register__hero-content {
    padding: 20px 15px;
  }

  .page-register__main-title {
    font-size: 2.2em; 
  }

  .page-register__hero-description {
    font-size: 1em;
  }

  .page-register__feature-list li, 
  .page-register__step-list li, 
  .page-register__bonus-list li, 
  .page-register__game-category-list li, 
  .page-register__responsible-list li {
    font-size: 0.95em;
  }

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

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

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: 1.8em;
  }

  .page-register__section-title {
    font-size: 1.6em;
  }
  .page-register__btn {
    padding: 12px 20px;
  }
}