/* Main Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #ffffff;
    line-height: 1.5;
    overflow-x: hidden;
    /* 全局深色渐变背景，顶部柔和紫蓝晕染，保证各区块过渡自然 */
    background-color: #0a0a1a; /* 兜底纯色 */
    background-image:
      radial-gradient(120% 120% at 0% 0%, rgba(96, 58, 177, 0.18) 0%, rgba(10, 10, 26, 0) 60%),
      radial-gradient(120% 120% at 100% 0%, rgba(37, 99, 235, 0.18) 0%, rgba(10, 10, 26, 0) 60%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.gradient-text {
    background: linear-gradient(90deg, #b084ff 0%, #8a5bff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-bg {
    background: linear-gradient(135deg, #6c2bd9 0%, #5a23b5 100%);
}

.blockchain-grid {
    background-image: 
        linear-gradient(rgba(108, 43, 217, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 43, 217, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.glass-effect {
    background: rgba(10, 10, 26, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.purple-glow {
    box-shadow: 0 0 15px rgba(108, 43, 217, 0.5);
}

.rtbt-card {
  position: relative;
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}
.rtbt-card::after {
  content: '';
  position: absolute;
  inset: -80px;
  border-radius: 300px;
  background: radial-gradient(circle, rgba(190,160,255,0.55), rgba(94,52,150,0.45), transparent 95%);
  filter: blur(90px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.rtbt-card:hover {
  transform: translateY(-4px);
}
.rtbt-card:hover::after {
  opacity: 1;
}

.hexagon {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.auth-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(108, 43, 217, 0.3);
}

.form-input {
    background-color: rgba(26, 26, 42, 0.8);
    border: 1px solid rgba(108, 43, 217, 0.5);
    color: white;
    border-radius: 8px;
    padding: 10px 16px;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #8347e5;
    box-shadow: 0 0 0 2px rgba(108, 43, 217, 0.3);
    outline: none;
}

.crypto-card {
    background: rgba(26, 26, 42, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(108, 43, 217, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* 保证内容绝不溢出紫色卡片外框 */
}

/* 两行截断工具类（兼容 WebKit） */
.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 名字断词规则，避免长词撑破卡片 */
.kol-name {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.crypto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(108, 43, 217, 0.2);
}

.social-icon {
    color: #cbd5e1;
    font-size: 26px;
    line-height: 1;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-icon:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

/* Language dropdown styles */
.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-dropdown-button {
    background-color: rgba(26, 26, 42, 0.8);
    color: white;
    border: 1px solid rgba(108, 43, 217, 0.3);
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.language-dropdown-button:hover {
    background-color: rgba(108, 43, 217, 0.2);
}

.language-dropdown-menu {
    position: absolute;
    right: 0;
    margin-top: 4px;
    background-color: rgba(26, 26, 42, 0.95);
    border: 1px solid rgba(108, 43, 217, 0.3);
    border-radius: 6px;
    min-width: 140px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.language-option {
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.language-option:hover {
    background-color: rgba(108, 43, 217, 0.2);
}

.language-option.active {
    background-color: rgba(108, 43, 217, 0.4);
}

.language-flag {
    margin-right: 8px;
    font-size: 16px;
}

.investor-marquee-wrapper {
    position: relative;
    overflow: hidden;
}

.investor-marquee-wrapper::before,
.investor-marquee-wrapper::after {
    content: none; /* remove edge fade overlays */
}

.investor-marquee {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: investorMarquee 40s linear infinite;
    width: max-content;
    will-change: transform;
}

.investor-logo-tile {
    padding: 0 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.investor-logo-tile:hover {
    transform: translateY(-1px);
}

.investor-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: normal;
    filter: none;
    opacity: 1;
}

.investor-logo-img:hover {
    opacity: 1;
    filter: none;
}

.partners-bar .investor-logo-img {
    mix-blend-mode: darken;
    transform: scale(1.08);
    transform-origin: center;
}

@keyframes investorMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.3333%);
    }
}

.partners-marquee-wrapper {
    position: relative;
    overflow: hidden;
    padding: 12px 0;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(108, 43, 217, 0.16), rgba(34, 119, 255, 0.12));
    border: 1px solid rgba(158, 119, 255, 0.28);
    box-shadow: 0 12px 30px rgba(5, 0, 20, 0.28);
    backdrop-filter: blur(6px);
}
.partners-marquee-wrapper::before,
.partners-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    pointer-events: none;
}
.partners-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, rgba(10,10,26,0.95), rgba(10,10,26,0));
}
.partners-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, rgba(10,10,26,0.95), rgba(10,10,26,0));
}
.partners-marquee {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: partnersMarquee 36s linear infinite;
    width: max-content;
    will-change: transform;
}
.partner-logo-img {
    height: 34px;
    width: auto;
    object-fit: contain;
    filter: grayscale(95%) brightness(1.08) contrast(1.08);
    opacity: 0.95;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.partner-logo-img:hover {
    filter: none;
    opacity: 1;
    transform: translateY(-1px);
}
@keyframes partnersMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.3333%); }
}

.policy-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 64px 24px;
}
.policy-card {
    background: rgba(16, 16, 32, 0.6);
    border: 1px solid rgba(158, 119, 255, 0.18);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(5, 0, 20, 0.35);
    backdrop-filter: blur(6px);
    padding: 32px;
}
.policy-page h1 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: rgba(245, 241, 255, 0.95);
    margin-bottom: 1rem;
}
.policy-page h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(245, 241, 255, 0.92);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.policy-page p {
    color: rgba(229, 231, 235, 0.92);
    line-height: 1.8;
    margin: 0.25rem 0 0.75rem;
}
.policy-page ul {
    color: rgba(229, 231, 235, 0.92);
    line-height: 1.9;
    padding-left: 1.2rem;
    list-style: disc;
}
.policy-page li {
    margin: 0.25rem 0;
}

.planck-card-grid {
    position: relative;
    z-index: 1;
}

.planck-card {
    position: relative;
    padding: 1px;
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(11, 6, 22, 0.98), rgba(6, 3, 12, 0.98));
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.planck-card::after {
    content: '';
    position: absolute;
    inset: -100px;
    border-radius: 500px;
    background: radial-gradient(circle, rgba(210, 188, 239, 0.9), rgba(118, 78, 200, 0.7), transparent 95%);
    filter: blur(100px);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.planck-card::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 25px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(190, 160, 255, 0.95), rgba(94, 52, 150, 0.95)) border-box;
    mask:
      linear-gradient(#fff 0 0) padding-box,
      linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.planck-card:hover {
    transform: translateY(-4px);
    box-shadow:
      0 0 25px rgba(190, 160, 255, 0.4),
      0 0 55px rgba(120, 80, 200, 0.45),
      0 0 95px rgba(70, 35, 130, 0.4),
      0 0 140px rgba(20, 5, 45, 0.35);
}

.planck-card.is-selected {
    transform: translateY(-4px);
    box-shadow:
      0 0 25px rgba(190, 160, 255, 0.4),
      0 0 55px rgba(120, 80, 200, 0.45),
      0 0 95px rgba(70, 35, 130, 0.4),
      0 0 140px rgba(20, 5, 45, 0.35);
}

.planck-card:hover::after,
.planck-card:hover::before {
    opacity: 1;
}

.planck-card.is-selected::after,
.planck-card.is-selected::before {
    opacity: 1;
}
.planck-card:hover::after {
    opacity: 1;
}

.planck-card-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: 100%;
    border-radius: 24px;
    background: linear-gradient(
        180deg, 
        rgba(5, 1, 7, 0.95) 0%, 
        rgba(37, 8, 51, 0.92) 50%, 
        rgba(8, 2, 10, 0.95) 100%
        );
    padding: 2rem;
    box-shadow: inset 0 0 40px rgba(115, 70, 210, 0.15);
    min-height: 440px;
}

.planck-card-media {
    position: relative;
    border-radius: 18px;
    min-height: 264px;
    padding: 0;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.planck-card-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 264px;
    object-fit: contain;
    filter: saturate(1.1) contrast(1.05) drop-shadow(0 20px 35px rgba(6, 3, 10, 0.5));
}

.planck-card-media--compact {
    min-height: 216px;
}

.planck-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    flex: 1;
    justify-content: center;
}

.planck-card-content--spacious {
    padding: 0.25rem 0;
}

.planck-card-kicker {
    font-size: 1.05rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.planck-card-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #f6f3ff;
}

.planck-card-description {
    color: rgba(224, 208, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.75;
}

.faq-section {
    position: relative;
    background: transparent;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(78, 52, 145, 0.12), transparent 55%),
        radial-gradient(circle at 80% 0%, rgba(28, 84, 190, 0.1), transparent 60%),
        linear-gradient(135deg, rgba(8, 7, 26, 0.9), rgba(5, 7, 20, 0.95));
    pointer-events: none;
    z-index: 0;
}

.faq-section > * {
    position: relative;
    z-index: 1;
}

.faq-card {
    position: relative;
    background: rgba(6, 8, 23, 0.85);
    border-radius: 28px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 25px 70px rgba(2, 0, 8, 0.55);
    backdrop-filter: blur(10px);
}

.faq-list {
    border-top: none;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    color: #f1f1f6;
    font-size: 1.25rem;
    font-weight: 600;
}

.faq-question:hover {
    color: #cfcff2;
}

.faq-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-left: 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: #e9e7ff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(155, 117, 255, 0.35);
    box-shadow:
      0 0 0 2px rgba(147, 51, 234, 0.35),
      0 0 12px rgba(147, 51, 234, 0.5),
      inset 0 10px 22px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    position: relative;
    line-height: 28px; /* 确保 +/- 居中并保持在圆内 */
    overflow: hidden;  /* 防止图标超出圆圈 */
}

/* 展开态：脉冲光晕（由弱到强再到弱），不是连续一圈 */
.faq-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(147, 51, 234, 0.15), rgba(147, 51, 234, 0.55) 50%, rgba(147, 51, 234, 0.15) 100%);
    filter: blur(6px);
    opacity: 0;
    pointer-events: none;
}

.faq-question:hover .faq-icon {
    transform: scale(1.06);
}

.faq-item.open .faq-icon {
    background: rgba(147, 51, 234, 0.22);
    box-shadow:
      0 0 0 2px rgba(147, 51, 234, 0.45),
      0 0 18px rgba(147, 51, 234, 0.65),
      inset 0 10px 22px rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.faq-item.open .faq-icon::after {
    animation: purpleGlowPulse 1.8s ease-in-out 1;
}

@keyframes purpleGlowPulse {
    0%   { opacity: 0.15; transform: rotate(0deg); }
    40%  { opacity: 0.85; transform: rotate(120deg); }
    100% { opacity: 0.15; transform: rotate(240deg); }
}

.faq-answer {
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    color: rgba(225, 225, 245, 0.75);
    padding-bottom: 1.5rem;
    line-height: 1.7;
}

.faq-note {
    border-radius: 20px;
    padding: 1.75rem;
    background: linear-gradient(135deg, rgba(108, 43, 217, 0.22), rgba(34, 119, 255, 0.18));
    border: 1px solid rgba(158, 119, 255, 0.35);
    box-shadow: 0 10px 35px rgba(5, 0, 20, 0.35);
    color: rgba(245, 241, 255, 0.9);
}

.faq-note p {
    margin: 0;
    line-height: 1.6;
    font-size: 1.25rem;
    font-weight: 600;
    color: #f1f1f6;
}

.faq-note p:first-child:not(:only-child) {
    letter-spacing: 0.4em;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.75rem;
}
img {
  border: none;
}

/* Global Galaxy Background (site-wide except footer visual) */
.global-galaxy-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.global-galaxy-bg .galaxy-stars,
.global-galaxy-bg .galaxy-nebula,
.global-galaxy-bg .galaxy-liquid {
  position: absolute;
  inset: 0;
}

/* Stars: subtle, slightly bright, twinkling */
.galaxy-stars {
  opacity: 0.76; /* 原 0.7，轻微增亮 */
  filter: saturate(1.08) brightness(1.08); /* 原 1.05 / 1.06 */
  animation: twinkle 8s ease-in-out infinite alternate, starParallax 120s linear infinite;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(1.5px 1.5px at 5% 12%, rgba(255,255,255,0.88) 99%, transparent),
    radial-gradient(1px 1px at 12% 48%, rgba(255,255,255,0.8) 99%, transparent),
    radial-gradient(1.7px 1.7px at 22% 26%, rgba(255,255,255,0.88) 99%, transparent),
    radial-gradient(1px 1px at 28% 70%, rgba(255,255,255,0.78) 99%, transparent),
    radial-gradient(2px 2px at 40% 18%, rgba(255,255,255,0.95) 99%, transparent),
    radial-gradient(1.2px 1.2px at 45% 52%, rgba(255,255,255,0.78) 99%, transparent),
    radial-gradient(1.4px 1.4px at 52% 8%, rgba(255,255,255,0.84) 99%, transparent),
    radial-gradient(1.2px 1.2px at 58% 36%, rgba(255,255,255,0.78) 99%, transparent),
    radial-gradient(2px 2px at 65% 22%, rgba(255,255,255,0.95) 99%, transparent),
    radial-gradient(1px 1px at 70% 62%, rgba(255,255,255,0.74) 99%, transparent),
    radial-gradient(1.8px 1.8px at 78% 28%, rgba(255,255,255,0.95) 99%, transparent),
    radial-gradient(1.3px 1.3px at 84% 46%, rgba(255,255,255,0.78) 99%, transparent),
    radial-gradient(1px 1px at 90% 12%, rgba(255,255,255,0.78) 99%, transparent),
    radial-gradient(1.6px 1.6px at 8% 82%, rgba(255,255,255,0.88) 99%, transparent),
    radial-gradient(1.1px 1.1px at 16% 90%, rgba(255,255,255,0.74) 99%, transparent),
    radial-gradient(1.4px 1.4px at 30% 90%, rgba(255,255,255,0.85) 99%, transparent),
    radial-gradient(1px 1px at 36% 84%, rgba(255,255,255,0.74) 99%, transparent),
    radial-gradient(1.7px 1.7px at 50% 90%, rgba(255,255,255,0.9) 99%, transparent),
    radial-gradient(1.3px 1.3px at 62% 86%, rgba(255,255,255,0.78) 99%, transparent),
    radial-gradient(1px 1px at 74% 92%, rgba(255,255,255,0.74) 99%, transparent),
    radial-gradient(1.5px 1.5px at 86% 84%, rgba(255,255,255,0.88) 99%, transparent),
    radial-gradient(1px 1px at 96% 90%, rgba(255,255,255,0.74) 99%, transparent);
}

/* Nebula: blurred color clouds with liquid drift */
.galaxy-nebula {
  opacity: 0.48; /* 原 0.45，稍亮 */
  mix-blend-mode: screen;
  filter: blur(60px) saturate(1.18); /* 原 1.15 */
  animation: nebulaDrift 160s ease-in-out infinite alternate;
  background:
    radial-gradient(1200px 800px at 10% 25%, rgba(147, 51, 234, 0.30), transparent 60%),
    radial-gradient(900px 600px at 85% 20%, rgba(59, 130, 246, 0.31), transparent 60%),
    radial-gradient(800px 600px at 40% 85%, rgba(255, 170, 150, 0.18), transparent 70%),
    radial-gradient(700px 700px at 70% 65%, rgba(106, 58, 177, 0.25), transparent 70%);
}

/* Liquid glow layer: slow swirling to add liquidity feel */
.galaxy-liquid {
  opacity: 0.35; /* 原 0.32，稍亮 */
  mix-blend-mode: screen;
  filter: blur(80px) saturate(1.15); /* 原 1.12 */
  animation: liquidDrift 200s linear infinite;
  background:
    conic-gradient(from 120deg at 30% 40%, rgba(147, 51, 234, 0.28), rgba(59, 130, 246, 0.2), rgba(255, 200, 150, 0.14), rgba(147, 51, 234, 0.28)),
    radial-gradient(600px 600px at 20% 75%, rgba(120, 60, 200, 0.28), transparent 60%),
    radial-gradient(500px 500px at 80% 30%, rgba(60, 150, 255, 0.22), transparent 60%);
}

/* Reduce brightness slightly on small screens to keep text clear */
@media (max-width: 640px) {
  .galaxy-nebula { opacity: 0.40; }
  .galaxy-liquid { opacity: 0.28; }
  .galaxy-stars { opacity: 0.66; }
}

/* Hero video responsive and soft edges */
.hero-media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    aspect-ratio: 16 / 9;
    border: none; /* 不要边框 */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4); /* 与 feature_cards 默认阴影一致的质感 */
    filter: drop-shadow(0 22px 44px rgba(0,0,0,0.35));
    transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
    will-change: transform;
}

.hero-media:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
      0 25px 65px rgba(0, 0, 0, 0.6),
      0 0 65px rgba(147, 51, 234, 0.45),
      0 0 120px rgba(59, 130, 246, 0.35);
}

.hero-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Soft edge feathering to blend with dark background */
.hero-media {
    -webkit-mask-image: radial-gradient(140% 140% at 50% 50%, #000 55%, transparent 100%);
            mask-image: radial-gradient(140% 140% at 50% 50%, #000 55%, transparent 100%);
}

.hero-media::before {
    content: '';
    position: absolute;
    inset: -120px; /* 外扩，形成更明显的外部光晕 */
    border-radius: inherit;
    background:
      radial-gradient(ellipse at 30% 30%, rgba(147, 51, 234, 0.65) 0%, rgba(147, 51, 234, 0.15) 35%, transparent 60%),
      radial-gradient(ellipse at 70% 70%, rgba(59, 130, 246, 0.55) 0%, rgba(59, 130, 246, 0.15) 35%, transparent 60%);
    filter: blur(120px) saturate(1.2);
    opacity: 0; /* 默认不显示，避免常态过亮 */
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(120% 120% at 50% 50%, rgba(10,10,26,0) 55%, rgba(10,10,26,0.5) 100%),
        linear-gradient(180deg, rgba(10,10,26,0.0) 72%, rgba(10,10,26,0.35) 100%),
        linear-gradient(90deg, rgba(10,10,26,0.0) 78%, rgba(10,10,26,0.25) 100%),
        linear-gradient(270deg, rgba(10,10,26,0.0) 78%, rgba(10,10,26,0.25) 100%);
}

.hero-media:hover::before {
    opacity: 0.85; /* 悬浮时明显亮起 */
    transform: scale(1.03);
}
img {
  border: none;
}

.galaxy-stars-near {
  opacity: 0.82;
  filter: saturate(1.12) brightness(1.12);
  animation: twinkle 6.5s ease-in-out infinite alternate, starParallax 90s linear infinite;
}
.galaxy-stars-far {
  opacity: 0.55;
  filter: saturate(1.02) brightness(1.04);
  animation: twinkle 10s ease-in-out infinite alternate, starParallax 240s linear infinite;
}
.galaxy-orbits {
  opacity: 0.25;
  mix-blend-mode: screen;
  filter: blur(50px) saturate(1.05);
  animation: orbitSpin 160s linear infinite;
  background:
    radial-gradient(520px 520px at 20% 32%, transparent 64%, rgba(255,255,255,0.12) 66%, transparent 69%),
    radial-gradient(460px 460px at 75% 25%, transparent 62%, rgba(147,51,234,0.12) 64%, transparent 67%),
    radial-gradient(680px 680px at 50% 70%, transparent 66%, rgba(59,130,246,0.10) 68%, transparent 71%),
    radial-gradient(820px 820px at 82% 62%, transparent 69%, rgba(255,180,160,0.08) 71%, transparent 74%);
}
.galaxy-comet {
  position: absolute;
  width: 320px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(147,51,234,0.45) 55%, rgba(59,130,246,0.0) 100%);
  border-radius: 2px;
  mix-blend-mode: screen;
  filter: blur(0.6px) drop-shadow(0 0 6px rgba(255,255,255,0.65)) drop-shadow(0 0 18px rgba(147,51,234,0.35));
}
.comet-1 { top: 22%; left: -18%; animation: cometPath1 45s linear infinite; }
.comet-2 { top: 66%; left: -22%; animation: cometPath2 60s linear infinite; animation-delay: 9s; }

/* Warp light band container */
.galaxy-warp-lines { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; overflow: hidden; }
.warp-lines-1 {
  opacity: 0.22;
  filter: saturate(1.08) brightness(1.04) blur(0.3px);
  background:
    repeating-linear-gradient(90deg, rgba(147, 51, 234, 0.22) 0 2px, transparent 2px 22px),
    repeating-linear-gradient(90deg, rgba(59, 130, 246, 0.18) 0 1px, transparent 1px 18px);
  animation: warpMove 28s linear infinite;
}
.warp-lines-2 {
  opacity: 0.18;
  filter: saturate(1.04) brightness(1.02) blur(0.4px);
  background:
    repeating-linear-gradient(90deg, rgba(255, 200, 160, 0.15) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(147, 51, 234, 0.18) 0 2px, transparent 2px 30px);
  animation: warpMove 45s linear infinite reverse;
}

/* Multi nebula layers */
.galaxy-nebula-layer-1,
.galaxy-nebula-layer-2,
.galaxy-nebula-layer-3 { position: absolute; inset: 0; mix-blend-mode: screen; filter: blur(70px) saturate(1.18); }
.galaxy-nebula-layer-1 {
  opacity: 0.50;
  animation: nebulaPulse 12s ease-in-out infinite alternate, nebulaDrift 200s ease-in-out infinite;
  background:
    radial-gradient(1400px 900px at 12% 24%, rgba(147, 51, 234, 0.32), transparent 60%),
    radial-gradient(1100px 800px at 78% 18%, rgba(59, 130, 246, 0.28), transparent 62%),
    radial-gradient(800px 600px at 38% 82%, rgba(255, 180, 160, 0.18), transparent 70%);
}
.galaxy-nebula-layer-2 {
  opacity: 0.42;
  animation: nebulaPulse 16s ease-in-out infinite alternate, nebulaDrift 240s ease-in-out infinite;
  background:
    radial-gradient(1200px 800px at 20% 72%, rgba(106, 58, 177, 0.28), transparent 62%),
    radial-gradient(900px 700px at 68% 65%, rgba(59, 130, 246, 0.24), transparent 66%),
    radial-gradient(950px 750px at 88% 40%, rgba(255, 210, 190, 0.12), transparent 70%);
}
.galaxy-nebula-layer-3 {
  opacity: 0.36;
  animation: nebulaPulse 20s ease-in-out infinite alternate, nebulaDrift 280s ease-in-out infinite;
  background:
    radial-gradient(1500px 950px at 6% 44%, rgba(147, 51, 234, 0.26), transparent 65%),
    radial-gradient(1300px 900px at 86% 86%, rgba(59, 130, 246, 0.22), transparent 66%),
    radial-gradient(1200px 800px at 50% 50%, rgba(255, 170, 150, 0.12), transparent 70%);
}

/* Tune existing layers slightly for consistency */
.galaxy-liquid { opacity: 0.28; }
.galaxy-orbits { opacity: 0.20; }

@media (max-width: 640px) {
  .galaxy-nebula-layer-1 { opacity: 0.44; }
  .galaxy-nebula-layer-2 { opacity: 0.36; }
  .galaxy-nebula-layer-3 { opacity: 0.30; }
  .warp-lines-1 { opacity: 0.18; }
  .warp-lines-2 { opacity: 0.14; }
}

/* 局部背景容器：FAQ 区域 */
.faq-section .section-galaxy-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* 防止通用规则覆盖（.faq-section > * 设为相对定位），明确覆盖为绝对定位 */
.faq-section > .section-galaxy-bg { position: absolute; z-index: 0; }

.faq-section > * {
    position: relative;
    z-index: 1;
}

.faq-card {
    position: relative;
    background: rgba(6, 8, 23, 0.85);
    border-radius: 28px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 25px 70px rgba(2, 0, 8, 0.55);
    backdrop-filter: blur(10px);
}

.faq-list {
    border-top: none;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    color: #f1f1f6;
    font-size: 1.25rem;
    font-weight: 600;
}

.faq-question:hover {
    color: #cfcff2;
}

.faq-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-left: 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: #e9e7ff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(155, 117, 255, 0.35);
    box-shadow:
      0 0 0 2px rgba(147, 51, 234, 0.35),
      0 0 12px rgba(147, 51, 234, 0.5),
      inset 0 10px 22px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    position: relative;
    line-height: 28px; /* 确保 +/- 居中并保持在圆内 */
    overflow: hidden;  /* 防止图标超出圆圈 */
}

/* 展开态：脉冲光晕（由弱到强再到弱），不是连续一圈 */
.faq-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(147, 51, 234, 0.15), rgba(147, 51, 234, 0.55) 50%, rgba(147, 51, 234, 0.15) 100%);
    filter: blur(6px);
    opacity: 0;
    pointer-events: none;
}

.faq-question:hover .faq-icon {
    transform: scale(1.06);
}

.faq-item.open .faq-icon {
    background: rgba(147, 51, 234, 0.22);
    box-shadow:
      0 0 0 2px rgba(147, 51, 234, 0.45),
      0 0 18px rgba(147, 51, 234, 0.65),
      inset 0 10px 22px rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.faq-item.open .faq-icon::after {
    animation: purpleGlowPulse 1.8s ease-in-out 1;
}

@keyframes purpleGlowPulse {
    0%   { opacity: 0.15; transform: rotate(0deg); }
    40%  { opacity: 0.85; transform: rotate(120deg); }
    100% { opacity: 0.15; transform: rotate(240deg); }
}

.faq-answer {
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    color: rgba(225, 225, 245, 0.75);
    padding-bottom: 1.5rem;
    line-height: 1.7;
}

.faq-note {
    border-radius: 20px;
    padding: 1.75rem;
    background: linear-gradient(135deg, rgba(108, 43, 217, 0.22), rgba(34, 119, 255, 0.18));
    border: 1px solid rgba(158, 119, 255, 0.35);
    box-shadow: 0 10px 35px rgba(5, 0, 20, 0.35);
    color: rgba(245, 241, 255, 0.9);
}

.faq-note p {
    margin: 0;
    line-height: 1.6;
}

.faq-note p:first-child {
    letter-spacing: 0.4em;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.75rem;
}
img {
  border: none;
}

/* Soft edge feathering to blend with dark background */
.hero-media {
    -webkit-mask-image: radial-gradient(140% 140% at 50% 50%, #000 55%, transparent 100%);
            mask-image: radial-gradient(140% 140% at 50% 50%, #000 55%, transparent 100%);
}

.hero-media::before {
    content: '';
    position: absolute;
    inset: -120px; /* 外扩，形成更明显的外部光晕 */
    border-radius: inherit;
    background:
      radial-gradient(ellipse at 30% 30%, rgba(147, 51, 234, 0.65) 0%, rgba(147, 51, 234, 0.15) 35%, transparent 60%),
      radial-gradient(ellipse at 70% 70%, rgba(59, 130, 246, 0.55) 0%, rgba(59, 130, 246, 0.15) 35%, transparent 60%);
    filter: blur(120px) saturate(1.2);
    opacity: 0; /* 默认不显示，避免常态过亮 */
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(120% 120% at 50% 50%, rgba(10,10,26,0) 55%, rgba(10,10,26,0.5) 100%),
        linear-gradient(180deg, rgba(10,10,26,0.0) 72%, rgba(10,10,26,0.35) 100%),
        linear-gradient(90deg, rgba(10,10,26,0.0) 78%, rgba(10,10,26,0.25) 100%),
        linear-gradient(270deg, rgba(10,10,26,0.0) 78%, rgba(10,10,26,0.25) 100%);
}

.hero-media:hover::before {
    opacity: 0.85; /* 悬浮时明显亮起 */
    transform: scale(1.03);
}
img {
  border: none;
}

.galaxy-stars-near {
  opacity: 0.82;
  filter: saturate(1.12) brightness(1.12);
  animation: twinkle 6.5s ease-in-out infinite alternate, starParallax 90s linear infinite;
}
.galaxy-stars-far {
  opacity: 0.55;
  filter: saturate(1.02) brightness(1.04);
  animation: twinkle 10s ease-in-out infinite alternate, starParallax 240s linear infinite;
}
.galaxy-orbits {
  opacity: 0.25;
  mix-blend-mode: screen;
  filter: blur(50px) saturate(1.05);
  animation: orbitSpin 160s linear infinite;
  background:
    radial-gradient(520px 520px at 20% 32%, transparent 64%, rgba(255,255,255,0.12) 66%, transparent 69%),
    radial-gradient(460px 460px at 75% 25%, transparent 62%, rgba(147,51,234,0.12) 64%, transparent 67%),
    radial-gradient(680px 680px at 50% 70%, transparent 66%, rgba(59,130,246,0.10) 68%, transparent 71%),
    radial-gradient(820px 820px at 82% 62%, transparent 69%, rgba(255,180,160,0.08) 71%, transparent 74%);
}
.galaxy-comet {
  position: absolute;
  width: 320px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(147,51,234,0.45) 55%, rgba(59,130,246,0.0) 100%);
  border-radius: 2px;
  mix-blend-mode: screen;
  filter: blur(0.6px) drop-shadow(0 0 6px rgba(255,255,255,0.65)) drop-shadow(0 0 18px rgba(147,51,234,0.35));
}
.comet-1 { top: 22%; left: -18%; animation: cometPath1 45s linear infinite; }
.comet-2 { top: 66%; left: -22%; animation: cometPath2 60s linear infinite; animation-delay: 9s; }

/* Warp light band container */
.galaxy-warp-lines { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; overflow: hidden; }
.warp-lines-1 {
  opacity: 0.22;
  filter: saturate(1.08) brightness(1.04) blur(0.3px);
  background:
    repeating-linear-gradient(90deg, rgba(147, 51, 234, 0.22) 0 2px, transparent 2px 22px),
    repeating-linear-gradient(90deg, rgba(59, 130, 246, 0.18) 0 1px, transparent 1px 18px);
  animation: warpMove 28s linear infinite;
}
.warp-lines-2 {
  opacity: 0.18;
  filter: saturate(1.04) brightness(1.02) blur(0.4px);
  background:
    repeating-linear-gradient(90deg, rgba(255, 200, 160, 0.15) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(147, 51, 234, 0.18) 0 2px, transparent 2px 30px);
  animation: warpMove 45s linear infinite reverse;
}

/* Multi nebula layers */
.galaxy-nebula-layer-1,
.galaxy-nebula-layer-2,
.galaxy-nebula-layer-3 { position: absolute; inset: 0; mix-blend-mode: screen; filter: blur(70px) saturate(1.18); }
.galaxy-nebula-layer-1 {
  opacity: 0.50;
  animation: nebulaPulse 12s ease-in-out infinite alternate, nebulaDrift 200s ease-in-out infinite;
  background:
    radial-gradient(1400px 900px at 12% 24%, rgba(147, 51, 234, 0.32), transparent 60%),
    radial-gradient(1100px 800px at 78% 18%, rgba(59, 130, 246, 0.28), transparent 62%),
    radial-gradient(800px 600px at 38% 82%, rgba(255, 180, 160, 0.18), transparent 70%);
}
.galaxy-nebula-layer-2 {
  opacity: 0.42;
  animation: nebulaPulse 16s ease-in-out infinite alternate, nebulaDrift 240s ease-in-out infinite;
  background:
    radial-gradient(1200px 800px at 20% 72%, rgba(106, 58, 177, 0.28), transparent 62%),
    radial-gradient(900px 700px at 68% 65%, rgba(59, 130, 246, 0.24), transparent 66%),
    radial-gradient(950px 750px at 88% 40%, rgba(255, 210, 190, 0.12), transparent 70%);
}
.galaxy-nebula-layer-3 {
  opacity: 0.36;
  animation: nebulaPulse 20s ease-in-out infinite alternate, nebulaDrift 280s ease-in-out infinite;
  background:
    radial-gradient(1500px 950px at 6% 44%, rgba(147, 51, 234, 0.26), transparent 65%),
    radial-gradient(1300px 900px at 86% 86%, rgba(59, 130, 246, 0.22), transparent 66%),
    radial-gradient(1200px 800px at 50% 50%, rgba(255, 170, 150, 0.12), transparent 70%);
}

/* Tune existing layers slightly for consistency */
.galaxy-liquid { opacity: 0.28; }
.galaxy-orbits { opacity: 0.20; }

@media (max-width: 640px) {
  .galaxy-nebula-layer-1 { opacity: 0.44; }
  .galaxy-nebula-layer-2 { opacity: 0.36; }
  .galaxy-nebula-layer-3 { opacity: 0.30; }
  .warp-lines-1 { opacity: 0.18; }
  .warp-lines-2 { opacity: 0.14; }
}

/* Condensed header: reduce visual bar height without changing logo size */
header.header-condensed {
  height: 64px; /* mobile */
  overflow: visible;
  display: flex;
  align-items: center;
}
@media (min-width: 768px) {
  header.header-condensed { height: 72px; }
}
header.header-condensed .container { padding-top: 0; padding-bottom: 0; }
header.header-condensed img.logo-shift { display: block; transform: translateY(-4px); }

/* ͸����ͷ�� */
header.header-transparent {
  background: rgba(10, 10, 26, 0.48);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* Real-time Backtesting card */
.rtbt-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.40),
    0 4px 12px rgba(0, 0, 0, 0.25);
}
.rtbt-card::after {
  content: '';
  position: absolute;
  inset: -80px;
  border-radius: 300px;
  background: radial-gradient(circle, rgba(190,160,255,0.55), rgba(94,52,150,0.45), transparent 95%);
  filter: blur(90px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.rtbt-card:hover {
  transform: translateY(-4px);
}
.rtbt-card:hover::after {
  opacity: 1;
}
.rtbt-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 12px;
}
.rtbt-info p {
  margin: 0 0 4px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.rtbt-info h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}
.rtbt-graph {
  flex: 1;
  position: relative;
  margin-top: 4px;
}
.rtbt-graph svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.rtbt-line {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: rtbt-move 5s linear infinite;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.25));
  will-change: stroke-dashoffset;
}
.rtbt-line1 {
  stroke: #a855f7;
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.45));
}
.rtbt-line2 {
  stroke: #60a5fa;
  animation-delay: 0s;
  filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.45));
}
.rtbt-grid-line {
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1;
  shape-rendering: crispEdges;
}
.rtbt-time {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  margin-top: 8px;
}
@keyframes rtbt-move {
  0% { stroke-dashoffset: 300; }
  100% { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rtbt-line {
    animation: none;
    stroke-dashoffset: 0;
  }
}
