
:root {
    --bg-color: #f0f2f5;
    --container-bg: #ffffff;
    --text-color: #333333;
    --btn-bg: #4a90e2;
    --btn-text: #ffffff;
    --number-bg: #e9ecef;
    --number-border: #dee2e6;
    --char-color: #ffde59;
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --container-bg: #2d2d2d;
    --text-color: #f0f0f0;
    --btn-bg: #3498db;
    --btn-text: #ffffff;
    --number-bg: #3d3d3d;
    --number-border: #4a4a4a;
    --char-color: #ff914d;
}

[data-theme="pastel"] {
    --bg-color: #fff5f5;
    --container-bg: #fff;
    --text-color: #6d6875;
    --btn-bg: #ffb4a2;
    --btn-text: #ffffff;
    --number-bg: #ffcdb2;
    --number-border: #ffb4a2;
    --char-color: #b5e48c;
}

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

.container {
    text-align: center;
    background-color: var(--container-bg);
    padding: 50px 40px;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    max-width: 500px;
    width: 90%;
}

/* Character Styles */
.character {
    width: 80px;
    height: 80px;
    background-color: var(--char-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: inset -5px -5px 10px rgba(0,0,0,0.1);
    animation: float 3s ease-in-out infinite;
}

.eye {
    width: 10px;
    height: 10px;
    background-color: #333;
    border-radius: 50%;
    position: absolute;
    top: 30px;
}

.eye.left { left: 20px; }
.eye.right { right: 20px; }

.mouth {
    width: 20px;
    height: 10px;
    border: 3px solid #333;
    border-radius: 0 0 10px 10px;
    border-top: 0;
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15) translateY(-20px); }
}

.character.active {
    animation: bounce 0.5s ease-in-out;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.theme-selector {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.theme-btn {
    padding: 10px 18px;
    border: 2px solid #eee;
    border-radius: 25px;
    cursor: pointer;
    background: transparent;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.theme-btn:hover {
    border-color: var(--btn-bg);
    transform: translateY(-2px);
}

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

.number {
    width: 55px;
    height: 55px;
    line-height: 55px;
    border-radius: 18px;
    background-color: var(--number-bg);
    border: none;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#generate-btn {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: bold;
    background-color: var(--btn-bg);
    color: var(--btn-text);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

#generate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}

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