body {
    background: linear-gradient(125deg, #2AF598, #1EECB2, #17EAD9, #15C69A);
    background-size: 300% 300%;
    -webkit-animation: flow 12s ease-in-out infinite;
    animation: flow 12s ease-in-out infinite;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #3A3A3A;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    justify-content: space-between;
}

@-webkit-keyframes flow {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

@keyframes flow {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

header {
    position: absolute;
    top: 15px;
    left: 50px;
}

.logo {
    width: 180px;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    padding: 20px;
    gap: 180px;
}

.content {
    max-width: 500px;
    margin-top: 50px;
}

h1 {
    font-size: 60px;
    font-weight: 600;
    margin: 0;
    color: inherit;
}

h2 {
    font-size: 28px;
    font-weight: 200;
    margin: -10px 0 20px;
    color: inherit;
}

p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 450px;
    letter-spacing: 1px;
}

.search-image {
    width: 280px;
    margin-top: 30px;
    cursor: pointer;
}

.qr-code {
    text-align: center;
    margin-top: 50px;
}

.qr-code img {
    width: 200px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.qr-code p {
    margin-top: 15px;
    font-size: 14px;
    color: inherit;
}

footer {
    width: 100%;
    text-align: center;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.footer-content a {
    color: inherit;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

/* 移动端适配 */
@media (max-width: 768px) {
    body {
        justify-content: flex-start;
    }

    header {
        position: static;
        padding: 20px;
        text-align: center;
    }

    .logo {
        width: 150px;
    }

    main {
        flex-direction: column;
        gap: 2px;
        text-align: center;
        margin-top:-50px ;
    }

    .content {
        margin-top: 0;
        order: 1; /* 在垂直布局中，将文字内容放到二维码上方 */
    }

    h1 {
        font-size: 40px;
        margin-bottom: 20px;
    }
    h2 {
        font-size: 16px;
    }

    p {
        font-size: 16px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .search-image {
        width: 220px;
        margin-top: 20px;
    }

    .qr-code {
        margin-top: 0;
        order: 0; /* 在垂直布局中，将二维码放到文字内容下方 */
    }

    .qr-code img {
        width: 160px;
    }
    .qr-code p{
        font-size: 20px;
        width: 246px
    }

    .footer-content {
        flex-direction: column;
        gap: 10px;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.visible .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    font-weight: 300;
    color: #888;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #333;
}

.modal-content h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-top: 0;
    margin-bottom: 25px;
}

.modal-faq-list details {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
}

.modal-faq-list summary {
    font-weight: 500;
    font-size: 16px;
    padding: 15px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-faq-list summary::-webkit-details-marker {
    display: none;
}

.modal-faq-list summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    color: #17EAD9;
    transition: transform 0.3s ease;
}

.modal-faq-list details[open] summary::after {
    transform: rotate(45deg);
}

.modal-faq-list details p {
    padding: 0 15px 15px;
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}