/* 透明效果样式 */

/* 视频背景样式 */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.1); /* 增加亮度和对比度 */
    z-index: -1;
}

.page-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    background-color: rgba(0, 0, 0, 0.2); /* 减少遮罩深度 */
    backdrop-filter: blur(1px); /* 减少模糊效果 */
}

/* 增加内容区域透明度 */
.container {
    background-color: transparent;
}

/* 让文字更加清晰可见 */
h1, h2, h3, p, .section-title, .section-header h2, .section-header p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 给卡片添加玻璃效果 */
.feature-card, 
.portfolio-item, 
.article-preview-card, 
.xhs-preview-card,
.contact-preview-info,
.hero-content,
.about-section, 
.story-section, 
.contact-section, 
.social-section,
.about-content,
.contact-form,
.contact-info,
.social-card,
.preview-card,
.home-section {
    background-color: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    border-radius: var(--radius);
}

/* 导航栏样式 */
.navbar {
    background-color: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(5px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 页脚样式 */
.footer {
    background-color: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(5px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 表单元素样式 */
input, textarea, select, button {
    background-color: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(3px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

/* 按钮样式调整 */
.btn {
    backdrop-filter: blur(3px) !important;
}

.primary-btn {
    background: var(--gradient-primary) !important;
    border: none !important;
}

.secondary-btn, .outline-btn {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* 统计部分 */
.stats-section {
    background-color: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(5px) !important;
}

/* 文字颜色调整，提高可读性 */
body {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* 链接颜色调整 */
a:not(.btn) {
    color: rgba(255, 255, 255, 0.9) !important;
}

a:hover:not(.btn) {
    color: white !important;
}

/* 确保背景装饰元素不会干扰内容 */
.bg-decoration {
    opacity: 0.5;
}

/* 玻璃态效果 */
.navbar, .feature-card, .about-preview-content, .portfolio-item, .article-preview-card, .xhs-preview-card, .contact-form, .social-card, .story-content, .contact-item {
    background-color: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    border-radius: var(--radius);
} 