.lottery-game-container {
max-width: 800px;
margin: 20px auto;
background: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.lottery-header {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
border-bottom: 2px solid #eee;
padding-bottom: 15px;
}
.lottery-pool, .lottery-user-balance {
text-align: center;
}
.lottery-pool .amount {
font-size: 2em;
color: #d63638;
font-weight: bold;
}
.lottery-user-balance .amount {
font-size: 1.5em;
color: #0073aa;
font-weight: bold;
}
.lottery-rules {
background: #f9f9f9;
padding: 15px;
border-radius: 5px;
margin-bottom: 20px;
border-left: 5px solid #0073aa;
}
.lottery-play-area {
margin-bottom: 30px;
text-align: center;
}
.number-selector {
display: flex;
justify-content: center;
gap: 10px;
flex-wrap: wrap;
margin: 20px 0;
}
.number-btn {
position: relative;
cursor: pointer;
}
.number-btn input {
position: absolute;
opacity: 0;
cursor: pointer;
}
.number-btn .num {
display: inline-block;
width: 40px;
height: 40px;
line-height: 40px;
text-align: center;
border: 2px solid #ddd;
border-radius: 50%;
font-size: 18px;
font-weight: bold;
transition: all 0.3s;
background: #fff;
}
.number-btn input:checked + .num {
background: #d63638;
color: #fff;
border-color: #d63638;
transform: scale(1.1);
}
.bet-controls {
margin-top: 20px;
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
}
.bet-controls input[type="number"] {
width: 60px;
text-align: center;
}
.lottery-table {
width: 100%;
border-collapse: collapse;
margin-top: 15px;
}
.lottery-table th, .lottery-table td {
padding: 10px;
text-align: center;
border-bottom: 1px solid #eee;
}
.lottery-table th {
background: #f1f1f1;
font-weight: bold;
}
.winning-numbers {
color: #d63638;
font-weight: bold;
letter-spacing: 2px;
}
#lottery-message {
margin-top: 15px;
font-weight: bold;
}