/* TokenPocket 主样式文件 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局图片清晰度优化 */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
    padding: 0 15px;
}

.col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
    padding: 0 15px;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.pointer {
    cursor: pointer;
}

/* 警告横幅 */
.warn-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 0;
    text-align: center;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #eee;
}

.warn-container img {
    height: 20px;
    vertical-align: middle;
    margin-right: 10px;
}

.warn-container .bold {
    font-weight: bold;
}

.learn {
    color: #2980fe;
    text-decoration: none;
    margin-left: 10px;
    font-weight: 500;
}

.learn:hover {
    text-decoration: underline;
}

/* 主背景 */
.header-bg {
    background: url('../images/bg.2713697.png') no-repeat center;
    background-size: cover;
    min-height: 720px;
    position: relative;
}

/* 导航栏 */
.navbar-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.navbar-logo img {
    height: 40px;
}

.navbar-tab-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-title {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-title:hover {
    color: #2980fe;
}

/* 主标题区域 */
.HomeHeader {
    text-align: center;
    padding: 100px 0;
    color: #333;
}

.HomeHeader h1 {
    font-size: 45px;
    margin-bottom: 20px;
    font-weight: normal;
    letter-spacing: 5px;
    color: #333;
}

.HomeHeader h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #666;
    font-weight: normal;
}

.home-download {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-left: 20px;
    margin-bottom: 60px;
}

.home-download-btn {
    background: #2980fe;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 40px 0 rgba(0, 77, 255, 0.1);
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

/* 确保按钮内容水平排列 */
.home-download-btn[data-v-13992c98] {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.home-download-btn:hover {
    background: #1e6fd8;
    transform: translateY(-2px);
    box-shadow: 0 8px 50px 0 rgba(0, 77, 255, 0.2);
}

/* 按钮图标 */
.home-download-btn i {
    width: 20px;
    height: 20px;
    display: inline-block;
}

.home-download-btn.app i {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M17 1.01L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z"/></svg>') no-repeat center/contain;
}

.home-download-btn.extension i {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M20.5 11H19V7c0-1.1-.9-2-2-2h-4V3.5C13 2.12 11.88 1 10.5 1S8 2.12 8 3.5V5H4c-1.1 0-1.99.9-1.99 2v3.8H3.5c1.49 0 2.7 1.21 2.7 2.7s-1.21 2.7-2.7 2.7H2V20c0 1.1.9 2 2 2h3.8v-1.5c0-1.49 1.21-2.7 2.7-2.7 1.49 0 2.7 1.21 2.7 2.7V22H17c1.1 0 2-.9 2-2v-4h1.5c1.38 0 2.5-1.12 2.5-2.5S21.88 11 20.5 11z"/></svg>') no-repeat center/contain;
}

.home-download-btn.pc i {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M20 3H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h3l-1 1v1h12v-1l-1-1h3c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 13H4V5h16v11z"/></svg>') no-repeat center/contain;
}

/* 白色边框按钮样式 */
.home-download-btn-outline {
    background: transparent !important;
    color: #333 !important;
    border: 2px solid #333 !important;
}

.home-download-btn-outline:hover {
    background: #333 !important;
    color: white !important;
}

.home-download-btn-outline.pc i {
    /* 设备样式图标（与参考图一致，带屏幕和圆形按钮） */
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="6" y="3" width="12" height="18" rx="2.5" ry="2.5" fill="none" stroke="%23337FF3" stroke-width="1.8"/><rect x="8.5" y="6.2" width="7" height="8.5" rx="0.8" fill="none" stroke="%23337FF3" stroke-width="1.6"/><circle cx="12" cy="17.3" r="1.1" fill="none" stroke="%23337FF3" stroke-width="1.6"/></svg>') no-repeat center/20px 20px !important;
}

.home-download-btn-outline:hover.pc i {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="6" y="3" width="12" height="18" rx="2.5" ry="2.5" fill="white" stroke="white" stroke-width="1.8"/><rect x="8.5" y="6.2" width="7" height="8.5" rx="0.8" fill="none" stroke="white" stroke-width="1.6"/><circle cx="12" cy="17.3" r="1.1" fill="none" stroke="white" stroke-width="1.6"/></svg>') no-repeat center/20px 20px !important;
}

.home-app-img {
    max-width: 600px;
    margin: 0 auto;
}

.home-app-img img {
    max-width: 100%;
    height: auto;
    /* 修复图片模糊问题 */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* 介绍部分 */
.HomeIntroduction {
    padding: 120px 0;
    background: white;
}

.HomeIntroduction h2 {
    font-size: 44px;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-weight: 600;
}

.HomeIntroduction p {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
    line-height: 1.8;
}

.blockchain-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 80px;
}

.blockchain-logo {
    width: 60px;
    height: 60px;
    transition: transform 0.3s;
    border-radius: 8px;
    /* 修复图片模糊问题 */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    /* 确保图片清晰显示 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.blockchain-logo:hover {
    transform: scale(1.1);
}

.github-btn {
    background: #333;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.github-btn:hover {
    background: #555;
    transform: translateY(-1px);
}

.github-logo {
    width: 16px;
    height: 16px;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjU4IDAgMCAzLjU4IDAgOEMwIDExLjU0IDIuMjkgMTQuNTMgNS40NyAxNS41OUM1Ljg3IDE1LjY2IDYgMTUuNDIgNiAxNS4yMUM2IDE1LjAyIDYgMTQuMzkgNiAxMy43MkM0LjE1IDEzLjk5IDMuNzMgMTMuMzYgMy42IDEzLjA5QzMuNTIgMTIuOTUgMy4yNyAxMi43NiAzLjAyIDEyLjYyQzIuNzggMTIuNDggMi41MyAxMi4yNyAyLjUzIDEyLjI3QzIuNTMgMTIuMjcgMi43OCAxMi40OCAzLjAyIDEyLjYyQzMuMjcgMTIuNzYgMy41MiAxMi45NSAzLjYgMTMuMDlDMy43MyAxMy4zNiA0LjE1IDEzLjk5IDYgMTMuNzJDNiAxNC4zOSA2IDE1LjAyIDYgMTUuMjFDNiAxNS40MiA1Ljg3IDE1LjY2IDUuNDcgMTUuNTlDMi4yOSAxNC41MyAwIDExLjU0IDAgOEMwIDMuNTggMy41OCAwIDggMFoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo=') no-repeat center;
    background-size: contain;
}

/* 生态部分 */
.HomeEcology {
    padding: 120px 0;
    background: #f8f9fa;
}

.HomeEcology h2 {
    font-size: 44px;
    margin-bottom: 30px;
    color: #333;
    font-weight: 600;
}

.ecology-text p {
    font-size: 18px;
    color: #666;
    margin-bottom: 15px;
}

.ecology-join {
    display: flex;
    gap: 20px;
    margin: 40px 0;
}

.ecology-join a {
    background: #2980fe;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.ecology-join a:hover {
    background: #1e6fd8;
    transform: translateY(-1px);
}

.ecology-methods {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.ecology-methods-item {
    text-align: center;
    flex: 1;
}

.ecology-methods-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.ecology-methods-item img:hover {
    transform: scale(1.05);
}

.ecology-methods-item p {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.ecology-r {
    text-align: center;
    position: relative;
}

.ecology-mobile, .ecology-pc {
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    display: block;
    /* 修复图片模糊问题 */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 20px;
}

/* 开发者部分 */
.HomeDevelop {
    padding: 120px 0;
    background: white;
}

.develop-title {
    font-size: 44px;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
    font-weight: 600;
}

.HomeDevelop h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.HomeDevelop p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.develop-endpoint-item {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.develop-endpoint-item a {
    color: #2980fe;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.develop-endpoint-item a:hover {
    text-decoration: underline;
}

.develop-endpoint-item span {
    color: #666;
    font-size: 14px;
    margin-top: 8px;
    display: block;
}

/* 关注我们 */
.HomeFollow {
    padding: 74px 0 68px;
    background: url('../images/follow-bg.f4259fb.png') no-repeat center;
    background-size: cover;
    text-align: center;
}

.HomeFollow h2 {
    font-size: 44px;
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
}

.follow-logo {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.follow-logo-item a {
    display: block;
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s;
    border-radius: 8px;
}

.follow-logo-item a:hover {
    transform: scale(1.1);
}

/* 页脚 */
.FooterLayout {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-wrap {
    margin-bottom: 40px;
}

.footer-list {
    margin-bottom: 30px;
}

.footer-list h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}

.footer-link {
    margin-bottom: 8px;
}

.footer-list a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    line-height: 2;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: #2980fe;
}

.footer-email {
    display: flex;
    margin-top: 15px;
    border-radius: 6px;
    overflow: hidden;
}

.footer-email input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

.footer-email span {
    background: #2980fe;
    color: white;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.footer-email span:hover {
    background: #1e6fd8;
}

.footer-info {
    border-top: 1px solid #555;
    padding: 20px 0;
    font-size: 14px;
    color: #999;
}

/* 响应式显示控制 */
.mobile-site {
    display: none;
}

.pc-site {
    display: inline-block;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .col-lg-5, .col-lg-7 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    /* 移动端显示控制 */
    .pc-site {
        display: none !important;
    }

    .mobile-site {
        display: inline-block !important;
    }

    .HomeHeader h1 {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .HomeHeader h3 {
        font-size: 18px;
    }

    .home-download {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .navbar-tab-list {
        display: none;
    }
    
    .blockchain-list {
        gap: 15px;
    }
    
    .blockchain-logo {
        width: 45px;
        height: 45px;
    }
    
    .ecology-methods {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .follow-logo {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .HomeIntroduction,
    .HomeEcology,
    .HomeDevelop {
        padding: 60px 0;
    }

    .ecology-mobile, .ecology-pc {
        max-width: 300px;
        margin: 20px auto;
    }

    .ecology-r {
        margin-top: 40px;
    }
    
    .HomeIntroduction h2,
    .HomeEcology h2,
    .develop-title {
        font-size: 28px;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .footer-info .row {
        flex-direction: column;
        gap: 10px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.HomeHeader,
.HomeIntroduction,
.HomeEcology,
.HomeDevelop,
.HomeFollow {
    animation: fadeInUp 0.8s ease-out;
}

/* 按钮通用样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #2980fe;
    color: white;
}

.btn-primary:hover {
    background: #1e6fd8;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}
