* {
    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;
    padding: 20px;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.generator-section {
    padding: 30px;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

input[type="range"] {
    width: 100%;
    margin: 10px 0;
}

input[type="number"], input[type="text"] {
    width: 200px;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="number"]:focus, input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
}

#lengthValue {
    font-weight: bold;
    color: #667eea;
    font-size: 18px;
    margin-left: 10px;
}

.checkbox-group {
    display: grid;
    gap: 15px;
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
    transition: color 0.3s;
}

.checkbox-group label:hover {
    color: #667eea;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 12px;
    transform: scale(1.3);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.info-box {
    margin-top: 30px;
    padding: 20px;
    background: #e8f4f8;
    border-left: 4px solid #667eea;
    border-radius: 5px;
}

.info-box h3 {
    color: #333;
    margin-bottom: 10px;
}

.info-box ul {
    color: #666;
    line-height: 1.6;
}

.info-box li {
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .container {
        margin: 10px;
    }
    
    input[type="number"], input[type="text"] {
        width: 100%;
    }
}
