* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    /*background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);*/
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    /*background-color: #ffffff;*/
    min-height: 100vh;
    padding: 20px;
    color: #333;
}
body::-webkit-scrollbar {
    display: none;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
}

header {
    text-align: left;
    padding: 30px 0;
}

header h1 {
    color: #2c3e50;
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

header p {
    color: #333333;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.logos{
    width: 30px;
    margin-right: 10px;
}

.main-card {
    background-color: #f6f6f7;
    border-radius: 12px;
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);*/
    padding: 30px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.query-section {
    margin-bottom: 30px;
}

.query-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.input-group {
    display: flex;
    margin-bottom: 15px;
}

.input-group input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s;
}

.input-group input:focus {
    border-color: #3498db;
}

.input-group button {
    background: #3498db;
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 0 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.input-group button:hover {
    background: #2980b9;
}

.auto-detect {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    margin-top: 10px;
    font-size: 0.9rem;
}

.auto-detect:hover {
    text-decoration: underline;
}

.result-section {
    display: none;
}

.result-section.active {
    display: block;
}

.result-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.result-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    width: 120px;
    font-weight: bold;
    color: #7f8c8d;
}

.result-value {
    flex: 1;
    color: #2c3e50;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background-color: #f6f6f7;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    /*box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);*/
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #3498db;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.feature-card p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

footer {
    text-align: center;
    padding: 30px 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.json-container {
    background-color: #2d3748 !important;
    ;
    border-radius: 15px;
    padding: 20px;
    overflow-x: auto;
    position: relative;
    margin-top: 20px;
}

pre {
    color: #e2e8f0;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-all;
}

.json-key {
    color: #63b3ed;
}

.json-string {
    color: #68d391;
}

.json-number {
    color: #fbb6ce;
}

.json-boolean {
    color: #f6ad55;
}

.json-null {
    color: #a0aec0;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.jbtxt {
    /*background: linear-gradient(to right, red, blue);*/
    background: linear-gradient(45deg, #41d1ff, #bd34fe , #bd34fe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
}

.left {
    text-align: left;
}

.apps {
    line-height: 23px;
    font-size: 30px;
    color: #f00;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    color: #3498db;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin: 0 15px;
    position: relative;
}

.nav-link {
    color: #2c3e50;
    text-decoration: none;
    /*font-weight: 500;*/
    font-size: 1rem;
    padding: 10px 0;
    transition: all 0.3s ease;
    display: block;
}

.nav-link:hover {
    color: #3498db;
}

       /* .nav-link::after {
            content: ' ';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background: #3498db;
            transition: width 0.3s ease;
        }
        
        .nav-link:hover::after {
            width: 100%;
            }*/
            
.nav-link.active {
    color: #3498db;
}
            
        /*.nav-link.active::after {
            width: 100%;
            }*/
            
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #2c3e50;
}

.mt30 {
    margin-top: 80px;
}

.section {
    background: white;
                /*background-color: #f6f6f7;*/
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
                /*box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);*/
}

.section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f1f1;
}

.section p {
    margin-bottom: 15px;
    color: #555;
}

@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
    }

    .input-group input {
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .input-group button {
        border-radius: 8px;
        padding: 15px;
    }

    header h1 {
        font-size: 2rem;
    }

    .mt30 {
        margin-top: 60px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 50%;
        height: calc(100vh - 70px);
                    /*background: var(--secondary);*/
        background: #f00;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: all 0.5s ease;
                    /*box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);*/
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 10px 0;
        width: 80%;
        text-align: center;
    }

    .nav-link {
        padding: 10px 0;
        font-size: 1.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .hamburger {
        display: block;
    }

    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .language-list {
        grid-template-columns: 1fr;
    }
}

            /* 响应式设计 */
@media screen and (max-width: 1024px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: static;
    }

    .language-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .language-item {
        margin-bottom: 0;
    }
}

a.footera{
    color: #000000;
    font-size: 14px;
    margin-right: 20px;
    text-decoration: none;
}
