
body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f2f5;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23dcdde1' fill-opacity='0.1'%3E%3Crect x='0' y='0' width='100' height='100'/%3E%3C/g%3E%3C/svg%3E");
}

.lotto-machine {
    text-align: center;
    padding: 40px;
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1), 0 6px 6px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.lotto-machine:hover {
    transform: translateY(-5px);
}

h1 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.numbers-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.generate-btn {
    padding: 15px 30px;
    font-size: 1.2em;
    color: #fff;
    background: linear-gradient(45deg, #FF416C, #FF4B2B);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    outline: none;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4);
    transition: all 0.3s ease;
}

.generate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 65, 108, 0.6);
}

.generate-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(255, 65, 108, 0.4);
}

lotto-ball {
    --ball-color: #4CAF50;
}

.theme-toggle-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.theme-toggle-btn:hover {
    transform: scale(1.2);
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #1a1a1a;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23333333' fill-opacity='0.4'%3E%3Crect x='0' y='0' width='100' height='100'/%3E%3C/g%3E%3C/svg%3E");
}

body.dark-mode .lotto-machine {
    background-color: #2c2c2c;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5), 0 6px 6px rgba(0,0,0,0.4);
}

body.dark-mode h1 {
    color: #f0f2f5;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
