/* =============================
   全局背景
============================= */
body {
    margin: 0;
    font-family: "Inter", "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #e5e7eb;
}

/* =============================
   顶部导航
============================= */
.navbar {
    background: #0b1220;
    padding: 16px 40px;
    font-weight: 600;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* =============================
   主容器
============================= */
.container {
    max-width: 1200px;  /* 扩展以支持双卡片 */
    margin: 80px auto;
    padding: 40px;
}

/* =============================
   通用卡片
============================= */
.card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(18px);
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.06);
}

.card h2 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #ffffff;
}

/* =============================
   表单
============================= */
.form-group {
    margin-bottom: 20px;
}

label {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 6px;
    display: block;
}

select,
input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #ffffff;
    font-size: 14px;
}

select:focus,
input:focus {
    outline: none;
    border-color: #d4af37;
}

/* =============================
   黑金按钮
============================= */
.gold-btn,
#generate-btn {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #000;
    cursor: pointer;
    transition: 0.3s;
}

.gold-btn:hover,
#generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212,175,55,0.4);
}

/* =============================
   号码显示
============================= */
.ticket {
    margin-top: 20px;
    padding: 20px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}

.ball-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.ball,
.red-ball {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display:inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: white;
    background: linear-gradient(135deg, #dc2626, #991b1b);
}

/* =============================
   双卡片布局（胆码专用）
============================= */
.card-container {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.recommend-card {
    flex: 1;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(18px);
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.06);
}

.result-box {
    margin-top: 20px;
    color: #ffd700;
    word-break: break-all;
}

select option {
    background-color: #1f2a3a;
    color: #ffffff;
}

/* 胆码专用金色球 */
.danma-ball {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: #000;
    background: linear-gradient(135deg, #ffd700, #d4af37);
    box-shadow: 0 0 10px rgba(255,215,0,0.6);
}

.issue-title{
    font-size:22px;
    font-weight:700;
    color:#00f7ff;
    margin-bottom:12px;
}

.win-marquee{
    background:#fff3cd;
    border:1px solid #ffeeba;
    padding:15px;
    margin:20px 0;
    }
    
    .marquee-title{
    font-size:18px;
    font-weight:bold;
    color:#c00;
    margin-bottom:10px;
    }
    
    .marquee-content{
    height:120px;
    overflow:hidden;
    }
    
    #broadcast-list{
    list-style:none;
    padding:0;
    margin:0;
    }
    
    #broadcast-list li{
    padding:5px 0;
    font-size:16px;
    color:#b30000;
    }

    <style>
    .modal {
      display:none;
      position:fixed;
      top:0;left:0;
      width:100%;height:100%;
      background:rgba(0,0,0,0.5);
      z-index:9999;
    }
    .modal-box {
      background:#fff;
      padding:20px;
      margin:100px auto;
      width:300px;
      border-radius:10px;
      text-align:center;
    }
    </style>