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

body {
    background-color: #f0f0f0;
    font-family: 'Noto Sans SC', sans-serif;
    padding: 0;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 导航栏样式 */
nav {
    background-color: #333;
    color: white;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3366ff;
}

.active {
    border-bottom: 2px solid #3366ff;
    padding-bottom: 3px;
}

/* 内容区域样式 */
.main-content {
    padding: 20px;
    flex: 1;
}

h1 {
    text-align: center;
    margin: 20px 0 40px;
    font-weight: 900;
    font-size: 2.5rem;
    color: #222;
}

.intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: white;
    padding: 25px 20px;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #3366ff;
}

.footer-text {
    margin: 15px 0;
    font-size: 0.9rem;
    color: #aaa;
}

/* 注意：网格容器和卡片基本样式已移至共享组件 card.css */

/* 设计1: 渐变文字 */
.design-1 {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gradient-text {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(120deg, #f093fb 0%, #f5576c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
}

.gradient-text::after {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    top: 2px;
    background: linear-gradient(120deg, #5f86f2 0%, #a65ff2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    z-index: -1;
    filter: blur(2px);
}

/* 设计2: 3D文字 */
.design-2 {
    background: #222;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    perspective: 800px;
}

.threed-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 
        0 1px 0 #ccc,
        0 2px 0 #c9c9c9,
        0 3px 0 #bbb,
        0 4px 0 #b9b9b9,
        0 5px 0 #aaa,
        0 6px 1px rgba(0,0,0,.1),
        0 0 5px rgba(0,0,0,.1),
        0 1px 3px rgba(0,0,0,.3),
        0 3px 5px rgba(0,0,0,.2),
        0 5px 10px rgba(0,0,0,.25),
        0 10px 10px rgba(0,0,0,.2),
        0 20px 20px rgba(0,0,0,.15);
    transform: rotateX(10deg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: rotateX(10deg) translateY(0); }
    50% { transform: rotateX(15deg) translateY(-15px); }
    100% { transform: rotateX(10deg) translateY(0); }
}

/* 设计3: 响应动态文字 */
.design-3 {
    background: #000;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.reactive-text-container {
    position: relative;
}

.reactive-text {
    font-family: 'Space Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 1;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
    z-index: 0;
    transform-origin: bottom center;
    animation: wave 1.5s ease-in-out infinite;
}

@keyframes wave {
    0% { transform: scaleY(1); }
    50% { transform: scaleY(3); }
    100% { transform: scaleY(1); }
}

/* 设计4: 文字遮罩效果 */
.design-4 {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23f0f0f0" /><rect width="10" height="10" fill="%23e0e0e0" /><rect x="20" y="0" width="10" height="10" fill="%23e0e0e0" /><rect x="40" y="0" width="10" height="10" fill="%23e0e0e0" /><rect x="60" y="0" width="10" height="10" fill="%23e0e0e0" /><rect x="80" y="0" width="10" height="10" fill="%23e0e0e0" /><rect x="10" y="10" width="10" height="10" fill="%23e0e0e0" /><rect x="30" y="10" width="10" height="10" fill="%23e0e0e0" /><rect x="50" y="10" width="10" height="10" fill="%23e0e0e0" /><rect x="70" y="10" width="10" height="10" fill="%23e0e0e0" /><rect x="90" y="10" width="10" height="10" fill="%23e0e0e0" /></svg>');
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.mask-text {
    font-family: 'Raleway', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    background: url('https://images.unsplash.com/photo-1541701494587-cb58502866ab?ixlib=rb-1.2.1&auto=format&fit=crop&w=1050&q=80');
    background-size: cover;
    background-position: center;
    -webkit-background-clip: text;
    color: transparent;
    mix-blend-mode: darken;
}

/* 设计5: 悬浮字母 */
.design-5 {
    background: #fafafa;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.floating-letters {
    position: relative;
    min-width: 260px;
    min-height: 60px;
}

.floating-letter {
    position: absolute;
    font-family: 'Ubuntu', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    animation: float-letter 3s ease-in-out infinite;
}

@keyframes float-letter {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(var(--rot, 0deg)); }
}

/* 设计6: 文字轮廓动画 */
.design-6 {
    background: #1e1e2f;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.outline-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px #fff;
    position: relative;
}

.outline-text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: transparent;
    -webkit-text-stroke: 2px #3498db;
    width: 0;
    overflow: hidden;
    transition: width 0.8s ease;
    animation: fill-text 4s ease infinite;
}

@keyframes fill-text {
    0%, 100% { width: 0; }
    50% { width: 100%; }
}

/* 设计7: 反光文字 */
.design-7 {
    background: linear-gradient(135deg, #333 0%, #111 100%);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.reflection-container {
    position: relative;
}

.reflection-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.reflection {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    transform: rotateX(180deg) translateY(20px);
    transform-origin: top;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
}

/* 设计8: 动态背景色文字 */
.design-8 {
    background: #000;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden;
}

.kinetic-text {
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    color: #fff;
    background: transparent;
    padding: 0 15px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.kinetic-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff3366, #ff6633, #ffcc33, #33cc33, #3366ff, #cc33ff);
    background-size: 400% 400%;
    z-index: -1;
    mix-blend-mode: multiply;
    animation: gradient-move 10s linear infinite;
}

@keyframes gradient-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 设计9: 分割线条文字 */
.design-9 {
    background: #fff;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden;
}

.split-text-container {
    position: relative;
}

.split-text {
    font-family: 'Roboto', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #111;
    position: relative;
    overflow: hidden;
}

.split-line {
    position: absolute;
    width: 100%;
    height: 3px;
    background: #ff3366;
    top: 50%;
    left: 0;
    transform: translateX(-100%);
    animation: split-line-move 3s ease-in-out infinite;
}

@keyframes split-line-move {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

/* 设计10: 互动文字 */
.design-10 {
    background: #fff;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.interactive-text {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
}

.interactive-text:hover {
    color: #ff3366;
    transform: scale(1.1);
    text-shadow: 0 5px 15px rgba(255, 51, 102, 0.3);
}

/* 设计11: 打字机删除效果 */
.design-11 {
    background: #222;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.typing-container {
    border: 1px solid #444;
    background: #111;
    padding: 20px;
    border-radius: 5px;
    max-width: 300px;
    position: relative;
}

.typing-text {
    font-family: 'Source Code Pro', monospace;
    font-size: 1rem;
    color: #33ff33;
    white-space: pre;
    overflow: hidden;
    display: inline-block;
    position: relative;
    animation: typing-effect 8s steps(40) infinite;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background-color: #33ff33;
    position: relative;
    vertical-align: middle;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

@keyframes typing-effect {
    0% { width: 0; }
    20% { width: 220px; }
    40% { width: 220px; }
    60% { width: 0; }
    80% { width: 0; }
    100% { width: 0; }
}

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

/* 设计12: 玻璃态文字 */
.design-12 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.glass-text {
    font-family: 'Nunito', sans-serif;
    font-size: 2.5rem;
    color: #333;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 25px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* 设计13: 聚光灯文字 */
.design-13 {
    background: #000;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.spotlight-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    color: #fff;
    background: #000;
    padding: 5px 15px;
    position: relative;
    z-index: 1;
}

.spotlight-text::selection {
    background: #ff3366;
    color: #fff;
    text-shadow: 0 0 10px #ff3366;
}

.spotlight {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 0, 1) 0%, rgba(255, 255, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 1;
    mix-blend-mode: hard-light;
    animation: spotlight-move 8s ease-in-out infinite alternate;
}

@keyframes spotlight-move {
    0% { left: 35%; top: 40%; }
    25% { left: 65%; top: 60%; }
    50% { left: 65%; top: 40%; }
    75% { left: 35%; top: 60%; }
    100% { left: 35%; top: 40%; }
}

/* 设计14: 流动文字 */
.design-14 {
    background: linear-gradient(135deg, #30cfd0, #330867);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.flow-text {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: flow-animation 8s ease-in-out infinite alternate;
}

@keyframes flow-animation {
    0% { 
        transform: translateY(0) scale(1); 
        letter-spacing: 2px;
    }
    50% { 
        transform: translateY(-15px) scale(1.05); 
        letter-spacing: 5px;
    }
    100% { 
        transform: translateY(0) scale(1); 
        letter-spacing: 2px;
    }
}

/* 设计15: SVG路径文字 */
.design-15 {
    background: #333;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.svg-container {
    width: 250px;
    height: 100px;
}

.svg-text {
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: draw 5s ease-in-out forwards infinite alternate;
}

@keyframes draw {
    0% { stroke-dashoffset: 500; }
    60% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 0; }
} 