* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.logo h1 {
    font-size: 32px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.logo p {
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #28a745;
    font-weight: 500;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #28a745;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* 搜索区域 */
.search-section {
    margin-bottom: 30px;
}

.search-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.search-card h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1e3c72;
}

.search-card p {
    color: #666;
    margin-bottom: 30px;
}

.search-form {
    max-width: 400px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.input-group input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 15px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-group input:focus {
    outline: none;
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.15), 0 4px 12px rgba(42, 82, 152, 0.1);
    transform: translateY(-1px);
}

.search-btn {
    padding: 15px 25px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(30, 60, 114, 0.2);
}

.search-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.35);
}

.search-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(30, 60, 114, 0.2);
}

/* 加载状态 */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e1e5e9;
    border-left-color: #2a5298;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 错误信息 */
.error {
    background: #ff4757;
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin: 20px 0;
}

/* 结果区域 */
.result-section {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.detection-summary,
.detection-details,
.system-info,
.evidence-gallery {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.detection-summary h2,
.detection-details h2,
.system-info h2,
.evidence-gallery h2 {
    font-size: 20px;
    color: #1e3c72;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 检测结果状态 */
.detection-status {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 12px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.status-clean {
    background: #d4edda;
    color: #155724;
    box-shadow: 0 2px 4px rgba(21, 87, 36, 0.15);
}
.status-suspected {
    background: #fff3cd;
    color: #856404;
    box-shadow: 0 2px 4px rgba(133, 100, 4, 0.15);
}
.status-confirmed {
    background: #f8d7da;
    color: #721c24;
    box-shadow: 0 2px 4px rgba(114, 28, 36, 0.15);
}

/* 风险等级 */
.risk-level {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.risk-stars {
    display: flex;
    gap: 2px;
}

.risk-star {
    width: 20px;
    height: 20px;
    background: #e1e5e9;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.risk-star.active { background: #ff6b6b; }

/* 详情网格 */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #2a5298;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.detail-item:hover {
    background: #e9ecef;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.detail-label {
    font-weight: 600;
    color: #333;
}

.detail-value {
    color: #666;
    text-align: right;
}

/* 证据画廊 */
.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.evidence-item {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
}

.evidence-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: #2a5298;
}

.evidence-item img,
.evidence-item video {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.evidence-info {
    padding: 15px;
}

.evidence-type {
    font-size: 12px;
    color: #2a5298;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.evidence-description {
    font-size: 14px;
    color: #666;
}

/* 快速链接 */
.quick-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.link-btn.admin {
    background: #6c757d;
    color: white;
}

.link-btn.upload {
    background: #28a745;
    color: white;
}

.link-btn.help {
    background: #17a2b8;
    color: white;
}

.link-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.link-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* 页脚 */
.footer {
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .quick-links {
        flex-direction: column;
        align-items: center;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .evidence-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* 检测结果显示样式 */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.summary-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 18px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(44, 62, 80, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.summary-item .label {
    font-weight: bold;
    color: #2c3e50;
    font-size: 14px;
}

.summary-item .value {
    font-weight: bold;
    font-size: 15px;
}

.value.success { color: #16a085; font-weight: 600; }
.value.warning { color: #f39c12; font-weight: 600; }
.value.danger { color: #e74c3c; font-weight: 600; }
.value.info { color: #3498db; font-weight: 600; }
.value.code {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 1px;
}

.cheat-types {
    margin-top: 24px;
    padding: 20px;
    background: rgba(231, 76, 60, 0.08);
    border-radius: 12px;
    border-left: 4px solid #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.15);
}

.cheat-types h4 {
    color: #c0392b;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 16px;
}

.cheat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.cheat-tag {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin: 2px;
}

.cheat-tag.danger {
    background: #e74c3c;
    color: white;
    box-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.detail-section {
    background: rgba(255, 255, 255, 0.85);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(44, 62, 80, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.detail-section h4 {
    color: #2c3e50;
    margin-bottom: 18px;
    font-size: 1.2em;
    font-weight: 600;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
}

.detail-item {
    margin-bottom: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(44, 62, 80, 0.1);
}

.detail-item strong {
    color: #34495e;
    display: inline-block;
    width: 140px;
    font-weight: 600;
}

.system-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.system-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 16px;
    border-radius: 10px;
    border: 1px solid rgba(44, 62, 80, 0.08);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.system-item strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.notes-section {
    margin-top: 24px;
    padding: 20px;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 12px;
    border-left: 4px solid #3498db;
    border: 1px solid rgba(52, 152, 219, 0.15);
}

.notes-section h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 12px;
}

.notes-content {
    margin-top: 12px;
    line-height: 1.8;
    color: #34495e;
    font-size: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
}

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

.evidence-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 18px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(44, 62, 80, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease;
}

.evidence-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.evidence-type {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.evidence-desc {
    margin-top: 12px;
    font-size: 13px;
    color: #7f8c8d;
    line-height: 1.4;
}

.no-evidence {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
    font-size: 1.1em;
    background: rgba(236, 240, 241, 0.3);
    border-radius: 12px;
    border: 2px dashed #bdc3c7;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .summary-grid,
    .details-grid,
    .system-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-item strong {
        width: auto;
        display: block;
        margin-bottom: 5px;
    }
}
