/* PK08 模板公共样式 - 暗黑风格 */

/* ==================== 全局重置 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
}

/* ==================== 星空背景 ==================== */
body {
    /* 深色星空背景 */
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(15, 23, 42, 0.8) 0%, #000000 100%),
        linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #000000 100%);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    /* 优化渲染性能 */
    will-change: background, background-image;
    /* 星空背景效果 */
    position: relative;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    overflow-x: hidden;
}

/* 第一层 - 星云和银河效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* 银河带效果 */
        linear-gradient(180deg, 
            transparent 0%,
            rgba(99, 102, 241, 0.1) 20%,
            rgba(139, 92, 246, 0.15) 40%,
            rgba(99, 102, 241, 0.1) 60%,
            transparent 100%
        ),
        /* 星云效果 */
        radial-gradient(ellipse 2000px 800px at 30% 30%, rgba(99, 102, 241, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse 1800px 700px at 70% 70%, rgba(139, 92, 246, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse 1500px 600px at 50% 50%, rgba(79, 70, 229, 0.15) 0%, transparent 80%);
    pointer-events: none;
    z-index: 0;
    animation: nebulaMove 60s ease-in-out infinite;
    filter: blur(2px);
    opacity: 0.8;
}

/* 星云移动动画 */
@keyframes nebulaMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translate(2%, 1%) scale(1.05);
        opacity: 0.9;
    }
    50% {
        transform: translate(-1%, 2%) scale(0.98);
        opacity: 0.7;
    }
    75% {
        transform: translate(1%, -1%) scale(1.02);
        opacity: 0.85;
    }
}

/* 第二层 - 星星点效果 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* 大星星 */
        radial-gradient(circle 3px at 15% 20%, rgba(255, 255, 255, 1) 0%, transparent 100%),
        radial-gradient(circle 2.5px at 35% 45%, rgba(255, 255, 255, 0.9) 0%, transparent 100%),
        radial-gradient(circle 3px at 55% 15%, rgba(255, 255, 255, 0.95) 0%, transparent 100%),
        radial-gradient(circle 2px at 75% 60%, rgba(255, 255, 255, 0.85) 0%, transparent 100%),
        radial-gradient(circle 3px at 85% 30%, rgba(255, 255, 255, 0.9) 0%, transparent 100%),
        radial-gradient(circle 2.5px at 25% 75%, rgba(255, 255, 255, 0.88) 0%, transparent 100%),
        radial-gradient(circle 2px at 65% 85%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
        radial-gradient(circle 3px at 90% 80%, rgba(255, 255, 255, 0.92) 0%, transparent 100%),
        /* 中等星星 */
        radial-gradient(circle 1.5px at 10% 30%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
        radial-gradient(circle 1px at 20% 60%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 30% 10%, rgba(255, 255, 255, 0.65) 0%, transparent 100%),
        radial-gradient(circle 1px at 40% 80%, rgba(255, 255, 255, 0.55) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 50% 25%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
        radial-gradient(circle 1px at 60% 70%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 70% 40%, rgba(255, 255, 255, 0.65) 0%, transparent 100%),
        radial-gradient(circle 1px at 80% 90%, rgba(255, 255, 255, 0.55) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 95% 50%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
        /* 小星星 - 更多 */
        radial-gradient(circle 0.8px at 5% 15%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
        radial-gradient(circle 0.5px at 12% 35%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
        radial-gradient(circle 0.8px at 18% 55%, rgba(255, 255, 255, 0.45) 0%, transparent 100%),
        radial-gradient(circle 0.5px at 22% 75%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
        radial-gradient(circle 0.8px at 28% 5%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
        radial-gradient(circle 0.5px at 32% 25%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
        radial-gradient(circle 0.8px at 38% 45%, rgba(255, 255, 255, 0.45) 0%, transparent 100%),
        radial-gradient(circle 0.5px at 42% 65%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
        radial-gradient(circle 0.8px at 48% 85%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
        radial-gradient(circle 0.5px at 52% 10%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
        radial-gradient(circle 0.8px at 58% 30%, rgba(255, 255, 255, 0.45) 0%, transparent 100%),
        radial-gradient(circle 0.5px at 62% 50%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
        radial-gradient(circle 0.8px at 68% 70%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
        radial-gradient(circle 0.5px at 72% 90%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
        radial-gradient(circle 0.8px at 78% 20%, rgba(255, 255, 255, 0.45) 0%, transparent 100%),
        radial-gradient(circle 0.5px at 82% 40%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
        radial-gradient(circle 0.8px at 88% 60%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
        radial-gradient(circle 0.5px at 92% 80%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
        /* 彩色星星点缀 */
        radial-gradient(circle 2px at 45% 35%, rgba(99, 102, 241, 0.8) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 25% 50%, rgba(139, 92, 246, 0.7) 0%, transparent 100%),
        radial-gradient(circle 2px at 65% 25%, rgba(99, 102, 241, 0.75) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 85% 55%, rgba(139, 92, 246, 0.7) 0%, transparent 100%),
        radial-gradient(circle 2px at 15% 65%, rgba(99, 102, 241, 0.8) 0%, transparent 100%);
    background-size: 100% 100%;
    background-position: 0% 0%;
    pointer-events: none;
    z-index: 0;
    animation: starTwinkle 4s ease-in-out infinite;
}

/* 星星闪烁动画 */
@keyframes starTwinkle {
    0%, 100% {
        opacity: 1;
        filter: brightness(1);
    }
    25% {
        opacity: 0.7;
        filter: brightness(0.8);
    }
    50% {
        opacity: 0.5;
        filter: brightness(0.6);
    }
    75% {
        opacity: 0.8;
        filter: brightness(0.9);
    }
}

/* 确保内容在背景之上 */
body > * {
    position: relative;
    z-index: 1;
}

/* ==================== 半透明容器（登录/注册页面） ==================== */
.auth-container {
    position: relative;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%),
        radial-gradient(ellipse at top left, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 32px;
    padding: 60px 50px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 0 100px rgba(99, 102, 241, 0.25),
        0 0 200px rgba(139, 92, 246, 0.15);
    width: 100%;
    max-width: 900px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: containerGlow 4s ease-in-out infinite;
}

/* 卡片光晕动画 */
@keyframes containerGlow {
    0%, 100% {
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.2) inset,
            0 0 100px rgba(99, 102, 241, 0.25),
            0 0 200px rgba(139, 92, 246, 0.15);
    }
    50% {
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.25) inset,
            0 0 120px rgba(99, 102, 241, 0.35),
            0 0 250px rgba(139, 92, 246, 0.25);
    }
}

/* 第一层背景光效 */
.auth-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
    animation: rotate 25s linear infinite;
    pointer-events: none;
    filter: blur(40px);
}

/* 第二层边框光效 */
.auth-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 32px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.4) 0%, 
        rgba(139, 92, 246, 0.4) 50%, 
        rgba(99, 102, 241, 0.4) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: borderGlow 3s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.4;
        filter: brightness(1);
    }
    50% {
        opacity: 0.8;
        filter: brightness(1.3);
    }
}

.auth-container > * {
    position: relative;
    z-index: 1;
}

/* ==================== 标题样式 ==================== */
.auth-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #e0e7ff 25%, 
        #c7d2fe 50%, 
        #a5b4fc 75%, 
        #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    margin-bottom: 16px;
    text-shadow: 
        0 0 20px rgba(99, 102, 241, 0.5),
        0 0 40px rgba(139, 92, 246, 0.3);
    animation: titleShine 3s ease-in-out infinite;
    letter-spacing: 1px;
    position: relative;
}

/* 标题光效动画 */
@keyframes titleShine {
    0%, 100% {
        background-position: 0% 50%;
        filter: brightness(1);
    }
    50% {
        background-position: 100% 50%;
        filter: brightness(1.2);
    }
}

.auth-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ==================== 返回按钮样式 ==================== */
.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateX(-3px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.back-button:active {
    transform: translateX(-3px) scale(0.95);
}

.back-button svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

@media (max-width: 480px) {
    .back-button {
        top: 15px;
        left: 15px;
        width: 36px;
        height: 36px;
    }
    
    .back-button svg {
        width: 18px;
        height: 18px;
    }
}

/* ==================== 表单样式 ==================== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    font-size: 16px;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.form-input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.8);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 0 0 4px rgba(99, 102, 241, 0.3),
        0 8px 24px rgba(99, 102, 241, 0.2),
        0 0 40px rgba(139, 92, 246, 0.15);
    transform: translateY(-2px);
}

.form-input:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.15);
}

/* ==================== 按钮样式 ==================== */
.btn-login {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    background-size: 200% 200%;
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 24px rgba(99, 102, 241, 0.5),
        0 0 40px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: buttonGradient 3s ease infinite;
}

@keyframes buttonGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 32px rgba(99, 102, 241, 0.6),
        0 0 60px rgba(139, 92, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-login:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 
        0 4px 16px rgba(99, 102, 241, 0.4),
        0 0 30px rgba(139, 92, 246, 0.3);
}

.btn-register {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    background-size: 200% 200%;
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 24px rgba(16, 185, 129, 0.5),
        0 0 40px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: buttonGradientGreen 3s ease infinite;
}

@keyframes buttonGradientGreen {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.btn-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-register:hover::before {
    left: 100%;
}

.btn-register:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 50%, #065f46 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 32px rgba(16, 185, 129, 0.6),
        0 0 60px rgba(16, 185, 129, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-register:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 
        0 4px 16px rgba(16, 185, 129, 0.4),
        0 0 30px rgba(16, 185, 129, 0.3);
}

.btn-register:active {
    transform: translateY(0);
}

/* ==================== 消息提示样式 ==================== */
.error-message {
    background: 
        linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(220, 38, 38, 0.2) 100%);
    color: #fecaca;
    padding: 16px 20px;
    border-radius: 16px;
    margin-bottom: 24px;
    border: 2px solid rgba(239, 68, 68, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 
        0 4px 16px rgba(239, 68, 68, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.success-message {
    background: 
        linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.2) 100%);
    color: #a7f3d0;
    padding: 16px 20px;
    border-radius: 16px;
    margin-bottom: 24px;
    border: 2px solid rgba(16, 185, 129, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 
        0 4px 16px rgba(16, 185, 129, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ==================== 链接样式 ==================== */
.link-text {
    text-align: center;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.link-text a {
    color: #c4b5fd;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 2px 4px;
    border-radius: 4px;
}

.link-text a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c4b5fd, #a78bfa);
    transition: width 0.3s ease;
}

.link-text a:hover {
    color: #e9d5ff;
    background: rgba(196, 181, 253, 0.1);
    transform: translateY(-1px);
}

.link-text a:hover::after {
    width: 100%;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .auth-container {
        padding: 40px 30px;
        border-radius: 24px;
        max-width: 95%;
        margin: 0 auto;
    }
    
    .auth-title {
        font-size: 2rem;
    }
    
    .auth-subtitle {
        font-size: 15px;
        margin-bottom: 35px;
    }
    
    .form-input {
        font-size: 16px; /* 防止iOS缩放 */
        padding: 14px 18px;
        border-radius: 14px;
    }
    
    .btn-login,
    .btn-register {
        padding: 14px;
        font-size: 16px;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .auth-container {
        border-radius: 20px;
        max-width: 95%;
        margin: 0 auto;
    }
    
    .auth-title {
        font-size: 1.8rem;
    }
    
    .auth-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-input {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .btn-login,
    .btn-register {
        padding: 12px;
        font-size: 15px;
    }
}

/* ==================== 统一卡片样式 ==================== */
/* 通用卡片容器 - 与 auth-container 样式统一 */
.unified-card {
    position: relative;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%),
        radial-gradient(ellipse at top left, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 32px;
    padding: 40px 35px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 0 100px rgba(99, 102, 241, 0.25),
        0 0 200px rgba(139, 92, 246, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: containerGlow 4s ease-in-out infinite;
    margin: 20px auto;
    max-width: 95%;
}

/* 卡片背景光效 */
.unified-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
    animation: rotate 25s linear infinite;
    pointer-events: none;
    filter: blur(40px);
}

/* 卡片边框光效 */
.unified-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 32px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.4) 0%, 
        rgba(139, 92, 246, 0.4) 50%, 
        rgba(99, 102, 241, 0.4) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: borderGlow 3s ease-in-out infinite;
    opacity: 0.6;
}

.unified-card > * {
    position: relative;
    z-index: 1;
}

/* 卡片标题样式 */
.unified-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(99, 102, 241, 0.4);
    display: flex;
    align-items: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 帮助公告标题图标：改用内联 SVG（避免字体图标加载异常导致空心方块） */
.unified-card-title .title-icon {
    width: 22px;
    height: 22px;
    margin-right: 10px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

/* 卡片内容样式 */
.unified-card-content {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 15px;
    white-space: pre-wrap;
    word-wrap: break-word;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .unified-card {
        padding: 30px 25px;
        border-radius: 24px;
        margin: 15px 10px;
    }
    
    .unified-card-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }
    
    .unified-card-content {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .unified-card {
        padding: 25px 20px;
        border-radius: 20px;
    }
    
    .unified-card-title {
        font-size: 1.2rem;
    }
    
    .unified-card-content {
        font-size: 13px;
    }
}

