body.site-page {
  margin: 0;
  background: #0b1220;
  color: #e8edf5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 14, 26, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-logo {
  height: 42px;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.site-nav a {
  color: #d7dee8;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(54, 179, 104, 0.16);
  color: #7dffb0;
}

.site-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.lang-switch {
  display: inline-flex;
  gap: 4px;
  margin-right: 4px;
}

.lang-switch .lang-btn {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #d7dee8;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13px;
}

.lang-switch .lang-btn.active,
.lang-switch .lang-btn:hover {
  background: rgba(54, 179, 104, 0.16);
  color: #7dffb0;
  border-color: rgba(54, 179, 104, 0.35);
}

.site-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
}

.site-btn.primary {
  background: #36b368;
  color: #fff;
}

.site-btn.ghost {
  background: transparent;
  color: #d7dee8;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.site-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 18px 64px;
}

.site-hero {
  margin-bottom: 28px;
}

.site-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
}

.site-hero p {
  margin: 0;
  color: #9aa8ba;
  line-height: 1.7;
  white-space: pre-line;
}

.site-card,
.site-form,
.contract-card,
.faq-block {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.contract-card h3,
.faq-block h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.contract-meta {
  display: grid;
  gap: 8px;
  color: #9aa8ba;
  font-size: 14px;
  margin: 14px 0 18px;
}

.contract-price {
  color: #7dffb0;
  font-size: 24px;
  font-weight: 700;
}

.site-form {
  max-width: 520px;
  display: grid;
  gap: 14px;
}

.site-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: #c7d2de;
}

.site-form input,
.site-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 12px 14px;
}

.site-status {
  font-size: 14px;
  color: #7dffb0;
}

.site-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px 32px;
  color: #7f8b9b;
  font-size: 13px;
}

@media (max-width: 860px) {
  .site-header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
  }
}

/* Lucky wheel */
.wheel-entry-btn {
  position: fixed;
  right: 16px;
  bottom: 88px;
  z-index: 9990;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #67e8f9, #7c3aed 55%, #4c1d95);
  color: #fff;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.45);
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1.1;
  animation: wheelPulse 2.4s ease-in-out infinite;
}

.wheel-entry-btn span {
  font-size: 13px;
  font-weight: 700;
}

.wheel-entry-btn small {
  font-size: 10px;
  opacity: 0.9;
}

@keyframes wheelPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

.wheel-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
}

.wheel-modal.hidden {
  display: none;
}

.wheel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 18, 0.72);
  backdrop-filter: blur(4px);
}

.wheel-dialog {
  position: relative;
  width: min(420px, 100%);
  padding: 28px 20px 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(36, 18, 72, 0.96), rgba(10, 16, 36, 0.98));
  border: 1px solid rgba(167, 139, 250, 0.35);
  box-shadow: 0 24px 80px rgba(76, 29, 149, 0.45);
  text-align: center;
}

.wheel-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.wheel-remain {
  color: #fff;
  font-size: 18px;
  margin-bottom: 12px;
}

.wheel-remain strong {
  color: #ff4d6d;
  font-size: 22px;
}

.wheel-stage {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 16px;
}

.wheel-pointer {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 3;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 26px solid #ff4d9a;
  filter: drop-shadow(0 4px 8px rgba(255, 77, 154, 0.55));
}

.wheel-disk {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 10px solid #a78bfa;
  box-shadow:
    0 0 0 6px rgba(167, 139, 250, 0.25),
    inset 0 0 28px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(124, 58, 237, 0.45);
  position: relative;
  overflow: hidden;
}

.wheel-disk::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.wheel-labels {
  position: absolute;
  inset: 0;
}

.wheel-label {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  margin-left: -36px;
  margin-top: -18px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.wheel-label strong {
  display: block;
  font-size: 15px;
}

.wheel-label span {
  font-size: 11px;
  opacity: 0.9;
}

.wheel-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #c4b5fd, #5b21b6 70%);
  border: 3px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.wheel-tip {
  color: #d8b4fe;
  font-size: 13px;
  margin: 0 0 14px;
}

.wheel-actions {
  display: grid;
  gap: 10px;
}

.wheel-spin-btn,
.wheel-share-btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.wheel-spin-btn {
  background: linear-gradient(90deg, #22d3ee, #2dd4bf);
  color: #06202a;
}

.wheel-share-btn {
  background: linear-gradient(90deg, #67e8f9, #14b8a6);
  color: #06202a;
}

.wheel-status {
  min-height: 22px;
  margin-top: 12px;
  color: #86efac;
  font-size: 14px;
}

.wheel-card-btn {
  width: 100%;
}
