:root {
  --primary-color: #ff7e00;
  --secondary-color: #D9D9D9;
  --text-dark: #0f172a;
  --text-medium: #1e293b;
  --text-light: #475569;
  --text-white: #ffffff;
  --text-placeholder: #94a3b8;
  --border-color: #cbd5e1;
  --border-light: #e2e8f0;
  --bg-white: #ffffff;
  --bg-light-gray: #f8fafc;
  --bg-notice: #f9f5f1;
  --bg-notice-icon: #fae5d1;
}

.register-view {
  position: relative;
  height: 100%;
  max-width: 450px;
  margin: 0 auto;
  padding: 24px 20px 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;

  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #fff1e0 14.42%, #fff0e6 31.25%, #ffd2b5 46.15%, #fff1e9 62.02%, #fecaae 80.29%, #ffffff 100%);
  color: var(--text-dark);
}

@media (max-width: 375px) {
  .register-view {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.register-view .close_register_modal{
  position: fixed;
  top: 15px;
  right: 20px;
  width: 16px;
  height: 16px;
}

.register-view .step-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.register-view .step-tag {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 12px;
  line-height: 20px;
  font-weight: 400;
  white-space: nowrap;
}

.register-view .step-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--text-dark);
  margin: 0;
}

.register-view .card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 17px;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
}

.register-view .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
  width: 100%;
}

.register-view .can-down{
  background-color: #ff7e00 !important;
  border-color: #ff7e00 !important;
  color: #ffffff;
}

.register-view .btn--primary {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.register-view .btn--secondary {
  background-color: var(--secondary-color);
  color: var(--text-white);
  border: 1px solid var(--border-color);
}

/* CSS for section section:header */
.register-view .game-header {
  padding: 1px;
  border-radius: 16px;
  /* This might be for a gradient border effect, currently transparent */
}

.register-view .game-title {
  padding: 16px 20px;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  text-align: center;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

/* CSS for section section:registration */
.register-view .registration-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.register-view .form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.register-view .form-label {
  color: #334155;
  font-size: 12px;
  line-height: 16px;
}

.register-view .form-input {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-medium);
}

.register-view .form-input::placeholder {
  color: var(--text-placeholder);
}

.register-view .form-input--readonly {
  background-color: var(--bg-light-gray);
  color: var(--text-dark);
}

/* CSS for section section:download */
.register-view .download-buttons {
  display: flex;
  gap: 15px;
}

.register-view .download-buttons .btn {
  flex: 1;
}

.register-view .download-buttons .btn img {
  width: 16px;
  height: 16px;
}

.register-view .no-down {
  width: 100%;
  text-align: center;
  font-size: 14px;
  line-height: 19.5px;
  color: var(--text-dark);
}

/* CSS for section section:ios-guide */
.register-view .guide-steps-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.register-view .guide-step {
  display: flex;
  align-items: center;
  gap: 11px;
}

.register-view .guide-step:nth-child(odd) .guide-text {
  order: 1;
}

.register-view .guide-step:nth-child(even) {
  flex-direction: row-reverse;
}

.register-view .guide-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12.7px;
}

.register-view .guide-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 19.5px;
  color: var(--text-dark);
  margin: 0;
}

.register-view .guide-description {
  font-size: 14px;
  line-height: 16.5px;
  color: var(--text-light);
  margin: 0;
}

.register-view .guide-image-container {
  flex-shrink: 0;
  width: 166px;
  position: relative;
}

.register-view .guide-image {
  width: 100%;
  height: auto;
  display: block;
}

.register-view .guide-step--intro {
  flex-direction: row-reverse;
}

.register-view .guide-step--intro .guide-text {
  align-self: flex-start;
  padding-top: 100px;
}

.register-view .merged-image-1 {
  height: 327px;
}

.register-view .merged-image-1 .img-1 {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  filter: blur(2px);
}

.register-view .merged-image-1 .img-2 {
  position: absolute;
  width: 96px;
  height: 62px;
  top: 139.17px;
  left: 36px;
  border-radius: 5px;
}

.register-view .notice-box {
  background-color: var(--bg-notice);
  border-radius: 8px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.register-view .notice-icon-wrapper {
  background-color: var(--bg-notice-icon);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.register-view .notice-icon {
  width: 20px;
  height: 20px;
}

.register-view .notice-text {
  display: flex;
  flex-direction: column;
}

.register-view .notice-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  background: linear-gradient(147deg, #ffa13c 0%, #ff6b16 107.38%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.register-view .notice-description {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  color: var(--primary-color);
}

/* CSS for section section:footer */
.register-view .final-note {
  text-align: center;
}

.register-view .final-note p {
  color: var(--text-light);
  font-size: 12px;
  line-height: 16px;
  margin: 0;
}