* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}
h1, h2, h3, h4, h5 {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    margin-bottom: .5rem;
    margin-top: .5rem;
}
body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hide{ display: none; }
.container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    min-height: 90vh;
}

.main-content {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
}

.logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
}

.play-icon {
    color: #fb7299; /* 蓝色主题 */
    font-size: 60px;
    margin-bottom: 15px;
}

h1 {
    font-size: 28px;
    color: #fb7299;
    font-weight: 600;
    margin-bottom: 6px;
}

.description {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.5;
}

.input-container {
    width: 100%;
    margin-bottom: 25px;
    position: relative;
}

.video-url-input {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
}

.video-url-input:focus {
    outline: none;
    border-color: #fb7299; /* 蓝色主题 */
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.placeholder-text {
    position: absolute;
    left: 20px;
    top: 18px;
    color: #999;
    pointer-events: none;
    transition: all 0.3s;
}

.video-url-input:focus + .placeholder-text,
.video-url-input:not(:placeholder-shown) + .placeholder-text {
    top: -10px;
    left: 15px;
    font-size: 13px;
    background-color: white;
    padding: 0 8px;
    color: #fb7299; /* 蓝色主题 */
}

.button-group {
    display: flex;
    gap: 15px;
    width: 100%;
}

.parse-btn, .paste-btn {
    flex: 1;
    padding: 18px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.parse-btn {
    background-color: #fb7299; /* 蓝色主题 */
    color: white;
}

.parse-btn:hover {
    background-color: #fc8bab; /* 深蓝色 */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.paste-btn {
    background-color: #f0f0f0;
    color: #555;
}

.paste-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

/* SEO关键词模块 */
.seo-keywords {
    margin-top: 10px;
    width: 100%;
    text-align: center;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 12px;
}

.seo-keywords h3 {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.keywords-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.keyword-link {
    display: inline-block;
    padding: 6px 14px;
    background-color: white;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.keyword-link:hover {
    background-color: #fb7299;
    color: white;
    border-color: #fb7299;
    transform: translateY(-2px);
}

/* 右侧小程序推荐模块 */
.qr-section {
    width: 350px;
    background-color: #f9f9f9;
    padding: 40px 30px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #eee;
}

.qr-title {
    font-size: 20px;
    color: #333;
    text-align: center;
    font-weight: 600;
}
.qr-title2 {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}
.qr-copy{
    text-align:center;
    margin-bottom: 18px;
}
.copy-btn {
    padding: 0px 16px;
    background: #007bff;
    color: white;
    border: none;
    height: 36px;
}
.qr-code-placeholder {
    width: 220px;
    height: 220px;
    background-color: #fff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid #ddd;
    margin-bottom: 20px;
    color: #fb7299; /* 蓝色主题 */
    margin: auto;
}

.qr-code-placeholder i {
    font-size: 50px;
    margin-bottom: 10px;
}

.qr-description {
    text-align: center;
    font-size: 14px;
    color: #777;
    line-height: 1.5;
    max-width: 250px;
    margin-bottom: 25px !important;
    margin: auto;
}

.qr-features {
    margin-top: 10px;
    width: 100%;
}

.qr-feature {
    text-align: center;
    margin-bottom: 15px;
    color: #555;
}

.qr-feature i {
    color: #fb7299; /* 蓝色主题 */
    font-size: 16px;
}

/* 版权信息 */
.footer {
    margin-top: 60px;
    text-align: center;
    color: #888;
    width: 100%;
}
.footer a{
    color: #888;
}


.copyright {
    font-size: 14px;
    margin-bottom: 20px;
}

/* 如果.login-modal已经是flex容器，可以这样写 */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1000;
    /* 确保这是flex */
    /* display: flex; */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    border-radius: 16px;
    /* margin: auto; 可以移除，因为flex已经处理居中 */
    width: 90%;
    max-width: 400px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalAppear 0.3s ease-out;
    position: relative;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    margin-bottom: 20px;
}

.modal-header h2 {
    color: #333;
    font-size: 22px;
    margin-bottom: 8px;
}

.modal-header p {
    color: #777;
    font-size: 14px;
}

/* 关闭按钮 */
.close-btn {
    z-index: 9999 !important;
    position: absolute;
    top: 0px;
    right: 10px;
    height: 36px;
    line-height: 36px;
    font-size: 36px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
    padding: 5px 5px;
}
.close-btn:hover {
    color: #e74c3c;
}

.modal-qr-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    background-color: #f8f9fa;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px dashed #ddd;
}

.modal-qr-placeholder {
    color: #fb7299; /* 蓝色主题 */
    font-size: 50px;
    margin-bottom: 10px;
}

.modal-qr-text {
    font-size: 14px;
    color: #777;
}

.modal-footer {
    margin-top: 20px;
    font-size: 13px;
    color: #999;
}

.notification {
    position: fixed;
    top: 10px;
    background-color: #2ecc71;
    color: white;
    padding: 5px 35px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
    z-index: 1000;
}

@media (max-width: 992px) {
    .container {
        flex-direction: column;
    }
    
    .qr-section {
        width: 100%;
        border-left: none;
        border-top: 1px solid #eee;
        padding: 10px 20px;
    }
    
    .main-content {
        padding: 0px 20px;
    }
}

@media (max-width: 576px) {
    .button-group {
        flex-direction: column;
    }
    
    .keywords-container {
        gap: 10px;
    }
    
    .keyword-link {
        padding: 5px 12px;
        font-size: 12px;
    }
    
    .footer-links {
        flex-wrap: wrap;
    }
}


/* 视频 */
.parse-result-video{ margin-top: 1.6rem; display: none; }
.parse-result-video h4{ margin-top: .6rem; font-size: 1.2rem;}
.parse-result-video div.video-container video{ border: 1px solid #ccc;}
.parse-result-video .download-group {display: flex;gap: 15px; width: 80%; margin: auto;}
.parse-result-video .download-group .download-video,.download-cover {
    flex: 1;
    padding: 6px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #fb7299; /* 蓝色主题 */
    color: white;
}
.parse-result-video .download-group .download-video:hover,.download-cover:hover {
    background-color: #2980b9; /* 深蓝色 */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    color: white;
}


.parse-result-note{ margin-top: 1.6rem; }
.parse-result-note .masonry { column-count: 5; column-gap: 15px;}
.parse-result-note .masonry .item {
    break-inside: avoid;
    margin-bottom: 10px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.parse-result-note .masonry .item img {
    width: 100%;
    height: auto;
    display: block;
}
@media (max-width: 768px) {
    .parse-result-note .masonry {
        column-count: 4; /* 在小屏幕上显示2列 */
    }
}
@media (max-width: 480px) {
    .parse-result-note .masonry  {
        column-count: 2; /* 在手机上显示1列 */
    }
}



.content{
    font-size: 16px !important;
    line-height: 38px;
}



.user-reviews-module {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.user-reviews-module h3 {
    margin-top: 0;
    color: #333;
    font-size: 18px;
}

.review-item {
    background: white;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #fb7299;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.user-name {
    font-weight: bold;
    color: #2c3e50;
}

.review-date {
    color: #7f8c8d;
    font-size: 14px;
}

.rating {
    color: #f39c12;
    font-size: 16px;
}

.review-content {
    color: #34495e;
    line-height: 1.5;
    margin: 0;
}

.view-more {
    text-align: center;
    margin-top: 20px;
}

.view-more-link {
    color: #fb7299;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 20px;
    border: 1px solid #fb7299;
    border-radius: 4px;
    transition: all 0.3s;
    display: inline-block;
}

.view-more-link:hover {
    background-color: #fb7299;
    color: white;
    text-decoration: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .user-reviews-module {
        padding: 15px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
}