body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background: linear-gradient(to bottom right, #2f3640, #1e272e, #2f3640);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    max-width: 600px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.header p {
    font-size: 1.1em;
    color: #ccc;
}

.card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

@media (min-width: 600px) {
    .settings-card {
        flex-direction: row;
        justify-content: space-between;
    }
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.setting-item label {
    font-weight: bold;
    color: #eee;
}

.setting-item input[type="number"] {
    width: 80px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s, background-color 0.3s;
}

.setting-item input[type="number"]:focus {
    border-color: #88f;
    background-color: rgba(255, 255, 255, 0.25);
}

.button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: bold;
}

.button.outline {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.button.outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.button.primary {
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 126, 95, 0.4);
}

.button.primary:hover {
    background: linear-gradient(to right, #feb47b, #ff7e5f);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 126, 95, 0.6);
}

.button:disabled {
    background: #555;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
    transform: none;
}

.current-number-card {
    text-align: center;
}

.current-number {
    font-size: 6em;
    font-weight: bold;
    color: #ffeb3b; /* Bright yellow */
    text-shadow: 0 5px 20px rgba(255, 235, 59, 0.6);
    margin: 20px 0;
    transition: all 0.3s ease;
}

.current-number.animating {
    transform: scale(1.1);
    opacity: 0.7;
    animation: pulse 0.8s infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(1.05); opacity: 0.9; }
}

.drawn-numbers-card h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #eee;
}

.drawn-numbers-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.badge {
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 1.2em;
    font-weight: bold;
    background: #4a90e2; /* Blue */
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.badge.latest {
    background: #ffeb3b; /* Bright yellow */
    color: #333;
    box-shadow: 0 0 15px rgba(255, 235, 59, 0.8);
    transform: scale(1.1);
}

.complete-message {
    text-align: center;
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffeb3b;
}

.progress-bar-container {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
    margin-top: 30px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(to right, #4CAF50, #2196F3); /* Green to Blue */
    transition: width 0.5s ease-out;
    border-radius: 5px;
}

.progress-text {
    text-align: center;
    margin-top: 10px;
    color: #ccc;
    font-size: 0.9em;
}

.hidden {
    display: none;
}

.icon {
    font-size: 1.2em;
    vertical-align: middle;
}


