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

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

.page-register__section {
  padding: 60px 0;
  text-align: center;
}

.page-register__dark-section {
  background: var(--primary-color);
  color: #ffffff;
}

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

.page-register__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: inherit;
  line-height: 1.3;
}

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

.page-register__section-description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

.page-register__dark-section .page-register__section-description {
  color: rgba(255, 255, 255, 0.9);
}

/* HERO Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, main offset from body */
  overflow: hidden;
}

.page-register__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-register__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-main-color);
}

.page-register__main-title {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Use clamp for H1 */
}

.page-register__intro-text {
  font-size: 20px;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 30px auto;
  color: var(--text-main-color);
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.page-register__cta-button:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
}

/* Features Grid */
.page-register__features-grid,
.page-register__steps-grid,
.page-register__deposit-methods-grid,
.page-register__bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-register__feature-card,
.page-register__step-card,
.page-register__method-card,
.page-register__bonus-card {
  background: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
}

.page-register__dark-section .page-register__feature-card,
.page-register__dark-section .page-register__step-card {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.page-register__feature-card:hover,
.page-register__step-card:hover,
.page-register__method-card:hover,
.page-register__bonus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-register__feature-card img,
.page-register__method-card img,
.page-register__bonus-card img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-register__feature-card .page-register__card-title,
.page-register__method-card .page-register__card-title,
.page-register__bonus-card .page-register__card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: inherit;
}

.page-register__dark-section .page-register__feature-card .page-register__card-title,
.page-register__dark-section .page-register__step-card .page-register__card-title {
  color: #ffffff;
}

.page-register__feature-card p,
.page-register__method-card p,
.page-register__bonus-card p {
  font-size: 16px;
  line-height: 1.7;
  color: inherit;
}

.page-register__dark-section .page-register__feature-card p,
.page-register__dark-section .page-register__step-card p {
  color: rgba(255, 255, 255, 0.8);
}

/* Registration Steps */
.page-register__step-card .page-register__step-icon {
  width: 60px;
  height: 60px;
  background: var(--secondary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 10px rgba(255, 90, 79, 0.4);
}

.page-register__dark-section .page-register__step-card .page-register__step-icon {
  background: #ffffff;
  color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}

.page-register__cta-center {
  margin-top: 50px;
}

/* Content Grid */
.page-register__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-register__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-register__text-block {
  flex: 1;
}

.page-register__text-block h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: inherit;
}

.page-register__dark-section .page-register__text-block h3 {
  color: #ffffff;
}

.page-register__text-block p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: inherit;
}

.page-register__dark-section .page-register__text-block p {
  color: rgba(255, 255, 255, 0.85);
}

.page-register__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-register__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-register__dark-section .page-register__image-block img {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-register__link-text {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-register__link-text:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* FAQ Section */
details.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

details.page-register__faq-item summary.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main-color);
}

details.page-register__faq-item summary.page-register__faq-question::-webkit-details-marker {
  display: none;
}

details.page-register__faq-item summary.page-register__faq-question:hover {
  background: var(--background-color);
}

.page-register__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: inherit;
}

.page-register__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

details.page-register__faq-item .page-register__faq-answer {
  padding: 0 25px 25px;
  background: var(--background-color);
  border-radius: 0 0 8px 8px;
  text-align: left;
  color: var(--text-main-color);
}

.page-register__faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 0;
  color: inherit;
}

/* Final CTA Section */
.page-register__final-cta-section .page-register__section-title {
  color: #ffffff;
}

.page-register__final-cta-section .page-register__section-description {
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-register__section-title {
    font-size: 32px;
  }
  .page-register__section-description {
    font-size: 17px;
  }
  .page-register__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-register__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }
  .page-register__intro-text {
    font-size: 18px;
  }
  .page-register__cta-button {
    padding: 14px 35px;
    font-size: 18px;
  }
  .page-register__content-grid {
    flex-direction: column;
    text-align: center;
  }
  .page-register__content-grid--reverse {
    flex-direction: column;
  }
  .page-register__text-block h3 {
    font-size: 24px;
  }
  .page-register__text-block p {
    font-size: 16px;
  }
  .page-register__image-block {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-register__section {
    padding: 40px 0;
  }
  .page-register__section-title {
    font-size: 28px;
  }
  .page-register__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-register__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__hero-image {
    margin-bottom: 20px;
    border-radius: 8px;
  }
  .page-register__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-register__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-register__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-register__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-register__features-grid,
  .page-register__steps-grid,
  .page-register__deposit-methods-grid,
  .page-register__bonus-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-register__feature-card,
  .page-register__step-card,
  .page-register__method-card,
  .page-register__bonus-card {
    padding: 25px;
    border-radius: 8px;
  }
  .page-register__feature-card img,
  .page-register__method-card img,
  .page-register__bonus-card img {
    border-radius: 6px;
    margin-bottom: 15px;
  }
  .page-register__feature-card .page-register__card-title,
  .page-register__method-card .page-register__card-title,
  .page-register__bonus-card .page-register__card-title {
    font-size: 20px;
  }
  .page-register__feature-card p,
  .page-register__method-card p,
  .page-register__bonus-card p {
    font-size: 15px;
  }
  .page-register__step-card .page-register__step-icon {
    width: 50px;
    height: 50px;
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-register__content-grid {
    gap: 30px;
  }
  .page-register__text-block h3 {
    font-size: 22px;
  }
  .page-register__text-block p {
    font-size: 15px;
  }
  .page-register__image-block img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
  }
  details.page-register__faq-item summary.page-register__faq-question {
    padding: 15px 20px;
  }
  .page-register__faq-qtext {
    font-size: 16px;
  }
  .page-register__faq-toggle {
    font-size: 24px;
    width: 25px;
    margin-left: 15px;
  }
  details.page-register__faq-item .page-register__faq-answer {
    padding: 0 20px 20px;
  }
  .page-register__faq-answer p {
    font-size: 15px;
  }
  .page-register__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__section,
  .page-register__card,
  .page-register__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-register__section-title {
    font-size: 24px;
  }
  .page-register__hero-image {
    margin-bottom: 15px;
  }
  .page-register__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-register__intro-text {
    font-size: 15px;
  }
  .page-register__cta-button {
    padding: 10px 25px;
    font-size: 15px;
  }
  .page-register__text-block h3 {
    font-size: 20px;
  }
  .page-register__text-block p {
    font-size: 14px;
  }
  .page-register__faq-qtext {
    font-size: 15px;
  }
  .page-register__faq-toggle {
    font-size: 20px;
    width: 20px;
  }
}