/* assets/css/style.css */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
body { background-color: #0b0e11; color: #ffffff; line-height: 1.6; padding-bottom: 70px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 5%; }

/* 顶部风险提示 */
.risk-bar { background-color: #000; color: #aaa; font-size: 12px; text-align: center; padding: 8px 10px; border-bottom: 1px solid #1f2328; }

/* 页头 */
.header { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background-color: #0b0e11; border-bottom: 1px solid #1f2328; position: sticky; top: 0; z-index: 100; }
.logo a { font-size: 24px; font-weight: 800; letter-spacing: 1px; color: #fff; }
.logo span { color: #00ffaa; }
.nav { display: flex; gap: 30px; font-size: 15px; }
.nav-item { position: relative; cursor: pointer; padding: 10px 0; }
.nav-item > a { color: #fff; }
.nav-item:hover > a { color: #00ffaa; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background-color: #14181c; min-width: 160px; border-radius: 6px; padding: 10px 0; box-shadow: 0 8px 16px rgba(0,0,0,0.5); border: 1px solid #1f2328; }
.nav-item:hover .dropdown { display: block; }
.dropdown a { display: block; padding: 8px 20px; font-size: 14px; color: #ccc; }
.dropdown a:hover { background-color: #1f2328; color: #00ffaa; }
.header-actions { display: flex; gap: 12px; }

/* 按钮 */
.btn { padding: 8px 20px; border-radius: 30px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; border: none; display: inline-block; text-align: center; }
.btn-outline { background: transparent; border: 1px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: #0b0e11; }
.btn-primary { background-color: #00ffaa; color: #0b0e11; }
.btn-primary:hover { background-color: #00cc88; }
.mobile-menu-btn { display: none; font-size: 24px; background: none; border: none; color: #fff; cursor: pointer; }

/* 英雄区域 */
.hero { padding: 60px 5% 40px; background: linear-gradient(180deg, #0b0e11 0%, #0f1318 100%); text-align: center; }
.hero h1 { font-size: 36px; margin-bottom: 15px; font-weight: 800; }
.hero h1 span { color: #00ffaa; }
.hero p { color: #aaa; font-size: 18px; max-width: 700px; margin: 0 auto 30px; }
.hero-actions { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; }
.hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.stat-item { background-color: #14181c; border-radius: 12px; padding: 20px; border: 1px solid #1f2328; }
.stat-number { font-size: 28px; font-weight: 800; color: #00ffaa; }
.stat-label { font-size: 13px; color: #aaa; margin-top: 5px; }

/* 通用区块 */
.section { padding: 60px 5%; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 28px; margin-bottom: 10px; }
.section-title p { color: #aaa; font-size: 16px; }

/* 表格 */
.market-table-wrapper { overflow-x: auto; max-width: 1000px; margin: 0 auto; }
.market-table { width: 100%; border-collapse: collapse; background-color: #14181c; border-radius: 12px; overflow: hidden; font-size: 14px; }
.market-table th { background-color: #1f2328; padding: 14px 20px; text-align: left; color: #00ffaa; font-weight: 600; white-space: nowrap; }
.market-table td { padding: 14px 20px; border-bottom: 1px solid #1f2328; color: #ccc; }
.market-table tr:last-child td { border-bottom: none; }
.market-table .up { color: #00ffaa; }
.market-table .down { color: #ff4d4d; }

/* 特性卡片 */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; max-width: 1200px; margin: 0 auto; }
.feature-card { background-color: #14181c; border-radius: 12px; padding: 30px; border: 1px solid #1f2328; transition: transform 0.2s, border-color 0.2s; }
.feature-card:hover { transform: translateY(-4px); border-color: #00ffaa; }
.feature-icon { font-size: 32px; margin-bottom: 15px; }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; color: #fff; }
.feature-card p { font-size: 14px; color: #aaa; }

/* 账户卡片 */
.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; max-width: 1100px; margin: 0 auto; }
.account-card { background-color: #14181c; border-radius: 12px; padding: 30px; border: 1px solid #1f2328; text-align: center; display: flex; flex-direction: column; }
.account-card.highlight { border-color: #00ffaa; position: relative; }
.account-card.highlight::before { content: "推荐"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background-color: #00ffaa; color: #0b0e11; font-size: 12px; font-weight: 700; padding: 3px 15px; border-radius: 20px; }
.account-card h3 { font-size: 22px; margin-bottom: 10px; }
.account-card .price { font-size: 32px; font-weight: 800; color: #00ffaa; margin-bottom: 20px; }
.account-card .price span { font-size: 14px; color: #aaa; font-weight: normal; }
.account-card ul { text-align: left; margin-bottom: 25px; flex: 1; }
.account-card ul li { font-size: 14px; color: #ccc; padding: 8px 0; border-bottom: 1px solid #1f2328; display: flex; align-items: center; gap: 8px; }
.account-card ul li::before { content: "✓"; color: #00ffaa; font-weight: bold; }
.account-card .btn { width: 100%; }

/* 活动卡片 */
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; max-width: 1100px; margin: 0 auto; }
.event-card { background-color: #14181c; border-radius: 12px; overflow: hidden; border: 1px solid #1f2328; }
.event-image { height: 160px; background-color: #1f2328; display: flex; align-items: center; justify-content: center; color: #555; font-size: 14px; }
.event-content { padding: 20px; }
.event-date { font-size: 12px; color: #00ffaa; margin-bottom: 8px; font-weight: 600; }
.event-content h3 { font-size: 18px; margin-bottom: 10px; }
.event-content p { font-size: 14px; color: #aaa; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background-color: #14181c; border-radius: 10px; margin-bottom: 12px; border: 1px solid #1f2328; overflow: hidden; }
.faq-question { padding: 18px 22px; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question:hover { color: #00ffaa; }
.faq-answer { padding: 0 22px 18px; font-size: 14px; color: #aaa; display: none; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question { color: #00ffaa; }

/* 页尾 */
.footer { background-color: #080a0c; border-top: 1px solid #1f2328; padding: 50px 5% 30px; color: #aaa; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto 30px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; font-size: 14px; cursor: pointer; }
.footer-col ul li a:hover { color: #00ffaa; }
.footer-bottom { text-align: center; border-top: 1px solid #1f2328; padding-top: 25px; font-size: 13px; color: #666; max-width: 1200px; margin: 0 auto; }
.footer-bottom a { color: #888; margin: 0 10px; }
.footer-bottom a:hover { color: #00ffaa; }

/* 移动端底栏 */
.mobile-bottom-bar { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background-color: #0b0e11; border-top: 1px solid #1f2328; padding: 10px 15px; justify-content: space-between; align-items: center; z-index: 200; }
.mobile-bottom-bar .btn { flex: 1; margin: 0 5px; text-align: center; padding: 12px; }

/* 后台通用样式 */
.admin-container { max-width: 1200px; margin: 50px auto; padding: 20px; background-color: #14181c; border-radius: 12px; border: 1px solid #1f2328; }
.admin-title { font-size: 24px; margin-bottom: 20px; color: #00ffaa; border-bottom: 1px solid #1f2328; padding-bottom: 10px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: #ccc; font-size: 14px; }
.form-control { width: 100%; padding: 10px; background-color: #0b0e11; border: 1px solid #1f2328; border-radius: 6px; color: #fff; font-size: 14px; }
.form-control:focus { outline: none; border-color: #00ffaa; }
.btn-admin { padding: 10px 20px; background-color: #00ffaa; color: #0b0e11; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; }
.btn-admin:hover { background-color: #00cc88; }

/* 响应式 */
@media (max-width: 900px) {
    .nav, .header-actions { display: none; }
    .mobile-menu-btn { display: block; }
    .mobile-bottom-bar { display: flex; }
    .hero h1 { font-size: 26px; }
    .hero p { font-size: 16px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
    .hero-actions { flex-direction: column; align-items: center; }
}