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

/* 封面页样式 */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('大背景.jpg') center center / cover no-repeat;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease, transform 1s ease;
    overflow: hidden;
    animation: backgroundZoom 20s ease-in-out infinite;
}

@keyframes backgroundZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.splash-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 70%);
    animation: pulseOverlay 4s ease-in-out infinite;
}

@keyframes pulseOverlay {
    0%, 100% { 
        opacity: 0.8; 
        background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 70%);
    }
    50% { 
        opacity: 1; 
        background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 70%);
    }
}

.splash-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
}

.splash-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.splash-logo {
    margin-bottom: 40px;
}

.logo-text {
    font-size: 4rem;
    font-weight: bold;
    color: #d4af37;
    text-shadow: 
        0 0 10px rgba(212, 175, 55, 0.5),
        0 0 20px rgba(212, 175, 55, 0.3),
        0 0 40px rgba(212, 175, 55, 0.2);
    letter-spacing: 10px;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(212, 175, 55, 0.5),
            0 0 20px rgba(212, 175, 55, 0.3),
            0 0 40px rgba(212, 175, 55, 0.2);
    }
    50% {
        text-shadow: 
            0 0 20px rgba(212, 175, 55, 0.8),
            0 0 40px rgba(212, 175, 55, 0.5),
            0 0 60px rgba(212, 175, 55, 0.3);
    }
}

.logo-subtitle {
    font-size: 1.2rem;
    color: #a0a0a0;
    letter-spacing: 5px;
    margin-top: 15px;
    animation: fadeIn 1s ease 0.5s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 羽毛粒子装饰 */
.splash-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.feather-particle {
    position: absolute;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.8), transparent);
    animation: featherFloat 4s ease-in-out infinite;
}

.feather-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.feather-particle:nth-child(2) { left: 25%; top: 60%; animation-delay: 0.5s; }
.feather-particle:nth-child(3) { left: 50%; top: 30%; animation-delay: 1s; }
.feather-particle:nth-child(4) { left: 75%; top: 70%; animation-delay: 1.5s; }
.feather-particle:nth-child(5) { left: 90%; top: 40%; animation-delay: 2s; }

@keyframes featherFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(100px) rotate(360deg);
        opacity: 0;
    }
}

/* 进度条 */
.splash-progress {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto 30px;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #a80000);
    width: 0%;
    animation: progressFill 3s ease-out forwards;
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: 100%; }
}

.splash-hint {
    font-size: 0.9rem;
    color: #666;
    animation: blink 2s ease-in-out infinite;
}

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

/* 封面消失动画 */
.splash-screen.hide {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

:root {
    /* 暗黑日系和风配色 - 高级红色主题 */
    --color-charcoal: #0d0d0d;
    --color-dark-red: #5a0000;
    --color-blood-red: #8b0000;
    --color-deep-red: #4a0000;
    --color-crimson: #dc143c;
    --color-scarlet: #ff2400;
    --color-dark-gold: #b8860b;
    --color-gold: #d4af37;
    --color-gold-light: #f0c850;
    --color-shadow: #1a1a1a;
    --color-light-shadow: #2a2a2a;
    --color-text: #e8e8e8;
    --color-text-light: #a0a0a0;
    --color-accent: #d4af37;
    --color-bg: #0a0a0a;
    --color-bg-gradient-start: #0a0a0a;
    --color-bg-gradient-end: #1a0505;
    --color-card-bg: rgba(20, 5, 5, 0.9);
    --color-card-border: rgba(139, 0, 0, 0.5);
    --color-glow-red: rgba(139, 0, 0, 0.6);
    --color-glow-gold: rgba(212, 175, 55, 0.6);
    
    /* 动画变量 */
    --transition: all 0.3s ease;
    --animation-duration: 2s;
}

html {
    height: 100%;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    min-height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    cursor: url('蝴蝶.jpg'), auto;
}

/* 鼠标移动光效 - 红色主题 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 9999;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(139, 0, 0, 0.4) 0%, rgba(139, 0, 0, 0.15) 30%, transparent 70%);
    transition: all 0.05s ease;
    mix-blend-mode: screen;
}

/* 背景系统 */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.background-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.background-bottom {
    background-image: url('背景.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    /* 宽高 100% 铺满可视区域（拉伸填充，无留白） */
    background-size: 100% 100%;
    background-attachment: fixed;
    animation: none;
    filter: contrast(1.4) saturate(1.5) brightness(1.15);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* 部分移动浏览器对 fixed 背景支持差，改为随层滚动更稳 */
@media (max-width: 768px) {
    .background-bottom {
        background-attachment: scroll;
    }
}

.background-middle {
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.7) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
    animation: mistFlow 20s ease-in-out infinite;
}

.background-top {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" fill="none" stroke="%238b0000" stroke-width="0.5" stroke-opacity="0.1"><path d="M50 0 L100 50 L50 100 L0 50 Z"/><path d="M25 0 L50 25 L25 50 L0 25 Z"/><path d="M75 0 L100 25 L75 50 L50 25 Z"/><path d="M25 50 L50 75 L25 100 L0 75 Z"/><path d="M75 50 L100 75 L75 100 L50 75 Z"/></svg>');
    animation: patternFloat 30s ease-in-out infinite;
    opacity: 0.3;
}

/* 动画定义 */
@keyframes spiralRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    100% {
        transform: rotate(-360deg) scale(1.1);
    }
}

@keyframes mistFlow {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, 20px);
    }
}

@keyframes patternFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-10px, -10px) rotate(1deg);
    }
}

/* 人物立绘 */
.character {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    opacity: 0.8;
    transition: var(--transition);
}

.left-character {
    left: 20px;
}

.right-character {
    right: 20px;
}

.character-image {
    width: 120px;
    height: 180px;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.3);
}

/* 中间装饰 */
.center-decoration {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    pointer-events: none;
}

.center-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    animation: float 6s ease-in-out infinite;
    filter: blur(2px);
}

.character:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

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

/* 音乐控制 */
.music-control {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 10px;
    background: rgba(10, 10, 10, 0.72);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.music-volume-label {
    font-size: 0.68rem;
    color: var(--color-text-light);
    letter-spacing: 0.06em;
    user-select: none;
}

.music-volume {
    width: 88px;
    height: 6px;
    accent-color: var(--color-gold);
    cursor: pointer;
}

.music-btn {
    background: var(--color-card-bg);
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.music-btn:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.music-btn.playing {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.5), var(--color-card-bg));
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
}

/* 吉祥物样式 */
.mascot {
    position: fixed;
    bottom: 100px;
    right: 50px;
    width: 100px;
    height: 100px;
    cursor: grab;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mascot.initial-animation {
    left: 50% !important;
    top: 50% !important;
    bottom: auto !important;
    right: auto !important;
    transform: translate(-50%, -50%) scale(1.2);
}

.mascot.initial-animation-done {
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mascot-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.mascot.dragging {
    transform: scale(1.15) !important;
    z-index: 9999;
    cursor: grabbing;
}

/* 吉祥物5种动作动画 */
.mascot.bounce {
    animation: mascotBounce 0.6s ease infinite;
}

@keyframes mascotBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.mascot.wiggle {
    animation: mascotWiggle 0.5s ease infinite;
}

@keyframes mascotWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}

.mascot.spin {
    animation: mascotSpin 1s ease infinite;
}

@keyframes mascotSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.mascot.pulse {
    animation: mascotPulse 0.8s ease infinite;
}

@keyframes mascotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.mascot.slide {
    animation: mascotSlide 0.6s ease infinite;
}

@keyframes mascotSlide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-10px); }
}

/* 闲置状态下的随机动作 */
.mascot.idle-bounce {
    animation: idleBounce 2s ease-in-out infinite;
}

@keyframes idleBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(2deg); }
    75% { transform: translateY(-4px) rotate(-2deg); }
}

.mascot.idle-breathe {
    animation: idleBreathe 3s ease-in-out infinite;
}

@keyframes idleBreathe {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; }
}

/* 思想气泡 */
.mascot-thought {
    position: absolute;
    top: -40px;
    right: -10px;
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mascot-thought.show {
    opacity: 1;
    animation: thoughtFloat 1s ease-in-out infinite;
}

@keyframes thoughtFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* 对话框 */
.mascot-speech {
    position: absolute;
    top: -60px;
    left: -50px;
    background: linear-gradient(135deg, rgba(20, 5, 5, 0.95) 0%, rgba(10, 10, 10, 0.95) 100%);
    color: var(--color-text);
    padding: 12px 20px;
    border-radius: 15px;
    border: 1px solid rgba(139, 0, 0, 0.8);
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(139, 0, 0, 0.3);
    z-index: 1001;
    max-width: 200px;
}

.mascot-speech::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(139, 0, 0, 0.8);
}

.mascot-speech.show {
    opacity: 1;
    transform: translateY(0);
}

/* 食物 */
.mascot-food {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.mascot-food.falling {
    opacity: 1;
    animation: foodFall 0.5s ease-in forwards;
}

@keyframes foodFall {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
}

/* 喂食按钮 */
.feed-button-container {
    position: fixed;
    bottom: 100px;
    left: 50px;
    z-index: 999;
}

.feed-btn {
    background: linear-gradient(135deg, var(--color-crimson) 0%, var(--color-dark-red) 100%);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.4);
}

.feed-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.6);
}

.feed-btn:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mascot {
        width: 80px;
        height: 80px;
        bottom: 80px;
        right: 20px;
    }
    
    .mascot.initial-animation {
        width: 120px;
        height: 120px;
    }
    
    .feed-button-container {
        bottom: 80px;
        left: 20px;
    }
    
    .feed-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

/* 滚动进度条 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(10, 10, 10, 0.8);
    z-index: 9999;
    pointer-events: none;
}

.scroll-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--color-crimson) 0%, 
        var(--color-gold) 50%, 
        var(--color-crimson) 100%);
    background-size: 200% 100%;
    width: 0;
    transition: width 0.1s ease;
    animation: progressGlow 2s ease-in-out infinite;
}

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

/* 主内容 */
.main-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.section {
    padding: 120px 0;
    max-width: 1400px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 标题样式 - 红色主题 */
.section-title {
    font-size: 3rem;
    color: var(--color-accent);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8);
    background: linear-gradient(90deg, 
        var(--color-dark-red) 0%, 
        var(--color-crimson) 30%, 
        var(--color-gold) 50%, 
        var(--color-crimson) 70%, 
        var(--color-dark-red) 100%);
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 4s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -20px;
    right: -20px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-crimson), var(--color-gold), var(--color-crimson), transparent);
    border-radius: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -20px;
    right: -20px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-crimson), var(--color-gold), var(--color-crimson), transparent);
    border-radius: 2px;
}

/* 血滴装饰 */
.section-title .blood-drop {
    position: absolute;
    width: 8px;
    height: 12px;
    background: linear-gradient(to bottom, var(--color-crimson), var(--color-dark-red));
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0.7;
    animation: bloodDrop 2s ease-in-out infinite;
}

.section-title .blood-drop:nth-child(1) {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.section-title .blood-drop:nth-child(2) {
    top: 40%;
    right: 8%;
    animation-delay: 0.5s;
}

.section-title .blood-drop:nth-child(3) {
    top: 60%;
    left: 10%;
    animation-delay: 1s;
}

.section-title .blood-drop:nth-child(4) {
    top: 30%;
    right: 5%;
    animation-delay: 1.5s;
}

@keyframes bloodDrop {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(10px) scale(1.1);
        opacity: 1;
    }
}

/* 标题悬停效果 */
.section-title:hover {
    transform: scale(1.02);
    text-shadow: 
        0 0 15px rgba(139, 0, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.8);
}

.section-title:hover::before,
.section-title:hover::after {
    height: 4px;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.5);
}

@keyframes titleGlow {
    0%, 100% {
        background-position: -200% 0;
    }
    50% {
        background-position: 200% 0;
    }
}

/* 英雄区 */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
}

.hero-content {
    max-width: 800px;
    background: linear-gradient(135deg, rgba(20, 5, 5, 0.95) 0%, rgba(10, 10, 10, 0.95) 100%);
    padding: 60px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(139, 0, 0, 0.5);
    box-shadow: 
        0 0 50px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(139, 0, 0, 0.3),
        inset 0 0 50px rgba(139, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-side-image {
    position: absolute;
    width: 150px;
    height: auto;
    opacity: 0.3;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(0, 150, 255, 0.5);
    border-radius: 10px;
}

.hero-side-image.left {
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
}

.hero-content > * {
    position: relative;
    z-index: 1;
}

/* 装饰图片样式 - 置顶显示 */
.decorative-image {
    position: absolute;
    z-index: 1000;
    pointer-events: none;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
}

/* 男一.png - 8.3% */
.decorative-image img[src*="男一"] {
    width: 8.3vw;
    max-width: 120px;
    height: auto;
}

/* 男二.png - 7.6% */
.decorative-image img[src*="男二"] {
    width: 7.6vw;
    max-width: 110px;
    height: auto;
}

/* 女.png - 2.0% */
.decorative-image img[src*="女"] {
    width: 2vw;
    max-width: 30px;
    height: auto;
}

/* 云朵.png - 38% */
.decorative-image img[src*="云朵"] {
    width: 38vw;
    max-width: 550px;
    height: auto;
}

.decorative-image.left {
    left: -10px;
    top: 20%;
    transform: translateY(-50%);
}

.decorative-image.right {
    right: -10px;
    top: 80%;
    transform: translateY(-50%);
}

.decorative-image img {
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(139, 0, 0, 0.5);
}

/* 确保文字内容在图片之上 */
.about-intro, .soft-skills, .hard-skills, .portfolio-card, .service-card, .achievement-card, .timeline-line-body {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    color: var(--color-accent);
    margin-bottom: 30px;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    background: linear-gradient(90deg, var(--color-accent), var(--color-dark-gold), var(--color-accent));
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 4s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
    animation: breathe 2s ease-in-out infinite;
}

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

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
}

/* 关于部分 — 创作者之柱：中轴 + 分区栅格 */
.about-section {
    position: relative;
}

.about-content {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 4px;
}

.about-layout {
    display: grid;
    grid-template-columns: 52px 1fr minmax(260px, 320px);
    grid-template-areas:
        "spine intro dance"
        "spine honors honors";
    gap: 28px 32px;
    align-items: start;
}

.pillar-spine {
    grid-area: spine;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    align-self: stretch;
    padding: 12px 0;
}

.pillar-spine-line {
    position: absolute;
    left: 50%;
    top: 10px;
    bottom: 10px;
    width: 5px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--color-gold-light), var(--color-crimson), var(--color-dark-gold));
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
    opacity: 0.9;
}

.pillar-spine-node {
    position: relative;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-gold);
    background: radial-gradient(circle at 35% 30%, #2a1515, #0a0a0a 70%);
    border: 2px solid rgba(212, 175, 55, 0.75);
    box-shadow: 0 0 14px rgba(139, 0, 0, 0.45), inset 0 0 12px rgba(212, 175, 55, 0.08);
}

.pillar-spine-node span {
    position: relative;
    z-index: 1;
}

.about-intro {
    grid-area: intro;
    background: linear-gradient(135deg, rgba(20, 5, 5, 0.92) 0%, rgba(10, 10, 10, 0.92) 100%);
    padding: 36px 40px;
    border-radius: 18px;
    border: 1px solid rgba(139, 0, 0, 0.55);
    backdrop-filter: blur(15px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 1px rgba(212, 175, 55, 0.2);
}

.about-intro .about-lead {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--color-text);
    margin-bottom: 18px;
}

.about-intro p {
    margin-bottom: 0;
    line-height: 1.85;
    color: var(--color-text-light);
}

.about-intro p + p {
    margin-top: 16px;
}

.dance-experience {
    grid-area: dance;
}

.achievements-grid {
    grid-area: honors;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

/* 舞蹈经验模块 */
.dance-experience {
    background: linear-gradient(135deg, rgba(20, 5, 5, 0.92) 0%, rgba(10, 10, 10, 0.92) 100%);
    padding: 26px 24px;
    border-radius: 18px;
    border: 1px solid rgba(139, 0, 0, 0.55);
    backdrop-filter: blur(15px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.32);
    height: fit-content;
}

.dance-experience h3 {
    color: var(--color-gold);
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.dance-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: var(--transition);
}

.dance-item:hover {
    background: rgba(139, 0, 0, 0.2);
    transform: translateX(5px);
}

.dance-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.dance-info h4 {
    color: var(--color-text);
    margin-bottom: 5px;
    font-size: 1rem;
}

.dance-info p {
    color: var(--color-text-light);
    font-size: 0.85rem;
    line-height: 1.4;
}

.achievement-card {
    background: rgba(10, 10, 10, 0.9);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(15px);
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    border-color: var(--color-accent);
}

.achievement-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.achievement-card h3 {
    font-size: 1rem;
    color: var(--color-text);
}

/* 技能部分 */
.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.skills-subtitle {
    color: var(--color-accent);
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.skill-tree {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    background: linear-gradient(135deg, rgba(20, 5, 5, 0.9) 0%, rgba(10, 10, 10, 0.9) 100%);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(139, 0, 0, 0.5);
    transition: var(--transition);
    backdrop-filter: blur(15px);
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.2);
    transform-style: preserve-3d;
}

.skill-item:hover {
    transform: translateY(-8px) rotateX(3deg) rotateY(3deg);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(139, 0, 0, 0.3);
    border-color: rgba(212, 175, 55, 0.5);
}

.skill-item h4 {
    color: var(--color-accent);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.skill-item p {
    color: var(--color-text-light);
    line-height: 1.6;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.skill-bar {
    background: linear-gradient(135deg, rgba(20, 5, 5, 0.9) 0%, rgba(10, 10, 10, 0.9) 100%);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(139, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.2);
}

.skill-name {
    color: var(--color-text);
    margin-bottom: 15px;
    font-size: 1rem;
}

.skill-progress {
    width: 100%;
    height: 10px;
    background: var(--color-shadow);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-crimson), var(--color-gold));
    border-radius: 5px;
    width: 0;
    transition: width 1.5s ease;
    position: relative;
}

.skill-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shine 2s ease-in-out infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* 作品集部分 */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.portfolio-card {
    background: linear-gradient(135deg, rgba(20, 5, 5, 0.9) 0%, rgba(10, 10, 10, 0.9) 100%);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(139, 0, 0, 0.5);
    transition: var(--transition);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.2);
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.portfolio-card:hover::before {
    left: 100%;
}

.portfolio-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 0, 0, 0.3);
    border-color: var(--color-crimson);
}

.portfolio-card h3 {
    color: var(--color-accent);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.portfolio-card p {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-tags span {
    background: rgba(139, 0, 0, 0.3);
    color: var(--color-gold);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(139, 0, 0, 0.5);
}

/* 服务部分 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: linear-gradient(135deg, rgba(20, 5, 5, 0.9) 0%, rgba(10, 10, 10, 0.9) 100%);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(139, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-crimson), var(--color-gold));
}

.service-card.nezuko-style::before {
    background: linear-gradient(90deg, #ff9ff3, #f368e0);
}

.service-card.tanjiro-style::before {
    background: linear-gradient(90deg, #ff6b6b, #ee5a24);
}

.service-card.giyuu-style::before {
    background: linear-gradient(90deg, #48dbfb, #0abde3);
}

/* 悬停光效 */
.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(212, 175, 55, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.service-card:hover::after {
    animation: lightSweep 0.6s ease;
}

@keyframes lightSweep {
    0% {
        left: -50%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}

.service-card:hover {
    transform: translateY(-10px) rotateY(5deg) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(139, 0, 0, 0.3),
        inset 0 0 30px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.6);
}

.service-card h3 {
    color: var(--color-accent);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.service-description {
    color: var(--color-text-light);
    margin-bottom: 25px;
    font-style: italic;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: var(--color-text);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.submit-request {
    text-align: center;
}

/* 成长历程 · 线状时间轴 */
.timeline-section {
    position: relative;
}

.timeline-shell {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding: 8px 12px 0;
}

.timeline-line-wrap {
    position: relative;
    margin: 0 auto;
    padding: 4px 8px 8px 8px;
}

.timeline-line-list {
    list-style: none;
    margin: 0;
    padding: 8px 0 0 0;
    padding-left: 36px;
    position: relative;
}

/* 竖向主线 */
.timeline-line-list::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 12px;
    width: 4px;
    margin-left: -2px;
    border-radius: 4px;
    background: linear-gradient(
        180deg,
        var(--color-gold-light) 0%,
        var(--color-gold) 25%,
        var(--color-crimson) 55%,
        var(--color-dark-gold) 100%
    );
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
}

.timeline-line-item {
    position: relative;
    padding: 0 0 36px 20px;
    margin: 0;
}

.timeline-line-item:last-child {
    padding-bottom: 8px;
}

/* 节点圆点（落在中轴上） */
.timeline-line-dot {
    position: absolute;
    left: 15px;
    top: 10px;
    width: 16px;
    height: 16px;
    margin-left: -8px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--color-gold-light), var(--color-gold) 45%, var(--color-dark-gold));
    border: 3px solid rgba(10, 10, 10, 0.95);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.55), 0 4px 14px rgba(139, 0, 0, 0.45);
    z-index: 2;
}

.timeline-line-connector {
    position: absolute;
    left: 15px;
    top: 22px;
    width: 28px;
    height: 2px;
    margin-left: 8px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.85), rgba(212, 175, 55, 0.15));
    z-index: 1;
}

.timeline-line-body {
    background: linear-gradient(135deg, rgba(20, 5, 5, 0.94) 0%, rgba(10, 10, 10, 0.94) 100%);
    padding: 20px 24px 22px;
    border-radius: 16px;
    border: 1px solid rgba(139, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 175, 55, 0.06);
    transition: var(--transition);
    margin-left: 8px;
}

.timeline-line-item:hover .timeline-line-body {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.42), 0 0 24px rgba(139, 0, 0, 0.22);
}

.timeline-line-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 12px;
}

.timeline-line-year {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-accent);
    letter-spacing: 0.06em;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.45);
}

.timeline-line-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--color-gold-light);
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(220, 20, 60, 0.45);
    background: rgba(90, 0, 0, 0.35);
}

.timeline-line-desc {
    margin: 0;
    color: var(--color-text);
    line-height: 1.75;
    font-size: 0.98rem;
}

/* 页脚 */
.footer {
    background: var(--color-charcoal);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="%238b0000" stroke-width="0.5" stroke-opacity="0.1"><circle cx="10" cy="10" r="1"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer p {
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, rgba(20, 5, 5, 0.95) 0%, rgba(10, 10, 10, 0.95) 100%);
    color: var(--color-accent);
    border: 1px solid rgba(139, 0, 0, 0.8);
    border-radius: 50%;
    width: 55px;
    height: 55px;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 100;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(139, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--color-crimson) 0%, var(--color-dark-red) 100%);
    color: var(--color-gold);
    transform: scale(1.15) rotate(360deg);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(212, 175, 55, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    border-color: var(--color-gold);
}

/* 弹窗 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--color-card-bg);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    border: 1px solid var(--color-accent);
    backdrop-filter: blur(10px);
    transform: scale(0.8);
    transition: var(--transition);
    position: relative;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.modal-header h3 {
    color: var(--color-accent);
    font-size: 1.5rem;
}

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

.close-btn:hover {
    color: var(--color-accent);
    transform: rotate(90deg);
}

.request-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--color-text);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    background: var(--color-shadow);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: var(--color-text);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* 按钮样式 */
.btn {
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-accent), var(--color-dark-gold));
    color: var(--color-bg);
    border: 1px solid var(--color-accent);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* 粒子容器 */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .about-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "spine"
            "intro"
            "dance"
            "honors";
        gap: 24px;
    }

    .pillar-spine {
        flex-direction: row;
        justify-content: center;
        min-height: auto;
        gap: 12px;
        padding: 10px 8px;
        background: rgba(10, 10, 10, 0.55);
        border-radius: 999px;
        border: 1px solid rgba(139, 0, 0, 0.35);
    }

    .pillar-spine-line {
        display: none;
    }

    .pillar-spine-node {
        width: 34px;
        height: 34px;
        font-size: 0.68rem;
    }

    .achievements-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .dance-experience {
        margin-top: 0;
    }

    .timeline-line-list {
        padding-left: 28px;
    }

    .timeline-line-list::before {
        left: 12px;
    }

    .timeline-line-dot {
        left: 12px;
    }

    .timeline-line-connector {
        left: 12px;
        width: 18px;
    }

    .timeline-line-body {
        margin-left: 2px;
        padding: 16px 18px;
    }

    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .character {
        display: none;
    }
    
    .hero-content {
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .music-control {
        top: 10px;
        right: 10px;
        padding: 6px 10px 6px 8px;
        gap: 8px;
    }

    .music-volume {
        width: 64px;
    }

    .music-volume-label {
        display: none;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card,
    .portfolio-card,
    .skill-item,
    .about-intro {
        padding: 20px;
    }
    
    .modal-content {
        padding: 20px;
    }
}

/* 互动小游戏样式 */
.game-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(20, 10, 10, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 40px auto;
    max-width: 1200px;
}

.game-container {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.game-score,
.game-time {
    font-size: 1.2rem;
    color: #d4af37;
    font-weight: bold;
}

.game-score span,
.game-time span {
    color: #a80000;
    font-size: 1.5rem;
    margin-left: 5px;
}

.game-btn {
    background: linear-gradient(135deg, #d4af37 0%, #a80000 100%);
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.5);
}

.game-btn:active {
    transform: translateY(0);
}

.game-area {
    position: relative;
    height: 400px;
    background: rgba(10, 10, 10, 0.8);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.2);
    cursor: crosshair;
}

.game-instruction {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    color: #888;
    text-align: center;
    width: 100%;
}

/* 游戏目标样式 */
.game-target {
    position: absolute;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #d4af37 0%, #a80000 100%);
    border-radius: 50%;
    cursor: pointer;
    animation: targetPulse 1s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    transition: transform 0.1s ease;
}

.game-target::before {
    content: '🔪';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
}

.game-target:hover {
    transform: scale(1.1);
}

.game-target.hit {
    animation: targetHit 0.3s ease forwards;
}

@keyframes targetPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes targetHit {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(0); opacity: 0; }
}

/* 点击效果 */
.game-click-effect {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid #d4af37;
    border-radius: 50%;
    animation: clickExpand 0.5s ease forwards;
    pointer-events: none;
}

@keyframes clickExpand {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.game-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
}

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    color: #d4af37;
    font-size: 1.5rem;
    font-weight: bold;
}

/* 游戏结束覆盖层 */
.game-over {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.game-over h3 {
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 20px;
}

.game-over p {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.game-over .final-score {
    font-size: 3rem;
    color: #a80000;
    font-weight: bold;
    margin: 20px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .game-section {
        padding: 60px 15px;
    }
    
    .game-container {
        padding: 20px;
    }
    
    .game-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .game-area {
        height: 300px;
    }
    
    .game-target {
        width: 40px;
        height: 40px;
    }
    
    .game-target::before {
        font-size: 20px;
    }
}