/*
 * Theme Name: WebStack
 * Description: ACG导航站风格的单页详情页样式
 * Version: 1.0
 * Author: iowen
 * Note: 不使用rpx单位，支持PC和移动端适配
 */

/* ========== 面包屑导航 ========== */
.breadcrumb-nav {
    margin-bottom: 20px;
}

.breadcrumb {
    font-size: 14px;
    padding: 0;
    background: transparent;
    margin-bottom: 0;
}

.breadcrumb-item {
    color: #666;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: #333;
}

.breadcrumb-item.active {
    color: #333;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "•";
    padding: 0 10px;
    color: #999;
}

/* ========== 元信息栏 ========== */
.site-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.site-meta-info .meta-item {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #888;
}

.site-meta-info .meta-item i {
    margin-right: 5px;
    font-size: 14px;
}

/* ========== 详细信息 ========== */
.site-detail-info {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    border-left: 3px solid #4CAF50;
}

.site-detail-info .detail-item {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.site-detail-info .detail-item strong {
    color: #333;
    margin-right: 5px;
}

/* ========== 标签云 ========== */
.site-tags {
    padding: 15px 0;
}

.site-tags .tags-title {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.site-tags .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.site-tags .tag-item {
    display: inline-block;
    padding: 5px 12px;
    background: #f0f0f0;
    color: #666;
    border-radius: 3px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}

.site-tags .tag-item:hover {
    background: #e0e0e0;
    color: #333;
}

/* ========== 数据统计模块 ========== */
.site-statistics {
    background: #fff;
    padding: 20px 0;
}

.site-statistics h4 {
    color: #333;
    font-size: 18px;
}

.site-statistics .statistics-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

.site-statistics .seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-statistics .seo-links .btn {
    transition: all 0.3s;
}

/* ========== 数据评估 ========== */
.site-evaluation {
    padding: 15px 0;
}

.site-evaluation h5 {
    font-size: 16px;
    color: #333;
}

.site-evaluation p {
    line-height: 1.8;
}

/* ========== 特别声明 ========== */
.site-disclaimer {
    background: #fffbf0;
    padding: 20px;
    border-radius: 4px;
    border-left: 3px solid #ff9800;
}

.site-disclaimer h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.site-disclaimer p {
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

/* ========== 反馈按钮 ========== */
.feedback-btn-wrapper {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 999;
}

.feedback-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.feedback-btn:hover {
    background: #45a049;
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
    transform: translateY(-2px);
}

.feedback-btn i {
    font-size: 16px;
}

/* ========== 反馈弹窗 ========== */
.feedback-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.feedback-modal.show {
    display: flex;
}

.feedback-modal-content {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

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

.feedback-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.feedback-modal-header h4 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.close-modal {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    transition: color 0.3s;
}

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

.feedback-modal-body {
    padding: 20px;
}

.feedback-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.feedback-option {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0;
}

.feedback-option:hover {
    border-color: #4CAF50;
    background: #f9fff9;
}

.feedback-option input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
}

.feedback-option input[type="radio"]:checked + span {
    color: #4CAF50;
    font-weight: 500;
}

.feedback-option span {
    font-size: 14px;
    color: #666;
}

.feedback-message label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.feedback-message input.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.feedback-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.feedback-actions .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.feedback-actions .btn-secondary {
    background: #e0e0e0;
    color: #666;
}

.feedback-actions .btn-secondary:hover {
    background: #d0d0d0;
}

.feedback-actions .btn-primary {
    background: #4CAF50;
    color: #fff;
}

.feedback-actions .btn-primary:hover {
    background: #45a049;
}

.feedback-result {
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
}

/* ========== 响应式设计 ========== */
@media screen and (max-width: 767px) {
    /* 面包屑 */
    .breadcrumb {
        font-size: 12px;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 5px;
    }
    
    /* 元信息栏 */
    .site-meta-info {
        gap: 10px;
    }
    
    .site-meta-info .meta-item {
        font-size: 12px;
    }
    
    /* 详细信息 */
    .site-detail-info {
        padding: 12px;
    }
    
    .site-detail-info .detail-item {
        font-size: 13px;
    }
    
    /* 标签云 */
    .site-tags .tag-item {
        font-size: 12px;
        padding: 4px 10px;
    }
    
    /* 反馈按钮 */
    .feedback-btn-wrapper {
        right: 15px;
        bottom: 70px;
    }
    
    .feedback-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .feedback-btn-text {
        display: none;
    }
    
    /* 反馈弹窗 */
    .feedback-modal-content {
        width: 95%;
    }
    
    .feedback-options {
        grid-template-columns: 1fr;
    }
    
    .feedback-modal-header h4 {
        font-size: 16px;
    }
    
    /* 数据统计 */
    .site-statistics h4 {
        font-size: 16px;
    }
    
    .site-statistics .statistics-content p {
        font-size: 13px;
    }
    
    .site-statistics .seo-links .btn {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    /* 特别声明 */
    .site-disclaimer {
        padding: 15px;
    }
    
    .site-disclaimer h4 {
        font-size: 16px;
    }
    
    .site-disclaimer p {
        font-size: 13px;
    }
}

@media screen and (max-width: 420px) {
    .feedback-btn {
        padding: 10px;
    }
    
    .feedback-btn i {
        font-size: 18px;
    }
    
    .site-meta-info {
        flex-direction: column;
        gap: 8px;
    }
}

/* ========== PC端优化 ========== */
@media screen and (min-width: 992px) {
    .site-statistics .seo-links {
        margin-top: 20px;
    }
    
    .feedback-btn-wrapper {
        right: 30px;
        bottom: 100px;
    }
}

