.brand-emblem {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 1px solid rgba(85, 215, 255, .28);
  border-radius: 12px;
  background: radial-gradient(circle at 50% 45%, rgba(30, 171, 255, .2), rgba(8, 13, 24, .94) 70%);
  box-shadow: 0 8px 26px rgba(20, 142, 255, .18), inset 0 0 18px rgba(53, 216, 255, .08);
}

.brand-emblem img {
  position: absolute;
  top: -18px;
  left: -28px;
  width: 92px;
  max-width: none;
  height: auto;
  pointer-events: none;
}

.brand:hover .brand-emblem {
  border-color: rgba(85, 215, 255, .56);
  box-shadow: 0 9px 28px rgba(20, 142, 255, .28), inset 0 0 20px rgba(53, 216, 255, .12);
}

.hero-showcase {
  position: relative;
  isolation: isolate;
  padding-top: 25px;
}

.hero-brand-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 15px;
  width: calc(100% - 42px);
  margin: 0 auto -15px;
  padding: 13px 18px 28px;
  border: 1px solid rgba(85, 215, 255, .22);
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(110deg, rgba(12, 23, 41, .96), rgba(16, 25, 50, .92));
  box-shadow: 0 15px 45px rgba(0, 0, 0, .24), inset 0 1px rgba(255, 255, 255, .04);
}

.hero-emblem {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  animation: emblemHover 5.8s ease-in-out infinite;
}

.hero-emblem img {
  top: -32px;
  left: -49px;
  width: 164px;
}

.hero-brand-copy { min-width: 0; }
.hero-brand-copy small {
  display: block;
  color: var(--cyan);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .17em;
}
.hero-brand-copy strong {
  display: block;
  margin-top: 3px;
  color: #f7fbff;
  font-size: 18px;
  letter-spacing: -.02em;
}
.hero-brand-copy span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.signal-bars {
  display: flex;
  align-items: end;
  gap: 3px;
  height: 26px;
  margin-left: auto;
}
.signal-bars i {
  width: 3px;
  height: 35%;
  border-radius: 9px;
  background: linear-gradient(var(--cyan), var(--green));
  box-shadow: 0 0 9px rgba(85, 215, 255, .28);
  animation: signalDance 1.8s ease-in-out infinite alternate;
}
.signal-bars i:nth-child(2) { height: 65%; animation-delay: -.65s; }
.signal-bars i:nth-child(3) { height: 100%; animation-delay: -1.1s; }
.signal-bars i:nth-child(4) { height: 52%; animation-delay: -.3s; }

.hero-showcase .live-summary { position: relative; z-index: 3; backdrop-filter: blur(18px); }
.hero-showcase .live-summary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 15%, rgba(85, 215, 255, .045) 45%, transparent 70%);
  transform: translateX(-110%);
  animation: panelSweep 8s ease-in-out infinite;
  pointer-events: none;
}
.hero-showcase .live-summary strong {
  background: linear-gradient(110deg, #fff, #9cf4e4 55%, #9cdfff);
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(57, 223, 190, .08);
}

.floating-coin {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  padding: 5px;
  border: 1px solid rgba(139, 124, 255, .25);
  border-radius: 50%;
  background: rgba(10, 16, 29, .9);
  box-shadow: 0 9px 26px rgba(0, 0, 0, .3), 0 0 18px rgba(85, 215, 255, .08);
  pointer-events: none;
}
.floating-coin img { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; }
.floating-coin-a { top: 2px; right: 22px; animation: coinFloatA 6.4s ease-in-out infinite; }
.floating-coin-b { top: 86px; right: -17px; animation: coinFloatB 7.2s ease-in-out infinite -.9s; }
.floating-coin-c { top: 92px; left: -14px; animation: coinFloatA 7.8s ease-in-out infinite -2.1s; }

.pool-card .coin-logo img { transition: transform .32s ease, filter .32s ease; }
.pool-card:hover .coin-logo img { filter: saturate(1.14) drop-shadow(0 0 8px rgba(85, 215, 255, .22)); transform: translateY(-2px) rotate(4deg) scale(1.06); }
.pool-card:nth-child(2n) .coin-logo { animation: listCoinFloat 5.8s ease-in-out infinite -2.2s; }
.pool-card:nth-child(2n + 1) .coin-logo { animation: listCoinFloat 6.5s ease-in-out infinite -.7s; }

.detail-logo { position: relative; animation: detailLogoFloat 5.5s ease-in-out infinite; }
.detail-logo::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(100deg, transparent 42%, rgba(255,255,255,.17) 50%, transparent 58%);
  transform: translateX(-80%) rotate(18deg);
  animation: detailLogoShine 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes emblemHover { 50% { transform: translateY(-3px); box-shadow: 0 13px 34px rgba(20,142,255,.28), inset 0 0 20px rgba(53,216,255,.13); } }
@keyframes signalDance { to { height: 22%; opacity: .45; } }
@keyframes panelSweep { 0%, 66%, 100% { transform: translateX(-110%); } 82% { transform: translateX(110%); } }
@keyframes coinFloatA { 50% { transform: translate3d(4px, -7px, 0) rotate(8deg); } }
@keyframes coinFloatB { 50% { transform: translate3d(-5px, 8px, 0) rotate(-9deg); } }
@keyframes listCoinFloat { 50% { transform: translateY(-2px); } }
@keyframes detailLogoFloat { 50% { transform: translateY(-4px); box-shadow: 0 23px 55px rgba(0,0,0,.3), 0 0 24px rgba(85,215,255,.08); } }
@keyframes detailLogoShine { 0%, 62%, 100% { transform: translateX(-80%) rotate(18deg); } 78% { transform: translateX(80%) rotate(18deg); } }

@media (max-width: 580px) {
  .hero-showcase { padding-top: 18px; }
  .hero-brand-card { width: calc(100% - 24px); padding: 11px 13px 24px; }
  .hero-emblem { width: 54px; height: 54px; border-radius: 17px; }
  .hero-emblem img { top: -26px; left: -40px; width: 134px; }
  .hero-brand-copy strong { font-size: 15px; }
  .signal-bars { display: none; }
  .floating-coin { width: 33px; height: 33px; }
  .floating-coin-b { right: -5px; }
  .floating-coin-c { left: -5px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-emblem, .signal-bars i, .hero-showcase .live-summary::after,
  .floating-coin, .pool-card .coin-logo, .detail-logo, .detail-logo::after { animation: none !important; }
}
