/* 磨砂玻璃卡片样式 */
.fgc-card-wrapper {
    margin: 30px 0;
    width: 100%;
    opacity: 0;
    animation: fgcFadeIn var(--fgc-duration, 0.6s) ease-out forwards;
}

@keyframes fgcFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fgc-card {
    position: relative;
    padding: 30px 35px;
    border-radius: 20px;
    /* 您指定的渐变背景 */
    background: linear-gradient(135deg, #292a2d 0%, #323335 100%);
    /* 磨砂玻璃效果 */
    backdrop-filter: blur(var(--fgc-blur, 20px));
    -webkit-backdrop-filter: blur(var(--fgc-blur, 20px));
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.fgc-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* 卡片内容 */
.fgc-card-content {
    color: var(--fgc-text-color, #ffffff);
    font-size: var(--fgc-font-size, 16px);
    line-height: var(--fgc-line-height, 1.8);
    text-align: var(--fgc-text-align, left);
    font-weight: var(--fgc-font-weight, 400);
    position: relative;
    z-index: 1;
}

/* 强制所有子元素继承文字颜色 */
.fgc-card-content * {
    color: inherit !important;
}

/* 链接保持蓝色，方便识别 */
.fgc-card-content a {
    color: #6eb5ff !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(110, 181, 255, 0.3);
}

.fgc-card-content a:hover {
    border-bottom-color: #6eb5ff;
}

.fgc-card-content h1,
.fgc-card-content h2,
.fgc-card-content h3,
.fgc-card-content h4 {
    margin-top: 0;
}

.fgc-card-content p:last-child {
    margin-bottom: 0;
}

.fgc-card-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .fgc-card-wrapper {
        margin: 20px 0;
    }
    
    .fgc-card {
        padding: 20px 22px;
        border-radius: 16px;
    }
    
    .fgc-card-content {
        font-size: calc(var(--fgc-font-size, 16px) * 0.95);
    }
}

@media (max-width: 480px) {
    .fgc-card {
        padding: 16px 18px;
        border-radius: 12px;
    }
    
    .fgc-card-content {
        font-size: calc(var(--fgc-font-size, 16px) * 0.9);
    }
}