/* register.css - Đăng Ký page styles */
.page-register {
  color: #FFF6D6;
  background-color: #0A0A0A;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.page-register *, .page-register *::before, .page-register *::after {
  box-sizing: inherit;
}

/* Hero image */
.page-register__hero-image-wrap {
  width: 100%;
  padding: 10px 0 0;
}
.page-register__hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
}

/* Content area */
.page-register__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px;
}

/* Intro section */
.page-register__intro {
  text-align: center;
  margin-bottom: 28px;
}
.page-register__main-title {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #FFF6D6;
  line-height: 1.3;
  letter-spacing: 0.5px;
  margin: 0 0 12px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}
.page-register__intro-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #E6DCC3;
  max-width: 720px;
  margin: 0 auto 20px;
}

.page-register__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid #3A2A12;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}
.page-register__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 211, 107, 0.3);
}

/* Logo grid - 4 columns */
.page-register__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  justify-items: center;
  margin: 20px auto 30px;
  max-width: 1100px;
}

.page-register__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 250px;
  background: #111111;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #3A2A12;
}

.page-register__logo-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: contain;
  border-radius: 8px;
}

.page-register__logo-cta {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid #3A2A12;
  transition: opacity 0.2s;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}
.page-register__logo-cta:hover {
  opacity: 0.9;
}

/* 5th and 6th items centered in row 2 (Flatsome 4+2 layout) */
.page-register__logo-item:nth-child(5) {
  grid-column: 2;
}
.page-register__logo-item:nth-child(6) {
  grid-column: 3;
}

/* Guide section */
.page-register__guide-section {
  padding: 20px 0;
}
.page-register__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.page-register__guide-title {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  text-align: center;
  color: #FFF6D6;
  margin: 0 0 15px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}
.page-register__guide-subtitle {
  text-align: center;
  color: #E6DCC3;
  margin: 0 0 20px;
  font-size: 0.95rem;
}

.page-register__guide-content {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.page-register__guide-card {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 16px;
  padding: 16px;
  flex: 1 1 300px;
  max-width: 320px;
  text-align: center;
  transition: transform 0.2s;
}
.page-register__guide-card:hover {
  transform: translateY(-4px);
}

.page-register__guide-figure {
  margin: 0 0 15px;
  overflow: hidden;
  border-radius: 12px;
}
.page-register__guide-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
}

.page-register__card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFF6D6;
  margin: 0 0 8px;
}
.page-register__card-description {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #E6DCC3;
  margin: 0;
}

/* Responsive - tablet */
@media (max-width: 1024px) {
  .page-register__logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-register__logo-item:nth-child(5), .page-register__logo-item:nth-child(6) {
    grid-column: auto;
  }
  .page-register__guide-card {
    flex-basis: 270px;
  }
}

/* Responsive - mobile */
@media (max-width: 768px) {
  .page-register__hero-image {
    aspect-ratio: 16/9;
  }

  .page-register__content-area {
    padding: 15px 10px;
  }

  .page-register__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .page-register__logo-item:nth-child(5), .page-register__logo-item:nth-child(6) {
    grid-column: auto;
  }

  .page-register__logo-item {
    max-width: 200px;
    padding: 10px;
  }

  /* constraints for all images */
  .page-register img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* buttons */
  .page-register__cta-button, .page-register__logo-cta {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    width: 100%;
    text-align: center;
  }
}

/* min 200px content images */
.page-register__guide-figure img, .page-register__hero-image, .page-register__logo-image {
  min-width: 200px;
  min-height: 200px;
}