/* 全局样式 */
:root {
    --primary-color: #0052ff;
    --secondary-color: #f2a900;
    --dark-color: #10141f;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --body-bg: #f5f7fa;
    --card-bg: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --nav-bg: #13161f;
    --nav-text: #a9b5c7;
    --top-bar-bg: #0a0c14;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: var(--body-bg);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #0043cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 82, 255, 0.2);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #d99000;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(242, 169, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 18px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 14px;
}

/* 导航样式 */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--nav-bg);
}

/* 顶部栏样式 */
.top-bar {
    background-color: var(--top-bar-bg);
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--nav-text);
    font-size: 14px;
}

.language-select {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 5px;
}

.language-select:hover {
    color: white;
}

.top-links {
    display: flex;
    gap: 20px;
}

.top-links a {
    color: var(--nav-text);
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-links a:hover {
    color: white;
}

/* 主导航栏样式 */
.main-nav {
    background-color: var(--nav-bg);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
}

.nav-menu ul {
    display: flex;
    gap: 20px;
}

.nav-item {
    position: relative;
}

.nav-menu ul li a {
    font-weight: 500;
    color: var(--nav-text);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: white;
}

.nav-menu ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(to bottom, #1c2335, #121621);
    border-radius: 8px;
    padding: 5px;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.3, 0, 0.2, 1);
    z-index: 10;
    margin-top: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: var(--nav-text);
    transition: all 0.2s ease;
    white-space: nowrap;
    border-radius: 4px;
    margin: 2px;
    position: relative;
}

.dropdown-menu a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 20px;
}

.dropdown-menu a:hover:before {
    width: 3px;
    opacity: 1;
}

.dropdown-toggle .bi-chevron-down {
    font-size: 0.8em;
    transition: transform 0.3s ease;
    margin-left: 2px;
}

.dropdown-toggle:hover .bi-chevron-down,
.dropdown-toggle.active .bi-chevron-down {
    transform: rotate(180deg);
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

/* 移动菜单按钮 */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 10;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* 主横幅样式增强 */
.hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #2c3e50, #1a2533);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    opacity: 0.2;
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    width: 55%;
    padding-right: 30px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 .highlight {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.feature-item i {
    color: var(--secondary-color);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.download-options {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.download-options a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.download-options a:hover {
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ff3a3a;
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    transform: rotate(15deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

.hero-image {
    width: 45%;
    position: relative;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    animation: float 6s ease-in-out infinite;
    max-width: 100%;
}

.qr-code-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: float 5s ease-in-out infinite;
    animation-delay: 1s;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 100px;
    height: 100px;
    margin-bottom: 5px;
    animation: none;
}

.qr-code p {
    color: var(--dark-color);
    font-size: 12px;
    margin: 0;
    font-weight: 500;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

/* 按钮动画 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(242, 169, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(242, 169, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(242, 169, 0, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
    transform: scale(1);
}

/* 特点部分样式 */
.features {
    padding: 100px 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover, .feature-card.animated {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .exchange-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.feature-card.animated, .exchange-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--gray-color);
}

/* 关于部分样式 */
.about {
    padding: 100px 0;
    background-color: var(--body-bg);
}

.about .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-content {
    width: 55%;
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-title:after {
    left: 0;
    transform: none;
}

.about-content p {
    margin-bottom: 40px;
    color: var(--gray-color);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat p {
    color: var(--dark-color);
    font-weight: 500;
    margin-bottom: 0;
}

.about-image {
    width: 40%;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* 其他交易所部分样式 */
.exchanges {
    padding: 100px 0;
    background-color: white;
}

.exchanges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.exchange-card {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.exchange-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.exchange-logo {
    margin-bottom: 15px;
}

.exchange-logo img {
    height: 60px;
}

.exchange-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.exchange-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.exchange-buttons .btn {
    flex: 1;
    white-space: nowrap;
}

/* 其他交易所下拉菜单样式 */
.exchange-dropdown {
    min-width: 220px;
}

.menu-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

.exchange-dropdown a {
    display: flex;
    align-items: center;
}

.exchange-dropdown a:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.dropdown-menu a:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 20px;
}

/* 底部固定栏样式 */
.fixed-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(19, 22, 31, 0.95);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    padding: 12px 0;
    z-index: 99;
}

.bottom-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.bottom-buttons .btn {
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    font-size: 16px;
    font-weight: 600;
}

/* 移除不需要的样式 */
/* 
.btn-exchange {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--nav-text);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-exchange:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
}

.btn-exchange.active .bi-chevron-up {
    transform: rotate(180deg);
}

.exchange-dropdown-panel {
    background-color: #1a1e2a;
    position: absolute;
    left: 0;
    width: 100%;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    bottom: 100%;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.exchange-dropdown-panel.active {
    padding: 15px 0;
    max-height: 80px;
}

.exchange-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.exchange-icons a {
    display: block;
    transition: all 0.3s ease;
}

.exchange-icons a:hover {
    transform: translateY(-5px);
}

.exchange-icons img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
*/

/* 页脚样式 */
.footer {
    padding: 80px 0 30px;
    background-color: var(--dark-color);
    color: white;
    margin-bottom: 70px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    width: 25%;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #adb5bd;
    font-size: 14px;
}

.footer-links {
    width: 70%;
    display: flex;
    justify-content: space-between;
}

.footer-links-column h4 {
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links-column ul li {
    margin-bottom: 10px;
}

.footer-links-column ul li a {
    color: #adb5bd;
    font-size: 14px;
}

.footer-links-column ul li a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #6c757d;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 18px;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* 促销横幅 */
.promo-banner {
    background: linear-gradient(90deg, var(--secondary-color), #f57c00);
    color: white;
    padding: 10px 0;
    font-weight: 500;
    position: relative;
    z-index: 101;
}

.promo-banner.hidden {
    display: none;
}

.promo-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    animation: pulse 1.5s infinite;
}

.promo-text i {
    color: #fff;
    font-size: 18px;
}

.promo-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.promo-btn {
    background-color: white;
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.promo-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.close-promo {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.close-promo:hover {
    opacity: 1;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .promo-content {
        flex-direction: column;
        gap: 10px;
        padding: 5px 0;
    }
    
    .promo-text {
        text-align: center;
        font-size: 14px;
        padding: 0 20px;
    }
    
    .promo-buttons {
        margin-bottom: 5px;
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-nav {
        padding: 10px 0;
    }
    
    .navbar {
        position: relative;
    }
    
    /* 在移动端隐藏顶部导航的注册和下载按钮 */
    .nav-buttons {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--nav-bg);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 5;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none !important;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.2);
        margin: 10px 0 5px 20px;
        display: none;
        border-radius: 4px;
        border: none;
        min-width: 100%;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    .dropdown-menu.show {
        display: block;
        max-height: 500px;
        padding: 5px;
    }
    
    .dropdown-menu a {
        padding: 10px 15px;
        font-size: 14px;
        border-radius: 4px;
        border-left: 2px solid transparent;
    }
    
    .dropdown-menu a:hover {
        border-left: 2px solid var(--secondary-color);
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    .dropdown-menu a:before {
        display: none;
    }
    
    .nav-item a .bi-chevron-down {
        transition: transform 0.3s ease;
        margin-left: auto;
    }
    
    .dropdown-toggle.active .bi-chevron-down {
        transform: rotate(180deg);
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        width: 100%;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about .container {
        flex-direction: column;
    }
    
    .about-content, .about-image {
        width: 100%;
    }
    
    .about-content .section-title {
        text-align: center;
    }
    
    .about-content .section-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-image {
        margin-top: 40px;
    }
    
    .features-grid, .exchanges-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-logo, .footer-links {
        width: 100%;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .footer-links-column {
        width: 45%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .menu-icon {
        width: 16px;
        height: 16px;
    }
    
    .exchange-dropdown a {
        padding: 8px 12px;
    }
    
    .dropdown-menu a:hover {
        padding-left: 15px;
    }
}

@media (max-width: 576px) {
    .nav-menu ul {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .nav-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links-column {
        width: 100%;
    }
    
    .fixed-bottom {
        padding: 10px 0;
    }
    
    .bottom-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .bottom-buttons .btn {
        width: 100%;
    }
} 

/* 浮动操作按钮 */
.floating-actions {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 99;
}

.floating-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--secondary-color), #f57c00);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.floating-btn:first-child {
    background: linear-gradient(135deg, var(--primary-color), #0043cc);
}

.floating-btn i {
    font-size: 14px;
    margin-bottom: 0;
    z-index: 2;
}

.floating-btn span {
    font-size: 10px;
    font-weight: 600;
    z-index: 2;
}

.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: scale(0);
    opacity: 0;
    transition: all 0.5s ease;
}

.floating-btn:hover::before {
    transform: scale(2);
    opacity: 1;
}

@media (max-width: 768px) {
    .floating-actions {
        display: none; /* 在移动设备上隐藏浮动按钮，因为已有底部固定栏 */
    }
} 

/* 交易所导航栏 */
.exchanges-nav {
    padding: 30px 0 50px;
    background: linear-gradient(to bottom, #f8f9fa, #eef1f5);
    position: relative;
    z-index: 3;
}

.exchanges-heading {
    text-align: center;
    margin-bottom: 30px;
}

.exchanges-heading h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
}

.exchanges-heading h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.exchanges-heading p {
    color: var(--gray-color);
    font-size: 16px;
}

.exchanges-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
}

.exchange-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #eaedf2;
    height: 100%;
}

.exchange-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #d1d7e0;
}

.exchange-card.featured {
    border: 2px solid var(--secondary-color);
    background: linear-gradient(to bottom right, #fffdf7, white);
    grid-column: auto;
    max-width: none;
    margin: 0;
}

.exchange-card.featured:hover {
    transform: translateY(-5px);
}

.card-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(90deg, var(--secondary-color), #f57c00);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.exchange-logo {
    margin-bottom: 15px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exchange-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.exchange-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.exchange-description {
    color: var(--gray-color);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.exchange-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    width: 100%;
}

.exchange-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    text-align: left;
}

.exchange-features i {
    color: #28a745;
    flex-shrink: 0;
}

.exchange-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-top: auto;
}

.exchange-card .btn {
    padding: 8px 0;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exchange-card .btn-outline {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

.exchange-card .btn-outline:hover {
    background-color: var(--secondary-color);
    color: white;
}

@media (max-width: 992px) {
    .exchanges-slider {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .exchange-card.featured {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .exchanges-slider {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        overflow-x: hidden;
        padding-bottom: 10px;
    }
    
    .exchange-card {
        min-width: auto;
    }
    
    .exchange-card.featured {
        grid-column: auto;
    }
    
    .exchange-buttons {
        grid-template-columns: 1fr;
    }
    
    .exchange-card .btn {
        font-size: 12px;
        padding: 6px 0;
    }
    
    .exchange-card h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .exchanges-nav {
        padding: 20px 0 30px;
    }
    
    .exchanges-slider {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .exchange-logo {
        height: 45px;
        margin-bottom: 10px;
    }
    
    .exchange-card.featured {
        grid-column: span 1;
        transform: none;
    }
    
    .exchange-card.featured:hover {
        transform: translateY(-5px);
    }
} 

/* 交易所比较表格样式 */
.exchanges {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    margin-top: -15px;
    margin-bottom: 30px;
    font-size: 18px;
}

.exchange-comparison {
    overflow-x: auto;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    background: white;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table thead th {
    background-color: #f1f5f9;
    color: var(--dark-color);
    font-weight: 600;
    padding: 15px 20px;
    text-align: left;
    border-bottom: 2px solid #e9ecef;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background-color: #f8f9fb;
}

.comparison-table td {
    padding: 15px 20px;
    vertical-align: middle;
}

.highlighted-row {
    background-color: rgba(242, 169, 0, 0.05);
    border-left: 3px solid var(--secondary-color);
}

.highlighted-row:hover {
    background-color: rgba(242, 169, 0, 0.1) !important;
}

.exchange-name {
    display: flex;
    align-items: center;
    position: relative;
}

.table-logo {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    object-fit: contain;
}

.recommended-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(90deg, var(--secondary-color), #f57c00);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.rating {
    color: #f2a900;
    display: flex;
    gap: 2px;
}

.table-buttons {
    display: flex;
    gap: 8px;
}

.table-buttons .btn {
    min-width: 70px;
    padding: 5px 15px;
}

.btn-sm.btn-outline {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-sm.btn-outline:hover {
    background-color: var(--secondary-color);
    color: white;
}

@media (max-width: 992px) {
    .exchanges {
        padding: 60px 0;
    }
    
    .comparison-table td,
    .comparison-table th {
        padding: 12px 15px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .exchange-comparison {
        margin: 0 -15px;
        border-radius: 0;
    }
    .hero {
        padding: 50px 0 80px;
    }
    .footer {
        padding: 50px 0 100px 0;
    }
    .hero-content{padding-right: 0}
    .exchanges {
        padding: 40px 0;
    }
    .hero-content h1{font-size: 1.8rem}
    .hero-content p{font-size: 1rem}
    .comparison-table {
        min-width: 650px;
    }
    .promo-btn{padding: 5px 100px}
    .table-buttons {
        flex-direction: column;
        gap: 5px;
    }
    .promo-text{
        font-size: 12px;
        padding: 0;
        gap: 8px;
    }
    .feature-item{padding: 8px 25px;margin-left: 5px;}
} 