:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --bg-color: #f8fafc;
    --text-color: #334155;
}

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

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

#game-container {
    position: relative;
    width: 100%;
    height: 70vh; /* 70% 屏幕高度给游戏，剩下的给 SEO 文本 */
    background-color: #000;
    overflow: hidden;
}

#three-canvas-container {
    width: 100%;
    height: 100%;
    display: block;
}

#ui-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.game-btn {
    appearance: none;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.game-btn:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

#stats-panel {
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    color: #eab308; /* gold color text */
    text-shadow: 1px 1px 0px rgba(0,0,0,0.2);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    margin-bottom: 5px;
}

#build-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    margin-top: 10px;
}

.game-select {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    font-size: 16px;
    outline: none;
    cursor: pointer;
}

.game-color-picker {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.game-color-picker::-webkit-color-swatch-wrapper {
	padding: 0;
}
.game-color-picker::-webkit-color-swatch {
	border: 1px solid #cbd5e1;
	border-radius: 4px;
}

.content-section {
    padding: 60px 20px;
    background: #ffffff;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.container h1 {
    font-size: 2.5rem;
    color: #0f172a;
    margin-bottom: 24px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
}

.container h2 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-top: 40px;
    margin-bottom: 16px;
}

.container p {
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: #475569;
}

.container ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.container li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #475569;
}
