
/* --- 主容器 --- */
.container {
    background: linear-gradient(to right,rgb(87, 139, 236),rgb(191, 142, 255));;
    padding: 0 12px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    width: 80%;
    text-align: center;
    box-sizing: border-box;
    margin: auto;
}

/* --- 設定區域 --- */
.settings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.input-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.input-group label {
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 20px;
    color: #ffee00;
}

.input-group input {
    padding: 12px;
    border: 1px solid #e0c3c3;
    border-radius: 8px;
    font-size: 40px;
    width: 100%;
    box-sizing: border-box;
}

.input-group input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}

/* --- 按鈕 --- */
.actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

button {
    flex-grow: 1;
    padding: 25px 40px;
    font-size: 25px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#draw-btn {
    background-color: #1a73e8;
    color: white;
}

#draw-btn:hover {
    background-color: #155ab6;
}

#draw-btn:disabled {
    background-color: #a0a0a0;
    cursor: not-allowed;
}

#reset-btn {
    background-color: #e0e0e0;
    color: #333;
}

#reset-btn:hover {
    background-color: #c7c7c7;
}

/* --- 結果顯示 --- */
.result-area {
    background-color: #ffffff;
    border: 2px dashed #1a73e8;
    border-radius: 8px;
    padding: 20px;
    height: 200%;
}

#result-display {
    font-size: 72px;
    font-weight: bold;
    color: #d93025;
    min-height: 100px;
    line-height: 100px;
    margin-bottom: 15px;
}

#winners-list {
    list-style-type: none;
    padding: 0;
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

#winners-list li {
    background-color: #28a745;
    color: white;
    padding: 15px 20px;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#skip-btn{
    background-color: #28a745;
    padding: 20px 20px;
}

/* --- 響應式設計 --- */
@media (max-width: 480px) {
    .settings {
        grid-template-columns: 1fr;
    }
    #result-display {
        font-size: 56px;
        min-height: 80px;
        line-height: 80px;
    }
    h1 {
        font-size: 24px;
    }
}