@import url('https://fonts.googleapis.com/css2?family=Russo+One&family=Orbitron:wght@700&display=swap');
/* ===== 基础样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
 background: url('/static/images/background.jpg') center/cover no-repeat fixed;
 min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}
a { color: #667eea; text-decoration: none; }
a:hover { color: #764ba2; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
/* ===== 按钮 ===== */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}
.btn-primary { background: #667eea; color: #fff; }
.btn-primary:hover { background: #5a6fd6; }
.btn-secondary { background: #6c757d; color: #fff; }
.btn-success { background: #27ae60; color: #fff; }
.btn-outline { border: 2px solid #667eea; color: #667eea; background: transparent; padding: 8px 20px; border-radius: 8px; }
.btn-outline:hover { background: #667eea; color: #fff; }
.btn-block { display: block; width: 100%; }
.btn-large { padding: 15px 40px; font-size: 18px; border-radius: 30px; }
/* ===== 导航栏 ===== */
.navbar {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
 .nav-brand h1 { font-family: 'Russo One', 'Orbitron', sans-serif; font-size: 24px; font-weight: bold; color: #fff; text-shadow: 0 0 10px rgba(255,100,0,0.8), 0 0 20px rgba(255,50,0,0.5), 2px 2px 0 #333; letter-spacing: 2px; }
.nav-menu { list-style: none; display: flex; gap: 30px; align-items: center; }
.nav-menu a { color: #666; font-weight: 500; }
.nav-menu a:hover, .nav-menu a.active { color: #667eea; }
/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.hero h2 { font-size: 42px; margin-bottom: 15px; }
.hero p { font-size: 20px; opacity: 0.9; margin-bottom: 30px; }
.hero-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.hero-buttons .btn-primary { background: #fff; color: #667eea; }
.hero-buttons .btn-secondary { background: rgba(255,255,255,0.2); color: #fff; border: 2px solid #fff; }
.stats { display: flex; justify-content: center; gap: 60px; margin-top: 50px; }
.stat-item { text-align: center; }
.stat-number { font-size: 32px; font-weight: bold; display: block; }
.stat-label { font-size: 14px; opacity: 0.8; }
/* ===== Features ===== */
.features { padding: 60px 0; background: #fff; }
.features h3, .games-preview h3, .cta h3 { text-align: center; font-size: 28px; margin-bottom: 40px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-card { text-align: center; padding: 30px; border-radius: 12px; background: #f8f9fa; transition: 0.3s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.feature-icon { font-size: 48px; margin-bottom: 15px; }
.feature-card h4 { margin-bottom: 10px; }
.feature-card p { color: #666; }
/* ===== Games Preview ===== */
.games-preview { padding: 60px 0; }
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.game-card { background: #fff; padding: 20px; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); text-align: center; transition: 0.3s; }
.game-card:hover { transform: translateY(-5px); }
.game-icon { font-size: 48px; margin-bottom: 15px; }
.game-card h4 { margin-bottom: 10px; }
.game-card p { color: #666; font-size: 14px; margin-bottom: 15px; }
.commission { color: #e74c3c; font-weight: bold; font-size: 16px; }
.view-more { text-align: center; margin-top: 30px; }
/* ===== CTA ===== */
.cta { padding: 60px 0; background: #1a1a2e; color: #fff; text-align: center; }
.cta p { opacity: 0.8; margin-bottom: 20px; font-size: 18px; }
/* ===== Footer ===== */
.footer { background: #fff; padding: 30px 0; text-align: center; color: #666; border-top: 1px solid #eee; }
.footer p { margin: 5px 0; }
/* ===== Auth Pages ===== */
.auth-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.auth-container { width: 100%; max-width: 420px; padding: 20px; }
.auth-box { background: #fff; border-radius: 16px; padding: 40px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.auth-header { text-align: center; margin-bottom: 30px; }
.auth-header h1 { font-size: 24px; margin-bottom: 10px; }
.auth-header p { color: #666; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #333; }
.form-group input { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 8px; font-size: 15px; transition: 0.3s; }
.form-group input:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102,126,234,0.1); }
.remember-me { display: flex; justify-content: space-between; align-items: center; }
.forgot-link { color: #666; font-size: 14px; }
.auth-footer { text-align: center; margin-top: 20px; color: #666; }
.message { padding: 12px; border-radius: 8px; margin-top: 15px; text-align: center; }
.message.success { background: #d4edda; color: #155724; }
.message.error { background: #f8d7da; color: #721c24; }
/* ===== Dashboard ===== */
.dashboard { display: flex; min-height: 100vh; }
.sidebar { width: 240px; background: #1a1a2e; color: #fff; padding: 20px; flex-shrink: 0; }
.sidebar-brand { font-size: 20px; font-weight: bold; margin-bottom: 30px; }
.sidebar-menu { list-style: none; padding: 0; }
.sidebar-menu li { margin-bottom: 5px; }
.sidebar-menu a { color: #aaa; text-decoration: none; display: block; padding: 12px 15px; border-radius: 8px; transition: 0.3s; }
.sidebar-menu a:hover, .sidebar-menu a.active { background: #16213e; color: #fff; }
.main-content { flex: 1; padding: 30px; background: #f5f7fa; overflow-y: auto; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card { background: #fff; padding: 20px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.stat-card.highlight { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; }
.stat-card h3 { margin: 0 0 10px; color: #666; font-size: 14px; }
.stat-card.highlight h3 { color: rgba(255,255,255,0.8); }
.stat-card .value { font-size: 28px; font-weight: bold; color: #333; }
.stat-card.highlight .value { color: #fff; }
/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-menu { gap: 15px; }
    .hero h2 { font-size: 28px; }
    .stats { gap: 30px; }
    .stat-number { font-size: 24px; }
    .sidebar { width: 60px; padding: 10px; }
    .sidebar-brand, .sidebar-menu a span { display: none; }
    .dashboard { flex-direction: column; }
    .main-content { padding: 15px; }
}