 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: #e3f2fd;
    min-height: 100vh;
    color: #333;
}

/* 顶部导航栏 */
.navbar {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(66, 133, 244, 0.1);
    border-bottom: 2px solid rgba(66, 133, 244, 0.2);
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 15px;
        flex-direction: column;
    }

    .navbar-menu {
        gap: 10px;
        flex-wrap: wrap;
    }
}

.navbar-logo {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #42a5f5, #1e88e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 1px;
}

.navbar-menu {
    display: flex;
    gap: 30px;
}

.navbar-menu a {
    color: #1565c0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-menu a.active {
    color: #42a5f5;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #42a5f5, #1e88e5);
    transition: width 0.3s ease;
}

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

/* 主容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

/* 页面标题 */
.page-title {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.1);
}

.page-title h1 {
    font-size: 42px;
    background: linear-gradient(135deg, #42a5f5, #1e88e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.page-title p {
    color: #1565c0;
    font-size: 15px;
}

/* 内容区块 */
.content-section {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.1);
    border: 1px solid rgba(66, 165, 245, 0.2);
    transition: all 0.3s ease;
}



/* 区块标题 */
.section-title {
    font-size: 20px;
    font-weight: 800;
    color: #42a5f5;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #e3f2fd;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon {
    font-size: 24px;
}

/* 说明文本 */
.intro-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 列表 */
.info-list {
    list-style: none;
    margin-left: 0;
}

.info-list li {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.info-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #42a5f5;
    font-weight: bold;
    font-size: 16px;
}

/* 警告框 */
.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.warning-box p {
    font-size: 13px;
    color: #856404;
    margin-bottom: 8px;
}

.warning-box strong {
    color: #d39e00;
}

/* 禁止框 */
.forbidden-box {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.forbidden-box p {
    font-size: 13px;
    color: #721c24;
    margin-bottom: 8px;
}

.forbidden-box strong {
    color: #721c24;
}

/* 表单区块 */
.form-section {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.1);
    border: 1px solid rgba(66, 165, 245, 0.2);
}

.form-step {
    margin-bottom: 30px;
}

.form-step-title {
    font-size: 18px;
    font-weight: 800;
    color: #42a5f5;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #e3f2fd;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-step-icon {
    font-size: 20px;
}

/* 表单组 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1565c0;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e3f2fd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #42a5f5;
    box-shadow: 0 0 0 3px rgba(66, 165, 245, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group small {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* 验证码 */
.captcha-group {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.captcha-group input {
    flex: 1;
}

.captcha-btn {
    background: #4caf50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.captcha-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
}

/* 按钮 */
.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    flex: 1;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #42a5f5, #1e88e5);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.3);
}

.btn-secondary {
    background: #e3f2fd;
    color: #1565c0;
    border: 2px solid #42a5f5;
}

.btn-secondary:hover {
    background: #bbdefb;
}

/* 链接示例 */
.link-example {
    background: #f5f5f5;
    border-left: 4px solid #42a5f5;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #333;
    overflow-x: auto;
}

/* 步骤说明 */
.step-description {
    background: #e3f2fd;
    border-left: 4px solid #42a5f5;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #1565c0;
}

.step-description strong {
    color: #1565c0;
}

/* 按钮 */

.btn {
    background: linear-gradient(135deg,#6bb7ff,#8fd3ff);
    border: none;
    color: #fff;
    padding: 12px;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%
}

.btn:hover {
    opacity: .9
}

select {
    font-size: 16px;
}

#sliderBox{
    position:relative;
    width:100%;
    height:40px;
    background:#eee;
    border-radius:20px;
    user-select:none;
    overflow: hidden;
}

#sliderTrack{
    position:absolute;
    width:100%;
    height:100%;
    line-height:40px;
    text-align:center;
    color:#4CAF50;
    font-size:14px;
}

#sliderBtn{
    position:absolute;
    width:40px;
    height:40px;
    background:#4CAF50;
    border-radius:50%;
    cursor:pointer;
    left:0;
    top:0;
    touch-action: none;
}

.msg-box{
    position:fixed;
    top:20px;
    left:50%;
    transform:translateX(-50%) translateY(-20px);
    min-width:200px;
    max-width:80%;
    padding:12px 20px;
    border-radius:8px;
    color:#fff;
    font-size:14px;
    text-align:center;
    z-index:9999;
    opacity:0;
    transition:all .3s ease;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

/* 显示状态 */
.msg-box.show{
    opacity:1;
    transform:translateX(-50%) translateY(0);
}

/* 不同类型 */
.msg-success{
    background:linear-gradient(135deg,#52c41a,#85d63b);
}

.msg-error{
    background:linear-gradient(135deg,#ff4d4f,#ff7875);
}

.msg-warning{
    background:linear-gradient(135deg,#faad14,#ffc53d);
}


/* 结果展示 */
.result {
    display: none;
    margin-top: 30px;
    background: #f9f5ee;
    border: 1px solid #e0d5c5;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.result .words {
    color: #c41e3a;
    font-size: 19px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.result .name {
    color: #5c4a3a;
    font-size: 17px;
    margin-bottom: 18px;
    text-align: center;
}

.result .name font {
    color: #b8860b;
    font-weight: 700;
}

.result .url-view {
    background: white;
    border: 1px solid #e0d5c5;
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 16.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    box-shadow: inset 0 1px 6px rgba(0,0,0,0.03);
}

.result .url-view span.copy {
    background: #b8860b;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.25s;
}

.result .url-view span.copy:hover {
    background: #9f6f0a;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, rgba(66, 165, 245, 0.95), rgba(30, 136, 229, 0.95));
    backdrop-filter: blur(10px);
    color: white;
    padding: 50px 40px;
    margin-top: 60px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    margin-bottom: 30px;
    text-align: center;
}

.footer-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #bbdefb;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .navbar-menu {
        gap: 15px;
    }

    .container {
        padding: 20px;
    }

    .page-title h1 {
        font-size: 32px;
    }

    .content-section,
    .form-section {
        padding: 20px;
    }

    .form-buttons {
        flex-direction: column;
    }

    .captcha-group {
        flex-direction: column;
    }

    .captcha-group input {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .page-title h1 {
        font-size: 24px;
    }

    .content-section,
    .form-section {
        padding: 15px;
    }

    .section-title,
    .form-step-title {
        font-size: 16px;
    }

    .footer {
        padding: 30px 15px;
    }
}