/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
}

.container {
    max-width: 800px;
    width: 90%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Main content */
main {
    padding: 40px 30px;
}

.generator-section {
    text-align: center;
    margin-bottom: 40px;
}

.generate-button {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    margin-bottom: 30px;
}

.generate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.generate-button:active {
    transform: translateY(0);
}

/* Numbers display */
.numbers-display {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.white-balls {
    display: flex;
    gap: 10px;
}

.powerball {
    margin-left: 20px;
}

.ball {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 60px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.powerball-ball {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
}

/* Info section */
.info-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.info-section h2 {
    color: #2a5298;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.info-section p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #2a5298;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .numbers-display {
        flex-direction: column;
        gap: 15px;
    }

    .white-balls {
        justify-content: center;
    }

    .powerball {
        margin-left: 0;
    }

    .ball {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        line-height: 50px;
    }
}

@media (max-width: 480px) {
    .container {
        margin: 10px;
    }

    header {
        padding: 30px 20px;
    }

    main {
        padding: 30px 20px;
    }

    .generate-button {
        padding: 12px 25px;
        font-size: 1.1rem;
    }

    .white-balls {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .ball {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        line-height: 45px;
    }
}
