/* ==========================================================================
   rules.css —— 加减分细则页
   ========================================================================== */

.rules-container {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    padding: 30px 20px 40px;
}

.header { text-align: center; margin-bottom: 34px; }
.header h1 {
    margin: 0 0 12px;
    font-size: 31px;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1.35;
    background: linear-gradient(100deg, #fff, #7dd3fc 60%, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.header p {
    margin: 0;
    color: #bdd2ea;
    font-size: 13.5px;
    letter-spacing: .06em;
}

.section {
    background: linear-gradient(180deg, rgba(9, 17, 31, .8), rgba(7, 14, 26, .68));
    border: 1px solid rgba(120, 190, 255, .18);
    border-radius: 16px;
    padding: 26px 28px;
    margin-bottom: 20px;
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 20px 44px -32px rgba(0, 0, 0, .95);
}
.section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 18px;
    padding-bottom: 12px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .03em;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.section ul { list-style: none; padding: 0; margin: 0; }
.section li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 13px;
    font-size: 15px;
    line-height: 1.85;
    letter-spacing: .025em;
    color: #cfe1f8;
}
.section li:last-child { margin-bottom: 0; }
.section li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: .72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px rgba(34, 211, 238, .7);
}
.section li strong { font-weight: 700; letter-spacing: .02em; }

.danger { border-color: rgba(248, 113, 113, .3); }
.danger h2 { color: #f87171; border-color: rgba(248, 113, 113, .22); }
.danger li::before { background: #f87171; box-shadow: 0 0 8px rgba(248, 113, 113, .7); }
.danger strong { color: #fca5a5; }

.warning { border-color: rgba(251, 191, 36, .3); }
.warning h2 { color: #fbbf24; border-color: rgba(251, 191, 36, .22); }
.warning li::before { background: #fbbf24; box-shadow: 0 0 8px rgba(251, 191, 36, .7); }
.warning strong { color: #fcd34d; }

.footer {
    text-align: center;
    color: #55688a;
    font-size: 12.5px;
    letter-spacing: .1em;
    margin-top: 34px;
    padding-bottom: 24px;
}

@media (max-width: 768px) {
    .rules-container { padding: 20px 14px 30px; }
    .header h1 { font-size: 22px; }
    .header p { font-size: 12.5px; }
    .section { padding: 18px 16px; border-radius: 13px; }
    .section h2 { font-size: 15.5px; }
    .section li { font-size: 14px; line-height: 1.8; }
}
