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

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.container {
    text-align: center;
    padding: 2rem;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

h1 {
    margin: 0;
    color: #333;
    font-size: 2rem;
    font-weight: 500;
}

.subtitle {
    color: #666;
    font-size: 1.2rem;
}

section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.skills ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.skills li {
    background-color: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    text-decoration: none;
    color: #2c3e50;
    padding: 0.5rem 1rem;
    border: 1px solid #2c3e50;
    border-radius: 4px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: #2c3e50;
    color: white;
}

@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }
    
    section {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
}

.dance-button {
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.dance-button:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}

.dance-button:active {
    transform: translateY(0px);
    background: rgba(255, 255, 255, 1);
}

/* 当页面在跳动状态时，按钮样式也跟着变化 */
body.dancing .dance-button {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 182, 193, 0.3);
    color: #ff69b4;
}

/* 修改彩虹背景动画，使颜色更柔和，过渡更平滑 */
@keyframes rainbow-bg {
    0% { background-color: #f5f5f5; }
    25% { background-color: #ffe8e8; }
    50% { background-color: #e8f4ff; }
    75% { background-color: #e8fff0; }
    100% { background-color: #f5f5f5; }
}

/* 修改摇摆动画，使动作更加平缓 */
@keyframes swing {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg) scale(1.02); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(3deg) scale(1.02); }
    100% { transform: rotate(0deg); }
}

/* 修改动画应用方式 */
body.dancing {
    animation: rainbow-bg 8s ease-in-out infinite;
}

body.dancing .profile-image {
    animation: swing 2s ease-in-out infinite;
}

body.dancing h1 {
    animation: swing 2s ease-in-out infinite 0.5s; /* 错开文字的摇摆时间 */
}

/* 聊天容器样式优化 */
.chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.08);
}

/* 头部选择器区域整体样式 */
.model-selector,
.prompt-selector {
    padding: 8px 12px;
    background: transparent;
}

/* 模型选择器 */
.model-selector {
    display: flex;
    justify-content: flex-end;
    border-bottom: none;
}

.model-selector select {
    width: auto;
    min-width: 100px;
    padding: 4px 24px 4px 12px;
    border: none;
    border-radius: 12px;
    background: rgba(0,0,0,0.04);
    font-size: 12px;
    color: #666;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%23666' d='M4 6L0 2h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 8px;
}

.model-selector select:hover {
    background-color: rgba(0,0,0,0.06);
}

/* 提示词选择器 */
.prompt-selector {
    padding: 4px 12px 8px;
}

.prompt-selector select {
    width: 100%;
    padding: 6px 24px 6px 12px;
    border: none;
    border-radius: 8px;
    background: rgba(0,0,0,0.04);
    font-size: 13px;
    color: #333;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%23666' d='M4 6L0 2h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 8px;
}

.prompt-selector select:hover {
    background-color: rgba(0,0,0,0.06);
}

.prompt-selector select:focus {
    background-color: rgba(0,122,255,0.08);
    color: #007AFF;
}

/* 自定义提示词输入区域 */
.custom-prompt {
    display: none;
    padding: 4px 12px 8px;
    gap: 6px;
    animation: slideDown 0.2s ease;
}

.custom-prompt input {
    flex: 1;
    padding: 6px 12px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    background: rgba(0,0,0,0.04);
    outline: none;
    transition: all 0.2s ease;
}

.custom-prompt input:focus {
    background-color: white;
    box-shadow: inset 0 0 0 1px #007AFF, 0 0 0 3px rgba(0,122,255,0.1);
}

.custom-prompt button {
    padding: 6px 12px;
    background: rgba(0,122,255,0.1);
    color: #007AFF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.custom-prompt button:hover {
    background: rgba(0,122,255,0.15);
}

/* 系统消息样式 */
.system-message {
    background: rgba(0,0,0,0.03);
    color: #666;
    margin: 4px auto;
    text-align: center;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    max-width: 85%;
    font-weight: normal;
}

/* 聊天区域 */
.chat-box {
    height: 400px;
    overflow-y: auto;
    padding: 16px;
    background: white;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.chat-box::-webkit-scrollbar {
    width: 4px;
}

.chat-box::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.1);
    border-radius: 4px;
}

.chat-box::-webkit-scrollbar-track {
    background: transparent;
}

/* 消息样式 */
.message {
    margin-bottom: 12px;
    padding: 12px 16px;
    border-radius: 16px;
    max-width: 85%;
    font-size: 14px;
    line-height: 1.5;
}

.user-message {
    background: #007AFF;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.ai-message {
    background: #f0f2f5;
    color: #1a1a1a;
    margin-right: auto;
    border-bottom-left-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
}

/* Markdown 样式 */
.ai-message p {
    margin: 0 0 10px 0;
}

.ai-message p:last-child {
    margin-bottom: 0;
}

.ai-message pre {
    background: rgba(0,0,0,0.04);
    padding: 12px;
    border-radius: 6px;
    margin: 8px 0;
    overflow-x: auto;
}

.ai-message code {
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    background: rgba(0,0,0,0.04);
    padding: 2px 4px;
    border-radius: 4px;
}

.ai-message pre code {
    background: none;
    padding: 0;
    border-radius: 0;
}

.ai-message ul, 
.ai-message ol {
    margin: 8px 0;
    padding-left: 20px;
}

.ai-message li {
    margin: 4px 0;
}

.ai-message a {
    color: #007AFF;
    text-decoration: none;
}

.ai-message a:hover {
    text-decoration: underline;
}

.ai-message blockquote {
    border-left: 4px solid rgba(0,0,0,0.1);
    margin: 8px 0;
    padding-left: 12px;
    color: #666;
}

/* 代码块滚动条 */
.ai-message pre::-webkit-scrollbar {
    height: 4px;
}

.ai-message pre::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
    border-radius: 2px;
}

.ai-message pre::-webkit-scrollbar-track {
    background: transparent;
}

/* 输入区域 */
.chat-input {
    display: flex;
    padding: 12px 16px;
    background: white;
    border-top: 1px solid rgba(0,0,0,0.06);
    gap: 8px;
}

.chat-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    font-size: 14px;
    background: #f8f9fa;
    transition: all 0.2s ease;
    outline: none;
}

.chat-input input:focus {
    border-color: #007AFF;
    background: white;
    box-shadow: 0 0 0 3px rgba(0,122,255,0.1);
}

.chat-input button {
    padding: 10px 18px;
    background: #007AFF;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.chat-input button:hover,
.custom-prompt button:hover {
    background: #0066DD;
    transform: translateY(-1px);
}

.chat-input button:active,
.custom-prompt button:active {
    transform: translateY(0);
}

/* 思考动画样式优化 */
.thinking {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    background: #f0f2f5;
    border-radius: 16px;
    margin-right: auto;
    border-bottom-left-radius: 4px;
    max-width: fit-content;
    animation: messageAppear 0.3s ease;
}

.thinking span {
    width: 6px;
    height: 6px;
    background: #666;
    border-radius: 50%;
    display: inline-block;
    animation: thinking 1.4s infinite ease-in-out;
    opacity: 0.4;
}

.thinking span:nth-child(2) {
    animation-delay: 0.2s;
}

.thinking span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes thinking {
    0% { transform: scale(0.6); opacity: 0.4; }
    50% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(0.6); opacity: 0.4; }
}

.error-message {
    background: #ffebee;
    color: #c62828;
    margin: 0 auto;
    text-align: center;
    border-radius: 10px;
}

/* 添加清除按钮样式 */
.clear-chat {
    padding: 4px 12px;
    background: rgba(0,0,0,0.04);
    color: #666;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    margin-left: 8px;
}

.clear-chat:hover {
    background: rgba(0,0,0,0.08);
    color: #333;
}

/* 全屏相关样式 */
.chat-header {
    display: flex;
    flex-direction: column;
}

.toggle-fullscreen {
    padding: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    margin-left: 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.toggle-fullscreen:hover {
    background: rgba(0,0,0,0.08);
}

.fullscreen-icon {
    fill: #666;
}

.toggle-fullscreen:hover .fullscreen-icon {
    fill: #333;
}

/* 全屏状态样式 */
.chat-container.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    z-index: 1000;
    animation: fullscreen-enter 0.3s ease;
}

.chat-container.fullscreen .chat-box {
    height: calc(100vh - 180px);
}

@keyframes fullscreen-enter {
    from {
        opacity: 0.8;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 调整其他元素在全屏时的样式 */
.chat-container.fullscreen .model-selector,
.chat-container.fullscreen .prompt-selector {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.chat-container.fullscreen .chat-input {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* 在小屏幕上的响应式调整 */
@media (max-width: 600px) {
    .chat-container {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }
    
    .chat-box {
        height: calc(100vh - 180px);
    }
}

/* 打赏按钮样式 */
.donate-button {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    color: #ff69b4;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.donate-button:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.9);
    color: #ff1493;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}

/* 打赏弹窗样式 */
.donate-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    backdrop-filter: blur(5px);
    animation: modalFadeIn 0.3s ease;
}

.donate-content {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    position: relative;
    max-width: 90%;
    width: 320px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: modalSlideIn 0.3s ease;
}

.close-donate {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-donate:hover {
    background: rgba(0,0,0,0.05);
    color: #333;
}

.donate-content h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 500;
}

.qr-codes {
    display: flex;
    justify-content: center;
}

.qr-item img {
    width: 200px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    object-fit: contain;
}

.qr-item p {
    color: #666;
    font-size: 0.9rem;
}

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

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 适配移动端 */
@media (max-width: 600px) {
    .qr-codes {
        flex-direction: column;
        align-items: center;
    }
    
    .donate-content {
        width: 90%;
        padding: 1.5rem;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    body {
        background: white;
    }

    /* 聊天容器样式 */
    .chat-container {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 50vh;
        margin: 0;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        background: #fff;
        z-index: 1000;
    }

    /* 恢复隐藏状态样式 */
    .chat-container.hidden {
        transform: translateY(calc(100% - 35px));
    }

    /* 教程部分样式调整 */
    .guide-section {
        margin-bottom: calc(50vh + 2rem);
    }

    /* 优化拖动条样式 */
    .drag-handle {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 35px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer; /* 确保有点击指针样式 */
        background: #fff;
        border-radius: 16px 16px 0 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        z-index: 1001; /* 确保在其他元素之上 */
    }

    /* 修改拖动条指示器样式 */
    .drag-handle::after {
        content: '收起';  /* 添加文字提示 */
        font-size: 12px;
        color: #666;
        padding: 4px 12px;
        background: #f5f5f5;
        border-radius: 12px;
        transition: all 0.2s ease;
        display: block; /* 确保内容显示 */
    }

    /* 隐藏状态下的文字变化 */
    .chat-container.hidden .drag-handle::after {
        content: '展开';
    }

    /* 悬停效果 */
    .drag-handle:hover::after {
        background: #eee;
        color: #333;
    }

    /* 点击效果 */
    .drag-handle:active::after {
        transform: scale(0.95);
    }

    /* 聊天区域调整 */
    .chat-box {
        height: calc(50vh - 165px); /* 减去头部、拖动条和输入框的高度 */
        padding: 10px 15px;
        margin-top: 35px; /* 为拖动条留出空间 */
    }

    /* 头部样式调整 */
    .chat-header {
        padding: 8px 12px;
        background: #fff;
    }

    /* 输入框样式优化 */
    .chat-input {
        padding: 10px 12px;
        background: #fff;
        border-top: 1px solid rgba(0,0,0,0.05);
    }

    .chat-input input {
        padding: 8px 12px;
        border-radius: 20px;
        background: #f5f5f5;
    }

    .chat-input button {
        padding: 8px 16px;
        border-radius: 20px;
    }

    /* 消息样式调整 */
    .message {
        max-width: 85%;
        padding: 8px 12px;
        font-size: 14px;
    }

    /* 代码块样式 */
    .ai-message pre {
        margin: 8px -12px;
        padding: 12px;
        font-size: 12px;
        border-radius: 4px;
        background: #f6f8fa;
    }

    .ai-message code {
        font-size: 12px;
        padding: 2px 4px;
    }

    /* 思考动画 */
    .thinking {
        padding: 8px 12px;
        margin: 4px 0;
    }

    .thinking span {
        width: 5px;
        height: 5px;
    }

    /* 系统消息 */
    .system-message {
        font-size: 12px;
        padding: 6px 12px;
        margin: 6px auto;
        max-width: 85%;
    }
}

/* 横屏模式优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .chat-container {
        height: 70vh;
    }

    .chat-box {
        height: calc(70vh - 165px);
    }
}

/* 小屏幕设备优化 */
@media (max-width: 380px) {
    .guide-section {
        margin-bottom: calc(45vh + 2rem);
    }
}

/* 处理键盘弹出 */
@media (max-height: 600px) {
    .chat-box {
        height: calc(100vh - 120px);
    }
}

/* 处理横屏 */
@media (orientation: landscape) and (max-height: 500px) {
    .chat-header {
        padding: 4px;
    }

    .model-selector,
    .prompt-selector {
        display: inline-block;
        width: auto;
    }

    .chat-box {
        height: calc(100vh - 110px);
    }

    .message {
        max-width: 80%;
    }
}

/* 适配刘海屏 */
@supports (padding: env(safe-area-inset-top)) {
    .chat-container {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .chat-input {
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
    }
}

/* 禁用双击缩放 */
@media (max-width: 768px) {
    body {
        touch-action: manipulation;
    }
}

/* Roblox 下载指南样式 */
.guide-section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    scroll-margin-top: 120px;
}

.guide-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
    font-size: 1.6rem;
}

.guide-step {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.guide-step h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* 步骤样式优化 */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sub-step {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.step-title {
    font-weight: 500;
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
}

/* 加速器部分样式 */
.vpn-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vpn-steps .sub-step p {
    margin: 0.4rem 0;
    color: #666;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .guide-section {
        margin: 1rem;
        padding: 1rem;
    }

    .guide-step {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .guide-section h2 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .sub-step {
        padding: 0.8rem;
    }
}

/* 添加下载按钮样式 */
.download-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #007AFF;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    margin: 1rem 0;
    transition: all 0.2s ease;
    font-weight: 500;
}

.download-link:hover {
    background: #0066DD;
    transform: translateY(-1px);
}

.download-icon {
    margin-right: 8px;
    font-size: 1.2em;
}

/* 突出显示快速下载区域 */
.highlight {
    border: 2px solid #007AFF;
    background: #f8f9fa;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .download-link {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* 下载区域样式 */
.download-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1rem 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 口令码显示框样式 */
.code-box {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.code-label {
    color: #666;
    font-size: 0.9rem;
}

.code-box code {
    font-family: 'Menlo', 'Monaco', monospace;
    background: white;
    padding: 8px 16px;
    border-radius: 6px;
    color: #007AFF;
    font-size: 1.1rem;
    font-weight: 500;
    border: 1px solid rgba(0,0,0,0.1);
    letter-spacing: 1px;
}

.copy-btn {
    background: #007AFF;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: #0066DD;
    transform: translateY(-1px);
}

.copy-btn:active {
    transform: translateY(0);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .download-box {
        padding: 1rem;
    }

    .code-box {
        flex-direction: column;
        gap: 8px;
    }

    .code-box code {
        font-size: 1rem;
        padding: 6px 12px;
    }

    .copy-btn {
        width: 100%;
        padding: 10px;
    }
}

/* 添加加速器链接样式 */
.vpn-link {
    color: #007AFF;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.vpn-link:hover {
    color: #0066DD;
    text-decoration: underline;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .note {
        font-size: 0.85rem;
        padding: 0.6rem;
    }
}

/* 注册步骤样式 */
.register-steps {
    margin: 1rem 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.step-number {
    width: 24px;
    height: 24px;
    background: #007AFF;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-item p {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.step-item ul {
    margin: 0.5rem 0 0 1.2rem;
    padding: 0;
}

.step-item li {
    color: #666;
    margin: 0.3rem 0;
    font-size: 0.95rem;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .step-item {
        padding: 0.6rem;
        margin-bottom: 0.8rem;
    }

    .step-number {
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
        margin-right: 0.8rem;
    }

    .step-item p {
        font-size: 0.9rem;
    }

    .step-item li {
        font-size: 0.85rem;
    }
}

/* 添加重要文本高亮样式 */
.highlight-text {
    color: #ff6b6b;
    font-weight: 500;
}

/* 添加好友提示样式 */
.friend-note {
    margin-top: 1rem;
    padding: 0.8rem;
    background: #f0f7ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.friend-icon {
    font-size: 1.2rem;
}

.friend-note p {
    margin: 0;
    color: #333;
}

.username {
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Menlo', 'Monaco', monospace;
    color: #007AFF;
    font-size: 0.95em;
    border: 1px solid rgba(0,122,255,0.2);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .friend-note {
        padding: 0.6rem;
        gap: 0.6rem;
    }

    .friend-icon {
        font-size: 1.1rem;
    }

    .username {
        font-size: 0.9em;
    }
}

/* 添加图片样式 */
.register-image {
    margin: 1.5rem 0;
    text-align: center;
}

.guide-img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.1);
}

.image-caption {
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .register-image {
        margin: 1rem 0;
    }

    .image-caption {
        font-size: 0.8rem;
    }
}

/* 加速器下载按钮样式 */
.vpn-download {
    display: inline-flex;
    margin: 0.8rem 0;
    background: #4CAF50;
    padding: 10px 20px;
}

.vpn-download:hover {
    background: #43A047;
}

/* 调整步骤间距 */
.guide-step + .guide-step {
    margin-top: 2rem;
}

/* 优化移动端显示 */
@media (max-width: 768px) {
    .vpn-download {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .guide-step + .guide-step {
        margin-top: 1.5rem;
    }
}

/* 加速器教程样式 */
.sub-step {
    padding: 8px 12px;
    margin: 8px 0;
    background: white;
    border-radius: 6px;
    color: #333;
    font-size: 0.95rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.warning {
    background: #ffe4e4;
    color: #d32f2f;
    border-left: 4px solid #d32f2f;
}

.step-list {
    margin: 1rem 0;
}

.vpn-download {
    background: #4CAF50;
    width: 100%;
    max-width: 300px;
}

.vpn-download:hover {
    background: #43A047;
}

.guide-tips .tip strong {
    color: #d32f2f;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .sub-step {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
    
    .vpn-download {
        max-width: none;
        margin: 0.5rem 0;
    }
}

/* 添加平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 调整教程部分的样式 */
.guide-section {
    scroll-margin-top: 120px; /* 确保滚动时标题不被导航栏遮挡 */
}

.server-info {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.server-info h2 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.server-details {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.server-type {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 250px;
}

.server-type h3 {
    color: #2196F3;
    margin-bottom: 10px;
}

.server-address, .server-port {
    font-family: monospace;
    background-color: #f0f0f0;
    padding: 8px;
    border-radius: 4px;
    margin: 5px 0;
}

.server-version {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
    padding: 4px 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
    display: inline-block;
} 

