:root {
  --spx-raise-progress: 79%;
}

.spx-wallet-select {
  appearance: none;
  border: 1px solid rgba(41, 204, 255, .35);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(8, 29, 60, .96), rgba(5, 15, 34, .96));
  color: #eef8ff;
  font-weight: 800;
  min-width: 104px;
  height: 42px;
  padding: 0 34px 0 14px;
  cursor: pointer;
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 0 18px rgba(22,184,243,.18);
}

[class*="coinSelectContainer"] {
  position: relative;
}

[class*="coinSelectContainer"]:after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #8bdfff;
  border-bottom: 2px solid #8bdfff;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.spx-wallet-option {
  min-height: 88px;
}

.spx-wallet-option-active {
  border-color: #29ccff !important;
  background: linear-gradient(145deg, rgba(9, 125, 197, .7), rgba(3, 61, 127, .82)) !important;
  box-shadow: inset 0 1px rgba(202,246,255,.12), 0 0 22px rgba(22,184,243,.28) !important;
}

.spx-wallet-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f73ff, #23b7e4);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 0 14px rgba(35,183,228,.35);
}

.spx-video-section {
  padding: clamp(42px, 7vw, 92px) 0;
  background: #030711;
}

.spx-video-frame {
  border: 1px solid rgba(63, 78, 111, .58);
  border-radius: 18px;
  background: #070b16;
  padding: clamp(10px, 1.5vw, 16px);
  box-shadow: 0 20px 80px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.05);
}

.spx-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 680px;
  object-fit: cover;
  border-radius: 12px;
  background: #000;
}

.spx-tokenomics-section {
  background: #030711 !important;
  padding: clamp(54px, 8vw, 104px) 0 !important;
}

.spx-tokenomics-card {
  max-width: 1060px;
  margin: 0 auto;
  min-height: 560px;
  border: 1px solid #222a3d;
  border-radius: 16px;
  background: #070a14;
  padding: clamp(30px, 4.8vw, 52px);
  box-shadow: inset 0 1px rgba(255,255,255,.03), 0 24px 90px rgba(0,0,0,.35);
}

.spx-tokenomics-card h2 {
  margin: 0 0 clamp(54px, 8vw, 118px);
  color: #0f73ff;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: 0;
}

.spx-tokenomics-layout {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(240px, 1fr);
  align-items: center;
  justify-content: center;
  gap: clamp(34px, 7vw, 80px);
}

.spx-donut {
  width: min(42vw, 330px);
  min-width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  background: conic-gradient(#0f73ff 0 15%, #10cdb2 15% 35%, #23b7e4 35% 65%, #ff9a0a 65% 80%, #ff4852 80% 90%, #338cff 90% 95%, #667085 95% 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.03), 0 16px 44px rgba(0,0,0,.35);
}

.spx-donut:before {
  content: "";
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: #111827;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}

.spx-donut-center {
  position: absolute;
  inset: 26%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  z-index: 1;
}

.spx-donut-center strong {
  color: #fff;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 900;
  line-height: 1.15;
}

.spx-donut-center span {
  color: #9aa4b5;
  font-size: 12px;
  margin-top: 6px;
  letter-spacing: .02em;
}

.spx-tokenomics-legend {
  display: grid;
  gap: 17px;
  color: #98a2b3;
}

.spx-tokenomics-legend div {
  display: grid;
  grid-template-columns: 14px 42px minmax(140px, 1fr);
  align-items: center;
  gap: 14px;
  font-size: 15px;
}

.spx-tokenomics-legend i {
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--c);
}

.spx-tokenomics-legend strong {
  color: #fff;
  font-weight: 800;
}

.spx-newsletter {
  min-width: 260px;
  max-width: 360px;
}

.spx-newsletter h4 {
  margin: 0 0 10px;
  color: var(--text-primary, #fff);
  font-size: 14px;
  letter-spacing: .05em;
}

.spx-newsletter p {
  margin: 0 0 14px;
  color: var(--text-secondary, #a8b3c7);
  font-size: 14px;
  line-height: 1.5;
}

.spx-newsletter-form {
  display: flex;
  gap: 8px;
}

.spx-newsletter-form input {
  min-width: 0;
  flex: 1;
  height: 42px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: #fff;
  padding: 0 12px;
}

.spx-newsletter-form button {
  height: 42px;
  border: 0;
  border-radius: 9px;
  padding: 0 14px;
  background: #0f73ff;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.spx-newsletter-note {
  min-height: 18px;
  margin-top: 8px;
  font-size: 13px;
}

.spx-newsletter-success { color: #19d48b; }
.spx-newsletter-error { color: #ff6b75; }

@media (max-width: 780px) {
  .spx-tokenomics-card { min-height: auto; }
  .spx-tokenomics-layout { grid-template-columns: 1fr; justify-items: center; }
  .spx-tokenomics-card h2 { margin-bottom: 42px; }
  .spx-donut { width: min(80vw, 300px); min-width: 230px; }
  .spx-tokenomics-legend { width: 100%; max-width: 360px; }
  .spx-newsletter-form { flex-direction: column; }
  .spx-newsletter-form button { width: 100%; }
}
