/* ================= 麒麟娱乐 · 首页专属样式 ================= */

.page-home {
  --home-radius: 26px;
  --home-radius-sm: 16px;
  --home-shadow: 0 32px 72px -40px rgba(3, 8, 20, .95);
  --home-shadow-soft: 0 18px 44px -28px rgba(3, 8, 20, .82);
}

/* ---------- 面包屑 ---------- */
.page-home .ql-breadcrumb {
  display: block;
  padding: 18px 0 10px;
  font-size: 13.5px;
  letter-spacing: .12em;
  color: var(--ql-stone);
}

/* ---------- HERO ---------- */
.page-home .home-hero {
  position: relative;
  padding: 4px 0 56px;
  overflow: clip;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: -22% -12% 18% 38%;
  background: radial-gradient(55% 60% at 70% 30%, var(--ql-glow-gold), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* 主块 */
.page-home .home-hero__main {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  border-radius: var(--home-radius);
  background: var(--ql-indigo-2);
  border: 1px solid var(--ql-line-soft);
  box-shadow: var(--home-shadow);
  padding: 30px 22px 28px;
  display: flex;
  align-items: flex-end;
  transition: transform .45s var(--ql-ease), box-shadow .45s var(--ql-ease);
}

.page-home .home-hero__main:hover {
  transform: translateY(-3px);
  box-shadow: 0 40px 84px -42px rgba(3, 8, 20, 1);
}

.page-home .home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
  filter: saturate(.9) contrast(1.05);
}

.page-home .home-hero__main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(155deg, rgba(14, 23, 48, .14) 0%, rgba(14, 23, 48, .82) 55%, rgba(10, 18, 38, .97) 100%);
}

.page-home .home-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.page-home .home-hero__title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  font-family: var(--ql-font-display);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: .01em;
}

.page-home .home-hero__title-a {
  font-size: clamp(28px, 5.4vw, 42px);
  color: var(--ql-paper);
}

.page-home .home-hero__title-b {
  font-size: clamp(36px, 8vw, 62px);
  color: var(--ql-gold-light);
  background: linear-gradient(100deg, var(--ql-gold-light) 0%, var(--ql-gold) 48%, var(--ql-ember) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: .1em;
}

.page-home .home-hero__lead {
  margin: 0;
  max-width: 48ch;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ql-paper);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-hero__enter {
  position: relative;
  overflow: hidden;
}

.page-home .home-hero__enter::after {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: -70%;
  width: 55%;
  background: linear-gradient(100deg, transparent, rgba(255, 253, 247, .7), transparent);
  transform: skewX(-18deg);
  transition: left .75s var(--ql-ease);
  pointer-events: none;
}

.page-home .home-hero__enter:hover::after,
.page-home .home-hero__enter:focus-visible::after {
  left: 135%;
}

.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 2px 0 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid var(--ql-line);
}

.page-home .home-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .home-hero__stats .ql-num {
  font-size: 20px;
  letter-spacing: .02em;
  color: var(--ql-gold);
}

.page-home .home-hero__stats li span:last-child {
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--ql-stone);
}

/* 节奏卡 */
.page-home .home-hero__rhythm {
  position: relative;
  overflow: hidden;
  border-radius: var(--home-radius);
  padding: 24px 22px 0;
  background: linear-gradient(180deg, var(--ql-indigo-2), var(--ql-indigo));
  border: 1px solid var(--ql-line-soft);
  box-shadow: var(--home-shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .45s var(--ql-ease), box-shadow .45s var(--ql-ease);
}

.page-home .home-hero__rhythm:hover {
  transform: translateY(-4px);
  box-shadow: var(--home-shadow);
}

.page-home .home-hero__rhythm-title {
  margin: 0;
  font-family: var(--ql-font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.35;
  color: var(--ql-paper);
}

.page-home .home-hero__rhythm .ql-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ql-stone);
}

.page-home .home-hero__rhythm .ql-btn {
  align-self: flex-start;
}

.page-home .home-hero__device {
  margin: auto -22px 0;
  overflow: hidden;
  border-top: 1px solid var(--ql-line-soft);
}

.page-home .home-hero__device img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center 18%;
  opacity: .82;
}

/* 帮助卡 */
.page-home .home-hero__help {
  border-radius: var(--home-radius);
  padding: 22px 20px;
  background: rgba(71, 179, 156, .08);
  border: 1px solid rgba(71, 179, 156, .3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background-color .35s var(--ql-ease), border-color .35s var(--ql-ease);
}

.page-home .home-hero__help:hover {
  background: rgba(71, 179, 156, .13);
  border-color: rgba(71, 179, 156, .5);
}

.page-home .home-hero__help .ql-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ql-paper);
}

.page-home .home-hero__help-link {
  align-self: flex-start;
  color: var(--ql-jade);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px dashed rgba(71, 179, 156, .55);
  transition: color .3s var(--ql-ease), border-color .3s var(--ql-ease);
}

.page-home .home-hero__help-link:hover,
.page-home .home-hero__help-link:focus-visible {
  color: var(--ql-gold-light);
  border-bottom-color: var(--ql-line-gold);
}

/* ---------- 改版亮点 ---------- */
.page-home .home-shift__head {
  max-width: 62ch;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 34px;
}

.page-home .home-shift__head .ql-lead {
  margin: 0;
}

.page-home .home-shift__tabs {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.page-home .home-shift__tabs .ql-tabs__list {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: var(--ql-radius-pill);
  background: var(--ql-indigo-2);
  border: 1px solid var(--ql-line-soft);
  width: fit-content;
}

.page-home .home-shift__tab {
  border: 0;
  cursor: pointer;
  padding: 10px 26px;
  border-radius: var(--ql-radius-pill);
  font-family: var(--ql-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ql-stone);
  background: transparent;
  transition: background-color .3s var(--ql-ease), color .3s var(--ql-ease);
}

.page-home .home-shift__tab[aria-selected="true"] {
  background: linear-gradient(135deg, var(--ql-gold-light), var(--ql-gold));
  color: var(--ql-deep);
}

.page-home .home-shift__tab:hover:not([aria-selected="true"]) {
  color: var(--ql-paper);
}

.page-home .home-shift__panel {
  display: grid;
  gap: 22px;
  padding: 26px 22px;
  border-radius: var(--home-radius);
  background: var(--ql-indigo-2);
  border: 1px solid var(--ql-line-soft);
  box-shadow: var(--home-shadow-soft);
}

.page-home .home-shift__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-shift__steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 18px;
  border-radius: var(--home-radius-sm);
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--ql-line-soft);
  color: var(--ql-paper);
  font-size: 15.5px;
  line-height: 1.6;
}

.page-home .home-shift__steps--short li {
  background: rgba(231, 166, 60, .1);
  border-color: var(--ql-line-gold);
}

.page-home .home-shift__steps .ql-num {
  flex: 0 0 auto;
  min-width: 2.1em;
  color: var(--ql-gold);
  font-size: 14px;
  letter-spacing: .06em;
}

.page-home .home-shift__steps--short .ql-num {
  color: var(--ql-gold-light);
}

.page-home .home-shift__note {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ql-stone);
}

/* ---------- 资料库节奏 ---------- */
.page-home .home-rhythm__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home .home-rhythm__figure {
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid var(--ql-line-soft);
  background: var(--ql-indigo-2);
}

.page-home .home-rhythm__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-rhythm__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .home-rhythm__copy .ql-text {
  margin: 0;
}

.page-home .home-rhythm__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 4px 0 0;
  padding: 18px 0;
  border-top: 1px solid var(--ql-line-soft);
  border-bottom: 1px solid var(--ql-line-soft);
}

.page-home .home-rhythm__facts div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .home-rhythm__facts dt {
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--ql-stone);
}

.page-home .home-rhythm__facts dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--ql-paper);
}

.page-home .home-rhythm__facts .ql-num {
  font-size: 24px;
  color: var(--ql-gold);
  letter-spacing: .02em;
}

.page-home .home-rhythm__copy .ql-btn {
  align-self: flex-start;
}

/* ---------- 常用入口区 ---------- */
.page-home .home-entries {
  position: relative;
  overflow: clip;
}

.page-home .home-entries__bg {
  position: absolute;
  inset: -8% -10% auto;
  z-index: 0;
  opacity: .18;
  pointer-events: none;
}

.page-home .home-entries__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-entries__inner {
  position: relative;
  z-index: 1;
}

.page-home .home-entries__head {
  max-width: 62ch;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.page-home .home-entries__head .ql-lead {
  margin: 0;
}

.page-home .home-entries__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .home-entries__item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 4px;
  align-items: center;
  padding: 16px 18px;
  border-radius: var(--home-radius-sm);
  background: var(--ql-indigo-2);
  border: 1px solid var(--ql-line-soft);
  transition: transform .35s var(--ql-ease), border-color .35s var(--ql-ease), box-shadow .35s var(--ql-ease);
}

.page-home .home-entries__item:hover {
  transform: translateY(-3px);
  border-color: var(--ql-line-gold);
  box-shadow: var(--home-shadow-soft);
}

.page-home .home-entries__item .ql-num {
  grid-row: 1 / 3;
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--ql-gold);
}

.page-home .home-entries__name {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ql-paper);
}

.page-home .home-entries__desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ql-stone);
}

.page-home .home-entries__tip {
  margin: 22px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ql-stone);
}

/* ---------- 帮助提示（宣纸亮页） ---------- */
.page-home .home-help__inner {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
}

.page-home .home-help__copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 60ch;
}

.page-home .home-help__copy .ql-lead {
  margin: 0;
}

.page-home .home-help__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 服务与联系 ---------- */
.page-home .home-contact__head {
  max-width: 62ch;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.page-home .home-contact__head .ql-lead {
  margin: 0;
}

.page-home .home-contact__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .home-contact__item {
  padding: 20px 20px;
  border-radius: var(--home-radius-sm);
  background: var(--ql-indigo-2);
  border: 1px solid var(--ql-line-soft);
}

.page-home .home-contact__label {
  margin: 0 0 8px;
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--ql-stone);
}

.page-home .home-contact__value {
  margin: 0;
  font-family: var(--ql-font-mono);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ql-paper);
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  word-break: break-word;
}

.page-home button.home-contact__value {
  cursor: pointer;
  border-bottom: 1px dashed var(--ql-line-gold);
  transition: color .3s var(--ql-ease), border-color .3s var(--ql-ease);
}

.page-home button.home-contact__value:hover,
.page-home button.home-contact__value:focus-visible {
  color: var(--ql-gold-light);
  border-bottom-color: var(--ql-gold);
}

.page-home .home-contact__foot {
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--ql-line-soft);
  font-size: 13.5px;
  letter-spacing: .06em;
  color: var(--ql-stone);
}

/* ---------- 移动端底栏 ---------- */
.page-home .home-dock {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.page-home .home-dock__btn {
  pointer-events: auto;
  width: 100%;
  max-width: 480px;
  justify-content: center;
  box-shadow: 0 18px 40px -18px rgba(231, 166, 60, .6);
}

/* ================= 断点 ================= */

@media (min-width: 640px) {
  .page-home .home-entries__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-contact__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-hero__device img {
    height: 180px;
  }
}

@media (min-width: 760px) {
  .page-home .home-shift__panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    padding: 34px 34px;
  }

  .page-home .home-shift__steps {
    gap: 14px;
  }

  .page-home .home-rhythm__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 40px;
  }

  .page-home .home-help__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }

  .page-home .home-contact__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .home-hero {
    padding: 10px 0 88px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 22px;
  }

  .page-home .home-hero__main {
    grid-column: 1 / 8;
    grid-row: 1 / 3;
    min-height: 520px;
    padding: 44px 40px 38px;
  }

  .page-home .home-hero__rhythm {
    grid-column: 8 / 12;
    grid-row: 1 / 2;
    padding: 26px 24px 0;
  }

  .page-home .home-hero__help {
    grid-column: 9 / 12;
    grid-row: 2 / 3;
    padding: 26px 24px;
  }

  .page-home .home-hero__device {
    margin: auto -24px 0;
  }

  .page-home .home-hero__device img {
    height: 200px;
  }

  .page-home .home-entries__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .home-dock {
    display: none;
  }
}

@media (min-width: 1080px) {
  .page-home .home-hero__main {
    min-height: 560px;
    padding: 52px 52px 44px;
  }

  .page-home .home-hero__lead {
    font-size: 17.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__main,
  .page-home .home-hero__rhythm,
  .page-home .home-hero__help,
  .page-home .home-entries__item {
    transition: none;
  }

  .page-home .home-hero__main:hover,
  .page-home .home-hero__rhythm:hover,
  .page-home .home-entries__item:hover {
    transform: none;
  }

  .page-home .home-hero__enter::after {
    display: none;
  }
}
```
