/* ============================================
   苏白资源工具集 - 简约科技风格
   游戏网站高级版设计
   ============================================ */

/* 子比主题变量 */
:root {
    --sbzy-primary: #667eea;
    --sbzy-secondary: #764ba2;
    --sbzy-accent: #f093fb;
    --sbzy-gradient: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    --sbzy-dark-bg: #0f0f1a;
    --sbzy-dark-card: #1a1a2e;
    --sbzy-dark-border: #2d2d44;
}

/* 插件根容器 - 参考sub-sponsor插件实现全宽度 */
.sbzy-plugin {
    width: 100%;
    max-width: 100%;
    margin: -20px 0 0 0 !important;
    padding: 0;
    background: transparent;
    color: var(--key-color);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.65;
}

/* 全页面宽度 - 参考sub-sponsor插件 */
body:not(.wp-admin) article:has(.sbzy-plugin),
body:not(.wp-admin) .post:has(.sbzy-plugin),
body:not(.wp-admin) .page:has(.sbzy-plugin),
body:not(.wp-admin) .content-wrap:has(.sbzy-plugin),
body:not(.wp-admin) .single-content:has(.sbzy-plugin),
body:not(.wp-admin) .article-content:has(.sbzy-plugin) {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* ============================================
   联系我们页面样式
   ============================================ */
.sbzy-contact-container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 20px 20px;
    position: relative;
    z-index: 1;
}

.sbzy-contact-section {
    background: var(--main-bg-color);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 50px 40px;
    margin-bottom: 40px;
    border: 1px solid var(--main-border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.sbzy-contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

.sbzy-contact-section:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
}

.sbzy-section-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--key-color);
    text-align: center;
    margin-bottom: 35px;
    position: relative;
    padding-bottom: 16px;
    letter-spacing: -0.3px;
}

.sbzy-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.sbzy-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.sbzy-qq-group-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.sbzy-contact-card {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    position: relative;
    border: 1px solid var(--main-border-color);
    transition: all 0.3s ease;
}

.sbzy-contact-card:hover {
    transform: translateY(-6px);
    border-color: #667eea;
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.15);
}

.sbzy-contact-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    box-sizing: border-box;
}

/* 强制图标容器尺寸 - 防止被其他样式覆盖 */
.sbzy-plugin .sbzy-contact-icon,
.sbzy-contact-container .sbzy-contact-icon {
    width: 40px !important;
    height: 40px !important;
}

/* 暗夜模式下图标容器 */
body.dark-theme .sbzy-contact-icon {
    border-color: rgba(102, 126, 234, 0.3);
}

body.dark-theme .sbzy-contact-icon .placeholder-text {
    color: #8ba4f5;
}

.sbzy-contact-card:hover .sbzy-contact-icon {
    transform: scale(1.1);
}

.sbzy-contact-icon img {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 50%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 强制图片尺寸 - 防止被其他样式覆盖 */
.sbzy-plugin .sbzy-contact-icon img,
.sbzy-contact-container .sbzy-contact-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* 图标占位符样式 */
.sbzy-contact-icon .placeholder-text {
    font-size: 16px;
    font-weight: 700;
    color: #667eea;
    position: relative;
    z-index: 1;
}

.sbzy-contact-card .sbzy-account {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.sbzy-contact-card:hover .sbzy-account {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.sbzy-qrcode-container {
    margin-top: 16px;
    padding: 16px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    border: 1px solid var(--main-border-color);
}

.sbzy-qrcode-container img {
    width: 110px;
    height: 110px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.sbzy-qrcode-hint {
    font-size: 13px;
    color: var(--muted-color);
    margin-top: 10px;
    font-weight: 600;
}

.sbzy-click-hint {
    font-size: 12px;
    color: var(--muted-color);
    margin-top: 8px;
}

.sbzy-qq-card {
    cursor: pointer;
}

.sbzy-footer-text {
    text-align: center;
    margin-top: 60px;
    color: var(--muted-color);
    font-size: 15px;
    padding-bottom: 40px;
}

.sbzy-footer-text a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px dashed #667eea;
    transition: all 0.2s;
    padding: 0 4px;
}

.sbzy-footer-text a:hover {
    color: #764ba2;
    border-bottom-style: solid;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 4px;
}

/* 暗夜模式下联系我们页脚链接 */
body.dark-theme .sbzy-footer-text a {
    color: #8ba4f5;
    border-bottom-color: #8ba4f5;
}

body.dark-theme .sbzy-footer-text a:hover {
    color: #f093fb;
    border-bottom-color: #f093fb;
    background: rgba(102, 126, 234, 0.15);
}

/* ============================================
   留言板页面样式 - 原始样式（保留暗夜模式支持）
   ============================================ */
.sbzy-wrapper {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    padding: 20px 20px;
    font-family: inherit;
    color: var(--key-color);
    background: transparent;
    clear: both;
    position: relative;
    z-index: 1;
}

/* 头部区域 - 美化版 */
.sbzy-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding: 2.5rem 2rem;
    text-align: center;
    color: white;
    border-bottom: none;
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem 1.5rem 0 0;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 40px -10px rgba(102, 126, 234, 0.4);
}
.sbzy-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 30%, rgba(255,255,255,0) 60%);
    pointer-events: none;
    animation: sbzyFloat 4s ease-in-out infinite;
}
.sbzy-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
    pointer-events: none;
    animation: sbzyShine 3s ease-in-out infinite;
}
@keyframes sbzyFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(60px, -60px) scale(1.2); }
    50% { transform: translate(0, -100px) scale(1.1); }
    75% { transform: translate(-60px, -40px) scale(1.2); }
}
@keyframes sbzyShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.sbzy-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin: 0;
    background: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.sbzy-header h1 .sbzy-icon {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    padding: 14px;
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.sbzy-header h1:hover .sbzy-icon {
    transform: scale(1.1) rotate(10deg);
    background: rgba(255,255,255,0.35);
}
.sbzy-subtitle {
    margin-top: 14px;
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 500;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

/* 留言须知卡片 - 苏白资源风格（紫色渐变） */
.sbzy-notice-box {
    margin: 1.5rem 0 1.5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-left: none;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px -10px rgba(102, 126, 234, 0.4);
    overflow: hidden;
    border: none;
    position: relative;
}
.sbzy-notice-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 30%, rgba(255,255,255,0) 60%);
    pointer-events: none;
}
.sbzy-notice-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 45px -10px rgba(102, 126, 234, 0.5);
}

/* 暗夜模式 - 留言须知卡片 */
body.dark-theme .sbzy-notice-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    box-shadow: 0 10px 40px -10px rgba(102, 126, 234, 0.6);
}

body.dark-theme .sbzy-notice-box::before {
    background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.08) 30%, rgba(255,255,255,0) 60%);
}

body.dark-theme .sbzy-notice-header {
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.15) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

body.dark-theme .sbzy-notice-header .sbzy-notice-icon {
    color: #fff;
}

body.dark-theme .sbzy-notice-header h3 {
    color: #ffffff;
}

body.dark-theme .sbzy-notice-content {
    color: #e0e0e0;
    background: rgba(50, 51, 53, 0.95);
}

body.dark-theme .sbzy-notice-content li {
    background: rgba(60, 60, 62, 0.9);
    border-color: rgba(102, 126, 234, 0.3);
}

body.dark-theme .sbzy-notice-content li:hover {
    background: rgba(70, 70, 72, 0.95);
    border-color: #667eea;
}

body.dark-theme .sbzy-notice-content strong {
    color: #ffffff;
}

.sbzy-notice-header {
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.sbzy-notice-header .sbzy-notice-icon {
    font-size: 1.5rem;
    color: #fff;
    animation: sbzyPulse 2s ease-in-out infinite;
}

.sbzy-notice-header h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 1px;
}

.sbzy-notice-content {
    padding: 1.5rem;
    color: #333333;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
}

.sbzy-notice-content ol {
    margin: 0;
    padding-left: 1.5rem;
}

.sbzy-notice-content li {
    margin: 1rem 0;
    line-height: 1.8;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.sbzy-notice-content li:hover {
    transform: translateX(6px);
    border-color: #667eea;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
    background: #ffffff;
}

.sbzy-notice-content strong {
    color: #1a1a1a;
    font-weight: 800;
    font-size: 1.05em;
}

/* 留言须知内容区域链接样式 */
.sbzy-notice-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px dashed #667eea;
    transition: all 0.2s;
    padding: 0 4px;
}

.sbzy-notice-content a:hover {
    color: #764ba2;
    border-bottom-style: solid;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 4px;
}

/* 暗夜模式下留言须知链接 */
body.dark-theme .sbzy-notice-content a {
    color: #8ba4f5;
    border-bottom-color: #8ba4f5;
}

body.dark-theme .sbzy-notice-content a:hover {
    color: #f093fb;
    border-bottom-color: #f093fb;
    background: rgba(102, 126, 234, 0.15);
}

@keyframes sbzyPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.sbzy-wechat-highlight {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    padding: 6px 14px;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 800;
    color: #c0392b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #f39c12;
    font-size: 0.95em;
    box-shadow: 0 4px 12px rgba(253, 203, 110, 0.4);
}
.sbzy-wechat-highlight .wechat-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sbzy-wechat-highlight:hover {
    background: linear-gradient(135deg, #fdcb6e 0%, #e17055 100%);
    color: white;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 20px rgba(225, 112, 85, 0.4);
    border-color: #e17055;
}

/* 引导卡片 - 美化版 */
.sbzy-comment-guide {
    margin: 1.8rem 0 1rem 0;
    padding: 1.5rem 1.8rem;
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    border-radius: 1.2rem;
    border-left: none;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #2d3436;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(142, 197, 252, 0.3);
    position: relative;
    overflow: hidden;
}

body.dark-theme .sbzy-comment-guide {
    background: linear-gradient(135deg, rgba(118,75,162,0.3) 0%, rgba(102,126,234,0.3) 100%);
    color: var(--key-color);
}

.sbzy-comment-guide::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 60%);
    pointer-events: none;
}
.sbzy-comment-guide:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(142, 197, 252, 0.4);
}
.sbzy-comment-guide strong {
    color: #6c5ce7;
    font-weight: 800;
    position: relative;
}
.sbzy-comment-guide .sbzy-guide-text {
    display: inline-block;
    margin-left: 12px;
    font-weight: 600;
    font-size: 1.3rem;
    background: rgba(255,255,255,0.4);
    padding: 4px 12px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

/* ============================================
   疑难解答页面样式
   ============================================ */
#sbzy-faq-widget {
    max-width: 1450px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 20px;
    position: relative;
    z-index: 1;
}

.sbzy-service-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.4);
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sbzy-service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.5);
}

.sbzy-service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 40%, transparent 70%);
    pointer-events: none;
    animation: sbzyFloat 6s ease-in-out infinite;
}

@keyframes sbzyFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.1); }
    66% { transform: translate(-30px, -50px) scale(1.05); }
}

.sbzy-service-card h2 {
    font-size: 32px;
    font-weight: 900;
    color: white;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.sbzy-service-desc {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 30px;
    line-height: 1.8;
    font-weight: 500;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}

.sbzy-btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    color: white;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.sbzy-btn-detail:hover {
    background: var(--main-bg-color);
    color: #667eea;
    transform: translateY(-4px);
}

.sbzy-video-box,
.sbzy-tools-box {
    background: var(--main-bg-color);
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid var(--main-border-color);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.sbzy-video-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--key-color);
    margin-bottom: 20px;
}

.sbzy-video-wrapper {
    max-width: 900px;
    max-height: 500px;
    width: 100%;
    height: 400px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--main-border-color);
    background: #000;
}

.sbzy-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 视频fallback样式 */
.sbzy-video-fallback {
    padding: 40px 20px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
}

.sbzy-video-fallback p {
    margin: 10px 0;
    font-size: 16px;
}

.sbzy-video-fallback ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.sbzy-video-fallback li {
    margin: 8px 0;
}

.sbzy-video-fallback a {
    color: #667eea;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s;
}

.sbzy-video-fallback a:hover {
    color: #f093fb;
}

.sbzy-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.sbzy-tool-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(102, 126, 234, 0.05);
    padding: 22px;
    border-radius: 14px;
    border: 1px solid var(--main-border-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sbzy-tool-card:hover {
    transform: translateX(6px);
    border-color: #667eea;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.12);
}

.sbzy-tool-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 2rem;
}

.sbzy-tool-card:hover .sbzy-tool-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.sbzy-tool-title {
    font-weight: 700;
    color: var(--key-color);
    font-size: 16px;
}

.sbzy-tool-desc {
    font-size: 13px;
    color: var(--muted-color);
    margin-top: 6px;
    line-height: 1.6;
}

.sbzy-arrow-icon {
    margin-left: auto;
    color: #667eea;
    font-size: 1.6rem;
}

#sbzy-faq-module {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.sbzy-faq-video-box {
    background: var(--main-bg-color);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid var(--main-border-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.sbzy-faq-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--key-color);
    margin-bottom: 20px;
}

/* 简约风格FAQ折叠框 */
.sbzy-faq-list {
    margin-top: 20px;
}

.sbzy-faq-item {
    background: var(--main-bg-color);
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid var(--main-border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.sbzy-faq-item:hover {
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.1);
}

.sbzy-faq-item.important {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.05) 0%, transparent 100%);
}

.sbzy-faq-question {
    font-weight: 600;
    font-size: 15px;
    padding: 18px 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--key-color);
    position: relative;
    transition: all 0.25s ease;
    gap: 16px;
}

.sbzy-faq-question:hover {
    background: rgba(102, 126, 234, 0.05);
}

.sbzy-faq-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.sbzy-faq-arrow {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.sbzy-faq-arrow svg {
    width: 14px;
    height: 14px;
    color: #667eea;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.sbzy-faq-item.open .sbzy-faq-arrow {
    background: #667eea;
}

.sbzy-faq-item.open .sbzy-faq-arrow svg {
    color: white;
    transform: rotate(180deg);
}

.sbzy-faq-answer {
    display: none;
    padding: 0 22px 22px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--key-color);
}

.sbzy-faq-answer h4 {
    font-size: 15px;
    margin: 16px 0 12px 0;
    color: var(--key-color);
    font-weight: 600;
}

.sbzy-faq-answer p {
    margin-bottom: 12px;
}

.sbzy-faq-answer img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

.sbzy-faq-answer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed #667eea;
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.sbzy-faq-answer a:hover {
    border-bottom-style: solid;
    background: rgba(102, 126, 234, 0.1);
}

.sbzy-faq-item.open .sbzy-faq-answer {
    display: block;
}

/* ============================================
   远程安装服务页面样式
   ============================================ */
.sbzy-remote-service-card-wrapper {
    width: 100%;
    max-width: 1450px;
    margin: 20px auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.sbzy-remote-service-card-inner {
    background: var(--main-bg-color);
    border-radius: 22px;
    padding: 50px 45px;
    border: 1px solid var(--main-border-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.sbzy-rs-header {
    text-align: center;
    margin-bottom: 45px;
}

.sbzy-rs-icon-circle {
    width: 95px;
    height: 95px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 18px 40px rgba(102, 126, 234, 0.4);
}

.sbzy-rs-icon-circle svg {
    width: 48px;
    height: 48px;
    color: white;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.sbzy-rs-title {
    font-size: 34px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin: 0 0 14px 0;
    letter-spacing: -1px;
}

.sbzy-rs-subhead {
    font-size: 16px;
    color: var(--muted-color);
    margin: 0;
}

.sbzy-rs-wechat-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 18px;
    padding: 28px 32px;
    margin-bottom: 45px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 25px;
    border: 1px solid var(--main-border-color);
}

.sbzy-rs-wechat-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--main-bg-color);
    border-radius: 50px;
    padding: 12px 28px 12px 18px;
    border: 1px solid var(--main-border-color);
}

.sbzy-rs-wechat-badge img {
    width: 32px;
    height: 32px;
}

.sbzy-rs-wechat-label {
    font-weight: 700;
    color: #667eea;
    font-size: 16px;
}

.sbzy-rs-wechat-id {
    font-family: monospace;
    font-weight: 700;
    font-size: 16px;
    color: var(--key-color);
    letter-spacing: 1px;
}

.sbzy-rs-wechat-note {
    font-size: 14px;
    color: var(--muted-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sbzy-rs-dot {
    width: 12px;
    height: 12px;
    background: #667eea;
    border-radius: 50%;
    animation: blink-dot 2s ease-in-out infinite;
}

@keyframes blink-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.sbzy-rs-info-card {
    background: var(--main-bg-color);
    border-radius: 18px;
    padding: 35px;
    margin-bottom: 45px;
    border: 1px solid var(--main-border-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-left: 6px solid #667eea;
}

.sbzy-rs-info-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--key-color);
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.sbzy-rs-info-title svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
}

.sbzy-rs-info-list {
    list-style: disc;
    padding-left: 32px;
    margin: 0 0 25px 0;
    color: var(--key-color);
    line-height: 1.9;
    font-size: 15px;
}

.sbzy-rs-info-note {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 22px;
    border-radius: 14px;
    color: var(--key-color);
    font-weight: 600;
    font-size: 14px;
    border-left: 4px solid #667eea;
}

.rs-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 45px;
}

.rs-feature-item {
    background: var(--main-bg-color);
    border-radius: 18px;
    padding: 32px;
    text-align: center;
    border: 1px solid var(--main-border-color);
    transition: all 0.3s ease;
}

.rs-feature-item:hover {
    transform: translateY(-8px);
    border-color: #667eea;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.15);
}

.rs-feature-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.rs-feature-item:hover .rs-feature-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.rs-feature-icon svg {
    width: 38px;
    height: 38px;
    color: #667eea;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.rs-feature-item:hover .rs-feature-icon svg {
    color: white;
}

.rs-feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--key-color);
    margin: 0 0 12px 0;
}

.rs-feature-desc {
    font-size: 14px;
    color: var(--muted-color);
    margin: 0;
    line-height: 1.7;
}

.sbzy-rs-two-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    margin-bottom: 45px;
}

.sbzy-rs-process-card,
.sbzy-rs-download-card {
    background: var(--main-bg-color);
    border-radius: 18px;
    padding: 35px;
    border: 1px solid var(--main-border-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.sbzy-rs-section-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--key-color);
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sbzy-rs-section-title svg {
    width: 32px;
    height: 32px;
    color: #667eea;
    fill: currentColor;
}

.sbzy-rs-step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sbzy-rs-step-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    font-size: 15px;
    color: var(--key-color);
    line-height: 1.8;
}

.sbzy-rs-step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #667eea;
    font-size: 16px;
    flex-shrink: 0;
}

.sbzy-rs-step-item:hover .sbzy-rs-step-number {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.sbzy-rs-step-text strong {
    font-weight: 700;
    color: var(--key-color);
}

.sbzy-rs-download-text {
    color: var(--key-color);
    margin: 0 0 25px 0;
    line-height: 1.8;
    font-size: 15px;
}

.sbzy-rs-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 15px;
    box-shadow: 0 10px 28px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.sbzy-rs-download-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 38px rgba(102, 126, 234, 0.4);
}

.sbzy-rs-os-note {
    font-size: 13px;
    color: var(--muted-color);
    margin-top: 18px;
}

.sbzy-rs-back-link {
    text-align: center;
    margin-top: 45px;
    padding-top: 32px;
    border-top: 1px solid var(--main-border-color);
}

.sbzy-rs-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(102, 126, 234, 0.08);
    color: var(--key-color);
    font-weight: 600;
    padding: 13px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid var(--main-border-color);
    transition: all 0.3s ease;
}

.sbzy-rs-back-btn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 768px) {
    .sbzy-contact-container,
    .sbzy-wrapper,
    #sbzy-faq-widget,
    #sbzy-faq-module,
    .sbzy-remote-service-card-wrapper {
        padding: 40px 15px;
    }

    .sbzy-contact-section,
    .sbzy-notice-box,
    .sbzy-comment-guide,
    .sbzy-service-card,
    .sbzy-video-box,
    .sbzy-tools-box,
    .sbzy-faq-video-box,
    .sbzy-remote-service-card-inner,
    .sbzy-rs-info-card,
    .sbzy-rs-process-card,
    .sbzy-rs-download-card {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .sbzy-contact-grid,
    .sbzy-qq-group-grid,
    .sbzy-tools-grid,
    .sbzy-rs-features-grid,
    .sbzy-rs-two-columns {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sbzy-section-title,
    .sbzy-faq-title,
    .sbzy-rs-title {
        font-size: 24px;
    }

    .sbzy-service-card h2 {
        font-size: 28px;
    }

    .sbzy-service-desc {
        font-size: 16px;
    }

    .sbzy-rs-icon-circle {
        width: 80px;
        height: 80px;
    }

    .sbzy-rs-icon-circle svg {
        width: 40px;
        height: 40px;
    }

    .sbzy-contact-card {
        padding: 24px 16px;
    }

    .sbzy-qrcode-container img {
        width: 110px;
        height: 110px;
    }

    .sbzy-faq-question {
        font-size: 16px;
        padding: 20px;
    }

    .sbzy-faq-answer {
        font-size: 15px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .sbzy-contact-container,
    .sbzy-wrapper,
    #sbzy-faq-widget,
    #sbzy-faq-module,
    .sbzy-remote-service-card-wrapper {
        padding: 30px 12px;
    }

    .sbzy-contact-section,
    .sbzy-notice-box,
    .sbzy-comment-guide,
    .sbzy-service-card,
    .sbzy-video-box,
    .sbzy-tools-box,
    .sbzy-faq-video-box,
    .sbzy-remote-service-card-inner {
        padding: 20px 16px;
        border-radius: 14px;
    }

    .sbzy-contact-card {
        padding: 20px 12px;
    }

    .sbzy-qrcode-container img {
        width: 90px;
        height: 90px;
    }

    .sbzy-section-title {
        font-size: 20px;
    }

    .sbzy-rs-title {
        font-size: 28px;
    }
}

/* ============================================
   按钮涟漪效果
   ============================================ */
.sbzy-btn-detail,
.sbzy-rs-download-btn,
.sbzy-rs-back-btn {
    position: relative;
    overflow: hidden;
}

.sbzy-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: sbzy-ripple-effect 0.6s ease-out;
    pointer-events: none;
}

@keyframes sbzy-ripple-effect {
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* ============================================
   卡片过渡动画
   ============================================ */
.sbzy-contact-card,
.sbzy-tool-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   平滑过渡效果
   ============================================ */
* {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* ============================================
   禁用灯箱效果 (参考sub-sponsor插件)
   ============================================ */
/* 禁用整个插件容器内所有图片的灯箱效果 */
.sbzy-plugin img,
.sbzy-plugin .sbzy-contact-icon img,
.sbzy-plugin .sbzy-qrcode-container img,
.sbzy-plugin .sbzy-rs-wechat-badge img,
.sbzy-plugin .sbzy-tool-icon img,
.sbzy-plugin .sbzy-faq-video-box img {
    pointer-events: none;
}

/* 添加data-no-lightbox属性到所有图片 */
.sbzy-plugin img {
    data-no-lightbox: true !important;
}

/* 移除可能触发灯箱的类名 */
.sbzy-plugin .no-lightbox {
    pointer-events: none;
}

/* 疑难解答页脚 */
.sbzy-faq-footer {
    text-align: center;
    margin-top: 25px;
    color: #333333;
    font-size: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* 暗夜模式下页脚 */
body.dark-theme .sbzy-faq-footer {
    color: #e0e0e0 !important;
    background: rgba(50, 51, 53, 0.95) !important;
    border-color: rgba(102, 126, 234, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-theme .sbzy-faq-footer a {
    color: #8ba4f5 !important;
}

body.dark-theme .sbzy-faq-footer a:hover {
    color: #f093fb !important;
    background: rgba(102, 126, 234, 0.15);
}

.sbzy-faq-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px dashed #667eea;
    transition: all 0.2s;
    padding: 0 4px;
}

.sbzy-faq-footer a:hover {
    color: #764ba2;
    border-bottom-style: solid;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 4px;
}