* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fcfcfd;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #6366f1;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: #4b5563;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #6366f1;
}

.lang-switcher select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}

/* 按钮 */
.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151 !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 18px;
    border-radius: 10px;
}

/* Hero区域 */
.hero {
    padding: 70px 0 90px;
    text-align: center;
    background: linear-gradient(180deg, #f0f4ff, #fff);
}

.hero h1 {
    font-size: 42px;
    color: #1f2937;
    margin-bottom: 12px;
}

.subtitle {
    font-size: 24px;
    color: #6366f1;
    font-weight: 600;
    margin-bottom: 10px;
}

.desc {
    font-size: 17px;
    color: #6b7280;
    margin-bottom: 30px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stats span {
    font-size: 16px;
    color: #4b5563;
}

.stats strong {
    font-size: 24px;
    color: #6366f1;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* 16类型预览 */
.types-preview {
    padding: 70px 0;
    text-align: center;
}

.types-preview h2 {
    font-size: 30px;
    margin-bottom: 10px;
    color: #1f2937;
}

.types-preview p {
    color: #6b7280;
    margin-bottom: 40px;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.type-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 12px;
    transition: all 0.25s;
}

.type-card:hover {
    border-color: #6366f1;
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.12);
}

/* 今日幸运入口 */
.lucky-entry {
    padding: 60px 0 80px;
    text-align: center;
    background: #fef7ff;
}

.lucky-entry h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.lucky-entry p {
    color: #6b7280;
    margin-bottom: 24px;
}

/* 通用页面容器 */
.page-container {
    max-width: 900px;
    margin: 40px auto 60px;
    padding: 0 20px;
}

.page-container h1 {
    font-size: 32px;
    margin-bottom: 24px;
    color: #1f2937;
}

.page-container p {
    margin-bottom: 16px;
    color: #4b5563;
}

/* 页脚 */
footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 40px 0 30px;
    text-align: center;
}

.footer-links {
    margin-top: 16px;
}

.footer-links a {
    color: #9ca3af;
    margin: 0 12px;
}

.footer-links a:hover {
    color: #fff;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .hero h1 { font-size: 30px; }
    .nav-links { gap: 12px; }
    .btn-lg { padding: 12px 22px; font-size: 16px; }
}
