/* === 暗黑模式兼容 === */
@media (prefers-color-scheme: dark) {
    .entry-content, .post-content, .article-content, article { color: #e0e0e0 !important; }
    .rainbow-gradient-text { -webkit-text-fill-color: transparent; color: inherit !important; }
    p { color: #d0d0d0 !important; }
    strong, b { color: #ffcc00 !important; }
}

/* === 渐变文字基础样式（内层 span） === */
.rainbow-gradient-text {
    display: inline;                 /* 不改变父 h1~h6 块级显示 */
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;

    /* 🔑 保证多行标题背景连续，父元素行高/margin不受影响 */
    line-height: inherit;
    margin: 0;
    padding: 0;
    word-break: break-word;
}

/* === 彩蛋模式背景动画 === */
body.rbtc-easter-egg-mode {
    background-image: linear-gradient(45deg, #ff69b4, #00ffff, #8a2be2);
    background-size: 400% 400%;
    animation: rainbow-bg 8s ease infinite;
}
@keyframes rainbow-bg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* === 跳动效果 === */
.rbtc-jumpy {
    display: inline-block;
    animation: jumpy-text 0.8s infinite ease-in-out;
}
@keyframes jumpy-text {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-3px) rotate(-2deg); }
}

/* === 标记彩色文字的类 === */
.rbtc-colored { }

/* === 后台页面样式保持原样 === */
.rbtc-wrap h1 { margin-bottom: 24px; color: #222; font-weight: 700; }
.rbtc-wrap hr { margin: 40px 0; border: none; border-top: 1px solid #ddd; }
.rbtc-wrap h2 { margin-top: 40px; margin-bottom: 16px; font-weight: 600; color: #333; }
.rbtc-wrap p, .rbtc-wrap ul { font-size: 14px; color: #444; line-height: 1.6; }
.rbtc-wrap ul { padding-left: 20px; }
.rbtc-pro-cards { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; }
.rbtc-pro-card {
    flex: 1 1 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(34, 113, 177, 0.15);
    padding: 20px;
    color: #222;
    transition: box-shadow 0.3s ease;
    cursor: default;
}
.rbtc-pro-card:hover { box-shadow: 0 12px 30px rgba(34, 113, 177, 0.3); }
.rbtc-pro-card h3 { margin-top: 0; margin-bottom: 12px; color: #2271b1; font-weight: 700; font-size: 18px; }
.rbtc-pro-card p { font-size: 14px; color: #555; }
.rbtc-pro-card .icon { font-size: 32px; margin-bottom: 12px; color: #2271b1; }
.rbtc-pro-upgrade-btn {
    display: inline-block;
    margin-top: 24px;
    padding: 10px 28px;
    background: #2271b1;
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 6px 12px rgba(34,113,177,0.4);
    transition: background 0.3s ease;
}
.rbtc-pro-upgrade-btn:hover {
    background: #135e96;
    box-shadow: 0 8px 18px rgba(19,94,150,0.6);
}
