/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 颜色变量 */
:root {
    /* 主色调 - 黑色系 */
    --primary-dark: #1a1a1a;
    --primary-medium: #2d2d2d;
    --primary-light: #404040;
    
    /* 文本颜色 */
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #a0aec0;
    
    /* 功能色彩 */
    --accent-blue: #3498db;
    --accent-green: #2ecc71;
    --accent-red: #e74c3c;
    --accent-yellow: #f39c12;
    --accent-purple: #9b59b6;
    
    /* 背景颜色 */
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #2d3748;
    
    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* 过渡效果 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* 间距 */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
}

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #000000;
    overflow: hidden;
    height: 100vh;
}

/* 导航栏样式 */
header {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(10, 10, 10, 0.95) 100%);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-bottom: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
    transition: var(--transition-normal);
    transform: translateY(0);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    height: 70px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: var(--spacing-lg);
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition-normal);
    position: relative;
    padding: 8px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* 主英雄区域 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: #000000;
    padding-top: 70px;
}

/* 星空背景容器 */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    background: transparent;
}

/* 基础样式 */
body {
    min-height: 100vh;
    overflow: hidden;
    background-color: #000000;
}

.galaxy-container {
    position: fixed;
    inset: 0;
    overflow: hidden;
}

/* 前景星星容器 */
#foreground-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    background: transparent;
}

/* 自定义工具类 */
.star {
    position: absolute;
    border-radius: 50%;
    will-change: opacity, transform;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.galaxy-core {
    background: radial-gradient(
        circle at center,
        rgba(123, 44, 191, 0.7) 0%,
        rgba(67, 40, 137, 0.5) 20%,
        rgba(42, 72, 148, 0.3) 40%,
        rgba(0, 0, 0, 0) 70%
    );
    will-change: transform;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120vh;
    height: 120vh;
    animation: rotate 200s linear infinite;
    z-index: 0;
}

.nebula-texture {
    background: 
        radial-gradient(circle at 20% 30%, rgba(67, 40, 137, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(123, 44, 191, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(42, 72, 148, 0.15) 0%, transparent 40%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    z-index: 0;
}

/* 星星动画 */
.star.slow {
    animation: twinkle-slow 8s ease-in-out infinite;
}

.star.normal {
    animation: twinkle-normal 6s ease-in-out infinite;
}

.star.fast {
    animation: twinkle-fast 4s ease-in-out infinite;
}

.star.pulse {
    animation: pulse 7s ease-in-out infinite;
}

/* 自定义动画 */
@keyframes twinkle-slow {
    0%, 100% {
        opacity: 0.1;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes twinkle-normal {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.9);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes twinkle-fast {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.2;
        transform: scale(0.7);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
    100% {
        opacity: 0.2;
        transform: scale(0.7);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg) scale(1.05);
    }
    100% {
        transform: rotate(360deg) scale(1.05);
    }
}

/* 流星效果 */
.meteor {
    position: absolute;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 1) 50%, 
        transparent 100%);
    border-radius: 100px;
    opacity: 0;
    animation: meteor 2s infinite linear;
    z-index: 2;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    transform: translateZ(0);
}

/* 流星效果 */
.meteor {
    position: absolute;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 1) 50%, 
        transparent 100%);
    border-radius: 100px;
    opacity: 0;
    animation: meteor 2s infinite linear;
    z-index: 2;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    transform: translateZ(0);
}

/* 流星动画 */
@keyframes meteor {
    0% {
        opacity: 0;
        transform: translate3d(calc(-50vw - 100px), calc(-50vh - 100px), 0) rotate(35deg) scale(0);
        box-shadow: none;
    }
    10% {
        opacity: 0.8;
        transform: translate3d(calc(-25vw - 50px), calc(-25vh - 50px), 0) rotate(35deg) scale(0.7);
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    }
    30% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotate(35deg) scale(1);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
    }
    60% {
        opacity: 0.8;
        transform: translate3d(50px, 50px, 0) rotate(35deg) scale(1.1);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    }
    80% {
        opacity: 0.3;
        transform: translate3d(100px, 100px, 0) rotate(35deg) scale(1.2);
        box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
    }
    100% {
        opacity: 0;
        transform: translate3d(calc(50vw + 100px), calc(50vh + 100px), 0) rotate(35deg) scale(1.5);
        box-shadow: none;
    }
}

/* 英雄区域中心内容 */
.hero-center {
    text-align: center;
    padding: 30px 40px 20px; /* 增加顶部内边距，减少底部内边距 */
    z-index: 5;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    flex: 0 0 auto; /* 不伸缩，保持自然高度 */
    width: 100%; /* 确保宽度占满 */
}

.hero-center h1 {
    font-size: 4rem; /* 稍微减小字体大小 */
    font-weight: 800;
    margin-bottom: 15px; /* 减少底部边距 */
    color: var(--text-primary);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-center p {
    font-size: 1.3rem; /* 稍微减小字体大小 */
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 20px; /* 添加底部外边距，与卡片分开 */
    line-height: 1.6;
}

/* 英雄区域视觉效果 */
.hero-visual {
    flex: 0 0 auto; /* 不伸缩，保持自然高度 */
    display: flex;
    align-items: center; /* 改回居中对齐 */
    justify-content: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    transform: translateY(0); /* 移除向上偏移 */
    padding-top: 0; /* 移除顶部内边距 */
}

/* 卡片容器 */
.cards-container {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg); /* 减少卡片之间的间距 */
    margin: 0 auto;
    flex: 0 0 auto;
}

/* 卡片基础样式 */
.floating-card {
    position: relative;
    width: 200px; /* 减小卡片宽度 */
    height: 250px; /* 减小卡片高度 */
    border-radius: 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0);
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 1px 8px rgba(0, 0, 0, 0.06);
}

/* 卡片头部 - 图标区域 */
.floating-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px; /* 减小图标区域高度 */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    will-change: transform;
    transition: all 0.5s ease;
}

/* 小屏幕下调整卡片头部样式 */
@media (max-width: 576px) {
    .floating-card::before {
        display: none; /* 在小屏幕上隐藏伪元素，避免颜色分隔 */
    }
}

/* 添加光泽效果 */
.floating-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s;
    pointer-events: none;
    z-index: 1;
}

/* 卡片内容区域 */
.floating-card-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2;
    will-change: transform;
    backface-visibility: hidden;
}

/* 卡片图标容器 */
.floating-card .icon-wrapper {
    position: relative;
    width: 80px; /* 减小图标容器大小 */
    height: 80px; /* 减小图标容器大小 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px; /* 减小底部边距 */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.05);
    z-index: 3;
    will-change: transform, box-shadow;
    transform: translateZ(0);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.floating-card svg {
    width: 40px; /* 减小图标大小 */
    height: 40px; /* 减小图标大小 */
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform;
}

/* 卡片标题 */
.floating-card h4 {
    font-size: 1.2rem; /* 减小标题字体大小 */
    font-weight: 600;
    margin: 0;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 3;
    will-change: transform;
    color: #2d3748;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* 添加卡片描述 */
.floating-card .card-description {
    font-size: 0.9rem;
    color: #718096;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
    max-width: 180px;
    line-height: 1.4;
}

/* 卡片悬停效果 */
.floating-card:hover {
    transform: translateY(-15px) scale(1.03) translateZ(0);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
}

.floating-card:hover .icon-wrapper {
    transform: scale(1.1) translateZ(0);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.floating-card:hover svg {
    transform: scale(1.2) translateZ(0);
}

.floating-card:hover h4 {
    transform: translateY(-5px) translateZ(0);
}

/* 卡片1 - 后台管理 */
.card-1 {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    border: 2px solid #ffffff;
}

.card-1::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-1 .icon-wrapper {
    background: rgba(255, 255, 255, 0.9);
}

.card-1 svg {
    stroke: #667eea;
}

.card-1 h4 {
    color: #2d3748;
}

.card-1:hover .icon-wrapper {
    background: #fff;
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.4);
}

/* 卡片2 - 主播登陆 */
.card-2 {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    border: 2px solid #ffffff;
}

.card-2::before {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.card-2 .icon-wrapper {
    background: rgba(255, 255, 255, 0.9);
}

.card-2 svg {
    stroke: #f093fb;
}

.card-2 h4 {
    color: #2d3748;
}

.card-2:hover .icon-wrapper {
    background: #fff;
    box-shadow: 0 12px 24px rgba(240, 147, 251, 0.4);
}

/* 卡片3 - 商城登陆 */
.card-3 {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    border: 2px solid #ffffff;
}

.card-3::before {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.card-3 .icon-wrapper {
    background: rgba(255, 255, 255, 0.9);
}

.card-3 svg {
    stroke: #4facfe;
}

.card-3 h4 {
    color: #2d3748;
}

.card-3:hover .icon-wrapper {
    background: #fff;
    box-shadow: 0 12px 24px rgba(79, 172, 254, 0.4);
}

/* 卡片4 - 公开日志 */
.card-4 {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    border: 2px solid #ffffff;
}

.card-4::before {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.card-4 .icon-wrapper {
    background: rgba(255, 255, 255, 0.9);
}

.card-4 svg {
    stroke: #fa709a;
}

.card-4 h4 {
    color: #2d3748;
}

.card-4:hover .icon-wrapper {
    background: #fff;
    box-shadow: 0 12px 24px rgba(250, 112, 154, 0.4);
}

/* 添加卡片内部波纹效果 */
.floating-card .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 70px var(--spacing-lg) var(--spacing-lg) var(--spacing-lg); /* 调整顶部内边距 */
        justify-content: center; /* 确保垂直居中 */
    }
    
    .hero-center {
        margin-bottom: var(--spacing-md); /* 减少底部边距 */
        flex: 0 0 auto;
        padding: 20px 40px 15px; /* 调整内边距 */
    }
    
    .hero-center p {
        margin-bottom: 15px; /* 调整底部外边距 */
    }
    
    .hero-visual {
        flex: 0 0 auto;
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
        transform: translateY(0); /* 移除向上偏移量 */
        max-width: 800px;
        padding-top: 0; /* 移除顶部内边距 */
    }
    
    .floating-card {
        width: 180px; /* 增加卡片宽度 */
        height: 220px; /* 增加卡片高度，确保内容完整显示 */
    }
    
    .cards-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-md); /* 减少卡片间距 */
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: var(--spacing-sm) var(--spacing-lg);
    }
    
    nav ul {
        margin-top: var(--spacing-sm);
    }
    
    nav ul li {
        margin: 0 var(--spacing-sm);
    }
    
    .hero {
        justify-content: center; /* 确保垂直居中 */
    }
    
    .hero-center h1 {
        font-size: 3rem; /* 稍微减小字体大小 */
    }
    
    .hero-center p {
        font-size: 1.1rem; /* 稍微减小字体大小 */
        margin-bottom: 10px; /* 调整底部外边距 */
    }
    
    .hero-center {
        padding: 15px 30px 10px; /* 调整内边距 */
    }
    
    .hero-visual {
        padding-top: 0; /* 移除顶部内边距 */
    }
    
    .floating-card {
        width: 140px; /* 减小卡片宽度 */
        height: 200px; /* 增加卡片高度，确保内容完整显示 */
    }
    
    .floating-card .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .floating-card svg {
        width: 30px;
        height: 30px;
    }
    
    .floating-card h4 {
        font-size: 1rem; /* 减小标题字体大小 */
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 100vh;
        padding-top: 120px; /* 进一步增加顶部内边距，确保标题完全在导航栏下方 */
        padding-bottom: var(--spacing-sm); /* 减少底部内边距 */
        display: flex;
        flex-direction: column;
    }
    
    .hero-center {
        padding: 15px 15px 10px; /* 增加标题区域内边距，确保标题可见 */
        margin-bottom: 10px; /* 增加标题和卡片之间的间距 */
        flex-shrink: 0; /* 防止标题区域被压缩 */
        background: rgba(0, 0, 0, 0.3); /* 添加半透明背景，提高可读性 */
        border-radius: 12px; /* 添加圆角 */
        backdrop-filter: blur(5px); /* 添加毛玻璃效果 */
        width: 90%; /* 设置宽度 */
        max-width: 300px; /* 设置最大宽度 */
        margin-left: auto; /* 水平居中 */
        margin-right: auto; /* 水平居中 */
        text-align: center; /* 文本居中 */
    }
    
    .hero-center h1 {
        font-size: 1.8rem; /* 增加标题字体大小 */
        margin-bottom: 5px; /* 增加标题下方间距 */
        line-height: 1.2; /* 减小行高 */
        color: #ffffff; /* 设置为白色，与深色背景形成对比 */
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* 添加文字阴影，提高可读性 */
    }
    
    .hero-center p {
        font-size: 0.85rem; /* 增加描述文字大小 */
        margin-bottom: 0; /* 移除描述文字下方间距 */
        line-height: 1.3; /* 减小行高 */
        max-height: 2.6em; /* 限制最大高度，防止占用过多空间 */
        overflow: hidden; /* 隐藏超出部分 */
        color: #ffffff; /* 设置为白色，与深色背景形成对比 */
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); /* 添加文字阴影，提高可读性 */
    }
    
    .cards-container {
        flex-direction: column;
        align-items: center;
        width: 100%; /* 确保容器宽度占满 */
        max-width: 300px; /* 减小最大宽度，确保在小屏幕上适配 */
        gap: 8px; /* 进一步减小卡片间距，节省空间 */
        transform: translateY(0); /* 移除向上偏移 */
        margin: 0 auto; /* 确保居中 */
        flex: 1; /* 允许卡片容器伸缩，确保所有卡片可见 */
        padding: 5px 0; /* 添加少量上下内边距 */
        overflow-y: auto; /* 允许滚动，确保所有卡片可见 */
        max-height: calc(100vh - 230px); /* 进一步调整最大高度，适应增加的顶部内边距 */
    }
    
    .floating-card {
        width: 95%; /* 增加宽度比例 */
        max-width: 285px; /* 调整最大宽度 */
        height: 85px; /* 进一步减小卡片高度，确保四个卡片都能显示 */
        flex-direction: row; /* 水平布局，节省垂直空间 */
        padding: 8px 12px; /* 优化内边距 */
        justify-content: flex-start; /* 左对齐内容 */
        align-items: center; /* 垂直居中 */
        flex-shrink: 0; /* 防止卡片被压缩 */
    }
    
    /* 小屏幕下每个卡片的彩色背景铺满整个卡片 */
    .card-1 {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        border: none !important;
    }
    
    .card-1 svg {
        stroke: #ffffff !important; /* 白色图标，与深色背景形成对比 */
    }
    
    .card-1 h4 {
        color: #ffffff !important; /* 白色文字，与深色背景形成对比 */
    }
    
    .card-2 {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
        border: none !important;
    }
    
    .card-2 svg {
        stroke: #ffffff !important; /* 白色图标 */
    }
    
    .card-2 h4 {
        color: #ffffff !important; /* 白色文字 */
    }
    
    .card-3 {
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
        border: none !important;
    }
    
    .card-3 svg {
        stroke: #ffffff !important; /* 白色图标 */
    }
    
    .card-3 h4 {
        color: #ffffff !important; /* 白色文字 */
    }
    
    .card-4 {
        background: linear-gradient(135deg, #fa709a 0%, #fee140 100%) !important;
        border: none !important;
    }
    
    .card-4 svg {
        stroke: #ffffff !important; /* 白色图标 */
    }
    
    .card-4 h4 {
        color: #ffffff !important; /* 白色文字 */
    }
    
    /* 图标容器样式调整 */
    .floating-card .icon-wrapper {
        background: rgba(255, 255, 255, 0.2) !important; /* 半透明白色背景，保持图标可见性 */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3); /* 添加白色边框 */
    }
    
    /* 小屏幕下图标和文字样式调整 */
    .floating-card .icon-wrapper {
        width: 40px; /* 减小图标容器尺寸 */
        height: 40px;
        margin-bottom: 0; /* 移除底部间距 */
        margin-right: var(--spacing-sm); /* 添加右边距 */
        background: rgba(255, 255, 255, 0.9); /* 白色半透明背景 */
        flex-shrink: 0; /* 防止图标被压缩 */
    }
    
    .floating-card svg {
        width: 20px; /* 减小图标尺寸 */
        height: 20px;
    }
    
    .floating-card h4 {
        font-size: 0.9rem; /* 减小标题字体大小 */
        text-align: left; /* 文本左对齐 */
        margin: 0; /* 移除默认边距 */
        color: #ffffff; /* 白色文字 */
        font-weight: 600; /* 增加字体粗细 */
        line-height: 1.2; /* 减小行高 */
    }
    
    .hero-visual {
        padding-top: 0; /* 移除顶部内边距 */
        margin-top: 0; /* 移除顶部外边距 */
        flex: 1; /* 允许视觉区域伸缩，确保卡片可见 */
        display: flex;
        flex-direction: column;
        justify-content: center; /* 垂直居中 */
        width: 100%; /* 确保宽度占满 */
    }
    
    /* 确保动画元素在小屏幕上不会影响卡片显示 */
    .floating-geometric {
        opacity: 0.8; /* 提高背景动画元素的不透明度，确保动画可见 */
    }
    
    .light-particles {
        display: none; /* 在小屏幕上隐藏光点粒子，提高性能 */
    }
}