/* ============================================
   抽奖系统 - 全局样式
   ============================================ */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif; }

/* ===== 字体大小控制 ===== */
.font-small { font-size: 14px; }
.font-medium { font-size: 16px; }
.font-large { font-size: 18px; }
.font-xl { font-size: 20px; }
.font-xxl { font-size: 24px; }

/* ===== 颜色主题 ===== */
.theme-purple { color: #a78bfa; }
.theme-gold { color: #fbbf24; }
.theme-pink { color: #f472b6; }
.theme-blue { color: #60a5fa; }
.theme-green { color: #34d399; }
.theme-red { color: #f87171; }
.theme-orange { color: #fb923c; }

/* ===== 背景主题 ===== */
.bg-dark { background: linear-gradient(135deg, #0c0e1a, #1a1a3e); }
.bg-purple { background: linear-gradient(135deg, #1a1a2e, #2d1b69); }
.bg-blue { background: linear-gradient(135deg, #0c1445, #1a3a6b); }
.bg-gold { background: linear-gradient(135deg, #1a0e00, #3d2b00); }
.bg-pink { background: linear-gradient(135deg, #1a0a14, #3d1a2b); }
.bg-green { background: linear-gradient(135deg, #0a1a0e, #1a3d2b); }

/* ===== 卡片 ===== */
.lottery-card {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.lottery-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-4px);
}

/* ===== 按钮 ===== */
.btn {
    padding: 10px 28px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.btn-primary {
    background: linear-gradient(135deg, #7c5cfc, #5c3dbe);
    color: #fff;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124,92,252,0.3);
}
.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.18);
}
.btn-danger {
    background: #ef4444;
    color: #fff;
}
.btn-danger:hover {
    background: #dc2626;
}

/* ===== 工具类 ===== */
.text-center { text-align: center; }
.text-white { color: #fff; }
.text-muted { color: rgba(255,255,255,0.5); }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.p-20 { padding: 20px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.w-full { width: 100%; }
