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

:root {
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --secondary: #3f37c9;
    --accent: #4cc9f0;
    --accent-light: #6cd5f4;
    --dark: #0d1b2a;
    --darker: #071021;
    --light: #e2eafc;
    --gray: #8d99ae;
    --light-gray: #a2aec3;
    --success: #4ade80;
    --warning: #facc15;
    --danger: #f87171;
    --card-bg: rgba(19, 33, 56, 0.7);
    --card-border: rgba(255, 255, 255, 0.1);
}

body {
    background: linear-gradient(135deg, var(--darker), var(--dark));
    color: var(--light);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
    font-family: 'Noto Sans SC', sans-serif;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* 背景装饰 */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.globe {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid rgba(76, 201, 240, 0.1);
    top: 10%;
    right: -50px;
    animation: rotate 40s linear infinite;
}

.globe::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.05) 0%, transparent 70%);
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 头部样式 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--accent);
    transition: transform 0.5s ease;
}

.logo:hover .logo-icon {
    transform: rotate(360deg);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Montserrat', sans-serif;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover {
    background: rgba(67, 97, 238, 0.2);
}

.nav-link.active {
    background: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 60%;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 50px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background: rgba(76, 201, 240, 0.1);
}

/* 主内容区 */
main {
    margin-top: 30px;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 4px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
}

.section-title i {
    color: var(--accent);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(76, 201, 240, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.card:hover::before {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(67, 97, 238, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.event-list {
    list-style: none;
}

.event-item {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-item:last-child {
    border-bottom: none;
}

.event-badge {
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(76, 201, 240, 0.2);
    color: var(--accent);
    flex-shrink: 0;
}

.badge-hot {
    background: rgba(248, 113, 113, 0.2);
    color: var(--danger);
}

.badge-finish {
    background: rgba(34, 227, 108, 0.2);
    color: var(--danger);
}

.badge-new {
    background: rgba(74, 222, 128, 0.2);
    color: var(--success);
}

.badge-gold {
    background: rgba(250, 204, 21, 0.2);
    color: var(--warning);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: var(--light);
    position: relative;
    z-index: 3;
}

.feature-item:hover {
    background: rgba(67, 97, 238, 0.2);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.stats {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.stat-card {
    flex: 1;
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: var(--light);
    display: block;
}

.stat-card:hover {
    background: rgba(67, 97, 238, 0.2);
    transform: translateY(-3px);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--accent);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.gem-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(250, 204, 21, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    border: 1px solid rgba(250, 204, 21, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gem-counter:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(250, 204, 21, 0.1);
}

.gem-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gem-icon {
    color: var(--warning);
    font-size: 1.5rem;
}

.gem-count {
    font-size: 1.2rem;
    font-weight: 600;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-top: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 70%;
    background: linear-gradient(90deg, var(--warning), #f59e0b);
    border-radius: 4px;
}

.website-link {
    display: block;
    text-align: center;
    margin: 30px 0;
    padding: 15px;
    background: rgba(67, 97, 238, 0.2);
    border-radius: 10px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(67, 97, 238, 0.3);
    position: relative;
    z-index: 3;
}

.website-link:hover {
    background: rgba(67, 97, 238, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.2);
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.quick-link {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    color: var(--light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-link:hover {
    background: rgba(67, 97, 238, 0.2);
    transform: translateY(-2px);
    color: var(--accent-light);
}

footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 20px;
    color: var(--gray);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-link {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .stats {
        flex-direction: column;
    }
    
    .user-section {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .globe {
        width: 200px;
        height: 200px;
        top: 5%;
        right: -80px;
    }
    
    .quick-links {
        flex-direction: column;
        align-items: center;
    }
}