/* ==========================================================================
   财神优选 · 星港大厅  app.css
   ========================================================================== */

/* ================= 顶部玻璃导航 ================= */
.gw-head {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--gw-line);
  background-color: rgba(7, 11, 22, .72);
  backdrop-filter: blur(14px) saturate(1.2);
}

.gw-head__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: var(--gw-max);
  margin: 0 auto;
  padding: 12px clamp(16px, 3vw, 34px);
}

.gw-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.gw-brand__logo {
  width: 132px;
  height: auto;
}

.gw-brand__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  padding-left: 13px;
  border-left: 1px solid var(--gw-line);
}

.gw-brand__claim {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--gw-ink);
}

.gw-brand__sub {
  font-family: var(--gw-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gw-muted);
}

.gw-search {
  display: flex;
  align-items: center;
  flex: 1 1 380px;
  max-width: 520px;
  height: 44px;
  padding: 0 4px 0 14px;
  border: 1px solid var(--gw-line);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, .04);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.gw-search:focus-within {
  border-color: rgba(53, 214, 208, .6);
  background-color: rgba(53, 214, 208, .06);
  box-shadow: 0 0 0 4px rgba(53, 214, 208, .12);
}

.gw-search__icon {
  display: flex;
  align-items: center;
  color: var(--gw-muted);
}

.gw-search__icon svg {
  width: 16px;
  height: 16px;
}

.gw-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--gw-ink);
  font-size: 14px;
  outline: none;
}

.gw-search input::placeholder {
  color: #6c7794;
}

.gw-search button {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  background-image: linear-gradient(120deg, #10b3ba 0%, #3a78ef 54%, #7a4cf0 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 8px 18px -12px rgba(58, 120, 239, .9);
}

.gw-head__stats {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  font-size: 12px;
  color: var(--gw-muted);
  white-space: nowrap;
}

.gw-head__stats strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--gw-ink);
  font-variant-numeric: tabular-nums;
}

/* ================= Hero ================= */
.gw-main {
  display: block;
}

.gw-hero {
  position: relative;
  max-width: var(--gw-max);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 64px) clamp(16px, 3vw, 34px) 22px;
}

.gw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 13px 5px 10px;
  border: 1px solid var(--gw-line);
  border-radius: 999px;
  background-color: var(--gw-glass);
  font-family: var(--gw-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gw-ink-2);
}

.gw-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--gw-cyan);
  box-shadow: 0 0 0 4px rgba(53, 214, 208, .16);
}

.gw-title {
  margin-top: 20px;
  font-size: clamp(28px, 4.2vw, 52px);
  letter-spacing: -.02em;
  animation: gw-rise .6s ease both;
}

.gw-title__accent {
  display: inline;
  background-image: var(--gw-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gw-lead {
  max-width: 620px;
  margin-top: 14px;
  font-size: clamp(13.5px, 1.2vw, 15.5px);
  color: var(--gw-muted);
  animation: gw-rise .6s .06s ease both;
}

/* 永久域名提示 */
.gw-domain {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-top: 16px;
  padding: 7px 15px 7px 12px;
  border: 1px solid rgba(255, 198, 108, .34);
  border-radius: 999px;
  background-image: linear-gradient(100deg, rgba(255, 198, 108, .13), rgba(124, 92, 255, .1));
  font-size: 13px;
  line-height: 1.4;
  color: #ffe8c4;
  animation: gw-rise .6s .1s ease both;
}

.gw-domain__label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background-color: #ffc66c;
  box-shadow: 0 0 0 3px rgba(255, 198, 108, .16);
  vertical-align: 1px;
}

.gw-domain__name {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #fff;
}

/* 客服胶囊 */
.gw-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  animation: gw-rise .6s .12s ease both;
}

.gw-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 208px;
  padding: 8px 10px 8px 8px;
  border: 1px solid var(--gw-line);
  border-radius: 999px;
  background-color: var(--gw-glass);
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.gw-contact:hover {
  border-color: rgba(53, 214, 208, .38);
  background-color: rgba(53, 214, 208, .07);
  transform: translateY(-1px);
}

.gw-contact__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background-color: rgba(255, 255, 255, .06);
}

.gw-contact__body {
  min-width: 0;
  flex: 1;
}

.gw-contact__label {
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--gw-muted);
  text-transform: uppercase;
}

.gw-contact__value {
  font-family: var(--gw-mono);
  font-size: 13.5px;
  color: var(--gw-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gw-contact__copy {
  flex: 0 0 auto;
  padding: 5px 11px;
  border: 1px solid var(--gw-line-2);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--gw-ink-2);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.gw-contact__copy:hover,
.gw-contact__copy.is-done {
  border-color: transparent;
  background-image: var(--gw-grad);
  color: #041018;
}

/* ================= 公告跑马灯 ================= */
.gw-notice {
  max-width: var(--gw-max);
  margin: 6px auto 0;
  padding: 0 clamp(16px, 3vw, 34px);
}

.gw-notice__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(255, 196, 107, .28);
  border-radius: 12px;
  background-image: linear-gradient(100deg, rgba(255, 196, 107, .12), rgba(255, 196, 107, .03) 46%, rgba(124, 92, 255, .1));
}

.gw-notice__badge {
  flex: 0 0 auto;
  padding: 3px 11px;
  border-radius: 999px;
  background-color: var(--gw-amber);
  color: #2a1a04;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
}

.gw-ticker {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}

.gw-ticker__track {
  display: flex;
  width: max-content;
  gap: 34px;
  animation: gw-scroll 34s linear infinite;
}

.gw-ticker:hover .gw-ticker__track {
  animation-play-state: paused;
}

.gw-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #ffe6c0;
  white-space: nowrap;
}

.gw-ticker__item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: rgba(255, 196, 107, .7);
}

@keyframes gw-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.gw-notice__tip {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding-left: 4px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--gw-muted);
}

.gw-notice__tip::before {
  content: "!";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  background-color: rgba(124, 92, 255, .2);
  color: #c3b4ff;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

/* ================= 分类 chips ================= */
.gw-chips {
  position: sticky;
  top: 69px;
  z-index: 30;
  margin-top: 22px;
  border-top: 1px solid var(--gw-line);
  border-bottom: 1px solid var(--gw-line);
  background-color: rgba(7, 11, 22, .78);
  backdrop-filter: blur(12px);
}

.gw-chips__inner {
  display: flex;
  gap: 8px;
  max-width: var(--gw-max);
  margin: 0 auto;
  padding: 11px clamp(16px, 3vw, 34px);
  overflow-x: auto;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 42px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 42px), transparent);
}

.gw-chips__inner::-webkit-scrollbar {
  display: none;
}

.gw-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  height: 36px;
  padding: 0 15px;
  border: 1px solid var(--gw-line);
  border-radius: 999px;
  background-color: var(--gw-glass);
  color: var(--gw-ink-2);
  font-size: 13px;
  letter-spacing: .02em;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.gw-chip:hover {
  border-color: var(--gw-line-2);
  color: var(--gw-ink);
  transform: translateY(-1px);
}

.gw-chip__n {
  font-family: var(--gw-mono);
  font-size: 10.5px;
  color: var(--gw-muted);
}

.gw-chip.is-active {
  border-color: transparent;
  background-image: var(--gw-grad);
  color: #041018;
  font-weight: 700;
  box-shadow: 0 10px 26px -16px rgba(53, 214, 208, .9);
}

.gw-chip.is-active .gw-chip__n {
  color: rgba(4, 16, 24, .62);
}

/* ================= 平台网格 ================= */
.gw-panel {
  max-width: var(--gw-max);
  margin: 0 auto;
  padding: 28px clamp(16px, 3vw, 34px) 56px;
}

.gw-sectionhead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 18px;
  margin-bottom: 18px;
}

.gw-sectionhead__title {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: clamp(19px, 2vw, 24px);
}

.gw-sectionhead__title::before {
  content: "";
  width: 6px;
  height: 20px;
  border-radius: 3px;
  background-image: var(--gw-grad);
}

.gw-sectionhead__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  color: var(--gw-muted);
}

.gw-sectionhead__meta strong {
  color: var(--gw-cyan);
  font-variant-numeric: tabular-nums;
}

.gw-reset {
  padding: 0;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  color: #9fb4ff;
}

.gw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 14px;
}

.gw-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 22px 16px 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--gw-radius-lg);
  background-color: rgba(255, 255, 255, .055);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  box-shadow: var(--gw-shadow), inset 0 1px 0 rgba(255, 255, 255, .07);
  text-align: center;
  transition: transform .22s ease, border-color .22s ease, box-shadow .26s ease, background-color .22s ease;
}

.gw-card:hover {
  transform: translateY(-5px);
  border-color: rgba(53, 214, 208, .5);
  background-color: rgba(53, 214, 208, .07);
  box-shadow:
    0 28px 54px -26px rgba(53, 214, 208, .55),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}

.gw-card__no {
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: var(--gw-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .26);
}

.gw-card__tag {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 2px 8px;
  border: 1px solid rgba(124, 92, 255, .4);
  border-radius: 999px;
  background-color: rgba(124, 92, 255, .14);
  font-size: 10px;
  letter-spacing: .04em;
  color: #cabfff;
}

.gw-card__logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background-color: rgba(9, 15, 30, .8);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .1),
    0 12px 26px -18px rgba(0, 0, 0, .95);
  overflow: hidden;
  transition: transform .26s ease, box-shadow .26s ease;
}

.gw-card__logo img {
  position: relative;
  z-index: 1;
  width: 84px;
  height: 84px;
  object-fit: cover;
}

.gw-card:hover .gw-card__logo {
  transform: scale(1.06);
  box-shadow:
    inset 0 0 0 1px rgba(53, 214, 208, .45),
    0 16px 30px -16px rgba(53, 214, 208, .55);
}

.gw-card__logo--text {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 700;
  color: rgba(255, 255, 255, .6);
}

.gw-card__name {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--gw-ink);
  letter-spacing: .01em;
}

.gw-card__host {
  margin-top: -6px;
  max-width: 100%;
  font-family: var(--gw-mono);
  font-size: 10.5px;
  color: var(--gw-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gw-card__acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
}

.gw-card__acts .gw-btn {
  height: 38px;
  padding: 0 8px;
  border-radius: 10px;
  font-size: 12.5px;
}

/* ================= 空态 ================= */
.gw-empty {
  padding: 64px 20px;
  border: 1px dashed var(--gw-line-2);
  border-radius: var(--gw-radius-lg);
  background-color: rgba(255, 255, 255, .02);
  text-align: center;
}

.gw-empty__mark {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background-image: var(--gw-grad-soft);
  color: var(--gw-ink-2);
}

.gw-empty__mark svg {
  width: 24px;
  height: 24px;
}

.gw-empty__text {
  margin: 12px 0 16px;
  font-size: 13.5px;
  color: var(--gw-muted);
}

/* ================= 页脚 ================= */
.gw-foot {
  border-top: 1px solid var(--gw-line);
  background-color: rgba(7, 11, 22, .6);
}

.gw-foot__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  max-width: var(--gw-max);
  margin: 0 auto;
  padding: 24px clamp(16px, 3vw, 34px) 30px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--gw-muted);
}

.gw-foot__inner strong {
  color: var(--gw-ink-2);
  font-weight: 600;
}

/* ================= 响应式 ================= */
@media (max-width: 1080px) {
  .gw-brand__txt {
    display: none;
  }

  .gw-grid {
    grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  }
}

@media (max-width: 860px) {
  .gw-head__inner {
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 10px 16px 12px;
  }

  .gw-brand__logo {
    width: 118px;
  }

  .gw-search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
  }

  .gw-head__stats {
    gap: 14px;
  }

  .gw-chips {
    top: 0;
    position: relative;
    margin-top: 16px;
  }

  .gw-hero {
    padding-top: 26px;
  }

  .gw-contact {
    min-width: 0;
    flex: 1 1 210px;
  }
}

@media (max-width: 640px) {
  .gw-title {
    font-size: 21px;
    line-height: 1.36;
  }

  .gw-lead {
    font-size: 13px;
  }

  .gw-contacts {
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
  }

  .gw-contact {
    flex: 0 0 auto;
    min-width: 0;
    gap: 9px;
    padding: 6px 8px 6px 7px;
    border-radius: 12px;
  }

  .gw-contact__icon {
    width: 32px;
    height: 32px;
  }

  .gw-contact__label {
    font-size: 10px;
  }

  .gw-contact__value {
    font-size: 13px;
  }

  .gw-contact__copy {
    padding: 5px 11px;
    font-size: 11px;
  }

  .gw-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gw-card {
    padding: 18px 10px 12px;
    border-radius: 18px;
  }

  .gw-card__logo,
  .gw-card__logo img {
    width: 68px;
    height: 68px;
    border-radius: 18px;
  }

  .gw-card__name {
    font-size: 14px;
  }

  .gw-card__acts {
    gap: 6px;
  }

  .gw-card__acts .gw-btn {
    height: 36px;
    font-size: 12px;
    padding: 0 4px;
  }

  .gw-notice__bar {
    align-items: flex-start;
    padding: 10px;
  }
}
