@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><g fill-opacity="0.1"><rect fill="%236e8efb" width="50" height="50"/><rect fill="%23a777e3" x="50" y="50" width="50" height="50"/></g></svg>');
    opacity: 0.1;
    pointer-events: none;
}

.container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 5px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 90%;
    max-width: 500px;
    backdrop-filter: blur(10px);
}

h1 {
    color: #333;
    font-weight: 700;
    margin-bottom: 30px;
}

.lotto-machine {
    margin-bottom: 30px;
}

.numbers {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    min-height: 60px;
}

.number {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button {
    background: linear-gradient(135deg, #ff758c, #ff7eb3);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 117, 140, 0.4);
    transition: all 0.3s ease;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 117, 140, 0.6);
}

.history {
    text-align: left;
    margin-top: 30px;
}

h2 {
    color: #444;
    font-weight: 600;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

#history-list {
    list-style-type: none;
    padding: 0;
    max-height: 200px;
    overflow-y: auto;
}

#history-list li {
    background-color: rgba(240, 240, 240, 0.8);
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}
