@import "./tokens.scss";

.asset-page {
  background: #191e32;
  color: $asset-text-main;
}

.section-label {
  margin: 0 0 20rpx;
  font-size: 36rpx;
  font-weight: 600;
  color: $asset-text-main;
}

.section-subtitle {
  margin-top: 8rpx;
  font-size: 24rpx;
  line-height: 1.6;
  color: $asset-text-muted;
}

.glass-panel {
  border: 1px solid rgba(143, 167, 207, 0.16);
  border-radius: 16rpx;
  background: linear-gradient(
    180deg,
    rgba(54, 62, 96, 0.94),
    rgba(39, 50, 84, 0.92)
  );
  box-shadow: $asset-shadow;
}

.paper-panel {
  border: 1px solid rgba(149, 162, 220, 0.16);
  border-radius: 16rpx;
  background: linear-gradient(
    180deg,
    rgba(54, 62, 96, 0.94),
    rgba(39, 50, 84, 0.92)
  );
  box-shadow: $asset-shadow;
  color: $asset-text-main;
}

.panel-block {
  padding: 20rpx 18rpx;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  margin: 20rpx 0 0;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 12rpx 18rpx;
  margin: 0 16rpx 16rpx 0;
  border-radius: 999rpx;
  background: rgba(255, 255, 255, 0.08);
  font-size: 22rpx;
  color: $asset-text-main;
}

.hero-chip__dot {
  width: 12rpx;
  height: 12rpx;
  margin-right: 12rpx;
  border-radius: 50%;
  background: $asset-accent;
  box-shadow: 0 0 18rpx rgba(76, 201, 255, 0.6);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 20rpx;
}

.summary-card {
  padding: 24rpx;
  border-radius: 28rpx;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(143, 167, 207, 0.12);
}

.summary-card__title {
  font-size: 24rpx;
  color: $asset-text-muted;
}

.summary-card__value {
  display: flex;
  align-items: baseline;
  margin-top: 14rpx;
  font-size: 44rpx;
  font-weight: 700;
  line-height: 1;
}

.summary-card__unit {
  margin-left: 10rpx;
  font-size: 24rpx;
  font-weight: 500;
  color: $asset-text-subtle;
}

.summary-card__desc {
  margin-top: 14rpx;
  font-size: 22rpx;
  line-height: 1.5;
  color: $asset-text-subtle;
}

.feature-list {
  margin-top: 8rpx;
}

.feature-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24rpx 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-cell:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.feature-cell__main {
  flex: 1;
  min-width: 0;
}

.feature-cell__title {
  font-size: 30rpx;
  font-weight: 600;
  color: $asset-text-main;
}

.feature-cell__desc {
  margin-top: 8rpx;
  font-size: 22rpx;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

.feature-cell__arrow {
  margin-left: 20rpx;
  font-size: 36rpx;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
}

.action-row {
  display: flex;
  align-items: center;
}

.tab-row {
  display: flex;
  padding: 6rpx;
  border-radius: 999rpx;
  background: rgba(17, 27, 54, 0.54);
}

.tab-chip {
  flex: 1;
  padding: 16rpx 0;
  border-radius: 999rpx;
  text-align: center;
  font-size: 24rpx;
  color: rgba(255, 255, 255, 0.64);
}

.tab-chip.is-active {
  background: linear-gradient(135deg, #7e6cff 0%, #6b56f6 100%);
  color: #ffffff;
  box-shadow: 0 14rpx 22rpx rgba(93, 79, 225, 0.22);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 18rpx;
}

.info-box {
  padding: 20rpx;
  border-radius: 14rpx;
  background: rgba(29, 39, 68, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.info-box__label {
  font-size: 22rpx;
  color: $asset-text-subtle;
}

.info-box__value {
  margin-top: 10rpx;
  font-size: 34rpx;
  font-weight: 700;
  color: $asset-text-main;
}

.field-card {
  padding: 18rpx;
  border-radius: 14rpx;
  background: rgba(29, 39, 68, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.field-label {
  font-size: 24rpx;
  color: rgba(255, 255, 255, 0.62);
}

.field-value {
  font-size: 28rpx;
  font-weight: 600;
  color: $asset-text-main;
}

.field-helper {
  margin-top: 10rpx;
  font-size: 22rpx;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.text-input {
  width: 100%;
  margin-top: 16rpx;
  padding: 20rpx 22rpx;
  border-radius: 14rpx;
  background: rgba(18, 25, 48, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 30rpx;
  color: $asset-text-main;
}

.chip-selector {
  display: flex;
  flex-wrap: wrap;
  margin-top: 16rpx;
}

.chip-selector__item {
  padding: 14rpx 24rpx;
  margin: 0 16rpx 16rpx 0;
  border-radius: 999rpx;
  background: rgba(18, 25, 48, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 24rpx;
  color: rgba(255, 255, 255, 0.64);
}

.chip-selector__item.is-active {
  background: rgba(126, 108, 255, 0.22);
  border-color: rgba(126, 108, 255, 0.28);
  color: $asset-text-main;
}

.hint-list {
  margin: 8rpx 0 0;
}

.hint-item {
  display: flex;
  margin-top: 14rpx;
  font-size: 22rpx;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
}

.hint-item__index {
  margin-right: 10rpx;
  color: $asset-accent-strong;
  font-weight: 600;
}

.button-row {
  display: flex;
  align-items: center;
}

.button-row .secondary-button {
  margin-right: 20rpx;
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 84rpx;
  border: 0;
  border-radius: 999rpx;
  background: linear-gradient(135deg, #7e6cff 0%, #6b56f6 100%);
  box-shadow: 0 14rpx 24rpx rgba(93, 79, 225, 0.22);
  font-size: 30rpx;
  font-weight: 700;
  color: #ffffff;
}

.secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 84rpx;
  border-radius: 999rpx;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  font-size: 30rpx;
  font-weight: 600;
  color: $asset-text-main;
}

.button-link {
  font-size: 24rpx;
  font-weight: 600;
  color: rgba(221, 230, 255, 0.86);
}

.meta-pair {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18rpx;
  font-size: 24rpx;
}

.meta-pair__label {
  color: rgba(255, 255, 255, 0.62);
}

.meta-pair__value {
  color: $asset-text-main;
  font-weight: 600;
}

.danger-text {
  color: $asset-danger;
}

.success-text {
  color: $asset-success;
}

.warning-text {
  color: $asset-warning;
}

.wallet-card {
  padding: 20rpx 18rpx;
  border-radius: 16rpx;
  background: linear-gradient(
    180deg,
    rgba(54, 62, 96, 0.94),
    rgba(39, 50, 84, 0.92)
  );
  border: 1px solid rgba(149, 162, 220, 0.16);
}

.wallet-name {
  font-size: 28rpx;
  font-weight: 700;
  color: $asset-text-main;
}

.wallet-address {
  margin-top: 14rpx;
  font-size: 24rpx;
  line-height: 1.7;
  word-break: break-all;
  color: $asset-text-muted;
}

.wallet-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20rpx;
}

.wallet-badge {
  padding: 8rpx 16rpx;
  border-radius: 999rpx;
  background: rgba(126, 108, 255, 0.18);
  font-size: 20rpx;
  color: #dfe7ff;
}

.empty-panel {
  padding: 36rpx 28rpx;
  border: 1px solid rgba(149, 162, 220, 0.16);
  border-radius: 16rpx;
  background: linear-gradient(
    180deg,
    rgba(54, 62, 96, 0.94),
    rgba(39, 50, 84, 0.92)
  );
  text-align: center;
}

.empty-title {
  font-size: 30rpx;
  font-weight: 700;
  color: $asset-text-main;
}

.empty-desc {
  margin-top: 14rpx;
  font-size: 24rpx;
  line-height: 1.7;
  color: $asset-text-muted;
}

.page-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12rpx 0 20rpx;
}

.page-hero__mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110rpx;
  height: 110rpx;
  border-radius: 50%;
  background: linear-gradient(180deg, #1f4a72 0%, #1a3464 100%);
}

.page-hero__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.page-hero__ring--outer {
  width: 110rpx;
  height: 110rpx;
  border: 4rpx solid rgba(63, 220, 255, 0.9);
  box-shadow: 0 0 0 6rpx rgba(80, 225, 255, 0.08);
}

.page-hero__ring--inner {
  width: 88rpx;
  height: 88rpx;
  border: 3rpx solid rgba(98, 231, 255, 0.42);
}

.page-hero__text {
  position: relative;
  z-index: 1;
  font-size: 52rpx;
  font-weight: 800;
  font-style: italic;
  color: #42d9ff;
}

.page-hero__value {
  margin-top: 16rpx;
  font-size: 24rpx;
  font-weight: 700;
  color: $asset-text-main;
}

.page-hero__desc {
  margin-top: 8rpx;
  font-size: 20rpx;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
  text-align: center;
}

.submit-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24rpx 0 8rpx;
}

.submit-wrap .primary-button {
  width: 360rpx;
}

.record-link {
  margin-top: 18rpx;
  font-size: 22rpx;
  text-decoration: underline;
  color: rgba(222, 232, 255, 0.86);
}
