/* 神煞页面样式 - 参考十神，稍作差异化 */

.shensha-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 60px 0 40px;
}

.page-header h1 {
    font-size: 3.5em;
    font-weight: 300;
    color: #111827;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.page-header .subtitle {
    font-size: 1.05em;
    color: #6b7280;
    letter-spacing: 0.08em;
}

/* 介绍区域 */
.intro-section {
    max-width: 1000px;
    margin: 0 auto 60px;
    background: #ffffff;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    border: 1px solid #e5e7eb;
}

.intro-title {
    font-size: 2em;
    font-weight: 600;
    color: #111827;
    margin-bottom: 24px;
}

.intro-text {
    font-size: 1.02em;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 18px;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.intro-item {
    text-align: center;
    padding: 24px 16px;
    background: #f9fafb;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.intro-item:hover {
    background: #f3f4f6;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.intro-item-icon {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.3em;
    font-weight: 600;
    color: #fff;
}

.intro-icon-good {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.intro-icon-neutral {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
}

.intro-icon-bad {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
}

.intro-item h3 {
    font-size: 1.1em;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.intro-item p {
    font-size: 0.9em;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* 神煞列表网格 */
.shensha-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.shensha-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 26px 22px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.shensha-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.shensha-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    border-color: #d1d5db;
}

.shensha-card:hover::before {
    transform: scaleX(1);
}

.shensha-card.has-data::before {
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    font-weight: 500;
    color: #111827;
}

.shensha-card.has-data .card-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: #fff;
}

.card-tag {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.card-tag-good {
    background: #ecfdf3;
    color: #166534;
}

.card-tag-neutral {
    background: #eff6ff;
    color: #1d4ed8;
}

.card-tag-bad {
    background: #fef2f2;
    color: #b91c1c;
}

.card-content {
    flex: 1;
    margin-bottom: 14px;
}

.card-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.card-summary {
    font-size: 0.95em;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

.card-summary-placeholder {
    color: #9ca3af;
    font-style: italic;
}

.card-status {
    margin-top: auto;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.status-complete {
    background: #ecfdf3;
    color: #166534;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

/* 详情页样式 */
.detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 32px;
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #2563eb;
}

.detail-header {
    background: linear-gradient(135deg, #111827 0%, #1f2937 60%, #0f172a 100%);
    color: #ffffff;
    padding: 56px 44px;
    border-radius: 18px;
    text-align: center;
    margin-bottom: 48px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35);
}

.header-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 2.1em;
    font-weight: 600;
}

.detail-header h1 {
    font-size: 2.8em;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 0.08em;
}

.header-category {
    font-size: 0.95em;
    opacity: 0.9;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.header-summary {
    font-size: 1.05em;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 620px;
    margin: 0 auto;
}

.detail-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 56px 52px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    border: 1px solid #e5e7eb;
}

.info-section {
    margin-bottom: 56px;
    padding-bottom: 40px;
    border-bottom: 1px solid #f3f4f6;
}

.info-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.section-title {
    font-size: 1.35em;
    font-weight: 600;
    color: #111827;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.info-value {
    color: #4b5563;
    line-height: 2.2;
    font-size: 1.05em;
    letter-spacing: 0.01em;
}

.info-value p {
    margin-bottom: 1.2em;
}

.info-value p:last-child {
    margin-bottom: 0;
}

.classic-title {
    font-weight: 600;
    color: #374151;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.classic-quote {
    margin: 20px 0 24px;
    padding: 24px 28px;
    background: #f9fafb;
    border-left: 4px solid #3b82f6;
    font-style: italic;
    color: #374151;
    border-radius: 10px;
    line-height: 2;
    font-size: 1.05em;
}

.classic-interpretation {
    color: #4b5563;
    line-height: 2.2;
    font-size: 1.05em;
    margin-top: 20px;
}

.no-data {
    text-align: center;
    padding: 80px 40px;
    color: #9ca3af;
}

.no-data-icon {
    font-size: 3.5em;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .shensha-container {
        padding: 24px 16px;
    }

    .page-header {
        padding: 40px 0 32px;
        margin-bottom: 40px;
    }

    .page-header h1 {
        font-size: 2.4em;
    }

    .intro-section {
        padding: 32px 22px;
        margin-bottom: 40px;
    }

    .shensha-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .detail-container {
        padding: 24px 16px;
    }

    .detail-header {
        padding: 40px 24px;
    }

    .detail-header h1 {
        font-size: 2.1em;
    }

    .detail-content {
        padding: 32px 22px;
    }

    .section-title {
        font-size: 1.2em;
        margin-bottom: 20px;
    }

    .info-value {
        font-size: 1em;
        line-height: 2;
    }

    .classic-quote {
        padding: 20px 22px;
        font-size: 1em;
    }
}


