/* 殴易APP-殴易交易所-殴易官网 样式文件 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    color: #333;
    line-height: 1.8;
    background: #0a0e1a;
    color: #e0e6ed;
}

a {
    color: #00d4ff;
    text-decoration: none;
    transition: all 0.3s;
}

a:hover {
    color: #ff6b35;
}

/* 导航栏 */
.header {
    background: linear-gradient(135deg, #0d1421 0%, #1a2332 100%);
    padding: 0 50px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #00d4ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: #ff6b35;
}

.menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.menu a {
    color: #e0e6ed;
    font-size: 16px;
    padding: 10px 0;
    position: relative;
}

.menu a:hover,
.menu a.active {
    color: #00d4ff;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #00d4ff;
    transition: width 0.3s;
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

/* 横幅区域 */
.banner {
    background: linear-gradient(135deg, #0d1421 0%, #1a2332 50%, #0d1421 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 50px 80px;
    position: relative;
    overflow: hidden;
}

.banner::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"><text y=".9em" font-size="90" opacity="0.03">📈</text></svg>');
    pointer-events: none;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.banner-text h1 {
    font-size: 48px;
    color: #00d4ff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.banner-text h1 span {
    color: #ff6b35;
}

.banner-text h2 {
    font-size: 28px;
    color: #e0e6ed;
    margin-bottom: 30px;
}

.banner-text p {
    font-size: 18px;
    color: #8892a0;
    margin-bottom: 40px;
    line-height: 2;
}

.banner-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
}

.stat-item .number {
    font-size: 36px;
    font-weight: bold;
    color: #00d4ff;
}

.stat-item .label {
    font-size: 14px;
    color: #8892a0;
    margin-top: 5px;
}

.banner-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.crypto-icon {
    font-size: 150px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* 功能特色 */
.features {
    padding: 100px 50px;
    background: #0d1421;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: #00d4ff;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    color: #8892a0;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: linear-gradient(135deg, #1a2332 0%, #0d1421 100%);
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.feature-card .icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    color: #e0e6ed;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 15px;
    color: #8892a0;
    line-height: 1.8;
}

/* 产品中心 */
.products {
    padding: 100px 50px;
    background: #0a0e1a;
}

.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: linear-gradient(135deg, #1a2332 0%, #0d1421 100%);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.5);
}

.product-icon {
    font-size: 80px;
    text-align: center;
    padding: 40px;
    background: rgba(0, 212, 255, 0.05);
}

.product-info {
    padding: 30px;
}

.product-info h3 {
    font-size: 22px;
    color: #00d4ff;
    margin-bottom: 15px;
}

.product-info p {
    font-size: 15px;
    color: #8892a0;
    margin-bottom: 20px;
    line-height: 1.8;
}

.product-info a {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #0a0e1a;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s;
}

.product-info a:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    color: #fff;
}

/* 新闻资讯 */
.news {
    padding: 100px 50px;
    background: #0d1421;
}

.news-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: linear-gradient(135deg, #1a2332 0%, #0d1421 100%);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.5);
}

.news-image {
    font-size: 60px;
    text-align: center;
    padding: 30px;
    background: rgba(0, 212, 255, 0.05);
}

.news-content {
    padding: 25px;
}

.news-content .date {
    font-size: 13px;
    color: #00d4ff;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 18px;
    color: #e0e6ed;
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-content p {
    font-size: 14px;
    color: #8892a0;
    line-height: 1.8;
    margin-bottom: 15px;
}

.news-content a {
    font-size: 14px;
    color: #00d4ff;
}

.news-content a:hover {
    color: #ff6b35;
}

/* 关于我们 */
.about {
    padding: 100px 50px;
    background: #0a0e1a;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    color: #00d4ff;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 16px;
    color: #8892a0;
    margin-bottom: 20px;
    line-height: 2;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.about-stat {
    text-align: center;
    padding: 25px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
}

.about-stat .number {
    font-size: 32px;
    font-weight: bold;
    color: #00d4ff;
}

.about-stat .label {
    font-size: 14px;
    color: #8892a0;
    margin-top: 5px;
}

.about-visual {
    font-size: 150px;
    text-align: center;
}

/* 联系我们 */
.contact {
    padding: 100px 50px;
    background: #0d1421;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 36px;
    color: #00d4ff;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.contact-item .icon {
    font-size: 30px;
}

.contact-item .text h4 {
    font-size: 18px;
    color: #e0e6ed;
    margin-bottom: 5px;
}

.contact-item .text p {
    font-size: 15px;
    color: #8892a0;
}

.contact-form {
    background: linear-gradient(135deg, #1a2332 0%, #0d1421 100%);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.contact-form h3 {
    font-size: 24px;
    color: #00d4ff;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 15px;
    color: #e0e6ed;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    color: #e0e6ed;
    font-size: 15px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #0a0e1a;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    color: #fff;
}

/* 页脚 */
.footer {
    background: #0a0e1a;
    padding: 60px 50px 30px;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    color: #00d4ff;
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    color: #8892a0;
    line-height: 2;
    display: block;
}

.footer-section a:hover {
    color: #00d4ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: #8892a0;
}

/* 新闻详情页 */
.news-detail {
    padding: 150px 50px 100px;
    background: #0a0e1a;
    min-height: 100vh;
}

.news-detail-container {
    max-width: 900px;
    margin: 0 auto;
}

.news-detail-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.news-detail-header h1 {
    font-size: 32px;
    color: #00d4ff;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-meta {
    font-size: 14px;
    color: #8892a0;
}

.news-meta span {
    margin-right: 20px;
}

.news-detail-content {
    font-size: 16px;
    color: #e0e6ed;
    line-height: 2;
}

.news-detail-content p {
    margin-bottom: 25px;
}

.news-detail-content h3 {
    font-size: 22px;
    color: #00d4ff;
    margin: 30px 0 15px;
}

.back-news {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #0a0e1a;
    border-radius: 25px;
    font-weight: bold;
}

.back-news:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    color: #fff;
}

/* 响应式 */
@media (max-width: 768px) {
    .banner-content,
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .products-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner-stats {
        grid-template-columns: 1fr;
    }

    .menu {
        display: none;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}
