/* SYO 首页 3D 动态横幅 */
.syo-hero {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, rgba(212, 175, 55, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(52, 211, 153, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(96, 165, 250, 0.15) 0%, transparent 45%),
    linear-gradient(160deg, #070b14 0%, #101828 45%, #0a1628 100%);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35);
  perspective: 900px;
  -webkit-tap-highlight-color: transparent;
}

.syo-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 20%, transparent 75%);
  opacity: 0.55;
  animation: syoGridDrift 18s linear infinite;
}

.syo-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  pointer-events: none;
}
.syo-hero__orb--a {
  width: 120px;
  height: 120px;
  left: -20px;
  top: -30px;
  background: rgba(212, 175, 55, 0.35);
  animation: syoFloat 7s ease-in-out infinite;
}
.syo-hero__orb--b {
  width: 90px;
  height: 90px;
  right: 10px;
  bottom: -20px;
  background: rgba(52, 211, 153, 0.28);
  animation: syoFloat 8.5s ease-in-out infinite reverse;
}

.syo-hero__stage {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 118px;
  height: 118px;
  margin: -59px 0 0 -59px;
  transform-style: preserve-3d;
  animation: syoStage 10s ease-in-out infinite;
}

.syo-hero__coin {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: syoSpin 7.5s linear infinite;
}

.syo-hero__face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(212, 175, 55, 0.35),
    inset 0 2px 8px rgba(255, 255, 255, 0.35),
    inset 0 -4px 10px rgba(120, 80, 0, 0.35);
}

.syo-hero__face--front {
  background:
    radial-gradient(circle at 30% 25%, #fff3c4 0%, #f0d078 18%, #d4af37 48%, #a67c00 78%, #6b4f08 100%);
  border: 3px solid rgba(255, 230, 150, 0.75);
  transform: translateZ(10px);
}
.syo-hero__face--back {
  background:
    radial-gradient(circle at 30% 25%, #fff3c4 0%, #e8c76a 20%, #c9a227 50%, #8a6914 80%, #5a4208 100%);
  border: 3px solid rgba(255, 230, 150, 0.65);
  transform: rotateY(180deg) translateZ(10px);
}

.syo-hero__rim {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 2px dashed rgba(120, 80, 0, 0.35);
  pointer-events: none;
}

.syo-hero__logo {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 800;
  font-size: 34px;
  letter-spacing: 1px;
  color: #3a2800;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45),
    0 -1px 0 rgba(0, 0, 0, 0.25);
  transform: translateZ(2px);
}

.syo-hero__ring {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.2);
  animation: syoRing 4.5s ease-in-out infinite;
  pointer-events: none;
}
.syo-hero__ring--2 {
  width: 180px;
  height: 180px;
  margin: -90px 0 0 -90px;
  border-color: rgba(52, 211, 153, 0.22);
  animation-delay: -1.2s;
  animation-duration: 5.8s;
}

.syo-hero__spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffe9a0;
  box-shadow: 0 0 8px #ffd76a;
  opacity: 0;
  animation: syoSpark 3.2s ease-in-out infinite;
}
.syo-hero__spark:nth-child(1) { left: 18%; top: 28%; animation-delay: 0s; }
.syo-hero__spark:nth-child(2) { left: 78%; top: 22%; animation-delay: 0.4s; }
.syo-hero__spark:nth-child(3) { left: 86%; top: 62%; animation-delay: 0.9s; }
.syo-hero__spark:nth-child(4) { left: 14%; top: 68%; animation-delay: 1.3s; }
.syo-hero__spark:nth-child(5) { left: 48%; top: 12%; animation-delay: 1.7s; }
.syo-hero__spark:nth-child(6) { left: 62%; top: 78%; animation-delay: 2.1s; }

.syo-hero__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}
.syo-hero__title {
  display: block;
  color: #f8e7a0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
}
.syo-hero__sub {
  display: block;
  margin-top: 4px;
  color: rgba(226, 232, 240, 0.78);
  font-size: 11px;
  letter-spacing: 1px;
}

.syo-hero__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.08) 48%, transparent 62%);
  background-size: 220% 100%;
  animation: syoShine 4.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes syoSpin {
  0% { transform: rotateY(0deg) rotateX(8deg); }
  100% { transform: rotateY(360deg) rotateX(8deg); }
}
@keyframes syoStage {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes syoRing {
  0%, 100% { transform: scale(0.92); opacity: 0.35; }
  50% { transform: scale(1.08); opacity: 0.85; }
}
@keyframes syoFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(12px, 10px); }
}
@keyframes syoSpark {
  0%, 100% { opacity: 0; transform: scale(0.4); }
  40% { opacity: 1; transform: scale(1); }
  70% { opacity: 0.2; transform: scale(0.7); }
}
@keyframes syoShine {
  0% { background-position: 120% 0; }
  100% { background-position: -40% 0; }
}
@keyframes syoGridDrift {
  0% { transform: translateY(0); }
  100% { transform: translateY(28px); }
}

@media (min-width: 480px) {
  .syo-hero { height: 220px; }
  .syo-hero__stage { width: 132px; height: 132px; margin: -66px 0 0 -66px; }
  .syo-hero__logo { font-size: 38px; }
}

/* 算力页：隐藏入金合约地址展示 */
.exchange-container .recv-box,
.recv-box {
  display: none !important;
}

/* 首页：隐藏底池看板（保留开通按钮） */
.pool-card .pool-bg-img,
.pool-card .pool-bg-mask,
.pool-card .pool-orb,
.pool-card .pool-sheen,
.pool-card .pool-head,
.pool-card .pool-board,
.pool-card .pool-gauge,
.pool-card .pool-output,
.pool-card .pool-rule {
  display: none !important;
}
.pool-card {
  padding: 12px !important;
  min-height: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.pool-card .pool-btn {
  margin-top: 0 !important;
}

/* 首页快捷入口去掉「预测」后改为 4 列均分 */
.index-container .grid.ranking-card,
.grid.ranking-card {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  justify-items: center !important;
  align-items: start !important;
  gap: 6px 0 !important;
  padding: 14px 6px 12px !important;
  box-sizing: border-box;
}
.index-container .grid.ranking-card .grid-item,
.grid.ranking-card .grid-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: none;
  padding: 0 2px;
  box-sizing: border-box;
  text-align: center !important;
}
.index-container .grid.ranking-card .icon-wrap,
.grid.ranking-card .icon-wrap {
  width: 46px !important;
  height: 46px !important;
  margin: 0 auto 6px !important;
  flex-shrink: 0;
}
.index-container .grid.ranking-card .grid-text,
.grid.ranking-card .grid-text {
  display: block;
  width: 100%;
  text-align: center !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* restore bottom nav */
.u-tabbar,
.u-tabbar__content,
.u-tabbar--fixed,
.u-tabbar__content__item-wrapper {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 50px !important;
  pointer-events: auto !important;
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 9999 !important;
  background: #ffffff !important;
}
.u-tabbar__placeholder {
  display: block !important;
  visibility: visible !important;
  height: 50px !important;
}
