* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.navbar {
    background-color: #333;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-right: 200px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #ffd700;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    justify-content: flex-start;
}

.logo {
    width: 40px;
    height: 40px;
}

.logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

section {
    margin-bottom: 40px;
}

h2 {
    color: #333;
    margin-bottom: 15px;
}

.person-card {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.person-card h2 {
    margin-bottom: 10px;
    color: #222;
}

.person-card .role {
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

.contact-section ul {
    list-style: none;
    padding-left: 0;
}

.contact-section li {
    margin-bottom: 10px;
}

.disclaimer {
    background: #fff8dc;
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
}

.trading-platforms ul {
    list-style: disc;
    padding-left: 20px;
}

.trading-platforms li {
    margin-bottom: 10px;
}

.risk-warning {
    background: #ffe4e1;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.nav-links li a.active {
    color: #ffd700;
    font-weight: bold;
}

/* 修改社交链接样式 */
.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

/* Twitter品牌色 */
.social-link.twitter {
    color: #1DA1F2;
}

.social-link.twitter:hover {
    background-color: rgba(29, 161, 242, 0.1);
    color: #1DA1F2;
}

/* Telegram品牌色 */
.social-link.telegram {
    color: #0088cc;
}

.social-link.telegram:hover {
    background-color: rgba(0, 136, 204, 0.1);
    color: #0088cc;
}

/* Email样式 */
.social-link.email {
    color: #EA4335;
}

.social-link.email:hover {
    background-color: rgba(234, 67, 53, 0.1);
    color: #EA4335;
}

/* 图标样式 */
.social-link .social-icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

/* 悬停时图标颜色保持原色 */
.social-link:hover .social-icon {
    stroke: currentColor;
}

/* 添加一个小箭头表示可点击 */
.social-link::after {
    content: '→';
    margin-left: auto;
    opacity: 0;
    transition: all 0.3s ease;
}

.social-link:hover::after {
    opacity: 1;
    transform: translateX(5px);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 100;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .nav-container {
        grid-template-columns: auto auto;
        padding: 0 15px;
    }

    .mobile-menu-btn {
        display: block;
        justify-self: end;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #333;
        flex-direction: column;
        padding: 80px 20px 20px;
        margin: 0;
        transition: right 0.3s ease;
        z-index: 90;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    /* 汉堡菜单动画 */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* 调整内容区域的padding */
    main {
        padding: 1rem;
    }

    /* 调整标题大小 */
    h1 {
        font-size: 1.5rem;
    }

    /* 调整卡片内容 */
    .person-card {
        padding: 15px;
    }

    /* 调整社交链接 */
    .social-link {
        padding: 10px;
    }
}

/* 小屏幕设备适配 */
@media screen and (max-width: 480px) {
    .logo-text {
        font-size: 1.2rem;
    }

    .nav-links {
        width: 85%;
    }

    .content {
        padding: 10px;
    }

    h2 {
        font-size: 1.3rem;
    }
} 