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

:root {
    --primary-color: #f0f0f0;
    --secondary-color: #333;
    --accent-color: #ff7f50;
    --background-color: #1a1a1a;
    --shadow-color: rgba(255, 127, 80, 0.4);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
                      linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
                      linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%),
                      linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 20px 20px;
}

.container {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

h1 {
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 2.5rem;
    text-shadow: 0 0 10px var(--accent-color);
}

.numbers-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
}

.number-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
    flex-wrap: wrap;
}

.game-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    min-width: 60px;
    text-align: right;
    margin-right: 0.5rem;
    text-shadow: 0 0 5px rgba(255, 127, 80, 0.3);
    animation: bounce-in 0.5s both;
}

.number {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 2px 3px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: bounce-in 0.5s both;
}

.number:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), inset 0 2px 3px rgba(255, 255, 255, 0.1);
}

#generate-btn {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--shadow-color), 0 0 25px var(--shadow-color);
}

#generate-btn:hover, #generate-btn:focus {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--shadow-color), 0 0 45px var(--shadow-color);
    outline: none;
}

@keyframes bounce-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    60% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}
