/* ========================================
           全局重置 & 紫色主题
           ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0d0a12;
    color: #e0d6e8;
    font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ========================================
           主卡片 — 紫色神秘风格
           ======================================== */
.disclaimer-container {
    max-width: 960px;
    width: 100%;
    background: linear-gradient(145deg, #1a1225, #261a33);
    border-radius: 28px;
    padding: 45px 50px;
    box-shadow: 0 20px 60px rgba(80, 40, 120, 0.35),
        0 0 0 1px rgba(150, 80, 200, 0.12);
    border: 1px solid rgba(160, 100, 200, 0.15);
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

/* 背景光晕 */
.disclaimer-container::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 70%;
    height: 80%;
    background: radial-gradient(circle, rgba(120, 60, 180, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ========================================
           头部
           ======================================== */
.disclaimer-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(150, 80, 200, 0.2);
    position: relative;
    z-index: 1;
}

.disclaimer-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #c084e8, #a855f7, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.disclaimer-header .sub {
    font-size: 1rem;
    color: #b8a0cc;
    margin-top: 6px;
    letter-spacing: 0.3px;
}

.disclaimer-header .sub strong {
    color: #c084e8;
    font-weight: 600;
}

/* ========================================
           作者 / 品牌横幅
           ======================================== */
.brand-bar {
    background: rgba(40, 25, 60, 0.6);
    border-radius: 14px;
    padding: 14px 22px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    font-size: 0.92rem;
    border: 1px solid rgba(150, 80, 200, 0.12);
    backdrop-filter: blur(4px);
    position: relative;
    z-index: 1;
}

.brand-bar span {
    color: #ccc0d8;
}

.brand-bar strong {
    color: #c084e8;
    font-weight: 600;
}

.brand-bar .highlight {
    color: #d8b4fe;
}

/* ========================================
           正文 — 条款块
           ======================================== */
.disclaimer-body {
    display: flex;
    flex-direction: column;
    gap: 26px;
    position: relative;
    z-index: 1;
}

/* 每个条款块 */
.clause {
    background: rgba(30, 18, 48, 0.7);
    border-radius: 16px;
    padding: 22px 28px;
    border-left: 4px solid rgba(120, 60, 180, 0.3);
    transition: border-color 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(2px);
}

.clause:hover {
    border-left-color: #a855f7;
    background: rgba(40, 25, 60, 0.5);
}

.clause h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #c084e8;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.clause h2 .badge {
    font-size: 0.65rem;
    background: rgba(120, 60, 180, 0.25);
    color: #b8a0cc;
    padding: 0 14px;
    border-radius: 30px;
    font-weight: 400;
    letter-spacing: 0.3px;
    border: 1px solid rgba(150, 80, 200, 0.12);
}

.clause h2 .badge-danger {
    background: rgba(180, 40, 80, 0.2);
    color: #e8a0b8;
    border-color: rgba(200, 60, 100, 0.15);
}

.clause p,
.clause li {
    color: #d0c4dc;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.clause ul,
.clause ol {
    padding-left: 24px;
    margin: 8px 0 4px 0;
}

.clause li {
    margin-bottom: 4px;
}

.clause li strong {
    color: #d8b4fe;
}

/* 高亮框 — 紫色风格 */
.highlight-box {
    background: rgba(40, 20, 60, 0.5);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 12px 0 4px 0;
    border: 1px solid rgba(150, 80, 200, 0.12);
    color: #ccc0d8;
    font-size: 0.92rem;
}

.highlight-box strong {
    color: #c084e8;
}

.highlight-box .danger {
    color: #e8a0b8;
    font-weight: 600;
}

.highlight-box .warn {
    color: #f0c8a0;
    font-weight: 500;
}

/* 禁区列表 — 特殊标记 */
.forbidden-list {
    list-style: none;
    padding-left: 0 !important;
    margin: 8px 0 4px 0;
}

.forbidden-list li {
    padding: 4px 0 4px 28px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23a855f7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><line x1="15" y1="9" x2="9" y2="15"/><line x1="9" y1="9" x2="15" y2="15"/></svg>') left center no-repeat;
    background-size: 16px;
}

/* ========================================
           底部接受声明
           ======================================== */
.acceptance {
    margin-top: 20px;
    padding: 20px 28px;
    background: rgba(40, 20, 60, 0.4);
    border-radius: 16px;
    border: 1px solid rgba(150, 80, 200, 0.12);
    text-align: center;
    font-size: 1rem;
    color: #c8b8d8;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(2px);
}

.acceptance strong {
    color: #c084e8;
}

.acceptance .btn-group {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.acceptance .btn {
    padding: 10px 40px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    display: inline-block;
}

.btn-agree {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.btn-agree:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.45);
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.btn-disagree {
    background: rgba(60, 30, 80, 0.4);
    color: #b8a0cc;
    border: 1px solid rgba(150, 80, 200, 0.15);
}

.btn-disagree:hover {
    background: rgba(80, 40, 100, 0.5);
    color: #e0d6e8;
}

/* ========================================
           响应式
           ======================================== */
@media (max-width: 700px) {
    .disclaimer-container {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .disclaimer-header h1 {
        font-size: 1.7rem;
    }

    .clause {
        padding: 18px 18px;
    }

    .clause h2 {
        font-size: 1.05rem;
    }

    .brand-bar {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        font-size: 0.85rem;
    }

    .acceptance .btn {
        padding: 8px 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 450px) {
    body {
        padding: 16px 10px;
    }

    .disclaimer-container {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .clause {
        padding: 14px 14px;
    }

    .clause h2 {
        font-size: 0.95rem;
    }

    .clause p,
    .clause li {
        font-size: 0.88rem;
    }

    .highlight-box {
        font-size: 0.85rem !important;
        padding: 12px 14px !important;
    }

    .forbidden-list li {
        padding-left: 24px !important;
        background-size: 14px !important;
    }
}

/* ========================================
           滚动条美化
           ======================================== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0d0a12;
}

::-webkit-scrollbar-thumb {
    background: #4a2a6a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6a3a8a;
}