 :root {
     --bg: #0e0f13;
     --fg: #e7e9ee;
     --muted: #a8adbb;
     --card: #14161d;
     --border: #2a2f3a;
     --accent: #7fffd4;
     /* aquamarine */
     --accent-2: #a78bfa;
     /* soft violet */
     --accent-3: #60a5fa;
     /* blue */
     --danger: #ff6b6b;
     --ok: #30d158;
     --shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
     --radius: 16px;
     --grad-hero: radial-gradient(1200px 600px at 10% -10%,
             rgba(96, 165, 250, 0.25),
             transparent 60%),
         radial-gradient(1000px 500px at 110% 10%,
             rgba(167, 139, 250, 0.22),
             transparent 60%),
         radial-gradient(800px 400px at 50% 120%,
             rgba(127, 255, 212, 0.18),
             transparent 60%),
         linear-gradient(180deg, #0c0d11, #0e0f13 30%);
     --font-sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
         Helvetica, Arial, "Noto Sans SC", "PingFang SC", "Hiragino Sans GB",
         "Microsoft YaHei", sans-serif;
 }

 html {
     scroll-behavior: smooth;
 }

 body {
     margin: 0;
     background: var(--bg);
     color: var(--fg);
     font-family: var(--font-sans);
     line-height: 1.55;
 }

 .ribbon {
     text-align: center;
     background: linear-gradient(90deg,
             rgba(96, 165, 250, 0.15),
             rgba(167, 139, 250, 0.15));
     border-bottom: 1px solid var(--border);
     padding: 0.65rem 1rem;
     font-size: 0.95rem;
     color: var(--muted);
 }

 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
 }

 /* Nav */
 .nav {
     position: sticky;
     top: 0;
     z-index: 50;
     backdrop-filter: saturate(1.2) blur(10px);
     background: rgba(12, 13, 17, 0.6);
     border-bottom: 1px solid var(--border);
 }

 .nav-inner {
     display: flex;
     align-items: center;
     justify-content: space-between;
     height: 64px;
 }

 .brand {
     display: flex;
     align-items: center;
     gap: 0.75rem;
     text-decoration: none;
     color: var(--fg);
 }

 .logo {
     width: 28px;
     height: 28px;
     display: grid;
     place-items: center;
     border-radius: 10px;
     background: conic-gradient(from 220deg,
             #60a5fa,
             #a78bfa,
             #7fffd4,
             #60a5fa);
     box-shadow: var(--shadow);
 }

 .brand strong {
     letter-spacing: 0.2px;
     font-size: 1.05rem;
 }

 .nav-links {
     display: flex;
     gap: 1rem;
 }

 .nav-links a {
     color: var(--muted);
     text-decoration: none;
     font-size: 0.95rem;
     padding: 0.5rem 0.7rem;
     border-radius: 10px;
 }

 .nav-links a:hover,
 .nav-links a:focus {
     color: var(--fg);
     background: rgba(96, 165, 250, 0.1);
     outline: none;
 }

 .nav-cta {
     display: flex;
     gap: 0.5rem;
 }

 .btn {
     border: 1px solid var(--border);
     background: #12131a;
     color: var(--fg);
     padding: 0.6rem 0.9rem;
     border-radius: 999px;
     text-decoration: none;
     display: inline-flex;
     align-items: center;
     gap: 0.5rem;
     box-shadow: none;
 }

 .btn:hover {
     border-color: #3a4152;
     background: #151823;
 }

 .btn.accent {
     border-color: rgba(127, 255, 212, 0.45);
     background: linear-gradient(180deg,
             rgba(127, 255, 212, 0.22),
             rgba(96, 165, 250, 0.15));
 }

 .btn.accent:hover {
     background: linear-gradient(180deg,
             rgba(127, 255, 212, 0.28),
             rgba(96, 165, 250, 0.2));
 }

 .hamburger {
     display: none;
     background: none;
     border: none;
     color: var(--fg);
     font-size: 1.1rem;
 }

 @media (max-width: 980px) {
     .nav-links {
         display: none;
     }

     .hamburger {
         display: block;
     }
 }

 .mobile-menu {
     display: none;
     border-top: 1px solid var(--border);
     background: #0f1116;
 }

 .mobile-menu a {
     display: block;
     padding: 12px 20px;
     color: var(--muted);
     text-decoration: none;
     border-bottom: 1px solid var(--border);
 }

 .mobile-menu a:hover {
     background: #151823;
     color: var(--fg);
 }

 /* Hero */
 .hero {

     padding: 0px 0 48px;
 }

 .hero .grid {
     display: grid;
     grid-template-columns: 1.1fr 0.9fr;
     gap: 2rem;
     align-items: center;
 }

 @media (max-width: 980px) {
     .hero .grid {
         grid-template-columns: 1fr;
     }
 }

 .eyebrow {
     color: var(--accent);
     font-weight: 600;
     letter-spacing: 0.18em;
     text-transform: uppercase;
     font-size: 0.8rem;
 }

 .title {
     font-size: clamp(2rem, 4vw, 3rem);
     margin: 0.4rem 0 0.6rem;
     line-height: 1.15;
 }

 .subtitle {
     color: var(--muted);
     font-size: 1.05rem;
     max-width: auto;
 }

 .hero-cta {
     margin-top: 1.2rem;
     display: flex;
     gap: 0.75rem;
     flex-wrap: wrap;
 }

 .glass {
     background: rgb(27, 22, 34, var(--tw-bg-opacity));
     border: 1px solid;
     border-image: linear-gradient(to bottom, #a259ec 0%, #00fff7 50%, #3b82f6 100%) 1;
     border-radius: var(--radius);
     box-shadow: var(--shadow);
 }

 .statbar {
     margin-top: 28px;
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 1rem;
 }

 @media (max-width: 780px) {
     .statbar {
         grid-template-columns: 1fr;
     }
 }

 .stat {
     padding: 16px 18px;
 }

 .stat h3 {
     margin: 0;
     font-size: 1.5rem;
 }

 .stat p {
     margin: 0.35rem 0 0;
     color: var(--muted);
     font-size: 0.95rem;
 }

 .hero-card {
     padding: 22px;
 }

 .badge {
     display: inline-flex;
     align-items: center;
     gap: 0.5rem;
     font-size: 0.85rem;
     color: var(--muted);
 }

 /* Sections */
 section {
     padding: 72px 0;
 }

 .section-title {
     font-size: clamp(1.5rem, 3vw, 2rem);
     margin: 0 0 0.75rem;
 }

 .lead {
     color: var(--muted);
     max-width: 70ch;
 }

 .grid-3 {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 1rem;
 }

 .grid-2 {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 1rem;
 }

 @media (max-width: 980px) {

     .grid-3,
     .grid-2 {
         grid-template-columns: 1fr;
     }
 }

 .card {
     background: linear-gradient(213deg, hsla(0, 0%, 100%, .03), hsla(0, 0%, 100%, .05) 49.48%, hsla(0, 0%, 100%, .03));
     border: 1px solid var(--border);
     border-radius: var(--radius);
     padding: 20px;
     box-shadow: var(--shadow);
 }

 .card h4 {
     margin: 0.2rem 0 0.35rem;
 }

 .meta {
     color: var(--muted);
     font-size: 0.9rem;
 }

 /* Architecture mini diagram */
 .diagram {
     display: grid;
     gap: 12px;
     grid-template-columns: 1fr 40px 1fr;
     align-items: center;
 }

 .box {
     padding: 14px;
     border: 1px dashed #394257;
     border-radius: 12px;
     background: linear-gradient(180deg,
             rgba(24, 28, 38, 0.6),
             rgba(18, 21, 30, 0.6));
 }

 .arrow {
     text-align: center;
     color: #55607a;
     font-size: 1.6rem;
 }

 /* Timeline */
 .timeline {
     position: relative;
     margin-left: 6px;
 }

 .timeline::before {
     content: "";
     position: absolute;
     left: 10px;
     top: 0;
     bottom: 0;
     width: 2px;
     background: #2a3140;
 }

 .t-item {
     position: relative;
     padding-left: 36px;
     padding-bottom: 18px;
 }

 .t-dot {
     position: absolute;
     left: 3px;
     top: 6px;
     width: 14px;
     height: 14px;
     background: var(--accent-3);
     border-radius: 999px;
     box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.22);
 }

 /* Code block */
 pre {
     margin: 0;
     background: #0f1320;
     color: #e7e9ee;
     padding: 14px;
     border: 1px solid #293049;
     border-radius: 12px;
     overflow: auto;
 }

 code {
     font-family: ui-monospace, SFMono-Regular, Menlo, Consolas,
         "Liberation Mono", monospace;
     font-size: 0.92rem;
 }

 /* FAQ */
 details {
     background: var(--card);
     border: 1px solid var(--border);
     border-radius: 12px;
     padding: 14px 16px;
 }

 details+details {
     margin-top: 10px;
 }

 summary {
     cursor: pointer;
     font-weight: 600;
 }

 summary::-webkit-details-marker {
     display: none;
 }

 /* Footer */
 footer {
     border-top: 1px solid var(--border);
     background: #0c0d11;
     color: var(--muted);
 }

 .footer-grid {
     display: grid;
     grid-template-columns: 1.1fr 0.9fr;
     gap: 1rem;
     padding: 32px 0;
 }

 @media (max-width: 980px) {
     .footer-grid {
         grid-template-columns: 1fr;
     }
 }

 .legal {
     font-size: 0.85rem;
 }

 /* Utility */
 .hidden {
     display: none !important;
 }

 .presale-address-container {
     max-width: 600px;
     margin: 20px auto;
     padding: 20px;
     background: linear-gradient(135deg, #451e72 0%, #2a5298 100%);
     border-radius: 16px;
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
     border: 1px solid rgba(255, 255, 255, 0.1);
     position: relative;
     /* 添加相对定位 */
     z-index: 10;
     /* 确保层级 */
 }

 .presale-address-title {
     text-align: center;
     color: #7ec6ff;
     font-size: 24px;
     font-weight: 600;
     margin-bottom: 20px;
     text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
 }

 /* 关键容器：按钮在前，地址在后；避免横向滚动 */
 .address-input-group {
     display: flex;
     align-items: flex-start;
     gap: 8px;
     background: rgba(255, 255, 255, 0.1);
     border-radius: 12px;
     padding: 8px;
     margin-bottom: 16px;
     border: 1px solid rgba(255, 255, 255, 0.2);
     max-width: 100%;
     position: relative;
     /* 添加相对定位 */
     z-index: 5;
     /* 确保层级 */
 }

 /* 用可换行块替换 input：长串地址可自动换行 */
 .address-display {
     flex: 1;
     min-width: 0;
     /* 避免被内容撑开导致横向滚动 */
     background: transparent;
     color: #ffffff;
     font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
     font-size: 20px;
     line-height: 1.55;
     padding: 10px 12px;
     border-radius: 8px;
     user-select: text;
     cursor: pointer;

     /* 核心：让无空格的长串可在任意位置断行 */
     white-space: normal;
     word-break: break-all;
     /* 尽可能断开任何点 */
     overflow-wrap: anywhere;
     /* 现代浏览器优先 */
 }

 .copy-button {
     background: #00000034 !important;
     /* 强制显示背景 */
     border: none !important;
     border-radius: 8px;
     padding: 12px;
     cursor: pointer;
     transition: all 0.3s ease;
     display: flex !important;
     /* 强制显示 */
     align-items: center;
     justify-content: center;
     min-width: 48px;
     height: 48px;
     flex: 0 0 auto;
     position: relative;
     /* 添加相对定位 */
     z-index: 20;
     /* 最高层级 */
     visibility: visible !important;
     /* 强制可见 */
     opacity: 1 !important;
     /* 强制不透明 */
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
     /* 添加阴影突出显示 */
 }

 .copy-button:hover {
     background: #333333;
     transform: translateY(-2px);
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
 }

 .copy-button:active {
     transform: translateY(0);
 }

 .copy-icon {
     width: 20px;
     height: 20px;
     color: #ffffff;
 }

 .copy-options {
     display: flex;
     justify-content: center;
     gap: 12px;
 }

 .copy-address-btn {
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     border: none;
     border-radius: 25px;
     color: #ffffff;
     padding: 12px 24px;
     font-size: 16px;
     font-weight: 500;
     cursor: pointer;
     transition: all 0.3s ease;
     display: flex;
     align-items: center;
     gap: 8px;
     box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
 }

 .copy-address-btn:hover {
     transform: translateY(-2px);
     box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
 }

 .copy-address-btn:active {
     transform: translateY(0);
 }

 .btn-icon {
     width: 18px;
     height: 18px;
 }

 /* 响应式 */
 @media (max-width: 768px) {
     .presale-address-container {
         margin: 15px;
         padding: 16px;
     }

     .presale-address-title {
         font-size: 20px;
         margin-bottom: 16px;
     }

     /* 移动端改为纵向：按钮在上、地址在下（按钮仍“在前面”） */
     .address-input-group {
         flex-direction: column;
         align-items: stretch;
         gap: 8px;
     }

     .copy-button {
         width: 100%;
         min-width: auto;
         height: 40px;
     }

     .address-display {
         font-size: 20px;
         padding: 10px 12px;
         text-align: center;
     }

     .copy-options {
         flex-direction: column;
         align-items: center;
     }

     .copy-address-btn {
         width: 100%;
         max-width: 280px;
         justify-content: center;
     }
 }

 @media (max-width: 480px) {
     .presale-address-container {
         margin: 10px;
         padding: 12px;
     }

     .presale-address-title {
         font-size: 18px;
     }

     .copy-button {
         height: 36px;
     }

     .copy-address-btn {
         padding: 10px 20px;
         font-size: 14px;
     }
 }

 /* 复制成功动画 */
 .copy-success {
     animation: copySuccess 0.6s ease-in-out;
 }

 @keyframes copySuccess {
     0% {
         transform: scale(1);
     }

     50% {
         transform: scale(1.06);
     }

     100% {
         transform: scale(1);
     }
 }

 /* 工具提示 */
 .tooltip {
     position: relative;
 }

 .tooltip::after {
     content: attr(data-tooltip);
     position: absolute;
     bottom: 100%;
     left: 50%;
     transform: translateX(-50%);
     background: rgba(0, 0, 0, 0.8);
     color: white;
     padding: 6px 12px;
     border-radius: 6px;
     font-size: 12px;
     white-space: nowrap;
     opacity: 0;
     visibility: hidden;
     transition: all 0.2s ease;
     z-index: 1000;
 }

 .tooltip:hover::after {
     opacity: 1;
     visibility: visible;
 }

 /* 路线图样式 */
 .roadmap-section {
     padding: 80px 0;
     /*  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);*/
     position: relative;
     overflow: hidden;
 }

 /*.roadmap-section::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
     opacity: 0.5;
 }*/
 .detail-description {
     white-space: pre-line;
     /* 保留换行符并自动换行 */
     /* 或者使用 */
     white-space: pre-wrap;
     /* 保留换行符和空格 */
 }

 .roadmap-header {
     text-align: center;
     margin-bottom: 60px;
     position: relative;
     z-index: 2;
 }

 .roadmap-title {
     font-size: 3rem;
     font-weight: 700;
     background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     margin-bottom: 16px;
     letter-spacing: -0.02em;
 }

 .roadmap-subtitle {
     font-size: 1.25rem;
     color: #a8adbb;
     font-weight: 400;
     opacity: 0.8;
 }

 .roadmap-container {
     position: relative;
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
 }

 /* 时间轴样式 */
 .timeline {
     position: relative;
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 40px;
     padding: 0 60px;
 }

 .timeline-line {
     position: absolute;
     top: 50%;
     left: 0;
     right: 0;
     height: 2px;
     background: linear-gradient(90deg,
             rgba(255, 255, 255, 0.1) 0%,
             rgba(255, 255, 255, 0.3) 50%,
             rgba(255, 255, 255, 0.1) 100%);
     transform: translateY(-50%);
     z-index: 1;
 }

 .timeline-node {
     position: relative;
     z-index: 3;
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .timeline-node:hover .node-circle {
     transform: scale(1.1);
     box-shadow: 0 0 30px rgba(126, 198, 255, 0.4);
 }

 .node-circle {
     width: 80px;
     height: 80px;
     border-radius: 50%;
     background: linear-gradient(135deg, #2a5298 0%, #451e72 100%);
     border: 3px solid rgba(255, 255, 255, 0.2);
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     transition: all 0.3s ease;
     position: relative;
 }

 .node-circle.active {
     width: 100px;
     height: 100px;
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     border-color: #7ec6ff;
     box-shadow: 0 0 40px rgba(126, 198, 255, 0.6);
 }

 .node-circle.active::before {
     content: '';
     position: absolute;
     top: -10px;
     left: -10px;
     right: -10px;
     bottom: -10px;
     border-radius: 50%;
     background: linear-gradient(135deg, rgba(126, 198, 255, 0.3), rgba(118, 75, 162, 0.3));
     z-index: -1;
     animation: pulse 2s infinite;
 }

 @keyframes pulse {
     0% {
         transform: scale(1);
         opacity: 1;
     }

     50% {
         transform: scale(1.1);
         opacity: 0.7;
     }

     100% {
         transform: scale(1);
         opacity: 1;
     }
 }

 .node-circle .year {
     font-size: 12px;
     font-weight: 600;
     color: #7ec6ff;
     line-height: 1;
 }

 .node-circle .month {
     font-size: 14px;
     font-weight: 700;
     color: #ffffff;
     line-height: 1;
     margin-top: 2px;
 }

 .node-circle.active .year,
 .node-circle.active .month {
     color: #ffffff;
 }

 /* 导航箭头 */
 .timeline-navigation {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     display: flex;
     gap: 20px;
     z-index: 4;
 }

 .nav-arrow {
     width: 40px;
     height: 40px;
     border-radius: 50%;
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     border: none;
     color: white;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: all 0.3s ease;
     box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
 }

 .nav-arrow:hover {
     transform: scale(1.1);
     box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
 }

 .nav-arrow:active {
     transform: scale(0.95);
 }

 /* 详情框 */
 .timeline-detail {
     text-align: center;
     margin-top: 60px;
     position: relative;
     z-index: 2;
 }

 .detail-content {
     max-width: 600px;
     margin: 0 auto;
     padding: 40px;
     background: linear-gradient(135deg, rgba(102, 126, 234, 0) 0%, rgba(118, 75, 162, 0) 100%);
     border-radius: 20px;
     border: 1px solid;
     border-image: linear-gradient(to bottom, #a259ec 0%, #00fff7 50%, #3b82f6 100%) 1;

     box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);

 }


 .detail-title {
     font-size: 1.5rem;
     font-weight: 600;
     color: #7ec6ff;
     margin-bottom: 16px;
     line-height: 1.3;
 }

 .detail-description {
     font-size: 1rem;
     color: #a7c0ff;
     line-height: 1.6;
     opacity: 0.9;
 }

 /* 响应式设计 */
 @media (max-width: 768px) {
     .roadmap-title {
         font-size: 2rem;
     }

     .roadmap-subtitle {
         font-size: 1rem;
     }

     .timeline {
         padding: 0 20px;
         flex-wrap: wrap;
         gap: 20px;
         justify-content: center;
     }

     .timeline-line {
         display: none;
     }

     .node-circle {
         width: 60px;
         height: 60px;
     }

     .node-circle.active {
         width: 80px;
         height: 80px;
     }

     .node-circle .year {
         font-size: 10px;
     }

     .node-circle .month {
         font-size: 12px;
     }

     .timeline-navigation {
         position: static;
         transform: none;
         justify-content: center;
         margin-top: 30px;
     }

     .detail-content {
         padding: 30px 20px;
         margin: 0 0px;
     }

     .detail-title {
         font-size: 1.25rem;
     }

     .detail-description {
         font-size: 0.9rem;
     }
 }

 @media (max-width: 480px) {
     .roadmap-section {
         padding: 60px 0;
     }

     .roadmap-title {
         font-size: 1.75rem;
     }

     .timeline {
         gap: 15px;
     }

     .node-circle {
         width: 50px;
         height: 50px;
     }

     .node-circle.active {
         width: 70px;
         height: 70px;
     }

     .node-circle .year {
         font-size: 9px;
     }

     .node-circle .month {
         font-size: 11px;
     }

     .nav-arrow {
         width: 35px;
         height: 35px;
     }
 }