/* 首页“斗魂试炼 · 即时战斗”推广卡（2026-11-13 新增；只给首页 index.html 用，不改共用的 home.css）。
   放在“本服独家特色”区最上方（职业进阶推广卡之前）；点整张卡进 /static/guide-arena.html。
   配色取介绍页 guide-arena.css 的“炭红夜火”主题；手机端截图在上、文字在下，360 宽不横向溢出。
   悬停效果只写在 (hover: hover) and (pointer: fine) 里。 */
.arena-promo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin: 18px 0;
  padding: 22px 24px;
  overflow: hidden;
  color: #fff3ea;
  text-decoration: none;
  background:
    radial-gradient(circle at 92% 18%, rgba(244, 185, 62, .30), transparent 46%),
    radial-gradient(circle at 4% -12%, rgba(255, 110, 70, .30), transparent 52%),
    radial-gradient(rgba(255, 220, 170, .10) 1.4px, transparent 2px) 0 0 / 24px 24px,
    linear-gradient(155deg, #1e0906 0%, #4a140c 52%, #7a2413 100%);
  border: 3px solid #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-hard, 0 8px 0 rgba(70, 20, 10, .18));
  transition: transform .3s var(--ease-jelly, ease), box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
/* 底边四色条 = 四种玩法的主题色（与介绍页一致） */
.arena-promo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, #1c7fa6, #c2371f, #3f7d2c, #7a3fc0);
  opacity: .92;
  pointer-events: none;
}
.arena-promo-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.arena-promo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.arena-tag-new,
.arena-tag-pill {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.6;
}
.arena-tag-new {
  color: #3a2200;
  font-weight: 800;
  background: linear-gradient(180deg, #ffe08a, #f4b93e);
}
.arena-tag-pill {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 220, 170, .32);
}
.arena-promo h3 {
  margin: 0 0 6px;
  color: #fff;
  font-family: var(--font-title, inherit);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: .06em;
  text-shadow: 0 3px 0 #1e0906, 0 0 18px rgba(244, 150, 62, .45);
}
.arena-promo p {
  margin: 0 0 12px;
  color: rgba(255, 243, 234, .9);
  font-size: 14px;
  line-height: 1.75;
}
.arena-promo p b {
  color: #ffd27a;
}
/* 四种玩法 */
.arena-promo-modes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.arena-promo-modes li {
  min-width: 0;
  padding: 6px 8px 7px;
  background: rgba(0, 0, 0, .26);
  border-top: 3px solid var(--mc, #f4b93e);
  border-radius: 10px;
}
.arena-promo-modes b {
  display: block;
  overflow: hidden;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.arena-promo-modes small {
  display: block;
  overflow: hidden;
  color: rgba(255, 243, 234, .72);
  font-size: 11.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.arena-promo-modes .am-duel { --mc: #3fa9d4; }
.arena-promo-modes .am-trial { --mc: #e8573c; }
.arena-promo-modes .am-watch { --mc: #6cb34f; }
.arena-promo-modes .am-hunt { --mc: #a979e6; }
/* 斗魂商店里的稀有奖励 */
.arena-promo-shop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 12px;
}
.arena-promo-shop li {
  padding: 3px 9px;
  color: #ffe9b8;
  background: rgba(244, 185, 62, .14);
  border: 1px solid rgba(244, 185, 62, .5);
  border-radius: 999px;
}
.arena-promo-shop .arena-shop-head {
  padding: 3px 0;
  color: rgba(255, 243, 234, .75);
  background: none;
  border: 0;
}
.arena-promo-go {
  display: inline-block;
  padding: 8px 18px;
  color: #3a2200;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(180deg, #ffe08a, #f4b93e);
  border-radius: 999px;
  box-shadow: 0 3px 0 #b9780f;
}
.arena-promo-art {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
}
.arena-promo-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #2a0c08;
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 16px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .28);
}
@media (hover: hover) and (pointer: fine) {
  .arena-promo:hover { transform: translateY(-3px); }
  .arena-promo:hover .arena-promo-go { background: linear-gradient(180deg, #fff0b8, #ffd166); }
}
@media (max-width: 860px) {
  .arena-promo {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 16px 20px;
  }
  .arena-promo-art { order: -1; }
  .arena-promo-art img { border-radius: 12px; }
}
@media (max-width: 520px) {
  .arena-promo-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
