/* 基础样式 */
:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --accent-color: #fd79a8;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-1: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    --gradient-2: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
    --gradient-3: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    --shadow-color: rgba(108, 92, 231, 0.3);
}

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

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(ellipse at 10% 20%, rgba(108, 92, 231, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(253, 121, 168, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 184, 148, 0.05) 0%, transparent 50%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* 粒子背景 */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) translateX(10px);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-15px) translateX(-10px);
        opacity: 0.2;
    }
    75% {
        transform: translateY(-45px) translateX(15px);
        opacity: 0.4;
    }
}

/* 头部样式 */
.hero {
    text-align: center;
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.game-logo {
    margin-bottom: 30px;
}

.game-logo .icon {
    font-size: 80px;
    display: block;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

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

.game-logo h1 {
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(108, 92, 231, 0.5);
}

.game-logo .subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    font-weight: 300;
}

.divider {
    width: 100px;
    height: 4px;
    background: var(--gradient-2);
    margin: 30px auto;
    border-radius: 2px;
}

.thanks-title {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.thanks-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 300;
}

/* 时间部分 */
.time-section {
    margin: 60px 0;
    position: relative;
    z-index: 1;
}

.time-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.time-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(108, 92, 231, 0.2);
}

.time-icon {
    font-size: 60px;
    flex-shrink: 0;
}

.time-details h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.time-range {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.time-note {
    color: var(--text-secondary);
    font-size: 16px;
}

/* 特别感谢部分 */
.thanks-section {
    margin: 80px 0;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.title-icon {
    font-size: 40px;
}

.thanks-note {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 16px;
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    padding: 20px;
}

.player-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.player-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.player-card:hover::before {
    transform: scaleX(1);
}

.player-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.2);
    border-color: var(--primary-color);
}

.player-avatar {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 35px;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.player-name {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
}

/* 存档下载部分 */
.archive-section {
    margin: 80px 0;
    position: relative;
    z-index: 1;
}

.archive-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.archive-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.archive-card h3 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.archive-card p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 16px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-3);
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 184, 148, 0.3);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 184, 148, 0.4);
}

.btn-icon {
    font-size: 20px;
}

/* 咖啡赞助部分 */
.coffee-section {
    margin: 80px 0;
    position: relative;
    z-index: 1;
}

.coffee-note {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 16px;
}

.coffee-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.coffee-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.coffee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(253, 121, 168, 0.2);
}

.coffee-img-container {
    position: relative;
}

.coffee-img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-note {
    color: var(--text-secondary);
    font-size: 14px;
}

/* 关服提醒 */
.shutdown-section {
    margin: 80px 0 40px;
    position: relative;
    z-index: 1;
}

.shutdown-card {
    background: linear-gradient(135deg, rgba(253, 121, 168, 0.1) 0%, rgba(108, 92, 231, 0.1) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(253, 121, 168, 0.3);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(253, 121, 168, 0.1);
}

.shutdown-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.shutdown-card h3 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.shutdown-card p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 16px;
}

.shutdown-note {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 18px !important;
}

/* 页脚 */
.footer {
    margin-top: 80px;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.footer-content {
    text-align: center;
}

.footer p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 16px;
}

.footer-game {
    color: var(--primary-color);
    font-weight: 500;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.time-section,
.thanks-section,
.archive-section,
.coffee-section,
.shutdown-section {
    animation: fadeInUp 0.8s ease-out;
}

.thanks-section {
    animation-delay: 0.2s;
}

.archive-section {
    animation-delay: 0.4s;
}

.coffee-section {
    animation-delay: 0.6s;
}

.shutdown-section {
    animation-delay: 0.8s;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }
    
    .game-logo h1 {
        font-size: 36px;
    }
    
    .thanks-title {
        font-size: 28px;
    }
    
    .players-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .player-card {
        padding: 20px 15px;
    }
    
    .player-avatar {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .player-name {
        font-size: 16px;
    }
    
    .time-card {
        flex-direction: column;
        text-align: center;
    }
    
    .coffee-cards {
        gap: 20px;
    }
    
    .coffee-img {
        width: 200px;
        height: 200px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .archive-card,
    .shutdown-card {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .game-logo h1 {
        font-size: 28px;
    }
    
    .thanks-title {
        font-size: 24px;
    }
    
    .players-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .player-card {
        padding: 15px 10px;
    }
    
    .player-avatar {
        width: 50px;
        height: 50px;
        font-size: 25px;
        margin-bottom: 10px;
    }
    
    .player-name {
        font-size: 14px;
    }
    
    .time-range {
        font-size: 20px;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* 选中文本样式 */
::selection {
    background: var(--primary-color);
    color: white;
}