* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: #1f2937;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.company-name {
    position: relative;
    z-index: 10;
    text-align: center;
}

.character-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 80vw;
}

.character {
    display: inline-block;
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    font-weight: 700;
    font-size: clamp(32px, 6vw, 72px);
    margin: 0 0.25vw;
    padding: 0.1em 0.05em;
    background: none;
    box-shadow: none;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.1), 0 0 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, text-shadow 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    position: relative;
    transform: translate3d(0,0,0);
    color: transparent;
    background-image: linear-gradient(90deg, #8EC5FC 0%, #E0C3FC 100%);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 0 0 0 rgba(0,0,0,0);
    animation: gradientShift 9s ease infinite;
}

.character:hover {
    transform: translateY(-2px);
    text-shadow: 0 10px 30px rgba(14,165,233,0.25);
    filter: saturate(1.08);
}

.character::before {
    content: none;
}

/* 悬停背景矩形（圆角） */
.character::after {
    content: "";
    position: absolute;
    left: -0.2em;
    right: -0.2em;
    top: -0.15em;
    bottom: -0.15em;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.65), rgba(255,255,255,0.35));
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: -1;
}
.character:hover::after {
    opacity: 1;
}

/* 备案信息样式 */
.footer {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.icp-text {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px;
    color: rgba(111, 111, 111, 0.6);
    font-weight: 400;
    margin: 0;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    backdrop-filter: blur(4px);
    display: inline-block;
}

.character:hover {
    transform: perspective(1000px) rotateY(15deg) translateY(-10px);
    background-color: white;
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.2);
    color: #007bff;
}

.character::before {
    content: attr(data-char);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #007bff, #00e5ff);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateZ(-1px);
}

.character:hover::before {
    opacity: 0.1;
}

/* 极光背景容器 */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* 极光Blob */
#particles .blob {
    position: absolute;
    width: 38vw;
    height: 38vw;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    mix-blend-mode: multiply;
    background: radial-gradient(circle at 30% 30%, var(--color) 0%, transparent 60%);
    animation: blobFloat var(--duration, 22s) ease-in-out infinite;
}

@keyframes blobFloat {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(4vw, -3vw, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

/* 星系粒子浮动动画 */
@keyframes galaxyFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
        filter: hue-rotate(0deg) blur(0.5px);
    }
    20% {
        transform: translate(15px, -10px) scale(1.2);
        opacity: 0.8;
        filter: hue-rotate(90deg) blur(0.5px);
    }
    40% {
        transform: translate(-20px, 5px) scale(0.8);
        opacity: 0.4;
        filter: hue-rotate(180deg) blur(0.5px);
    }
    60% {
        transform: translate(10px, 15px) scale(1.1);
        opacity: 0.9;
        filter: hue-rotate(270deg) blur(0.5px);
    }
    80% {
        transform: translate(-5px, -20px) scale(0.9);
        opacity: 0.5;
        filter: hue-rotate(360deg) blur(0.5px);
    }
}

/* 渐变动画 */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 768px) {
    .character {
        font-size: 2rem;
        padding: 0.7rem;
        margin: 0.3rem;
    }
}

@media (max-width: 480px) {
    .character {
        font-size: 1.5rem;
        padding: 0.5rem;
        margin: 0.2rem;
    }
    
    .character-container {
        max-width: 95vw;
    }
}

/* 水波纹效果（更柔和的高阶色）*/
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(142, 197, 252, 0.35); /* #8EC5FC */
    transform: scale(0);
    animation: ripple 1s cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
}

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

/* 字符浮动动画 */
@keyframes float {
    0% {
        transform: translateY(0px) rotateZ(0deg);
    }
    50% {
        transform: translateY(-10px) rotateZ(2deg);
    }
    100% {
        transform: translateY(0px) rotateZ(0deg);
    }
}

/* 公司名称容器样式：极简居中 */
.company-name {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    padding: 0.5rem 0;
    box-shadow: none;
    border: 0;
}