/* 公共样式文件 - 现代化升级版 */

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-color: #f093fb;
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-color: #4facfe;
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-color: #43e97b;
    --warning-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --danger-color: #fa709a;
    --danger-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #2c3e50;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
    --shadow-light: 0 2px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 5px 25px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 10px 40px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* 头部样式 */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 25px 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 头部导航样式 */
.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(108, 117, 125, 0.1);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    left: 0;
}

.nav-link:hover {
    color: var(--text-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

.nav-separator {
    color: var(--text-muted);
    font-weight: 500;
    margin: 0 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
}

.logo {
    font-size: 32px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo img {
    border-radius: 8px;
}

.header-text {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
    text-align: right;
}

/* 价格展示样式 */
.price-ticker {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 30px;
    display: flex;
    overflow-x: auto;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    /* 强制显示滚动条 */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) rgba(102, 126, 234, 0.1);
    /* 确保内容可以滚动 */
    white-space: nowrap;
}

/* PC端隐藏表格标题 */
.mobile-only {
    display: none;
}

/* 控制header和footer中虚拟币价格展示的显示 */
/* PC端：显示header，隐藏footer */
@media (min-width: 769px) {
    #priceTicker {
        display: flex !important;
    }
    
    .footer-price-ticker {
        display: none !important;
    }
}

/* 手机端：隐藏header，显示footer */
@media (max-width: 768px) {
    #priceTicker {
        display: none !important;
    }
    
    .footer-price-ticker {
        display: block !important;
        margin-bottom: 20px;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .footer-price-ticker::before {
        content: '💰 实时行情';
        display: block;
        text-align: center;
        font-size: 14px;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 10px;
        /* padding: 8px 0; */
        /* border-bottom: 2px solid var(--primary-color); */
    }
}

/* Webkit浏览器滚动条样式 */
.price-ticker::-webkit-scrollbar {
    height: 6px;
    display: block !important;
}

.price-ticker::-webkit-scrollbar-track {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 3px;
    margin: 0 10px;
}

.price-ticker::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 3px;
    transition: var(--transition);
    min-width: 20px;
}

.price-ticker::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

/* 确保滚动条始终可见 */
.price-ticker::-webkit-scrollbar-corner {
    background: transparent;
}

/* 强制显示滚动条的类 */
.price-ticker.force-scrollbar {
    overflow-x: scroll !important;
}

.price-ticker.force-scrollbar::-webkit-scrollbar {
    display: block !important;
    height: 6px !important;
}

/* PC端强制显示滚动条 */
@media (min-width: 769px) {
    .price-ticker {
        overflow-x: scroll !important;
    }
    
    .price-ticker::-webkit-scrollbar {
        display: block !important;
        height: 6px !important;
    }
    
    .price-ticker::-webkit-scrollbar-track {
        background: rgba(102, 126, 234, 0.1) !important;
        border-radius: 3px !important;
        margin: 0 10px !important;
    }
    
    .price-ticker::-webkit-scrollbar-thumb {
        background: var(--primary-gradient) !important;
        border-radius: 3px !important;
        min-width: 20px !important;
    }
}

.price-ticker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--success-gradient);
}

/* 滚动提示箭头 */
.price-ticker::after {
    content: '→';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 20px;
    font-weight: bold;
    opacity: 0.6;
    animation: scrollHint 2s infinite;
    pointer-events: none;
    z-index: 10;
}

@keyframes scrollHint {
    0%, 100% { 
        opacity: 0.6; 
        transform: translateY(-50%) translateX(0);
    }
    50% { 
        opacity: 1; 
        transform: translateY(-50%) translateX(5px);
    }
}

/* 当可以滚动时显示提示 */
.price-ticker.scrollable::after {
    display: block;
}

/* 当不需要滚动时隐藏提示 */
.price-ticker:not(.scrollable)::after {
    display: none;
}

.crypto-price {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    margin-right: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 25px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    min-width: 200px;
}

.crypto-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.crypto-price:hover::before {
    left: 100%;
}

.crypto-price:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.crypto-name {
    font-weight: 700;
    margin-right: 10px;
    color: var(--text-color);
    font-size: 14px;
}

.price {
    margin-right: 10px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 15px;
}

.change {
    font-weight: 700;
    font-size: 14px;
    padding: 2px 8px;
    border-radius: 12px;
}

.change.up {
    background: red;
    color: white;
}

.change.down {
    background: green;
    color: white;
}

/* 底部样式 */
.footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    margin-top: 50px;
    padding: 40px 0;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.friendlink-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid transparent;
    border-image: var(--primary-gradient) 1;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.friendlink-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.friendlink-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.friendlink-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.friendlink-item:hover::before {
    opacity: 0.1;
}

.friendlink-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(102, 126, 234, 0.3);
}

.friendlink-image {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.friendlink-item:hover .friendlink-image {
    transform: scale(1.1);
}

.friendlink-name {
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.friendlink-item:hover .friendlink-name {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(233, 236, 239, 0.5);
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
}

/* 返回链接样式 */
.back-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(102, 126, 234, 0.1);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-link:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* 预留链接样式 */
.reserve-links-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.reserve-links-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--warning-gradient);
}

.reserve-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.reserve-link-item {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.reserve-link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--warning-gradient);
    opacity: 0;
    transition: var(--transition);
}

.reserve-link-item:hover::before {
    opacity: 0.05;
}

.reserve-link-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(67, 233, 123, 0.3);
}

.reserve-link-image {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.reserve-link-image img {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.reserve-link-item:hover .reserve-link-image img {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.reserve-link-title {
    font-size: 22px;
    font-weight: 800;
    background: var(--warning-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.reserve-link-intro {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.reserve-link-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.reserve-link-buttons .btn {
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.reserve-link-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.reserve-link-buttons .btn:hover::before {
    left: 100%;
}

.reserve-link-buttons .btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
}

.reserve-link-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: white;
}

.reserve-link-buttons .btn-secondary {
    background: var(--danger-gradient);
    color: white;
    border: none;
}

.reserve-link-buttons .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: white;
}

/* 联系我们弹窗样式 */
.contact-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.contact-modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    max-width: 600px;
    max-height: calc(100vh - 40px);
    width: 90%;
    box-shadow: var(--shadow-heavy);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideIn 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: var(--text-muted);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    padding: 5px;
    line-height: 1;
}

.contact-modal-close:hover {
    color: var(--danger-color);
    transform: scale(1.1);
}

.contact-image {
    max-width: 100%;
    max-height: calc(100vh - 120px);
    width: auto;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    display: block;
    object-fit: contain;
}

.contact-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: var(--border-radius);
    border: 2px dashed var(--border-color);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 15px;
    }
    
    .friendlink-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .reserve-links-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .header-text {
        margin-top: 0;
        font-size: 14px;
        text-align: center;
    }
    
    .header-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .nav-separator {
        margin: 0 3px;
    }
    
    .logo {
        font-size: 26px;
        justify-content: center;
    }
    
    .logo img {
        height: 35px;
    }
    
    .price-ticker {
        padding: 15px;
        margin-bottom: 20px;
        overflow-x: visible;
        /* 手机端：表格样式布局 */
        display: flex;
        flex-direction: column;
        gap: 8px;
        /* 手机端移除渐变遮罩 */
        mask: none;
        -webkit-mask: none;
    }
    
    /* 手机端隐藏滚动提示 */
    .price-ticker::after {
        display: none !important;
    }
    
    /* 手机端显示表格标题 */
    .mobile-only {
        display: flex !important;
    }
    
    .crypto-header {
        display: flex;
        justify-content: space-between;
        padding: 8px 12px;
        background: var(--primary-gradient);
        color: white;
        border-radius: 8px;
        margin-bottom: 4px;
        font-weight: 700;
        font-size: 12px;
    }
    
    @media (max-width: 480px) {
        .crypto-header {
            padding: 6px 10px;
            font-size: 11px;
            border-radius: 6px;
        }
    }
    
    .crypto-header .crypto-name,
    .crypto-header .price,
    .crypto-header .change {
        color: white;
        font-weight: 700;
        text-align: center;
    }
    
    .crypto-price {
        margin-right: 0;
        margin-bottom: 0;
        padding: 10px 12px;
        font-size: 12px;
        width: 100%;
        justify-content: space-between;
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(233, 236, 239, 0.5);
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    .crypto-name {
        font-size: 12px;
        margin-right: 0;
        font-weight: 600;
        color: var(--text-color);
        flex: 1;
        min-width: 80px;
    }
    
    .price {
        font-size: 13px;
        margin-right: 0;
        font-weight: 700;
        color: var(--primary-color);
        flex: 1;
        text-align: center;
        min-width: 80px;
    }
    
    .change {
        font-size: 11px;
        padding: 2px 6px;
        border-radius: 10px;
        font-weight: 600;
        flex: 0 0 auto;
        min-width: 60px;
        text-align: center;
    }
    
    .footer {
        margin-top: 30px;
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .friendlink-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 12px;
    }
    
    .friendlink-item {
        padding: 12px;
    }
    
    .friendlink-image {
        width: 45px;
        height: 45px;
        margin-bottom: 8px;
    }
    
    .friendlink-name {
        font-size: 12px;
    }
    
    .copyright {
        font-size: 13px;
        padding-top: 20px;
    }
    
    .back-link {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .reserve-links-section {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .reserve-links-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reserve-link-item {
        padding: 20px;
    }
    
    .reserve-link-image img {
        height: 120px;
    }
    
    .reserve-link-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .reserve-link-intro {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .reserve-link-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .reserve-link-buttons .btn {
        width: 100%;
        max-width: 180px;
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 8px;
    }
    .more-button.more-button1{
        display: none;
    }
    .header {
        padding: 15px;
        margin-bottom: 15px;
        gap: 12px;
    }
    
    .header-nav {
        gap: 3px;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .nav-separator {
        margin: 0 2px;
    }
    
    .contact-modal {
        padding: 15px;
    }
    
    .contact-modal-content {
        padding: 15px;
        max-width: 95%;
        max-height: calc(100vh - 30px);
        width: 95%;
    }
    
    .contact-image {
        max-height: calc(100vh - 100px);
    }
    
    .contact-placeholder {
        padding: 30px 15px;
        font-size: 14px;
    }
    
    .logo {
        font-size: 22px;
    }
    
    .logo img {
        height: 30px;
    }
    
    .header-text {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .price-ticker {
        padding: 12px;
        gap: 6px;
        margin-bottom: 15px;
        /* 超小屏幕也使用表格样式 */
        display: flex;
        flex-direction: column;
        /* 超小屏幕也移除渐变遮罩 */
        mask: none;
        -webkit-mask: none;
    }
    
    /* 超小屏幕也显示表格标题 */
    .mobile-only {
        display: flex !important;
    }
    
    .crypto-price {
        padding: 8px 10px;
        font-size: 11px;
        margin-right: 0;
        margin-bottom: 0;
        width: 100%;
        justify-content: space-between;
        border-radius: 6px;
    }
    
    .crypto-name {
        font-size: 11px;
        margin-right: 0;
        font-weight: 600;
        flex: 1;
        min-width: 70px;
    }
    
    .price {
        font-size: 12px;
        margin-right: 0;
        font-weight: 700;
        color: var(--primary-color);
        flex: 1;
        text-align: center;
        min-width: 70px;
    }
    
    .change {
        font-size: 10px;
        padding: 1px 4px;
        border-radius: 8px;
        font-weight: 600;
        flex: 0 0 auto;
        min-width: 50px;
        text-align: center;
    }
    
    .footer {
        margin-top: 25px;
        padding: 25px 15px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .friendlink-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .friendlink-item {
        padding: 10px;
    }
    
    .friendlink-image {
        width: 35px;
        height: 35px;
        margin-bottom: 6px;
    }
    
    .friendlink-name {
        font-size: 11px;
    }
    
    .copyright {
        font-size: 12px;
        padding-top: 15px;
    }
    
    .back-link {
        font-size: 13px;
        padding: 5px 10px;
    }
    
    .reserve-links-section {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .reserve-link-item {
        padding: 15px;
    }
    
    .reserve-link-image img {
        height: 100px;
    }
    
    .reserve-link-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .reserve-link-intro {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .reserve-link-buttons .btn {
        padding: 8px 16px;
        font-size: 13px;
        max-width: 160px;
    }
}

/* desktop-only 样式：电脑端隐藏，手机端显示 */
.desktop-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: block;
    }
}

/* mobile-only 样式：电脑端显示，手机端隐藏 */
.mobile-only {
    display: block;
}

@media (max-width: 768px) {
    .mobile-only {
        display: none !important;
    }
}

/* 文章列表样式 - 用于技术交流区域 */
.articles-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    margin-bottom: 30px;
}

.articles-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--success-gradient);
}

.articles-list {
    padding: 30px;
}

.article-item {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(233, 236, 239, 0.5);
    transition: var(--transition);
    position: relative;
    text-decoration: none;
    color: inherit;
}

.article-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.article-item:hover::before {
    opacity: 1;
}

.article-item:hover {
    background: rgba(102, 126, 234, 0.05);
    padding-left: 20px;
    margin: 0 -30px;
    padding-right: 30px;
    border-radius: var(--border-radius);
}

.article-item:last-child {
    border-bottom: none;
}

.article-image {
    width: 250px;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.article-item:hover .article-image {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.4;
}

.article-title {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.article-item:hover .article-title {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-summary {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 15px;
    transition: var(--transition);
}

.article-meta span:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
}

.no-articles {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.no-articles::before {
    content: '📄';
    font-size: 48px;
    display: block;
    margin-bottom: 20px;
}

.no-articles p {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

/* 手机端文章列表响应式样式 */
@media (max-width: 768px) {
    .articles-list {
        padding: 15px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .article-item {
        display: flex;
        flex-direction: row;
        gap: 12px;
        padding: 12px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        border: none;
        margin: 0;
        align-items: flex-start;
        text-decoration: none;
        color: inherit;
    }
    
    .article-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        background: rgba(255, 255, 255, 1);
    }
    
    .article-item::before {
        display: none;
    }
    
    .article-image {
        width: 80px;
        height: 60px;
        border-radius: 8px;
        object-fit: cover;
        flex-shrink: 0;
    }
    
    .article-content {
        padding: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    
    .article-title {
        font-size: 14px;
        margin-bottom: 0;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .article-summary {
        font-size: 12px;
        margin-bottom: 0;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #666;
        flex: 1;
    }
    
    .article-meta {
        flex-direction: row;
        gap: 8px;
        align-items: center;
        margin-top: 0;
        flex-wrap: wrap;
    }
    
    .article-meta span {
        padding: 2px 6px;
        font-size: 10px;
        border-radius: 8px;
        background: rgba(102, 126, 234, 0.1);
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .articles-list {
        padding: 10px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .article-item {
        padding: 10px;
        gap: 10px;
        border-radius: 10px;
    }
    
    .article-image {
        width: 70px;
        height: 50px;
        border-radius: 6px;
    }
    
    .article-title {
        font-size: 13px;
        margin-bottom: 0;
        line-height: 1.3;
    }
    
    .article-summary {
        font-size: 11px;
        margin-bottom: 0;
        line-height: 1.4;
    }
    
    .article-meta span {
        padding: 2px 4px;
        font-size: 9px;
        border-radius: 6px;
    }
}


