:root {
    --bg-color: #f5f5f5;
    --text-color: #2c2c2c;
    --container-bg: rgba(255, 255, 255, 0.9);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --accent-gradient: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
    --accent-shadow: rgba(106, 17, 203, 0.3);
    --bg-pattern: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000000' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H0L6 0z'/%3E%3C/g%3E%3C/svg%3E");
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #f5f5f5;
    --container-bg: rgba(44, 44, 44, 0.8);
    --shadow-color: rgba(0, 0, 0, 0.4);
    --accent-shadow: rgba(106, 17, 203, 0.5);
    --bg-pattern: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H0L6 0z'/%3E%3C/g%3E%3C/svg%3E");
}

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

.theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--container-bg);
    border: 1px solid var(--shadow-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    box-shadow: 0 4px 10px var(--shadow-color);
    transition: all 0.3s ease;
}

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

.container {
    text-align: center;
    background-color: var(--container-bg);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px var(--shadow-color), 0 6px 10px var(--shadow-color);
    backdrop-filter: blur(10px);
    max-width: 500px;
    width: 90%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.lotto-numbers {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.lotto-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lotto-number:hover {
    transform: scale(1.1);
}

#generate-btn {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    background-image: var(--accent-gradient);
    box-shadow: 0 5px 15px var(--accent-shadow);
}

#generate-btn:hover {
    box-shadow: 0 8px 25px var(--accent-shadow);
    transform: translateY(-2px);
}

#generate-btn:active {
    transform: translateY(0);
}
