/* 全局样式 */
:root {
    --primary-color: #4b2e05; /* 深棕色 */
    --secondary-color: #c9a14a; /* 金色 */
    --text-color: #2d1b06; /* 深棕文字 */
    --light-bg: #f5ecd6; /* 羊皮纸色 */
    --dark-bg: #3a2412; /* 深棕背景 */
}

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

body {
    font-family: 'Times New Roman', 'Georgia', serif;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--light-bg);
}

/* 导航栏样式 */
header {
    background-color: var(--dark-bg);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(75,46,5,0.18);
    border-bottom: 2px solid var(--secondary-color);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    min-width: 0;
}

.logo {
    color: var(--secondary-color);
    font-size: 1.7rem;
    font-family: 'Georgia', serif;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 1px 1px 4px #000, 0 0 8px var(--secondary-color, #c9a14a);
    white-space: nowrap;
    overflow: visible;
    text-overflow: unset;
}

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    padding: 0.2rem 1.2rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
}

/* 英雄区域样式 */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(75,46,5,0.7), rgba(75,46,5,0.5)), url('images/hero-bg.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--secondary-color);
    font-family: 'Georgia', serif;
    opacity: 0;
    animation: heroFadeIn 1.2s ease 0.2s forwards;
}

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

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px #000, 0 0 12px var(--secondary-color, #c9a14a);
}

.cta-buttons {
    margin-top: 2rem;
}

.cta-buttons .btn {
    background: var(--secondary-color);
    color: var(--dark-bg);
    border: 1px solid var(--dark-bg);
    font-family: 'Georgia', serif;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 6px;
    margin: 0 0.5rem;
    padding: 1rem 2rem;
    box-shadow: 0 2px 8px rgba(75,46,5,0.12);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.3s, border-color 0.2s;
    text-decoration: none;
    display: inline-block;
}
.cta-buttons .btn:hover {
    background: #fffbe6;
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(201,161,74,0.18);
    transform: translateY(-3px);
}

.cta-steam-link {
    margin-top: 1.5rem;
    text-align: center;
}
.cta-steam-link a {
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}
.cta-steam-link a:hover {
    color: #fffbe6;
}
.cta-steam-link i {
    font-size: 3.2rem;
}

.cta-steam-link .steam-r {
    font-size: 0.6em;
    vertical-align: super;
    margin-left: 2px;
    font-weight: normal;
    opacity: 0.8;
}

/* 特色区域样式 */
#features {
    padding: 4rem 2rem;
    background: var(--light-bg);
    position: relative;
}

#features::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--secondary-color) 20%, 
        var(--secondary-color) 80%, 
        transparent 100%
    );
    box-shadow: 0 0 8px var(--secondary-color);
}

#features h2 {
    color: var(--secondary-color);
    font-family: 'Cinzel', 'Georgia', serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-shadow: 1px 1px 4px #000, 0 0 6px #c9a14a;
}

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

.feature-card {
    background: #fffbe6;
    border: 1.5px solid var(--secondary-color);
    color: var(--primary-color);
    font-family: 'Georgia', serif;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(75,46,5,0.08);
    padding: 1.5rem;
    transition: box-shadow 0.2s, border 0.2s;
}

.feature-card:hover {
    box-shadow: 0 6px 24px rgba(201,161,74,0.18);
    border: 1.5px solid #fffbe6;
}

.feature-card .social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: rgba(201,161,74,0.1);
    border: 1px solid var(--secondary-color);
}

.feature-card .social-link:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.feature-card .social-link i {
    font-size: 1.2rem;
}

.feature-card .social-link.bilibili i {
    color: #00A1D6;
}

.feature-card .social-link:hover i {
    color: inherit;
}

/* 画廊样式 */
#gallery {
    padding: 4rem 2rem;
    background: var(--light-bg);
    color: var(--primary-color);
    font-family: 'Georgia', serif;
    position: relative;
}

#gallery::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--secondary-color) 20%, 
        var(--secondary-color) 80%, 
        transparent 100%
    );
    box-shadow: 0 0 8px var(--secondary-color);
}

#gallery h2 {
    color: var(--secondary-color);
    font-family: 'Cinzel', 'Georgia', serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-shadow: 1px 1px 4px #000, 0 0 6px #c9a14a;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.gallery-item {
    aspect-ratio: 16/9;
    width: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    display: block;
    box-shadow: 0 4px 24px 0 rgba(75,46,5,0.18), 0 1.5px 8px rgba(201,161,74,0.10);
    transition: box-shadow 0.3s;
}

.gallery-item:hover {
    box-shadow: 0 8px 32px 0 rgba(75,46,5,0.28), 0 2px 16px rgba(201,161,74,0.18);
}

/* 新闻区域样式 */
#news {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
}

.news-grid {
    max-width: 1200px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    text-decoration: none;
}

/* 页脚样式 */
footer {
    background-color: var(--dark-bg);
    color: var(--secondary-color);
    padding: 2.5rem 2rem 1rem;
    position: relative;
    font-family: 'Georgia', serif;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--secondary-color) 20%, 
        var(--secondary-color) 80%, 
        transparent 100%
    );
    box-shadow: 0 0 8px var(--secondary-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.social-links {
    margin-top: 1rem;
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s, transform 0.2s;
}

.social-link i {
    font-size: 1.2rem;
}

.social-link:hover {
    color: #fffbe6;
    transform: translateY(-2px);
}

.social-link.twitter i {
    color: #1DA1F2;
}

.social-link.discord i {
    color: #5865F2;
}

.social-link.bilibili i {
    color: #00A1D6;
}

.social-link:hover i {
    color: inherit;
}

.footer-bottom {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201,161,74,0.18);
    color: var(--secondary-color);
}

.footer-bottom .music-copyright {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom .suno-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-bottom .suno-link i {
    font-size: 0.9em;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.footer-bottom .suno-link:hover {
    color: #fffbe6;
}

.footer-bottom .suno-link:hover i {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .btn {
        display: block;
        margin: 1rem auto;
        width: 80%;
    }
}

/* 音乐播放器美化 */
#music-player-container {
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 5000;
    display: flex;
    align-items: flex-end;
    gap: 0;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.35), 0 2px 12px rgba(75,46,5,0.18);
    border-radius: 12px;
}
#music-player {
    box-shadow: none;
}
#kanban-girl {
    position: fixed;
    right: 0px;
    bottom: 60px;
    width: 300px;
    height: auto;
    z-index: 3000;
    transition: transform 0.3s ease;
    cursor: pointer;
}

#music-player {
    position: fixed;
    right: 40px;
    bottom: 40px;
    left: auto;
    width: auto;
    min-width: 0;
    max-width: none;
    height: 32px;
    background: #3a2412;
    color: var(--secondary-color);
    z-index: 5001;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 8px;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.35), 0 2px 12px rgba(75,46,5,0.18);
    padding: 0 12px;
    user-select: none;
    transition: box-shadow 0.2s;
    gap: 0;
    border: 1.5px solid var(--secondary-color);
}
#music-player:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.28);
}
#music-player .music-controls {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}
#music-player button {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 0.92rem;
    margin: 0;
    cursor: pointer;
    outline: none;
    transition: color 0.2s;
    flex-shrink: 0;
    padding: 0 1px;
    height: 20px;
    line-height: 20px;
}
#music-player button:hover {
    color: #fffbe6;
}
#musicTitle {
    margin-left: 8px;
    font-size: 0.92rem;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 0%;
    min-width: 40px;
    max-width: 200px;
}
#music-player audio {
    display: none;
}
#music-progress {
    flex: 0 0 60px;
    margin: 0 2px;
    height: 2px;
    background: #c9a14a;
    border-radius: 2px;
    cursor: pointer;
    appearance: none;
    min-width: 30px;
    max-width: 60px;
}
#music-progress::-webkit-slider-thumb {
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e74c3c;
    border: none;
}
#music-progress::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e74c3c;
    border: none;
}
#music-progress::-ms-thumb {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e74c3c;
    border: none;
}
#music-volume {
    width: 60px;
    margin-left: 2px;
    accent-color: #c9a14a;
    vertical-align: middle;
    flex-shrink: 0;
}

#team {
    padding: 4rem 2rem;
    background: var(--light-bg);
    color: var(--primary-color);
    font-family: 'Georgia', serif;
    position: relative;
}

#team::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--secondary-color) 20%, 
        var(--secondary-color) 80%, 
        transparent 100%
    );
    box-shadow: 0 0 8px var(--secondary-color);
}

#team h2 {
    color: var(--secondary-color);
    font-family: 'Cinzel', 'Georgia', serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-shadow: 1px 1px 4px #000, 0 0 6px #c9a14a;
}

.hero-video-fade {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 10px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, var(--light-bg) 60%, rgba(255,255,255,0) 100%);
}

#features h2, #gallery h2, #team h2 {
    color: var(--secondary-color);
    font-family: 'Cinzel', 'Georgia', serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-shadow: 1px 1px 4px #000, 0 0 6px #c9a14a;
}

#lang-switch {
    background: var(--dark-bg);
    color: var(--secondary-color);
    border: 1.5px solid var(--secondary-color);
    border-radius: 6px;
    font-size: 1rem;
    padding: 0.3rem 1rem;
    outline: none;
    box-shadow: 0 2px 8px rgba(75,46,5,0.10);
    margin-left: 2rem;
    transition: border 0.2s, box-shadow 0.2s;
}
#lang-switch:focus {
    border: 1.5px solid #fffbe6;
    box-shadow: 0 4px 16px rgba(201,161,74,0.18);
}

.kanban-bubble {
    position: fixed;
    right: 240px;
    bottom: 300px;
    background: rgba(58, 36, 18, 0.95);
    color: var(--secondary-color);
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: bold;
    z-index: 4001;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    animation: bubbleFadeIn 0.3s ease-out;
    max-width: 240px;
}

.kanban-bubble .bubble-arrow {
    position: absolute;
    right: -8px;
    bottom: 20px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid rgba(58, 36, 18, 0.95);
}

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

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