* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0f;
    color: #fff;
    min-height: 100vh;
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: #16162a;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #0ff4;
}

h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px #0ff, 0 0 20px #0ff4;
    color: #fff;
}

/* Info Box */
.info-box {
    background: #1a1a2e;
    border: 1px solid #0ff2;
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-around;
    gap: 0.8rem;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.7rem;
    color: #0ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.info-value {
    font-size: 1rem;
    font-weight: bold;
}

/* Slider Section */
.slider-section {
    margin-bottom: 2rem;
}

.slider-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.slider-top span {
    font-size: 0.9rem;
    color: #aaa;
}

.slider-count {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0ff;
}

input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    border-radius: 4px;
    background: #333;
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0ff;
    cursor: pointer;
    box-shadow: 0 0 8px #0ff8;
}

/* Buttons */
.buttons {
    margin-bottom: 2rem;
}

button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    background: #0ff;
    color: #000;
}

button:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

button:active {
    transform: translateY(0);
}

/* Lotto Sets */
#lotto-sets {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lotto-row {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: scale(0);
}

.number.animate {
    animation: pop-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes pop-in {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.number.yellow { background: #fbc400; color: #000; }
.number.blue   { background: #006699; }
.number.red    { background: #cc0000; }
.number.gray   { background: #666666; }
.number.green  { background: #2a9d3f; }

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}
