/* dlkit-section：首页“APP下载与交易平台注册入口”区块（新文件，不影响 dlkit.css / dlkit-home.css）
   按钮只负责样式；点击后打开的弹出层由首页已加载的 dlkit-home.js / dlkit-home.css 提供。
   配色取自区块背景：金币橙金 + 深紫红。尺寸统一用 px，避免受主题根字号影响。
   按钮图标、光圈都用 CSS 画，不用图片，也不需要空标签（编辑器容易删掉空标签）。 */

.dlks-wrap {
  /* 标题和按钮之间的距离。区块整体高度和原来不一致时，只改这个数即可 */
  --dlks-gap: clamp(28px, 2.5vw + 22px, 52px);
  box-sizing: border-box;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  color: #fff;
  text-align: center;
}

.dlks-wrap .dlks-sub {
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: inherit;
  font-size: clamp(15px, 1vw + 8px, 20px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .01em;
  text-transform: none;
}

.dlks-wrap .dlks-title {
  margin: 12px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-family: inherit;
  font-size: clamp(28px, 4.2vw + 8px, 58px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
  text-align: center;
  text-transform: none;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
  text-wrap: balance; /* 换行时两行字数尽量均匀 */
}
.dlks-wrap .dlks-title::before,
.dlks-wrap .dlks-title::after { content: none; display: none; }

.dlks-wrap .dlks-actions {
  display: flex;
  justify-content: center;
  margin: var(--dlks-gap) 0 0;
  padding: 0;
}

/* ========== 按钮：橙金渐变胶囊 + 右侧深色圆形箭头 ========== */
button.dlks-btn,
a.dlks-btn {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  margin: 0;
  padding: 7px 7px 7px 30px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd25e 0%, #f7a92f 48%, #ef7d2c 100%);
  color: #2a0f24;
  font-family: inherit;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .03em;
  text-transform: none;
  text-decoration: none;
  text-shadow: none;
  white-space: nowrap;
  box-shadow: 0 12px 30px -10px rgba(239, 125, 44, .8), inset 0 1px 0 rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, filter .2s;
}
/* 右侧圆形箭头 */
button.dlks-btn::after,
a.dlks-btn::after {
  content: "";
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #2a0f24 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23ffc94a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
  transition: transform .2s;
}
/* 呼吸光圈 */
button.dlks-btn::before,
a.dlks-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  animation: dlks-pulse 2.6s ease-out infinite;
}
button.dlks-btn:hover,
a.dlks-btn:hover {
  color: #2a0f24;
  background: linear-gradient(135deg, #ffd25e 0%, #f7a92f 48%, #ef7d2c 100%);
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(239, 125, 44, .9), inset 0 1px 0 rgba(255, 255, 255, .5);
}
button.dlks-btn:hover::after,
a.dlks-btn:hover::after { transform: translateX(3px); }
button.dlks-btn:focus-visible,
a.dlks-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
@keyframes dlks-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 196, 74, .55); }
  70%  { box-shadow: 0 0 0 16px rgba(255, 196, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 196, 74, 0); }
}

/* 按钮下方的小字 */
.dlks-wrap .dlks-note {
  margin: 14px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, .72);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: .06em;
}

@media (max-width: 600px) {
  button.dlks-btn,
  a.dlks-btn { gap: 12px; padding-left: 24px; font-size: 17px; }
  button.dlks-btn::after,
  a.dlks-btn::after { width: 44px; height: 44px; background-size: 20px 20px; }
  .dlks-wrap .dlks-note { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  button.dlks-btn::before,
  a.dlks-btn::before { animation: none; }
  button.dlks-btn,
  button.dlks-btn::after { transition: none; }
}
