:root {
    --primary-color: #05c46b;
    --secondary-color: #1e272e;
    --text-color: #d2dae2;
    --bg-color: #0c1014;
    --card-bg: #1a1f24;
    --card-hover: #2c3137;
    --header-font: 'JetBrains Mono', monospace, sans-serif;
    --body-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --error-color: #ff6b6b;
    --success-color: #1dd1a1;
}

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

body {
    font-family: var(--body-font);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    padding: 2rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

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

h1 {
    font-family: var(--header-font);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
    position: relative;
    margin-bottom: 0.5rem;
}

h1::after {
    content: "_";
    color: var(--primary-color);
    animation: blink 1s infinite;
}

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

.highlight {
    color: var(--primary-color);
}

.tagline {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-family: var(--header-font);
    color: var(--primary-color);
}

.sub-tagline {
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: 2rem;
    text-transform: lowercase;
}

/* 导航样式 */
.category-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.nav-btn {
    background: var(--card-bg);
    color: var(--text-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--header-font);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-btn:hover {
    background: var(--card-hover);
}

.nav-btn.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 分类区域样式 */
.category-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.category-section.active {
    display: block;
}

/* 工具卡片样式 */
.tools-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tool-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(5, 196, 107, 0.1);
}

.tool-preview {
    background: linear-gradient(135deg, var(--primary-color), #1e272e);
    padding: 2rem;
    text-align: center;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-preview i {
    font-size: 4rem;
    color: white;
    opacity: 0.9;
}

.tool-info {
    padding: 1.5rem;
}

.tool-info h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.tool-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.tool-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tool-tag {
    background: rgba(5, 196, 107, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: var(--header-font);
}

/* 愿望清单样式 */
.wishlist-container {
    max-width: 800px;
    margin: 0 auto;
}

.wishlist-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.wishlist-form input,
.wishlist-form textarea {
    width: 100%;
    background: var(--bg-color);
    border: 1px solid var(--card-hover);
    color: var(--text-color);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-family: var(--body-font);
}

.wishlist-form textarea {
    min-height: 100px;
    resize: vertical;
}

.wishlist-form button {
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--header-font);
    transition: all 0.3s ease;
    width: 100%;
}

.wishlist-form button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.wishlist-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    background: transparent;
    color: var(--text-color);
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: var(--header-font);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.tab-btn.active {
    opacity: 1;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.wish-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    animation: slideIn 0.3s ease;
}

.wish-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.wish-title {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.wish-votes {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vote-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.vote-btn:hover {
    color: var(--primary-color);
}

.vote-btn.voted {
    color: var(--primary-color);
}

.wish-description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.wish-meta {
    font-size: 0.8rem;
    opacity: 0.6;
}

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

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

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .category-nav {
        flex-direction: column;
    }
    
    .tools-container {
        grid-template-columns: 1fr;
    }
    
    .tool-preview {
        height: 120px;
    }
    
    .tool-preview i {
        font-size: 3rem;
    }
    
    .wishlist-tabs {
        flex-wrap: wrap;
    }
}

.coming-soon {
    opacity: 0.6;
    cursor: default;
}

.coming-soon:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

footer {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 2rem;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

/* 游戏卡片样式 */
.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(5, 196, 107, 0.1);
}

.game-preview {
    background: linear-gradient(135deg, var(--primary-color), #1e272e);
    padding: 2rem;
    text-align: center;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-preview i {
    font-size: 4rem;
    color: white;
    opacity: 0.9;
}

.game-info {
    padding: 1.5rem;
}

.game-info h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.game-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.game-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.game-tag {
    background: rgba(5, 196, 107, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: var(--header-font);
}

@media (max-width: 768px) {
    .games-container {
        grid-template-columns: 1fr;
    }
    
    .game-preview {
        height: 120px;
    }
    
    .game-preview i {
        font-size: 3rem;
    }
} 