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

:root {
    --main-bg-color: #f0f2f5;
    --container-bg-color: #ffffff;
    --primary-color: #4a90e2;
    --secondary-color: #50e3c2;
    --text-color: #333333;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

.dark-theme {
    --main-bg-color: #1a1a2e;
    --container-bg-color: #16213e;
    --primary-color: #0f3460;
    --secondary-color: #e94560;
    --text-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--main-bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.container {
    background-color: var(--container-bg-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
    text-align: center;
    width: 90%;
    max-width: 500px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary-color);
}

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

.number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 10px var(--shadow-color);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

#generate-btn {
    background-color: var(--primary-color);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

#generate-btn:hover {
    background-color: #357abd;
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .container {
        padding: 30px;
    }

    h1 {
        font-size: 2rem;
    }

    .number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    #generate-btn {
        font-size: 1rem;
        padding: 12px 25px;
    }
}