/* 古韵修真传奇 - 样式表 */

/* ==================== CSS 变量定义 ==================== */
:root {
    /* 传统古风配色 */
    --ancient-gold: #D4AF37;           /* 古金色 */
    --ancient-red: #B22222;            /* 朱砂红 */
    --ancient-brown: #8B4513;          /* 古铜色 */
    --ancient-dark-brown: #654321;     /* 深褐色 */
    --ancient-cream: #F5F5DC;          /* 米白色 */
    --ancient-beige: #F0E68C;          /* 古卷色 */
    --ancient-dark-red: #8B0000;       /* 深红色 */
    --ancient-jade: #00A86B;           /* 翡翠绿 */
    --ancient-ink: #2F4F4F;            /* 墨色 */
    --ancient-charcoal: #36454F;       /* 炭色 */
    
    /* 背景色系 */
    --bg-primary: #1C1C1C;             /* 主背景 - 深炭色 */
    --bg-secondary: #2A2A2A;           /* 次背景 - 浅炭色 */
    --bg-card: #3A3A3A;                /* 卡片背景 */
    --bg-overlay: rgba(28, 28, 28, 0.9); /* 遮罩背景 */
    
    /* 文字色系 */
    --text-primary: var(--ancient-cream);    /* 主文字 - 米白色 */
    --text-secondary: var(--ancient-beige);  /* 次文字 - 古卷色 */
    --text-accent: var(--ancient-gold);      /* 强调文字 - 古金色 */
    --text-muted: #A0A0A0;                   /* 弱化文字 */
    
    /* 渐变色系 */
    --gradient-gold: linear-gradient(135deg, var(--ancient-gold), #B8860B);
    --gradient-red: linear-gradient(135deg, var(--ancient-red), var(--ancient-dark-red));
    --gradient-brown: linear-gradient(135deg, var(--ancient-brown), var(--ancient-dark-brown));
    --gradient-overlay: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9));
    
    /* 阴影效果 */
    --shadow-small: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-medium: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-large: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.3);
    
    /* 动画时长 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 字体 */
    --font-primary: 'Noto Serif SC', serif;
    --font-decorative: 'Ma Shan Zheng', cursive;
}

/* ==================== 全局重置 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(178, 34, 34, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%);
}

/* ==================== 容器 ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 简约导航 ==================== */
.simple-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(28, 28, 28, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--ancient-gold);
    box-shadow: var(--shadow-medium);
    transition: var(--transition-normal);
}

.simple-nav {
    padding: 1rem 0;
}

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

.simple-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.brand-text {
    font-family: var(--font-decorative);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ancient-gold);
    text-decoration: none;
}

.simple-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition-normal);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--ancient-gold);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.ancient-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--ancient-gold);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* ==================== 简约首页 ==================== */
.simple-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 120px 0 3rem 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('library_hero.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(28, 28, 28, 0.85) 0%,
        rgba(58, 34, 34, 0.6) 30%,
        rgba(139, 69, 19, 0.4) 60%,
        rgba(212, 175, 55, 0.2) 100%
    );
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    padding: 0 20px;
}

.hero-main {
    text-align: left;
}

.game-title {
    font-family: var(--font-decorative);
    font-size: 3rem;
    font-weight: 900;
    color: var(--ancient-gold);
    margin-bottom: 0.8rem;
    line-height: 1.1;
}

.game-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 400;
}

.game-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-gold);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    transition: var(--transition-normal);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

.download-btn small {
    font-size: 0.9rem;
    opacity: 0.9;
}

.game-info {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.info-item {
    background: rgba(212, 175, 55, 0.1);
    color: var(--ancient-gold);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.2rem;
    background: rgba(58, 58, 58, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    box-shadow: var(--shadow-small);
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.feature-item:hover {
    transform: translateY(-3px);
    border-color: var(--ancient-gold);
    box-shadow: var(--shadow-medium);
    background: rgba(58, 58, 58, 0.9);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 1.2rem;
    color: var(--ancient-gold);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-text p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.ancient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ancient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(28, 28, 28, 0.8) 0%,
        rgba(42, 42, 42, 0.7) 50%,
        rgba(28, 28, 28, 0.9) 100%
    );
    z-index: -1;
}

/* 飘落花瓣动画 */
.floating-petals {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.petal {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--ancient-gold);
    border-radius: 50% 0;
    opacity: 0.6;
    animation: float-down 15s infinite linear;
}

.petal-1 { left: 10%; animation-delay: 0s; }
.petal-2 { left: 30%; animation-delay: 3s; }
.petal-3 { left: 50%; animation-delay: 6s; }
.petal-4 { left: 70%; animation-delay: 9s; }
.petal-5 { left: 90%; animation-delay: 12s; }

@keyframes float-down {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.ancient-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

/* 古风标题装饰 */
.ancient-header {
    margin-bottom: 3rem;
}

.title-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 1rem 0;
}

.ornament-line {
    width: 60px;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 1px;
}

.ornament-symbol {
    font-size: 1.5rem;
    color: var(--ancient-gold);
    text-shadow: var(--shadow-glow);
}

.ancient-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.title-main {
    font-family: var(--font-decorative);
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    position: relative;
}

.title-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.version-seal {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--ancient-gold);
    border-radius: 25px;
    padding: 8px 20px;
    margin-top: 1rem;
}

.seal-text {
    color: var(--ancient-gold);
    font-weight: 600;
    font-size: 0.9rem;
}

.seal-dot {
    color: var(--ancient-gold);
    font-weight: 700;
}

/* 诗意描述 */
.hero-poem {
    margin-bottom: 3rem;
}

.poem-verse {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(58, 58, 58, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
}

.verse-line {
    font-family: var(--font-decorative);
    font-size: 1.3rem;
    color: var(--ancient-gold);
    margin-bottom: 0.5rem;
    text-align: center;
    line-height: 1.8;
}

.poem-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* 古风下载按钮 */
.ancient-actions {
    margin-bottom: 3rem;
}

.ancient-btn {
    display: inline-block;
    text-decoration: none;
    position: relative;
    transition: var(--transition-normal);
}

.btn-decoration {
    position: relative;
    padding: 1.5rem 3rem;
    background: var(--gradient-gold);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-large);
}

.btn-border {
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 47px;
    pointer-events: none;
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

.btn-text {
    font-family: var(--font-decorative);
}

.btn-size {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 2px;
}

.ancient-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.4);
}

.ancient-btn:hover .btn-decoration {
    background: linear-gradient(135deg, #FFD700, var(--ancient-gold));
}

/* 特色标签 */
.ancient-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.ancient-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(58, 58, 58, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 25px;
    padding: 10px 18px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.ancient-tag:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--ancient-gold);
    color: var(--ancient-gold);
    transform: translateY(-2px);
}

.ancient-tag i {
    color: var(--ancient-gold);
    font-size: 1rem;
}

/* ==================== 章节标题样式 ==================== */
.ancient-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 1rem;
}

.ornament-left,
.ornament-right {
    font-size: 2rem;
    color: var(--ancient-gold);
    text-shadow: var(--shadow-glow);
}

.ancient-section-title {
    font-family: var(--font-decorative);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.ancient-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 0.5rem;
}

/* ==================== 传奇故事 ==================== */
.ancient-story {
    padding: 5rem 0;
    background: var(--bg-secondary);
    position: relative;
}

/* 故事概览 */
.story-overview {
    margin-bottom: 4rem;
}

.overview-card {
    background: rgba(58, 58, 58, 0.8);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

.overview-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.overview-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-primary);
    box-shadow: var(--shadow-medium);
}

.overview-title {
    font-family: var(--font-decorative);
    font-size: 2rem;
    color: var(--ancient-gold);
    font-weight: 700;
}

.overview-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* 故事卷轴容器 */
.story-scrolls {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-bottom: 4rem;
}

.story-scroll {
    background: rgba(58, 58, 58, 0.8);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-large);
    backdrop-filter: blur(10px);
}

.scroll-container {
    position: relative;
}

.scroll-header {
    text-align: center;
    margin-bottom: 3rem;
}

.scroll-number {
    font-family: var(--font-decorative);
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.scroll-title {
    font-family: var(--font-decorative);
    font-size: 2rem;
    color: var(--ancient-gold);
    margin-bottom: 1rem;
}

.scroll-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.decoration-line {
    width: 80px;
    height: 2px;
    background: var(--gradient-gold);
}

.decoration-symbol {
    font-size: 1.5rem;
    color: var(--ancient-gold);
}

.story-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-main.reverse {
    grid-template-columns: 1fr 1fr;
}

.story-main.reverse .story-content {
    order: 1;
}

.story-main.reverse .story-visual {
    order: 2;
}

.ancient-visual {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-large);
}

.frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--ancient-gold);
    z-index: 2;
}

.frame-tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.frame-tr { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.frame-bl { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.frame-br { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.ancient-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(28, 28, 28, 0.9);
    border: 2px solid var(--ancient-gold);
    border-radius: 25px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ancient-gold);
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.ancient-story-content {
    padding: 2rem 0;
}

.ancient-story-title {
    font-family: var(--font-decorative);
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.highlight {
    color: var(--ancient-gold);
    position: relative;
}

.story-chapters {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.chapter {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.chapter-marker {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-decorative);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bg-primary);
    flex-shrink: 0;
    box-shadow: var(--shadow-medium);
}

.chapter-content h4 {
    font-size: 1.3rem;
    color: var(--ancient-gold);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.chapter-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 故事特色 */
.story-features {
    background: rgba(58, 58, 58, 0.6);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
}

.features-header {
    text-align: center;
    margin-bottom: 3rem;
}

.features-title {
    font-family: var(--font-decorative);
    font-size: 2rem;
    color: var(--ancient-gold);
    margin-bottom: 0.5rem;
}

.features-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.story-features .feature-item {
    background: rgba(28, 28, 28, 0.6);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition-normal);
    text-align: center;
}

.story-features .feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--ancient-gold);
    box-shadow: var(--shadow-medium);
}

.story-features .feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-primary);
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-medium);
}

.story-features .feature-name {
    font-size: 1.3rem;
    color: var(--ancient-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.story-features .feature-desc {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== 红颜知己 ==================== */
.ancient-characters {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.characters-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.ancient-character-card {
    background: rgba(58, 58, 58, 0.8);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.ancient-character-card:hover {
    transform: translateY(-8px);
    border-color: var(--ancient-gold);
    box-shadow: var(--shadow-large), var(--shadow-glow);
}

.character-portrait {
    position: relative;
    margin-bottom: 1.5rem;
}

.portrait-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: var(--transition-slow);
}

.portrait-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid var(--ancient-gold);
    border-radius: 15px;
    pointer-events: none;
}

.frame-decoration {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--ancient-red);
    border: 2px solid var(--ancient-gold);
    border-radius: 50%;
}

.character-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition-slow);
}

.ancient-character-card:hover .character-aura {
    opacity: 1;
}

.ancient-character-card:hover .portrait-img {
    transform: scale(1.05);
}

.character-name {
    font-family: var(--font-decorative);
    font-size: 1.8rem;
    color: var(--ancient-gold);
    margin-bottom: 0.5rem;
    text-align: center;
}

.character-title {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.character-desc p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.character-traits {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.trait {
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--ancient-gold);
    border-radius: 15px;
    padding: 4px 12px;
    font-size: 0.8rem;
    color: var(--ancient-gold);
}

/* 情缘系统 */
.romance-system {
    background: rgba(58, 58, 58, 0.6);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
}

.system-header {
    text-align: center;
    margin-bottom: 3rem;
}

.system-title {
    font-family: var(--font-decorative);
    font-size: 2rem;
    color: var(--ancient-gold);
    margin-bottom: 0.5rem;
}

.system-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.romance-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.romance-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-primary);
    flex-shrink: 0;
    box-shadow: var(--shadow-medium);
}

.feature-content h4 {
    color: var(--ancient-gold);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== 修真世界 ==================== */
.ancient-world {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.ancient-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.cultivation-card {
    background: rgba(58, 58, 58, 0.8);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cultivation-card:hover {
    transform: translateY(-8px);
    border-color: var(--ancient-gold);
    box-shadow: var(--shadow-large), var(--shadow-glow);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-primary);
    box-shadow: var(--shadow-medium);
}

.card-title {
    font-family: var(--font-decorative);
    font-size: 1.5rem;
    color: var(--ancient-gold);
    font-weight: 600;
}

.card-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.card-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--ancient-gold);
    border-radius: 12px;
    padding: 4px 10px;
    font-size: 0.8rem;
    color: var(--ancient-gold);
}

/* 修真数据 */
.ancient-stats {
    margin-top: 4rem;
}

.stats-scroll {
    background: rgba(58, 58, 58, 0.8);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
}

.scroll-title {
    font-family: var(--font-decorative);
    font-size: 2rem;
    color: var(--ancient-gold);
    text-align: center;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.ancient-stat {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(28, 28, 28, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition-normal);
}

.ancient-stat:hover {
    border-color: var(--ancient-gold);
    transform: translateY(-3px);
}

.stat-decoration {
    position: relative;
}

.decoration-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-primary);
    box-shadow: var(--shadow-medium);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-family: var(--font-decorative);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ancient-gold);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ==================== 画卷展示 ==================== */
.ancient-gallery {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.ancient-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.ancient-gallery-item {
    position: relative;
    cursor: pointer;
    transition: var(--transition-normal);
}

.ancient-frame {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.ancient-gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large), var(--shadow-glow);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.ancient-gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.frame-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.corner-tl,
.corner-tr,
.corner-bl,
.corner-br {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 3px solid var(--ancient-gold);
}

.corner-tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.corner-tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.corner-bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.corner-br { bottom: 8px; right: 8px; border-left: none; border-top: none; }

.ancient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 28, 28, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.ancient-gallery-item:hover .ancient-overlay {
    opacity: 1;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--ancient-gold);
}

.overlay-content i {
    font-size: 2rem;
}

.image-title {
    font-family: var(--font-decorative);
    font-size: 1.2rem;
    font-weight: 600;
}

/* ==================== 江湖传闻 ==================== */
.ancient-testimonials {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.ancient-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.ancient-testimonial {
    background: rgba(58, 58, 58, 0.8);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition-normal);
    position: relative;
    backdrop-filter: blur(10px);
}

.ancient-testimonial:hover {
    transform: translateY(-5px);
    border-color: var(--ancient-gold);
    box-shadow: var(--shadow-large);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.ancient-user {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.ancient-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-primary);
    box-shadow: var(--shadow-medium);
}

.ancient-name {
    font-family: var(--font-decorative);
    font-size: 1.3rem;
    color: var(--ancient-gold);
    margin-bottom: 0.3rem;
}

.user-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.ancient-rating {
    display: flex;
    gap: 3px;
}

.ancient-rating i {
    color: var(--ancient-gold);
    font-size: 0.9rem;
}

.testimonial-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.testimonial-content {
    position: relative;
    padding: 1rem;
    background: rgba(28, 28, 28, 0.4);
    border-radius: 15px;
    border-left: 4px solid var(--ancient-gold);
}

.quote-mark {
    font-family: var(--font-decorative);
    font-size: 3rem;
    color: var(--ancient-gold);
    position: absolute;
    opacity: 0.3;
}

.quote-mark:first-child {
    top: -10px;
    left: 10px;
}

.quote-mark.closing {
    bottom: -30px;
    right: 10px;
    transform: rotate(180deg);
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    padding: 0 2rem;
}

/* 江湖声望 */
.ancient-reputation {
    background: rgba(58, 58, 58, 0.6);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
}

.reputation-scroll {
    text-align: center;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.ancient-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-primary);
    box-shadow: var(--shadow-medium);
}

.ancient-stat-item .stat-number {
    font-family: var(--font-decorative);
    font-size: 3rem;
    font-weight: 700;
    color: var(--ancient-gold);
}

.ancient-stat-item .stat-label {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* ==================== 古韵页脚 ==================== */
.ancient-footer {
    background: var(--bg-primary);
    border-top: 2px solid var(--ancient-gold);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 3rem;
}

.ancient-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.ancient-section {
    text-align: left;
}

.ancient-footer-title {
    font-family: var(--font-decorative);
    font-size: 1.5rem;
    color: var(--ancient-gold);
    margin-bottom: 1rem;
}

.footer-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-style: italic;
}

.ancient-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-seal {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--ancient-gold);
    border-radius: 20px;
    padding: 6px 15px;
    width: fit-content;
}

.ancient-links {
    list-style: none;
}

.ancient-links li {
    margin-bottom: 0.8rem;
}

.ancient-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ancient-links a:hover {
    color: var(--ancient-gold);
    transform: translateX(5px);
}

.ancient-footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: 2rem;
    text-align: center;
}

.bottom-decoration {
    margin-bottom: 1.5rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.ancient-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ancient-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.ancient-legal a:hover {
    color: var(--ancient-gold);
}

.separator {
    color: var(--text-muted);
}

/* ==================== 古韵返回顶部 ==================== */
.ancient-back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 1000;
    padding: 0;
    box-sizing: border-box;
}

.ancient-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.ancient-back-to-top .btn-decoration {
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-medium);
    box-sizing: border-box;
    aspect-ratio: 1 / 1;
    padding: 0; /* 重置通用 .btn-decoration 的 padding */
}

.ancient-back-to-top .btn-border {
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.ancient-back-to-top i {
    font-size: 1.5rem;
    color: var(--bg-primary);
}

.ancient-back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-large);
}

/* ==================== 古韵模态框 ==================== */
.ancient-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.ancient-modal.show {
    display: flex !important;
}

.ancient-modal-content {
    background: var(--bg-card);
    border-radius: 20px;
    border: 2px solid var(--ancient-gold);
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
    box-shadow: var(--shadow-large), var(--shadow-glow);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.modal-title {
    font-family: var(--font-decorative);
    font-size: 1.5rem;
    color: var(--ancient-gold);
    font-weight: 600;
}

.ancient-close {
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    background: none;
    border: none;
}

.ancient-close:hover {
    color: var(--ancient-gold);
    transform: scale(1.1);
}

.modal-body {
    position: relative;
    padding: 1rem;
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
}

.ancient-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.ancient-nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(28, 28, 28, 0.8);
    border: 2px solid var(--ancient-gold);
    border-radius: 25px;
    padding: 10px 15px;
    color: var(--ancient-gold);
    cursor: pointer;
    transition: var(--transition-normal);
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.ancient-nav-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.05);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* 简约导航 */
    .simple-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(28, 28, 28, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        transition: var(--transition-normal);
        backdrop-filter: blur(20px);
    }
    
    .simple-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 4px;
    }
    
    .nav-toggle .bar {
        width: 25px;
        height: 3px;
        background: var(--ancient-gold);
        transition: var(--transition-fast);
        border-radius: 2px;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-radius: 10px;
        width: 200px;
        text-align: center;
        justify-content: center;
    }
    
    /* 简约英雄区域 */
    .simple-hero {
        min-height: 80vh;
        padding: 100px 0 2rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 20px;
    }
    
    .hero-main {
        text-align: center;
    }
    
    .game-title {
        font-size: 2.2rem;
    }
    
    .game-subtitle {
        font-size: 1.1rem;
    }
    
    .game-description {
        max-width: none;
        font-size: 0.95rem;
    }
    
    .hero-actions {
        align-items: center;
    }
    
    .game-info {
        justify-content: center;
    }
    
    .hero-features {
        gap: 1rem;
    }
    
    /* 导航 */
    .ancient-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(28, 28, 28, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        transition: var(--transition-normal);
        backdrop-filter: blur(15px);
        border-top: 2px solid var(--ancient-gold);
    }
    
    .ancient-menu.active {
        left: 0;
    }
    
    .ancient-toggle {
        display: flex;
    }
    
    .ancient-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .ancient-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .ancient-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* 首页 */
    .ancient-hero {
        min-height: 80vh;
        padding: 100px 0 2rem 0;
    }
    
    .title-main {
        font-size: 3rem;
    }
    
    .ornament-line {
        width: 40px;
    }
    
    .poem-verse {
        padding: 1rem;
    }
    
    .verse-line {
        font-size: 1.1rem;
    }
    
    .ancient-features {
        gap: 0.5rem;
    }
    
    .ancient-tag {
        font-size: 0.8rem;
        padding: 8px 14px;
    }
    
    /* 故事 */
    .story-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-main.reverse {
        grid-template-columns: 1fr;
    }
    
    .story-main.reverse .story-content,
    .story-main.reverse .story-visual {
        order: initial;
    }
    
    .ancient-story-title {
        font-size: 2rem;
    }
    
    .chapter {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .overview-card {
        padding: 2rem;
    }
    
    .overview-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .overview-title {
        font-size: 1.8rem;
    }
    
    .overview-text {
        font-size: 1rem;
    }
    
    .story-scrolls {
        gap: 3rem;
    }
    
    .story-scroll {
        padding: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* 角色 */
    .characters-gallery {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .romance-features {
        grid-template-columns: 1fr;
    }

    /* 修真世界 */
    .ancient-features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* 画廊 */
    .ancient-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-image {
        height: 180px;
    }
    
    /* 传闻 */
    .ancient-testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        gap: 2rem;
    }
    
    /* 页脚 */
    .ancient-footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    /* 简约首页 */
    .simple-hero {
        min-height: 75vh;
        padding: 90px 0 1.5rem 0;
    }

    .game-title {
        font-size: 1.8rem;
    }
    
    .game-subtitle {
        font-size: 0.95rem;
    }
    
    .game-description {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .download-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .info-item {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .feature-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .feature-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .feature-text h3 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }
    
    .feature-text p {
        font-size: 0.85rem;
    }
    
    .hero-features {
        gap: 0.8rem;
    }
    
    /* 原古风样式保留 */
    .ancient-hero {
        min-height: 70vh;
        padding: 90px 0 1.5rem 0;
    }

    .title-main {
        font-size: 2.5rem;
    }
    
    .ancient-section-title {
        font-size: 2.2rem;
    }
    
    .poem-verse {
        padding: 0.8rem;
    }
    
    .verse-line {
        font-size: 1rem;
    }
    
    .btn-decoration {
        padding: 1.2rem 2rem;
    }
    
    .btn-content {
        font-size: 1rem;
    }
    
    .ancient-features {
        gap: 0.3rem;
    }
    
    .ancient-tag {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    /* 传奇故事小屏幕 */
    .overview-card {
        padding: 1.5rem;
    }
    
    .overview-title {
        font-size: 1.5rem;
    }
    
    .overview-text {
        font-size: 0.9rem;
    }
    
    .story-scrolls {
        gap: 2rem;
    }
    
    .story-scroll {
        padding: 1.5rem;
    }
    
    .scroll-title {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .story-features .feature-item {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .ancient-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .ancient-back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
    }
    
    .ancient-modal {
        padding: 1rem;
    }
    
    .modal-header {
        padding: 0.8rem 1rem;
    }
    
    .modal-title {
        font-size: 1.2rem;
    }
}

/* ==================== 滚动条样式 ==================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #FFD700, var(--ancient-gold));
}

/* ==================== 选择文本样式 ==================== */
::selection {
    background: var(--ancient-gold);
    color: var(--bg-primary);
}

/* ==================== 焦点样式 ==================== */
button:focus,
a:focus {
    outline: 2px solid var(--ancient-gold);
    outline-offset: 2px;
}

/* ==================== 加载动画 ==================== */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-load.loaded {
    opacity: 1;
}

/* ==================== 动画关键帧 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: var(--shadow-medium);
    }
    50% {
        box-shadow: var(--shadow-large), var(--shadow-glow);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ==================== 404错误页面 ==================== */
.ancient-error {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 120px 0 3rem 0;
    overflow: hidden;
    background: var(--bg-primary);
}

.error-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(28, 28, 28, 0.9) 0%,
        rgba(58, 34, 34, 0.7) 50%,
        rgba(139, 69, 19, 0.5) 100%
    );
}

.error-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 2;
}

.error-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    padding: 0 20px;
}

.error-main {
    text-align: left;
}

.error-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bg-primary);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-glow);
}

.error-title {
    font-family: var(--font-decorative);
    font-size: 3rem;
    font-weight: 900;
    color: var(--ancient-gold);
    margin-bottom: 0.8rem;
    line-height: 1.1;
}

.error-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 400;
}

.error-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 480px;
}

.error-actions {
    display: flex;
        gap: 1rem;
    flex-wrap: wrap;
}

.return-btn,
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-gold);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-small);
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
}

.return-btn:hover,
.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.back-btn {
    background: rgba(58, 58, 58, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.back-btn:hover {
    border-color: var(--ancient-gold);
    background: rgba(58, 58, 58, 0.9);
}

/* 响应式设计 - 404页面 */
@media (max-width: 768px) {
    .ancient-error {
        min-height: 80vh;
        padding: 100px 0 2rem 0;
    }
    
    .error-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .error-main {
        text-align: center;
    }
    
    .error-title {
        font-size: 2.2rem;
    }

    .error-subtitle {
        font-size: 1.1rem;
    }
    
    .error-description {
        max-width: none;
        font-size: 0.95rem;
    }
    
    .error-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .ancient-error {
        min-height: 75vh;
        padding: 90px 0 1.5rem 0;
    }
    
    .error-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto 1.5rem;
    }
    
    .error-title {
        font-size: 1.8rem;
    }
    
    .error-subtitle {
        font-size: 0.95rem;
    }
    
    .error-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .return-btn,
    .back-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ==================== 法律页面样式 ==================== */
.ancient-legal-page {
    padding: 120px 0 4rem 0;
    background: var(--bg-secondary);
    min-height: calc(100vh - 200px);
}

.legal-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(58, 58, 58, 0.8);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-large);
    border: 2px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.legal-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.legal-ornament .ornament-line {
    width: 60px;
    height: 2px;
    background: var(--gradient-gold);
}

.legal-ornament .ornament-symbol {
    font-size: 1.5rem;
    color: var(--ancient-gold);
}

.legal-title {
    font-family: var(--font-decorative);
    font-size: 2.5rem;
    color: var(--ancient-gold);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.legal-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-style: italic;
}

.legal-content {
    line-height: 1.8;
    color: var(--text-primary);
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-family: var(--font-decorative);
    color: var(--ancient-gold);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-left: 4px solid var(--ancient-gold);
    padding-left: 1rem;
}

.legal-section h3 {
    color: var(--ancient-gold);
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
    font-weight: 500;
}

.legal-section h4 {
    color: var(--ancient-gold);
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem;
    font-weight: 500;
}

.legal-section p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.highlight-box {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.highlight-text h3 {
    color: var(--ancient-gold);
    margin-bottom: 0.5rem;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.info-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.list-icon {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
        font-size: 1rem;
    color: var(--ancient-gold);
    flex-shrink: 0;
}

.list-content {
    flex: 1;
    color: var(--text-secondary);
}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.purpose-item {
    background: rgba(28, 28, 28, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    transition: var(--transition-normal);
}

.purpose-item:hover {
    transform: translateY(-3px);
    border-color: var(--ancient-gold);
    box-shadow: var(--shadow-small);
}

.purpose-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--bg-primary);
    margin: 0 auto 1rem;
}

.storage-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.storage-card {
    background: rgba(28, 28, 28, 0.6);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    transition: var(--transition-normal);
}

.storage-card:hover {
    transform: translateY(-3px);
    border-color: var(--ancient-gold);
    box-shadow: var(--shadow-small);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-primary);
    margin: 0 auto 1rem;
}

.security-measures {
    margin: 2rem 0;
}

.measure-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.measure-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--ancient-gold);
    flex-shrink: 0;
}

.principle-box {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.principle-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.sharing-scenarios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.scenario-item {
    background: rgba(28, 28, 28, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    transition: var(--transition-normal);
}

.scenario-item:hover {
    transform: translateY(-3px);
    border-color: var(--ancient-gold);
    box-shadow: var(--shadow-small);
}

.scenario-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--bg-primary);
    margin: 0 auto 1rem;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.right-item {
    background: rgba(28, 28, 28, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    transition: var(--transition-normal);
}

.right-item:hover {
    transform: translateY(-3px);
    border-color: var(--ancient-gold);
    box-shadow: var(--shadow-small);
}

.right-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--bg-primary);
    margin: 0 auto 1rem;
}

.protection-box {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.protection-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.protection-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.protection-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.protection-content li::before {
    content: "◆";
    position: absolute;
    left: 0;
    color: var(--ancient-gold);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-card {
    background: rgba(28, 28, 28, 0.6);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    transition: var(--transition-normal);
}

.contact-card:hover {
    transform: translateY(-3px);
    border-color: var(--ancient-gold);
    box-shadow: var(--shadow-small);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-primary);
    margin: 0 auto 1rem;
}

.response-time {
    text-align: center;
    font-style: italic;
    color: var(--text-secondary);
    margin-top: 2rem;
}

.update-info {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
}

.update-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.update-decoration .decoration-line {
    width: 40px;
    height: 2px;
    background: var(--gradient-gold);
}

.update-decoration .decoration-symbol {
    font-size: 1.2rem;
    color: var(--ancient-gold);
}

.update-date,
.effective-date {
    color: var(--ancient-gold);
    font-weight: 500;
    margin: 0.5rem 0;
}

.update-note {
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 1rem;
}

/* 响应式设计 - 法律页面 */
@media (max-width: 768px) {
    .ancient-legal-page {
        padding: 100px 0 2rem 0;
    }
    
    .legal-container {
        padding: 2rem;
        margin: 0 15px;
    }
    
    .legal-title {
        font-size: 2rem;
    }
    
    .purpose-grid,
    .storage-cards,
    .sharing-scenarios,
    .rights-grid,
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .highlight-box,
    .principle-box,
    .protection-box {
        flex-direction: column;
        text-align: center;
    }
    
    .measure-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .legal-container {
        padding: 1.5rem;
    }
    
    .legal-title {
        font-size: 1.8rem;
    }
    
    .legal-section h2 {
        font-size: 1.4rem;
    }
    
    .purpose-item,
    .storage-card,
    .scenario-item,
    .right-item,
    .contact-card {
        padding: 1rem;
    }
    
    .card-icon,
    .contact-icon,
    .principle-icon,
    .protection-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* 服务条款页面特有样式 */
.acceptance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.acceptance-item {
    background: rgba(28, 28, 28, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    transition: var(--transition-normal);
}

.acceptance-item:hover {
    transform: translateY(-3px);
    border-color: var(--ancient-gold);
    box-shadow: var(--shadow-small);
}

.acceptance-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--bg-primary);
    margin: 0 auto 1rem;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.service-card {
    background: rgba(28, 28, 28, 0.6);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: var(--ancient-gold);
    box-shadow: var(--shadow-small);
}

.restriction-items {
    margin: 2rem 0;
}

.restriction-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.restriction-icon {
    width: 50px;
    height: 50px;
    background: rgba(178, 34, 34, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--ancient-red);
    flex-shrink: 0;
}

.obligation-box {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.obligation-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.obligation-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.obligation-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.obligation-content li::before {
    content: "◆";
    position: absolute;
    left: 0;
    color: var(--ancient-gold);
}

.ip-protection-box {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.ip-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.ip-rights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.ip-right-item {
    background: rgba(28, 28, 28, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    transition: var(--transition-normal);
}

.ip-right-item:hover {
    transform: translateY(-3px);
    border-color: var(--ancient-gold);
    box-shadow: var(--shadow-small);
}

.ip-right-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--bg-primary);
    margin: 0 auto 1rem;
}

.license-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.license-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.license-list li::before {
    content: "※";
    position: absolute;
    left: 0;
    color: var(--ancient-gold);
}

.disclaimer-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.disclaimer-item {
    background: rgba(28, 28, 28, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    transition: var(--transition-normal);
}

.disclaimer-item:hover {
    transform: translateY(-3px);
    border-color: var(--ancient-gold);
    box-shadow: var(--shadow-small);
}

.disclaimer-icon {
    width: 50px;
    height: 50px;
    background: rgba(139, 69, 19, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--ancient-brown);
    margin: 0 auto 1rem;
}

.health-reminder {
    background: rgba(178, 34, 34, 0.1);
    border: 1px solid rgba(178, 34, 34, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.health-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--ancient-red), var(--ancient-dark-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
        justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.resolution-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.step-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--bg-primary);
        flex-shrink: 0;
    }
    
.step-content {
    flex: 1;
}

.step-content h4 {
    color: var(--ancient-gold);
    margin-bottom: 0.5rem;
}

/* 响应式设计 - 服务条款特有样式 */
@media (max-width: 768px) {
    .acceptance-grid,
    .service-cards,
    .ip-rights,
    .disclaimer-items {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .ip-protection-box,
    .obligation-box,
    .health-reminder {
        flex-direction: column;
        text-align: center;
    }
    
    .restriction-item {
        flex-direction: column;
        text-align: center;
    }
    
    .resolution-steps {
        gap: 1rem;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .acceptance-item,
    .service-card,
    .ip-right-item,
    .disclaimer-item {
        padding: 1rem;
    }
    
    .ip-icon,
    .obligation-icon,
    .health-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* ==================== 打印样式 ==================== */
@media print {
    .ancient-header,
    .ancient-toggle,
    .ancient-back-to-top,
    .ancient-modal {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .ancient-hero {
        min-height: auto;
        padding: 2rem 0;
    }
}