* {
    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: #f5f5f5 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="rgb(245,245,245)" /><rect x="48" y="0" width="4" height="100" fill="rgba(200,200,200,0.3)" /></svg>');
    height: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.japanese-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.5rem;
    line-height: 1.8;
    letter-spacing: 2px;
    height: 100%;
    display: flex;
}

.jp-line {
    margin: 0 15px;
    padding: 5px 10px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
}

.jp-line::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    right: 8px;
    height: 100%;
}

/* 设计2: 阿拉伯文镜像 */
.design-2 {
    background: linear-gradient(135deg, #f8f4e9 0%, #f0e9d8 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.arabic-text {
    font-family: 'Noto Sans Arabic', sans-serif;
    font-size: 2rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 15px;
    direction: rtl;
}

.arabic-decoration {
    width: 80%;
    height: 30px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="30" viewBox="0 0 300 30"><path d="M0,15 C25,5 50,25 75,15 C100,5 125,25 150,15 C175,5 200,25 225,15 C250,5 275,25 300,15" fill="none" stroke="rgba(0,0,0,0.2)" stroke-width="1" /></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-top: 10px;
}

/* 设计3: 韩文方块 */
.design-3 {
    background: #fff;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.korean-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    width: 250px;
    height: 250px;
}

.korean-block {
    background: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 2rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.korean-block:hover {
    background: #3366cc;
    color: white;
    transform: scale(1.1);
    z-index: 2;
}

/* 设计4: 希伯来文对称 */
.design-4 {
    background: #f8f8f8;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    direction: rtl;
}

.hebrew-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 80%;
}

.hebrew-text {
    font-family: 'Noto Sans Hebrew', sans-serif;
    font-size: 1.8rem;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 15px;
}

.hebrew-ornament {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.ornament-part {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #666;
}

/* 设计5: 泰文波浪 */
.design-5 {
    background: linear-gradient(45deg, #f6f9fc 0%, #edf3fa 100%);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.thai-container {
    position: relative;
    width: 100%;
    height: 150px;
}

.thai-wave {
    position: absolute;
    width: 100%;
    font-family: 'Noto Sans Thai', sans-serif;
    font-size: 1.3rem;
    white-space: nowrap;
    animation: thai-wave-animation 10s linear infinite;
    opacity: 0.8;
}

.wave-1 {
    top: 0;
    animation-duration: 10s;
}

.wave-2 {
    top: 50px;
    animation-duration: 15s;
    animation-direction: reverse;
}

.wave-3 {
    top: 100px;
    animation-duration: 12s;
}

@keyframes thai-wave-animation {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* 设计6: 印地文圆环 */
.design-6 {
    background: linear-gradient(45deg, #fff6e5 0%, #fff0d0 100%);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.hindi-circle {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hindi-text {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    font-family: 'Noto Sans Devanagari', sans-serif;
    animation: hindi-rotate 20s linear infinite;
}

.hindi-text span {
    position: absolute;
    transform-origin: 0 80px;
    font-size: 0.9rem;
}

.hindi-center {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 2.2rem;
    z-index: 2;
    background-color: #fff;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

@keyframes hindi-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 设计7: 孟加拉文展开 */
.design-7 {
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.bengali-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.bengali-text {
    font-family: 'Noto Sans Bengali', sans-serif;
    font-size: 1.5rem;
    line-height: 1.5;
    transform-origin: center;
    animation: bengali-scale 3s ease-in-out infinite alternate;
}

.bengali-text:nth-child(2) {
    animation-delay: 0.5s;
}

.bengali-text:nth-child(3) {
    animation-delay: 1s;
}

@keyframes bengali-scale {
    0% { transform: scaleX(0.8); opacity: 0.6; }
    100% { transform: scaleX(1); opacity: 1; }
}

/* 设计8: 亚美尼亚漂浮 */
.design-8 {
    background: #f8f8f8 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="rgb(248,248,248)" /><circle cx="50" cy="50" r="40" stroke="rgba(0,0,0,0.03)" stroke-width="1" fill="none" /></svg>');
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.armenian-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.armenian-char {
    position: absolute;
    font-family: 'Noto Sans Armenian', sans-serif;
    color: #333;
    animation: armenian-float 8s ease-in-out infinite;
}

@keyframes armenian-float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* 设计9: 格鲁吉亚文模糊 */
.design-9 {
    background: linear-gradient(45deg, #f0f0f0 0%, #e8e8e8 100%);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.georgian-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.georgian-blur {
    font-family: 'Noto Sans Georgian', sans-serif;
    font-size: 3rem;
    color: #333;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    animation: georgian-blur 5s ease-in-out infinite alternate;
}

.georgian-subtext {
    font-family: 'Noto Sans Georgian', sans-serif;
    font-size: 1.2rem;
    color: #666;
}

@keyframes georgian-blur {
    0% { filter: blur(0); transform: scale(1); }
    50% { filter: blur(3px); transform: scale(1.05); }
    100% { filter: blur(0); transform: scale(1); }
}

/* 设计10: 多语言混合 */
.design-10 {
    background: #fff;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.multilingual-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 250px;
}

.lang-row {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.lang-item {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.2rem;
    background: #f0f0f0;
    transition: all 0.3s ease;
}

.lang-item:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lang-jp { font-family: 'Noto Sans JP', sans-serif; }
.lang-kr { font-family: 'Noto Sans KR', sans-serif; }
.lang-en { font-family: 'Roboto', sans-serif; font-size: 0.9rem; }
.lang-ar { font-family: 'Noto Sans Arabic', sans-serif; }
.lang-he { font-family: 'Noto Sans Hebrew', sans-serif; }
.lang-th { font-family: 'Noto Sans Thai', sans-serif; font-size: 0.9rem; }
.lang-hi { font-family: 'Noto Sans Devanagari', sans-serif; }
.lang-bn { font-family: 'Noto Sans Bengali', sans-serif; }
.lang-hy { font-family: 'Noto Sans Armenian', sans-serif; font-size: 0.8rem; }
.lang-ka { font-family: 'Noto Sans Georgian', sans-serif; font-size: 0.8rem; }

/* 新增设计11: 俄文变换 */
.design-11 {
    background: linear-gradient(135deg, #f0f5ff 0%, #e0ecff 100%);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.cyrillic-container {
    text-align: center;
}

.cyrillic-text {
    font-family: 'Noto Sans', sans-serif;
    font-size: 2.5rem;
    color: #333;
    position: relative;
    display: inline-block;
}

.cyrillic-text::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    color: #3366ff;
    overflow: hidden;
    white-space: nowrap;
    animation: cyrillic-reveal 4s infinite;
}

@keyframes cyrillic-reveal {
    0%, 100% { width: 0; }
    50% { width: 100%; }
}

/* 新增设计12: 拉丁文卷轴 */
.design-12 {
    background: #f5f0e8 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="rgb(245,240,232)" /><path d="M0,20 Q50,40 100,20 L100,80 Q50,60 0,80 Z" fill="rgba(210,200,180,0.1)" /></svg>');
    background-repeat: repeat;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.latin-scroll {
    width: 90%;
    height: 200px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="200" viewBox="0 0 300 200"><path d="M0,30 Q150,60 300,30 L300,170 Q150,140 0,170 Z" fill="rgba(255,252,245,0.9)" stroke="rgba(180,160,140,0.3)" stroke-width="1" /></svg>');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.latin-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #542;
    line-height: 1.6;
    text-align: center;
    font-style: italic;
}

/* 新增设计13: 北欧文字光效 */
.design-13 {
    background: linear-gradient(180deg, #2c3e50 0%, #1a2530 100%);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.nordic-container {
    position: relative;
}

.nordic-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: transparent;
    background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
    -webkit-background-clip: text;
    position: relative;
    z-index: 1;
}

.nordic-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    filter: blur(15px);
    opacity: 0.6;
    z-index: 0;
    animation: nordic-pulse 3s ease-in-out infinite;
}

@keyframes nordic-pulse {
    0%, 100% { transform: scale(0.8); opacity: 0.4; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* 新增设计14: 希腊文波纹 */
.design-14 {
    background: linear-gradient(135deg, #e0f7fa 0%, #bbdefb 100%);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.greek-container {
    position: relative;
    width: 280px;
    height: 140px;
    overflow: hidden;
}

.greek-wave-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="200" viewBox="0 0 400 200"><path d="M0,100 C50,50 100,150 150,100 C200,50 250,150 300,100 C350,50 400,150 450,100" stroke="rgba(255,255,255,0.3)" stroke-width="15" fill="none" /></svg>');
    background-repeat: repeat-x;
    animation: greek-wave 20s linear infinite;
}

.greek-text {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    color: #1565c0;
    z-index: 1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@keyframes greek-wave {
    0% { background-position: 0 0; }
    100% { background-position: 400px 0; }
}

/* 新增设计15: 古埃及象形文字 */
.design-15 {
    background: #f2e9d8 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="rgb(242,233,216)" /><path d="M10,10 L90,10 L90,90 L10,90 Z" stroke="rgba(180,160,120,0.1)" stroke-width="1" fill="none" /></svg>');
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.hieroglyphics-container {
    width: 280px;
    height: 280px;
    background: rgba(255, 253, 240, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(180, 160, 120, 0.2);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 5px;
    padding: 10px;
}

.hieroglyph {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: #8B7355;
    transition: all 0.3s ease;
}

.hieroglyph:hover {
    transform: scale(1.2);
    color: #5D4037;
} 