/* PC 热门推荐 · 黑金异形热抢卡片 */
.pc-hot-page {
  --h-bg: #080808;
  --h-card: #141414;
  --h-gold: #d4af37;
  --h-gold-light: #f5d76e;
  --h-text: #f5efe4;
  --h-muted: #8d877e;
  --h-line: rgba(255, 255, 255, 0.08);
  --h-hot: #ff4d4f;
}

body.pc-app.pc-hot-page {
  background: var(--h-bg);
  color: var(--h-text);
}

.pc-hot-page .pc-main {
  background: var(--h-bg);
}

.pc-hot-page .pc-content {
  padding-top: 18px;
  padding-bottom: 28px;
}

.pc-hot-page .pc-page-header {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--h-line);
}

.pc-hot-page .pc-page-title {
  color: var(--h-text);
}

.pc-hot-page .pc-page-sub {
  color: var(--h-muted);
}

.pc-hot-page .pc-countdown {
  background: rgba(255, 77, 79, 0.1);
  border: 1px solid rgba(255, 77, 79, 0.28);
  color: #ffb38a;
}

.pc-hot-page .pc-countdown-time {
  color: #ff6b6b;
}

/* 顶部横幅 */
.pc-hot-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  min-height: 168px;
  margin-bottom: 18px;
  padding: 20px 240px 20px 22px;
  border-radius: 20px 20px 20px 6px;
  background: linear-gradient(135deg, #1a100c 0%, #120c0a 45%, #0a0a0c 100%);
  border: 1px solid rgba(255, 77, 79, 0.22);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.pc-hot-hero-deco {
  position: absolute;
  right: 8px;
  bottom: 0;
  height: 108%;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: lighten;
}

.pc-hot-hero-icon,
.pc-hot-hero-copy {
  position: relative;
  z-index: 1;
}

.pc-hot-hero-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px 18px 18px 4px;
  background: rgba(255, 77, 79, 0.12);
  border: 1px solid rgba(255, 77, 79, 0.28);
}

.pc-hot-hero-icon svg {
  width: 40px;
  height: 40px;
  display: block;
}

.pc-hot-hero-copy {
  min-width: 0;
  flex: 1;
}

.pc-hot-hero-copy h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: var(--h-text);
  letter-spacing: 0.02em;
}

.pc-hot-hero-copy p {
  margin: 0;
  font-size: 13px;
  color: var(--h-muted);
  line-height: 1.5;
}

.pc-hot-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 10px;
}

.pc-hot-hero-meta em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-style: normal;
  font-size: 12px;
  color: #ffb38a;
}

.pc-hot-hero-meta em i {
  font-size: 14px;
}

/* 工具栏 */
.pc-hot-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 0 2px;
}

.pc-hot-toolbar-count {
  font-size: 13px;
  color: var(--h-muted);
}

.pc-hot-toolbar-count strong {
  color: #ff8a65;
  font-weight: 800;
}

.pc-hot-toolbar-hint {
  font-size: 12px;
  color: #7a746c;
}

/* 卡片网格 */
.pc-hot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* 异形热抢卡片 */
.pc-hot-page .pc-deal-card--shaped {
  position: relative;
  display: block;
  padding: 0;
  border: none;
  background: transparent;
  min-height: auto;
  text-decoration: none;
  color: var(--h-text);
  isolation: isolate;
}

.pc-hot-page .pc-deal-card-shape {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 20px 20px 20px 6px;
  background: linear-gradient(145deg, rgba(255, 77, 79, 0.14), rgba(255, 77, 79, 0.02));
  transform: rotate(-1.2deg);
  transition: transform 0.2s ease;
}

.pc-hot-page .pc-deal-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 176px;
  padding: 14px 16px 12px;
  border-radius: 20px 20px 20px 6px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255, 77, 79, 0.08), transparent 55%),
    linear-gradient(155deg, #1f1b18 0%, #141414 48%, #101010 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.pc-hot-page .pc-deal-card-inner::after {
  content: '';
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: 88px;
  height: 88px;
  border-radius: 28px;
  background: rgba(255, 77, 79, 0.05);
  transform: rotate(24deg);
  pointer-events: none;
}

.pc-hot-page .pc-deal-card--shaped:hover .pc-deal-card-shape {
  transform: rotate(0deg) scale(1.01);
}

.pc-hot-page .pc-deal-card--shaped:hover .pc-deal-card-inner {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}

.pc-hot-page .pc-deal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 22px;
}

.pc-hot-page .pc-deal-head .deal-mark {
  font-size: 18px;
  line-height: 1;
  color: var(--h-gold);
}

.pc-hot-page .pc-deal-head .deal-mark-svg {
  width: 18px;
  height: 18px;
  display: block;
}

.pc-hot-page .pc-deal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 8px 8px 8px 2px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, #ff6b6b, #e53935);
  letter-spacing: 0.4px;
  animation: pc-hot-badge-pulse 2.4s ease-in-out infinite;
}

@keyframes pc-hot-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.45); }
  50% { box-shadow: 0 0 0 4px rgba(255, 77, 79, 0); }
}

.pc-hot-page .pc-deal-type-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 8px 8px 8px 2px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  transform: skewX(-6deg);
}

.pc-hot-page .pc-deal-type-pill.is-internal { color: #f5d76e; background: rgba(212, 175, 55, 0.16); }
.pc-hot-page .pc-deal-type-pill.is-member { color: #ce93d8; background: rgba(156, 39, 176, 0.16); }
.pc-hot-page .pc-deal-type-pill.is-premium { color: #64b5f6; background: rgba(33, 150, 243, 0.16); }
.pc-hot-page .pc-deal-type-pill.is-free { color: #81c784; background: rgba(76, 175, 80, 0.16); }
.pc-hot-page .pc-deal-type-pill.is-hot { color: #ff8a65; background: rgba(255, 77, 79, 0.16); }

.pc-hot-page .pc-deal-rank-inline {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.4px;
  vertical-align: 1px;
  color: rgba(245, 215, 110, 0.9);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.pc-hot-page .pc-deal-period {
  font-size: 18px;
  font-weight: 800;
  color: var(--h-gold-light);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-hot-page .pc-deal-main {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 20px;
}

.pc-hot-page .pc-deal-main-icon {
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
  color: var(--h-gold);
}

.pc-hot-page .pc-deal-title {
  font-size: 12px;
  font-weight: 600;
  color: #cfc8bc;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.pc-hot-page .pc-deal-hit {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 12px 12px 12px 4px;
  background: rgba(0, 0, 0, 0.24);
  font-size: 11px;
  color: var(--h-muted);
  overflow: hidden;
}

.pc-hot-page .pc-deal-hit-bar {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pc-hot-page .pc-deal-hit-bar span {
  display: block;
  height: 100%;
  max-width: 100%;
  background: linear-gradient(90deg, rgba(102, 187, 106, 0.18), rgba(102, 187, 106, 0.05));
  border-radius: inherit;
}

.pc-hot-page .pc-deal-hit-label,
.pc-hot-page .pc-deal-hit strong {
  position: relative;
  z-index: 1;
}

.pc-hot-page .pc-deal-hit strong {
  font-size: 15px;
  font-weight: 800;
  color: #66bb6a;
}

.pc-hot-page .pc-deal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pc-hot-page .pc-deal-price-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 26px;
  padding: 0 10px;
  border-radius: 10px 10px 10px 2px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  color: #3b2915;
  background: linear-gradient(135deg, #ffe7a8, #d4af37);
}

.pc-hot-page .pc-deal-price-pill.is-free {
  color: #81c784;
  background: transparent;
  border: 1px solid rgba(129, 199, 132, 0.55);
}

.pc-hot-page .pc-deal-time {
  font-size: 11px;
  color: #7a746c;
  white-space: nowrap;
}

/* 色调 */
.pc-hot-page .pc-deal-card--shaped.tone-hot .pc-deal-card-shape {
  background: linear-gradient(145deg, rgba(255, 77, 79, 0.2), rgba(255, 77, 79, 0.03));
}

.pc-hot-page .pc-deal-card--shaped.tone-hot .pc-deal-card-inner {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255, 77, 79, 0.12), transparent 55%),
    linear-gradient(155deg, #2a1514 0%, #161111 48%, #101010 100%);
  border-color: rgba(255, 77, 79, 0.28);
}

.pc-hot-page .pc-deal-card--shaped.tone-hot:hover .pc-deal-card-inner {
  border-color: rgba(255, 77, 79, 0.42);
}

.pc-hot-page .pc-deal-card--shaped.tone-hot .pc-deal-head .deal-mark { color: #ff4d4f; }
.pc-hot-page .pc-deal-card--shaped.tone-hot .pc-deal-main-icon { color: #ff8a65; }
.pc-hot-page .pc-deal-card--shaped.tone-hot .pc-deal-hit-bar span {
  background: linear-gradient(90deg, rgba(255, 77, 79, 0.2), rgba(255, 77, 79, 0.05));
}
.pc-hot-page .pc-deal-card--shaped.tone-hot .pc-deal-hit strong { color: #ff4d4f; }

.pc-hot-page .pc-deal-card--shaped.tone-green .pc-deal-card-shape {
  background: linear-gradient(145deg, rgba(76, 175, 80, 0.16), rgba(76, 175, 80, 0.02));
}

.pc-hot-page .pc-deal-card--shaped.tone-green .pc-deal-card-inner {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(76, 175, 80, 0.1), transparent 55%),
    linear-gradient(155deg, #152018 0%, #121614 48%, #101210 100%);
  border-color: rgba(76, 175, 80, 0.22);
}

.pc-hot-page .pc-deal-card--shaped.tone-green .pc-deal-head .deal-mark { color: #4caf50; }
.pc-hot-page .pc-deal-card--shaped.tone-green .pc-deal-main-icon { color: #66bb6a; }
.pc-hot-page .pc-deal-card--shaped.tone-green .pc-deal-hit strong { color: #66bb6a; }

.pc-hot-page .pc-deal-card--shaped.tone-orange .pc-deal-card-shape,
.pc-hot-page .pc-deal-card--shaped.tone-gold .pc-deal-card-shape {
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.02));
}

.pc-hot-page .pc-deal-card--shaped.tone-orange .pc-deal-card-inner,
.pc-hot-page .pc-deal-card--shaped.tone-gold .pc-deal-card-inner {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(212, 175, 55, 0.1), transparent 55%),
    linear-gradient(155deg, #241c10 0%, #161410 48%, #101010 100%);
  border-color: rgba(212, 175, 55, 0.22);
}

.pc-hot-page .pc-deal-card--shaped.tone-orange .pc-deal-head .deal-mark,
.pc-hot-page .pc-deal-card--shaped.tone-gold .pc-deal-head .deal-mark { color: #f5d76e; }
.pc-hot-page .pc-deal-card--shaped.tone-orange .pc-deal-main-icon,
.pc-hot-page .pc-deal-card--shaped.tone-gold .pc-deal-main-icon { color: #f5d76e; }
.pc-hot-page .pc-deal-card--shaped.tone-orange .pc-deal-hit strong,
.pc-hot-page .pc-deal-card--shaped.tone-gold .pc-deal-hit strong { color: #f5d76e; }

.pc-hot-page .pc-deal-card--shaped.tone-purple .pc-deal-card-shape {
  background: linear-gradient(145deg, rgba(156, 39, 176, 0.16), rgba(156, 39, 176, 0.02));
}

.pc-hot-page .pc-deal-card--shaped.tone-purple .pc-deal-card-inner {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(156, 39, 176, 0.1), transparent 55%),
    linear-gradient(155deg, #22162a 0%, #141116 48%, #101010 100%);
  border-color: rgba(156, 39, 176, 0.22);
}

.pc-hot-page .pc-deal-card--shaped.tone-purple .pc-deal-head .deal-mark { color: #ce93d8; }
.pc-hot-page .pc-deal-card--shaped.tone-purple .pc-deal-main-icon { color: #ce93d8; }
.pc-hot-page .pc-deal-card--shaped.tone-purple .pc-deal-hit strong { color: #ce93d8; }

.pc-hot-page .pc-deal-card--shaped.tone-blue .pc-deal-card-shape {
  background: linear-gradient(145deg, rgba(33, 150, 243, 0.16), rgba(33, 150, 243, 0.02));
}

.pc-hot-page .pc-deal-card--shaped.tone-blue .pc-deal-card-inner {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(33, 150, 243, 0.1), transparent 55%),
    linear-gradient(155deg, #12202c 0%, #111418 48%, #101010 100%);
  border-color: rgba(33, 150, 243, 0.22);
}

.pc-hot-page .pc-deal-card--shaped.tone-blue .pc-deal-head .deal-mark { color: #64b5f6; }
.pc-hot-page .pc-deal-card--shaped.tone-blue .pc-deal-main-icon { color: #64b5f6; }
.pc-hot-page .pc-deal-card--shaped.tone-blue .pc-deal-hit strong { color: #64b5f6; }

.pc-hot-page .pc-deal-card--shaped.is-featured .pc-deal-card-inner {
  border-color: rgba(255, 77, 79, 0.38);
  box-shadow: 0 0 0 1px rgba(255, 77, 79, 0.1), 0 10px 24px rgba(255, 77, 79, 0.12);
}

/* 分页 & 空状态 */
.pc-hot-page .pc-pager {
  padding: 24px 0 8px;
}

.pc-hot-page .pc-pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 77, 79, 0.08);
  border-color: rgba(255, 77, 79, 0.22);
  color: #ffb38a;
}

.pc-hot-page .pc-pager a:hover {
  background: rgba(255, 77, 79, 0.14);
  border-color: rgba(255, 77, 79, 0.38);
  color: #fff;
}

.pc-hot-page .pc-pager-num {
  color: var(--h-muted);
}

.pc-hot-page .pc-empty {
  padding: 56px 20px;
  color: var(--h-muted);
}

.pc-hot-page .pc-empty i {
  color: rgba(255, 77, 79, 0.35);
}

@media (min-width: 1400px) {
  .pc-hot-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .pc-hot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .pc-hot-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px;
  }

  .pc-hot-hero-deco {
    display: none;
  }

  .pc-hot-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pc-hot-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-hot-page .pc-deal-badge {
    animation: none;
  }
}
