/* Đăng ký page - theme Black Gold */
.page-register {
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.page-register img {
  max-width: 100%;
  height: auto;
}

.page-register__hero-section {
  padding: 10px 0 0 0;
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
  display: block;
}

.page-register__hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.page-register__hero-title {
  color: #FFF6D6;
  font-weight: 700;
  line-height: 1.2;
  margin: 24px auto;
  max-width: 800px;
  letter-spacing: 0.02em;
}

.page-register__hero-description {
  color: #FFF6D6;
  font-size: 1.1em;
  max-width: 700px;
  margin: 0 auto 24px auto;
  line-height: 1.6;
}

.page-register__btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background-image: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 40px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-register__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #FFD36B;
}

.page-register__btn-primary:focus-visible {
  outline: 3px solid #FFD36B;
  outline-offset: 2px;
}

.page-register__intro-section,
.page-register__benefits-section,
.page-register__guide-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
}

.page-register__section-title {
  color: #F2C14E;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-shadow: 0 0 30px rgba(242, 193, 78, 0.3);
}

.page-register__section-description {
  color: #FFF6D6;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.page-register__benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.page-register__benefit-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.3s ease;
}

.page-register__benefit-item:hover {
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.15);
}

.page-register__benefit-title {
  color: #FFD36B;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-register__benefit-text {
  color: #FFF6D6;
  line-height: 1.6;
}

.page-register__intro-text {
  color: #FFF6D6;
  line-height: 1.8;
}

.page-register__guide-section {
  display: block;
}

.page-register__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}

.page-register__guide-step {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 24px;
}

.page-register__guide-step-title {
  color: #F2C14E;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-register__guide-step-content {
  color: #FFF6D6;
  line-height: 1.8;
}

.page-register__guide-cta {
  text-align: center;
  margin-top: 24px;
}

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

.page-register__logo-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  justify-items: center;
  align-items: start;
}

.page-register__logo-item {
  width: 100%;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.page-register__logo-item img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #3A2A12;
  background-color: #111111;
  padding: 8px;
}

.page-register__logo-cta {
  padding: 10px 22px;
  border-radius: 999px;
  background-image: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-register__logo-cta:hover {
  background-image: linear-gradient(180deg, #F2C14E 0%, #FFD36B 100%);
}

.page-register__logo-item:nth-child(5) {
  grid-column: 2;
}

.page-register__logo-item:nth-child(6) {
  grid-column: 3;
}

@media (max-width: 768px) {
  .page-register__hero-image img {
    aspect-ratio: 2 / 1;
  }

  .page-register__hero-title {
    font-size: 1.75rem;
  }

  .page-register__section-title {
    font-size: 1.6rem;
  }

  .page-register__benefits-grid {
    grid-template-columns: 1fr;
  }

  .page-register__benefit-item {
    padding: 16px;
  }

  .page-register__logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-register__logo-item:nth-child(5),
  .page-register__logo-item:nth-child(6) {
    grid-column: auto;
  }

  .page-register__hero-actions {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
  }

  .page-register__btn-primary {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    display: block;
  }

  .page-register__section-description,
  .page-register__intro-text
  {
    font-size: 1rem;
  }
  .page-register img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-register__logo-grid {
    grid-template-columns: 1fr;
  }

  .page-register__logo-cta {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-register__hero-title {
    font-size: 1.5rem;
  }
}